Home
last modified time | relevance | path

Searched refs:length (Results 201 – 225 of 620) sorted by relevance

12345678910>>...25

/PHP-5.5/ext/mbstring/tests/
H A Dmb_strrpos_variation3.phpt100 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d
105 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d
116 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d
H A Dmb_substr_variation4.phpt10 /* Prototype : string mb_substr(string $str, int $start [, int $length [, string $encoding]])
42 if (strlen($a) == mb_strlen($b, 'UTF-8')) { // should return same length
45 echo "Difference in length of ASCII string and multibyte string\n";
H A Dmb_substr_variation6.phpt10 /* Prototype : string mb_substr(string $str, int $start [, int $length [, string $encoding]])
47 if (strlen($a) == mb_strlen($b, 'UTF-8')) { // should return same length
50 echo "Difference in length of ASCII string and multibyte string\n";
/PHP-5.5/ext/standard/tests/strings/
H A Dstr_split_variation7_64bit.phpt50 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
117 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
143 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
H A Dbug61660.phpt10 Warning: hex2bin(): Hexadecimal input string must have an even length in %s on line %d
H A Dbug33076.phpt2 Bug #33076 (str_ireplace() incorrectly counts result string length and may cause segfault)
H A Dbug33605.phpt10 Warning: substr_compare(): The length must be greater than or equal to zero in %s on line %d
/PHP-5.5/Zend/
H A Dzend_multibyte.c43 static const zend_encoding *dummy_encoding_detector(const unsigned char *string, size_t length, con… in dummy_encoding_detector() argument
143 …ng *zend_multibyte_encoding_detector(const unsigned char *string, size_t length, const zend_encodi… in zend_multibyte_encoding_detector() argument
145 return multibyte_functions.encoding_detector(string, length, list, list_size TSRMLS_CC); in zend_multibyte_encoding_detector()
H A Dzend_language_scanner.l713 if (length > original_offset) { in zend_get_scanned_file_offset()
718 } while (original_offset != length); in zend_get_scanned_file_offset()
839 size_t length; in zend_multibyte_yyinput_again() local
849 length = SCNG(script_org_size); in zend_multibyte_yyinput_again()
857 SCNG(script_filtered_size) = length; in zend_multibyte_yyinput_again()
2131 heredoc_label->length--;
2136 heredoc_label->length -= 2;
2142 heredoc_label->length -= 2;
2151 if (heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, s, heredoc_label->length)) {
2178 YYCURSOR += heredoc_label->length - 1;
[all …]
/PHP-5.5/ext/hash/tests/
H A Dhash_pbkdf2_error.phpt8 …_pbkdf2(string algo, string password, string salt, int iterations [, int length = 0, bool raw_outp…
41 echo "\n-- Testing hash_pbkdf2() function with invalid length --\n";
74 -- Testing hash_pbkdf2() function with invalid length --
/PHP-5.5/ext/standard/
H A Dphp_string.h124 PHPAPI char *php_addslashes(char *str, int length, int *new_length, int freeit TSRMLS_DC);
125 PHPAPI char *php_addcslashes(const char *str, int length, int *new_length, int freeit, char *what, …
131 PHPAPI char *php_str_to_str_ex(char *haystack, int length, char *needle,
133 PHPAPI char *php_str_to_str(char *haystack, int length, char *needle,
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_fetch_field_oo.phpt49 if ($tmp->length != $charsetInfo->max_length) {
50 printf("[006] Expecting length %d got %d\n",
90 [%u|b%"length"]=>
118 [%u|b%"length"]=>
H A Dmysqli_fetch_field.phpt47 if ($tmp->length != $charsetInfo->max_length) {
48 printf("[005] Expecting length %d got %d\n",
107 [%u|b%"length"]=>
135 [%u|b%"length"]=>
170 [%u|b%"length"]=>
/PHP-5.5/win32/build/
H A Dphpize.js.in68 for (i = 0; i < calls.length; i++) {
71 deps[deps.length] = RegExp.$1;
141 if (item.deps.length) {
163 if (item.deps.length == 0) {
181 for (i = 0; i < args.length; i++) {
186 if (arg.length > 1) {
248 for (i = 0; i < calls.length; i++) {
/PHP-5.5/ext/pcre/pcrelib/testdata/
H A Dtestoutput18-16341 Subject length lower bound = 1
380 Subject length lower bound = 3
400 Subject length lower bound = 1
419 Subject length lower bound = 1
438 Subject length lower bound = 1
458 Subject length lower bound = 1
668 Subject length lower bound = 1
694 Subject length lower bound = 1
714 Subject length lower bound = 1
726 Subject length lower bound = 1
[all …]
H A Dtestoutput18-32339 Subject length lower bound = 1
378 Subject length lower bound = 3
398 Subject length lower bound = 1
417 Subject length lower bound = 1
436 Subject length lower bound = 1
456 Subject length lower bound = 1
665 Subject length lower bound = 1
691 Subject length lower bound = 1
711 Subject length lower bound = 1
723 Subject length lower bound = 1
[all …]
/PHP-5.5/TSRM/
H A Dtsrm_virtual_cwd.c502 *length = 1; in virtual_getcwd_ex()
525 retval[*length] = '\0'; in virtual_getcwd_ex()
537 size_t length; in virtual_getcwd() local
545 if (length > size-1) { in virtual_getcwd()
550 memcpy(buf, cwd, length+1); in virtual_getcwd()
1367 int length = strlen(path); in virtual_chdir_file() local
1372 if (length == 0) { in virtual_chdir_file()
1375 while(--length >= 0 && !IS_SLASH(path[length])) { in virtual_chdir_file()
1378 if (length == -1) { in virtual_chdir_file()
1385 length++; in virtual_chdir_file()
[all …]
/PHP-5.5/ext/date/lib/
H A Dparse_date.re1218 int length = 0;
1246 int length = 0;
1260 int length = 0;
1274 int length = 0;
1288 int length = 0;
1315 int length = 0;
1329 int length = 0;
1343 int length = 0;
1357 int length = 0;
1969 int length;
[all …]
/PHP-5.5/ext/standard/tests/serialize/
H A DunserializeS.phpt2 Bug MOPB-29 (wrong length calculation for S)
/PHP-5.5/ext/phar/tests/files/
H A Dstuboflength1041.phar.inc10 /***stub of length 1041 including the halt compiler*********************************************
/PHP-5.5/build/
H A Dscan_makefile_in.awk21 sources=sources substr($0, 0, length - 1)
/PHP-5.5/ext/standard/tests/file/
H A Dbug61961.phpt2 Bug #61961 (file_get_content leaks when access empty file with max length)
/PHP-5.5/ext/date/
H A Dphp_date.c1062 int i, length = 0; in date_format() local
1137 length = slprintf(buffer, 32, "%03d", retval); in date_format()
1151 case 'O': length = slprintf(buffer, 32, "%c%02d%s%02d", in date_format()
1160 length = slprintf(buffer, 32, "%s", "UTC"); in date_format()
1170 length = slprintf(buffer, 32, "%c%02d:%02d", in date_format()
1205 smart_str_appendl(&string, buffer, length); in date_format()
4274 int i, length, have_format_spec = 0; in date_interval_format() local
4304 length = slprintf(buffer, 32, "%d", (int) t->days); in date_interval_format()
4306 length = slprintf(buffer, 32, "(unknown)"); in date_interval_format()
4312 case '%': length = slprintf(buffer, 32, "%%"); break; in date_interval_format()
[all …]
/PHP-5.5/ext/intl/tests/
H A Dbug55562.phpt2 grapheme_substr() - Bug55562 - grapheme_substr() returns false if length parameter is to large
/PHP-5.5/ext/standard/tests/array/
H A Dbug43541.phpt2 Bug #43541 (length parameter omitted or not does not work when casted to float)

Completed in 116 milliseconds

12345678910>>...25