/openbmc/u-boot/tools/easylogo/ |
H A D | easylogo.c | 56 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()
|
/openbmc/linux/scripts/dtc/ |
H A D | srcpos.c | 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()
|
H A D | livetree.c | 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() 705 tbl = xmalloc(n * sizeof(*tbl)); in sort_reserve_entries() 743 tbl = xmalloc(n * sizeof(*tbl)); in sort_properties() 779 tbl = xmalloc(n * sizeof(*tbl)); in sort_subnodes() [all …]
|
H A D | util.c | 29 char *d = xmalloc(len); in xstrdup() 39 char *d = xmalloc(len); in xstrndup() 109 str = xmalloc(len); in join_path() 261 buf = xmalloc(bufsize); in utilfdt_read_err()
|
H A D | fdtoverlay.c | 56 tmpo = xmalloc(fdt_totalsize(overlay)); in apply_one() 115 ovblob = xmalloc(sizeof(*ovblob) * argc); in do_fdtoverlay()
|
H A D | util.h | 43 static inline void *xmalloc(size_t len) in xmalloc() function
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/ |
H A D | tftp-0.49-cmd_arg.patch | 13 void *xmalloc(size_t); 24 PA_SEARCH_LIBS_AND_ADD(xmalloc, iberty) 80 line = xmalloc(len + elen + 1); 99 + remote_pth = xmalloc(dirlen+1); 148 + margv = xmalloc(sizeof_margv * sizeof(char *));
|
/openbmc/linux/scripts/kconfig/ |
H A D | util.c | 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
|
H A D | lexer.l | 49 text = xmalloc(START_STRSIZE); in new_string() 71 text = xmalloc(size + 1); in alloc_string()
|
H A D | preprocess.c | 48 e = xmalloc(sizeof(*e)); in env_add() 300 v = xmalloc(sizeof(*v)); in variable_add() 505 out = xmalloc(1); in __expand_string()
|
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/ |
H A D | 0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch | 39 + archivefname = xmalloc(strlen(envarchive) + 1); 40 + fname = xmalloc(strlen(envarchive) + sizeof (".XXXXXX")); 45 + archivefname = xmalloc(prefix_len + sizeof (ARCHIVE_NAME)); 46 + fname = xmalloc(prefix_len + sizeof (ARCHIVE_NAME) + sizeof (".XXXXXX") - 1);
|
/openbmc/linux/scripts/genksyms/ |
H A D | lex.l | 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);
|
H A D | genksyms.h | 70 #define xmalloc(size) ({ void *__ptr = malloc(size); \ macro
|
/openbmc/u-boot/scripts/dtc/ |
H A D | srcpos.c | 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() 238 pos_new = xmalloc(sizeof(struct srcpos)); in srcpos_copy()
|
H A D | livetree.c | 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() 341 struct reserve_info *new = xmalloc(sizeof(*new)); in build_reserve_entry() 384 dti = xmalloc(sizeof(*dti)); in build_dt_info() 660 tbl = xmalloc(n * sizeof(*tbl)); in sort_reserve_entries() 698 tbl = xmalloc(n * sizeof(*tbl)); in sort_properties() 734 tbl = xmalloc(n * sizeof(*tbl)); in sort_subnodes() [all …]
|
H A D | util.c | 42 char *d = xmalloc(len); in xstrdup() 93 str = xmalloc(len); in join_path() 245 buf = xmalloc(bufsize); in utilfdt_read_err_len()
|
H A D | util.h | 52 static inline void *xmalloc(size_t len) in xmalloc() function
|
/openbmc/u-boot/scripts/kconfig/ |
H A D | util.c | 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
|
H A D | zconf.l | 43 text = xmalloc(START_STRSIZE); in new_string() 65 text = xmalloc(size + 1); in alloc_string()
|
H A D | symbol.c | 710 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value() 714 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value() 870 symbol = xmalloc(sizeof(*symbol)); in sym_lookup() 925 res = xmalloc(reslen); in sym_expand_string_value() 983 res = xmalloc(reslen); in sym_escape_string_value() 1351 prop = xmalloc(sizeof(*prop)); in prop_alloc()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/liboauth/liboauth/ |
H A D | 0001-Support-OpenSSL-1.1.0.patch | 49 sig = (unsigned char*)xmalloc((len+1)*sizeof(char)); 84 b64d= (unsigned char*) xmalloc(sizeof(char)*strlen(s));
|
/openbmc/openbmc/poky/meta/recipes-core/glibc/ |
H A D | ldconfig-native_2.12.1.bb | 30 …$CC ldconfig.c -std=gnu99 chroot_canon.c xmalloc.c xstrdup.c cache.c readlib.c -I. dl-cache.c -o …
|
/openbmc/u-boot/common/ |
H A D | cli_hush.c | 389 static void *xmalloc(size_t size); 963 PS1=xmalloc(strlen(cwd)+4); in setup_prompt_string() 1179 struct close_me *new = xmalloc(sizeof(struct close_me)); 1364 thejob = job_list = xmalloc(sizeof(*thejob)); 1367 thejob->next = xmalloc(sizeof(*thejob)); 1376 thejob->text = xmalloc(BUFSIZ); /* cmdedit buffer size */ 2308 redir = xmalloc(sizeof(struct redir_struct)); 2345 pi = xmalloc(sizeof(struct pipe)); 2409 struct p_context *new = xmalloc(sizeof(struct p_context)); 3270 p = xmalloc(strlen(s) + 2); [all …]
|
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/ |
H A D | x86_vfscanf.patch | 34 + line = xmalloc(sizeof(line) * line_size);
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/bearssl/bearssl/ |
H A D | 0002-test-test_x509.c-fix-potential-overflow-issue.patch | 34 name = xmalloc(u + 1);
|