Home
last modified time | relevance | path

Searched refs:length (Results 76 – 100 of 588) sorted by path

12345678910>>...24

/PHP-7.4/ext/exif/tests/bug72735/
H A Dbug72735.phpt13 echo 'Error, no length returned', PHP_EOL;
/PHP-7.4/ext/exif/tests/
H A Dzero_length_makernote_leak.phpt2 OSS-Fuzz: Memory leak for zero-length MAKERNOTE
/PHP-7.4/ext/ffi/
H A Dffi.c109 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 D027.phpt2 FFI 027: Incomplete and variable length arrays
H A D100.phpt26 void $fastcall zend_str_tolower(char *str, size_t length);
H A D101.phpt26 void $fastcall zend_str_tolower(char *str, size_t length);
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch3580 + ms->search.rm_len = Z_STRLEN_P(match) /* This is the length of the matched pattern */;
/PHP-7.4/ext/fileinfo/tests/
H A Dbug68735.phpt15 string(%d) "JPEG image data, JFIF standard 1.01, resolution (DPI), density 180x52, segment length 1…
H A Dbug68819_002.phpt14 // Total string length > 8192
H A Dmagic3258 # 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 Dmagic私はガラスを食べられます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 Dlogical_filters.c952 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 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 …]
H A Dgd_png.c81 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 Dbug66590.phpt2 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 Dbug66590_1.phpt2 Bug #66590 (imagewebp() doesn't pad to even length) - segfault
H A Dbug75111.phpt12 $str .= pack("V", 40); // length of header
/PHP-7.4/ext/gmp/tests/
H A Dgmp_import.phpt77 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 Dhash.c459 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 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()
H A Dhash_snefru.c150 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 Dhash_tiger.c142 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 Dphp_hash_gost.h28 unsigned char length; member
H A Dphp_hash_snefru.h32 unsigned char length; member
H A Dphp_hash_tiger.h28 size_t length; member

Completed in 220 milliseconds

12345678910>>...24