Lines Matching refs:dest
143 struct passwd *dest, in copy_synthesized_passwd() argument
150 assert(dest); in copy_synthesized_passwd()
171 *dest = *src; in copy_synthesized_passwd()
174 dest->pw_name = buffer; in copy_synthesized_passwd()
175 dest->pw_passwd = stpcpy(dest->pw_name, src->pw_name) + 1; in copy_synthesized_passwd()
176 dest->pw_gecos = stpcpy(dest->pw_passwd, src->pw_passwd) + 1; in copy_synthesized_passwd()
177 dest->pw_dir = stpcpy(dest->pw_gecos, src->pw_gecos) + 1; in copy_synthesized_passwd()
178 dest->pw_shell = stpcpy(dest->pw_dir, src->pw_dir) + 1; in copy_synthesized_passwd()
179 strcpy(dest->pw_shell, src->pw_shell); in copy_synthesized_passwd()
185 struct spwd *dest, in copy_synthesized_spwd() argument
192 assert(dest); in copy_synthesized_spwd()
207 *dest = *src; in copy_synthesized_spwd()
210 dest->sp_namp = buffer; in copy_synthesized_spwd()
211 dest->sp_pwdp = stpcpy(dest->sp_namp, src->sp_namp) + 1; in copy_synthesized_spwd()
212 strcpy(dest->sp_pwdp, src->sp_pwdp); in copy_synthesized_spwd()
218 struct group *dest, in copy_synthesized_group() argument
225 assert(dest); in copy_synthesized_group()
243 *dest = *src; in copy_synthesized_group()
246 dest->gr_name = buffer; in copy_synthesized_group()
247 dest->gr_passwd = stpcpy(dest->gr_name, src->gr_name) + 1; in copy_synthesized_group()
248 dest->gr_mem = ALIGN_PTR(stpcpy(dest->gr_passwd, src->gr_passwd) + 1); in copy_synthesized_group()
249 *dest->gr_mem = NULL; in copy_synthesized_group()
255 struct sgrp *dest, in copy_synthesized_sgrp() argument
262 assert(dest); in copy_synthesized_sgrp()
277 *dest = *src; in copy_synthesized_sgrp()
280 dest->sg_namp = buffer; in copy_synthesized_sgrp()
281 dest->sg_passwd = stpcpy(dest->sg_namp, src->sg_namp) + 1; in copy_synthesized_sgrp()
282 strcpy(dest->sg_passwd, src->sg_passwd); in copy_synthesized_sgrp()