Home | History | Annotate | Download | only in libdw

Lines Matching refs:cnt

71   size_t cnt = 0;
81 if (cnt >= allocated)
114 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp;
115 mem[cnt].address_len = len_bytes;
116 if (mem[cnt].set_start >= dbg->sectiondata[IDX_debug_pubnames]->d_size)
131 mem[cnt].cu_offset = read_4ubyte_unaligned (dbg, readp + 2);
133 mem[cnt].cu_offset = read_8ubyte_unaligned (dbg, readp + 2);
138 || (mem[cnt].cu_offset + 3
144 + mem[cnt].cu_offset);
146 mem[cnt].cu_header_size = 23;
148 mem[cnt].cu_header_size = 11;
150 ++cnt;
162 dbg->pubnames_sets = (struct pubnames_s *) realloc (mem, cnt * entsize);
163 dbg->pubnames_nsets = cnt;
197 size_t cnt;
200 cnt = 0;
205 for (cnt = 0; cnt + 1 < dbg->pubnames_nsets; ++cnt)
206 if ((Dwarf_Off) offset >= dbg->pubnames_sets[cnt].set_start)
209 < dbg->pubnames_sets[cnt + 1].set_start);
212 assert (cnt + 1 < dbg->pubnames_nsets);
222 gl.cu_offset = (dbg->pubnames_sets[cnt].cu_offset
223 + dbg->pubnames_sets[cnt].cu_header_size);
228 if (dbg->pubnames_sets[cnt].address_len == 4)
238 gl.die_offset += dbg->pubnames_sets[cnt].cu_offset;
252 if (++cnt == dbg->pubnames_nsets)
257 readp = startp + dbg->pubnames_sets[cnt].set_start;