Home
last modified time | relevance | path

Searched refs:xreallocarray (Results 1 – 23 of 23) sorted by relevance

/external/strace/
Dxmalloc.c76 xreallocarray(void *ptr, size_t nmemb, size_t size) in xreallocarray() function
111 return xreallocarray(ptr, *nmemb, memb_size); in xgrowarray()
Dxmalloc.h45 void *xreallocarray(void *ptr, size_t nmemb, size_t size)
Dnumber_set.c64 set->vec = xreallocarray(set->vec, new_nslots, sizeof(*set->vec)); in reallocate_number_set()
DChangeLog10263 (dyxlat_add_pair): Use xgrowarray instead of xreallocarray.
10267 dynamic array management using xreallocarray.
13130 (xcalloc, xmalloc, xreallocarray, xstrdup, xstrndup): Move to xmalloc.h.
38396 * defs.h (xmalloc, xcalloc, xreallocarray, xstrdup): New prototypes.
38403 * pathtrace.c (storepath): Use xreallocarray.
38406 (expand_tcbtab): Use xcalloc and xreallocarray.
38409 * syscall.c (reallocate_qual): Use xreallocarray.
38412 (build_mmap_cache): Use xcalloc, xreallocarray, and xstrdup.
38413 (get_symbol_name): Use xreallocarray.
/external/openssh/
Dxmalloc.h22 void *xreallocarray(void *, size_t, size_t);
Duidswap.c99 saved_egroups = xreallocarray(saved_egroups, in temporarily_use_uid()
117 user_groups = xreallocarray(user_groups, in temporarily_use_uid()
Duuencode.c85 buf = xreallocarray(NULL, 2, len); in dump_base64()
Dxmalloc.c69 xreallocarray(void *ptr, size_t nmemb, size_t size) in xreallocarray() function
Dauth-pam.c742 **prompts = xreallocarray(**prompts, 1, len); in sshpam_query()
752 **prompts = xreallocarray(**prompts, 1, len); in sshpam_query()
Dauth2-pubkey.c287 argv = xreallocarray(argv, (argc + 2), sizeof(*argv)); in split_argv()
1046 av = xreallocarray(av, ac + 2, sizeof(*av)); in user_key_command_allowed2()
Dchannels.c332 channels = xreallocarray(channels, channels_alloc + 10, in channel_new()
2275 *readsetp = xreallocarray(*readsetp, nfdset, sizeof(fd_mask));
2276 *writesetp = xreallocarray(*writesetp, nfdset, sizeof(fd_mask));
2573 permitted_opens = xreallocarray(permitted_opens,
3629 permitted_opens = xreallocarray(permitted_opens,
3825 permitted_opens = xreallocarray(permitted_opens,
3876 permitted_adm_opens = xreallocarray(permitted_adm_opens,
Dsession.c841 env = (*envp) = xreallocarray(env, envsize, sizeof(char *)); in child_set_env()
1726 tmp = xreallocarray(sessions, sessions_nalloc + 1, in session_new()
2051 s->env = xreallocarray(s->env, s->num_env + 1, in session_env_req()
Dservconf.c661 options->queued_listen_addrs = xreallocarray( in queue_listen_addr()
664 options->queued_listen_ports = xreallocarray( in queue_listen_addr()
1499 p = xreallocarray(p, 1, len); in process_server_config_line()
Dssh-pkcs11.c548 *keysp = xreallocarray(*keysp, *nkeys + 1, in pkcs11_fetch_keys_filter()
Dsftp-server.c308 handles = xreallocarray(handles, num_handles, sizeof(Handle)); in handle_new()
1061 stats = xreallocarray(stats, nstats, sizeof(Stat)); in process_readdir()
Dmisc.c542 args->list = xreallocarray(args->list, nalloc, sizeof(char *)); in addargs()
Dscp.c1356 bp->buf = xreallocarray(bp->buf, 1, size);
Dreadconf.c335 options->local_forwards = xreallocarray(options->local_forwards, in add_local_forward()
364 options->remote_forwards = xreallocarray(options->remote_forwards, in add_remote_forward()
Dssh-agent.c993 sockets = xreallocarray(sockets, new_alloc, sizeof(sockets[0])); in new_socket()
Dsftp-client.c633 *dir = xreallocarray(*dir, ents + 2, sizeof(**dir)); in do_lsreaddir()
Dmux.c356 cctx->env = xreallocarray(cctx->env, env_len + 2, in process_mux_new_session()
Dssh-keygen.c1621 plist = xreallocarray(plist, n + 1, sizeof(*plist)); in do_ca_sign()
DChangeLog8806 xrealloc -> xreallocarray in portable code too.
8902 2*len -> use xreallocarray() ok djm
8910 rename xrealloc() to xreallocarray() since it follows