/PHP-5.5/ext/standard/tests/file/ |
H A D | include_userstream_002.phpt | 20 $this->pos = strlen($this->data); 33 $this->pos += strlen($ret); 50 return $this->pos >= strlen($this->data); 76 if (strlen($this->data) + $offset >= 0) { 77 $this->pos = strlen($this->data) + $offset;
|
H A D | userstreams_006.phpt | 13 echo "size: ", strlen($data), "\n"; 14 return strlen($data);
|
H A D | filesize_variation4-win32.phpt | 26 var_dump( strlen($string) ); //strlen of the string 29 var_dump( filesize($filename) ); //size of the file = strlen of string 34 var_dump( strlen($string) ); //strlen of the string = 191 bytes 37 var_dump( filesize($filename) ); //size of the file = 192 bytes != strlen of string
|
H A D | userstreams.phpt | 75 $DATALEN = strlen($DATA); 102 $this->position = strlen($GLOBALS[$this->varname]); 112 $this->position += strlen($ret); 123 return $this->position >= strlen($GLOBALS[$this->varname]); 130 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) { 146 if (strlen($GLOBALS[$this->varname]) + $offset >= 0) { 147 $this->position = strlen($GLOBALS[$this->varname]) + $offset; 249 (int)fseek($tf, - strlen($rline), SEEK_CUR); 255 (int)fseek($fp, - strlen($uline), SEEK_CUR); 259 …printf("REAL: pos=(%d,%d,%d) ret=%d line[%d]=`%s'\n", $rpb, $rpa, ftell($tf), $rr, strlen($rline),… [all …]
|
H A D | bug37158.phpt | 28 var_dump('size of contents 1 = ' . strlen($outsidecontents)); 30 var_dump('size of contents 2 = ' . strlen($outsidecontents));
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | strncasecmp_variation11.phpt | 92 $len = strlen($values[$index]) + 1; 133 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d 139 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d 145 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d 151 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d 157 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d 183 Warning: strlen() expects parameter 1 to be string, resource given in %s on line %d
|
H A D | strncmp_variation4.phpt | 92 $len = strlen($values[$index]) + 1; 136 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d 142 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d 148 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d 154 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d 160 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d 186 Warning: strlen() expects parameter 1 to be string, resource given in %s on line %d
|
/PHP-5.5/ext/phar/ |
H A D | build_precommand.php | 34 while ($c && (strlen($f[$c]) == 0 || $f[$c] == "\n" || $f[$c] == "\r\n")) { 46 while ($c && (strlen($f[$c]) == 0 || $f[$c] == "\n" || $f[$c] == "\r\n")) {
|
/PHP-5.5/ext/pdo/tests/ |
H A D | bug_43130.phpt | 8 if (!strncasecmp(getenv('PDOTEST_DSN'), 'sqlite', strlen('sqlite'))) die('skip not relevant for sql… 9 if (!strncasecmp(getenv('PDOTEST_DSN'), 'pgsql', strlen('pgsql'))) die('skip not relevant for pgsql… 10 if (!strncasecmp(getenv('PDOTEST_DSN'), 'oci', strlen('oci'))) die('skip not relevant for oci drive… 11 if (!strncasecmp(getenv('PDOTEST_DSN'), 'firebird', strlen('firebird'))) die('skip not relevant for…
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_insert_packet_overflow.phpt | 79 $query_len = strlen($query_prefix) + strlen($query_postfix); 87 …printf("[013] max_allowed_packet = %d, strlen(query) = %d, [%d] %s\n", $max_allowed_packet, strlen… 97 var_dump(strlen($row['col_blob'])); 98 var_dump(strlen($blob));
|
/PHP-5.5/ext/sockets/tests/ |
H A D | mcast_ipv6_recv_limited.phpt | 23 $r = socket_sendto($s, $m = "testing packet", strlen($m), 0, 'ff01::114', 3000); 67 $r = socket_sendto($sends1, $m = "testing packet", strlen($m), 0, $mcastaddr, 3000); 74 $r = socket_sendto($sends1, $m = "initial packet", strlen($m), 0, $mcastaddr, 3000); 90 $r = socket_sendto($sends1, $m = "ignored mcast packet", strlen($m), 0, $mcastaddr, 3000); 92 $r = socket_sendto($sends1, $m = "unicast packet", strlen($m), 0, "::1", 3000); 102 $r = socket_sendto($sends1, $m = "mcast packet", strlen($m), 0, $mcastaddr, 3000);
|
/PHP-5.5/ext/phar/tests/tar/files/ |
H A D | tarmaker.php.inc | 52 'size' => strlen($fileOrStream), 71 if (strlen($path) > 255) { 75 } else if (strlen($path) > 100) { 76 $filePrefix = substr($path, 0, strlen($path)-100); 118 if (strlen($fileOrStream) % 512) { 119 fwrite($this->tmp, (binary)str_repeat("\0", 512 - strlen($fileOrStream) % 512));
|
H A D | make.dangerous.tar.php.inc | 53 'size' => strlen($fileOrStream), 72 if (strlen($path) > 255) { 76 } else if (strlen($path) > 100) { 77 $filePrefix = substr($path, 0, strlen($path)-100); 119 if (strlen($fileOrStream) % 512) { 120 fwrite($this->tmp, (binary)str_repeat("\0", 512 - strlen($fileOrStream) % 512));
|
/PHP-5.5/ext/intl/locale/ |
H A D | locale_methods.c | 184 if( str && ((len=strlen(str))>0) ){ in getSingletonPos() 240 len = strlen(locale_name); in PHP_NAMED_FUNCTION() 992 if( loc_name && (len = strlen(loc_name)>0 ) ){ in get_private_subtags() 994 len = strlen(mod_loc_name); in get_private_subtags() 1016 len = strlen(mod_loc_name); in get_private_subtags() 1313 chrcheck = token + (strlen(cur_loc_range)); in PHP_FUNCTION() 1349 cur_lang_tag = ecalloc( 1, strlen(lang_tag ) + 1); in PHP_FUNCTION() 1369 chrcheck = token + (strlen(cur_loc_range)); in PHP_FUNCTION() 1488 cur_loc_range = ecalloc(1, strlen(loc_range)+1); in lookup_loc_range() 1500 saved_pos = strlen(cur_loc_range); in lookup_loc_range() [all …]
|
/PHP-5.5/ext/standard/ |
H A D | http_fopen_wrapper.c | 100 size_t eollen = strlen(lc_eol); in strip_header() 370 scratch_len = strlen(path) + 29 + protocol_version_len; in php_stream_url_wrap_http_ex() 419 php_stream_write(stream, scratch, strlen(scratch)); in php_stream_url_wrap_http_ex() 449 if (tmp && strlen(tmp) > 0) { in php_stream_url_wrap_http_ex() 455 php_strtolower(tmp, strlen(tmp)); in php_stream_url_wrap_http_ex() 539 php_stream_write(stream, scratch, strlen(scratch)); in php_stream_url_wrap_http_ex() 550 php_stream_write(stream, scratch, strlen(scratch)); in php_stream_url_wrap_http_ex() 558 php_stream_write(stream, scratch, strlen(scratch)); in php_stream_url_wrap_http_ex() 561 php_stream_write(stream, scratch, strlen(scratch)); in php_stream_url_wrap_http_ex() 579 ua_len = sizeof(_UA_HEADER) + strlen(ua_str); in php_stream_url_wrap_http_ex() [all …]
|
/PHP-5.5/ext/date/tests/ |
H A D | bug65184.phpt | 17 for ($i = 0; $i < strlen($s); $i++) { 22 echo strlen(strftime('%A')), "\n";
|
/PHP-5.5/ext/zip/lib/ |
H A D | zip_error_strerror.c | 78 if ((s=(char *)malloc(strlen(ss) in _zip_error_strerror() 79 + (zs ? strlen(zs)+2 : 0) + 1)) == NULL) in _zip_error_strerror()
|
/PHP-5.5/ext/phar/tests/zip/ |
H A D | phar_convert_phar.phpt | 19 var_dump(strlen($phar->getStub())); 29 var_dump(strlen($phar->getStub())); 35 var_dump(strlen($phar->getStub()));
|
/PHP-5.5/ext/phar/tests/tar/ |
H A D | phar_convert_phar.phpt | 19 var_dump(strlen($phar->getStub())); 29 var_dump(strlen($phar->getStub())); 35 var_dump(strlen($phar->getStub()));
|
H A D | phar_convert_phar2.phpt | 19 var_dump(strlen($phar->getStub())); 30 var_dump(strlen($phar->getStub())); 37 var_dump(strlen($phar->getStub()));
|
/PHP-5.5/ext/zip/ |
H A D | zip_stream.c | 104 size_t path_len = strlen(stream->orig_path); in php_zip_ops_stat() 123 fragment_len = strlen(fragment); in php_zip_ops_stat() 128 path_len = strlen(path); in php_zip_ops_stat() 197 if (strncmp(mode,"r", strlen("r")) != 0) { in php_stream_zip_open() 268 fragment_len = strlen(fragment); in php_stream_zip_opener() 273 path_len = strlen(path); in php_stream_zip_opener()
|
/PHP-5.5/TSRM/ |
H A D | tsrm_win32.c | 114 bucket_key = (char *)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, strlen(pathname) + 1); in tsrm_win32_get_path_sid_key() 118 memcpy(bucket_key, pathname, strlen(pathname)); in tsrm_win32_get_path_sid_key() 126 …bucket_key = (char *)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, strlen(pathname) + strlen(ptcSi… in tsrm_win32_get_path_sid_key() 132 memcpy(bucket_key, ptcSid, strlen(ptcSid)); in tsrm_win32_get_path_sid_key() 133 memcpy(bucket_key + strlen(ptcSid), pathname, strlen(pathname) + 1); in tsrm_win32_get_path_sid_key() 215 if(!IS_ABSOLUTE_PATH(pathname, strlen(pathname)+1)) { in tsrm_win32_access() 282 bucket = realpath_cache_lookup(pathname, strlen(pathname), t TSRMLS_CC); in tsrm_win32_access() 289 bucket = realpath_cache_lookup(pathname, strlen(pathname), t TSRMLS_CC); in tsrm_win32_access() 460 int fno, type_len = strlen(type), read, mode; in popen_ex() 480 type_len = strlen(type); in popen_ex() [all …]
|
/PHP-5.5/main/ |
H A D | rfc1867.c | 99 memmove(varname, s, strlen(s)+1); in normalize_protected_variable() 126 indexend = indexend ? indexend + 1 : index + strlen(index); in normalize_protected_variable() 129 memmove(s, index, strlen(index)+1); in normalize_protected_variable() 501 *line += strlen(*line); in php_ap_getword() 547 return substring_conf(str, strlen(str), quote); in php_ap_getword_conf() 717 int content_type_len = strlen(content_type_dup); 734 boundary_len = strlen(boundary); 1108 array_len = strlen(start_arr); 1116 if (llen < strlen(param) + MAX_SIZE_OF_INDEX + 1) { 1117 llen = strlen(param); [all …]
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | bug70219_1.phpt | 19 $exploit = 'a:2:{i:0;C:3:"obj":'.strlen($inner).':{'.$inner.'}i:1;C:3:"obj":'.strlen($inner).':{'.$…
|
/PHP-5.5/ext/dba/ |
H A D | dba_inifile.c | 75 *newlen = ini_val.value ? strlen(ini_val.value) : 0; in DBA_FETCH_FUNC() 143 *newlen = strlen(result); in DBA_FIRSTKEY_FUNC() 160 *newlen = strlen(result); in DBA_NEXTKEY_FUNC()
|