Home
last modified time | relevance | path

Searched refs:scn1 (Results 1 – 6 of 6) sorted by relevance

/external/elfutils/tests/
Dasm-tst3.c58 AsmScn_t *scn1; in main() local
84 scn1 = asm_newscn (ctx, ".data", SHT_PROGBITS, SHF_ALLOC | SHF_WRITE); in main()
85 scn2 = asm_newsubscn (scn1, 1); in main()
86 if (scn1 == NULL || scn2 == NULL) in main()
94 if (asm_align (scn1, 16) != 0) in main()
101 if (asm_newsym (scn1, "one", 4, STT_OBJECT, STB_GLOBAL) == NULL) in main()
106 if (asm_addstrz (scn1, "one", 4) != 0) in main()
121 if (asm_newsym (scn1, "two", 4, STT_OBJECT, STB_LOCAL) == NULL) in main()
126 if (asm_addstrz (scn1, "two", 4) != 0) in main()
Dasm-tst2.c66 AsmScn_t *scn1; in main() local
92 scn1 = asm_newscn (ctx, ".data", SHT_PROGBITS, SHF_ALLOC | SHF_WRITE); in main()
93 scn2 = asm_newsubscn (scn1, 1); in main()
94 if (scn1 == NULL || scn2 == NULL) in main()
102 if (asm_align (scn1, 16) != 0) in main()
109 if (asm_addstrz (scn1, "one", 4) != 0) in main()
119 if (asm_addstrz (scn1, "two", 4) != 0) in main()
Dasm-tst1.c67 AsmScn_t *scn1; in main() local
93 scn1 = asm_newscn (ctx, ".text", SHT_PROGBITS, SHF_ALLOC | SHF_EXECINSTR); in main()
95 if (scn1 == NULL || scn2 == NULL) in main()
103 if (asm_align (scn1, 32) != 0) in main()
Dfillfile.c366 Elf_Scn *scn1 = NULL; in check_elf() local
382 scn1 = scn; in check_elf()
392 if (scn1 == NULL) in check_elf()
397 data = elf_getdata (scn1, NULL); in check_elf()
/external/elfutils/src/
Delfcmp.c256 Elf_Scn *scn1 = NULL; in main() local
267 scn1 = elf_nextscn (elf1, scn1); in main()
268 shdr1 = gelf_getshdr (scn1, &shdr1_mem); in main()
272 while (scn1 != NULL && shdr1 != NULL in main()
288 if (scn1 == NULL || scn2 == NULL || shdr1 == NULL || shdr2 == NULL) in main()
308 fname1, fname2, elf_ndxscn (scn1), elf_ndxscn (scn2)); in main()
331 fname1, fname2, elf_ndxscn (scn1), sname1); in main()
335 Elf_Data *data1 = elf_getdata (scn1, NULL); in main()
339 elf_ndxscn (scn1), fname1, elf_errmsg (-1)); in main()
354 elf_ndxscn (scn1), fname1); in main()
[all …]
/external/elfutils/libelf/
Delf32_updatenull.c176 struct Elf_Scn *scn1 = NULL; in __elfw2() local
197 scn1 = &list->data[1]; in __elfw2()
199 scn1 = &list->next->data[0]; in __elfw2()
203 if (scn1 != NULL && scn1->shdr.ELFW(e,LIBELFBITS) == NULL) in __elfw2()
204 (void) __elfw2(LIBELFBITS,getshdr_wrlock) (scn1); in __elfw2()