/PHP-8.1/ext/pgsql/tests/ |
H A D | 11pg_meta_data.phpt | 27 ["len"]=> 44 ["len"]=> 61 ["len"]=>
|
/PHP-8.1/ext/pcre/pcre2lib/ |
H A D | pcre2_extuni.c | 100 int len = 1; in PRIV() local 101 if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } in PRIV() 139 eptr += len; in PRIV()
|
/PHP-8.1/sapi/cgi/ |
H A D | cgi_main.c | 380 int len; in sapi_cgi_send_headers() local 598 size_t len; in _sapi_cgi_putenv() local 627 len = slprintf(buf, len - 1, "%s=%s", name, value); in _sapi_cgi_putenv() 633 len = slprintf(buf, len - 1, "%s=", name); in _sapi_cgi_putenv() 1672 while (len != 0 && (h->header[len-1] == ' ' || h->header[len-1] == '\t')) { 1673 len--; 1675 if (len) { 1678 s[len] = 0; 1720 size_t len; local 2431 len = 0; [all …]
|
/PHP-8.1/ext/mbstring/tests/ |
H A D | mb_str_split_ru.phpt | 13 $len = 12; 32 for($i = 1; $i <= $len; ++$i){ 33 $ceil = ceil($len / $i); 42 for($i = 0; $i < $len; ++$i){ 52 $array = mb_str_split($enc, $len, "EUC-JP");
|
/PHP-8.1/ext/bz2/tests/ |
H A D | bug71263.phpt | 12 echo "Compressed len = ", strlen($compressed), "\n"; 48 Compressed len = 81 52 Compressed len = 81 54 Compressed len = 81
|
/PHP-8.1/ext/hash/ |
H A D | hash_snefru.c | 138 PHP_HASH_API void PHP_SNEFRUUpdate(PHP_SNEFRU_CTX *context, const unsigned char *input, size_t len) in PHP_SNEFRUUpdate() argument 140 if ((MAX32 - context->count[1]) < (len * 8)) { in PHP_SNEFRUUpdate() 143 context->count[1] = ((uint32_t) len * 8) - context->count[1]; in PHP_SNEFRUUpdate() 145 context->count[1] += (uint32_t) len * 8; in PHP_SNEFRUUpdate() 148 if (context->length + len < 32) { in PHP_SNEFRUUpdate() 149 memcpy(&context->buffer[context->length], input, len); in PHP_SNEFRUUpdate() 150 context->length += (unsigned char)len; in PHP_SNEFRUUpdate() 152 size_t i = 0, r = (context->length + len) % 32; in PHP_SNEFRUUpdate() 160 for (; i + 32 <= len; i += 32) { in PHP_SNEFRUUpdate()
|
/PHP-8.1/ext/standard/ |
H A D | crypt_sha512.c | 125 size_t nwords = len / sizeof(uint64_t); in sha512_process_block() 138 ctx->total[0] += len; in sha512_process_block() 139 if (ctx->total[0] < len) { in sha512_process_block() 279 size_t add = (size_t)(256 - left_over > len ? len : 256 - left_over); in sha512_process_bytes() 294 len -= add; in sha512_process_bytes() 298 if (len >= 128) { in sha512_process_bytes() 308 while (len > 128) { in sha512_process_bytes() 311 len -= 128; in sha512_process_bytes() 318 len &= 127; in sha512_process_bytes() 323 if (len > 0) { in sha512_process_bytes() [all …]
|
H A D | base64.h | 71 static inline zend_string *php_base64_decode(const unsigned char *str, size_t len) { in php_base64_decode() argument 72 return php_base64_decode_ex(str, len, 0); in php_base64_decode()
|
H A D | hrtime.c | 141 # define HRTIME_U64A(i, s, len) _ui64toa_s(i, s, len, 10) argument 143 # define HRTIME_U64A(i, s, len) \ argument 145 int st = snprintf(s, len, "%llu", i); \
|
H A D | string.c | 273 if (len < 0) { in php_spn_common_handler() 276 len = 0; in php_spn_common_handler() 1179 len++; in php_implode() 1183 len++; in php_implode() 1411 e = c+len; in php_strtolower() 2903 len--; 4010 len -= i; 4023 len--; 4031 len--; 4035 len--; [all …]
|
/PHP-8.1/Zend/tests/ |
H A D | bug26696.phpt | 6 $len = strlen($str); 7 for ($i = 0; $i < $len; $i++) {
|
/PHP-8.1/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 118 size_t len; member 174 size_t len; member 520 len = (ms->c.len = 10) * sizeof(*ms->c.li); in file_ms_alloc() 1135 size_t len; in load_1() local 1171 if (CAST(size_t, len - 2) > bang[i].len && in load_1() 1191 len - bang[i].len - 2) != 0) { in load_1() 2303 len = nt ? strlen(buf) : len; in parse_extra() 2433 len = len * 10 + (*ptr - '0'); \ in check_format_type() 3182 size_t len; in apprentice_compile() local 3401 len = *s; [all …]
|
/PHP-8.1/sapi/phpdbg/ |
H A D | phpdbg_parser.y | 128 $$.len = $1.len; 134 $$.len = $2.len; 154 $$.len = $3.len; 159 $$.len = $3.len; 163 $$.len = 0; 168 $$.len = $3.len;
|
/PHP-8.1/ext/zlib/tests/ |
H A D | bug75273.phpt | 7 function non_repeating_str($len = 8192) { 10 $iterations = (int) ($len / 256) + 1; 23 return substr($ret, 0, $len);
|
/PHP-8.1/Zend/ |
H A D | zend_stream.h | 32 typedef ssize_t (*zend_stream_reader_t)(void* handle, char *buf, size_t len); 62 size_t len; member 70 ZEND_API zend_result zend_stream_fixup(zend_file_handle *file_handle, char **buf, size_t *len);
|
H A D | zend_constants.h | 54 …REGISTER_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name), sizeof(na… argument 61 …TANT(ns, name, str, len, flags) zend_register_stringl_constant(ZEND_NS_NAME(ns, name), sizeof(ZEN… argument 68 …TER_MAIN_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name), sizeof(na… argument
|
H A D | zend_string.c | 58 return zend_inline_hash_func(str, len); in zend_hash_func() 402 size_t len = ZSTR_LEN(s1); in zend_string_equal_val() local 428 "+c"(len), in zend_string_equal_val() 440 size_t len = ZSTR_LEN(s1); in zend_string_equal_val() local 466 "+c"(len), in zend_string_equal_val() 478 size_t len = str1_len + str2_len; in zend_string_concat2() local 479 zend_string *res = zend_string_alloc(len, 0); in zend_string_concat2() 483 ZSTR_VAL(res)[len] = '\0'; in zend_string_concat2() 493 size_t len = str1_len + str2_len + str3_len; in zend_string_concat3() local 494 zend_string *res = zend_string_alloc(len, 0); in zend_string_concat3() [all …]
|
/PHP-8.1/ext/mbstring/ |
H A D | php_unicode.c | 232 unsigned len = code >> 24; in php_unicode_tolower_full() local 234 while (len--) { in php_unicode_tolower_full() 246 unsigned len = code >> 24; in php_unicode_toupper_full() local 248 while (len--) { in php_unicode_toupper_full() 260 unsigned len = code >> 24; in php_unicode_totitle_full() local 262 while (len--) { in php_unicode_totitle_full() 274 unsigned len = code >> 24; in php_unicode_tofold_full() local 276 while (len--) { in php_unicode_tofold_full() 421 *ret_len = result.len; in php_unicode_convert_case()
|
/PHP-8.1/tests/lang/ |
H A D | bug26696.phpt | 7 $len = strlen($str); 8 for ($i = 0; $i < $len; $i++) {
|
/PHP-8.1/main/ |
H A D | SAPI.c | 321 content_type = (char*)emalloc(*len + 1); in get_default_content_type() 329 *len = prefix_len + mimetype_len; in get_default_content_type() 330 content_type = (char*)emalloc(*len + 1); in get_default_content_type() 339 uint32_t len; in sapi_get_default_content_type() local 341 return get_default_content_type(0, &len); in sapi_get_default_content_type() 347 uint32_t len; in sapi_get_default_content_type_header() local 350 default_header->header_len = len; in sapi_get_default_content_type_header() 603 if (header->header_len > len && header->header[len] == ':' in sapi_remove_header() 776 len--; in sapi_header_op() 851 uint32_t len = 0; in sapi_send_headers() local [all …]
|
/PHP-8.1/ext/iconv/tests/ |
H A D | eucjp2iso2022jp.phpt | 12 $len = strlen($str); 13 for ($i = 0; $i < $len; ++$i) {
|
/PHP-8.1/ext/opcache/tests/jit/ |
H A D | gh11917.phpt | 22 $len = count($val); 26 while ($i != $len) { 39 } elseif (++$i != $len) {
|
/PHP-8.1/Zend/Optimizer/ |
H A D | block_pass.c | 71 b->len--; in strip_leading_nops() 79 if (b->len == 0) { in strip_nops() 87 if (b->len == 0) { in strip_nops() 983 uint32_t len = 0; in assemble_code_blocks() local 1001 b->len--; in assemble_code_blocks() 1005 b->len--; in assemble_code_blocks() 1007 len += b->len; in assemble_code_blocks() 1268 block->len--; in zend_jmp_optimization() 1830 bb->len = 0; in zend_merge_blocks() 1835 prev->len = b->start + b->len - prev->start; in zend_merge_blocks() [all …]
|
/PHP-8.1/ext/dom/tests/ |
H A D | DOMNode_removeChild_basic.phpt | 39 $len = $children->length; 40 echo "original has $len nodes\n"; 50 $len = $children->length; 51 echo "after text removed it now has $len nodes\n";
|
/PHP-8.1/ext/mysqlnd/ |
H A D | mysqlnd_wireprotocol.c | 500 size_t len; in php_mysqlnd_auth_write() local 527 p+= len; in php_mysqlnd_auth_write() 575 p+= len; in php_mysqlnd_auth_write() 1048 size_t len; in php_mysqlnd_rset_header_read() local 1152 p += len; \ 1178 zend_ulong len; in php_mysqlnd_rset_field_read() local 1274 p += len; in php_mysqlnd_rset_field_read() 1601 p -= len; in php_mysqlnd_rowp_read_text_protocol() 1614 *(p + len) = '\0'; in php_mysqlnd_rowp_read_text_protocol() 1648 *(p + len) = save; in php_mysqlnd_rowp_read_text_protocol() [all …]
|