Lines Matching refs:idx

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