/external/strace/ |
D | xmalloc.c | 76 xreallocarray(void *ptr, size_t nmemb, size_t size) in xreallocarray() function 111 return xreallocarray(ptr, *nmemb, memb_size); in xgrowarray()
|
D | xmalloc.h | 45 void *xreallocarray(void *ptr, size_t nmemb, size_t size)
|
D | number_set.c | 64 set->vec = xreallocarray(set->vec, new_nslots, sizeof(*set->vec)); in reallocate_number_set()
|
D | ChangeLog | 10263 (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/ |
D | xmalloc.h | 22 void *xreallocarray(void *, size_t, size_t);
|
D | uidswap.c | 99 saved_egroups = xreallocarray(saved_egroups, in temporarily_use_uid() 117 user_groups = xreallocarray(user_groups, in temporarily_use_uid()
|
D | uuencode.c | 85 buf = xreallocarray(NULL, 2, len); in dump_base64()
|
D | xmalloc.c | 69 xreallocarray(void *ptr, size_t nmemb, size_t size) in xreallocarray() function
|
D | auth-pam.c | 742 **prompts = xreallocarray(**prompts, 1, len); in sshpam_query() 752 **prompts = xreallocarray(**prompts, 1, len); in sshpam_query()
|
D | auth2-pubkey.c | 287 argv = xreallocarray(argv, (argc + 2), sizeof(*argv)); in split_argv() 1046 av = xreallocarray(av, ac + 2, sizeof(*av)); in user_key_command_allowed2()
|
D | channels.c | 332 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,
|
D | session.c | 841 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()
|
D | servconf.c | 661 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()
|
D | ssh-pkcs11.c | 548 *keysp = xreallocarray(*keysp, *nkeys + 1, in pkcs11_fetch_keys_filter()
|
D | sftp-server.c | 308 handles = xreallocarray(handles, num_handles, sizeof(Handle)); in handle_new() 1061 stats = xreallocarray(stats, nstats, sizeof(Stat)); in process_readdir()
|
D | misc.c | 542 args->list = xreallocarray(args->list, nalloc, sizeof(char *)); in addargs()
|
D | scp.c | 1356 bp->buf = xreallocarray(bp->buf, 1, size);
|
D | readconf.c | 335 options->local_forwards = xreallocarray(options->local_forwards, in add_local_forward() 364 options->remote_forwards = xreallocarray(options->remote_forwards, in add_remote_forward()
|
D | ssh-agent.c | 993 sockets = xreallocarray(sockets, new_alloc, sizeof(sockets[0])); in new_socket()
|
D | sftp-client.c | 633 *dir = xreallocarray(*dir, ents + 2, sizeof(**dir)); in do_lsreaddir()
|
D | mux.c | 356 cctx->env = xreallocarray(cctx->env, env_len + 2, in process_mux_new_session()
|
D | ssh-keygen.c | 1621 plist = xreallocarray(plist, n + 1, sizeof(*plist)); in do_ca_sign()
|
D | ChangeLog | 8806 xrealloc -> xreallocarray in portable code too. 8902 2*len -> use xreallocarray() ok djm 8910 rename xrealloc() to xreallocarray() since it follows
|