/PHP-7.4/ext/oci8/tests/ |
H A D | lob_008.phpt | 38 $len = 0; 40 $len += strlen($row[0]->read(1024)); 42 var_dump($len);
|
/PHP-7.4/ext/standard/ |
H A D | string.c | 301 if (len < 0) { in php_spn_common_handler() 304 len = 0; in php_spn_common_handler() 1222 len++; in php_implode() 1226 len++; in php_implode() 1463 e = c+len; in php_strtolower() 1531 cnt = len; 3117 len--; 4245 len -= i; 4258 len--; 4266 len--; [all …]
|
H A D | iptc.c | 320 size_t inx = 0, len; in PHP_FUNCTION() local 356 len = (((zend_long) buffer[ inx + 2 ]) << 24) + (((zend_long) buffer[ inx + 3 ]) << 16) + in PHP_FUNCTION() 360 len = (((unsigned short) buffer[ inx ])<<8) | (unsigned short)buffer[ inx+1 ]; in PHP_FUNCTION() 364 if ((len > str_len) || (inx + len) > str_len) { in PHP_FUNCTION() 380 add_next_index_stringl(element, (char *) buffer+inx, len); in PHP_FUNCTION() 381 inx += len; in PHP_FUNCTION()
|
/PHP-7.4/win32/ |
H A D | ioutil.h | 158 #define PHP_WIN32_IOUTIL_PATH_IS_OK_W(pathw, len) \ argument 159 (!((len) >= 1 && L' ' == pathw[(len)-1] || \ 160 …(len) > 1 && !PHP_WIN32_IOUTIL_IS_SLASHW(pathw[(len)-2]) && L'.' != pathw[(len)-2] && L'.' == path… 173 …normalization_result php_win32_ioutil_normalize_path_w(wchar_t **buf, size_t len, size_t *new_len); 265 PW32IO size_t php_win32_ioutil_dirname(char *buf, size_t len); 270 PW32IO wchar_t *php_win32_ioutil_getcwd_w(wchar_t *buf, size_t len); 492 __forceinline static char *php_win32_ioutil_getcwd(char *buf, size_t len) in php_win32_ioutil_getcwd() argument 499 if (php_win32_ioutil_getcwd_w(tmp_bufw, len ? len : PHP_WIN32_IOUTIL_MAXPATHLEN) == NULL) { in php_win32_ioutil_getcwd() 514 } else if (tmp_bufa_len + 1 > len) { in php_win32_ioutil_getcwd() 520 if (!buf && !len) { in php_win32_ioutil_getcwd()
|
/PHP-7.4/ext/pcre/pcre2lib/sljit/ |
H A D | sljitProtExecAllocator.c | 120 size_t len; in create_tempfile() local 130 len = (P_tmpdir != NULL) ? strlen(P_tmpdir) : 0; in create_tempfile() 132 if (len > 0 && len < sizeof(tmp_name)) { in create_tempfile() 134 tmp_name_len = len; in create_tempfile() 148 len = strlen(dir); in create_tempfile() 149 if (len > 0 && len < sizeof(tmp_name)) { in create_tempfile() 151 tmp_name_len = len; in create_tempfile()
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | strcspn_variation10.phpt | 2 Test strcspn() function : usage variations - with varying mask & default start and len args 5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]]) 7 … If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars) 13 * Testing strcspn() : with varying mask and default start and len arguments 16 echo "*** Testing strcspn() : with different mask strings and default start and len arguments ***\n… 67 *** Testing strcspn() : with different mask strings and default start and len arguments ***
|
H A D | strspn_variation10.phpt | 2 Test strspn() function : usage variations - with varying mask & default start and len args 5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) 7 … If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars) 13 * Testing strspn() : with varying mask and default start and len arguments 16 echo "*** Testing strspn() : with different mask strings and default start and len arguments ***\n"; 69 *** Testing strspn() : with different mask strings and default start and len arguments ***
|
H A D | strspn_variation6.phpt | 2 …spn() function : usage variations - with heredoc strings, varying mask & default start and len args 5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) 7 … If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars) 13 * Testing strspn() : with heredoc string, varying mask and default start and len arguments 86 var_dump( strspn($str,$mask) ); // with default start and len value
|
H A D | strlen.phpt | 23 "\x000", // len = 2 24 "\xABC", // len = 2 25 "\0000", // len = 2 28 "\t", // len = 1 29 '\t', // len = 2 118 var_dump(strlen(10.55555555555555555555555555)); // len = 13 119 var_dump(strlen(10.55555555595555555555555555)); // len = 12 122 var_dump(strlen(strlen("Hello"))); // len=1
|
H A D | strcspn_variation5.phpt | 2 Test strcspn() function : usage variations - with heredoc strings with default start and len args 5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]]) 7 … If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars) 70 var_dump( strcspn($str,$mask) ); // with default start and len values
|
H A D | strspn_variation5.phpt | 2 Test strspn() function : usage variations - with heredoc strings with default start and len args 5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) 7 … If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars) 70 var_dump( strspn($str,$mask) ); // with default start and len values
|
/PHP-7.4/ext/zlib/tests/ |
H A D | bug60761.phpt | 27 $len = strlen($html); 29 $lens[$len] = $len;
|
/PHP-7.4/ext/bcmath/libbcmath/src/ |
H A D | output.c | 70 int len, ix; local 74 len = strlen (digits); 75 while (size > len) 80 for (ix=0; ix < len; ix++)
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | fgets_error.phpt | 22 $len = 0; 23 var_dump( fgets($fp, $len) ); 24 $len = -10; 25 var_dump( fgets($fp, $len) ); 26 $len = 1; 27 var_dump( fgets($fp, $len) ); // return length - 1 always, expect false
|
H A D | fgetss_error.phpt | 24 $len = 0; 26 var_dump( fgetss($fp, $len, $allowable_tags) ); 27 $len = -10; 28 var_dump( fgetss($fp, $len, $allowable_tags) ); 29 $len = 1; 30 var_dump( fgetss($fp, $len, $allowable_tags) ); // return length - 1 always, expect false
|
/PHP-7.4/main/ |
H A D | rfc1867.c | 587 int len = haystacklen; in php_ap_memstr() local 597 if (memcmp(needle, ptr, needlen < len ? needlen : len) == 0 && (partial || len >= needlen)) { in php_ap_memstr() 602 ptr++; len--; in php_ap_memstr() 611 size_t len, max; in multipart_buffer_read() local 633 if (len > 0) { in multipart_buffer_read() 637 buf[len] = 0; in multipart_buffer_read() 639 if (bound && len > 0 && buf[len-1] == '\r') { in multipart_buffer_read() 640 buf[--len] = 0; in multipart_buffer_read() 645 self->buf_begin += len; in multipart_buffer_read() 648 return len; in multipart_buffer_read() [all …]
|
/PHP-7.4/ext/hash/ |
H A D | hash_joaat.c | 73 joaat_buf(void *buf, size_t len, uint32_t hval) in joaat_buf() argument 78 for (i = 0; i < len; i++) { in joaat_buf()
|
H A D | hash_adler32.c | 28 …P_HASH_API void PHP_ADLER32Update(PHP_ADLER32_CTX *context, const unsigned char *input, size_t len) in PHP_ADLER32Update() argument 34 for (i = 0; i < len; ++i) { in PHP_ADLER32Update()
|
H A D | php_hash_fnv.h | 65 static uint32_t fnv_32_buf(void *buf, size_t len, uint32_t hval, int alternate); 66 static uint64_t fnv_64_buf(void *buf, size_t len, uint64_t hval, int alternate);
|
/PHP-7.4/ext/readline/ |
H A D | readline_cli.c | 216 for (i = 0; i < len; ++i) { in cli_is_valid_code() 282 if (i + 2 < len && code[i+1] == '<' && code[i+2] == '<') { in cli_is_valid_code() 570 size_t len = ZSTR_LEN(ce->name) + 2 + strlen(retval) + 1; in cli_completion_generator() local 571 char *tmp = malloc(len); in cli_completion_generator() 573 snprintf(tmp, len, "%s::%s", ZSTR_VAL(ce->name), retval); in cli_completion_generator() 591 size_t size = 4096, pos = 0, len; in readline_shell_run() local 626 len = strlen(line); in readline_shell_run() 646 if (pos + len + 2 > size) { in readline_shell_run() 647 size = pos + len + 2; in readline_shell_run() 650 memcpy(&code[pos], line, len); in readline_shell_run() [all …]
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_help.c | 180 const char *key, size_t len, /* pointer and length of key */ in get_command() argument 188 if (len == 1) { in get_command() 199 if (!strncmp(c->name, key, len)) { in get_command() 243 n = get_command(param->str, param->len, &cmd, phpdbg_prompt_commands); in PHPDBG_COMMAND() 251 if (param->len > 1) { in PHPDBG_COMMAND() 253 if (!strncmp(cmd->name, param->str, param->len)) { in PHPDBG_COMMAND() 285 int len; in PHPDBG_HELP() local 294 len = 20 - 1 - c->name_len; in PHPDBG_HELP() 298 c->alias, c_sub->alias, c->name, len, c_sub->name, c_sub->tip); in PHPDBG_HELP() 313 len = 20 - 1 - c->name_len; in PHPDBG_HELP() [all …]
|
/PHP-7.4/ext/mbstring/tests/ |
H A D | bug52981.phpt | 10 $len = strlen($upper); 11 for ($i = 0; $i < $len; ++$i) echo dechex(ord($upper[$i])) . ' ';
|
/PHP-7.4/ext/pcre/pcre2lib/ |
H A D | pcre2_intmodedep.h | 265 #define GETCHARLEN(c, eptr, len) c = *eptr; argument 329 #define GETCHARLEN(c, eptr, len) \ argument 331 if (c >= 0xc0u) GETUTF8LEN(c, eptr, len); 337 #define GETCHARLENTEST(c, eptr, len) \ argument 339 if (utf && c >= 0xc0u) GETUTF8LEN(c, eptr, len); 427 #define GETUTF16LEN(c, eptr, len) \ argument 434 #define GETCHARLEN(c, eptr, len) \ argument 436 if ((c & 0xfc00u) == 0xd800u) GETUTF16LEN(c, eptr, len); 442 #define GETCHARLENTEST(c, eptr, len) \ argument 507 #define GETCHARLEN(c, eptr, len) \ argument [all …]
|
/PHP-7.4/ext/soap/tests/ |
H A D | bug73037.phpt | 85 $len = strlen($data); 87 //echo "len=$len\n"; 95 Content-Length: ${len} 123 $len = $pos - $pos0; 124 echo substr($out, $pos0, $len);
|
/PHP-7.4/ext/opcache/ |
H A D | zend_file_cache.c | 217 size_t len; local 230 size_t new_len = info->str_size + len; 237 info->str_size += len; 834 size_t len; local 841 filename[len] = '/'; 851 filename[len] = '\\'; 853 len += 1 + 32; 854 filename[len] = '\\'; 860 *(filename + len + 33) = '\\'; 863 *(filename + len + 38) = '\\'; [all …]
|