Home
last modified time | relevance | path

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

12345678

/external/dhcpcd/
Dconfigure.c104 v = xmalloc(len); in make_var()
154 *s = p = xmalloc(len); in arraytostr()
175 env = xmalloc(sizeof(char *) * (elen + 1)); in make_env()
177 env[0] = xmalloc(e); in make_env()
180 env[1] = xmalloc(e); in make_env()
183 env[2] = xmalloc(e); in make_env()
185 env[3] = xmalloc(e); in make_env()
187 env[4] = xmalloc(e); in make_env()
189 env[5] = xmalloc(e); in make_env()
191 env[6] = xmalloc(e); in make_env()
[all …]
Ddhcp.c319 opt_buffer = xmalloc(sizeof(*dhcp)); in get_option()
615 sip = xmalloc(l); in decode_rfc3361()
626 sip = p = xmalloc(l); in decode_rfc3361()
661 s = xmalloc(sizeof(char) * type); in get_option_string()
669 s = xmalloc(sizeof(char) * (len + 1)); in get_option_string()
739 route->next = xmalloc(sizeof(*route)); in get_option_routes()
742 routes = route = xmalloc(sizeof(*routes)); in get_option_routes()
1108 dhcp = xmalloc(sizeof(*dhcp)); in read_lease()
1200 tmp = xmalloc(l); in print_option()
1292 **e = xmalloc(len); in setvar()
[all …]
/external/openssh/
Drsa.c84 outbuf = xmalloc(olen); in rsa_public_encrypt()
87 inbuf = xmalloc(ilen); in rsa_public_encrypt()
110 outbuf = xmalloc(olen); in rsa_private_decrypt()
113 inbuf = xmalloc(ilen); in rsa_private_decrypt()
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()
242 new_envstring = xmalloc(sizeof(struct envstring)); 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()
361 tun = xmalloc(strlen(opts) + 1); in auth_parse_options()
Dxmalloc.c28 xmalloc(size_t size) in xmalloc() function
91 cp = xmalloc(len); in xstrdup()
Dssh-dss.c89 *sigp = xmalloc(SIGBLOB_LEN); in ssh_dss_sign()
101 *sigp = xmalloc(len); in ssh_dss_sign()
128 sigblob = xmalloc(signaturelen); in ssh_dss_verify()
Dssh-rsa.c65 sig = xmalloc(slen); in ssh_rsa_sign()
96 *sigp = xmalloc(len); in ssh_rsa_sign()
242 decrypted = xmalloc(rsasize); in openssh_RSA_verify()
Dgss-genr.c65 ctx->oid = xmalloc(sizeof(gss_OID_desc)); in ssh_gssapi_set_oid_data()
67 ctx->oid->elements = xmalloc(len); in ssh_gssapi_set_oid_data()
130 ret = xmalloc(buffer_len(&b)); in ssh_gssapi_last_error()
/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()
/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/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/oprofile/opjitconv/
Dopjitconv.c91 struct pathname * pn = xmalloc(sizeof(struct pathname)); in get_pathname()
291 proc_id = xmalloc(proc_id_length + 1); in process_jit_dumpfile()
297 tmp_dumpfile = xmalloc(tmp_conv_dir_length + 1 + strlen(dumpfilename) + 1); in process_jit_dumpfile()
329 elf_file = xmalloc(result_dir_length + in process_jit_dumpfile()
336 tmp_elffile = xmalloc(strlen(tmp_conv_dir) + 1 + in process_jit_dumpfile()
425 proc_id = xmalloc(proc_id_length + 1); in get_procid_from_dirname()
462 xmalloc(sizeof(struct procid)); in filter_anon_samples_list()
529 samples_dir = xmalloc(samples_dir_len + 1); in op_process_jit_dumpfiles()
Djitsymbol.c59 xmalloc(sizeof(struct jitentry *) * entry_count); in create_sorted_array()
163 res = xmalloc(cnt); in replacement_name()
261 s = xmalloc(strlen(split->symbol_name) + 3); in split_entry()
290 s = xmalloc(strlen(split->symbol_name) + 3); in split_entry()
406 name = xmalloc(cnt); in handle_overlap_region()
/external/webkit/Tools/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
/external/valgrind/main/coregrind/m_demangle/
Dvg_libciface.h70 #define xmalloc(_nn) \ macro
88 ((_Ty *) xmalloc(sizeof (_Ty) * (_Nn)))
97 ((_Ty *) xmalloc(sizeof (_Ty)))
/external/elfutils/libcpu/
Di386_parse.y47 #define obstack_chunk_alloc xmalloc
265 struct synonym *newp = xmalloc (sizeof (*newp));
341 struct suffix *ns = xmalloc (sizeof (*ns));
418 $$ = xmalloc (sizeof (struct bitvalue));
425 $$ = xmalloc (sizeof (struct bitvalue));
432 $$ = xmalloc (sizeof (struct bitvalue));
463 runp->next = xmalloc (sizeof (struct argument));
470 $$ = xmalloc (sizeof (struct argument));
489 $$ = xmalloc (sizeof (struct argname));
521 $$ = xmalloc (sizeof (struct argname));
[all …]
/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/
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_ibs.c205 trans->ext = xmalloc(sizeof(struct ibs_sample)); in code_ibs_fetch_sample()
206 ((struct ibs_sample*)(trans->ext))->fetch = xmalloc(sizeof(struct ibs_fetch_sample)); in code_ibs_fetch_sample()
279 trans->ext = xmalloc(sizeof(struct ibs_sample)); in code_ibs_op_sample()
280 ((struct ibs_sample*)(trans->ext))->op = xmalloc(sizeof(struct ibs_op_sample)); in code_ibs_op_sample()
706 sf->ext_files = xmalloc(ibs_selected_size * sizeof(odb_t)); in ibs_sfile_create()
718 to->ext_files = xmalloc(ibs_selected_size * sizeof(odb_t)); in ibs_sfile_dup()
793 cg = xmalloc(sizeof(struct cg_entry)); in ibs_sfile_get()
/external/oprofile/daemon/liblegacy/
Dopd_kernel.c81 struct opd_module * module = xmalloc(sizeof(struct opd_module)); in opd_create_module()
202 modname = xmalloc((size_t)((cp2-cp) + 1)); in opd_get_module_info()
225 filename = xmalloc((size_t)(cp3 - cp2 + 1)); in opd_get_module_info()
282 module_names = xmalloc(size); in opd_drop_module_sample()

12345678