Home
last modified time | relevance | path

Searched refs:length (Results 76 – 100 of 678) sorted by relevance

12345678910>>...28

/PHP-7.1/ext/standard/tests/strings/
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);
H A Dstrrpos_offset.phpt32 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
35 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
38 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
41 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
/PHP-7.1/ext/standard/
H A Dquot_print.h24 PHPAPI zend_string *php_quot_print_decode(const unsigned char *str, size_t length, int replace_us_b…
25 PHPAPI zend_string *php_quot_print_encode(const unsigned char *str, size_t length);
/PHP-7.1/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-7.1/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-7.1/ext/zip/lib/
H A Dzip_source_seek.c59 zip_source_seek_compute_offset(zip_uint64_t offset, zip_uint64_t length, void *data, zip_uint64_t d… in zip_source_seek_compute_offset() argument
74 new_offset = (zip_int64_t)length + args->offset; in zip_source_seek_compute_offset()
86 if (new_offset < 0 || (zip_uint64_t)new_offset > length) { in zip_source_seek_compute_offset()
/PHP-7.1/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-7.1/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
H A Dfgetss_variation1-win32.phpt12 Prototype: string fgetss ( resource $handle [, int $length [, string $allowable_tags]] );
66 …echo "-- fgetss() with default length, file pointer at 0 , expected : no character should be read …
88 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
98 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
108 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
118 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
128 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
138 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
148 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
158 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
[all …]
H A Dfgetss_variation1.phpt12 Prototype: string fgetss ( resource $handle [, int $length [, string $allowable_tags]] );
62 …echo "-- fgetss() with default length, file pointer at 0 , expected : no character should be read …
84 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
94 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
104 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
114 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
124 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
134 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
144 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
154 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
[all …]
/PHP-7.1/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)
/PHP-7.1/ext/mbstring/tests/
H A Dbug43841.phpt40 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d
45 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d
49 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
55 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d
60 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d
64 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
H A Dmb_substr_error2.phpt10 /* Prototype : string mb_substr(string $str, int $start [, int $length [, string $encoding]])
23 $length = 5;
26 var_dump( mb_substr($str, $start, $length, $encoding));
/PHP-7.1/ext/standard/tests/general_functions/
H A Descapeshellarg_bug71270.phpt2 Test escapeshellarg() allowed argument length
12 Fatal error: escapeshellarg(): Argument exceeds the allowed length of %d bytes in %s on line %d
H A Descapeshellcmd_bug71270.phpt2 Test escapeshellcmd() allowed argument length
12 Fatal error: escapeshellcmd(): Command exceeds the allowed length of %d bytes in %s on line %d
/PHP-7.1/ext/standard/tests/array/
H A Darray_slice_variation3.phpt2 Test array_slice() function : usage variations - Pass different data types as $length arg
7 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
8 * Description: Returns elements specified by offset and length
13 * Pass different data types as $length argument to array_slice to test behaviour
31 // unexpected values to be passed to $length argument
H A Darray_slice_error.phpt5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
6 * Description: Returns elements specified by offset and length
20 $length = 10;
23 var_dump( array_slice($input, $offset, $length, $preserve_keys, $extra_arg) );
/PHP-7.1/Zend/tests/varSyntax/
H A Dmethod_call_on_string_literal.phpt5 "string"->length();
8 Fatal error: Uncaught Error: Call to a member function length() on string in %s:%d
/PHP-7.1/ext/phar/tests/
H A D006.phpt2 Phar::mapPhar truncated manifest (manifest length truncated)
14 internal corruption of phar "%s" (truncated manifest at manifest length)
/PHP-7.1/ext/oci8/
H A Doci8_lob.c126 *length = 0; in php_oci_lob_get_length()
129 *length = descriptor->lob_size; in php_oci_lob_get_length()
246 ub4 length = 0; in php_oci_lob_read() local
268 if (length <= 0) { in php_oci_lob_read()
272 if (initial_offset > length) { in php_oci_lob_read()
278 requested_len = length; in php_oci_lob_read()
525 if (length == -1) { in php_oci_lob_copy()
528 copy_len = (ub4) length; in php_oci_lob_copy()
858 if (length == -1) { in php_oci_lob_erase()
859 length = lob_length; in php_oci_lob_erase()
[all …]
/PHP-7.1/ext/exif/
H A Dexif.c1665 if (length < 0) { in exif_iif_add_value()
1676 info_data->length = length; in exif_iif_add_value()
1687 length = (int)php_strnlen(value, length); in exif_iif_add_value()
1689 info_data->length = length; in exif_iif_add_value()
1706 if (!length) in exif_iif_add_value()
1715 length = (int) php_strnlen(value, length); in exif_iif_add_value()
1720 info_data->length = length; in exif_iif_add_value()
1885 info_data->length = length; in exif_iif_add_buffer()
2237 if (length>3) { in exif_process_CME()
2842 size_t length; in exif_process_IFD_TAG() local
[all …]
/PHP-7.1/ext/iconv/tests/
H A Diconv_substr_error2.phpt10 /* Prototype : string iconv_substr(string str, int offset, [int length, string charset])
23 $length = 5;
26 var_dump( iconv_substr($str, $start, $length, $encoding));
/PHP-7.1/build/
H A Dorder_by_dep.awk17 if (!length($5)) {
40 mod_name_len = length(module_name);
47 ext = substr(ext, mod_name_len+2, length(ext)-mod_name_len);
/PHP-7.1/ext/dom/tests/
H A Dbug46335.phpt10 $length = 3;
19 $matched->splitText($length);
28 $matched->splitText($length);
H A DDOMCharacterData_length_error_001.phpt2 Invalid State Error when getting length on DOMCharacterData out of content.
11 print $character_data->length;

Completed in 48 milliseconds

12345678910>>...28