Home
last modified time | relevance | path

Searched refs:scn1 (Results 1 – 4 of 4) 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()
/external/elfutils/src/
Delfcmp.c242 Elf_Scn *scn1 = NULL; in main() local
253 scn1 = elf_nextscn (elf1, scn1); in main()
254 shdr1 = gelf_getshdr (scn1, &shdr1_mem); in main()
258 while (scn1 != NULL in main()
274 if (scn1 == NULL || scn2 == NULL) in main()
294 fname1, fname2, elf_ndxscn (scn1), elf_ndxscn (scn2)); in main()
317 fname1, fname2, elf_ndxscn (scn1), sname1); in main()
321 Elf_Data *data1 = elf_getdata (scn1, NULL); in main()
325 elf_ndxscn (scn1), fname1, elf_errmsg (-1)); in main()
340 elf_ndxscn (scn1), fname1); in main()
[all …]