Lines Matching refs:sym
47 void InitSym(TypeParam* sym, uint32_t st_value, uint32_t st_size, uint32_t st_name) { in InitSym() argument
48 memset(sym, 0, sizeof(*sym)); in InitSym()
49 sym->st_info = STT_FUNC; in InitSym()
50 sym->st_value = st_value; in InitSym()
51 sym->st_size = st_size; in InitSym()
52 sym->st_name = st_name; in InitSym()
53 sym->st_shndx = SHN_COMMON; in InitSym()
63 TypeParam sym; in TYPED_TEST_P() local
64 this->InitSym(&sym, 0x5000, 0x10, 0x40); in TYPED_TEST_P()
66 this->memory_.SetMemory(offset, &sym, sizeof(sym)); in TYPED_TEST_P()
90 TypeParam sym; in TYPED_TEST_P() local
91 this->InitSym(&sym, 0x5000, 0x10, 0x40); in TYPED_TEST_P()
93 this->memory_.SetMemory(offset, &sym, sizeof(sym)); in TYPED_TEST_P()
106 sym.st_info = 0; in TYPED_TEST_P()
107 this->memory_.SetMemory(offset, &sym, sizeof(sym)); in TYPED_TEST_P()
113 sym.st_info = STT_FUNC; in TYPED_TEST_P()
114 sym.st_shndx = SHN_UNDEF; in TYPED_TEST_P()
115 this->memory_.SetMemory(offset, &sym, sizeof(sym)); in TYPED_TEST_P()
124 TypeParam sym; in TYPED_TEST_P() local
128 this->InitSym(&sym, 0x5000, 0x10, 0x40); in TYPED_TEST_P()
129 this->memory_.SetMemory(offset, &sym, sizeof(sym)); in TYPED_TEST_P()
132 offset += sizeof(sym); in TYPED_TEST_P()
134 this->InitSym(&sym, 0x3004, 0x200, 0x100); in TYPED_TEST_P()
135 this->memory_.SetMemory(offset, &sym, sizeof(sym)); in TYPED_TEST_P()
138 offset += sizeof(sym); in TYPED_TEST_P()
140 this->InitSym(&sym, 0xa010, 0x20, 0x230); in TYPED_TEST_P()
141 this->memory_.SetMemory(offset, &sym, sizeof(sym)); in TYPED_TEST_P()
183 TypeParam sym; in TYPED_TEST_P() local
187 this->InitSym(&sym, 0x5000, 0x10, 0x40); in TYPED_TEST_P()
188 this->memory_.SetMemory(offset, &sym, sizeof(sym)); in TYPED_TEST_P()
193 this->InitSym(&sym, 0x3004, 0x200, 0x100); in TYPED_TEST_P()
194 this->memory_.SetMemory(offset, &sym, sizeof(sym)); in TYPED_TEST_P()
199 this->InitSym(&sym, 0xa010, 0x20, 0x230); in TYPED_TEST_P()
200 this->memory_.SetMemory(offset, &sym, sizeof(sym)); in TYPED_TEST_P()
225 TypeParam sym; in TYPED_TEST_P() local
228 this->InitSym(&sym, 0x5000, 0x10, 0xfb); in TYPED_TEST_P()
229 this->memory_.SetMemory(offset, &sym, sizeof(sym)); in TYPED_TEST_P()
230 offset += sizeof(sym); in TYPED_TEST_P()
232 this->InitSym(&sym, 0x3000, 0x10, 0x100); in TYPED_TEST_P()
233 this->memory_.SetMemory(offset, &sym, sizeof(sym)); in TYPED_TEST_P()
258 TypeParam sym; in TYPED_TEST_P() local
262 this->InitSym(&sym, 0x5000, 0x10, 0x100); in TYPED_TEST_P()
263 this->memory_.SetMemory(offset, &sym, sizeof(sym)); in TYPED_TEST_P()
264 offset += sizeof(sym); in TYPED_TEST_P()
266 this->InitSym(&sym, 0x2000, 0x300, 0x200); in TYPED_TEST_P()
267 this->memory_.SetMemory(offset, &sym, sizeof(sym)); in TYPED_TEST_P()
268 offset += sizeof(sym); in TYPED_TEST_P()
270 this->InitSym(&sym, 0x1000, 0x100, 0x300); in TYPED_TEST_P()
271 this->memory_.SetMemory(offset, &sym, sizeof(sym)); in TYPED_TEST_P()
272 offset += sizeof(sym); in TYPED_TEST_P()
310 TypeParam sym; in TYPED_TEST_P() local
311 memset(&sym, 0, sizeof(sym)); in TYPED_TEST_P()
312 sym.st_shndx = SHN_COMMON; in TYPED_TEST_P()
313 sym.st_info = STT_OBJECT | (STB_GLOBAL << 4); in TYPED_TEST_P()
314 sym.st_name = 0x100; in TYPED_TEST_P()
315 this->memory_.SetMemory(start_offset, &sym, sizeof(sym)); in TYPED_TEST_P()
318 start_offset += sizeof(sym); in TYPED_TEST_P()
319 memset(&sym, 0, sizeof(sym)); in TYPED_TEST_P()
320 sym.st_shndx = SHN_COMMON; in TYPED_TEST_P()
321 sym.st_info = STT_FUNC; in TYPED_TEST_P()
322 sym.st_name = 0x200; in TYPED_TEST_P()
323 sym.st_value = 0x10000; in TYPED_TEST_P()
324 sym.st_size = 0x100; in TYPED_TEST_P()
325 this->memory_.SetMemory(start_offset, &sym, sizeof(sym)); in TYPED_TEST_P()
328 start_offset += sizeof(sym); in TYPED_TEST_P()
329 memset(&sym, 0, sizeof(sym)); in TYPED_TEST_P()
330 sym.st_shndx = SHN_COMMON; in TYPED_TEST_P()
331 sym.st_info = STT_OBJECT | (STB_GLOBAL << 4); in TYPED_TEST_P()
332 sym.st_name = 0x300; in TYPED_TEST_P()
333 this->memory_.SetMemory(start_offset, &sym, sizeof(sym)); in TYPED_TEST_P()
336 start_offset += sizeof(sym); in TYPED_TEST_P()
337 memset(&sym, 0, sizeof(sym)); in TYPED_TEST_P()
338 sym.st_shndx = SHN_COMMON; in TYPED_TEST_P()
339 sym.st_info = STT_FUNC; in TYPED_TEST_P()
340 sym.st_name = 0x400; in TYPED_TEST_P()
341 sym.st_value = 0x12000; in TYPED_TEST_P()
342 sym.st_size = 0x100; in TYPED_TEST_P()
343 this->memory_.SetMemory(start_offset, &sym, sizeof(sym)); in TYPED_TEST_P()