Home
last modified time | relevance | path

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

1234

/external/bison/m4/
Dxalloc.m49 AC_LIBSOURCES([xmalloc.c, xalloc.h])
10 AC_LIBOBJ([xmalloc])
21 # Prerequisites of lib/xmalloc.c.
/external/dhcpcd/
Dconfigure.c98 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()
Ddhcp.c269 dhcp_opt_buffer = xmalloc(sizeof(struct dhcp_message)); in get_option()
568 sip = xmalloc(l); in decode_rfc3361()
579 sip = p = xmalloc(l); in decode_rfc3361()
614 s = xmalloc(sizeof(char) * type); in get_option_string()
622 s = xmalloc(sizeof(char) * (len + 1)); in get_option_string()
686 route->next = xmalloc(sizeof(*route)); in get_option_routes()
689 routes = route = xmalloc(sizeof(*routes)); in get_option_routes()
987 dhcp = xmalloc(sizeof(*dhcp)); in read_lease()
1071 tmp = xmalloc(l); in print_option()
1158 **e = xmalloc(len); in setvar()
[all …]
Dnet.c209 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()
686 arp = xmalloc(arpsize); in send_arp()
Dbpf.c69 device = xmalloc(sizeof(char) * PATH_MAX); in open_socket()
99 iface->buffer = xmalloc(buf_len); in open_socket()
Dcommon.c281 xmalloc(size_t s) in xmalloc() function
295 void *value = xmalloc(s); in xzalloc()
/external/bison/src/
Dstate.c46 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()
Dmuscle_tab.c112 entry = xmalloc (sizeof *entry); in muscle_insert()
138 entry = xmalloc (sizeof *entry); in muscle_grow()
Dfiles.c93 char *res = xmalloc (len + 1); in concat2()
145 char *out = xmalloc (strlen (in) + 1); in tr()
/external/e2fsprogs/intl/
Drelocatable.c43 # 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/
Dxmalloc.c63 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()
Dquotearg.c125 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/webkit/WebKitTools/android/flex-2.5.4a/MISC/Macintosh/
Dxmalloc.c35 xmalloc (n) in xmalloc() function
58 return xmalloc (n);
Dalloca.c59 extern pointer xmalloc();
180 register pointer new = xmalloc (sizeof (header) + size);
/external/oprofile/libutil/
Dop_libiberty.h43 void * xmalloc(size_t) OP_ATTRIB_MALLOC;
67 #define xmalloc(s) malloc(s) macro
Dop_libiberty.c21 void * ptr = xmalloc(n_elem * sz); in xcalloc()
/external/dbus/tools/
Ddbus-cleanup-sockets.c51 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/oprofile/libop/
Dop_alloc_counter.c50 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/oprofile/daemon/
Dopd_ibs.c166 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()
Doprofiled.c167 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()
Dopd_cookie.c105 struct cookie_entry * entry = xmalloc(sizeof(struct cookie_entry)); in create_cookie()
108 entry->name = xmalloc(PATH_MAX + 1); in create_cookie()
/external/elfutils/lib/
Dxstrdup.c26 return strcpy (xmalloc (strlen (string) + 1), string);
Dxstrndup.c29 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0';
/external/dropbear/
Dscpmisc.c47 xmalloc(size_t size) in xmalloc() function
100 cp = xmalloc(len); in xstrdup()
/external/bison/djgpp/
Dsubpipe.c131 arguments = xmalloc(argc * sizeof(arguments[0])); in create_subpipe()
134 arguments[argc] = xmalloc((strlen(argv[argc]) + 1) * sizeof(arguments[0][0])); in create_subpipe()

1234