Home
last modified time | relevance | path

Searched refs:shndxdata_scn (Results 1 – 2 of 2) sorted by relevance

/third_party/elfutils/libelf/
Dgelf_getsymshndx.c47 Elf_Data_Scn *shndxdata_scn = (Elf_Data_Scn *) shndxdata; in gelf_getsymshndx() local
55 || (likely (shndxdata_scn != NULL) in gelf_getsymshndx()
66 if (likely (shndxdata_scn != NULL)) in gelf_getsymshndx()
68 if (INVALID_NDX (ndx, Elf32_Word, &shndxdata_scn->d)) in gelf_getsymshndx()
74 shndx = ((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx]; in gelf_getsymshndx()
Dgelf_update_symshndx.c47 Elf_Data_Scn *shndxdata_scn = (Elf_Data_Scn *) shndxdata; in gelf_update_symshndx() local
69 if (shndxdata_scn != NULL) in gelf_update_symshndx()
71 if (unlikely ((ndx + 1) * sizeof (Elf32_Word) > shndxdata_scn->d.d_size)) in gelf_update_symshndx()
77 shndx = &((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx]; in gelf_update_symshndx()