Home
last modified time | relevance | path

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

12345678910>>...22

/PHP-7.1/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-7.1/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.1/ext/hash/
H A Dhash_fnv.c151 fnv_32_buf(void *buf, size_t len, uint32_t 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, uint64_t hval, int alternate) in fnv_64_buf() argument
196 unsigned char *be = bp + len; /* beyond end of buffer */ in fnv_64_buf()
/PHP-7.1/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.1/ext/zip/lib/
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()
H A Dzip_io_util.c109 _zip_read_string(zip_buffer_t *buffer, zip_source_t *src, zip_uint16_t len, bool nulp, zip_error_t … in _zip_read_string() argument
114 if ((raw=_zip_read_data(buffer, src, len, nulp, error)) == NULL) in _zip_read_string()
117 s = _zip_string_new(raw, len, ZIP_FL_ENC_GUESS, error); in _zip_read_string()
/PHP-7.1/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
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) );
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 Dstrncasecmp_variation5.phpt2 Test strncasecmp() function : usage variations - unexpected values for 'len'
7 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
14 echo "*** Test strncasecmp() function: unexpected values for 'len' ***\n";
88 $len = $lengths[$index];
90 var_dump( strncasecmp($str1, $str2, $len) );
98 *** Test strncasecmp() function: unexpected values for 'len' ***
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 Dstrspn_variation6.phpt2 …spn() function : usage variations - with heredoc strings, 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 heredoc string, varying mask and default start and len arguments
86 var_dump( strspn($str,$mask) ); // with default start and len value
/PHP-7.1/ext/iconv/tests/
H A Deucjp2iso2022jp.phpt13 $len = strlen($str);
14 for ($i = 0; $i < $len; ++$i) {
/PHP-7.1/ext/standard/
H A Diptc.c317 size_t inx = 0, len; in PHP_FUNCTION() local
353 len = (((zend_long) buffer[ inx + 2 ]) << 24) + (((zend_long) buffer[ inx + 3 ]) << 16) + in PHP_FUNCTION()
357 len = (((unsigned short) buffer[ inx ])<<8) | (unsigned short)buffer[ inx+1 ]; in PHP_FUNCTION()
361 if ((len > str_len) || (inx + len) > str_len) { in PHP_FUNCTION()
377 add_next_index_stringl(element, (char *) buffer+inx, len); in PHP_FUNCTION()
378 inx += len; in PHP_FUNCTION()
H A Durl.c67 unsigned char *e = (unsigned char *)str + len; in php_replace_controlchars_ex()
458 end = (unsigned char *)s + len; in php_url_encode()
459 start = zend_string_safe_alloc(3, len, 0, 0); in php_url_encode()
529 PHPAPI size_t php_url_decode(char *str, size_t len) in php_url_decode() argument
534 while (len--) { in php_url_decode()
546 len -= 2; in php_url_decode()
565 str = zend_string_safe_alloc(3, len, 0, 0);
566 for (x = 0, y = 0; len--; x++, y++) {
624 PHPAPI size_t php_raw_url_decode(char *str, size_t len) argument
629 while (len--) {
[all …]
/PHP-7.1/ext/oci8/tests/
H A Dlob_008.phpt38 $len = 0;
40 $len += strlen($row[0]->read(1024));
42 var_dump($len);
/PHP-7.1/ext/bcmath/libbcmath/src/
H A Doutput.c71 int len, ix; local
75 len = strlen (digits);
76 while (size > len)
81 for (ix=0; ix < len; ix++)
/PHP-7.1/main/
H A Drfc1867.c597 int len = haystacklen; in php_ap_memstr() local
607 if (memcmp(needle, ptr, needlen < len ? needlen : len) == 0 && (partial || len >= needlen)) { in php_ap_memstr()
612 ptr++; len--; in php_ap_memstr()
621 size_t len, max; in multipart_buffer_read() local
643 if (len > 0) { in multipart_buffer_read()
647 buf[len] = 0; in multipart_buffer_read()
649 if (bound && len > 0 && buf[len-1] == '\r') { in multipart_buffer_read()
650 buf[--len] = 0; in multipart_buffer_read()
655 self->buf_begin += len; in multipart_buffer_read()
658 return (int)len; in multipart_buffer_read()
[all …]
/PHP-7.1/ext/zlib/tests/
H A Dbug60761.phpt28 $len = strlen($html);
30 $lens[$len] = $len;
/PHP-7.1/ext/intl/idn/
H A Didn.c141 int32_t len; in php_intl_idn_to_46() local
155 len = uidna_nameToASCII_UTF8(uts46, domain, domain_len, in php_intl_idn_to_46()
158 len = uidna_nameToUnicodeUTF8(uts46, domain, 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 ZSTR_VAL(buffer)[len] = '\0'; in php_intl_idn_to_46()
169 ZSTR_LEN(buffer) = len; in php_intl_idn_to_46()
/PHP-7.1/ext/standard/tests/file/
H A Dfgets_error.phpt22 $len = 0;
23 var_dump( fgets($fp, $len) );
24 $len = -10;
25 var_dump( fgets($fp, $len) );
26 $len = 1;
27 var_dump( fgets($fp, $len) ); // return length - 1 always, expect false
H A Dfgetss_error.phpt22 $len = 0;
24 var_dump( fgetss($fp, $len, $allowable_tags) );
25 $len = -10;
26 var_dump( fgetss($fp, $len, $allowable_tags) );
27 $len = 1;
28 var_dump( fgetss($fp, $len, $allowable_tags) ); // return length - 1 always, expect false
/PHP-7.1/ext/readline/
H A Dreadline_cli.c221 for (i = 0; i < len; ++i) { in cli_is_valid_code()
287 if (i + 2 < len && code[i+1] == '<' && code[i+2] == '<') { in cli_is_valid_code()
566 int len = class_name_len + 2 + strlen(retval) + 1; in cli_completion_generator() local
567 char *tmp = malloc(len); in cli_completion_generator()
569 snprintf(tmp, len, "%s::%s", ZSTR_VAL(ce->name), retval); in cli_completion_generator()
587 size_t size = 4096, pos = 0, len; in readline_shell_run() local
630 len = strlen(line); in readline_shell_run()
650 if (pos + len + 2 > size) { in readline_shell_run()
651 size = pos + len + 2; in readline_shell_run()
654 memcpy(&code[pos], line, len); in readline_shell_run()
[all …]

Completed in 121 milliseconds

12345678910>>...22