Home | History | Annotate | Download | only in libelf

Lines Matching refs:cnt

128 	  for (size_t cnt = 0; cnt < shnum; ++cnt)
130 CONVERT_TO (shdr[cnt].sh_name, notcvt[cnt].sh_name);
131 CONVERT_TO (shdr[cnt].sh_type, notcvt[cnt].sh_type);
132 CONVERT_TO (shdr[cnt].sh_flags, notcvt[cnt].sh_flags);
133 CONVERT_TO (shdr[cnt].sh_addr, notcvt[cnt].sh_addr);
134 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset);
135 CONVERT_TO (shdr[cnt].sh_size, notcvt[cnt].sh_size);
136 CONVERT_TO (shdr[cnt].sh_link, notcvt[cnt].sh_link);
137 CONVERT_TO (shdr[cnt].sh_info, notcvt[cnt].sh_info);
138 CONVERT_TO (shdr[cnt].sh_addralign,
139 notcvt[cnt].sh_addralign);
140 CONVERT_TO (shdr[cnt].sh_entsize, notcvt[cnt].sh_entsize);
145 if (shdr[cnt].sh_type == SHT_SYMTAB_SHNDX
146 && shdr[cnt].sh_link < shnum)
147 elf->state.ELFW(elf,LIBELFBITS).scns.data[shdr[cnt].sh_link].shndx_index
148 = cnt;
152 if (elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index == 0)
153 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index
174 for (size_t cnt = 0; cnt < shnum; ++cnt)
176 CONVERT (shdr[cnt].sh_name);
177 CONVERT (shdr[cnt].sh_type);
178 CONVERT (shdr[cnt].sh_flags);
179 CONVERT (shdr[cnt].sh_addr);
180 CONVERT (shdr[cnt].sh_offset);
181 CONVERT (shdr[cnt].sh_size);
182 CONVERT (shdr[cnt].sh_link);
183 CONVERT (shdr[cnt].sh_info);
184 CONVERT (shdr[cnt].sh_addralign);
185 CONVERT (shdr[cnt].sh_entsize);
203 for (size_t cnt = 0; cnt < shnum; ++cnt)
204 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shdr.ELFW(e,LIBELFBITS)
205 = &elf->state.ELFW(elf,LIBELFBITS).shdr[cnt];