Lines Matching refs:name

17  * 4. Neither the name of the University nor the names of its contributors
97 if ((strcmp(arcn->name, TRAILER) == 0) && (arcn->sb.st_size == 0))
114 arcn->org_name = arcn->name;
153 * write the special file with the name trailer in the proper format
170 (void)strcpy(last.name, TRAILER);
176 * read in the file name which follows the cpio header
187 if ((nsz == 0) || (nsz > (int)sizeof(arcn->name))) {
188 paxwarn(1, "Cpio file name length %d is out of range", nsz);
193 * read the name and make sure it is not empty and is \0 terminated
195 if ((rd_wrbuf(arcn->name,nsz) != nsz) || (arcn->name[nsz-1] != '\0') ||
196 (arcn->name[0] == '\0')) {
197 paxwarn(1, "Cpio file name in header is corrupted");
205 * read in the link name for a file with links. The link name is stored
220 paxwarn(1, "Cpio link name length is invalid: %lu",
223 paxwarn(1, "Cpio link name length is invalid: %ju",
230 * read in the link name and \0 terminate it
234 paxwarn(1, "Cpio link name read error");
244 paxwarn(1, "Cpio link name is corrupt");
322 * check name size and if valid, read in the name of this entry (name
333 * no link name to read for this file
341 * check link name size and read in the link name. Link names are
428 * set data size to hold link name
468 * write the file name to the archive
471 (wr_rdbuf(arcn->name, nsz) < 0)) {
487 * write the link name to the archive, tell the caller to go to the
491 paxwarn(1,"Unable to write cpio link name for %s",arcn->org_name);
620 * check the length of the file name, if ok read it in, return -1 if
637 * padding which follows the file data), clear the link name and return
650 * read in the link name and skip over the padding
803 * write the header, the file name and padding as required.
806 (wr_rdbuf(arcn->name, (int)nsz) < 0) ||
826 * write the link name, tell the caller we are done.
830 paxwarn(1,"Could not write sv4cpio link name for %s",
935 * check the file name size, if bogus give up. otherwise read the file
936 * name
945 * header + file name are aligned to 2 byte boundaries, skip if needed
952 * padding which follows the file data), clear the link name and return
1116 * write the header, the file name and padding as required.
1119 (wr_rdbuf(arcn->name, nsz) < 0) ||
1139 * write the link name, tell the caller we are done.
1143 paxwarn(1,"Could not write bcpio link name for %s",arcn->org_name);