Lines Matching refs:ranges
54 XArray* ranges; member
77 rm->ranges = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(Range) ); in VG_()
83 Word i = VG_(addToXA)(rm->ranges, &r); in VG_()
85 vg_assert(VG_(sizeXA)(rm->ranges) == 1); in VG_()
94 vg_assert(rm->ranges); in VG_()
95 VG_(deleteXA)(rm->ranges); in VG_()
110 Range* rng = VG_(indexXA)(rm->ranges, i); in VG_()
120 Range* rng = (Range*)VG_(indexXA)(rm->ranges, i); in VG_()
128 vg_assert(rm && rm->ranges); in VG_()
129 Word size = VG_(sizeXA)(rm->ranges); in VG_()
137 vg_assert(rm && rm->ranges); in VG_()
138 Range* rng = (Range*)VG_(indexXA)(rm->ranges, ix); in VG_()
149 XArray* ranges = rm->ranges; in preen() local
150 for (i = 0; i < VG_(sizeXA)(ranges) - 1; i++) { in preen()
151 Range* rng0 = VG_(indexXA)(ranges, i+0); in preen()
152 Range* rng1 = VG_(indexXA)(ranges, i+1); in preen()
156 VG_(removeIndexXA)(ranges, i+1); in preen()
165 XArray* ranges = rm->ranges; in find() local
167 Word hi = VG_(sizeXA)(ranges); in find()
177 Range* mid_rng = (Range*)VG_(indexXA)(ranges, mid); in find()
188 XArray* ranges = rm->ranges; in split_at() local
190 Range rng_i0 = *(Range*)VG_(indexXA)( ranges, i+0 ); in split_at()
193 VG_(insertIndexXA)( ranges, i+1, &rng_i0 ); in split_at()
196 Range* rng_i0p = (Range*)VG_(indexXA)( ranges, i+0 ); in split_at()
197 Range* rng_i1p = (Range*)VG_(indexXA)( ranges, i+1 ); in split_at()
206 VG_(printf)("<< %ld entries:\n", VG_(sizeXA)(rm->ranges) ); in show()
207 for (i = 0; i < VG_(sizeXA)(rm->ranges); i++) { in show()
208 Range* rng = (Range*)VG_(indexXA)(rm->ranges, i); in show()