Searched refs:xmalloc (Results 1 – 17 of 17) sorted by relevance
43 char *dir = xmalloc(len + 1); in get_dirname()150 srcfile = xmalloc(sizeof(*srcfile)); in srcfile_push()188 node = xmalloc(sizeof(*node)); in srcfile_add_search_path()243 pos_new = xmalloc(sizeof(struct srcpos)); in srcpos_copy()
38 new = xmalloc(sizeof(*new)); in add_label()55 struct property *new = xmalloc(sizeof(*new)); in build_property()67 struct property *new = xmalloc(sizeof(*new)); in build_property_delete()102 struct node *new = xmalloc(sizeof(*new)); in build_node()119 struct node *new = xmalloc(sizeof(*new)); in build_node_delete()318 struct reserve_info *new = xmalloc(sizeof(*new)); in build_reserve_entry()361 dti = xmalloc(sizeof(*dti)); in build_dt_info()627 tbl = xmalloc(n * sizeof(*tbl)); in sort_reserve_entries()665 tbl = xmalloc(n * sizeof(*tbl)); in sort_properties()701 tbl = xmalloc(n * sizeof(*tbl)); in sort_subnodes()[all …]
42 char *d = xmalloc(len); in xstrdup()93 str = xmalloc(len); in join_path()245 buf = xmalloc(bufsize); in utilfdt_read_err_len()
41 static inline void *xmalloc(size_t len) in xmalloc() function
244 m = xmalloc(sizeof(*m)); in data_add_marker()
865 blob = xmalloc(totalsize); in dt_from_blob()
26 file = xmalloc(sizeof(*file)); in file_lookup()84 gs.s = xmalloc(sizeof(char) * 64); in str_new()131 void *xmalloc(size_t size) in xmalloc() function
43 text = xmalloc(START_STRSIZE); in new_string()65 text = xmalloc(size + 1); in alloc_string()
670 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()674 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()826 symbol = xmalloc(sizeof(*symbol)); in sym_lookup()877 res = xmalloc(reslen); in sym_expand_string_value()935 res = xmalloc(reslen); in sym_escape_string_value()1299 prop = xmalloc(sizeof(*prop)); in prop_alloc()
116 void *xmalloc(size_t size);
51 menu = xmalloc(sizeof(*menu)); in menu_add_entry()564 jump = xmalloc(sizeof(struct jump_key)); in get_prompt_str()
830 text = xmalloc(START_STRSIZE);852 text = xmalloc(size + 1);2399 current_buf = xmalloc(sizeof(*current_buf));2410 struct buffer *buf = xmalloc(sizeof(*buf));
72 e = xmalloc(sizeof(*org)); in expr_copy()
113 next_node = xmalloc(sizeof(*next_node)); \115 cur_node->string = memcpy(xmalloc(L+1), T, L+1); \146 next_node = xmalloc(sizeof(*next_node));168 cur_filename = memcpy(xmalloc(e-file+1), file, e-file+1);
81 #define xmalloc(size) ({ void *__ptr = malloc(size); \ macro
289 sym = xmalloc(sizeof(*sym)); in __add_symbol()354 newnode = xmalloc(sizeof(*newnode)); in mk_node()383 newnode = xmalloc(sizeof(*newnode)); in copy_node()
1923 next_node = xmalloc(sizeof(*next_node)); \1925 cur_node->string = memcpy(xmalloc(L+1), T, L+1); \1955 next_node = xmalloc(sizeof(*next_node));1977 cur_filename = memcpy(xmalloc(e-file+1), file, e-file+1);