Home
last modified time | relevance | path

Searched refs:length (Results 126 – 150 of 588) sorted by relevance

12345678910>>...24

/PHP-7.4/ext/dom/
H A Dtext.c145 int length; in PHP_FUNCTION() local
162 length = xmlUTF8Strlen(cur); in PHP_FUNCTION()
164 if (ZEND_LONG_INT_OVFL(offset) || (int)offset > length || offset < 0) { in PHP_FUNCTION()
170 second = xmlUTF8Strsub(cur, (int)offset, (int)(length - offset)); in PHP_FUNCTION()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_alloc.c513 static char * _mysqlnd_pememdup(const char * const ptr, size_t length, zend_bool persistent MYSQLND… in _mysqlnd_pememdup() argument
527 ret = pemalloc_rel(REAL_SIZE(length + 1), persistent); in _mysqlnd_pememdup()
530 memcpy(dest, ptr, length); in _mysqlnd_pememdup()
534 *(size_t *) ret = length; in _mysqlnd_pememdup()
544 static char * _mysqlnd_pestrndup(const char * const ptr, size_t length, zend_bool persistent MYSQLN… in _mysqlnd_pestrndup() argument
558 ret = pemalloc_rel(REAL_SIZE(length + 1), persistent); in _mysqlnd_pestrndup()
560 size_t l = length; in _mysqlnd_pestrndup()
570 *(size_t *) ret = length; in _mysqlnd_pestrndup()
751 char * dest = pemalloc_rel(length, persistent); in mysqlnd_zend_mm_pememdup()
753 memcpy(dest, ptr, length); in mysqlnd_zend_mm_pememdup()
[all …]
/PHP-7.4/ext/intl/
H A Dintl_convertcpp.cpp67 int32_t capacity = from.length() * 3; in intl_charFromString()
77 u_strToUTF8WithSub(ZSTR_VAL(u8res), capacity, &actual_len, utf16buf, from.length(), in intl_charFromString()
/PHP-7.4/ext/intl/tests/
H A Dresourcebundle_arrayaccess.phpt12 printf( "length: %d\n", count($r) );
30 length: 6
/PHP-7.4/ext/standard/tests/streams/
H A Dbug64166_2.phpt13 'line-length' => 74
24 'line-length' => 6
/PHP-7.4/main/
H A Drfc1867.h40 size_t length; member
54 size_t length; member
/PHP-7.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.h41 size_t length; member
48 size_t length; member
/PHP-7.4/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 Dbug76738.phpt46 $nodes_idx = ($nodes != FALSE) ? $nodes->length : 0;
78 $nodes_idx = ($nodes != FALSE) ? $nodes->length : 0;
87 while($body->childNodes->length > 0)
169 while($html->childNodes->length > 0)
181 while($body->childNodes->length > 0)
208 $nodes_idx = ($nodes != FALSE) ? $nodes->length : 0;
214 while($node->childNodes->length > 0)
/PHP-7.4/ext/standard/tests/general_functions/
H A Dob_get_length_basic.phpt8 * Description: Return the length of the output buffer
27 dump_string_length( 'foo bar length of a string' );
/PHP-7.4/ext/snmp/tests/
H A Dsnmp-object-setSecurity_error.phpt48 … for authentication pass phrase '': Generic error (The supplied password length is too short.) in …
51 …or authentication pass phrase 'te': Generic error (The supplied password length is too short.) in …
57 …g a key for privacy pass phrase '': Generic error (The supplied password length is too short.) in …
60 …a key for privacy pass phrase 'ty': Generic error (The supplied password length is too short.) in …
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_fetch_fields.phpt47 if ($field->length != $charsetInfo->max_length) {
48 printf("[005] Expecting length %d got %d\n",
86 ["length"]=>
114 ["length"]=>
H A Dmysqli_field_seek.phpt94 if ($field->length != $charsetInfo->max_length) {
95 printf("[005] Expecting length %d got %d\n",
146 ["length"]=>
175 ["length"]=>
204 ["length"]=>
241 ["length"]=>
/PHP-7.4/ext/standard/tests/file/
H A Dfread_error.phpt6 Prototype: string fread ( resource $handle [, int $length] );
7 Description: reads up to length bytes from the file pointer referenced by handle.
8 Reading stops when up to length bytes have been read, EOF (end of file) is
25 // invalid length argument
26 echo "-- Testing fread() with invalid length arguments --\n";
70 -- Testing fread() with invalid length arguments --
H A Dfwrite_error.phpt6 Prototype: int fwrite ( resource $handle,string string, [, int $length] );
8 If the length arquement is given,writing will stop after length bytes have been
32 // invalid length argument
33 echo "-- Testing fwrite() with invalid length arguments --\n";
85 -- Testing fwrite() 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 --
H A Dfgetss_error.phpt8 Prototype: string fgetss ( resource $handle [, int $length [, string $allowable_tags]] );
22 // invalid length argument
23 echo "-- Testing fgetss() with invalid length arguments --\n";
30 var_dump( fgetss($fp, $len, $allowable_tags) ); // return length - 1 always, expect false
69 -- Testing fgetss() with invalid length arguments --
/PHP-7.4/ext/phar/tests/
H A D016b.phpt2 Phar::mapPhar invalid file (gzipped file length is too short)
13 // file length is too short
/PHP-7.4/ext/zlib/tests/
H A Dgzread_basic.phpt18 foreach ($lengths as $length) {
19 var_dump(gzread( $h, $length ) );
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-7.4/ext/standard/
H A Dcyr_convert.c202 static char * php_convert_cyr_string(unsigned char *str, size_t length, char from, char to) in php_convert_cyr_string() argument
259 for (i = 0; i < length; i++) { in php_convert_cyr_string()
/PHP-7.4/ext/gd/libgd/
H A Dgd_bmp.c304 memcpy(uncompressed_row, row, length); in compress_row()
307 for (pixel = 0; pixel < length; pixel++) { in compress_row()
366 if (length < 1 || length > 128) { in build_rle_packet()
371 if (packet_type == BMP_RLE_TYPE_RAW && length < 3) { in build_rle_packet()
373 for (i = 0; i < length; i++) { in build_rle_packet()
383 memset(row, length, 1); in build_rle_packet()
389 compressed_size = 2 + length; in build_rle_packet()
393 memset(row, length, 1); in build_rle_packet()
396 memcpy(row, data, length); in build_rle_packet()
397 row += length; in build_rle_packet()
[all …]
/PHP-7.4/ext/hash/
H A Dhash_gost.c264 if (context->length + len < 32) { in PHP_GOSTUpdate()
265 memcpy(&context->buffer[context->length], input, len); in PHP_GOSTUpdate()
266 context->length += (unsigned char)len; in PHP_GOSTUpdate()
268 size_t i = 0, r = (context->length + len) % 32; in PHP_GOSTUpdate()
270 if (context->length) { in PHP_GOSTUpdate()
271 i = 32 - context->length; in PHP_GOSTUpdate()
272 memcpy(&context->buffer[context->length], input, i); in PHP_GOSTUpdate()
282 context->length = (unsigned char)r; in PHP_GOSTUpdate()
290 if (context->length) { in PHP_GOSTFinal()
/PHP-7.4/ext/intl/collator/
H A Dcollator_is_numeric.h24 zend_uchar collator_is_numeric( UChar *str, int32_t length, zend_long *lval, double *dval, int allo…

Completed in 46 milliseconds

12345678910>>...24