Home
last modified time | relevance | path

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

/hardware/google/apf/
Dapf_interpreter.c124 uint32_t offs = imm; in accept_packet() local
127 offs += registers[1]; in accept_packet()
129 ASSERT_IN_PACKET_BOUNDS(offs); in accept_packet()
147 const uint32_t end_offs = offs + (load_size - 1); in accept_packet()
149 ASSERT_RETURN(end_offs >= offs); in accept_packet()
153 val = (val << 8) | packet[offs++]; in accept_packet()
283 uint32_t offs = OTHER_REG + signed_imm; in accept_packet() local
289 if (offs & 0x80000000) { in accept_packet()
290 offs = ram_len + offs; // unsigned overflow intended in accept_packet()
292 ASSERT_IN_DATA_BOUNDS(offs, size); in accept_packet()
[all …]
Ddisassembler.c326 uint32_t offs = DECODE_IMM(1 << (len_field - 1)); in apf_disassemble() local
350 print_jump_target(end + offs, program_len); in apf_disassemble()
/hardware/google/apf/v4/
Dapf_interpreter.c124 uint32_t offs = imm; in accept_packet() local
127 offs += registers[1]; in accept_packet()
129 ASSERT_IN_PACKET_BOUNDS(offs); in accept_packet()
147 const uint32_t end_offs = offs + (load_size - 1); in accept_packet()
149 ASSERT_RETURN(end_offs >= offs); in accept_packet()
153 val = (val << 8) | packet[offs++]; in accept_packet()
283 uint32_t offs = OTHER_REG + signed_imm; in accept_packet() local
289 if (offs & 0x80000000) { in accept_packet()
290 offs = ram_len + offs; // unsigned overflow intended in accept_packet()
292 ASSERT_IN_DATA_BOUNDS(offs, size); in accept_packet()
[all …]
/hardware/google/apf/v7/
Dapf_interpreter_source.c220 u32 offs = imm; in do_apf_run() local
222 if (opcode >= LDBX_OPCODE) offs += ctx->R[1]; in do_apf_run()
223 ASSERT_IN_PACKET_BOUNDS(offs); in do_apf_run()
241 const u32 end_offs = offs + (load_size - 1); in do_apf_run()
244 ASSERT_RETURN(end_offs >= offs); in do_apf_run()
246 while (load_size--) val = (val << 8) | read_packet_u8(ctx, offs++); in do_apf_run()
509 u32 offs = OTHER_REG + (u32)signed_imm; in do_apf_run() local
513 if (offs & 0x80000000) offs += ctx->ram_len; // unsigned overflow intended in do_apf_run()
514 ASSERT_IN_DATA_BOUNDS(offs, size); in do_apf_run()
517 while (size--) val = (val << 8) | ctx->program[offs++]; in do_apf_run()
[all …]
Dapf_interpreter.c766 u32 offs = imm; in do_apf_run() local
768 if (opcode >= LDBX_OPCODE) offs += ctx->R[1]; in do_apf_run()
769 ASSERT_IN_PACKET_BOUNDS(offs); in do_apf_run()
787 const u32 end_offs = offs + (load_size - 1); in do_apf_run()
790 ASSERT_RETURN(end_offs >= offs); in do_apf_run()
792 while (load_size--) val = (val << 8) | read_packet_u8(ctx, offs++); in do_apf_run()
1055 u32 offs = OTHER_REG + (u32)signed_imm; in do_apf_run() local
1059 if (offs & 0x80000000) offs += ctx->ram_len; /* unsigned overflow intended */ in do_apf_run()
1060 ASSERT_IN_DATA_BOUNDS(offs, size); in do_apf_run()
1063 while (size--) val = (val << 8) | ctx->program[offs++]; in do_apf_run()
[all …]
/hardware/google/apf/v6/
Dapf_interpreter.c758 u32 offs = imm; in do_apf_run() local
760 if (opcode >= LDBX_OPCODE) offs += ctx->R[1]; in do_apf_run()
761 ASSERT_IN_PACKET_BOUNDS(offs); in do_apf_run()
779 const u32 end_offs = offs + (load_size - 1); in do_apf_run()
782 ASSERT_RETURN(end_offs >= offs); in do_apf_run()
784 while (load_size--) val = (val << 8) | ctx->packet[offs++]; in do_apf_run()
1045 u32 offs = OTHER_REG + (u32)signed_imm; in do_apf_run() local
1049 if (offs & 0x80000000) offs += ctx->ram_len; /* unsigned overflow intended */ in do_apf_run()
1050 ASSERT_IN_DATA_BOUNDS(offs, size); in do_apf_run()
1053 while (size--) val = (val << 8) | ctx->program[offs++]; in do_apf_run()
[all …]
/hardware/google/apf/devtools/
Dapf_interpreter.c766 u32 offs = imm; in do_apf_run() local
768 if (opcode >= LDBX_OPCODE) offs += ctx->R[1]; in do_apf_run()
769 ASSERT_IN_PACKET_BOUNDS(offs); in do_apf_run()
787 const u32 end_offs = offs + (load_size - 1); in do_apf_run()
790 ASSERT_RETURN(end_offs >= offs); in do_apf_run()
792 while (load_size--) val = (val << 8) | read_packet_u8(ctx, offs++); in do_apf_run()
1055 u32 offs = OTHER_REG + (u32)signed_imm; in do_apf_run() local
1059 if (offs & 0x80000000) offs += ctx->ram_len; /* unsigned overflow intended */ in do_apf_run()
1060 ASSERT_IN_DATA_BOUNDS(offs, size); in do_apf_run()
1063 while (size--) val = (val << 8) | ctx->program[offs++]; in do_apf_run()
[all …]
/hardware/google/aemu/base/
DSubAllocator_unittest.cpp238 uint64_t offs[numBufs]; in TEST() local
241 offs[i] = subAlloc.getOffset(bufs[i]); in TEST()
274 EXPECT_EQ(offs[i], subAlloc.getOffset(bufs[i])); in TEST()
/hardware/google/gfxstream/guest/mesa/src/util/format/
Du_format_fxt1.c1203 uint32_t offs = 0 + (y + 0) * srcRowStride; in fxt1_encode() local
1206 lines[0] = &data[offs]; in fxt1_encode()
1210 offs += 8 * comps; in fxt1_encode()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_EXT_shader_tile_image.adoc495 … size and tile dimensions so that applications can make performance trade-offs on tile size vs sto…
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dsparsemem.adoc577 / performance trade-offs measured.