Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 25 of 1187) sorted by relevance

12345678910>>...48

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/DocGenerators/
H A DText.php77 echo str_repeat('-', (strlen("$standard CODING STANDARD: $title") + 4));
79 echo str_repeat('-', (strlen("$standard CODING STANDARD: $title") + 4));
103 if (strlen($tempLine.$word) >= 99) {
104 if (strlen($tempLine.$word) === 99) {
109 } else if (strlen($tempLine.$word) === 100) {
149 if (strlen($tempTitle.$word) >= 45) {
150 if (strlen($tempTitle.$word) === 45) {
155 } else if (strlen($tempTitle.$word) === 46) {
184 if (strlen($tempTitle.$word) >= 45) {
185 if (strlen($tempTitle.$word) === 45) {
[all …]
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dwrite.real.php93 …if (isset($oldChunkInfo['.RMF']['length']) && ($oldChunkInfo['.RMF']['length'] == strlen($new__RMF…
102 …if (isset($oldChunkInfo['PROP']['length']) && ($oldChunkInfo['PROP']['length'] == strlen($new_PROP…
138 fwrite($fp_temp, $buffer, strlen($buffer));
213 $CONTdelta = strlen($new_CONT_tag_data) - $old_CONT_length;
244 $CONTchunk .= (!empty($this->tag_data['title']) ? strlen($this->tag_data['title']) : '');
247 $CONTchunk .= (!empty($this->tag_data['artist']) ? strlen($this->tag_data['artist']) : '');
250 $CONTchunk .= (!empty($this->tag_data['copyright']) ? strlen($this->tag_data['copyright']) : '');
253 $CONTchunk .= (!empty($this->tag_data['comment']) ? strlen($this->tag_data['comment']) : '');
255 if ($this->paddedlength > (strlen($CONTchunk) + 8)) {
256 $CONTchunk .= str_repeat("\x00", $this->paddedlength - strlen($CONTchunk) - 8);
[all …]
H A Dmodule.tag.id3v2.php327 $thisfile_id3v2['padding']['length'] = strlen($frame_header) + strlen($framedata);
330 $len = strlen($framedata);
1055 while (strlen($frame_remainingdata)) {
1089 if (strlen($parsedFrame['data']) < 5) {
1216 if (strlen($parsedFrame['data']) > 0) {
1235 if (strlen($parsedFrame['data']) > 0) {
1246 if (strlen($parsedFrame['data']) > 0) {
1281 while (strlen($frame_remainingdata)) {
3707 if (substr($string, -strlen($terminator), strlen($terminator)) === $terminator) {
3772 if (strlen($datestamp) != 8) {
[all …]
H A Dmodule.tag.lyrics3.php52 $lyrics3size = $lyrics3lsz + 6 + strlen('LYRICS200');
92 …$lyrics3size = $lyrics3lsz + 6 + strlen('LYRICS200'); // LSZ = lyrics + 'LYRICSBEGIN'; add 6-by…
169 $length = strlen($rawdata);
185 if (substr($rawdata, strlen($rawdata) - 9, 9) == 'LYRICSEND') {
186 $ParsedLyrics3['raw']['LYR'] = trim(substr($rawdata, 11, strlen($rawdata) - 11 - 9));
189 …at '.($this->ftell() - 11 + $length - 9).' but found "'.substr($rawdata, strlen($rawdata) - 9, 9).…
195 if (substr($rawdata, strlen($rawdata) - 9, 9) == 'LYRICS200') {
196 …$ParsedLyrics3['raw']['unparsed'] = substr($rawdata, 11, strlen($rawdata) - 11 - 9 - 6); // LYRICS…
198 while (strlen($rawdata) > 0) {
209 if (strlen($ParsedLyrics3['raw']['IND']) > $i++) {
[all …]
/plugin/zip/pear/File/Archive/Reader/
H A DUncompress.php181 if (strlen($filename) < strlen($this->baseDir)) {
182 $goodFile = (strncmp($filename, $this->baseDir, strlen($filename)) == 0 &&
183 $this->baseDir{strlen($filename)} == '/');
185 if (strlen($filename) + 2 < strlen($this->baseDirProgression)) {
186 … $this->baseDirProgression = strpos($this->baseDir, '/', strlen($filename)+2);
188 $this->baseDirProgression = strlen($this->baseDir);
191 $this->baseDirProgression = strlen($this->baseDir);
195 $goodFile = (strncmp($filename, $this->baseDir, strlen($this->baseDir)) == 0);
197 $this->baseDirProgression = strlen($this->baseDir);
215 $this->baseDirProgression = strlen($baseDir);
[all …]
H A DChangeName.php70 if (strncmp($name, $this->baseName.'/', strlen($this->baseName)+1) == 0) {
71 $res = substr($name, strlen($this->baseName)+1);
153 !strncmp($name, $this->oldBaseName.'/', strlen($this->oldBaseName)+1) ||
158 strlen($name)<=strlen($this->oldBaseName)+1 ?
161 substr($name, strlen($this->oldBaseName)+1);
169 !strncmp($name, $this->newBaseName.'/', strlen($this->newBaseName)+1) ||
174 strlen($name)<=strlen($this->newBaseName)+1 ?
177 substr($name, strlen($this->newBaseName)+1);
/plugin/iphelper/
H A Daction.php37 …if (strlen($tool1name) > 1) {$tool1url = $this->getConf('tool1url');$tool1urltarget = $this->getCo…
38 …if (strlen($tool2name) > 1) {$tool2url = $this->getConf('tool2url');$tool2urltarget = $this->getCo…
39 …if (strlen($tool3name) > 1) {$tool3url = $this->getConf('tool3url');$tool3urltarget = $this->getCo…
40 …if (strlen($tool4name) > 1) {$tool4url = $this->getConf('tool4url');$tool4urltarget = $this->getCo…
41 …if (strlen($tool5name) > 1) {$tool5url = $this->getConf('tool5url');$tool5urltarget = $this->getCo…
42 …if (strlen($tool6name) > 1) {$tool6url = $this->getConf('tool6url');$tool6urltarget = $this->getCo…
43 …if (strlen($tool7name) > 1) {$tool7url = $this->getConf('tool7url');$tool7urltarget = $this->getCo…
44 …if (strlen($tool8name) > 1) {$tool8url = $this->getConf('tool8url');$tool8urltarget = $this->getCo…
45 …if (strlen($tool9name) > 1) {$tool9url = $this->getConf('tool9url');$tool9urltarget = $this->getCo…
46 …if (strlen($tool10name) > 1) {$tool10url = $this->getConf('tool10url');$tool10urltarget = $this->g…
/plugin/combo/ComboStrap/
H A DStringUtility.php24 if (strlen($myString) > $length) {
26 $myString = substr($myString, 0, ($length - 1) - strlen($suffix)) . $suffix;
70 $lastCharacterIndex = strlen($string) - 1;
72 $string = substr($string, 1, strlen($string) - 2);
84 if ($doc[strlen($doc) - 1] != DOKU_LF) {
103 $length = strlen($doc) - strlen($string);
121 $length = strlen($string);
195 $suffixStartPosition = strlen($string) - strlen($suffix);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Reports/
H A DSource.php100 'strlen' => strlen($sniff),
211 echo str_repeat(' ', ($width - 9 - strlen($source)));
213 echo str_repeat(' ', ($width - 5 - strlen($source)));
218 if (strlen($parts[0]) > 8) {
222 echo $parts[0].str_repeat(' ', (10 - strlen($parts[0])));
225 if (strlen($category) > 18) {
229 echo $category.str_repeat(' ', (20 - strlen($category)));
232 if (strlen($sniff) > $maxSniffWidth) {
237 echo $sniff.str_repeat(' ', ($width - 39 - strlen($sniff)));
239 echo $sniff.str_repeat(' ', ($width - 35 - strlen($sniff)));
[all …]
H A DVersionControl.php187 $maxLength = max($maxLength, strlen($author));
194 $maxLength = max($maxLength, (strlen($source) + 9));
235 $line = str_repeat(' ', (6 - strlen($count))).$count;
236 $line = str_repeat(' ', (12 - strlen($overallPercent))).$overallPercent.$line;
237 $line = str_repeat(' ', (11 - strlen($authorPercent))).$authorPercent.$line;
238 … $line = $author.str_repeat(' ', ($width - strlen($author) - strlen($line))).$line;
258 $srcLength = strlen($source);
263 $line = str_repeat(' ', (5 - strlen($count))).$count;
280 echo str_repeat(' ', ($width - 18 - strlen($source)));
282 echo str_repeat(' ', ($width - 14 - strlen($source)));
/plugin/zip/pear/File/Archive/Writer/
H A DZip.php133 strlen($filename), 0x00,0x00,0x00,0x00,
137 $this->offset += 30 + strlen($filename) + $complength;
147 $normlength = strlen($data);
149 $data = substr($data,2,strlen($data)-6);
159 $complength = strlen($data);
167 strlen($filename),
185 $this->offset += strlen($zipData);
214 'nlength' => strlen($data),
219 $data = substr($data,2,strlen($data)-6);
249 strlen($this->central),$this->offset,
[all …]
/plugin/dokugitviewer/
H A Dsyntax.php13 if($offset >= strlen($string))
15 for($i = $offset; $i < strlen($string); $i++)
20 return strlen($string);
40 $start = strlen('<dokugitviewer:');
76 for($index = 0; $index < strlen($message); $index++)
84 $src = substr($message, $index, strlen($cmp));
87 $key = substr($message, $index+1, strlen($cmp)-1);
89 $src= substr($message, $index+1+strlen($key));
91 $index += strlen($element.$value);
/plugin/html2pdf/html2pdf/html2ps/
H A Dtag.frame.inc.php61 if (substr($length_src,strlen($length_src)-1,1) == "%") {
65 $fraction = substr($length_src, 0, strlen($length_src)-1) / 100;
68 } elseif (substr($length_src,strlen($length_src)-1,1) != "*") {
81 if (substr($length_src,strlen($length_src)-1,1) == "*") {
82 $parts += max(1,substr($length_src,0,strlen($length)-1));
92 if (substr($length,strlen($length)-1,1) == "*") {
93 $values[$i] = $part_size * max(1,substr($length,0,strlen($length)-1));
H A Dxhtml.tables.inc.php28 …$html = substr_replace($html, "<tr>".$matches[0], $offset - strlen($matches[0]), strlen($matches[0…
33 $r = process_row($html, $offset - strlen($matches[0]) + strlen("<tr>"));
74 …ml = substr_replace($html, "<colgroup>".$matches[0], $offset - strlen($matches[0]), strlen($matche…
77 return process_colgroup($html, $offset - strlen($matches[0]));
H A Dxhtml.autoclose.inc.php11 $tag_start = $offset + strlen($matches[1]);
12 $tag_end = $tag_start + strlen($matches[2]);
23 return $tag_start + strlen($to_be_inserted);
39 $suffix = substr($suffix, strlen($matches[1]));
53 $tag_start = $offset + strlen($matches[1]);
54 $tag_end = $tag_start + strlen($matches[2]);
65 return $tag_start + strlen($to_be_inserted);
/plugin/jukebox/id3/
H A Dmodule.tag.id3v2.php290 $thisfile_id3v2['padding']['length'] = strlen($frame_header) + strlen($framedata);
293 $len = strlen($framedata);
325 if ($frame_size <= strlen($framedata)) {
906 while (strlen($frame_remainingdata)) {
940 if (strlen($parsedFrame['data']) < 5) {
996 while (strlen($frame_remainingdata)) {
1056 if (strlen($parsedFrame['data']) > 0) {
1075 if (strlen($parsedFrame['data']) > 0) {
1086 if (strlen($parsedFrame['data']) > 0) {
1121 while (strlen($frame_remainingdata)) {
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Tokenizers/
H A DComment.php49 $numChars = strlen($string);
56 $char = ($numChars - strlen(ltrim($string, '/*')));
82 'content' => substr($string, strlen(rtrim($string, '/*'))),
106 $numChars = strlen($string);
118 $char += strlen($space['content']);
196 $start += strlen($space['content']);
209 $start += strlen($tagName);
220 $start += strlen($space['content']);
241 'content' => substr($string, $eol, strlen($eolChar)),
/plugin/dw2pdf/vendor/setasign/fpdi/src/PdfParser/Filter/
H A DFlate.php43 $data = @((\strlen($data) > 0) ? \gzuncompress($data) : '');
60 $oDataLen = strlen($oData);
61 … while ($tries < 6 && ($data === false || (strlen($data) < (strlen($oDataLen) - $tries - 1)))) {
67 if (strlen($data) > ($oDataLen - $tries - 1)) {
/plugin/mantis/lib/
H A Dclass.soap_transport_http.php645 $chunkstart = $chunkend + strlen($lb);
656 $length += strlen($chunk);
665 $length += strlen($chunk);
810 $tmplen = strlen($tmp);
884 $tmplen = strlen($tmp);
896 $strlen = 0;
900 $tmplen = strlen($tmp);
909 $strlen += $tmplen;
914 $tmplen = strlen($tmp);
1104 $datalen = strlen($data);
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/
H A DGetopt.php50 if ($arg[0] != '-' || (strlen($arg) > 1 && $arg[1] == '-' && !$long_options)) {
54 } elseif (strlen($arg) > 1 && $arg[1] == '-') {
76 $argLen = strlen($arg);
88 if (strlen($spec) > 1 && $spec[1] == ':') {
94 if (!(strlen($spec) > 2 && $spec[2] == ':')) {
119 $opt_len = strlen($opt);
140 if (!strlen($opt_arg)) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/ControlStructures/
H A DForEachLoopDeclarationSniff.php100 $spaceAfterOpen = strlen($tokens[($openingBracket + 1)]['content']);
130 $spaceBeforeClose = strlen($tokens[($closingBracket - 1)]['content']);
183 if (strlen($tokens[($doubleArrow - 1)]['content']) !== 1) {
184 $spaces = strlen($tokens[($doubleArrow - 1)]['content']);
201 if (strlen($tokens[($doubleArrow + 1)]['content']) !== 1) {
202 $spaces = strlen($tokens[($doubleArrow + 1)]['content']);
220 if (strlen($tokens[($asToken - 1)]['content']) !== 1) {
221 $spaces = strlen($tokens[($asToken - 1)]['content']);
238 if (strlen($tokens[($asToken + 1)]['content']) !== 1) {
239 $spaces = strlen($tokens[($asToken + 1)]['content']);
/plugin/gcalendar/inc/
H A Dgcal_read.php131 if ( strlen($end_date)==0 ) $end_date = $start_date;
209 if(strlen($d)==1) $d='0'.$d;
210 if(strlen($m)==1) $m='0'.$m;
211 if(strlen($y)==0) $y=date('Y',$default_date);
212 if(strlen($y)==2) $y='20'.$y;
214 $text=trim(substr($text,strlen($match[0])));
233 $text=trim(substr($text,strlen($match[0])));
236 if(strlen($match[1])==1) $match[1] = '0'.$match[1];
256 $text=trim($match[1].substr($text,strlen($match[0])));
262 $text=trim(substr($text,strlen($match[0])));
[all …]
/plugin/passpolicy/_test/
H A Dhelper.test.php130 $this->assertTrue(strlen($pw1) >= 6, 'pw too short');
131 $this->assertTrue(strlen($pw2) >= 6, 'pw too short');
141 $this->assertTrue(strlen($pw1) >= 18, 'pw too short');
142 $this->assertTrue(strlen($pw2) >= 18, 'pw too short');
152 $this->assertTrue(strlen($pw1) >= 6, 'pw too short');
153 $this->assertTrue(strlen($pw2) >= 6, 'pw too short');
163 $this->assertTrue(strlen($pw1) >= 18, 'pw too short');
164 $this->assertTrue(strlen($pw2) >= 18, 'pw too short');
174 $this->assertTrue(strlen($pw1) >= 18, 'pw too short');
175 $this->assertTrue(strlen($pw2) >= 18, 'pw too short');
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/TestDox/
H A DNamePrettifier.php43 $this->suffix == substr($name, -1 * strlen($this->suffix))) {
48 $this->prefix == substr($name, 0, strlen($this->prefix))) {
49 $title = substr($title, strlen($this->prefix));
70 if (!is_string($name) || strlen($name) == 0) {
86 if (strlen($name) == 0) {
96 $max = strlen($name);
/plugin/groupmail/
H A Drecaptchalib.php53 $req=substr($req,0,strlen($req)-1);
74 $http_request .= "Content-Length: " . strlen($req) . "\r\n";
165 …if ($challenge == null || strlen($challenge) == 0 || $response == null || strlen($response) == 0) {
208 $numpad = $block_size - (strlen ($val) % $block_size);
209 return str_pad($val, strlen ($val) + $numpad, chr($numpad));
251 if (strlen ($arr[0]) <= 4) {
253 } else if (strlen ($arr[0]) <= 6) {

12345678910>>...48