Home
last modified time | relevance | path

Searched refs:xmalloc (Results 1 – 10 of 10) sorted by relevance

/utopia/UTPA2-700.0.x/projects/build/scripts/dtc/
H A Dlivetree.c36 new = xmalloc(sizeof(*new)); in add_label()
44 struct property *new = xmalloc(sizeof(*new)); in build_property()
79 struct node *new = xmalloc(sizeof(*new)); in build_node()
207 struct reserve_info *new = xmalloc(sizeof(*new)); in build_reserve_entry()
249 bi = xmalloc(sizeof(*bi)); in build_boot_info()
506 tbl = xmalloc(n * sizeof(*tbl)); in sort_reserve_entries()
544 tbl = xmalloc(n * sizeof(*tbl)); in sort_properties()
580 tbl = xmalloc(n * sizeof(*tbl)); in sort_subnodes()
H A Dsrcpos.c34 char *dir = xmalloc(len + 1); in dirname()
85 srcfile = xmalloc(sizeof(*srcfile)); in srcfile_push()
161 pos_new = xmalloc(sizeof(struct srcpos)); in srcpos_copy()
H A Dutil.c30 char *dup = xmalloc(len); in xstrdup()
51 str = xmalloc(len); in join_path()
H A Dutil.h33 static inline void *xmalloc(size_t len) in xmalloc() function
H A Ddata.c296 m = xmalloc(sizeof(*m)); in data_add_marker()
H A Dflattree.c851 blob = xmalloc(totalsize); in dt_from_blob()
/utopia/UTPA2-700.0.x/projects/build/scripts/genksyms/
H A Dlex.l113 next_node = xmalloc(sizeof(*next_node)); \
115 cur_node->string = memcpy(xmalloc(L+1), T, L+1); \
144 next_node = xmalloc(sizeof(*next_node));
166 cur_filename = memcpy(xmalloc(e-file+1), file, e-file+1);
H A Dgenksyms.c289 sym = xmalloc(sizeof(*sym)); in __add_symbol()
354 newnode = xmalloc(sizeof(*newnode)); in mk_node()
383 newnode = xmalloc(sizeof(*newnode)); in copy_node()
H A Dgenksyms.h79 #define xmalloc(size) ({ void *__ptr = malloc(size); \ macro
H A Dlex.c_shipped2267 next_node = xmalloc(sizeof(*next_node)); \
2269 cur_node->string = memcpy(xmalloc(L+1), T, L+1); \
2298 next_node = xmalloc(sizeof(*next_node));
2320 cur_filename = memcpy(xmalloc(e-file+1), file, e-file+1);