/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 | 269 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 …]
|
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() 686 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 | 281 xmalloc(size_t s) in xmalloc() function 295 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/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/libutil/ |
D | op_libiberty.h | 44 void * xmalloc(size_t) OP_ATTRIB_MALLOC; 68 #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() 203 counter_map = xmalloc(nr_counters * sizeof(size_t)); in map_event_to_counter()
|
D | op_events.c | 154 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/ |
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/oprofile/daemon/ |
D | oprofiled.c | 162 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()
|
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/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/dropbear/ |
D | scpmisc.c | 47 xmalloc(size_t size) in xmalloc() function 100 cp = xmalloc(len); in xstrdup()
|
/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';
|