Lines Matching defs:mode
43 char mode[8]; /* 100-107 */
163 /* Set bits 0-11 of the files mode */
164 file_header->mode = 07777 & GET_OCTAL(tar.mode);
168 /* we trash mode[0] here, it's ok */
178 /* Set bits 12-15 of the files mode */
183 file_header->mode |= S_IFREG;
190 file_header->mode |= S_IFDIR;
193 file_header->mode |= S_IFREG;
196 file_header->mode |= S_IFLNK;
199 file_header->mode |= S_IFCHR;
202 file_header->mode |= S_IFBLK;
205 file_header->mode |= S_IFDIR;
208 file_header->mode |= S_IFIFO;
270 /* Must be done after mode is set as '/' is used to check if it's a directory */
276 /* (like GNU tar 1.15.1: verbose mode outputs "dir/dir/") */