Lines Matching defs:idx
250 dwfl_module_relocation_info (Dwfl_Module *mod, unsigned int idx,
262 if (idx != 0)
277 if (idx >= sections->count)
281 *shndxp = elf_ndxscn (sections->refs[idx].scn);
283 return sections->refs[idx].name;
330 size_t idx = (l + u) / 2;
331 if (*addr < sections->refs[idx].start)
332 u = idx;
333 else if (*addr > sections->refs[idx].end)
334 l = idx + 1;
340 if (*addr == sections->refs[idx].end
341 && idx < sections->count
342 && *addr == sections->refs[idx + 1].start)
343 ++idx;
345 *addr -= sections->refs[idx].start;
346 return idx;
387 int idx = find_section (mod, address);
388 if (idx < 0)
391 if (mod->reloc_info->refs[idx].relocs != NULL)
395 Elf_Scn *tscn = mod->reloc_info->refs[idx].scn;
396 Elf_Scn *relocscn = mod->reloc_info->refs[idx].relocs;
400 mod->reloc_info->refs[idx].relocs = NULL;
409 return mod->reloc_info->refs[idx].scn;