Lines Matching refs:cnt
138 for (size_t cnt = 0; cnt < shnum; ++cnt) in ElfW2() local
140 CONVERT_TO (shdr[cnt].sh_name, notcvt[cnt].sh_name); in ElfW2()
141 CONVERT_TO (shdr[cnt].sh_type, notcvt[cnt].sh_type); in ElfW2()
142 CONVERT_TO (shdr[cnt].sh_flags, notcvt[cnt].sh_flags); in ElfW2()
143 CONVERT_TO (shdr[cnt].sh_addr, notcvt[cnt].sh_addr); in ElfW2()
144 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset); in ElfW2()
145 CONVERT_TO (shdr[cnt].sh_size, notcvt[cnt].sh_size); in ElfW2()
146 CONVERT_TO (shdr[cnt].sh_link, notcvt[cnt].sh_link); in ElfW2()
147 CONVERT_TO (shdr[cnt].sh_info, notcvt[cnt].sh_info); in ElfW2()
148 CONVERT_TO (shdr[cnt].sh_addralign, in ElfW2()
149 notcvt[cnt].sh_addralign); in ElfW2()
150 CONVERT_TO (shdr[cnt].sh_entsize, notcvt[cnt].sh_entsize); in ElfW2()
155 if (shdr[cnt].sh_type == SHT_SYMTAB_SHNDX in ElfW2()
156 && shdr[cnt].sh_link < shnum) in ElfW2()
157 elf->state.ELFW(elf,LIBELFBITS).scns.data[shdr[cnt].sh_link].shndx_index in ElfW2()
158 = cnt; in ElfW2()
162 if (elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index == 0) in ElfW2()
163 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index in ElfW2()
187 for (size_t cnt = 0; cnt < shnum; ++cnt) in ElfW2() local
189 CONVERT (shdr[cnt].sh_name); in ElfW2()
190 CONVERT (shdr[cnt].sh_type); in ElfW2()
191 CONVERT (shdr[cnt].sh_flags); in ElfW2()
192 CONVERT (shdr[cnt].sh_addr); in ElfW2()
193 CONVERT (shdr[cnt].sh_offset); in ElfW2()
194 CONVERT (shdr[cnt].sh_size); in ElfW2()
195 CONVERT (shdr[cnt].sh_link); in ElfW2()
196 CONVERT (shdr[cnt].sh_info); in ElfW2()
197 CONVERT (shdr[cnt].sh_addralign); in ElfW2()
198 CONVERT (shdr[cnt].sh_entsize); in ElfW2()
216 for (size_t cnt = 0; cnt < shnum; ++cnt) in ElfW2() local
217 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shdr.ELFW(e,LIBELFBITS) in ElfW2()
218 = &elf->state.ELFW(elf,LIBELFBITS).shdr[cnt]; in ElfW2()