Lines Matching refs:offset

30 	const uintptr_t last_addr = first_addr + symtab->entries[symtab->length - 1].offset;  in ZTEST()
31 uint32_t offset; in ZTEST() local
38 offset = -1; in ZTEST()
39 symbol_name = symtab_find_symbol_name((uintptr_t)main, &offset); in ZTEST()
41 zassert_equal(offset, 0); in ZTEST()
80 uint32_t offset; in ZTEST() local
84 offset = -1; in ZTEST()
85 symbol_name = symtab_find_symbol_name(first_addr - 1, &offset); in ZTEST()
87 zassert_equal(offset, 0); in ZTEST()
97 uint32_t offset; in ZTEST() local
99 offset = -1; in ZTEST()
100 symbol_name = symtab_find_symbol_name(first_addr, &offset); in ZTEST()
102 zassert_equal(offset, 0); in ZTEST()
104 if ((symtab->entries[0].offset + 1) != symtab->entries[1].offset) { in ZTEST()
105 offset = -1; in ZTEST()
106 symbol_name = symtab_find_symbol_name(first_addr + 1, &offset); in ZTEST()
108 zassert_equal(offset, 1); in ZTEST()
116 const uintptr_t last_addr = first_addr + symtab->entries[last_idx].offset; in ZTEST()
118 uint32_t offset; in ZTEST() local
120 offset = -1; in ZTEST()
121 symbol_name = symtab_find_symbol_name(last_addr, &offset); in ZTEST()
123 zassert_equal(offset, 0); in ZTEST()
129 const uintptr_t last_offset = symtab->entries[symtab->length - 1].offset; in ZTEST()
132 uint32_t offset; in ZTEST() local
135 if (last_offset + 0x1 != symtab->entries[symtab->length].offset) { in ZTEST()
136 offset = -1; in ZTEST()
137 symbol_name = symtab_find_symbol_name(last_addr + 0x1, &offset); in ZTEST()
140 zassert_equal(offset, 0x1); in ZTEST()
149 const uintptr_t last_dummy_offset = symtab->entries[symtab->length].offset; in ZTEST()
152 uint32_t offset; in ZTEST() local
155 offset = -1; in ZTEST()
156 symbol_name = symtab_find_symbol_name(last_dummy_addr + 0x42, &offset); in ZTEST()
158 zassert_equal(offset, 0); in ZTEST()