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