Home
last modified time | relevance | path

Searched refs:len (Results 101 – 125 of 496) sorted by path

12345678910>>...20

/PHP-5.5/ext/hash/
H A Dphp_hash_joaat.h32 static php_hash_uint32 joaat_buf(void *buf, size_t len, php_hash_uint32 hval);
H A Dphp_hash_tiger.h35 PHP_HASH_API void PHP_TIGERUpdate(PHP_TIGER_CTX *context, const unsigned char *input, size_t len);
/PHP-5.5/ext/hash/tests/
H A Dmhash_002.phpt37 foreach ($supported_hash_al as $name => $len) {
39 $len = mhash_get_block_size($known_hash_al[$name]);
40 echo "$name = $len\n";
42 echo "$name ? $len\n";
/PHP-5.5/ext/iconv/
H A Diconv.c356 int len; in php_iconv_output_handler() local
399 out_p = (d)->c + (d)->len; in _php_iconv_appendl()
425 (d)->len += (buf_growth - out_left); in _php_iconv_appendl()
436 out_p = (d)->c + (d)->len; in _php_iconv_appendl()
778 if (len < 0) { in _php_iconv_substr()
790 if(len > total_len) { in _php_iconv_substr()
791 len = total_len; in _php_iconv_substr()
799 if ((offset + len) > total_len ) { in _php_iconv_substr()
801 len = total_len - offset; in _php_iconv_substr()
804 if (len == 0) { in _php_iconv_substr()
[all …]
/PHP-5.5/ext/iconv/tests/
H A Deucjp2iso2022jp.phpt13 $len = strlen($str);
14 for ($i = 0; $i < $len; ++$i) {
H A Diconv_substr.phpt10 $len = strlen($str);
11 for ($i = 0; $i < $len; ++$i) {
17 function foo($str, $offset, $len, $charset) {
18 hexdump(substr($str, $offset, $len));
19 hexdump(iconv_substr($str, $offset, $len, $charset));
22 function bar($str, $offset, $len = false) {
23 if (is_bool($len)) {
27 var_dump(substr($str, $offset, $len));
28 var_dump(iconv_substr($str, $offset, $len));
/PHP-5.5/ext/imap/
H A Dphp_imap.c2334 unsigned long len; in PHP_FUNCTION() local
2359 RETVAL_STRINGL(body, len, 1); in PHP_FUNCTION()
2374 unsigned long len; in PHP_FUNCTION() local
2393 body = mail_fetch_mime(imap_le_struct->imap_stream, msgno, sec, &len, (argc == 4 ? flags : NIL)); in PHP_FUNCTION()
2399 RETVAL_STRINGL(body, len, 1); in PHP_FUNCTION()
4316 int len = strlen(string); in _php_rfc822_soutr() local
4318 smart_str_appendl(ret, string, len); in _php_rfc822_soutr()
4350 int len; in _php_rfc822_len() local
4360 len = strlen(str) + 2; in _php_rfc822_len()
4367 len++; in _php_rfc822_len()
[all …]
/PHP-5.5/ext/interbase/
H A Dibase_query.c1015 i += len+3; in _php_ibase_exec()
1282 short len = (short)isc_vax_integer(&result[i+1],2); in PHP_FUNCTION() local
1284 RETURN_LONG(isc_vax_integer(&result[i+3],len)); in PHP_FUNCTION()
1286 i += len+3; in PHP_FUNCTION()
1322 len = ((IBVARY *) data)->vary_length; in _php_ibase_var_zval()
1326 ZVAL_STRINGL(val,(char *) data,len,1); in _php_ibase_var_zval()
1914 unsigned short len; in _php_ibase_field_info() local
1928 len = slprintf(buf, 16, "%d", var->sqllen); in _php_ibase_field_info()
1929 add_index_stringl(return_value, 3, buf, len, 1); in _php_ibase_field_info()
1948 add_index_stringl(return_value, 4, s, len, 1); in _php_ibase_field_info()
[all …]
H A Dibase_service.c340 int len; in _php_ibase_service_query() local
353 len = isc_vax_integer(result,2); in _php_ibase_service_query()
355 result += len+2; in _php_ibase_service_query()
367 int len; in _php_ibase_service_query() local
375 len = isc_vax_integer(result,2); in _php_ibase_service_query()
377 result += len+2; in _php_ibase_service_query()
381 len = isc_vax_integer(result,2); in _php_ibase_service_query()
383 result += len+2; in _php_ibase_service_query()
387 len = isc_vax_integer(result,2); in _php_ibase_service_query()
389 result += len+2; in _php_ibase_service_query()
[all …]
H A Dinterbase.c129 ZEND_ARG_INFO(0, len)
868 if (dpb_args[i] && args[i] && len[i] && buf_len > 0) { in _php_ibase_attach_db()
896 int i, len[] = { 0, 0, 0, 0, 0 }; in _php_ibase_connect() local
906 &args[DB], &len[DB], &args[USER], &len[USER], &args[PASS], &len[PASS], in _php_ibase_connect()
907 &args[CSET], &len[CSET], &largs[BUF], &largs[DLECT], &args[ROLE], &len[ROLE], in _php_ibase_connect()
915 len[DB] = strlen(c); in _php_ibase_connect()
917 if (!len[USER] && (c = INI_STR("ibase.default_user"))) { in _php_ibase_connect()
919 len[USER] = strlen(c); in _php_ibase_connect()
923 len[PASS] = strlen(c); in _php_ibase_connect()
927 len[CSET] = strlen(c); in _php_ibase_connect()
[all …]
/PHP-5.5/ext/interbase/tests/
H A Dinterbase.inc80 $len = rand() % $max_len;
82 while($len--) {
90 $len = rand() % $max_len;
92 while ($len--) {
98 function rand_number($len , $prec = -1, $sign = 1)
101 $n = substr(rand() . rand(), 0, rand() % $len + 1);
102 if (strlen($n) < $len) {
103 $n .= "." . substr(rand(), 0, rand() % ($len - strlen($n)) + 1);
106 $n = substr(rand() . rand(), 0, rand() % $len + 1);
107 } else if (($prec - $len) == 0) {
[all …]
/PHP-5.5/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp177 len; in _breakiterator_parts_move_forward() local
184 len = next - cur; in _breakiterator_parts_move_forward()
185 res = static_cast<char*>(emalloc(len + 1)); in _breakiterator_parts_move_forward()
187 memcpy(res, &s[cur], len); in _breakiterator_parts_move_forward()
188 res[len] = '\0'; in _breakiterator_parts_move_forward()
191 ZVAL_STRINGL(zoi_bit->zoi_cur.current, res, len, 0); in _breakiterator_parts_move_forward()
/PHP-5.5/ext/intl/formatter/
H A Dformatter_attr.c214 int len; in PHP_FUNCTION() local
219 &object, NumberFormatter_ce_ptr, &attribute, &value, &len ) == FAILURE) in PHP_FUNCTION()
231 intl_convert_utf8_to_utf16(&svalue, &slength, value, len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
/PHP-5.5/ext/intl/grapheme/
H A Dgrapheme_util.c220 int grapheme_ascii_check(const unsigned char *day, int32_t len) in grapheme_ascii_check() argument
222 int ret_len = len; in grapheme_ascii_check()
223 while ( len-- ) { in grapheme_ascii_check()
H A Dgrapheme_util.h32 int grapheme_ascii_check(const unsigned char *day, int32_t len);
/PHP-5.5/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.5/ext/intl/
H A Dintl_common.h27 # define UBYTES(len) ((len) * sizeof(UChar)) argument
39 #define UCHARS(len) ((len) / sizeof(UChar)) argument
/PHP-5.5/ext/intl/locale/
H A Dlocale_methods.c182 int len = 0; in getSingletonPos() local
185 for( i=0; i<len ; i++){ in getSingletonPos()
227 int len=0; in PHP_NAMED_FUNCTION() local
230 &locale_name ,&len ) == FAILURE) in PHP_NAMED_FUNCTION()
238 if(len == 0) { in PHP_NAMED_FUNCTION()
240 len = strlen(locale_name); in PHP_NAMED_FUNCTION()
989 int len =0; in get_private_subtags() local
994 len = strlen(mod_loc_name); in get_private_subtags()
1016 len = strlen(mod_loc_name); in get_private_subtags()
1584 int len; in PHP_FUNCTION() local
[all …]
/PHP-5.5/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp420 int32_t len = u_sprintf(temp, "%u", (uint32_t)num_index); in umsg_format_helper() local
421 key.append(temp, len); in umsg_format_helper()
/PHP-5.5/ext/intl/resourcebundle/
H A Dresourcebundle_class.c287 int32_t len; in ZEND_END_ARG_INFO() local
298 len = ures_getSize( rb->me ); in ZEND_END_ARG_INFO()
299 RETURN_LONG( len ); in ZEND_END_ARG_INFO()
/PHP-5.5/ext/intl/tests/
H A Dregression_sort_eq.phpt2 Regression: sort() eq but different len.
H A Dregression_sortwsk_eq.phpt2 Regression: sort_wsk() eq but different len.
/PHP-5.5/ext/json/
H A DJSON_parser.c303 buf->len--; in json_create_zval()
323 buf->len++; in json_create_zval()
377 buf->len -= 3; in utf16_to_utf8()
406 …add_property_zval_ex(root, (key->len ? key->c : "_empty_"), (key->len ? (key->len + 1) : sizeof("_… in attach_zval()
411 …add_assoc_zval_ex(root, (key->len ? key->c : ""), (key->len ? (key->len + 1) : sizeof("")), child); in attach_zval()
413 key->len = 0; in attach_zval()
426 to.len = from.len; \
427 from.len = 0; \
556 …add_assoc_zval_ex(jp->the_zstack[jp->top], (key.len ? key.c : ""), (key.len ? (key.len + 1) : size… in parse_JSON_ex()
701 …add_assoc_zval_ex(jp->the_zstack[jp->top], (key.len ? key.c : ""), (key.len ? (key.len + 1) : size… in parse_JSON_ex()
[all …]
H A Djson.c370 for (j=0 ; pos < len ; j++) { in json_utf8_to_utf16()
386 for (j=0 ; pos < len ; j++) { in json_utf8_to_utf16()
408 if (len == 0) { in json_escape_string()
418 if ((type = is_numeric_string(s, len, &p, &d, 0)) != 0) { in json_escape_string()
434 ulen = json_utf8_to_utf16(utf16, s, len); in json_escape_string()
448 len = ulen; in json_escape_string()
452 smart_str_alloc(buf, len+2, 0); in json_escape_string()
455 while (pos < len) in json_escape_string()
624 int len; in php_json_encode() local
629 smart_str_appendl(buf, d, len); in php_json_encode()
[all …]
/PHP-5.5/ext/ldap/
H A Dldap.c520 interact->len = strlen(interact->result); in _php_sasl_interact()

Completed in 89 milliseconds

12345678910>>...20