Home
last modified time | relevance | path

Searched refs:offs (Results 1 – 6 of 6) sorted by relevance

/PHP-8.1/ext/fileinfo/libmagic/
H A Dder.c270 if (gettag(b, &offs, len) == DER_BAD) { in der_offs()
275 offs, m->offset)); in der_offs()
277 uint32_t tlen = getlength(b, &offs, len); in der_offs()
283 offs, tlen)); in der_offs()
285 offs += ms->offset + m->offset; in der_offs()
293 if (offs + tlen > nbytes) in der_offs()
299 return CAST(int32_t, offs); in der_offs()
307 size_t offs = 0, len = ms->search.s_len; in der_cmp() local
313 tag = gettag(b, &offs, len); in der_cmp()
320 offs, m->offset)); in der_cmp()
[all …]
H A Dcdf.c157 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.1/ext/pcre/pcre2lib/sljit/
H A DsljitNativePPC_common.c703 sljit_s32 args, i, tmp, offs; in sljit_emit_enter() local
710 offs = -(sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter()
715 offs -= (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter()
716 FAIL_IF(push_inst(compiler, STACK_STORE | S(i) | A(SLJIT_SP) | IMM(offs))); in sljit_emit_enter()
720 offs -= (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter()
781 sljit_s32 i, tmp, offs; in sljit_emit_return() local
805 FAIL_IF(push_inst(compiler, STACK_LOAD | D(i) | A(SLJIT_SP) | IMM(offs))); in sljit_emit_return()
806 offs += (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_return()
811 FAIL_IF(push_inst(compiler, STACK_LOAD | D(i) | A(SLJIT_SP) | IMM(offs))); in sljit_emit_return()
812 offs += (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_return()
[all …]
H A DsljitNativeARM_64.c918 sljit_s32 args, i, tmp, offs, prev, saved_regs_size; in sljit_emit_enter() local
943 offs = 2 << 15; in sljit_emit_enter()
949 FAIL_IF(push_inst(compiler, STP | RT(prev) | RT2(i) | RN(SLJIT_SP) | offs)); in sljit_emit_enter()
950 offs += 2 << 15; in sljit_emit_enter()
960 offs += 2 << 15; in sljit_emit_enter()
965 FAIL_IF(push_inst(compiler, STRI | RT(prev) | RN(SLJIT_SP) | (offs >> 5))); in sljit_emit_enter()
1061 sljit_s32 i, tmp, offs, prev, saved_regs_size; in sljit_emit_return() local
1094 offs = 2 << 15; in sljit_emit_return()
1101 offs += 2 << 15; in sljit_emit_return()
1111 offs += 2 << 15; in sljit_emit_return()
[all …]
H A DsljitNativeMIPS_common.c757 sljit_s32 args, i, tmp, offs; in sljit_emit_enter() local
775 offs = local_size - (sljit_sw)sizeof(sljit_sw); in sljit_emit_enter()
783 offs = -(sljit_sw)sizeof(sljit_sw); in sljit_emit_enter()
790 offs -= (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter()
795 offs -= (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_enter()
830 sljit_s32 local_size, i, tmp, offs; in sljit_emit_return() local
853 FAIL_IF(push_inst(compiler, STACK_LOAD | base | T(i) | IMM(offs), DR(i))); in sljit_emit_return()
854 offs += (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_return()
859 FAIL_IF(push_inst(compiler, STACK_LOAD | base | T(i) | IMM(offs), DR(i))); in sljit_emit_return()
860 offs += (sljit_s32)(sizeof(sljit_sw)); in sljit_emit_return()
[all …]
H A DsljitNativeARM_32.c1922 #define EMIT_FPU_DATA_TRANSFER(inst, add, base, freg, offs) \ argument
1923 ((inst) | ((add) << 23) | (reg_map[base] << 16) | (freg_map[freg] << 12) | (offs))

Completed in 37 milliseconds