Home
last modified time | relevance | path

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

12345678910>>...25

/PHP-5.5/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-5.5/ext/mcrypt/tests/
H A Dmcrypt_cbc_3des_decrypt.phpt53 echo "\nkey length=".strlen($keys[$i])."\n";
60 echo "\niv length=".strlen($ivs[$i])."\n";
74 key length=8
79 key length=20
84 key length=24
89 key length=26
98 iv length=4
105 iv length=8
110 iv length=9
H A Dmcrypt_rijndael128_128BitKey.phpt53 echo "\nkey length=".strlen($key)."\n";
63 echo "\niv length=".strlen($iv)."\n";
77 key length=0
83 key length=0
89 key length=8
95 key length=16
103 iv length=0
113 iv length=0
123 iv length=8
133 iv length=16
[all …]
/PHP-5.5/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-5.5/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-5.5/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, 1); in PHP_FUNCTION()
/PHP-5.5/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-5.5/ext/json/
H A DJSON_parser.h35 extern int parse_JSON_ex(JSON_parser jp, zval *z, unsigned short utf16_json[], int length, int opti…
38 static inline int parse_JSON(JSON_parser jp, zval *z, unsigned short utf16_json[], int length, int … in parse_JSON() argument
40 return parse_JSON_ex(jp, z, utf16_json, length, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0 TSRMLS_CC); in parse_JSON()
/PHP-5.5/ext/mbstring/tests/
H A Dmb_strripos_variation5_Bug45923.phpt18 * The character length of $string_ascii and $string_mb is the same,
78 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
82 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
88 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
92 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
98 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
102 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
108 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
112 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
/PHP-5.5/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-5.5/ext/standard/tests/strings/
H A Dbug40754.phpt35 Warning: substr_count(): Offset value 2147483647 exceeds string length in %s on line %d
38 Warning: substr_compare(): The start position cannot exceed initial string length in %s on line %d
44 Warning: substr_count(): Offset value 2147483647 exceeds string length in %s on line %d
47 Warning: substr_count(): Length value 2147483647 exceeds string length in %s on line %d
56 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
59 Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
H A Dsubstr_count_error.phpt19 /* Using offset and length to go beyond the size of the string:
20 Warning message expected, as length+offset > length of string */
23 /* length as Null */
48 Warning: substr_count(): Offset value 25 exceeds string length in %s on line %d
53 Warning: substr_count(): Offset value 5 exceeds string length in %s on line %d
H A Dsubstr_replace_error.phpt5 … : mixed substr_replace ( mixed $string , string $replacement , int $start [, int $length ] )
25 echo "\n-- Testing substr_replace() function with start and length different types --\n";
29 echo "\n-- Testing substr_replace() function with start and length with a different number of eleme…
32 echo "\n-- Testing substr_replace() function with start and length as arrays but string not--\n";
53 -- Testing substr_replace() function with start and length different types --
61 -- Testing substr_replace() function with start and length with a different number of elements --
66 -- Testing substr_replace() function with start and length as arrays but string not--
H A Dsscanf_basic3.phpt18 list($part, $length, $width, $depth) = sscanf($str, $format);
19 var_dump($part, $length, $width, $depth);
23 $res = sscanf($str, $format, $part, $length, $width, $depth);
24 var_dump($res, $part, $length, $width, $depth);
/PHP-5.5/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-5.5/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-5.5/ext/iconv/tests/
H A Diconv-charset-length-cve-2007-4840.phpt2 iconv() charset parameter length checks (CVE-2007-4840)
13 Warning: iconv(): Charset parameter exceeds the maximum allowed length of %d characters in %s on li…
16 Warning: iconv(): Charset parameter exceeds the maximum allowed length of %d characters in %s on li…
/PHP-5.5/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) {
/PHP-5.5/ext/hash/
H A Dhash_snefru.c152 if (context->length + len < 32) { in PHP_SNEFRUUpdate()
153 memcpy(&context->buffer[context->length], input, len); in PHP_SNEFRUUpdate()
154 context->length += len; in PHP_SNEFRUUpdate()
156 size_t i = 0, r = (context->length + len) % 32; in PHP_SNEFRUUpdate()
158 if (context->length) { in PHP_SNEFRUUpdate()
159 i = 32 - context->length; in PHP_SNEFRUUpdate()
160 memcpy(&context->buffer[context->length], input, i); in PHP_SNEFRUUpdate()
170 context->length = r; in PHP_SNEFRUUpdate()
178 if (context->length) { in PHP_SNEFRUFinal()
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_fetch_assoc_zerofill.phpt39 $length = $meta->length;
40 if ($length > strlen($insert)) {
42 $expected = str_repeat('0', $length - strlen($insert));
49 } else if ($length <= 1) {
/PHP-5.5/ext/standard/
H A Dquot_print.h24 PHPAPI unsigned char *php_quot_print_decode(const unsigned char *str, size_t length, size_t *ret_le…
25 PHPAPI unsigned char *php_quot_print_encode(const unsigned char *str, size_t length, size_t *ret_le…
/PHP-5.5/ext/zlib/tests/
H A Dbug60761.phpt37 // pass == only ONE length for all iterations
38 // (length didn't change during run)
40 // hard to anticipate what 'correct' length should be since
42 // just check that there is only one length
/PHP-5.5/ext/standard/tests/file/
H A Dfgets_variation2.phpt6 Prototype: string fgets ( resource $handle [, int $length] );
27 var_dump( fgets($file_handle) ); // default length
28 var_dump( fgets($file_handle, 10) ); // with specific length
37 var_dump( fgets($file_handle) ); // default length
38 var_dump( fgets($file_handle, 10) ); // with specific length
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_max_buffer_size.phpt45 printf("[%03d] id = %d, val = %s... (length: %d)\n",
73 [001] id = 1, val = 0123456789... (length: %d)
74 [002] id = 1, val = 0123456789... (length: 1000)
75 [003] id = 1, val = 0123456789... (length: %d)
76 [004] id = 1, val = 0123456789... (length: 2000)

Completed in 36 milliseconds

12345678910>>...25