Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 1123) sorted by relevance

12345678910>>...45

/plugin/authgooglesheets/vendor/paragonie/constant_time_encoding/src/ !
DEncoding.php37 * @param string $str
41 public static function base32Encode(string $str): string argument
43 return Base32::encode($str);
49 * @param string $str
53 public static function base32EncodeUpper(string $str): string argument
55 return Base32::encodeUpper($str);
61 * @param string $str
65 public static function base32Decode(string $str): string argument
67 return Base32::decode($str);
73 * @param string $str
[all …]
DRFC4648.php42 * @param string $str
46 public static function base64Encode(string $str): string argument
48 return Base64::encode($str);
56 * @param string $str
60 public static function base64Decode(string $str): string argument
62 return Base64::decode($str, true);
70 * @param string $str
74 public static function base64UrlSafeEncode(string $str): string argument
76 return Base64UrlSafe::encode($str);
84 * @param string $str
[all …]
/plugin/asciidocjs/node_modules/nunjucks/src/ !
Dfilters.js39 function capitalize(str) { argument
40 str = normalize(str, '');
41 var ret = str.toLowerCase();
42 return r.copySafeness(str, ret.charAt(0).toUpperCase() + ret.slice(1));
45 function center(str, width) { argument
46 str = normalize(str, '');
48 if (str.length >= width) {
49 return str;
51 var spaces = width - str.length;
54 return r.copySafeness(str, pre + str + post);
[all …]
/plugin/asciidocjs/node_modules/camelcase/ !
Dindex.js3 var str = [].map.call(arguments, function (str) { argument
4 return str.trim();
5 }).filter(function (str) { argument
6 return str.length;
9 if (!str.length) {
13 if (str.length === 1 || !(/[_.\- ]+/).test(str) ) {
14 if (str[0] === str[0].toLowerCase() && str.slice(1) !== str.slice(1).toLowerCase()) {
15 return str;
18 return str.toLowerCase();
21 return str
/plugin/ckgedit/fckeditor/editor/filemanager/connectors/php/ !
Dutf8.php47 * @param string $str
50 function utf8_isASCII($str){ argument
51 return (preg_match('/(?:[^\x00-\x7F])/', $str) !== 1);
63 * @param string $str
66 function utf8_strip($str){ argument
68 $len = strlen($str);
70 if(ord($str[$i]) <128){
71 $ascii .= $str[$i];
173 * @param string $str
178 function utf8_substr($str, $offset, $length = null) { argument
[all …]
/plugin/asciidocjs/node_modules/yargs-parser/build/lib/ !
Dstring-utils.js6 export function camelCase(str) { argument
9 const isCamelCase = str !== str.toLowerCase() && str !== str.toUpperCase();
11 str = str.toLowerCase();
13 if (str.indexOf('-') === -1 && str.indexOf('_') === -1) {
14 return str;
19 const leadingHyphens = str.match(/^-+/);
20 for (let i = leadingHyphens ? leadingHyphens[0].length : 0; i < str.length; i++) {
21 let chr = str.charAt(i);
36 export function decamelize(str, joinString) { argument
37 const lowercase = str.toLowerCase();
[all …]
/plugin/qstat/ !
Dsyntax.php237 $str = '';
240 $str = '<p class="aligncenter">'.$this->getLang('map').': '.$value.'</p>';
243 $str = '<p>'.$this->getLang('flags').": $value</p>";
246 $str = '<p>'.$this->getLang('frags').": $value</p>";
249 $str = '<p>'.$this->getLang('time').": $value</p>";
253 $str = '0.7.1';
255 $str = '0.7.6';
257 $str = '0.7.7';
259 $str = '0.8.1';
262 $str = '<p>'.$this->getLang('physic').': '.(($value == '0') ? 'VQ3' : 'CPM').'</p>';
[all …]
/plugin/davcal/vendor/sabre/http/tests/HTTP/ !
H A DURLUtilTest.php9 $str = '';
10 for ($i = 0;$i < 128;$i++) $str .= chr($i);
12 $newStr = URLUtil::encodePath($str);
25 $this->assertEquals($str, URLUtil::decodePath($newStr));
31 $str = '';
32 for ($i = 0;$i < 128;$i++) $str .= chr($i);
34 $newStr = URLUtil::encodePathSegment($str);
49 $this->assertEquals($str, URLUtil::decodePathSegment($newStr));
55 $str = 'Hello%20Test+Test2.txt';
56 $newStr = URLUtil::decodePath($str);
[all …]
/plugin/clipboardutils/ !
Dsyntax.php62 if (($str =trim($m[1])) != '') {
63 $data['att_string'] =$str;
64 foreach(preg_split('/[;\s]/',$str) as $el) {
90 $str .=$pad . $key;
93 $str .=' : IS an ARRAY :' . PHP_EOL . $sep . PHP_EOL;
94 $str .=$this->debugArrayString($value,$level+1) . $sep . PHP_EOL;;
96 $str .=' : "' . htmlentities($value) . '"' . PHP_EOL;
99 return $str;
106 $str ='';
108 $str .='--- EMPTY VALUE ---' . PHP_EOL;
[all …]
/plugin/tablefilterjs/ !
Dsyntax.php19 function __filter_data($str) argument
29 for( $i = 0; $i < strlen( $str ); $i++ )
33 if( $str[$i] == '=' )
37 while( $str[$i] != '/' )
40 if( $i == strlen( $str ) )
51 if( $in_str == 1 && $str[$i] == '\\' )
54 $key .= $str[ $i ];
58 if( $str[$i] == '"' || $str[$i] == "'")
67 $key .= $str[ $i ];
72 if( $str[$i] == '/' )
[all …]
/plugin/asciidocjs/node_modules/jake/node_modules/brace-expansion/ !
Dindex.js12 function numeric(str) { argument
13 return parseInt(str, 10) == str
14 ? parseInt(str, 10)
15 : str.charCodeAt(0);
18 function escapeBraces(str) { argument
19 return str.split('\\\\').join(escSlash)
26 function unescapeBraces(str) { argument
27 return str.split(escSlash).join('\\')
38 function parseCommaParts(str) { argument
39 if (!str)
[all …]
/plugin/asciidocjs/node_modules/brace-expansion/ !
Dindex.js11 function numeric(str) { argument
12 return parseInt(str, 10) == str
13 ? parseInt(str, 10)
14 : str.charCodeAt(0);
17 function escapeBraces(str) { argument
18 return str.split('\\\\').join(escSlash)
25 function unescapeBraces(str) { argument
26 return str.split(escSlash).join('\\')
37 function parseCommaParts(str) { argument
38 if (!str)
[all …]
/plugin/pycode/ !
Dmethod.php24 * @param (str) $url the url to <file>
25 * @param (str) $name if specified, it can be:
31 * @param (str) $subname if specified, it can be only:
34 * @param (str) $flag flag to indicate what kind of code we want to embed:
90 $str = ltrim($line);
92 strpos($str, $str_cls . $subname . "(") !== 0 and
93 strpos($str, $str_cls . $subname. ":") !== 0) {
97 (strpos($str, $str_cls . $subname . "(") === 0 or
98 strpos($str, $str_cls . $subname. ":") === 0)) {
99 $ind_cls = $length - strlen($str);
[all …]
/plugin/asciidocjs/node_modules/repeat-string/ !
Dindex.js41 function repeat(str, num) { argument
42 if (typeof str !== 'string') {
47 if (num === 1) return str;
48 if (num === 2) return str + str;
50 var max = str.length * num;
51 if (cache !== str || typeof cache === 'undefined') {
52 cache = str;
60 res += str;
64 str += str;
67 res += str;
/plugin/asciidocjs/node_modules/balanced-match/ !
Dindex.js3 function balanced(a, b, str) { argument
4 if (a instanceof RegExp) a = maybeMatch(a, str);
5 if (b instanceof RegExp) b = maybeMatch(b, str);
7 var r = range(a, b, str);
12 pre: str.slice(0, r[0]),
13 body: str.slice(r[0] + a.length, r[1]),
14 post: str.slice(r[1] + b.length)
18 function maybeMatch(reg, str) { argument
19 var m = str.match(reg);
24 function range(a, b, str) { argument
[all …]
/plugin/csv/ !
Dhelper.php204 * @param string $str Input string, first CSV line will be removed
211 public static function csvExplodeRow(&$str, $delim = ',', $enc = '"', $esc = '\\') argument
213 $len = strlen($str);
223 if ($str[$i] == "\015") {
224 if ($str[($i + 1)] != "\012") {
225 $str[$i] = "\012";
233 if ($str[$i] == $esc && $esc != $enc) {
235 $word .= $str[$i];
245 if ($str[$i] == $delim) {
254 if ($str[$i] == "\n") {
[all …]
/plugin/bibtex/OSBib/ !
DUTF8.php134 function encodeUtf8($str) { argument
135 preg_match_all("/&#([0-9]*?);/", $str, $unicode);
137 $str = preg_replace("/".$value."/", $this->code2utf8($unicode[1][$key]), $str);
139 return $str;
151 function utf8_to_unicode( $str ) { argument
156 for ($i = 0; $i < strlen( $str ); $i++ ) {
157 $thisValue = ord( $str[ $i ] );
182 function unicode_to_utf8( $str ) { argument
184 foreach( $str as $unicode ) {
258 function utf8_substr($str, $start, $length=null){ argument
[all …]
/plugin/settingstree/ !
Daction.php35 switch($INPUT->str('operation')){
41 switch ($INPUT->str('showtype','normal')){
44 …'html' => $helper->showExportHtml($INPUT->str('pluginname'),':'.ltrim($INPUT->str('path'),':'),$IN…
45 'path'=> ':'.ltrim($INPUT->str('path'),':'),
51 'html' => $helper->showHtml($INPUT->str('pluginname'),':'.ltrim($INPUT->str('path'),':')),
52 'path'=> ':'.ltrim($INPUT->str('path'),':')
62 $data = array('html' => $helper->showHierarchy($INPUT->str('pluginname'),$INPUT->str('key')));
70 …$html = $helper->saveLevel($INPUT->str('pluginname'),':'.ltrim($INPUT->str('path'),':'),$INPUT->ar…
80 …$html = $helper->exportLevel($INPUT->str('pluginname'),':'.ltrim($INPUT->str('path'),':'),$INPUT->…
86 $data = array('error'=>true,'msg'=>'Unknown operation: '.$INPUT->str('operation'));
/plugin/explorertree/ !
Daction.php35 switch($INPUT->str('operation')){
41 if (!($route = $helper->loadRoute($INPUT->str('route'),$INPUT->arr('loader')))){
42 $data = array('error'=>true,'msg'=>"Can't load route '".$INPUT->str('route')."'!");
44 …$data = array('html' => $helper->htmlExplorer($INPUT->str('route'),ltrim(':'.$INPUT->str('itemid')…
52 $route = $helper->loadRoute($INPUT->str('route'),$INPUT->arr('loader'));
53 if (!$route || !is_callable(@$route['callbacks'][$INPUT->str(event)])) {
54 … array('error'=>true,'msg'=>"Can't load callback '".$INPUT->str('event')."'for '".$INPUT->str('rou…
56 …$data = @call_user_func_array($route['callbacks'][$INPUT->str(event)],array($INPUT->str('itemid'))…
57 …if (!is_array($data)) $data = array('error'=>true,'msg'=>"Callback for '".$INPUT->str('event')."' …
60 $data = array('error'=>true,'msg'=>'Unknown operation: '.$INPUT->str('operation'));
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Image/ !
DBmp.php65 $str = substr($data, $bfOffBits);
68 $str = $this->rle8_decode(substr($data, $bfOffBits), $width);
71 $str = $this->rle4_decode(substr($data, $bfOffBits), $width);
86 $bmpdata .= $str[$y0 + $x];
93 $bmpdata .= $str[$y0 + $x];
105 $n = (ord($str[$y0 + 2 * $x + 1]) * 256 + ord($str[$y0 + 2 * $x]));
116 $n = (ord($str[$y0 + 2 * $x + 1]) * 256 + ord($str[$y0 + 2 * $x]));
136 $bmpdata .= $str[$i + 2] . $str[$i + 1] . $str[$i];
144 $bmpdata .= $str[$i + 2] . $str[$i + 1] . $str[$i];
192 private function rle8_decode($str, $width) argument
[all …]
/plugin/davcard/vendor/sabre/vobject/lib/ !
DStringUtil.php17 * @param string $str
20 static public function isUTF8($str) { argument
23 if (preg_match('%[\x00-\x08\x0B-\x0C\x0E\x0F]%', $str)) {
27 return (bool)preg_match('%%u', $str);
37 * @param string $str
40 static public function convertToUTF8($str) { argument
42 $encoding = mb_detect_encoding($str , array('UTF-8','ISO-8859-1', 'WINDOWS-1252'), true);
46 $newStr = utf8_encode($str);
55 $newStr = $str;
/plugin/webdav/vendor/sabre/vobject/lib/ !
DStringUtil.php17 * @param string $str
21 public static function isUTF8($str) argument
24 if (preg_match('%[\x00-\x08\x0B-\x0C\x0E\x0F]%', $str)) {
28 return (bool) preg_match('%%u', $str);
37 * @param string $str
41 public static function convertToUTF8($str) argument
43 $encoding = mb_detect_encoding($str, ['UTF-8', 'ISO-8859-1', 'WINDOWS-1252'], true);
47 $newStr = utf8_encode($str);
56 $newStr = $str;
/plugin/icalevents/vendor/sabre/vobject/lib/ !
DStringUtil.php17 * @param string $str
21 static function isUTF8($str) { argument
24 if (preg_match('%[\x00-\x08\x0B-\x0C\x0E\x0F]%', $str)) {
28 return (bool)preg_match('%%u', $str);
38 * @param string $str
42 static function convertToUTF8($str) { argument
44 $encoding = mb_detect_encoding($str, ['UTF-8', 'ISO-8859-1', 'WINDOWS-1252'], true);
48 $newStr = utf8_encode($str);
57 $newStr = $str;
/plugin/webdavclient/vendor/sabre/vobject/lib/ !
DStringUtil.php17 * @param string $str
20 static public function isUTF8($str) { argument
23 if (preg_match('%[\x00-\x08\x0B-\x0C\x0E\x0F]%', $str)) {
27 return (bool)preg_match('%%u', $str);
37 * @param string $str
40 static public function convertToUTF8($str) { argument
42 $encoding = mb_detect_encoding($str , array('UTF-8','ISO-8859-1', 'WINDOWS-1252'), true);
46 $newStr = utf8_encode($str);
55 $newStr = $str;
/plugin/davcal/vendor/sabre/vobject/lib/ !
H A DStringUtil.php17 * @param string $str
20 static public function isUTF8($str) { argument
23 if (preg_match('%[\x00-\x08\x0B-\x0C\x0E\x0F]%', $str)) {
27 return (bool)preg_match('%%u', $str);
37 * @param string $str
40 static public function convertToUTF8($str) { argument
42 $encoding = mb_detect_encoding($str , array('UTF-8','ISO-8859-1', 'WINDOWS-1252'), true);
46 $newStr = utf8_encode($str);
55 $newStr = $str;

12345678910>>...45