Lines Matching refs:cnt
170 int cnt;
181 for (cursct = shbuf, cnt = 0;
182 cnt < ehdr->e_shnum;
183 cnt++, cursct++) {
185 scn_cache[cnt].c_data = read_section_data(fd, ehdr, cursct);
186 return &scn_cache[cnt];
330 int cnt = 0;
358 for (cursct = shbuf, cnt = 0; cnt < ehdr.e_shnum; cnt++) {
359 scn_cache[cnt].c_shdr = cursct;
362 if ( (scn_cache[cnt].c_data = read_section_data(fd, &ehdr, cursct)) == NULL) {
373 for (cnt = 1; cnt < ehdr.e_shnum; cnt++) {
374 ELF_SHDR *shdr = scn_cache[cnt].c_shdr;
391 syms = (ELF_SYM *)scn_cache[cnt].c_data;
449 for (cursct = shbuf, cnt = 0;
450 symtab == NULL && cnt < ehdr.e_shnum;
451 cnt++) {
453 Elf64_Nhdr *note = (Elf64_Nhdr *)scn_cache[cnt].c_data;
481 for (cnt = 0; cnt < ehdr.e_shnum; cnt++) {
482 if (scn_cache[cnt].c_data != NULL) {
483 free(scn_cache[cnt].c_data);