Home
last modified time | relevance | path

Searched refs:xmalloc (Results 1 – 25 of 187) 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()
/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()
Dbufbn.c63 u_char *buf = xmalloc(bin_size); in buffer_put_bignum_ret()
163 buf = xmalloc(bytes); in buffer_put_bignum2_ret()
Dkexdhc.c117 kbuf = xmalloc(klen); in kexdh_client()
154 kex->session_id = xmalloc(kex->session_id_len); in kexdh_client()
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/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()
/external/bison/src/
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()
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()
/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/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