Home
last modified time | relevance | path

Searched refs:len (Results 101 – 125 of 461) sorted by relevance

12345678910>>...19

/PHP-8.0/Zend/
H A Dzend_stream.h32 typedef ssize_t (*zend_stream_reader_t)(void* handle, char *buf, size_t len);
63 size_t len; member
70 ZEND_API zend_result zend_stream_fixup(zend_file_handle *file_handle, char **buf, size_t *len);
H A Dzend_language_scanner.l131 --(*len); in BEGIN_EXTERN_C()
931 if (len <= 1) { in zend_scan_escape_string()
932 if (len < 1) { in zend_scan_escape_string()
1039 len++; in zend_scan_escape_string()
1046 len++; in zend_scan_escape_string()
1052 len++; in zend_scan_escape_string()
1226 str += len; in strip_multiline_string_indentation()
1227 copy += len; in strip_multiline_string_indentation()
1926 --len;
1985 len = i;
[all …]
H A Dzend_constants.h53 …REGISTER_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name), sizeof(na… argument
60 …TANT(ns, name, str, len, flags) zend_register_stringl_constant(ZEND_NS_NAME(ns, name), sizeof(ZEN… argument
67 …TER_MAIN_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name), sizeof(na… argument
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_connection.h45 #define SET_NEW_MESSAGE(buf, buf_len, message, len) \ argument
51 (buf) = mnd_pestrndup((message), (len), 0); \
55 (buf_len) = (len); \
H A Dmysqlnd_wireprotocol.c500 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
1165 p += len; \
1191 zend_ulong len; in php_mysqlnd_rset_field_read() local
1287 p += len; in php_mysqlnd_rset_field_read()
1620 p -= len; in php_mysqlnd_rowp_read_text_protocol_aux()
1634 *(p + len) = '\0'; in php_mysqlnd_rowp_read_text_protocol_aux()
1668 *(p + len) = save; in php_mysqlnd_rowp_read_text_protocol_aux()
[all …]
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_parser.y127 $$.len = $1.len;
133 $$.len = $2.len;
153 $$.len = $3.len;
158 $$.len = $3.len;
162 $$.len = 0;
167 $$.len = $3.len;
/PHP-8.0/ext/iconv/tests/
H A Deucjp2iso2022jp.phpt12 $len = strlen($str);
13 for ($i = 0; $i < $len; ++$i) {
/PHP-8.0/ext/standard/
H A Dcrypt_sha512.c125 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 Dhrtime.c141 # 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 Dstring.c273 if (len < 0) { in php_spn_common_handler()
276 len = 0; in php_spn_common_handler()
1174 len++; in php_implode()
1178 len++; in php_implode()
1406 e = c+len; in php_strtolower()
2840 len--;
3943 len -= i;
3956 len--;
3964 len--;
3968 len--;
[all …]
H A Durl.c56 unsigned char *e = (unsigned char *)str + len; in php_replace_controlchars_ex()
468 end = (unsigned char *)s + len; in php_url_encode_impl()
469 start = zend_string_safe_alloc(3, len, 0, 0); in php_url_encode_impl()
561 return php_url_encode_impl(s, len, 0); in php_url_encode()
595 PHPAPI size_t php_url_decode(char *str, size_t len) in php_url_decode() argument
600 while (len--) { in php_url_decode()
608 len -= 2; in php_url_decode()
623 return php_url_encode_impl(s, len, 1); in php_raw_url_encode()
657 PHPAPI size_t php_raw_url_decode(char *str, size_t len) in php_raw_url_decode() argument
662 while (len--) { in php_raw_url_decode()
[all …]
/PHP-8.0/ext/fileinfo/libmagic/
H A Dfuncs.c215 len); in file_oomem()
501 size_t psize, len; in file_getbuffer() local
513 len = strlen(ms->o.buf); in file_getbuffer()
515 file_oomem(ms, len); in file_getbuffer()
518 psize = len * 4 + 1; in file_getbuffer()
536 eop = op + len; in file_getbuffer()
578 size_t len; in file_check_mem() local
580 if (level >= ms->c.len) { in file_check_mem()
581 len = (ms->c.len = 20 + level) * sizeof(*ms->c.li); in file_check_mem()
583 emalloc(len) : in file_check_mem()
[all …]
H A Dapprentice.c119 size_t len; member
175 size_t len; member
521 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()
2293 len = nt ? strlen(buf) : len; in parse_extra()
2423 len = len * 10 + (*ptr - '0'); \ in check_format_type()
3172 size_t len; in apprentice_compile() local
3391 len = *s;
[all …]
/PHP-8.0/ext/bz2/tests/
H A Dbug71263.phpt12 echo "Compressed len = ", strlen($compressed), "\n";
48 Compressed len = 81
52 Compressed len = 81
54 Compressed len = 81
/PHP-8.0/ext/zlib/tests/
H A Dbug75273.phpt9 function non_repeating_str($len = 8192) {
12 $iterations = (int) ($len / 256) + 1;
25 return substr($ret, 0, $len);
/PHP-8.0/ext/opcache/Optimizer/
H A Dblock_pass.c72 b->len--; in strip_leading_nops()
80 if (b->len == 0) { in strip_nops()
88 if (b->len == 0) { in strip_nops()
976 len += b->len = 1; in assemble_code_blocks()
990 b->len--; in assemble_code_blocks()
994 b->len--; in assemble_code_blocks()
996 len += b->len; in assemble_code_blocks()
1257 block->len--; in zend_jmp_optimization()
1819 bb->len = 0; in zend_merge_blocks()
1824 prev->len = b->start + b->len - prev->start; in zend_merge_blocks()
[all …]
/PHP-8.0/ext/dom/tests/
H A DDOMNode_removeChild_basic.phpt41 $len = $children->length;
42 echo "original has $len nodes\n";
52 $len = $children->length;
53 echo "after text removed it now has $len nodes\n";
/PHP-8.0/ext/pdo/
H A Dpdo_sql_parser.re72 size_t len;
112 ptrdiff_t len = s.cur - s.tok;
113 if ((inquery < (s.cur - len)) && isalnum(*(s.cur - len - 1))) {
125 plc->len = s.cur - s.tok;
220 param = zend_hash_str_find_ptr(params, plc->pos, plc->len);
348 memcpy(newbuffer, plc->pos, plc->len);
349 newbuffer += plc->len;
351 ptr = plc->pos + plc->len;
388 name = estrndup(plc->pos, plc->len);
428 name = estrndup(plc->pos, plc->len);
[all …]
/PHP-8.0/main/
H A DSAPI.c317 content_type = (char*)emalloc(*len + 1); in get_default_content_type()
325 *len = prefix_len + mimetype_len; in get_default_content_type()
326 content_type = (char*)emalloc(*len + 1); in get_default_content_type()
335 uint32_t len; in sapi_get_default_content_type() local
337 return get_default_content_type(0, &len); in sapi_get_default_content_type()
343 uint32_t len; in sapi_get_default_content_type_header() local
346 default_header->header_len = len; in sapi_get_default_content_type_header()
599 if (header->header_len > len && header->header[len] == ':' in sapi_remove_header()
772 len--; in sapi_header_op()
847 uint32_t len = 0; in sapi_send_headers() local
[all …]
H A Dphp_syslog.c91 syslog(priority, "%.*s", (int)fbuf.len, fbuf.c); in php_syslog()
99 syslog(priority, "%.*s", (int)sbuf.len, sbuf.c); in php_syslog()
109 syslog(priority, "%.*s", (int)sbuf.len, sbuf.c); in php_syslog()
/PHP-8.0/ext/standard/tests/strings/
H A Dstrncasecmp_error.phpt10 $len = -10;
13 var_dump( strncasecmp($str1, $str2, $len) );
/PHP-8.0/ext/standard/tests/general_functions/
H A Dob_get_length_basic.phpt11 $len = ob_get_length();
13 var_dump( $len );
/PHP-8.0/ext/oci8/tests/
H A Dlob_008.phpt38 $len = 0;
40 $len += strlen($row[0]->read(1024));
42 var_dump($len);
/PHP-8.0/ext/opcache/tests/jit/
H A Dbug81226.phpt19 for ($j = 0, $len = strlen($hex); $j < $len; ++$j) {
/PHP-8.0/ext/hash/
H A Dhash_fnv.c167 fnv_32_buf(void *buf, size_t len, uint32_t hval, int alternate) in fnv_32_buf() argument
170 unsigned char *be = bp + len; /* beyond end of buffer */ in fnv_32_buf()
210 fnv_64_buf(void *buf, size_t len, uint64_t hval, int alternate) in fnv_64_buf() argument
213 unsigned char *be = bp + len; /* beyond end of buffer */ in fnv_64_buf()

Completed in 166 milliseconds

12345678910>>...19