/third_party/popt/src/ |
D | system.h | 25 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/ |
D | mount.fuse.c | 65 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/ |
D | groupadd.c | 82 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()
|
D | sh.c | 216 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()
|
D | modprobe.c | 79 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()
|
D | diff.c | 288 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()
|
D | tr.c | 136 set = xrealloc(set, size); in expand_set()
|
/third_party/elfutils/lib/ |
D | libeu.h | 37 extern void *xrealloc (void *, size_t) __attribute__ ((__malloc__));
|
D | xmalloc.c | 68 xrealloc (void *p, size_t n) in xrealloc() function
|
/third_party/toybox/toys/posix/ |
D | sed.c | 235 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()
|
D | tar.c | 249 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()
|
D | sort.c | 298 TT.lines = xrealloc(TT.lines, sizeof(char *)*(TT.linecount+64)); in sort_lines()
|
D | grep.c | 331 line = xrealloc(line, ul+8); in do_grep()
|
/third_party/toybox/lib/ |
D | env.c | 76 if (!(len&255)) environ = xrealloc(environ, len*sizeof(char *)); in xsetenv()
|
D | lib.c | 562 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()
|
D | xwrap.c | 87 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/ |
D | tre.h | 232 #define xrealloc realloc macro
|
/third_party/musl/porting/uniproton/kernel/src/regex/ |
D | tre.h | 231 #define xrealloc realloc macro
|
/third_party/musl/src/regex/ |
D | tre.h | 230 #define xrealloc realloc macro
|
/third_party/musl/porting/liteos_m/kernel/src/regex/ |
D | tre.h | 231 #define xrealloc realloc macro
|
/third_party/toybox/porting/liteos_a/toys/lsb/ |
D | mount.c | 131 *more = xrealloc(*more, i + strlen(new) + 2);
|
/third_party/toybox/toys/lsb/ |
D | mount.c | 135 *more = xrealloc(*more, i + strlen(new) + 2);
|
/third_party/toybox/porting/liteos_a/lib/ |
D | lib.h | 126 void *xrealloc(void *ptr, size_t size);
|
/third_party/toybox/toys/net/ |
D | ifconfig.c | 349 ifcon.ifc_buf = xrealloc(ifcon.ifc_buf, ifcon.ifc_len); in show_iface()
|
/third_party/toybox/porting/liteos_a/toys/net/ |
D | ifconfig.c | 348 ifcon.ifc_buf = xrealloc(ifcon.ifc_buf, ifcon.ifc_len); in show_iface()
|