Home | History | Annotate | Download | only in elfcopy

Lines Matching refs:array

8     range_t *array;
19 ranges->array = (range_t *)MALLOC(PARALLEL_ARRAY_SIZE*sizeof(range_t));
31 if (ranges->array[idx].user_dtor) {
32 ASSERT(ranges->array[idx].user);
33 ranges->array[idx].user_dtor(ranges->array[idx].user);
36 FREE(ranges->array);
129 ranges->array = REALLOC(ranges->array,
132 ranges->array[ranges->num_ranges].start = start;
133 ranges->array[ranges->num_ranges].length = length;
134 ranges->array[ranges->num_ranges].user = user;
135 ranges->array[ranges->num_ranges].err_fn = err_fn;
136 ranges->array[ranges->num_ranges].user_dtor = user_dtor;
142 qsort(ranges->array, ranges->num_ranges, sizeof(range_t), range_cmp);
151 if (ranges->array[i].start <= value &&
152 value < ranges->array[i].start + ranges->array[i].length)
153 return ranges->array + i;
163 ranges->array, ranges->num_ranges, sizeof(range_t),
178 return ranges->array;
184 ranges->array[ranges->num_ranges-1].start +
185 ranges->array[ranges->num_ranges-1].length;