Lines Matching refs:valp

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