/PHP-8.0/ext/fileinfo/libmagic/ |
H A D | der.c | 271 if (gettag(b, &offs, len) == DER_BAD) { in der_offs() 276 offs, m->offset)); in der_offs() 278 uint32_t tlen = getlength(b, &offs, len); in der_offs() 284 offs, tlen)); in der_offs() 286 offs += ms->offset + m->offset; in der_offs() 294 if (offs + tlen > nbytes) in der_offs() 300 return CAST(int32_t, offs); in der_offs() 308 size_t offs = 0, len = ms->search.s_len; in der_cmp() local 314 tag = gettag(b, &offs, len); in der_cmp() 321 offs, m->offset)); in der_cmp() [all …]
|
H A D | cdf.c | 157 cdf_getuint32(const uint8_t *p, size_t offs) in cdf_getuint32() argument 160 (void)memcpy(&rv, p + offs * sizeof(uint32_t), sizeof(rv)); in cdf_getuint32() 392 cdf_read_sector(const cdf_info_t *info, void *buf, size_t offs, size_t len, in cdf_read_sector() argument 403 return cdf_read(info, CAST(off_t, pos), RCAST(char *, buf) + offs, len); in cdf_read_sector() 407 cdf_read_short_sector(const cdf_stream_t *sst, void *buf, size_t offs, in cdf_read_short_sector() argument 424 (void)memcpy(RCAST(char *, buf) + offs, in cdf_read_short_sector() 956 uint32_t offs, cdf_property_info_t **info, size_t *count, size_t *maxcount) in cdf_read_property_info() argument 964 if (offs > UINT32_MAX / 4) { in cdf_read_property_info() 969 cdf_offset(sst->sst_tab, offs)); in cdf_read_property_info() 991 p = CAST(const uint8_t *, cdf_offset(sst->sst_tab, offs + sizeof(sh))); in cdf_read_property_info() [all …]
|
/PHP-8.0/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativeARM_64.c | 922 sljit_s32 args, i, tmp, offs, prev, saved_regs_size; in sljit_emit_enter() local 947 offs = 2 << 15; in sljit_emit_enter() 953 FAIL_IF(push_inst(compiler, STP | RT(prev) | RT2(i) | RN(SLJIT_SP) | offs)); in sljit_emit_enter() 954 offs += 2 << 15; in sljit_emit_enter() 964 offs += 2 << 15; in sljit_emit_enter() 969 FAIL_IF(push_inst(compiler, STRI | RT(prev) | RN(SLJIT_SP) | (offs >> 5))); in sljit_emit_enter() 1065 sljit_s32 i, tmp, offs, prev, saved_regs_size; in sljit_emit_return() local 1098 offs = 2 << 15; in sljit_emit_return() 1105 offs += 2 << 15; in sljit_emit_return() 1115 offs += 2 << 15; in sljit_emit_return() [all …]
|
H A D | sljitNativePPC_common.c | 702 sljit_s32 args, i, tmp, offs; in sljit_emit_enter() local 709 offs = -(sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter() 714 offs -= (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter() 715 FAIL_IF(push_inst(compiler, STACK_STORE | S(i) | A(SLJIT_SP) | IMM(offs))); in sljit_emit_enter() 719 offs -= (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter() 780 sljit_s32 i, tmp, offs; in sljit_emit_return() local 804 FAIL_IF(push_inst(compiler, STACK_LOAD | D(i) | A(SLJIT_SP) | IMM(offs))); in sljit_emit_return() 805 offs += (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_return() 810 FAIL_IF(push_inst(compiler, STACK_LOAD | D(i) | A(SLJIT_SP) | IMM(offs))); in sljit_emit_return() 811 offs += (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_return() [all …]
|
H A D | sljitNativeMIPS_common.c | 756 sljit_s32 args, i, tmp, offs; in sljit_emit_enter() local 774 offs = local_size - (sljit_sw)sizeof(sljit_sw); in sljit_emit_enter() 782 offs = -(sljit_sw)sizeof(sljit_sw); in sljit_emit_enter() 789 offs -= (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter() 794 offs -= (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter() 829 sljit_s32 local_size, i, tmp, offs; in sljit_emit_return() local 852 FAIL_IF(push_inst(compiler, STACK_LOAD | base | T(i) | IMM(offs), DR(i))); in sljit_emit_return() 853 offs += (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_return() 858 FAIL_IF(push_inst(compiler, STACK_LOAD | base | T(i) | IMM(offs), DR(i))); in sljit_emit_return() 859 offs += (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_return() [all …]
|
H A D | sljitNativeARM_32.c | 1843 #define EMIT_FPU_DATA_TRANSFER(inst, add, base, freg, offs) \ argument 1844 ((inst) | ((add) << 23) | (reg_map[base] << 16) | (freg_map[freg] << 12) | (offs))
|