Lines Matching refs:shdr

240   const Shdr* shdr =  in TYPED_TEST()  local
242 EXPECT_EQ(0U, shdr[0].sh_name); in TYPED_TEST()
243 EXPECT_EQ(static_cast<unsigned int>(SHT_NULL), shdr[0].sh_type); in TYPED_TEST()
244 EXPECT_EQ(0U, shdr[0].sh_flags); in TYPED_TEST()
245 EXPECT_EQ(0U, shdr[0].sh_addr); in TYPED_TEST()
246 EXPECT_EQ(0U, shdr[0].sh_offset); in TYPED_TEST()
247 EXPECT_EQ(0U, shdr[0].sh_size); in TYPED_TEST()
248 EXPECT_EQ(0U, shdr[0].sh_link); in TYPED_TEST()
249 EXPECT_EQ(0U, shdr[0].sh_info); in TYPED_TEST()
250 EXPECT_EQ(0U, shdr[0].sh_addralign); in TYPED_TEST()
251 EXPECT_EQ(0U, shdr[0].sh_entsize); in TYPED_TEST()
253 EXPECT_EQ(1U, shdr[1].sh_name); in TYPED_TEST()
254 EXPECT_EQ(static_cast<unsigned int>(SHT_STRTAB), shdr[1].sh_type); in TYPED_TEST()
255 EXPECT_EQ(0U, shdr[1].sh_flags); in TYPED_TEST()
256 EXPECT_EQ(0U, shdr[1].sh_addr); in TYPED_TEST()
257 EXPECT_EQ(sizeof(Ehdr), shdr[1].sh_offset); in TYPED_TEST()
258 EXPECT_EQ(kStringTableSize, shdr[1].sh_size); in TYPED_TEST()
259 EXPECT_EQ(0U, shdr[1].sh_link); in TYPED_TEST()
260 EXPECT_EQ(0U, shdr[1].sh_info); in TYPED_TEST()
261 EXPECT_EQ(0U, shdr[1].sh_addralign); in TYPED_TEST()
262 EXPECT_EQ(0U, shdr[1].sh_entsize); in TYPED_TEST()
315 const Shdr* shdr = in TYPED_TEST() local
317 EXPECT_EQ(0U, shdr[0].sh_name); in TYPED_TEST()
318 EXPECT_EQ(static_cast<unsigned int>(SHT_NULL), shdr[0].sh_type); in TYPED_TEST()
319 EXPECT_EQ(0U, shdr[0].sh_flags); in TYPED_TEST()
320 EXPECT_EQ(0U, shdr[0].sh_addr); in TYPED_TEST()
321 EXPECT_EQ(0U, shdr[0].sh_offset); in TYPED_TEST()
322 EXPECT_EQ(0U, shdr[0].sh_size); in TYPED_TEST()
323 EXPECT_EQ(0U, shdr[0].sh_link); in TYPED_TEST()
324 EXPECT_EQ(0U, shdr[0].sh_info); in TYPED_TEST()
325 EXPECT_EQ(0U, shdr[0].sh_addralign); in TYPED_TEST()
326 EXPECT_EQ(0U, shdr[0].sh_entsize); in TYPED_TEST()
328 EXPECT_EQ(1U, shdr[1].sh_name); in TYPED_TEST()
329 EXPECT_EQ(static_cast<unsigned int>(SHT_PROGBITS), shdr[1].sh_type); in TYPED_TEST()
330 EXPECT_EQ(0U, shdr[1].sh_flags); in TYPED_TEST()
331 EXPECT_EQ(0U, shdr[1].sh_addr); in TYPED_TEST()
332 EXPECT_EQ(sizeof(Ehdr) + sizeof(Phdr), shdr[1].sh_offset); in TYPED_TEST()
333 EXPECT_EQ(4094U, shdr[1].sh_size); in TYPED_TEST()
334 EXPECT_EQ(0U, shdr[1].sh_link); in TYPED_TEST()
335 EXPECT_EQ(0U, shdr[1].sh_info); in TYPED_TEST()
336 EXPECT_EQ(0U, shdr[1].sh_addralign); in TYPED_TEST()
337 EXPECT_EQ(0U, shdr[1].sh_entsize); in TYPED_TEST()
339 EXPECT_EQ(sizeof("\0.text"), shdr[2].sh_name); in TYPED_TEST()
340 EXPECT_EQ(static_cast<unsigned int>(SHT_NOBITS), shdr[2].sh_type); in TYPED_TEST()
341 EXPECT_EQ(0U, shdr[2].sh_flags); in TYPED_TEST()
342 EXPECT_EQ(0U, shdr[2].sh_addr); in TYPED_TEST()
343 EXPECT_EQ(0U, shdr[2].sh_offset); in TYPED_TEST()
344 EXPECT_EQ(16U, shdr[2].sh_size); in TYPED_TEST()
345 EXPECT_EQ(0U, shdr[2].sh_link); in TYPED_TEST()
346 EXPECT_EQ(0U, shdr[2].sh_info); in TYPED_TEST()
347 EXPECT_EQ(0U, shdr[2].sh_addralign); in TYPED_TEST()
348 EXPECT_EQ(0U, shdr[2].sh_entsize); in TYPED_TEST()
350 EXPECT_EQ(sizeof("\0.text\0.bss"), shdr[3].sh_name); in TYPED_TEST()
351 EXPECT_EQ(static_cast<unsigned int>(SHT_STRTAB), shdr[3].sh_type); in TYPED_TEST()
352 EXPECT_EQ(0U, shdr[3].sh_flags); in TYPED_TEST()
353 EXPECT_EQ(0U, shdr[3].sh_addr); in TYPED_TEST()
354 EXPECT_EQ(sizeof(Ehdr) + sizeof(Phdr) + 4096, shdr[3].sh_offset); in TYPED_TEST()
355 EXPECT_EQ(kStringTableSize, shdr[3].sh_size); in TYPED_TEST()
356 EXPECT_EQ(0U, shdr[3].sh_link); in TYPED_TEST()
357 EXPECT_EQ(0U, shdr[3].sh_info); in TYPED_TEST()
358 EXPECT_EQ(0U, shdr[3].sh_addralign); in TYPED_TEST()
359 EXPECT_EQ(0U, shdr[3].sh_entsize); in TYPED_TEST()