Lines Matching refs:local

151 copy_passwd (struct passwd *result, struct passwd *local,  in copy_passwd()  argument
156 result->pw_name = alloc_buffer_maybe_copy_string (&buf, local->pw_name); in copy_passwd()
157 result->pw_passwd = alloc_buffer_maybe_copy_string (&buf, local->pw_passwd); in copy_passwd()
158 result->pw_uid = local->pw_uid; in copy_passwd()
159 result->pw_gid = local->pw_gid; in copy_passwd()
160 result->pw_gecos = alloc_buffer_maybe_copy_string (&buf, local->pw_gecos); in copy_passwd()
161 result->pw_dir = alloc_buffer_maybe_copy_string (&buf, local->pw_dir); in copy_passwd()
162 result->pw_shell = alloc_buffer_maybe_copy_string (&buf, local->pw_shell); in copy_passwd()
246 copy_group (struct group *result, struct group *local, in copy_group() argument
253 if (local->gr_mem) in copy_group()
256 while (local->gr_mem[i]) in copy_group()
262 for (i = 0; local->gr_mem[i]; ++i) in copy_group()
263 memlist[i] = alloc_buffer_maybe_copy_string (&buf, local->gr_mem[i]); in copy_group()
272 result->gr_name = alloc_buffer_maybe_copy_string (&buf, local->gr_name); in copy_group()
273 result->gr_passwd = alloc_buffer_maybe_copy_string (&buf, local->gr_passwd); in copy_group()
274 result->gr_gid = local->gr_gid; in copy_group()
361 copy_shadow (struct spwd *result, struct spwd *local, in copy_shadow() argument
366 result->sp_namp = alloc_buffer_maybe_copy_string (&buf, local->sp_namp); in copy_shadow()
367 result->sp_pwdp = alloc_buffer_maybe_copy_string (&buf, local->sp_pwdp); in copy_shadow()
368 result->sp_lstchg = local->sp_lstchg; in copy_shadow()
369 result->sp_min = local->sp_min; in copy_shadow()
370 result->sp_max = local->sp_max; in copy_shadow()
371 result->sp_warn = local->sp_warn; in copy_shadow()
372 result->sp_inact = local->sp_inact; in copy_shadow()
373 result->sp_expire = local->sp_expire; in copy_shadow()
374 result->sp_flag = local->sp_flag; in copy_shadow()
444 copy_host (struct hostent *result, struct hostent *local, in copy_host() argument
451 if (local->h_addr_list) in copy_host()
454 while (local->h_addr_list[i]) in copy_host()
461 memlist[j] = alloc_buffer_maybe_copy_string (&buf, local->h_addr_list[j]); in copy_host()
475 result->h_name = alloc_buffer_maybe_copy_string (&buf, local->h_name); in copy_host()