/external/dhcpcd/ |
D | configure.c | 98 env = xmalloc(sizeof(char *) * (elen + 1)); in run_script() 102 env[0] = xmalloc(e); in run_script() 107 env[1] = xmalloc(e); in run_script() 110 env[2] = xmalloc(e); in run_script() 113 env[3] = xmalloc(e); in run_script() 115 env[4] = xmalloc(e); in run_script() 257 rt = xmalloc(sizeof(*rt)); in configure_routes() 306 rtn->next = xmalloc(sizeof(*rtn)); in configure_routes() 309 nr = rtn = xmalloc(sizeof(*rtn)); in configure_routes()
|
D | dhcp.c | 273 dhcp_opt_buffer = xmalloc(sizeof(struct dhcp_message)); in get_option() 574 sip = xmalloc(l); in decode_rfc3361() 585 sip = p = xmalloc(l); in decode_rfc3361() 620 s = xmalloc(sizeof(char) * type); in get_option_string() 628 s = xmalloc(sizeof(char) * (len + 1)); in get_option_string() 692 route->next = xmalloc(sizeof(*route)); in get_option_routes() 695 routes = route = xmalloc(sizeof(*routes)); in get_option_routes() 1016 dhcp = xmalloc(sizeof(*dhcp)); in read_lease() 1108 tmp = xmalloc(l); in print_option() 1195 **e = xmalloc(len); in setvar() [all …]
|
D | net.c | 209 ifc.ifc_buf = xmalloc((size_t)len); in do_interface() 247 sdl = xmalloc(ifr->ifr_addr.sa_len); in do_interface() 397 hwaddr = xmalloc(sizeof(unsigned char) * HWADDR_LEN); in read_interface() 406 hwaddr = xmalloc(sizeof(unsigned char) * HWADDR_LEN); in read_interface() 684 arp = xmalloc(arpsize); in send_arp()
|
D | bpf.c | 69 device = xmalloc(sizeof(char) * PATH_MAX); in open_socket() 99 iface->buffer = xmalloc(buf_len); in open_socket()
|
D | common.c | 280 xmalloc(size_t s) in xmalloc() function 294 void *value = xmalloc(s); in xzalloc()
|
/external/bison/m4/ |
D | xalloc.m4 | 9 AC_LIBSOURCES([xmalloc.c, xalloc.h]) 10 AC_LIBOBJ([xmalloc]) 21 # Prerequisites of lib/xmalloc.c.
|
/external/bison/src/ |
D | state.c | 46 transitions *res = xmalloc (offsetof (transitions, states) + states_size); in transitions_new() 84 errs *res = xmalloc (offsetof (errs, symbols) + symbols_size); in errs_new() 106 reductions *res = xmalloc (offsetof (reductions, rules) + rules_size); in reductions_new() 140 res = xmalloc (offsetof (state, items) + items_size); in state_new() 345 state *probe = xmalloc (offsetof (state, items) + items_size); in state_hash_lookup()
|
D | muscle_tab.c | 112 entry = xmalloc (sizeof *entry); in muscle_insert() 138 entry = xmalloc (sizeof *entry); in muscle_grow()
|
D | files.c | 93 char *res = xmalloc (len + 1); in concat2() 145 char *out = xmalloc (strlen (in) + 1); in tr()
|
/external/e2fsprogs/intl/ |
D | relocatable.c | 43 # define xmalloc malloc macro 119 memory = (char *) xmalloc (orig_prefix_len + 1 + curr_prefix_len + 1); in set_this_relocation_prefix() 203 q = (char *) xmalloc (p - curr_pathname + 1); in compute_curr_prefix() 263 curr_prefix = (char *) xmalloc (curr_prefix_len + 1); in compute_curr_prefix() 433 (char *) xmalloc (curr_prefix_len + strlen (pathname_tail) + 1); in relocate()
|
/external/bison/lib/ |
D | xmalloc.c | 63 xmalloc (size_t n) in xmalloc() function 205 return memset (xmalloc (s), 0, s); in xzalloc() 232 return memcpy (xmalloc (s), p, s); in xmemdup()
|
D | quotearg.c | 125 struct quoting_options *p = xmalloc (sizeof *p); in clone_quoting_options() 557 char *buf = xmalloc (bufsize); in quotearg_alloc() 607 slotvec = xmalloc (sizeof *slotvec); in quotearg_n_options() 625 slotvec[n].val = val = xmalloc (size); in quotearg_n_options()
|
/external/dbus/tools/ |
D | dbus-cleanup-sockets.c | 51 xmalloc (size_t bytes) in xmalloc() function 123 se = xmalloc (sizeof (SocketEntry)); in socket_entry_new() 126 se->name = xmalloc (len); in socket_entry_new() 165 entries = xmalloc (sizeof (SocketEntry*) * allocated); in read_sockets()
|
/external/webkit/WebKitTools/android/flex-2.5.4a/MISC/Macintosh/ |
D | xmalloc.c | 35 xmalloc (n) in xmalloc() function 58 return xmalloc (n);
|
D | alloca.c | 59 extern pointer xmalloc(); 180 register pointer new = xmalloc (sizeof (header) + size);
|
/external/oprofile/daemon/ |
D | opd_ibs.c | 166 trans->ext = xmalloc(sizeof(struct ibs_sample)); in code_ibs_fetch_sample() 167 ((struct ibs_sample*)(trans->ext))->fetch = xmalloc(sizeof(struct ibs_fetch_sample)); in code_ibs_fetch_sample() 216 trans->ext = xmalloc(sizeof(struct ibs_sample)); in code_ibs_op_sample() 217 ((struct ibs_sample*)(trans->ext))->op = xmalloc(sizeof(struct ibs_op_sample)); in code_ibs_op_sample() 553 sf->ext_files = xmalloc(ibs_selected_size * sizeof(odb_t)); in ibs_sfile_create() 565 to->ext_files = xmalloc(ibs_selected_size * sizeof(odb_t)); in ibs_sfile_dup() 640 cg = xmalloc(sizeof(struct cg_entry)); in ibs_sfile_get()
|
D | oprofiled.c | 167 cbuf = xmalloc(strlen(op_session_dir) + 5); in opd_write_abi() 288 struct opd_hashed_name * elt = xmalloc(sizeof(struct opd_hashed_name)); in add_image_filter() 289 elt->name = xmalloc(PATH_MAX); in add_image_filter() 424 tmp = xmalloc(PATH_MAX); in opd_options() 452 tmp = xmalloc(PATH_MAX); in opd_options()
|
D | opd_cookie.c | 105 struct cookie_entry * entry = xmalloc(sizeof(struct cookie_entry)); in create_cookie() 108 entry->name = xmalloc(PATH_MAX + 1); in create_cookie()
|
/external/oprofile/libutil/ |
D | op_libiberty.h | 43 void * xmalloc(size_t) OP_ATTRIB_MALLOC; 67 #define xmalloc(s) malloc(s) macro
|
D | op_libiberty.c | 21 void * ptr = xmalloc(n_elem * sz); in xcalloc()
|
/external/oprofile/libop/ |
D | op_alloc_counter.c | 50 ctr_arc = xmalloc(nr_events * sizeof(*ctr_arc)); in build_counter_arc() 60 xmalloc(sizeof(counter_arc)); in build_counter_arc() 231 counter_map = xmalloc(nr_events * sizeof(size_t)); in map_event_to_counter()
|
/external/dropbear/ |
D | scpmisc.c | 47 xmalloc(size_t size) in xmalloc() function 100 cp = xmalloc(len); in xstrdup()
|
/external/bison/djgpp/ |
D | subpipe.c | 131 arguments = xmalloc(argc * sizeof(arguments[0])); in create_subpipe() 134 arguments[argc] = xmalloc((strlen(argv[argc]) + 1) * sizeof(arguments[0][0])); in create_subpipe()
|
/external/elfutils/lib/ |
D | xstrdup.c | 26 return strcpy (xmalloc (strlen (string) + 1), string);
|
D | xstrndup.c | 29 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0';
|