Searched refs:retpp (Results 1 – 2 of 2) sorted by relevance
175 expr_alloc_and_clone(struct expr_node **retpp, struct expr_node *node, int own) in expr_alloc_and_clone() argument177 *retpp = node; in expr_alloc_and_clone()179 *retpp = malloc(sizeof **retpp); in expr_alloc_and_clone()180 if (*retpp == NULL || expr_clone(*retpp, node) < 0) { in expr_alloc_and_clone()181 free(*retpp); in expr_alloc_and_clone()
266 type_alloc_and_clone(struct arg_type_info **retpp, in type_alloc_and_clone() argument269 *retpp = info; in type_alloc_and_clone()271 *retpp = malloc(sizeof **retpp); in type_alloc_and_clone()272 if (*retpp == NULL || type_clone(*retpp, info) < 0) { in type_alloc_and_clone()273 free(*retpp); in type_alloc_and_clone()