Home
last modified time | relevance | path

Searched refs:len (Results 126 – 150 of 484) sorted by relevance

12345678910>>...20

/PHP-5.4/ext/hash/
H A Dphp_hash_crc32.h31 PHP_HASH_API void PHP_CRC32Update(PHP_CRC32_CTX *context, const unsigned char *input, size_t len);
32 PHP_HASH_API void PHP_CRC32BUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len);
H A Dhash_fnv.c151 fnv_32_buf(void *buf, size_t len, php_hash_uint32 hval, int alternate) in fnv_32_buf() argument
154 unsigned char *be = bp + len; /* beyond end of buffer */ in fnv_32_buf()
193 fnv_64_buf(void *buf, size_t len, php_hash_uint64 hval, int alternate) in fnv_64_buf() argument
196 unsigned char *be = bp + len; /* beyond end of buffer */ in fnv_64_buf()
/PHP-5.4/ext/pdo/
H A Dpdo_sql_parser.c429 int len; member
459 int len = s.cur - s.tok; in pdo_parse_params() local
460 if ((inquery < (s.cur - len)) && isalnum(*(s.cur - len - 1))) { in pdo_parse_params()
472 plc->len = s.cur - s.tok; in pdo_parse_params()
526 if (zend_hash_find(params, plc->pos, plc->len, (void**) &param) == FAILURE) { in pdo_parse_params()
551 ret = zend_hash_find(params, plc->pos, plc->len, (void**) &param); in pdo_parse_params()
565 size_t len; in pdo_parse_params() local
568 len = php_stream_copy_to_mem(stm, &buf, PHP_STREAM_COPY_ALL, 0); in pdo_parse_params()
647 ptr = plc->pos + plc->len; in pdo_parse_params()
679 name = estrndup(plc->pos, plc->len); in pdo_parse_params()
[all …]
/PHP-5.4/ext/mbstring/oniguruma/enc/
H A Dutf32_be.c105 int len = 4; in utf32be_mbc_to_normalize() local
108 for (i = 0; i < len; i++) { in utf32be_mbc_to_normalize()
112 (*pp) += len; in utf32be_mbc_to_normalize()
113 return len; /* return byte length of converted char to lower */ in utf32be_mbc_to_normalize()
H A Dutf32_le.c104 int len = 4; in utf32le_mbc_to_normalize() local
107 for (i = 0; i < len; i++) { in utf32le_mbc_to_normalize()
111 (*pp) += len; in utf32le_mbc_to_normalize()
112 return len; /* return byte length of converted char to lower */ in utf32le_mbc_to_normalize()
H A Dutf16_le.c145 int len = EncLen_UTF16[*(p+1)]; in utf16le_mbc_to_normalize() local
148 for (i = 0; i < len; i++) { in utf16le_mbc_to_normalize()
152 (*pp) += len; in utf16le_mbc_to_normalize()
153 return len; /* return byte length of converted char to lower */ in utf16le_mbc_to_normalize()
/PHP-5.4/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-5.4/Zend/tests/
H A Dbug26696.phpt6 $len = strlen($str);
7 for ($i = 0; $i < $len; $i++) {
/PHP-5.4/ext/xmlrpc/libxmlrpc/
H A Dxmlrpc.c807 xml_elem_parse_buf (in_buf, len, in XMLRPC_REQUEST_FromXML()
900 (len > 0) ? simplestring_addn(&value->id, id, len) : in XMLRPC_SetValueID_Case()
906 for(i = 0; i < value->id.len; i++) { in XMLRPC_SetValueID_Case()
953 (len > 0) ? simplestring_addn(&value->str, val, len) : in XMLRPC_SetValueString()
1338 XMLRPC_SetValueString(value, val, len); in XMLRPC_CreateValueString()
1625 if (xSource->id.len) { in XMLRPC_DupValueNew()
1798 (len > 0) ? simplestring_addn(&value->str, s, len) : in XMLRPC_SetValueBase64()
1831 XMLRPC_SetValueBase64(val, s, len); in XMLRPC_CreateValueBase64()
1940 return ((value) ? value->str.len : 0); in XMLRPC_GetValueStringLen()
2806 if(description.len) { in XMLRPC_UtilityCreateFault()
[all …]
/PHP-5.4/main/
H A DSAPI.c319 content_type = (char*)emalloc(*len + 1); in get_default_content_type()
327 *len = prefix_len + mimetype_len; in get_default_content_type()
328 content_type = (char*)emalloc(*len + 1); in get_default_content_type()
337 uint len; in sapi_get_default_content_type() local
339 return get_default_content_type(0, &len TSRMLS_CC); in sapi_get_default_content_type()
345 uint len; in sapi_get_default_content_type_header() local
348 default_header->header_len = len; in sapi_get_default_content_type_header()
609 if (header->header_len > len && header->header[len] == ':' in sapi_remove_header()
610 && !strncasecmp(header->header, name, len)) { in sapi_remove_header()
784 len--; in sapi_header_op()
[all …]
/PHP-5.4/ext/standard/tests/strings/
H A Dstrncasecmp_variation5.phpt2 Test strncasecmp() function : usage variations - unexpected values for 'len'
5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
12 echo "*** Test strncasecmp() function: unexpected values for 'len' ***\n";
86 $len = $lengths[$index];
88 var_dump( strncasecmp($str1, $str2, $len) );
96 *** Test strncasecmp() function: unexpected values for 'len' ***
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
H A Dstrcspn_variation10.phpt2 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 Dstrspn_variation10.phpt2 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 Dstrcspn_error.phpt5 /* 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)
27 $len = 20;
31 var_dump( strcspn($str,$mask,$start,$len, $extra_arg) );
H A Dstrspn_error.phpt5 /* 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)
27 $len = 20;
31 var_dump( strspn($str,$mask,$start,$len, $extra_arg) );
/PHP-5.4/tests/lang/
H A Dbug26696.phpt7 $len = strlen($str);
8 for ($i = 0; $i < $len; $i++) {
/PHP-5.4/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-5.4/ext/standard/
H A Dfile.c521 long len; in PHP_FUNCTION() local
555 len = INT_MAX; in PHP_FUNCTION()
624 size_t len; in PHP_FUNCTION() local
1082 size_t len = 0; in PHP_FUNCTION() local
1128 size_t len; in PHP_FUNCTION() local
1744 long len; in PHP_FUNCTION() local
1753 if (len <= 0) { in PHP_FUNCTION()
1936 long len = 0; in PHP_FUNCTION() local
2001 len = -1; in PHP_FUNCTION()
2004 len = -1; in PHP_FUNCTION()
[all …]
H A Dstring.c302 len = len1; in php_spn_common_handler()
316 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()
817 len--; in php_trim()
1385 e = c+len; in php_strtolower()
1421 cnt = len;
3339 l = *len;
3350 (*len)--;
5009 len--;
[all …]
H A Durl.c67 unsigned char *e = (unsigned char *)str + len; in php_replace_controlchars_ex()
495 end = (unsigned char *)s + len; in php_url_encode()
496 start = to = (unsigned char *) safe_emalloc(3, len, 1); in php_url_encode()
570 PHPAPI int php_url_decode(char *str, int len) in php_url_decode() argument
575 while (len--) { in php_url_decode()
587 len -= 2; in php_url_decode()
606 str = (unsigned char *) safe_emalloc(3, len, 1);
607 for (x = 0, y = 0; len--; x++, y++) {
671 PHPAPI int php_raw_url_decode(char *str, int len) argument
676 while (len--) {
[all …]
H A Dvar_unserializer.c206 for (i = 0; i < *len; i++) { in unserialize_str()
234 *len = i; in unserialize_str()
656 if (maxlen < len || len == 0) { in php_var_unserialize()
663 YYCURSOR += len; in php_var_unserialize()
675 if (len3 != len) in php_var_unserialize()
878 size_t len, maxlen; in php_var_unserialize() local
881 len = parse_uiv(start + 2); in php_var_unserialize()
883 if (maxlen < len) { in php_var_unserialize()
928 size_t len, maxlen; in php_var_unserialize() local
933 if (maxlen < len) { in php_var_unserialize()
[all …]
/PHP-5.4/ext/intl/idn/
H A Didn.c141 int32_t len; in php_intl_idn_to_46() local
155 len = uidna_nameToASCII_UTF8(uts46, domain, (int32_t)domain_len, in php_intl_idn_to_46()
158 len = uidna_nameToUnicodeUTF8(uts46, domain, (int32_t)domain_len, in php_intl_idn_to_46()
167 if (len >= 255) { in php_intl_idn_to_46()
171 buffer[len] = '\0'; in php_intl_idn_to_46()
174 RETVAL_STRINGL(buffer, len, 0); in php_intl_idn_to_46()
187 ZVAL_STRINGL(zv, buffer, len, 0); in php_intl_idn_to_46()
/PHP-5.4/ext/xml/
H A Dxml.c394 int len = strlen(str); in _xml_string_zval() local
412 if (len == 0) { in _xml_xmlchar_zval()
612 int pos = len; in xml_utf8_encode()
630 *newlen = len; in xml_utf8_encode()
681 *newlen = len; in xml_utf8_decode()
697 if (*newlen < len) { in xml_utf8_decode()
708 int len = 0; in _xml_xmlcharlen() local
711 len++; in _xml_xmlcharlen()
714 return len; in _xml_xmlcharlen()
1696 int arg_len, len; in PHP_FUNCTION() local
[all …]
/PHP-5.4/ext/iconv/tests/
H A Deucjp2iso2022jp.phpt13 $len = strlen($str);
14 for ($i = 0; $i < $len; ++$i) {

Completed in 165 milliseconds

12345678910>>...20