Home
last modified time | relevance | path

Searched refs:length (Results 151 – 175 of 620) sorted by relevance

12345678910>>...25

/PHP-5.5/ext/dom/tests/
H A DDOMText_appendData_basic.phpt21 echo "Text Length (one append): " . $textnode->length . "\n";
24 echo "Text Length (two appends): " . $textnode->length . "\n";
H A DDOMNode_cloneNode_basic.phpt42 $len = $children->length;
43 for ($index = $children->length - 1; $index >=0; $index--) {
70 for ($index = 0; $index < $children->length; $index++) {
/PHP-5.5/ext/oci8/
H A Doci8_interface.c316 long length; local
338 if (length <= 0) {
800 long length = 0; local
826 length = -1;
945 if (length == -1) {
949 if (length == 0) {
972 if (block_length > length) {
973 block_length = length;
976 while(length > 0) {
991 length -= tmp_bytes_read;
[all …]
/PHP-5.5/ext/standard/
H A Dpassword.c111 static int php_password_make_salt(size_t length, char *ret TSRMLS_DC) /* {{{ */ in php_password_make_salt() argument
118 if (length > (INT_MAX / 3)) { in php_password_make_salt()
123 raw_length = length * 3 / 4 + 1; in php_password_make_salt()
160 result = safe_emalloc(length, 1, 1); in php_password_make_salt()
161 if (php_password_salt_to64(buffer, raw_length, length, result) == FAILURE) { in php_password_make_salt()
167 memcpy(ret, result, (int) length); in php_password_make_salt()
170 ret[length] = 0; in php_password_make_salt()
H A Dcyr_convert.c204 static char * php_convert_cyr_string(unsigned char *str, int length, char from, char to TSRMLS_DC) in php_convert_cyr_string() argument
261 for( i = 0; i<length; i++) in php_convert_cyr_string()
H A Dimage.c429 if (length < 2) { in php_skip_variable()
432 length = length - 2; in php_skip_variable()
433 php_stream_seek(stream, (long)length, SEEK_CUR); in php_skip_variable()
442 unsigned short length; in php_read_APP() local
447 length = php_read2(stream TSRMLS_CC); in php_read_APP()
448 if (length < 2) { in php_read_APP()
451 length -= 2; /* length includes itself */ in php_read_APP()
453 buffer = emalloc(length); in php_read_APP()
464 add_assoc_stringl(info, markername, buffer, length, 1); in php_read_APP()
478 unsigned short length, ff_read=1; in php_handle_jpeg() local
[all …]
/PHP-5.5/ext/standard/tests/file/
H A Dfgetss_error.phpt6 Prototype: string fgetss ( resource $handle [, int $length [, string $allowable_tags]] );
20 // invalid length argument
21 echo "-- Testing fgetss() with invalid length arguments --\n";
28 var_dump( fgetss($fp, $len, $allowable_tags) ); // return length - 1 always, expect false
67 -- Testing fgetss() with invalid length arguments --
H A Dfgets_error.phpt6 Prototype: string fgets ( resource $handle [, int $length] );
20 // invalid length argument
21 echo "-- Testing fgets() with invalid length arguments --\n";
27 var_dump( fgets($fp, $len) ); // return length - 1 always, expect false
68 -- Testing fgets() with invalid length arguments --
/PHP-5.5/ext/phar/tests/
H A D016b.phpt2 Phar::mapPhar invalid file (gzipped file length is too short)
13 // file length is too short
/PHP-5.5/ext/zlib/tests/
H A Dgzread_basic.phpt18 foreach ($lengths as $length) {
19 var_dump(gzread( $h, $length ) );
H A Dgzwrite_error.phpt14 $length = 10;
16 var_dump(gzwrite($h, $str, $length, $extra_arg));
H A Dgzgets_basic.phpt18 foreach ($lengths as $length) {
19 var_dump(gzgets( $h, $length ) );
H A Dgzinflate_error1.phpt11 /* Prototype : string gzinflate(string data [, int length])
26 $length = 10;
28 var_dump( gzinflate($data, $length, $extra_arg) );
/PHP-5.5/main/
H A Drfc1867.h42 size_t length; member
56 size_t length; member
/PHP-5.5/ext/standard/tests/strings/
H A Dstr_split_variation6.phpt48 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
139 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
160 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
164 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
H A Dstr_split_variation7.phpt50 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
117 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
138 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
142 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
H A Dstrrpos_variation15.phpt97 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
101 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
105 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
109 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
113 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
H A Dstrcspn_basic.phpt6 * Description: Finds length of initial segment consisting entirely of characters not found in mask.
7 … If start or/and length is provided, it works like strcspn(substr($s,$start,$len),$bad_chars)
/PHP-5.5/ext/standard/tests/array/
H A Darray_slice_variation4.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 = 3;
88 var_dump( array_slice($input_array, $offset, $length, $input) );
H A Darray_slice_variation8.phpt5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
6 * Description: Returns elements specified by offset and length
H A Darray_slice_variation9.phpt5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
6 * Description: Returns elements specified by offset and length
/PHP-5.5/ext/mysqli/tests/
H A D047.phpt80 [%u|b%"length"]=>
109 [%u|b%"length"]=>
140 [%u|b%"length"]=>
168 [%u|b%"length"]=>
198 [%u|b%"length"]=>
226 [%u|b%"length"]=>
H A Dmysqli_fetch_fields.phpt47 if ($field->length != $charsetInfo->max_length) {
48 printf("[005] Expecting length %d got %d\n",
86 [%u|b%"length"]=>
114 [%u|b%"length"]=>
/PHP-5.5/ext/mbstring/tests/
H A Dmb_strripos_variation3_Bug45923.phpt118 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
123 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
128 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
133 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
138 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
/PHP-5.5/ext/bcmath/libbcmath/src/
H A Dbcmath.h104 _PROTOTYPE(bc_num _bc_new_num_ex, (int length, int scale, int persistent));
159 #define bc_new_num(length, scale) _bc_new_num_ex((length), (scale), 0) argument

Completed in 40 milliseconds

12345678910>>...25