/php-src/ext/enchant/ |
H A D | enchant.c | 195 enchant_broker_handlers.offset = XtOffsetOf(enchant_broker, std); in PHP_MINIT_FUNCTION() 205 enchant_dict_handlers.offset = XtOffsetOf(enchant_dict, std); in PHP_MINIT_FUNCTION()
|
/php-src/ext/exif/ |
H A D | exif.c | 1282 int offset; member 1926 size_t offset; member 2051 return UINTPTR_MAX - (uintptr_t) ptr < offset; in ptr_offset_overflows() 2069 if (ptr_offset_overflows(info->offset_base, offset)) { in exif_offset_info_try_get() 2073 start = info->offset_base + offset; in exif_offset_info_try_get() 2968 || ImageInfo->Thumbnail.offset <= 0 in exif_thumbnail_extract() 3188 dir_start = value_ptr + maker_note->offset; in exif_process_IFD_in_MAKERNOTE() 3239 size_t offset = 2 + 12 * de; in exif_process_IFD_in_MAKERNOTE() local 3240 if (!exif_process_IFD_TAG(ImageInfo, dir_start + offset, in exif_process_IFD_in_MAKERNOTE() 3672 && ImageInfo->Thumbnail.offset in exif_process_IFD_in_JPEG() [all …]
|
/php-src/ext/exif/tests/bug50660/ |
H A D | bug50660.phpt | 2 Bug #50660 (exif_read_data(): Illegal IFD offset (works fine with other exif readers))
|
/php-src/ext/exif/tests/ |
H A D | bug60150.phpt | 14 Warning: exif_read_data(bug60150.jpg): Process tag(x9003=DateTimeOriginal): Illegal pointer offset(…
|
H A D | bug72094.phpt | 26 Warning: exif_read_data(bug72094_1.jpg): Illegal IFD offset in %sbug72094.php on line %d
|
H A D | bug77563.phpt | 11 Warning: exif_thumbnail(bug77563.jpg): IFD data too short: 0x0009 offset 0x0008 in %s%ebug77563.php… 13 Warning: exif_thumbnail(bug77563.jpg): Illegal IFD offset in %s%ebug77563.php on line %d
|
H A D | bug78910.phpt | 16 Warning: exif_read_data(): IFD data too short: 0x0000 offset 0x000C in %s on line %d
|
H A D | gh10834.phpt | 26 function stream_seek($offset, $whence) { 29 if ($offset < strlen($this->data) && $offset >= 0) { 30 $this->position = $offset; 37 if ($offset >= 0) { 38 $this->position += $offset; 45 if (strlen($this->data) + $offset >= 0) { 46 $this->position = strlen($this->data) + $offset;
|
/php-src/ext/exif/tests/bug77564/ |
H A D | bug77564.phpt | 12 Warning: exif_read_data(bug77564.jpg): Illegal IFD offset in %sbug77564.php on line %d
|
/php-src/ext/ffi/ |
H A D | ffi.c | 139 size_t offset; member 1436 if (offset == NULL) { in zend_ffi_cdata_write_dim() 1441 dim = zval_get_long(offset); in zend_ffi_cdata_write_dim() 1851 zend_long offset; in zend_ffi_cdata_do_operation() local 3113 if (old_field->offset != field->offset in zend_ffi_same_types() 4826 RETURN_LONG(ptr->offset); in ZEND_METHOD() 6099 field->offset = 0; 6158 new_field->offset = field->offset; 6160 new_field->offset = struct_type->size + field->offset; 6246 field->offset = 0; [all …]
|
/php-src/ext/ffi/tests/ |
H A D | gh7867.phpt | 19 echo 'cast with offset' . PHP_EOL; 51 cast with offset
|
/php-src/ext/fileinfo/ |
H A D | fileinfo.c | 114 finfo_object_handlers.offset = XtOffsetOf(finfo_object, zo); in PHP_MINIT_FUNCTION()
|
H A D | libmagic.patch | 855 m->offset = swap4(CAST(uint32_t, m->offset)); 2230 ms->offset = pb->offset; 3020 size_t nmagic, const struct buffer *b, size_t offset, int mode, int text, 3151 file_printf(ms, F(ms, m->desc, "%u"), offset) == -1) 3174 offset + o, mode, text, flip, indir_count, name_count, 3309 - ms->search.offset += CAST(size_t, pmatch.rm_so); 3355 + zval *match, *offset; 3357 + (offset = zend_hash_index_find(Z_ARRVAL_P(pzval), 1))) { 3358 + if (Z_TYPE_P(match) != IS_STRING && Z_TYPE_P(offset) != IS_LONG) { 3361 + ms->search.s += Z_LVAL_P(offset); /* this is where the match starts */ [all …]
|
/php-src/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 2066 m->offset = CAST(int32_t, strtol(l, &t, 0)); in parse() 3565 m->offset = swap4(CAST(uint32_t, m->offset));
|
H A D | der.c | 275 DPRINTF(("%s1: %u %" SIZE_T_FORMAT "u %d\n", __func__, ms->offset, in der_offs() 276 offs, m->offset)); in der_offs() 283 DPRINTF(("%s2: %u %" SIZE_T_FORMAT "u %u\n", __func__, ms->offset, in der_offs() 286 offs += ms->offset + m->offset; in der_offs() 321 DPRINTF(("%s1: %d %" SIZE_T_FORMAT "u %d\n", __func__, ms->offset, in der_cmp() 322 offs, m->offset)); in der_cmp()
|
H A D | file.h | 343 int32_t offset; /* offset to magic number */ member 455 uint32_t offset; /* a copy of m->offset while we */ member 470 size_t offset; /* starting offset in source: XXX - should this be off_t? */ member 608 uint32_t offset; member
|
H A D | funcs.c | 704 pb->offset = ms->offset; in file_push_buffer() 708 ms->offset = 0; in file_push_buffer() 728 ms->offset = pb->offset; in file_pop_buffer()
|
H A D | print.c | 56 (m->cont_level & 7) + 1, ">>>>>>>>", m->offset); in file_mdump()
|
H A D | softmagic.c | 1347 ms->search.offset = offset; in mcopy() 1397 ms->search.offset = offset; in mcopy() 1508 offset = lhs; in do_ops() 1510 offset = ~offset; in do_ops() 1526 offset = -m->offset; in msetoffset() 1549 offset = m->offset; in msetoffset() 1554 ms->offset = offset; in msetoffset() 1557 ms->offset = ms->eoffset + offset; in msetoffset() 1599 uint32_t eoffset, offset = ms->offset; in mget() local 1814 ms->offset = offset; in mget() [all …]
|
/php-src/ext/fileinfo/tests/ |
H A D | bug61964-mb.phpt | 53 Warning: finfo_open(): offset `string' invalid in %sbug61964-mb.php on line %d 55 Warning: finfo_open(): offset ` Core' invalid in %sbug61964-mb.php on line %d 57 Warning: finfo_open(): offset ` Me' invalid in %sbug61964-mb.php on line %d 59 Warning: finfo_open(): offset `a' invalid in %sbug61964-mb.php on line %d 61 Warning: finfo_open(): offset `b' invalid in %sbug61964-mb.php on line %d
|
H A D | bug61964.phpt | 53 Warning: finfo_open(): offset `string' invalid in %sbug61964.php on line %d 55 Warning: finfo_open(): offset ` Core' invalid in %sbug61964.php on line %d 57 Warning: finfo_open(): offset ` Me' invalid in %sbug61964.php on line %d 59 Warning: finfo_open(): offset `a' invalid in %sbug61964.php on line %d 61 Warning: finfo_open(): offset `b' invalid in %sbug61964.php on line %d
|
H A D | magic | 8478 >>-0 offset >48 9523 # is the offset 12 or the offset 16 correct? 12599 #offset is 128 20372 # The first file offset usually starts at file offset 0x1004 24263 # payload-offset; start offset of the bulk data 30867 # 32-bit offset 30876 # 16-bit offset 31165 # offset 0x58. 32593 # offset = ((offset[0] - 192) << 8) + offset[1] + 192 (for the length header) 32704 # offset = ((offset[0] - 192) << 8) + offset[1] + 192 + 1 (for the length header) [all …]
|
H A D | magic私はガラスを食べられます | 8478 >>-0 offset >48 9523 # is the offset 12 or the offset 16 correct? 12599 #offset is 128 20372 # The first file offset usually starts at file offset 0x1004 24263 # payload-offset; start offset of the bulk data 30867 # 32-bit offset 30876 # 16-bit offset 31165 # offset 0x58. 32593 # offset = ((offset[0] - 192) << 8) + offset[1] + 192 (for the length header) 32704 # offset = ((offset[0] - 192) << 8) + offset[1] + 192 + 1 (for the length header) [all …]
|
/php-src/ext/filter/ |
H A D | logical_filters.c | 854 int offset = 8 - blocks; in _php_filter_validate_ipv6() local 855 for (i = 7; i > compressed_pos + offset; i--) { in _php_filter_validate_ipv6() 856 ip[i] = ip[i - offset]; in _php_filter_validate_ipv6() 858 for (i = compressed_pos + offset; i >= compressed_pos; i--) { in _php_filter_validate_ipv6() 980 int tokens, length, i, offset, exp_separator_set; in php_filter_validate_mac() local 1024 offset = i * (length + 1); in php_filter_validate_mac() 1026 if (i < tokens - 1 && input[offset + length] != separator) { in php_filter_validate_mac() 1030 if (php_filter_parse_hex(input + offset, length, &ret) < 0) { in php_filter_validate_mac()
|
/php-src/ext/ftp/ |
H A D | ftp.stub.php | 107 …onnection $ftp, $stream, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0): bool {} 110 …Connection $ftp, $stream, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0): int {} 112 … string $local_filename, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0): bool {} 113 …ng $local_filename, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0): int|false {} 117 …onnection $ftp, string $remote_filename, $stream, int $mode = FTP_BINARY, int $offset = 0): bool {} 120 …Connection $ftp, string $remote_filename, $stream, int $mode = FTP_BINARY, int $offset = 0): int {} 121 … string $remote_filename, string $local_filename, int $mode = FTP_BINARY, int $offset = 0): bool {} 123 …ng $remote_filename, string $local_filename, int $mode = FTP_BINARY, int $offset = 0): int|false {}
|