Searched refs:xmalloc (Results 1 – 16 of 16) sorted by relevance
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()
700 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()
116 void *xmalloc(size_t size);
51 menu = xmalloc(sizeof(*menu)); in menu_add_entry()571 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));
637 str2 = xmalloc(strlen(str) + 3); in conf_write_symbol()
72 e = xmalloc(sizeof(*org)); in expr_copy()
56 void *xmalloc (size_t size) in xmalloc() function189 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()
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()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 …]
42 char *d = xmalloc(len); in xstrdup()93 str = xmalloc(len); in join_path()245 buf = xmalloc(bufsize); in utilfdt_read_err_len()
49 static inline void *xmalloc(size_t len) in xmalloc() function
244 m = xmalloc(sizeof(*m)); in data_add_marker()
859 blob = xmalloc(totalsize); in dt_from_blob()
390 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 …]