Home
last modified time | relevance | path

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

1234

/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/m4/
Dxalloc.m49 AC_LIBSOURCES([xmalloc.c, xalloc.h])
10 AC_LIBOBJ([xmalloc])
21 # Prerequisites of lib/xmalloc.c.
/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.h44 void * xmalloc(size_t) OP_ATTRIB_MALLOC;
68 #define xmalloc(s) malloc(s) macro
Dop_libiberty.c21 void * ptr = xmalloc(n_elem * sz); in xcalloc()
/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()
203 counter_map = xmalloc(nr_counters * sizeof(size_t)); in map_event_to_counter()
Dop_events.c154 struct op_unit_mask * um = xmalloc(sizeof(struct op_unit_mask)); in new_unit_mask()
293 struct op_event * event = xmalloc(sizeof(struct op_event)); in new_event()
443 event_dir = xmalloc(strlen(dir) + strlen("/") + strlen(cpu_name) + in load_events()
451 event_file = xmalloc(strlen(event_dir) + strlen("events") + 1); in load_events()
455 um_file = xmalloc(strlen(event_dir) + strlen("unit_masks") + 1); in load_events()
547 ev_map_file = xmalloc(strlen(dir) + strlen("/") + strlen(cpu_name) + in open_event_mapping_file()
635 map = xmalloc(70); in get_mapping()
/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/daemon/
Doprofiled.c162 cbuf = xmalloc(strlen(op_session_dir) + 5); in opd_write_abi()
283 struct opd_hashed_name * elt = xmalloc(sizeof(struct opd_hashed_name)); in add_image_filter()
284 elt->name = xmalloc(PATH_MAX); in add_image_filter()
416 tmp = xmalloc(PATH_MAX); in opd_options()
441 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/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()
/external/dropbear/
Dscpmisc.c47 xmalloc(size_t size) in xmalloc() function
100 cp = xmalloc(len); in xstrdup()
/external/elfutils/lib/
Dxstrdup.c26 return strcpy (xmalloc (strlen (string) + 1), string);
Dxstrndup.c29 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0';

1234