Searched refs:xmalloc (Results 1 – 18 of 18) sorted by relevance
32 char *dir = xmalloc(len + 1); in get_dirname()77 res = xmalloc((3 * diff) + restlen + 1); in shorten_to_initial_path()179 srcfile = xmalloc(sizeof(*srcfile)); in srcfile_push()220 node = xmalloc(sizeof(*node)); in srcfile_add_search_path()262 pos_new = xmalloc(sizeof(struct srcpos)); in srcpos_copy()267 srcfile_state = xmalloc(sizeof(struct srcfile_state)); in srcpos_copy()
24 new = xmalloc(sizeof(*new)); in add_label()42 struct property *new = xmalloc(sizeof(*new)); in build_property()55 struct property *new = xmalloc(sizeof(*new)); in build_property_delete()91 struct node *new = xmalloc(sizeof(*new)); in build_node()109 struct node *new = xmalloc(sizeof(*new)); in build_node_delete()360 struct reserve_info *new = xmalloc(sizeof(*new)); in build_reserve_entry()403 dti = xmalloc(sizeof(*dti)); in build_dt_info()678 tbl = xmalloc(n * sizeof(*tbl)); in sort_reserve_entries()716 tbl = xmalloc(n * sizeof(*tbl)); in sort_properties()752 tbl = xmalloc(n * sizeof(*tbl)); in sort_subnodes()[all …]
56 tmpo = xmalloc(fdt_totalsize(overlay)); in apply_one()115 ovblob = xmalloc(sizeof(*ovblob) * argc); in do_fdtoverlay()
29 char *d = xmalloc(len); in xstrdup()98 str = xmalloc(len); in join_path()250 buf = xmalloc(bufsize); in utilfdt_read_err()
43 static inline void *xmalloc(size_t len) in xmalloc() function
231 m = xmalloc(sizeof(*m)); in data_add_marker()
845 blob = xmalloc(totalsize); in dt_from_blob()
23 file = xmalloc(sizeof(*file)); in file_lookup()35 gs.s = xmalloc(sizeof(char) * 64); in str_new()82 void *xmalloc(size_t size) in xmalloc() function
49 text = xmalloc(START_STRSIZE); in new_string()71 text = xmalloc(size + 1); in alloc_string()
48 e = xmalloc(sizeof(*e)); in env_add()300 v = xmalloc(sizeof(*v)); in variable_add()502 out = xmalloc(1); in __expand_string()
57 void *xmalloc(size_t size);
52 menu = xmalloc(sizeof(*menu)); in menu_add_entry()134 prop = xmalloc(sizeof(*prop)); in menu_add_prop()734 jump = xmalloc(sizeof(struct jump_key)); in get_prompt_str()
676 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()680 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()835 symbol = xmalloc(sizeof(*symbol)); in sym_lookup()
648 out = xmalloc(len); in escape_string_value()802 val_prefixed = xmalloc(val_prefixed_len); in print_symbol_for_rustccfg()
73 e = xmalloc(sizeof(*org)); in expr_copy()
101 next_node = xmalloc(sizeof(*next_node)); \103 cur_node->string = memcpy(xmalloc(L+1), T, L+1); \133 next_node = xmalloc(sizeof(*next_node));155 cur_filename = memcpy(xmalloc(e-file+1), file, e-file+1);
70 #define xmalloc(size) ({ void *__ptr = malloc(size); \ macro
277 sym = xmalloc(sizeof(*sym)); in __add_symbol()342 newnode = xmalloc(sizeof(*newnode)); in mk_node()371 newnode = xmalloc(sizeof(*newnode)); in copy_node()