Home | History | Annotate | Download | only in llvm-ar

Lines Matching refs:Mode

326 // Utility function for printing out the file mode when the 't' operation is in
327 // verbose mode.
328 static void printMode(unsigned mode) {
329 outs() << ((mode & 004) ? "r" : "-");
330 outs() << ((mode & 002) ? "w" : "-");
331 outs() << ((mode & 001) ? "x" : "-");
335 // the file names of each of the members. However, if verbose mode is requested
336 // ('v' modifier) then the file type, permission mode, user, group, size, and
340 sys::fs::perms Mode = C.getAccessMode();
341 printMode((Mode >> 6) & 007);
342 printMode((Mode >> 3) & 007);
343 printMode(Mode & 007);
358 // Retain the original mode.
359 sys::fs::perms Mode = C.getAccessMode();
362 failIfError(sys::fs::openFileForWrite(Name, FD, sys::fs::F_None, Mode), Name);
649 fail("Only the gnu format has a thin mode");