Home
last modified time | relevance | path

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

/external/elfutils/tests/
Dasm-tst3.c57 AsmScn_t *scn1; in main() local
83 scn1 = asm_newscn (ctx, ".data", SHT_PROGBITS, SHF_ALLOC | SHF_WRITE); in main()
84 scn2 = asm_newsubscn (scn1, 1); in main()
85 if (scn1 == NULL || scn2 == NULL) in main()
93 if (asm_align (scn1, 16) != 0) in main()
100 if (asm_newsym (scn1, "one", 4, STT_OBJECT, STB_GLOBAL) == NULL) in main()
105 if (asm_addstrz (scn1, "one", 4) != 0) in main()
120 if (asm_newsym (scn1, "two", 4, STT_OBJECT, STB_LOCAL) == NULL) in main()
125 if (asm_addstrz (scn1, "two", 4) != 0) in main()
Dasm-tst2.c65 AsmScn_t *scn1; in main() local
91 scn1 = asm_newscn (ctx, ".data", SHT_PROGBITS, SHF_ALLOC | SHF_WRITE); in main()
92 scn2 = asm_newsubscn (scn1, 1); in main()
93 if (scn1 == NULL || scn2 == NULL) in main()
101 if (asm_align (scn1, 16) != 0) in main()
108 if (asm_addstrz (scn1, "one", 4) != 0) in main()
118 if (asm_addstrz (scn1, "two", 4) != 0) in main()
Dasm-tst1.c66 AsmScn_t *scn1; in main() local
92 scn1 = asm_newscn (ctx, ".text", SHT_PROGBITS, SHF_ALLOC | SHF_EXECINSTR); in main()
94 if (scn1 == NULL || scn2 == NULL) in main()
102 if (asm_align (scn1, 32) != 0) in main()
Dfillfile.c365 Elf_Scn *scn1 = NULL; in check_elf() local
381 scn1 = scn; in check_elf()
391 if (scn1 == NULL) in check_elf()
396 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 in main()
288 if (scn1 == NULL || scn2 == 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.c172 struct Elf_Scn *scn1 = NULL; in __elfw2() local
193 scn1 = &list->data[1]; in __elfw2()
195 scn1 = &list->next->data[0]; in __elfw2()
199 if (scn1 != NULL && scn1->shdr.ELFW(e,LIBELFBITS) == NULL) in __elfw2()
200 (void) __elfw2(LIBELFBITS,getshdr_wrlock) (scn1); in __elfw2()