/PHP-7.4/ext/dom/ |
H A D | text.c | 145 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 D | mysqlnd_alloc.c | 513 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 D | intl_convertcpp.cpp | 67 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 D | resourcebundle_arrayaccess.phpt | 12 printf( "length: %d\n", count($r) ); 30 length: 6
|
/PHP-7.4/ext/standard/tests/streams/ |
H A D | bug64166_2.phpt | 13 'line-length' => 74 24 'line-length' => 6
|
/PHP-7.4/main/ |
H A D | rfc1867.h | 40 size_t length; member 54 size_t length; member
|
/PHP-7.4/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_memory_device.h | 41 size_t length; member 48 size_t length; member
|
/PHP-7.4/ext/dom/tests/ |
H A D | DOMText_appendData_basic.phpt | 21 echo "Text Length (one append): " . $textnode->length . "\n"; 24 echo "Text Length (two appends): " . $textnode->length . "\n";
|
H A D | bug76738.phpt | 46 $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 D | ob_get_length_basic.phpt | 8 * 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 D | snmp-object-setSecurity_error.phpt | 48 … 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 D | mysqli_fetch_fields.phpt | 47 if ($field->length != $charsetInfo->max_length) { 48 printf("[005] Expecting length %d got %d\n", 86 ["length"]=> 114 ["length"]=>
|
H A D | mysqli_field_seek.phpt | 94 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 D | fread_error.phpt | 6 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 D | fwrite_error.phpt | 6 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 D | fgets_error.phpt | 6 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 D | fgetss_error.phpt | 8 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 D | 016b.phpt | 2 Phar::mapPhar invalid file (gzipped file length is too short) 13 // file length is too short
|
/PHP-7.4/ext/zlib/tests/ |
H A D | gzread_basic.phpt | 18 foreach ($lengths as $length) { 19 var_dump(gzread( $h, $length ) );
|
H A D | gzgets_basic.phpt | 18 foreach ($lengths as $length) { 19 var_dump(gzgets( $h, $length ) );
|
H A D | gzinflate_error1.phpt | 11 /* 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 D | cyr_convert.c | 202 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 D | gd_bmp.c | 304 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 D | hash_gost.c | 264 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 D | collator_is_numeric.h | 24 zend_uchar collator_is_numeric( UChar *str, int32_t length, zend_long *lval, double *dval, int allo…
|