Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/u-boot/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()
/OK3568_Linux_fs/kernel/scripts/dtc/
H A Dsrcpos.c32 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 Dlivetree.c24 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()
678 tbl = xmalloc(n * sizeof(*tbl)); in sort_reserve_entries()
716 tbl = xmalloc(n * sizeof(*tbl)); in sort_properties()
752 tbl = xmalloc(n * sizeof(*tbl)); in sort_subnodes()
[all …]
H A Dutil.c29 char *d = xmalloc(len); in xstrdup()
98 str = xmalloc(len); in join_path()
250 buf = xmalloc(bufsize); in utilfdt_read_err()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/
H A Dtftp-0.49-cmd_arg.patch13 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 *));
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/glibc/glibc/
H A D0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch39 + 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);
/OK3568_Linux_fs/kernel/scripts/kconfig/
H A Dutil.c23 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 Dlexer.l50 text = xmalloc(START_STRSIZE); in new_string()
72 text = xmalloc(size + 1); in alloc_string()
H A Dpreprocess.c48 e = xmalloc(sizeof(*e)); in env_add()
300 v = xmalloc(sizeof(*v)); in variable_add()
502 out = xmalloc(1); in __expand_string()
/OK3568_Linux_fs/u-boot/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()
/OK3568_Linux_fs/kernel/scripts/genksyms/
H A Dlex.l101 next_node = xmalloc(sizeof(*next_node)); \
103 cur_node->string = memcpy(xmalloc(L+1), T, L+1); \
134 next_node = xmalloc(sizeof(*next_node));
156 cur_filename = memcpy(xmalloc(e-file+1), file, e-file+1);
/OK3568_Linux_fs/u-boot/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()
/OK3568_Linux_fs/buildroot/support/kconfig/
H A Dutil.c26 file = xmalloc(sizeof(*file)); in file_lookup()
96 gs.s = xmalloc(sizeof(char) * 64); in str_new()
143 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.c710 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()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dlibiberty.h317 extern void *xmalloc (size_t) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_RESULT_SIZE_1 AT…
358 #define XNEW(T) ((T *) xmalloc (sizeof (T)))
366 #define XNEWVEC(T, N) ((T *) xmalloc (sizeof (T) * (N)))
375 #define XNEWVAR(T, S) ((T *) xmalloc ((S)))
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dlibiberty.h317 extern void *xmalloc (size_t) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_RESULT_SIZE_1 AT…
358 #define XNEW(T) ((T *) xmalloc (sizeof (T)))
366 #define XNEWVEC(T, N) ((T *) xmalloc (sizeof (T) * (N)))
375 #define XNEWVAR(T, S) ((T *) xmalloc ((S)))
/OK3568_Linux_fs/buildroot/boot/grub2/
H A D0005-calloc-Use-calloc-at-most-places.patch294 - pv->partmaps = xmalloc (s * sizeof (pv->partmaps[0]));
757 - char **l = xmalloc ((n + ext) * sizeof (l[0]));
920 #define xmalloc malloc
927 - m = xmalloc ((s + rs) * sizeof (gf_single_t));
931 - rs_polynomial = xmalloc ((rs + 1) * sizeof (gf_single_t));
1386 - devicelist = xmalloc ((info.nr_disks + 1) * sizeof (char *));
1395 - ret = xmalloc ((fsi.num_devices + 1) * sizeof (ret[0]));
1404 - entries = xmalloc (entry_max * sizeof (*entries));
1417 - script = xmalloc (4 * strlen (cfgfile) + 300);
1430 - out = xmalloc (allocsize * sizeof (out[0]));
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/mtd/mtd-utils/
H A Dadd-exclusion-to-mkfs-jffs2-git-2.patch85 + ignorepath = xmalloc( sizeof( struct ignorepath_entry ) );
90 + element->next = xmalloc( sizeof( struct ignorepath_entry ) );
/OK3568_Linux_fs/u-boot/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 …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/liboauth/liboauth/
H A D0001-Support-OpenSSL-1.1.0.patch49 sig = (unsigned char*)xmalloc((len+1)*sizeof(char));
84 b64d= (unsigned char*) xmalloc(sizeof(char)*strlen(s));

12345