Home | History | Annotate | Download | only in ltrace

Lines Matching refs:valp

32 value_common_init(struct value *valp, struct process *inferior,
36 valp->type = type;
37 valp->own_type = own_type;
38 valp->inferior = inferior;
39 memset(&valp->u, 0, sizeof(valp->u));
40 valp->where = VAL_LOC_NODATA;
41 valp->parent = parent;
42 valp->size = (size_t)-1;
46 value_init(struct value *valp, struct process *inferior, struct value *parent,
50 value_common_init(valp, inferior, parent, type, own_type);
54 value_init_detached(struct value *valp, struct value *parent,
57 value_common_init(valp, NULL, parent, type, own_type);
101 value_reserve(struct value *valp, size_t size)
103 value_release(valp);
105 if (size <= sizeof(valp->u.value)) {
106 valp->where = VAL_LOC_WORD;
107 valp->u.value = 0;
109 valp->where = VAL_LOC_COPY;
110 valp->u.address = calloc(size, 1);
111 if (valp->u.address == 0)
114 return value_get_raw_data(valp);
118 value_in_inferior(struct value *valp, arch_addr_t address)
120 value_release(valp);
121 valp->where = VAL_LOC_INFERIOR;
122 valp->u.address = address;
290 value_init_deref(struct value *ret_val, struct value *valp)
292 assert(valp->type->type == ARGTYPE_POINTER);
297 if (value_extract_word(valp, &l, NULL) < 0)
304 value_common_init(ret_val, valp->inferior, valp,
305 valp->type->u.ptr_info.info, 0);