Lines Matching refs:cnt
31 size_t cnt = 0;
41 if (cnt >= allocated)
67 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp;
68 mem[cnt].address_len = len_bytes;
69 if (mem[cnt].set_start >= dbg->sectiondata[IDX_debug_pubnames]->d_size)
84 mem[cnt].cu_offset = read_4ubyte_unaligned (dbg, readp + 2);
86 mem[cnt].cu_offset = read_8ubyte_unaligned (dbg, readp + 2);
91 assert (mem[cnt].cu_offset + 3
95 + mem[cnt].cu_offset);
97 mem[cnt].cu_header_size = 23;
99 mem[cnt].cu_header_size = 11;
101 ++cnt;
113 dbg->pubnames_sets = (struct pubnames_s *) realloc (mem, cnt * entsize);
114 dbg->pubnames_nsets = cnt;
141 size_t cnt;
144 cnt = 0;
149 for (cnt = 0; cnt + 1 < dbg->pubnames_nsets; ++cnt)
150 if (offset >= dbg->pubnames_sets[cnt].set_start)
152 assert (offset < dbg->pubnames_sets[cnt + 1].set_start);
155 assert (cnt + 1 < dbg->pubnames_nsets);
165 gl.cu_offset = (dbg->pubnames_sets[cnt].cu_offset
166 + dbg->pubnames_sets[cnt].cu_header_size);
171 if (dbg->pubnames_sets[cnt].address_len == 4)
181 gl.die_offset += dbg->pubnames_sets[cnt].cu_offset;
195 if (++cnt == dbg->pubnames_nsets)
200 readp = startp + dbg->pubnames_sets[cnt].set_start;