Home
last modified time | relevance | path

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

12345678910>>...22

/PHP-5.6/ext/standard/
H A Dhtml.c380 int len = 0; in determine_charset() local
400 len = 0; in determine_charset()
435 len = at - dot; in determine_charset()
437 len = strlen(dot); in determine_charset()
1280 len = 0; in php_escape_html_entities_ex()
1341 len += rep_len; in php_escape_html_entities_ex()
1377 len += mbseqlen; in php_escape_html_entities_ex()
1430 len += ent_len; in php_escape_html_entities_ex()
1436 replaced[len] = '\0'; in php_escape_html_entities_ex()
1437 *newlen = len; in php_escape_html_entities_ex()
[all …]
H A Dcrc32.c30 int len, nr; in PHP_NAMED_FUNCTION() local
39 for (len =+nr; nr--; ++p) { in PHP_NAMED_FUNCTION()
H A Dcrypt_sha512.c134 size_t nwords = len / sizeof(uint64_t); in sha512_process_block()
147 ctx->total[0] += len; in sha512_process_block()
148 if (ctx->total[0] < len) { in sha512_process_block()
288 size_t add = (size_t)(256 - left_over > len ? len : 256 - left_over); in sha512_process_bytes()
303 len -= add; in sha512_process_bytes()
307 if (len >= 128) { in sha512_process_bytes()
317 while (len > 128) { in sha512_process_bytes()
320 len -= 128; in sha512_process_bytes()
327 len &= 127; in sha512_process_bytes()
332 if (len > 0) { in sha512_process_bytes()
[all …]
H A Diptc.c314 int inx = 0, len; in PHP_FUNCTION() local
350 len = (((long) buffer[ inx + 2 ]) << 24) + (((long) buffer[ inx + 3 ]) << 16) + in PHP_FUNCTION()
354 len = (((unsigned short) buffer[ inx ])<<8) | (unsigned short)buffer[ inx+1 ]; in PHP_FUNCTION()
358 if ((len < 0) || (len > str_len) || (inx + len) > str_len) { in PHP_FUNCTION()
375 add_next_index_stringl(*element, buffer+inx, len, 1); in PHP_FUNCTION()
376 inx += len; in PHP_FUNCTION()
H A Durl.c67 unsigned char *e = (unsigned char *)str + len; in php_replace_controlchars_ex()
452 end = (unsigned char *)s + len; in php_url_encode()
453 start = to = (unsigned char *) safe_emalloc(3, len, 1); in php_url_encode()
534 PHPAPI int php_url_decode(char *str, int len) in php_url_decode() argument
539 while (len--) { in php_url_decode()
551 len -= 2; in php_url_decode()
570 str = (unsigned char *) safe_emalloc(3, len, 1);
571 for (x = 0, y = 0; len--; x++, y++) {
639 PHPAPI int php_raw_url_decode(char *str, int len) argument
644 while (len--) {
[all …]
H A Dstring.c306 len = len1; in php_spn_common_handler()
320 if (len < 0) { in php_spn_common_handler()
323 len = 0; in php_spn_common_handler()
331 if(len == 0) { in php_spn_common_handler()
821 len--; in php_trim()
1399 e = c+len; in php_strtolower()
1435 cnt = len;
3315 l = *len;
3326 (*len)--;
4999 len--;
[all …]
/PHP-5.6/ext/pgsql/tests/
H A D11pg_meta_data.phpt25 ["len"]=>
42 ["len"]=>
59 ["len"]=>
/PHP-5.6/sapi/phpdbg/
H A Dphpdbg_parser.c1497 (yyval).file.name = malloc((yyvsp[(1) - (4)]).len + (yyvsp[(2) - (4)]).len + 1);
1500 …memcpy(&(yyval).file.name[(yyvsp[(1) - (4)]).len], (yyvsp[(2) - (4)]).str, (yyvsp[(2) - (4)]).len);
1501 (yyval).file.name[(yyvsp[(1) - (4)]).len + (yyvsp[(2) - (4)]).len] = '\0';
1512 (yyval).file.name = malloc((yyvsp[(1) - (5)]).len + (yyvsp[(2) - (5)]).len + 1);
1516 (yyval).file.name[(yyvsp[(1) - (5)]).len + (yyvsp[(2) - (5)]).len] = '\0';
1549 (yyval).len = (yyvsp[(1) - (3)]).len;
1560 (yyval).len = (yyvsp[(2) - (2)]).len;
1612 (yyval).len = (yyvsp[(2) - (2)]).len;
1622 (yyval).len = (yyvsp[(2) - (2)]).len;
1631 (yyval).len = 0;
[all …]
/PHP-5.6/sapi/milter/
H A Dphp_milter.c440 ZVAL_STRINGL(param[0], (char*)bodyp, len, 1); /*alex*/ in mlfi_body()
613 int len; in PHP_FUNCTION() local
634 int len; in PHP_FUNCTION() local
639 …} else if (zend_parse_parameters(3 TSRMLS_CC, "sss", &rcode, &len, &xcode, &len, &message, &len) =… in PHP_FUNCTION()
654 int len; in PHP_FUNCTION() local
659 } else if (zend_parse_parameters(2 TSRMLS_CC, "ss", &f, &len, &v, &len) == SUCCESS) { in PHP_FUNCTION()
675 int len; in PHP_FUNCTION() local
680 } else if (zend_parse_parameters(3 TSRMLS_CC, "sls", &f, &len, &idx, &v, &len) == SUCCESS) { in PHP_FUNCTION()
695 int len; in PHP_FUNCTION() local
715 int len; in PHP_FUNCTION() local
[all …]
/PHP-5.6/ext/phar/
H A Dstub.h21 static inline void phar_get_stub(const char *index_php, const char *web, size_t *len, char **stub, … in phar_get_stub() argument
33 …*len = spprintf(stub, name_len + web_len + newstub_len, "%s%s%s%s%s%s%d%s%s%s", newstub0, web, new… in phar_get_stub()
/PHP-5.6/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.6/Zend/tests/
H A Dbug26696.phpt6 $len = strlen($str);
7 for ($i = 0; $i < $len; $i++) {
/PHP-5.6/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.6/ext/pdo/
H A Dpdo_sql_parser.c385 int len; member
415 int len = s.cur - s.tok; in pdo_parse_params() local
416 if ((inquery < (s.cur - len)) && isalnum(*(s.cur - len - 1))) { in pdo_parse_params()
428 plc->len = s.cur - s.tok; in pdo_parse_params()
482 if (zend_hash_find(params, plc->pos, plc->len, (void**) &param) == FAILURE) { in pdo_parse_params()
507 ret = zend_hash_find(params, plc->pos, plc->len, (void**) &param); in pdo_parse_params()
521 size_t len; in pdo_parse_params() local
524 len = php_stream_copy_to_mem(stm, &buf, PHP_STREAM_COPY_ALL, 0); in pdo_parse_params()
603 ptr = plc->pos + plc->len; in pdo_parse_params()
635 name = estrndup(plc->pos, plc->len); in pdo_parse_params()
[all …]
/PHP-5.6/sapi/litespeed/
H A Dlsapi_main.c468 int len; in sapi_lsapi_send_headers() local
501 ++len; in sapi_lsapi_log_message()
655 int len; in lsapi_execute_script() local
665 if ( len > 45 ) in lsapi_execute_script()
666 len = len - 45; in lsapi_execute_script()
668 len = 0; in lsapi_execute_script()
775 --len; in pathlen_without_trailing_slash()
777 return len; in pathlen_without_trailing_slash()
1691 int len; in PHP_FUNCTION() local
1710 while( len > 0 && (isspace( headerBuf[len-1])) ) { in PHP_FUNCTION()
[all …]
/PHP-5.6/ext/xmlrpc/libxmlrpc/
H A Dxmlrpc.c811 xml_elem_parse_buf (in_buf, len, in XMLRPC_REQUEST_FromXML()
904 (len > 0) ? simplestring_addn(&value->id, id, len) : in XMLRPC_SetValueID_Case()
910 for(i = 0; i < value->id.len; i++) { in XMLRPC_SetValueID_Case()
957 (len > 0) ? simplestring_addn(&value->str, val, len) : in XMLRPC_SetValueString()
1342 XMLRPC_SetValueString(value, val, len); in XMLRPC_CreateValueString()
1629 if (xSource->id.len) { in XMLRPC_DupValueNew()
1802 (len > 0) ? simplestring_addn(&value->str, s, len) : in XMLRPC_SetValueBase64()
1835 XMLRPC_SetValueBase64(val, s, len); in XMLRPC_CreateValueBase64()
1944 return ((value) ? value->str.len : 0); in XMLRPC_GetValueStringLen()
2810 if(description.len) { in XMLRPC_UtilityCreateFault()
[all …]
/PHP-5.6/tests/lang/
H A Dbug26696.phpt7 $len = strlen($str);
8 for ($i = 0; $i < $len; $i++) {
/PHP-5.6/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
/PHP-5.6/Zend/
H A Dzend_constants.h46 … REGISTER_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name), sizeof(n… argument
53 …STANT(ns, name, str, len, flags) zend_register_stringl_constant(ZEND_NS_NAME(ns, name), sizeof(ZE… argument
60 …STER_MAIN_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name), sizeof(n… argument
/PHP-5.6/main/
H A DSAPI.c340 content_type = (char*)emalloc(*len + 1); in get_default_content_type()
348 *len = prefix_len + mimetype_len; in get_default_content_type()
349 content_type = (char*)emalloc(*len + 1); in get_default_content_type()
358 uint len; in sapi_get_default_content_type() local
360 return get_default_content_type(0, &len TSRMLS_CC); in sapi_get_default_content_type()
366 uint len; in sapi_get_default_content_type_header() local
369 default_header->header_len = len; in sapi_get_default_content_type_header()
618 if (header->header_len > len && header->header[len] == ':' in sapi_remove_header()
619 && !strncasecmp(header->header, name, len)) { in sapi_remove_header()
793 len--; in sapi_header_op()
[all …]
/PHP-5.6/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.6/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()
161 if (len >= 255 || php_intl_idn_check_status(status, "failed to convert name", in php_intl_idn_to_46()
168 buffer[len] = '\0'; in php_intl_idn_to_46()
171 RETVAL_STRINGL(buffer, len, 0); in php_intl_idn_to_46()
184 ZVAL_STRINGL(zv, buffer, len, 0); in php_intl_idn_to_46()
/PHP-5.6/ext/iconv/tests/
H A Deucjp2iso2022jp.phpt13 $len = strlen($str);
14 for ($i = 0; $i < $len; ++$i) {

Completed in 155 milliseconds

12345678910>>...22