Lines Matching defs:pwds
180 static struct xpasswd *pwds;
211 pwds = xrealloc(pwds, pwdsz * sizeof *pwds);
215 pwds[npwds].pw_name = xstrdup(pwd->pw_name);
216 pwds[npwds].pw_passwd = xstrdup(pwd->pw_passwd);
217 pwds[npwds].pw_uid = pwd->pw_uid;
218 pwds[npwds].pw_gid = pwd->pw_gid;
219 pwds[npwds].pw_change = pwd->pw_change;
220 pwds[npwds].pw_class = xstrdup(pwd->pw_class);
221 pwds[npwds].pw_gecos = xstrdup(pwd->pw_gecos);
222 pwds[npwds].pw_dir = xstrdup(pwd->pw_dir);
223 pwds[npwds].pw_shell = xstrdup(pwd->pw_shell);
224 pwds[npwds].pw_expire = pwd->pw_expire;
225 pwds[npwds].pw_selected = 0;
238 for (i = 0, pwd = pwds; i < npwds; ++i, ++pwd) {
287 mergesort(pwds, npwds, sizeof *pwds, pwd_cmp_byname);
289 mergesort(pwds, npwds, sizeof *pwds, pwd_cmp_byuid);
334 for (i = 0, pwd = pwds; i < npwds; ++i, ++pwd)