Lines Matching refs:idx

87   for (size_t idx = 1; idx < entsize; ++idx) {  in readSymbols()  local
88 st_info = symtab[idx].st_info; in readSymbols()
89 st_other = symtab[idx].st_other; in readSymbols()
92 st_name = symtab[idx].st_name; in readSymbols()
93 st_value = symtab[idx].st_value; in readSymbols()
94 st_size = symtab[idx].st_size; in readSymbols()
95 st_shndx = symtab[idx].st_shndx; in readSymbols()
97 st_name = mcld::bswap32(symtab[idx].st_name); in readSymbols()
98 st_value = mcld::bswap32(symtab[idx].st_value); in readSymbols()
99 st_size = mcld::bswap32(symtab[idx].st_size); in readSymbols()
100 st_shndx = mcld::bswap16(symtab[idx].st_shndx); in readSymbols()
212 for (size_t idx = 0; idx < entsize; ++idx) { in readRela() local
218 .readRelocation(relaTab[idx], r_type, r_sym, r_offset, r_addend)) { in readRela()
241 for (size_t idx = 0; idx < entsize; ++idx) { in readRel() local
246 if (!target().readRelocation(relTab[idx], r_type, r_sym, r_offset)) in readRel()
384 for (size_t idx = 0; idx < shnum; ++idx) { in readSectionHeaders() local
386 sh_name = shdrTab[idx].sh_name; in readSectionHeaders()
387 sh_type = shdrTab[idx].sh_type; in readSectionHeaders()
388 sh_flags = shdrTab[idx].sh_flags; in readSectionHeaders()
389 sh_offset = shdrTab[idx].sh_offset; in readSectionHeaders()
390 sh_size = shdrTab[idx].sh_size; in readSectionHeaders()
391 sh_link = shdrTab[idx].sh_link; in readSectionHeaders()
392 sh_info = shdrTab[idx].sh_info; in readSectionHeaders()
393 sh_addralign = shdrTab[idx].sh_addralign; in readSectionHeaders()
395 sh_name = mcld::bswap32(shdrTab[idx].sh_name); in readSectionHeaders()
396 sh_type = mcld::bswap32(shdrTab[idx].sh_type); in readSectionHeaders()
397 sh_flags = mcld::bswap32(shdrTab[idx].sh_flags); in readSectionHeaders()
398 sh_offset = mcld::bswap32(shdrTab[idx].sh_offset); in readSectionHeaders()
399 sh_size = mcld::bswap32(shdrTab[idx].sh_size); in readSectionHeaders()
400 sh_link = mcld::bswap32(shdrTab[idx].sh_link); in readSectionHeaders()
401 sh_info = mcld::bswap32(shdrTab[idx].sh_info); in readSectionHeaders()
402 sh_addralign = mcld::bswap32(shdrTab[idx].sh_addralign); in readSectionHeaders()
499 for (size_t idx = 0; idx < numOfEntries; ++idx) { in readDynamic() local
504 d_tag = dynamic[idx].d_tag; in readDynamic()
505 d_val = dynamic[idx].d_un.d_val; in readDynamic()
507 d_tag = mcld::bswap32(dynamic[idx].d_tag); in readDynamic()
508 d_val = mcld::bswap32(dynamic[idx].d_un.d_val); in readDynamic()
587 for (size_t idx = 1; idx < entsize; ++idx) { in readSymbols() local
588 st_info = symtab[idx].st_info; in readSymbols()
589 st_other = symtab[idx].st_other; in readSymbols()
592 st_name = symtab[idx].st_name; in readSymbols()
593 st_value = symtab[idx].st_value; in readSymbols()
594 st_size = symtab[idx].st_size; in readSymbols()
595 st_shndx = symtab[idx].st_shndx; in readSymbols()
597 st_name = mcld::bswap32(symtab[idx].st_name); in readSymbols()
598 st_value = mcld::bswap64(symtab[idx].st_value); in readSymbols()
599 st_size = mcld::bswap64(symtab[idx].st_size); in readSymbols()
600 st_shndx = mcld::bswap16(symtab[idx].st_shndx); in readSymbols()
707 for (size_t idx = 0; idx < entsize; ++idx) { in readRela() local
713 .readRelocation(relaTab[idx], r_type, r_sym, r_offset, r_addend)) { in readRela()
736 for (size_t idx = 0; idx < entsize; ++idx) { in readRel() local
740 if (!target().readRelocation(relTab[idx], r_type, r_sym, r_offset)) in readRel()
878 for (size_t idx = 0; idx < shnum; ++idx) { in readSectionHeaders() local
880 sh_name = shdrTab[idx].sh_name; in readSectionHeaders()
881 sh_type = shdrTab[idx].sh_type; in readSectionHeaders()
882 sh_flags = shdrTab[idx].sh_flags; in readSectionHeaders()
883 sh_offset = shdrTab[idx].sh_offset; in readSectionHeaders()
884 sh_size = shdrTab[idx].sh_size; in readSectionHeaders()
885 sh_link = shdrTab[idx].sh_link; in readSectionHeaders()
886 sh_info = shdrTab[idx].sh_info; in readSectionHeaders()
887 sh_addralign = shdrTab[idx].sh_addralign; in readSectionHeaders()
889 sh_name = mcld::bswap32(shdrTab[idx].sh_name); in readSectionHeaders()
890 sh_type = mcld::bswap32(shdrTab[idx].sh_type); in readSectionHeaders()
891 sh_flags = mcld::bswap64(shdrTab[idx].sh_flags); in readSectionHeaders()
892 sh_offset = mcld::bswap64(shdrTab[idx].sh_offset); in readSectionHeaders()
893 sh_size = mcld::bswap64(shdrTab[idx].sh_size); in readSectionHeaders()
894 sh_link = mcld::bswap32(shdrTab[idx].sh_link); in readSectionHeaders()
895 sh_info = mcld::bswap32(shdrTab[idx].sh_info); in readSectionHeaders()
896 sh_addralign = mcld::bswap64(shdrTab[idx].sh_addralign); in readSectionHeaders()
993 for (size_t idx = 0; idx < numOfEntries; ++idx) { in readDynamic() local
998 d_tag = dynamic[idx].d_tag; in readDynamic()
999 d_val = dynamic[idx].d_un.d_val; in readDynamic()
1001 d_tag = mcld::bswap64(dynamic[idx].d_tag); in readDynamic()
1002 d_val = mcld::bswap64(dynamic[idx].d_un.d_val); in readDynamic()