Home | History | Annotate | Download | only in libelf

Lines Matching refs:cnt

135 	  for (size_t cnt = 0; cnt < shnum; ++cnt)
137 CONVERT_TO (shdr[cnt].sh_name, notcvt[cnt].sh_name);
138 CONVERT_TO (shdr[cnt].sh_type, notcvt[cnt].sh_type);
139 CONVERT_TO (shdr[cnt].sh_flags, notcvt[cnt].sh_flags);
140 CONVERT_TO (shdr[cnt].sh_addr, notcvt[cnt].sh_addr);
141 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset);
142 CONVERT_TO (shdr[cnt].sh_size, notcvt[cnt].sh_size);
143 CONVERT_TO (shdr[cnt].sh_link, notcvt[cnt].sh_link);
144 CONVERT_TO (shdr[cnt].sh_info, notcvt[cnt].sh_info);
145 CONVERT_TO (shdr[cnt].sh_addralign,
146 notcvt[cnt].sh_addralign);
147 CONVERT_TO (shdr[cnt].sh_entsize, notcvt[cnt].sh_entsize);
152 if (shdr[cnt].sh_type == SHT_SYMTAB_SHNDX
153 && shdr[cnt].sh_link < shnum)
154 elf->state.ELFW(elf,LIBELFBITS).scns.data[shdr[cnt].sh_link].shndx_index
155 = cnt;
159 if (elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index == 0)
160 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index
181 for (size_t cnt = 0; cnt < shnum; ++cnt)
183 CONVERT (shdr[cnt].sh_name);
184 CONVERT (shdr[cnt].sh_type);
185 CONVERT (shdr[cnt].sh_flags);
186 CONVERT (shdr[cnt].sh_addr);
187 CONVERT (shdr[cnt].sh_offset);
188 CONVERT (shdr[cnt].sh_size);
189 CONVERT (shdr[cnt].sh_link);
190 CONVERT (shdr[cnt].sh_info);
191 CONVERT (shdr[cnt].sh_addralign);
192 CONVERT (shdr[cnt].sh_entsize);
210 for (size_t cnt = 0; cnt < shnum; ++cnt)
211 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shdr.ELFW(e,LIBELFBITS)
212 = &elf->state.ELFW(elf,LIBELFBITS).shdr[cnt];