Home | History | Annotate | Download | only in gdb

Lines Matching refs:indices

93   /* The number of indices.  */
95 /* The element indices themselves. */
96 int *indices;
104 allocate_lval_closure (int *indices, int n, struct value *val)
110 c->indices = XCNEWVEC (int, n);
111 memcpy (c->indices, indices, n * sizeof (int));
142 c->val->contents ().data () + c->indices[i] * elsize,
180 struct value *to_elm_val = value_subscript (c->val, c->indices[i]);
217 if (!c->val->bits_synthetic_pointer (c->indices[i] * elsize + comp_offset,
245 xfree (c->indices);
262 /* Creates a sub-vector from VAL. The elements are selected by the indices of
268 int *indices, int n)
281 ret = value_subscript (val, indices[0]);
302 if (val->lval () != not_lval && !array_has_dups (indices, n))
304 struct lval_closure *c = allocate_lval_closure (indices, n, val);
318 + (indices[i] * elm_type->length ()),
335 int indices[16], i;
354 indices[i] = i;
361 indices[i] = dst_len + i;
368 indices[i] = i*2;
375 indices[i] = i*2+1;
390 indices[i] = HEXCHAR_TO_INT(comps[i+1]);
393 if (indices[i] < 0 || indices[i] >= src_len)
407 indices[i] = 0;
410 indices[i] = 1;
415 indices[i] = 2;
420 indices[i] = 3;
435 v = create_value (exp->gdbarch, val, noside, indices, dst_len);