/PHP-7.1/ext/xmlrpc/libxmlrpc/ |
H A D | xmlrpc.c | 811 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 D | phpdbg_eol.c | 86 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 D | hash_fnv.c | 151 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 D | DOMNode_removeChild_basic.phpt | 41 $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 D | zip_source_pkware.c | 98 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 D | zip_utf-8.c | 218 _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 D | zip_io_util.c | 109 _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 D | strcspn_variation6.phpt | 2 …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 D | strcspn_error.phpt | 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) 27 $len = 20; 31 var_dump( strcspn($str,$mask,$start,$len, $extra_arg) );
|
H A D | strspn_error.phpt | 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) 27 $len = 20; 31 var_dump( strspn($str,$mask,$start,$len, $extra_arg) );
|
H A D | strcspn_variation10.phpt | 2 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 D | strncasecmp_variation5.phpt | 2 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 D | strspn_variation10.phpt | 2 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 D | strspn_variation6.phpt | 2 …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 D | eucjp2iso2022jp.phpt | 13 $len = strlen($str); 14 for ($i = 0; $i < $len; ++$i) {
|
/PHP-7.1/ext/standard/ |
H A D | iptc.c | 317 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 D | url.c | 67 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 D | lob_008.phpt | 38 $len = 0; 40 $len += strlen($row[0]->read(1024)); 42 var_dump($len);
|
/PHP-7.1/ext/bcmath/libbcmath/src/ |
H A D | output.c | 71 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 D | rfc1867.c | 597 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 D | bug60761.phpt | 28 $len = strlen($html); 30 $lens[$len] = $len;
|
/PHP-7.1/ext/intl/idn/ |
H A D | idn.c | 141 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 D | fgets_error.phpt | 22 $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 D | fgetss_error.phpt | 22 $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 D | readline_cli.c | 221 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 …]
|