Lines Matching refs:perm
168 int perm = 0; in readfile() local
171 int perm; in readfile() local
352 perm = mch_getperm(fname); in readfile()
353 if (perm >= 0 && !S_ISREG(perm) // not a regular file ... in readfile()
354 && !S_ISFIFO(perm) // ... or fifo in readfile()
355 && !S_ISSOCK(perm) // ... or socket in readfile()
357 && !(S_ISCHR(perm) && is_dev_fd_file(fname)) in readfile()
364 if (S_ISDIR(perm)) in readfile()
465 !(perm & 0222) || in readfile()
493 perm = mch_getperm(fname); // check if the file exists in readfile()
503 if (perm < 0 in readfile()
2426 if (S_ISFIFO(perm)) // fifo in readfile()
2431 if (S_ISSOCK(perm)) // or socket in readfile()
2437 if (S_ISCHR(perm)) // or character special in readfile()
2957 int perm UNUSED) // known permissions on file in check_file_readonly()
2966 (perm & 0222) == 0 || in check_file_readonly()
3712 long perm; in vim_rename() local
3836 perm = mch_getperm(from); in vim_rename()
3852 O_CREAT|O_EXCL|O_WRONLY|O_EXTRA|O_NOFOLLOW, (int)perm); in vim_rename()
3890 mch_setperm(to, perm); in vim_rename()
4511 getfpermwfd(WIN32_FIND_DATAW *wfd, char_u *perm) in getfpermwfd() argument
4538 return getfpermst(&st, perm); in getfpermwfd()