Home
last modified time | relevance | path

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

12345678

/external/dhcpcd/
Dconfigure.c104 v = xmalloc(len); in make_var()
154 *s = p = xmalloc(len); in arraytostr()
188 env = xmalloc(sizeof(char *) * (elen + 1)); in make_env()
190 env[0] = xmalloc(e); in make_env()
193 env[1] = xmalloc(e); in make_env()
199 env[2] = xmalloc(e); in make_env()
201 env[3] = xmalloc(e); in make_env()
203 env[4] = xmalloc(e); in make_env()
205 env[5] = xmalloc(e); in make_env()
207 env[6] = xmalloc(e); in make_env()
[all …]
Dcommon.c210 **e = xmalloc(len); in setvar()
255 xmalloc(size_t s) in xmalloc() function
269 void *value = xmalloc(s); in xzalloc()
Ddhcp.c325 opt_buffer = xmalloc(sizeof(*dhcp)); in get_option()
621 sip = xmalloc(l); in decode_rfc3361()
632 sip = p = xmalloc(l); in decode_rfc3361()
735 s = xmalloc(sizeof(char) * type); in get_option_string()
743 s = xmalloc(sizeof(char) * (len + 1)); in get_option_string()
815 route->next = xmalloc(sizeof(*route)); in get_option_routes()
818 routes = route = xmalloc(sizeof(*routes)); in get_option_routes()
1184 dhcp = xmalloc(sizeof(*dhcp)); in read_lease()
1278 tmp = xmalloc(l); in print_option()
1460 v = val = *ep++ = xmalloc(e); in configure_env()
Deloop.c82 e = xmalloc(sizeof(*e)); in add_event()
145 t = xmalloc(sizeof(*t)); in add_q_timeout_tv()
332 fds = xmalloc(sizeof(*fds) * fds_len); in start_eloop()
Dbpf.c69 device = xmalloc(sizeof(char) * PATH_MAX); in open_socket()
99 iface->buffer = xmalloc(buf_len); in open_socket()
/external/llvm/test/CodeGen/AArch64/
Dfast-isel-call-return.ll7 ; CHECK: bl xmalloc
8 %0 = call noalias i8* @xmalloc(i64 undef)
12 declare noalias i8* @xmalloc(i64)
Darm64-2012-07-11-InstrEmitterBug.ll8 declare noalias i8* @xmalloc(i64) optsize
40 %call34 = tail call noalias i8* @xmalloc(i64 %conv33) nounwind optsize
/external/bison/lib/
Dxmalloc.c39 xmalloc (size_t n) in xmalloc() function
86 return memset (xmalloc (s), 0, s); in xzalloc()
113 return memcpy (xmalloc (s), p, s); in xmemdup()
Dxalloc.h54 void *xmalloc (size_t s)
75 #define XMALLOC(t) ((t *) xmalloc (sizeof (t)))
80 ((t *) (sizeof (t) == 1 ? xmalloc (n) : xnmalloc (n, sizeof (t))))
104 return xmalloc (n * s); in xnmalloc()
Dbasename.c48 char *p = xmalloc (length + 3); in base_name()
/external/bison/src/
Dstate.c44 transitions *res = xmalloc (offsetof (transitions, states) + states_size); in transitions_new()
82 errs *res = xmalloc (offsetof (errs, symbols) + symbols_size); in errs_new()
104 reductions *res = xmalloc (offsetof (reductions, rules) + rules_size); in reductions_new()
138 res = xmalloc (offsetof (state, items) + items_size); in state_new()
165 res = xmalloc (offsetof (state, items) + items_size); in state_new_isocore()
395 state *probe = xmalloc (offsetof (state, items) + items_size); in state_hash_lookup()
Dsymlist.c35 symbol_list *res = xmalloc (sizeof *res); in symbol_list_sym_new()
66 symbol_list *res = xmalloc (sizeof *res); in symbol_list_type_new()
85 symbol_list *res = xmalloc (sizeof *res); in symbol_list_default_tagged_new()
103 symbol_list *res = xmalloc (sizeof *res); in symbol_list_default_tagless_new()
Dnamed-ref.c28 named_ref *res = xmalloc (sizeof *res); in named_ref_new()
/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/valgrind/coregrind/m_demangle/
Dvg_libciface.h70 #define xmalloc(_nn) \ macro
88 ((_Ty *) xmalloc(sizeof (_Ty) * (_Nn)))
97 ((_Ty *) xmalloc(sizeof (_Ty)))
/external/elfutils/src/libcpu/
Di386_parse.y51 #define obstack_chunk_alloc xmalloc
269 struct synonym *newp = xmalloc (sizeof (*newp));
345 struct suffix *ns = xmalloc (sizeof (*ns));
422 $$ = xmalloc (sizeof (struct bitvalue));
429 $$ = xmalloc (sizeof (struct bitvalue));
436 $$ = xmalloc (sizeof (struct bitvalue));
467 runp->next = xmalloc (sizeof (struct argument));
474 $$ = xmalloc (sizeof (struct argument));
493 $$ = xmalloc (sizeof (struct argname));
525 $$ = xmalloc (sizeof (struct argname));
[all …]
Di386_parse.c124 #define obstack_chunk_alloc xmalloc
1648 struct synonym *newp = xmalloc (sizeof (*newp));
1721 struct suffix *ns = xmalloc (sizeof (*ns));
1817 (yyval.bit) = xmalloc (sizeof (struct bitvalue));
1828 (yyval.bit) = xmalloc (sizeof (struct bitvalue));
1839 (yyval.bit) = xmalloc (sizeof (struct bitvalue));
1878 runp->next = xmalloc (sizeof (struct argument));
1889 (yyval.arg) = xmalloc (sizeof (struct argument));
1917 (yyval.name) = xmalloc (sizeof (struct argname));
1953 (yyval.name) = xmalloc (sizeof (struct argname));
[all …]
/external/openssh/
Dauth-options.c153 forced_command = xmalloc(strlen(opts) + 1); in auth_parse_options()
184 authorized_principals = xmalloc(strlen(opts) + 1); in auth_parse_options()
218 s = xmalloc(strlen(opts) + 1); in auth_parse_options()
253 char *patterns = xmalloc(strlen(opts) + 1); in auth_parse_options()
307 char *patterns = xmalloc(strlen(opts) + 1); in auth_parse_options()
362 tun = xmalloc(strlen(opts) + 1); in auth_parse_options()
Dxmalloc.c30 xmalloc(size_t size) in xmalloc() function
85 cp = xmalloc(len); in xstrdup()
Dssh-pkcs11-helper.c186 signature = xmalloc(slen); in process_sign()
304 rset = (fd_set *)xmalloc(set_size); in main()
305 wset = (fd_set *)xmalloc(set_size); in main()
Dxmalloc.h19 void *xmalloc(size_t);
/external/toybox/toys/pending/
Dlast.c46 struct arg_list *new = xmalloc(sizeof(struct arg_list)); in llist_add_node()
181 llist_add_node(&TT.list, memcpy(xmalloc(sizeof(ut)), &ut, sizeof(ut))); in last_main()
183 llist_add_node(&TT.list, memcpy(xmalloc(sizeof(ut)), &ut, sizeof(ut))); in last_main()
/external/libedit/examples/
Dfileman.c28 void * xmalloc (size_t size);
88 r = xmalloc (strlen (s) + 1); in dupstr()
488 xmalloc (size_t size) in xmalloc() function
/external/elfutils/src/lib/
Dxstrdup.c42 return strcpy (xmalloc (strlen (string) + 1), string);
Dxstrndup.c45 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0';

12345678