Lines Matching refs:cnt
136 for (size_t cnt = 0; cnt < shnum; ++cnt) in ElfW2() local
138 CONVERT_TO (shdr[cnt].sh_name, notcvt[cnt].sh_name); in ElfW2()
139 CONVERT_TO (shdr[cnt].sh_type, notcvt[cnt].sh_type); in ElfW2()
140 CONVERT_TO (shdr[cnt].sh_flags, notcvt[cnt].sh_flags); in ElfW2()
141 CONVERT_TO (shdr[cnt].sh_addr, notcvt[cnt].sh_addr); in ElfW2()
142 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset); in ElfW2()
143 CONVERT_TO (shdr[cnt].sh_size, notcvt[cnt].sh_size); in ElfW2()
144 CONVERT_TO (shdr[cnt].sh_link, notcvt[cnt].sh_link); in ElfW2()
145 CONVERT_TO (shdr[cnt].sh_info, notcvt[cnt].sh_info); in ElfW2()
146 CONVERT_TO (shdr[cnt].sh_addralign, in ElfW2()
147 notcvt[cnt].sh_addralign); in ElfW2()
148 CONVERT_TO (shdr[cnt].sh_entsize, notcvt[cnt].sh_entsize); in ElfW2()
153 if (shdr[cnt].sh_type == SHT_SYMTAB_SHNDX in ElfW2()
154 && shdr[cnt].sh_link < shnum) in ElfW2()
155 elf->state.ELFW(elf,LIBELFBITS).scns.data[shdr[cnt].sh_link].shndx_index in ElfW2()
156 = cnt; in ElfW2()
160 if (elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index == 0) in ElfW2()
161 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index in ElfW2()
185 for (size_t cnt = 0; cnt < shnum; ++cnt) in ElfW2() local
187 CONVERT (shdr[cnt].sh_name); in ElfW2()
188 CONVERT (shdr[cnt].sh_type); in ElfW2()
189 CONVERT (shdr[cnt].sh_flags); in ElfW2()
190 CONVERT (shdr[cnt].sh_addr); in ElfW2()
191 CONVERT (shdr[cnt].sh_offset); in ElfW2()
192 CONVERT (shdr[cnt].sh_size); in ElfW2()
193 CONVERT (shdr[cnt].sh_link); in ElfW2()
194 CONVERT (shdr[cnt].sh_info); in ElfW2()
195 CONVERT (shdr[cnt].sh_addralign); in ElfW2()
196 CONVERT (shdr[cnt].sh_entsize); in ElfW2()
214 for (size_t cnt = 0; cnt < shnum; ++cnt) in ElfW2() local
215 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shdr.ELFW(e,LIBELFBITS) in ElfW2()
216 = &elf->state.ELFW(elf,LIBELFBITS).shdr[cnt]; in ElfW2()