Lines Matching +defs:first +defs:name
15 * 3. Neither the name of the University nor the names of its contributors
228 const char *name = NULL;
244 (name = user_from_uid(p->fts_statp->st_uid, 1)) != NULL)
245 output(fp, indent, &offset, "uname=%s", name);
246 if (keys & F_UID || (keys & F_UNAME && name == NULL))
252 (name = group_from_gid(p->fts_statp->st_gid, 1)) != NULL)
253 output(fp, indent, &offset, "gname=%s", name);
254 if (keys & F_GID || (keys & F_GNAME && name == NULL))
339 const char *name = NULL;
347 static int first = 1;
395 * output a new one. So first we check to see if anything changed.
396 * Note that we always output a /set record for the first directory.
402 first) {
403 first = 0;
410 (name = user_from_uid(saveuid, 1)) != NULL)
411 fprintf(fp, " uname=%s", name);
412 if (keys & F_UID || (keys & F_UNAME && name == NULL))
417 (name = group_from_gid(savegid, 1)) != NULL)
418 fprintf(fp, " gname=%s", name);
419 if (keys & F_GID || (keys & F_GNAME && name == NULL))