Home
last modified time | relevance | path

Searched refs:len (Results 151 – 175 of 564) sorted by relevance

12345678910>>...23

/PHP-7.3/ext/zip/lib/
H A Dzip_source_file.c41 zip_source_file(zip_t *za, const char *fname, zip_uint64_t start, zip_int64_t len) in zip_source_file() argument
46 return zip_source_file_create(fname, start, len, &za->error); in zip_source_file()
H A Dzip_source_pkware.c98 zip_uint64_t len, int update_only) in decrypt() argument
104 for (i=0; i<len; i++) { in decrypt()
165 zip_uint64_t len, zip_source_cmd_t cmd) in pkware_decrypt() argument
179 if ((n=zip_source_read(src, data, len)) < 0) { in pkware_decrypt()
209 return zip_error_to_data(&ctx->error, data, len); in pkware_decrypt()
H A Dzip_utf-8.c218 _zip_cp437_to_utf8(const zip_uint8_t * const _cp437buf, zip_uint32_t len, in _zip_cp437_to_utf8() argument
225 if (len == 0) { in _zip_cp437_to_utf8()
232 for (i=0; i<len; i++) in _zip_cp437_to_utf8()
241 for (i=0; i<len; i++) in _zip_cp437_to_utf8()
/PHP-7.3/ext/fileinfo/libmagic/
H A Dapprentice.c116 size_t len; member
170 size_t len; member
496 len = (ms->c.len = 10) * sizeof(*ms->c.li); in file_ms_alloc()
1082 size_t len; in load_1() local
1118 if ((size_t)(len - 2) > bang[i].len && in load_1()
2217 len = nt ? strlen(buf) : len; in parse_extra()
2343 len = len * 10 + (*ptr - '0'); \ in check_format_type()
2940 map->len = len; in apprentice_buf()
3162 size_t len; in apprentice_compile() local
3378 len = *s;
[all …]
/PHP-7.3/ext/mysqlnd/
H A Dmysqlnd_connection.h47 #define SET_NEW_MESSAGE(buf, buf_len, message, len) \ argument
53 (buf) = mnd_pestrndup((message), (len), 0); \
57 (buf_len) = (len); \
H A Dmysqlnd_wireprotocol.c495 size_t len; in php_mysqlnd_auth_write() local
522 p+= len; in php_mysqlnd_auth_write()
570 p+= len; in php_mysqlnd_auth_write()
1043 size_t len; in php_mysqlnd_rset_header_read() local
1160 p += len; \
1185 zend_ulong len; in php_mysqlnd_rset_field_read() local
1280 p += len; in php_mysqlnd_rset_field_read()
1601 *(p + len) = '\0'; in php_mysqlnd_rowp_read_text_protocol_aux()
1635 *(p + len) = save; in php_mysqlnd_rowp_read_text_protocol_aux()
1654 p -= len; in php_mysqlnd_rowp_read_text_protocol_aux()
[all …]
/PHP-7.3/ext/mbstring/libmbfl/tests/
H A Demoji.c17 for (i = 0; i < ptr->len; i++) { in hexdump()
21 printf(" (%u)\n", ptr->len); in hexdump()
82 for (i = 0; i < result.len; i+= 2) { in main()
103 memcpy(dev2.buffer, result.val, result.len+1); in main()
/PHP-7.3/ext/standard/
H A Dhrtime.c143 # define HRTIME_U64A(i, s, len) _ui64toa_s(i, s, len, 10) argument
145 # define HRTIME_U64A(i, s, len) \ argument
147 int st = snprintf(s, len, "%llu", i); \
H A Dbase64.h73 static inline zend_string *php_base64_decode(const unsigned char *str, size_t len) { in php_base64_decode() argument
74 return php_base64_decode_ex(str, len, 0); in php_base64_decode()
H A Diptc.c318 size_t inx = 0, len; in PHP_FUNCTION() local
354 len = (((zend_long) buffer[ inx + 2 ]) << 24) + (((zend_long) buffer[ inx + 3 ]) << 16) + in PHP_FUNCTION()
358 len = (((unsigned short) buffer[ inx ])<<8) | (unsigned short)buffer[ inx+1 ]; in PHP_FUNCTION()
362 if ((len > str_len) || (inx + len) > str_len) { in PHP_FUNCTION()
378 add_next_index_stringl(element, (char *) buffer+inx, len); in PHP_FUNCTION()
379 inx += len; in PHP_FUNCTION()
H A Dstring.c316 if (len < 0) { in php_spn_common_handler()
319 len = 0; in php_spn_common_handler()
327 if(len == 0) { in php_spn_common_handler()
1239 len++; in php_implode()
1243 len++; in php_implode()
1478 e = c+len; in php_strtolower()
1546 cnt = len;
3131 len--;
4168 len--;
4176 len--;
[all …]
/PHP-7.3/tests/lang/
H A Dbug26696.phpt7 $len = strlen($str);
8 for ($i = 0; $i < $len; $i++) {
/PHP-7.3/ext/pcre/pcre2lib/sljit/
H A DsljitProtExecAllocator.c109 size_t len; in create_tempfile() local
112 len = (P_tmpdir != NULL) ? strlen(P_tmpdir) : 0; in create_tempfile()
114 if (len > 0 && len < sizeof(tmp_name)) { in create_tempfile()
116 tmp_name_len = len; in create_tempfile()
129 len = strlen(dir); in create_tempfile()
130 if (len > 0 && len < sizeof(tmp_name)) { in create_tempfile()
132 tmp_name_len = len; in create_tempfile()
/PHP-7.3/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-7.3/main/
H A Dphp_syslog.c82 syslog(priority, "%.*s", (int)fbuf.len, fbuf.c); in php_syslog()
90 syslog(priority, "%.*s", (int)sbuf.len, sbuf.c); in php_syslog()
100 syslog(priority, "%.*s", (int)sbuf.len, sbuf.c); in php_syslog()
H A DSAPI.c327 content_type = (char*)emalloc(*len + 1); in get_default_content_type()
335 *len = prefix_len + mimetype_len; in get_default_content_type()
336 content_type = (char*)emalloc(*len + 1); in get_default_content_type()
345 uint32_t len; in sapi_get_default_content_type() local
347 return get_default_content_type(0, &len); in sapi_get_default_content_type()
353 uint32_t len; in sapi_get_default_content_type_header() local
356 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()
774 len--; in sapi_header_op()
856 uint32_t len = 0; in sapi_send_headers() local
[all …]
/PHP-7.3/ext/pdo/
H A Dpdo_sql_parser.c383 size_t len; member
417 ptrdiff_t len = s.cur - s.tok; in pdo_parse_params() local
418 if ((inquery < (s.cur - len)) && isalnum(*(s.cur - len - 1))) { in pdo_parse_params()
430 plc->len = s.cur - s.tok; in pdo_parse_params()
484 if ((param = zend_hash_str_find_ptr(params, plc->pos, plc->len)) == NULL) { in pdo_parse_params()
509 param = zend_hash_str_find_ptr(params, plc->pos, plc->len); in pdo_parse_params()
634 ptr = plc->pos + plc->len; in pdo_parse_params()
666 name = estrndup(plc->pos, plc->len); in pdo_parse_params()
683 zend_hash_str_update_mem(stmt->bound_param_map, name, plc->len, idxbuf, plc->qlen + 1); in pdo_parse_params()
706 name = estrndup(plc->pos, plc->len); in pdo_parse_params()
[all …]
/PHP-7.3/ext/hash/
H A Dhash_fnv.c153 fnv_32_buf(void *buf, size_t len, uint32_t hval, int alternate) in fnv_32_buf() argument
156 unsigned char *be = bp + len; /* beyond end of buffer */ in fnv_32_buf()
196 fnv_64_buf(void *buf, size_t len, uint64_t hval, int alternate) in fnv_64_buf() argument
199 unsigned char *be = bp + len; /* beyond end of buffer */ in fnv_64_buf()
/PHP-7.3/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-7.3/sapi/phpdbg/
H A Dphpdbg_eol.c86 void phpdbg_eol_convert(char **str, int *len) in phpdbg_eol_convert() argument
89 int in_len = *len, out_len, cursor, i; in phpdbg_eol_convert()
96 out_len = *len; in phpdbg_eol_convert()
170 *len = cursor; in phpdbg_eol_convert()
/PHP-7.3/ext/xmlrpc/libxmlrpc/
H A Dxmlrpc.c808 xml_elem_parse_buf (in_buf, len, in XMLRPC_REQUEST_FromXML()
901 (len > 0) ? simplestring_addn(&value->id, id, len) : in XMLRPC_SetValueID_Case()
907 for(i = 0; i < value->id.len; i++) { in XMLRPC_SetValueID_Case()
954 (len > 0) ? simplestring_addn(&value->str, val, len) : in XMLRPC_SetValueString()
1339 XMLRPC_SetValueString(value, val, len); in XMLRPC_CreateValueString()
1626 if (xSource->id.len) { in XMLRPC_DupValueNew()
1799 (len > 0) ? simplestring_addn(&value->str, s, len) : in XMLRPC_SetValueBase64()
1832 XMLRPC_SetValueBase64(val, s, len); in XMLRPC_CreateValueBase64()
1941 return ((value) ? value->str.len : 0); in XMLRPC_GetValueStringLen()
2805 if(description.len) { in XMLRPC_UtilityCreateFault()
[all …]
/PHP-7.3/ext/iconv/tests/
H A Deucjp2iso2022jp.phpt13 $len = strlen($str);
14 for ($i = 0; $i < $len; ++$i) {
/PHP-7.3/ext/standard/tests/strings/
H A Dstrcspn_variation6.phpt2 …spn() function : usage variations - with heredoc strings, 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 heredoc string, varying mask and default start and len arguments
84 var_dump( strcspn($str,$mask) ); // with default start and len value
/PHP-7.3/Zend/
H A Dzend_string.c54 ZEND_API zend_ulong ZEND_FASTCALL zend_hash_func(const char *str, size_t len) in zend_hash_func() argument
56 return zend_inline_hash_func(str, len); in zend_hash_func()
346 size_t len = ZSTR_LEN(s1); in zend_string_equal_val() local
372 "+c"(len), in zend_string_equal_val()
382 size_t len = ZSTR_LEN(s1); in I_WRAP_SONAME_FNNAME_ZU() local
400 "+c"(len), in I_WRAP_SONAME_FNNAME_ZU()
414 size_t len = ZSTR_LEN(s1); in zend_string_equal_val() local
440 "+c"(len), in zend_string_equal_val()
450 size_t len = ZSTR_LEN(s1); in I_WRAP_SONAME_FNNAME_ZU() local
468 "+c"(len), in I_WRAP_SONAME_FNNAME_ZU()
/PHP-7.3/ext/intl/idn/
H A Didn.c140 int32_t len; in php_intl_idn_to_46() local
153 len = uidna_nameToASCII_UTF8(uts46, ZSTR_VAL(domain), ZSTR_LEN(domain), in php_intl_idn_to_46()
155 …if (len >= buffer_capac || php_intl_idn_check_status(status, "failed to convert name") == FAILURE)… in php_intl_idn_to_46()
163 len = uidna_nameToUnicodeUTF8(uts46, ZSTR_VAL(domain), ZSTR_LEN(domain), in php_intl_idn_to_46()
165 …if (len >= buffer_capac || php_intl_idn_check_status(status, "failed to convert name") == FAILURE)… in php_intl_idn_to_46()
172 ZSTR_VAL(buffer)[len] = '\0'; in php_intl_idn_to_46()
173 ZSTR_LEN(buffer) = len; in php_intl_idn_to_46()

Completed in 102 milliseconds

12345678910>>...23