Lines Matching +defs:first +defs:name

19  * 3. Neither the name of the University nor the names of its contributors
109 dochdir(const char *name)
111 if (chdir(name) == -1)
112 syswarn(1, errno, "Cannot chdir to `%s'", name);
164 if ((p = strrchr(arcn->name, '/')) == NULL)
168 if (realpath(arcn->name, buf) == NULL) {
175 syswarn(1, 0, "Cannot resolve `%s'", arcn->name);
182 arcn->name, buf, p + 1, cwdpath);
208 * the name and group caches.
245 * modify the name as requested by the user if name
251 if (arcn->name[0] == '/' && !check_Aflag()) {
252 memmove(arcn->name, arcn->name + 1,
253 strlen(arcn->name));
359 if (kflag && (lstat(arcn->name, &sb) == 0)) {
366 * than the file with the same name in the file system (no
368 * NOTE: this test is done BEFORE name modifications as
371 * file AFTER the name mod. In honesty the pax spec is probably
374 if ((uflag || Dflag) && ((lstat(arcn->name, &sb) == 0))) {
393 * this archive member is now been selected. modify the name.
399 * a bad name mod, skip and purge name from link table
406 if (arcn->name[0] == '/' && !check_Aflag()) {
407 memmove(arcn->name, arcn->name + 1, strlen(arcn->name));
413 if ((Yflag || Zflag) && ((lstat(arcn->name, &sb) == 0))) {
435 (void)safe_print(arcn->name, listf);
484 * it, skip over the data and purge the name from hard
586 * name as this will be done below again, and we don't want
597 * the same name that is already stored on the archive
630 * Now modify the name as requested by the user
634 * name modification says to skip this file, close the
642 if (arcn->name[0] == '/' && !check_Aflag()) {
643 memmove(arcn->name, arcn->name + 1, strlen(arcn->name));
660 (void)safe_print(arcn->name, listf);
735 * user must agree with archive. The archive is read first to collect
774 frmt->name, orgfrmt->name);
946 tty_warn(1, "directory name is too long %s", dirptr);
1000 * the same name and it is newer, skip the one stored on the
1002 * NOTE: this test is done BEFORE name modifications as
1005 * the name mod. In honesty the pax spec is probably flawed in
1010 * create the destination name
1012 if (strlcpy(dest_pt, arcn->name + (*arcn->name == '/'),
1015 arcn->name);
1040 * to a previous file; modify the name as requested by the
1058 if ((Yflag || Zflag) && ((lstat(arcn->name, &sb) == 0))) {
1071 (void)safe_print(arcn->name, listf);
1118 * first open source file and then create the destination file
1191 int first = 1; /* on 1st read, EOF isn't premature. */
1216 if (first && ret == 0)
1218 first = 0;