• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/file_cmds-242/pax/

Lines Matching refs:sb

884 	arcn->sb.st_nlink = 1;
926 arcn->sb.st_mode = (mode_t)(asc_ul(hd->mode, sizeof(hd->mode), OCT) &
929 arcn->sb.st_size = (off_t)asc_ul(hd->size, sizeof(hd->size), OCT);
931 arcn->sb.st_size = (off_t)asc_uqd(hd->size, sizeof(hd->size), OCT);
933 arcn->sb.st_mtime = (time_t)asc_ul(hd->mtime, sizeof(hd->mtime), OCT);
934 arcn->sb.st_ctime = arcn->sb.st_atime = arcn->sb.st_mtime;
943 if (gid_name(hd->gname, &(arcn->sb.st_gid)) < 0)
944 arcn->sb.st_gid = (gid_t)asc_ul(hd->gid, sizeof(hd->gid), OCT);
946 if (uid_name(hd->uname, &(arcn->sb.st_uid)) < 0)
947 arcn->sb.st_uid = (uid_t)asc_ul(hd->uid, sizeof(hd->uid), OCT);
954 arcn->sb.st_rdev = (dev_t)0;
962 arcn->sb.st_mode |= S_IFIFO;
966 arcn->sb.st_mode |= S_IFDIR;
967 arcn->sb.st_nlink = 2;
984 arcn->sb.st_mode |= S_IFBLK;
987 arcn->sb.st_mode |= S_IFCHR;
991 arcn->sb.st_rdev = TODEV(devmajor, devminor);
997 arcn->sb.st_mode |= S_IFLNK;
1003 arcn->sb.st_mode |= S_IFREG;
1004 arcn->sb.st_nlink = 2;
1015 arcn->pad = TAR_PAD(arcn->sb.st_size);
1016 arcn->skip = arcn->sb.st_size;
1027 arcn->pad = TAR_PAD(arcn->sb.st_size);
1028 arcn->skip = arcn->sb.st_size;
1029 arcn->sb.st_mode |= S_IFREG;
1186 ul_oct((u_long)arcn->sb.st_mtime,hd->mtime,sizeof(hd->mtime),term_char);
1218 sprintf(&time_buffer[0],"%d",(int)arcn->sb.st_atime);
1224 sprintf(&time_buffer[0],"%d",(int)arcn->sb.st_mtime);
1384 if (ul_oct((u_long)MAJOR(arcn->sb.st_rdev), hd->devmajor,
1386 ul_oct((u_long)MINOR(arcn->sb.st_rdev), hd->devminor,
1421 arcn->pad = TAR_PAD(arcn->sb.st_size);
1423 if (ul_oct((u_long)arcn->sb.st_size, hd->size,
1426 if (uqd_oct((u_quad_t)arcn->sb.st_size, hd->size,
1442 if (ul_oct((u_long)arcn->sb.st_uid, hd->uid, sizeof(hd->uid), term_char)) {
1447 if (uid_warn != arcn->sb.st_uid) {
1448 uid_warn = arcn->sb.st_uid;
1451 "using nobody", (u_long)arcn->sb.st_uid);
1456 if (ul_oct((u_long)arcn->sb.st_gid, hd->gid, sizeof(hd->gid), term_char)) {
1461 if (gid_warn != arcn->sb.st_gid) {
1462 gid_warn = arcn->sb.st_gid;
1465 "using nobody", (u_long)arcn->sb.st_gid);
1472 mode12only = ((u_long)arcn->sb.st_mode) & 0x00000fff;
1474 ul_oct((u_long)arcn->sb.st_mtime,hd->mtime,sizeof(hd->mtime),term_char))
1476 strncpy(hd->uname, name_uid(arcn->sb.st_uid, 0), sizeof(hd->uname));
1477 strncpy(hd->gname, name_gid(arcn->sb.st_gid, 0), sizeof(hd->gname));