Home
last modified time | relevance | path

Searched refs:xrealloc (Results 1 – 25 of 42) sorted by relevance

12

/third_party/popt/src/
Dsystem.h25 void * xrealloc (void * ptr, size_t size);
47 #define xrealloc(_ptr, _size) (realloc((_ptr), (_size)) ? : vmefail()) macro
52 #define xrealloc(_ptr, _size) realloc((_ptr), (_size)) macro
/third_party/libfuse/util/
Dmount.fuse.c65 static void *xrealloc(void *oldptr, size_t size) in xrealloc() function
83 char *cmd = xrealloc(*cmdp, cmdlen + optlen * 4 + 4); in add_arg()
108 options = xrealloc(options, oldlen + 1 + strlen(opt) + 1); in add_option()
124 char* options_copy = xrealloc(NULL, subtype_len); in prepare_fuse_fd()
422 dev_fd_mountpoint = xrealloc(NULL, 20); in main()
/third_party/toybox/toys/pending/
Dgroupadd.c82 entry = xrealloc(entry, strlen(entry) + strlen(grp->gr_mem[i]) + 2); in groupadd_main()
86 entry = xrealloc(entry, strlen(entry) + strlen(*toys.optargs) + 1); in groupadd_main()
Dsh.c216 if (!(arg->c&32)) arg->v = xrealloc(arg->v, sizeof(void *)*(arg->c+33)); in expand_arg()
349 rd = xrealloc(rd, (2*rdcount+3+2*32)*sizeof(int *)); in run_command()
455 if (!(31&++rdcount)) rd = xrealloc(rd, (2*rdcount+66)*sizeof(int *)); in run_command()
610 if (!(arg->c&31)) arg->v = xrealloc(arg->v, (33+arg->c)*sizeof(void *)); in argxtend()
753 pl = xrealloc(pl, sizeof(*pl) + ++pl->count*sizeof(struct sh_arg)); in parse_line()
Dmodprobe.c79 opts = xrealloc(opts, optlen + strlen(toadd) + 2); in add_opts()
191 line = xrealloc(line, linelen); in read_line()
387 opt = xrealloc(opt, lopt + 2 + strlen(var) + 2); in add_cmdopt()
Ddiff.c288 v[i] = xrealloc(v[i], size*sizeof(struct v_vector)); in create_j_vector()
289 TT.offset[i] = xrealloc(TT.offset[i], size*sizeof(int)); in create_j_vector()
338 kcand = xrealloc(kcand, (size * sizeof(struct candidate*))); in create_j_vector()
491 dir[TT.dir_num].list = xrealloc(dir[TT.dir_num].list, in add_to_list()
631 if (!ignore_white) d = xrealloc(d, (x + 2) *sizeof(struct diff)); in do_diff()
Dtr.c136 set = xrealloc(set, size); in expand_set()
/third_party/elfutils/lib/
Dlibeu.h37 extern void *xrealloc (void *, size_t) __attribute__ ((__malloc__));
Dxmalloc.c68 xrealloc (void *p, size_t n) in xrealloc() function
/third_party/toybox/toys/posix/
Dsed.c235 s = *old = xrealloc(*old, oldlen+newlen+newline+1); in extend_string()
403 line = xrealloc(line, len+TT.rememberlen+2); in sed_line()
412 TT.remember = xrealloc(TT.remember, TT.rememberlen+len+2); in sed_line()
526 if ((l2l|0xfff) > l2old) l2 = xrealloc(l2, l2old = (l2l|0xfff)+1); in sed_line()
936 command = xrealloc(command, command->w+(cc-line)+6); in parse_pattern()
Dtar.c249 if (!(TT.hlc&255)) TT.hlx = xrealloc(TT.hlx, TT.hlc+256); in add_to_tar()
311 TT.sparse = xrealloc(TT.sparse, (TT.sparselen+514)*sizeof(long long)); in add_to_tar()
622 TT.sparse = xrealloc(TT.sparse, (TT.sparselen+512)*sizeof(long long)); in unpack_tar()
Dsort.c298 TT.lines = xrealloc(TT.lines, sizeof(char *)*(TT.linecount+64)); in sort_lines()
Dgrep.c331 line = xrealloc(line, ul+8); in do_grep()
/third_party/toybox/lib/
Denv.c76 if (!(len&255)) environ = xrealloc(environ, len*sizeof(char *)); in xsetenv()
Dlib.c562 buf = xrealloc(buf, len = (rlen*3)/2); in readfileat()
733 if (!(len & 63)) buf=xrealloc(buf, len+65); in get_line()
1251 list = xrealloc(list, size *= 2); in bufgetpwuid()
1283 list = xrealloc(list, size *= 2); in bufgetgrgid()
Dxwrap.c87 void *xrealloc(void *ptr, size_t size) in xrealloc() function
740 buf = xrealloc(buf, size); in xreadlinkat()
/third_party/musl/porting/liteos_m_iccarm/kernel/src/regex/
Dtre.h232 #define xrealloc realloc macro
/third_party/musl/porting/uniproton/kernel/src/regex/
Dtre.h231 #define xrealloc realloc macro
/third_party/musl/src/regex/
Dtre.h230 #define xrealloc realloc macro
/third_party/musl/porting/liteos_m/kernel/src/regex/
Dtre.h231 #define xrealloc realloc macro
/third_party/toybox/porting/liteos_a/toys/lsb/
Dmount.c131 *more = xrealloc(*more, i + strlen(new) + 2);
/third_party/toybox/toys/lsb/
Dmount.c135 *more = xrealloc(*more, i + strlen(new) + 2);
/third_party/toybox/porting/liteos_a/lib/
Dlib.h126 void *xrealloc(void *ptr, size_t size);
/third_party/toybox/toys/net/
Difconfig.c349 ifcon.ifc_buf = xrealloc(ifcon.ifc_buf, ifcon.ifc_len); in show_iface()
/third_party/toybox/porting/liteos_a/toys/net/
Difconfig.c348 ifcon.ifc_buf = xrealloc(ifcon.ifc_buf, ifcon.ifc_len); in show_iface()

12