Home
last modified time | relevance | path

Searched refs:length (Results 51 – 75 of 678) sorted by relevance

12345678910>>...28

/PHP-7.1/ext/zip/lib/
H A Dzip_source_file.c51 zip_source_file_create(const char *fname, zip_uint64_t start, zip_int64_t length, zip_error_t *erro… in zip_source_file_create() argument
53 if (fname == NULL || length < -1) { in zip_source_file_create()
58 return _zip_source_file_or_p(fname, NULL, start, length, NULL, error); in zip_source_file_create()
H A Dzip_source_call.c39 _zip_source_call(zip_source_t *src, void *data, zip_uint64_t length, zip_source_cmd_t command) in _zip_source_call() argument
49 ret = src->cb.f(src->ud, data, length, command); in _zip_source_call()
52 ret = src->cb.l(src->src, src->ud, data, length, command); in _zip_source_call()
H A Dzip_source_win32utf8.c52 zip_source_file_create(const char *fname, zip_uint64_t start, zip_int64_t length, zip_error_t *erro… in zip_source_file_create() argument
58 if (fname == NULL || length < -1) { in zip_source_file_create()
75 source = zip_source_win32w_create(wfname, start, length, error); in zip_source_file_create()
/PHP-7.1/ext/standard/tests/strings/
H A Dsubstr_count_error.phpt21 /* Using offset and length to go beyond the size of the string:
22 Warning message expected, as length+offset > length of string */
28 /* length too small */
49 Warning: substr_count(): Invalid length value in %s on line %d
55 Warning: substr_count(): Invalid length value in %s on line %d
/PHP-7.1/ext/intl/collator/
H A Dcollator_is_numeric.c73 size_t length = u - nstart; in collator_u_strtod() local
76 if (length < sizeof(buf)) { in collator_u_strtod()
79 numbuf = (char *) do_alloca(length + 1, use_heap); in collator_u_strtod()
214 zend_uchar collator_is_numeric( UChar *str, int32_t length, zend_long *lval, double *dval, int allo… in collator_is_numeric() argument
221 if (!length) { in collator_is_numeric()
226 if (length>=2 && str[0]=='0' && (str[1]=='x' || str[1]=='X')) { in collator_is_numeric()
233 if (end_ptr_long == str+length) { /* integer string */ in collator_is_numeric()
254 if (end_ptr_double == str+length) { /* floating point string */ in collator_is_numeric()
/PHP-7.1/ext/dom/tests/
H A Ddom007.phpt46 $length = $nots->length;
47 echo "Length: ".$length."\n";
53 for($x=0; $x < $length; $x++) {
64 $length = $ents->length;
65 echo "Length: ".$length."\n";
78 for($x=0; $x < $length; $x++) {
/PHP-7.1/ext/xmlrpc/libxmlrpc/
H A Dbase64.h15 int length; member
24 void base64_encode_xmlrpc(struct buffer_st *b, const char *source, int length);
25 void base64_decode_xmlrpc(struct buffer_st *b, const char *source, int length);
/PHP-7.1/ext/standard/tests/array/
H A Darray_slice_basic.phpt5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
6 * Description: Returns elements specified by offset and length
19 $length = 2;
24 var_dump( array_slice($input, $offset, $length, $preserve_keys) );
/PHP-7.1/sapi/cli/
H A Dphp_cli_process_title.c55 int length = 0; in PHP_FUNCTION() local
63 rc = get_ps_title(&length, &title); in PHP_FUNCTION()
69 RETURN_STRINGL(title, length); in PHP_FUNCTION()
/PHP-7.1/ext/mcrypt/tests/
H A Dmcrypt_ecb_3des_decrypt.phpt50 echo "\nkey length=".strlen($keys[$i])."\n";
57 echo "\niv length=".strlen($ivs[$i])."\n";
69 key length=8
76 key length=20
83 key length=24
88 key length=26
97 iv length=4
102 iv length=8
107 iv length=9
H A Dmcrypt_cbc_3des_encrypt.phpt36 echo "\nkey length=".strlen($key)."\n";
43 echo "\niv length=".strlen($iv)."\n";
51 key length=8
58 key length=20
65 key length=24
70 key length=26
79 iv length=4
86 iv length=8
91 iv length=9
H A Dmcrypt_decrypt_3des_ecb.phpt51 echo "\nkey length=".strlen($keys[$i])."\n";
58 echo "\niv length=".strlen($ivs[$i])."\n";
72 key length=8
79 key length=20
86 key length=24
91 key length=26
100 iv length=4
105 iv length=8
110 iv length=9
H A Dmcrypt_cbc_3des_decrypt.phpt49 echo "\nkey length=".strlen($keys[$i])."\n";
56 echo "\niv length=".strlen($ivs[$i])."\n";
68 key length=8
75 key length=20
82 key length=24
87 key length=26
96 iv length=4
103 iv length=8
108 iv length=9
H A Dmcrypt_decrypt_3des_cbc.phpt52 echo "\nkey length=".strlen($keys[$i])."\n";
59 echo "\niv length=".strlen($ivs[$i])."\n";
73 key length=8
80 key length=20
87 key length=24
92 key length=26
101 iv length=4
108 iv length=8
113 iv length=9
H A Dmcrypt_encrypt_3des_cbc.phpt48 echo "\nkey length=".strlen($key)."\n";
55 echo "\niv length=".strlen($iv)."\n";
66 key length=8
73 key length=20
80 key length=24
85 key length=26
94 iv length=4
101 iv length=8
106 iv length=9
H A Dmcrypt_rijndael128_128BitKey.phpt53 echo "\nkey length=".strlen($key)."\n";
61 echo "\niv length=".strlen($iv)."\n";
73 key length=0
80 key length=0
87 key length=8
94 key length=16
101 iv length=0
108 iv length=0
115 iv length=8
122 iv length=16
[all …]
/PHP-7.1/ext/standard/tests/image/
H A Dgetimagesize_jpgapp.phpt28 echo "$key - length: ". strlen($value) ."; md5: " . md5($value) . "\n" ;
34 APP1 - length: 1717; md5: 02cbf4ba6640c131422483138c968516
35 APP2 - length: 7275; md5: f5036ccca2031e8bf932bcbd4aca4355
36 APP13 - length: 42; md5: 2202998bd05e78bcb419f08c070d6f61
/PHP-7.1/ext/mbstring/tests/
H A Dmb_strripos_variation5_Bug45923.phpt18 * The character length of $string_ascii and $string_mb is the same,
77 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
81 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
87 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
91 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
97 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
101 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
107 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
111 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
/PHP-7.1/ext/mbstring/libmbfl/tests/
H A Dconv_kana.c126 if (dev.pos >= dev.length) { in main()
127 if (dev.length + dev.allocsz < dev.length) { in main()
132 mbfl_memory_device_realloc(&dev, dev.length + dev.allocsz, in main()
H A Dconv_encoding.c80 if (dev.pos >= dev.length) { in main()
81 if (dev.length + dev.allocsz < dev.length) { in main()
86 mbfl_memory_device_realloc(&dev, dev.length + dev.allocsz, in main()
/PHP-7.1/ext/hash/
H A Dhash.c434 while (length) { in PHP_FUNCTION()
438 if (length > 0 && toread > length) { in PHP_FUNCTION()
439 toread = length; in PHP_FUNCTION()
447 length -= n; in PHP_FUNCTION()
624 zend_long length = 0; in PHP_FUNCTION() local
650 if (length < 0) { in PHP_FUNCTION()
745 if (length < 0) { in PHP_FUNCTION()
769 if (length == 0) { in PHP_FUNCTION()
772 length = length * 2; in PHP_FUNCTION()
775 digest_length = length; in PHP_FUNCTION()
[all …]
/PHP-7.1/pear/
H A Dfetch.php43 $length = (int)(($bytes_transferred/$filesize)*100);
44 …printf("\r[%-100s] %d%% (%2d/%2d kb)", str_repeat("=", $length). ">", $length, ($bytes_transferred…
/PHP-7.1/ext/hash/tests/
H A Dhash_pbkdf2_basic.phpt8 /* Prototype : string hash_hmac(string $algo, string $data, string $key [, int $length = 0 [, bool…
17 echo "sha1(no length): " . hash_pbkdf2('sha1', 'password', 'salt', 1)."\n";
22 echo "sha256(no length): " . hash_pbkdf2('sha256', 'password', 'salt', 1)."\n";
32 sha1(no length): 0c60c80f961f0e71f3a9b524af6012062fe037a6
37 sha256(no length): 120fb6cffcf8b32c43e7225256c4f837a86548c92ccc35480805987cb70be17b
/PHP-7.1/ext/iconv/tests/
H A Diconv-charset-length-cve-2007-4840.phpt2 iconv() charset parameter length checks (CVE-2007-4840)
12 Warning: iconv(): Charset parameter exceeds the maximum allowed length of %d characters in %s on li…
15 Warning: iconv(): Charset parameter exceeds the maximum allowed length of %d characters in %s on li…
/PHP-7.1/ext/spl/examples/
H A Ddirectorytree.php29 $length = $argc > 3 ? $argv[3] : -1; variable
32 foreach(new LimitIterator(new DirectoryTreeIterator($argv[1]), @$argv[2], $length) as $key=>$file) {

Completed in 46 milliseconds

12345678910>>...28