Lines Matching refs:pos
295 size_t pos, count = 0; in gdb_mem_read_unaligned() local
298 for (pos = 0; pos < len; pos++) { in gdb_mem_read_unaligned()
299 data = *(uint8_t *)(addr + pos); in gdb_mem_read_unaligned()
315 size_t read_sz, pos; in gdb_mem_read_aligned() local
339 pos = addr & (align - 1); in gdb_mem_read_aligned()
340 read_sz = MIN(len, align - pos); in gdb_mem_read_aligned()
350 count += gdb_bin2hex(&data.b8[pos], read_sz, in gdb_mem_read_aligned()
368 pos = 0; in gdb_mem_read_aligned()
449 size_t pos, write_sz; in gdb_mem_write_aligned() local
483 pos = addr & (align - 1); in gdb_mem_write_aligned()
484 write_sz = MIN(len, align - pos); in gdb_mem_write_aligned()
493 &data.b8[pos], write_sz); in gdb_mem_write_aligned()
530 pos = 0; in gdb_mem_write_aligned()