/PHP-7.4/ext/exif/tests/bug72735/ |
H A D | bug72735.phpt | 13 echo 'Error, no length returned', PHP_EOL;
|
/PHP-7.4/ext/exif/tests/ |
H A D | zero_length_makernote_leak.phpt | 2 OSS-Fuzz: Memory leak for zero-length MAKERNOTE
|
/PHP-7.4/ext/ffi/ |
H A D | ffi.c | 109 zend_long length; member 275 (dst_type->array.length == src_type->array.length || in zend_ffi_is_compatible_type() 2124 type1->array.length == type2->array.length) { in zend_ffi_is_same_type() 2968 return old->array.length == type->array.length in zend_ffi_same_types() 5967 int length = 0; local 5975 length = 0; 5977 length = len->u64; 5979 length = len->i64; 5981 length = len->ch; 5987 if (length < 0) { [all …]
|
/PHP-7.4/ext/ffi/tests/ |
H A D | 027.phpt | 2 FFI 027: Incomplete and variable length arrays
|
H A D | 100.phpt | 26 void $fastcall zend_str_tolower(char *str, size_t length);
|
H A D | 101.phpt | 26 void $fastcall zend_str_tolower(char *str, size_t length);
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 3580 + ms->search.rm_len = Z_STRLEN_P(match) /* This is the length of the matched pattern */;
|
/PHP-7.4/ext/fileinfo/tests/ |
H A D | bug68735.phpt | 15 string(%d) "JPEG image data, JFIF standard 1.01, resolution (DPI), density 180x52, segment length 1…
|
H A D | bug68819_002.phpt | 14 // Total string length > 8192
|
H A D | magic | 3258 # length of filename 4839 # WAV length 5311 # length of header text 8640 # unusual dBase IV DBT without block length (implies 512 as length) 8652 # length of memo field 8665 # length of memo field 9961 >24 belong x length %d 12639 # length of font_name 12813 # string length 23204 # we currently can't specify a variable-length string where the length [all …]
|
H A D | magic私はガラスを食べられます | 3258 # length of filename 4839 # WAV length 5311 # length of header text 8640 # unusual dBase IV DBT without block length (implies 512 as length) 8652 # length of memo field 8665 # length of memo field 9961 >24 belong x length %d 12639 # length of font_name 12813 # string length 23204 # we currently can't specify a variable-length string where the length [all …]
|
/PHP-7.4/ext/filter/ |
H A D | logical_filters.c | 952 int tokens, length, i, offset, exp_separator_set; in php_filter_validate_mac() local 971 length = 4; in php_filter_validate_mac() 976 length = 2; in php_filter_validate_mac() 981 length = 2; in php_filter_validate_mac() 996 offset = i * (length + 1); in php_filter_validate_mac() 998 if (i < tokens - 1 && input[offset + length] != separator) { in php_filter_validate_mac() 1002 if (php_filter_parse_hex(input + offset, length, &ret) < 0) { in php_filter_validate_mac()
|
/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 …]
|
H A D | gd_png.c | 81 static void gdPngReadData (png_structp png_ptr, png_bytep data, png_size_t length) in gdPngReadData() argument 84 check = gdGetBuf(data, length, (gdIOCtx *) png_get_io_ptr(png_ptr)); in gdPngReadData() 85 if (check != length) { in gdPngReadData() 90 static void gdPngWriteData (png_structp png_ptr, png_bytep data, png_size_t length) in gdPngWriteData() argument 92 gdPutBuf (data, length, (gdIOCtx *) png_get_io_ptr(png_ptr)); in gdPngWriteData()
|
/PHP-7.4/ext/gd/tests/ |
H A D | bug66590.phpt | 2 Bug #66590 (imagewebp() doesn't pad to even length) 20 $length = fread($stream, 4); 22 $length = unpack('V', $length)[1] + 8; 23 var_dump($length === filesize($filename));
|
H A D | bug66590_1.phpt | 2 Bug #66590 (imagewebp() doesn't pad to even length) - segfault
|
H A D | bug75111.phpt | 12 $str .= pack("V", 40); // length of header
|
/PHP-7.4/ext/gmp/tests/ |
H A D | gmp_import.phpt | 77 Warning: gmp_import(): Input length must be a multiple of word size in %s on line %d 80 Warning: gmp_import(): Input length must be a multiple of word size in %s on line %d 83 Warning: gmp_import(): Input length must be a multiple of word size in %s on line %d
|
/PHP-7.4/ext/hash/ |
H A D | hash.c | 459 while (length) { in PHP_FUNCTION() 464 if (length > 0 && toread > length) { in PHP_FUNCTION() 465 toread = length; in PHP_FUNCTION() 472 length -= n; in PHP_FUNCTION() 627 zend_long length = 0; in PHP_FUNCTION() local 654 if (length < 0) { in PHP_FUNCTION() 753 if (length < 0) { in PHP_FUNCTION() 777 if (length == 0) { in PHP_FUNCTION() 780 length = length * 2; in PHP_FUNCTION() 783 digest_length = length; in PHP_FUNCTION() [all …]
|
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()
|
H A D | hash_snefru.c | 150 if (context->length + len < 32) { in PHP_SNEFRUUpdate() 151 memcpy(&context->buffer[context->length], input, len); in PHP_SNEFRUUpdate() 152 context->length += (unsigned char)len; in PHP_SNEFRUUpdate() 154 size_t i = 0, r = (context->length + len) % 32; in PHP_SNEFRUUpdate() 156 if (context->length) { in PHP_SNEFRUUpdate() 157 i = 32 - context->length; in PHP_SNEFRUUpdate() 158 memcpy(&context->buffer[context->length], input, i); in PHP_SNEFRUUpdate() 168 context->length = (unsigned char)r; in PHP_SNEFRUUpdate() 176 if (context->length) { in PHP_SNEFRUFinal()
|
H A D | hash_tiger.c | 142 if (context->length % 8) { in TigerFinalize() 143 memset(&context->buffer[context->length], 0, 8-context->length%8); in TigerFinalize() 144 context->length += 8-context->length%8; in TigerFinalize() 147 if (context->length > 56) { in TigerFinalize() 148 memset(&context->buffer[context->length], 0, 64 - context->length); in TigerFinalize() 152 memset(&context->buffer[context->length], 0, 56 - context->length); in TigerFinalize() 198 if (context->length + len < 64) { in PHP_TIGERUpdate() 200 context->length += len; in PHP_TIGERUpdate() 204 if (context->length) { in PHP_TIGERUpdate() 205 i = 64 - context->length; in PHP_TIGERUpdate() [all …]
|
H A D | php_hash_gost.h | 28 unsigned char length; member
|
H A D | php_hash_snefru.h | 32 unsigned char length; member
|
H A D | php_hash_tiger.h | 28 size_t length; member
|