/external/elfutils/libasm/ |
asm_newscn_ingrp.c | 68 GElf_Shdr *shdr = gelf_getshdr (result->data.main.scn, &shdr_mem); local 70 assert (shdr != NULL); 71 shdr->sh_flags |= SHF_GROUP; 73 (void) gelf_update_shdr (result->data.main.scn, shdr);
|
asm_newscn.c | 108 GElf_Shdr *shdr; local 146 shdr = gelf_getshdr (scn, &shdr_mem); 148 shdr->sh_flags = flags; 149 result->type = shdr->sh_type = type; 151 (void) gelf_update_shdr (scn, shdr);
|
disasm_cb.c | 81 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 83 if (shdr == NULL || shdr->sh_type != SHT_SYMTAB 93 int nsyms = shdr->sh_size / shdr->sh_entsize;
|
/external/elfutils/libelf/ |
gelf_getshdr.c | 82 Elf32_Shdr *shdr local 83 = scn->shdr.e32 ?: __elf32_getshdr_rdlock (scn); 85 if (shdr == NULL) 92 dst->name = shdr->name 108 Elf64_Shdr *shdr local 109 = scn->shdr.e64 ?: __elf64_getshdr_rdlock (scn); 111 if (shdr == NULL) 118 result = memcpy (dst, shdr, sizeof (GElf_Shdr));
|
gelf_update_shdr.c | 75 Elf32_Shdr *shdr local 76 = scn->shdr.e32 ?: __elf32_getshdr_wrlock (scn); 78 if (shdr == NULL) 96 shdr->name = src->name 110 Elf64_Shdr *shdr local 111 = scn->shdr.e64 ?: __elf64_getshdr_wrlock (scn); 113 if (shdr == NULL) 120 (void) memcpy (shdr, src, sizeof (GElf_Shdr));
|
elf32_checksum.c | 121 GElf_Shdr *shdr; local 125 shdr = INTUSE(gelf_getshdr) (scn, &shdr_mem); 126 if (shdr == NULL) 133 if (SECTION_STRIP_P (shdr, 134 INTUSE(elf_strptr) (elf, shstrndx, shdr->sh_name), 140 if (shdr->sh_type == SHT_NOBITS)
|
elf_getdata.c | 202 Elf32_Shdr *shdr local 203 = scn->shdr.e32 ?: __elf32_getshdr_wrlock (scn); 205 if (shdr == NULL) 209 offset = shdr->sh_offset; 210 size = shdr->sh_size; 211 type = shdr->sh_type; 212 align = shdr->sh_addralign; 216 Elf64_Shdr *shdr local 217 = scn->shdr.e64 ?: __elf64_getshdr_wrlock (scn); 219 if (shdr == NULL [all...] |
nlist.c | 88 GElf_Shdr *shdr = NULL; local 117 shdr = INTUSE(gelf_getshdr) (scn, &shdr_mem); 118 if (shdr == NULL) 122 if (shdr->sh_type == SHT_SYMTAB) 129 if (shdr->sh_type == SHT_DYNSYM) 140 shdr = INTUSE(gelf_getshdr) (symscn, &shdr_mem); 141 /* SHDR->SH_LINK now contains the index of the string section. */ 149 nsyms = (shdr->sh_size 172 mem.str = INTUSE(elf_strptr) (elf, shdr->sh_link, sym->st_name);
|
/external/elfutils/tests/ |
scnnames.c | 84 GElf_Shdr shdr; local 86 if (gelf_getshdr (scn, &shdr) != NULL) 87 name = elf_strptr (elf, strndx, (size_t) shdr.sh_name);
|
asm-tst7.c | 108 GElf_Shdr *shdr; local 118 shdr = gelf_getshdr (scn, &shdr_mem); 119 if (shdr == NULL) 127 if (shdr->sh_type != SHT_SYMTAB) 130 for (cnt = 1; cnt< (shdr->sh_size
|
asm-tst8.c | 109 GElf_Shdr *shdr; local 119 shdr = gelf_getshdr (scn, &shdr_mem); 120 if (shdr == NULL) 128 if (shdr->sh_type != SHT_SYMTAB) 131 for (cnt = 1; cnt< (shdr->sh_size
|
update3.c | 50 Elf32_Shdr *shdr; local 125 shdr = elf32_getshdr (scn); 126 if (shdr == NULL) 134 shdr->sh_type = SHT_STRTAB; 135 shdr->sh_flags = 0; 136 shdr->sh_addr = 0; 137 shdr->sh_link = SHN_UNDEF; 138 shdr->sh_info = SHN_UNDEF; 139 shdr->sh_addralign = 1; 140 shdr->sh_entsize = 0 [all...] |
update4.c | 51 Elf32_Shdr *shdr; local 130 shdr = elf32_getshdr (scn); 131 if (shdr == NULL) 139 shdr->sh_type = SHT_PROGBITS; 140 shdr->sh_flags = SHF_ALLOC | SHF_EXECINSTR; 141 shdr->sh_addr = 0; 142 shdr->sh_link = 0; 143 shdr->sh_info = 0; 144 shdr->sh_entsize = 1; 166 shdr = elf32_getshdr (scn) [all...] |
asm-tst1.c | 166 GElf_Shdr *shdr; local 176 shdr = gelf_getshdr (scn, &shdr_mem); 177 if (shdr == NULL) 185 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), 189 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), 194 if (shdr->sh_type != (cnt == 3 ? SHT_STRTAB : SHT_PROGBITS)) 200 if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_EXECINSTR)) 201 || (cnt == 2 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE)) 202 || (cnt == 3 && shdr->sh_flags != 0)) 208 if (shdr->sh_addr != 0 [all...] |
asm-tst2.c | 182 GElf_Shdr *shdr; local 192 shdr = gelf_getshdr (scn, &shdr_mem); 193 if (shdr == NULL) 201 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), 205 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), 210 if (shdr->sh_type != (cnt == 2 ? SHT_STRTAB : SHT_PROGBITS)) 216 if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE)) 217 || (cnt == 2 && shdr->sh_flags != 0)) 223 if (shdr->sh_addr != 0) 229 if ((cnt == 1 && shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 15) & ~15) [all...] |
asm-tst9.c | 216 GElf_Shdr *shdr; local 226 shdr = gelf_getshdr (scn, &shdr_mem); 227 if (shdr == NULL) 235 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), 239 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), 244 if (shdr->sh_type != (cnt == 2 ? SHT_STRTAB : SHT_PROGBITS)) 250 if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE)) 251 || (cnt == 2 && shdr->sh_flags != 0)) 257 if (shdr->sh_addr != 0) 263 if ((cnt == 1 && shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 15) & ~15) [all...] |
sectiondump.c | 90 GElf_Shdr *shdr; local 96 shdr = gelf_getshdr (scn, &shdr_mem); 97 if (ehdr == NULL || shdr == NULL) 111 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), 112 shdr->sh_type, 113 shdr->sh_flags, 114 shdr->sh_addr, 115 shdr->sh_offset, 116 shdr->sh_size, 117 shdr->sh_link [all...] |
asm-tst3.c | 182 GElf_Shdr *shdr; local 192 shdr = gelf_getshdr (scn, &shdr_mem); 193 if (shdr == NULL) 201 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), 205 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), 210 if (shdr->sh_type != scntypes[cnt]) 216 if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE)) 217 || (cnt != 1 && shdr->sh_flags != 0)) 223 if (shdr->sh_addr != 0) 233 if (shdr->sh_link != 2 [all...] |
/external/chromium_org/content/common/gpu/media/ |
h264_parser_unittest.cc | 34 content::H264SliceHeader shdr; local 52 ASSERT_EQ(parser.ParseSliceHeader(nalu, &shdr), H264Parser::kOk);
|
/external/elfutils/libdwfl/ |
dwfl_module_addrsym.c | 80 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 81 if (likely (shdr != NULL) 82 && mod_addr >= shdr->sh_addr 83 && mod_addr < shdr->sh_addr + shdr->sh_size)
|
dwfl_module_build_id.c | 131 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 132 if (likely (shdr != NULL) && shdr->sh_type == SHT_NOTE) 134 (shdr->sh_flags & SHF_ALLOC) 135 ? shdr->sh_addr + mod->main.bias : NO_VADDR);
|
dwfl_report_elf.c | 90 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 91 if (unlikely (shdr == NULL)) 94 if (shdr->sh_flags & SHF_ALLOC) 96 const GElf_Xword align = shdr->sh_addralign ?: 1; 98 if (shdr->sh_addr == 0 104 shdr->sh_addr = next; 108 start = base = shdr->sh_addr; 145 end = shdr->sh_addr + shdr->sh_size; 146 if (likely (shdr->sh_addr != 0 [all...] |
/external/elfutils/backends/ |
ppc_symbol.c | 92 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 94 if (shdr != NULL && shdr->sh_type == SHT_DYNAMIC && data != NULL) 95 for (unsigned int j = 0; j < shdr->sh_size / shdr->sh_entsize; ++j)
|
/external/elfutils/libdw/ |
dwarf_begin_elf.c | 91 GElf_Shdr *shdr; local 94 shdr = gelf_getshdr (scn, &shdr_mem); 95 if (shdr == NULL) 103 if (unlikely (shdr->sh_type == SHT_NOBITS)) 111 if (! inscngrp && (shdr->sh_flags & SHF_GROUP) != 0) 119 shdr->sh_name);
|
/external/elfutils/src/ |
arlib.c | 246 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 247 if (shdr == NULL) 250 if (shdr->sh_type != symtype) 257 int nsyms = shdr->sh_size / shdr->sh_entsize; 258 for (int ndx = shdr->sh_info; ndx < nsyms; ++ndx) 270 const char *symname = elf_strptr (elf, shdr->sh_link, sym->st_name);
|