Lines Matching defs:cnt
68 size_t cnt = 0;
78 if (cnt >= allocated)
110 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp;
111 mem[cnt].address_len = len_bytes;
112 if (mem[cnt].set_start >= dbg->sectiondata[IDX_debug_pubnames]->d_size)
127 &mem[cnt].cu_offset, IDX_debug_info, 3))
134 + mem[cnt].cu_offset);
136 mem[cnt].cu_header_size = 23;
138 mem[cnt].cu_header_size = 11;
140 ++cnt;
152 dbg->pubnames_sets = (struct pubnames_s *) realloc (mem, cnt * entsize);
153 dbg->pubnames_nsets = cnt;
187 size_t cnt;
190 cnt = 0;
195 for (cnt = 0; cnt + 1 < dbg->pubnames_nsets; ++cnt)
196 if ((Dwarf_Off) offset >= dbg->pubnames_sets[cnt].set_start)
199 < dbg->pubnames_sets[cnt + 1].set_start);
202 assert (cnt + 1 < dbg->pubnames_nsets);
212 gl.cu_offset = (dbg->pubnames_sets[cnt].cu_offset
213 + dbg->pubnames_sets[cnt].cu_header_size);
218 if (dbg->pubnames_sets[cnt].address_len == 4)
228 gl.die_offset += dbg->pubnames_sets[cnt].cu_offset;
242 if (++cnt == dbg->pubnames_nsets)
247 readp = startp + dbg->pubnames_sets[cnt].set_start;