Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/scripts/kconfig/
H A Dutil.c26 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
H A Dzconf.l43 text = xmalloc(START_STRSIZE); in new_string()
65 text = xmalloc(size + 1); in alloc_string()
H A Dsymbol.c700 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
704 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
860 symbol = xmalloc(sizeof(*symbol)); in sym_lookup()
911 res = xmalloc(reslen); in sym_expand_string_value()
969 res = xmalloc(reslen); in sym_escape_string_value()
1333 prop = xmalloc(sizeof(*prop)); in prop_alloc()
H A Dlkc.h116 void *xmalloc(size_t size);
H A Dmenu.c51 menu = xmalloc(sizeof(*menu)); in menu_add_entry()
571 jump = xmalloc(sizeof(struct jump_key)); in get_prompt_str()
H A Dzconf.lex.c_shipped830 text = xmalloc(START_STRSIZE);
852 text = xmalloc(size + 1);
2399 current_buf = xmalloc(sizeof(*current_buf));
2410 struct buffer *buf = xmalloc(sizeof(*buf));
H A Dconfdata.c637 str2 = xmalloc(strlen(str) + 3); in conf_write_symbol()
H A Dexpr.c72 e = xmalloc(sizeof(*org)); in expr_copy()
/rk3399_rockchip-uboot/tools/easylogo/
H A Deasylogo.c56 void *xmalloc (size_t size) in xmalloc() function
189 image->data = xmalloc (image->size); in image_load_tga()
210 unsigned char *temp = xmalloc (image->size); in image_load_tga()
257 xmalloc (yuyv_image->size)); in image_rgb_to_yuyv()
293 xmalloc(rgb565_image->size)); in image_rgb888_to_rgb565()
346 char *compfilename = xmalloc(filename_len + 20); in image_save_header()
347 char *compcmd = xmalloc(filename_len + 50); in image_save_header()
388 compressed = xmalloc(st.st_size); in image_save_header()
/rk3399_rockchip-uboot/scripts/dtc/
H A Dsrcpos.c43 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()
H A Dlivetree.c38 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()
340 struct reserve_info *new = xmalloc(sizeof(*new)); in build_reserve_entry()
383 dti = xmalloc(sizeof(*dti)); in build_dt_info()
656 tbl = xmalloc(n * sizeof(*tbl)); in sort_reserve_entries()
694 tbl = xmalloc(n * sizeof(*tbl)); in sort_properties()
730 tbl = xmalloc(n * sizeof(*tbl)); in sort_subnodes()
[all …]
H A Dutil.c42 char *d = xmalloc(len); in xstrdup()
93 str = xmalloc(len); in join_path()
245 buf = xmalloc(bufsize); in utilfdt_read_err_len()
H A Dutil.h49 static inline void *xmalloc(size_t len) in xmalloc() function
H A Ddata.c244 m = xmalloc(sizeof(*m)); in data_add_marker()
H A Dflattree.c859 blob = xmalloc(totalsize); in dt_from_blob()
/rk3399_rockchip-uboot/common/
H A Dcli_hush.c390 static void *xmalloc(size_t size);
964 PS1=xmalloc(strlen(cwd)+4); in setup_prompt_string()
1180 struct close_me *new = xmalloc(sizeof(struct close_me));
1365 thejob = job_list = xmalloc(sizeof(*thejob));
1368 thejob->next = xmalloc(sizeof(*thejob));
1377 thejob->text = xmalloc(BUFSIZ); /* cmdedit buffer size */
2309 redir = xmalloc(sizeof(struct redir_struct));
2346 pi = xmalloc(sizeof(struct pipe));
2410 struct p_context *new = xmalloc(sizeof(struct p_context));
3271 p = xmalloc(strlen(s) + 2);
[all …]