Lines Matching refs:mode
291 char mode[] = "??? "; in InfoOne() local
296 mode[0] = (attrs & 0x10) ? 'd' : '-'; in InfoOne()
297 mode[1] = 'r'; in InfoOne()
298 mode[2] = (attrs & 0x01) ? '-' : 'w'; in InfoOne()
300 mode[3] = EndsWith(name, ".exe") || EndsWith(name, ".com") || EndsWith(name, ".bat") || in InfoOne()
304 mode[4] = (attrs & 0x20) ? 'a' : '-'; in InfoOne()
305 mode[5] = (attrs & 0x02) ? 'h' : '-'; in InfoOne()
306 mode[6] = (attrs & 0x04) ? 's' : '-'; in InfoOne()
309 mode[0] = S_ISDIR(entry.unix_mode) ? 'd' : (S_ISREG(entry.unix_mode) ? '-' : '?'); in InfoOne()
310 mode[1] = entry.unix_mode & S_IRUSR ? 'r' : '-'; in InfoOne()
311 mode[2] = entry.unix_mode & S_IWUSR ? 'w' : '-'; in InfoOne()
312 mode[3] = entry.unix_mode & S_IXUSR ? 'x' : '-'; in InfoOne()
313 mode[4] = entry.unix_mode & S_IRGRP ? 'r' : '-'; in InfoOne()
314 mode[5] = entry.unix_mode & S_IWGRP ? 'w' : '-'; in InfoOne()
315 mode[6] = entry.unix_mode & S_IXGRP ? 'x' : '-'; in InfoOne()
316 mode[7] = entry.unix_mode & S_IROTH ? 'r' : '-'; in InfoOne()
317 mode[8] = entry.unix_mode & S_IWOTH ? 'w' : '-'; in InfoOne()
318 mode[9] = entry.unix_mode & S_IXOTH ? 'x' : '-'; in InfoOne()
334 printf("%s %2d.%d %s %8" PRIu64 " %c%c %s %s %s\n", mode, version / 10, version % 10, src_fs, in InfoOne()