Lines Matching refs:offs
124 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()
294 val = (val << 8) | program[offs++]; in accept_packet()
299 uint32_t offs = OTHER_REG + signed_imm; in accept_packet() local
305 if (offs & 0x80000000) { in accept_packet()
306 offs = ram_len + offs; // unsigned overflow intended in accept_packet()
308 ASSERT_IN_DATA_BOUNDS(offs, size); in accept_packet()
310 program[offs++] = (val >> 24); in accept_packet()