HomeSort by relevance Sort by last modified time
    Searched refs:st_mode (Results 176 - 200 of 685) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/toybox/toys/other/
makedevs.c 98 if (stat(ptr, &st) || !S_ISREG(st.st_mode)) {
  /external/toybox/toys/posix/
chgrp.c 51 if ((flags & FLAG_R) && !node->again && S_ISDIR(node->st.st_mode))
wc.c 69 if (!fstat(fd, &st) && S_ISREG(st.st_mode) && st.st_size) {
  /external/f2fs-tools/tools/
fibmap.c 73 printf("mode [0x%8x : %d]\n", st->st_mode, st->st_mode);
112 if (S_ISBLK(bdev_stat.st_mode)) {
  /external/minijail/
system.c 341 domkdir = S_ISDIR(st_buf.st_mode) ||
342 (!bind && (S_ISBLK(st_buf.st_mode) ||
343 S_ISCHR(st_buf.st_mode)));
  /external/openssh/
sftp-common.c 77 a->perm = st->st_mode;
96 st->st_mode = a->perm;
223 strmode(st->st_mode, mode);
authfile.c 107 if ((st.st_mode & (S_IFSOCK|S_IFCHR|S_IFIFO)) == 0 &&
115 if ((st.st_mode & S_IFREG) == 0 || st.st_size <= 0) {
136 if ((st.st_mode & (S_IFSOCK|S_IFCHR|S_IFIFO)) == 0 &&
196 if ((st.st_uid == getuid()) && (st.st_mode & 077) != 0) {
201 (u_int)st.st_mode & 0777, filename);
auth.c 177 if (S_ISREG(st.st_mode) == 0 ||
178 (st.st_mode & (S_IXOTH|S_IXUSR|S_IXGRP)) == 0) {
447 (st.st_mode & 022) != 0)) {
505 if (!S_ISREG(stp->st_mode)) {
510 (stp->st_mode & 022) != 0) {
534 (st.st_mode & 022) != 0) {
596 if (!S_ISREG(st.st_mode)) {
  /external/skia/src/ports/
SkOSFile_posix.cpp 82 if (!S_ISREG(status.st_mode)) {
195 if (s.st_mode & S_IFDIR) {
199 if (!(s.st_mode & S_IFDIR) && issuffixfor(self.fSuffix, entry->d_name)) {
  /external/skqp/src/ports/
SkOSFile_posix.cpp 82 if (!S_ISREG(status.st_mode)) {
195 if (s.st_mode & S_IFDIR) {
199 if (!(s.st_mode & S_IFDIR) && issuffixfor(self.fSuffix, entry->d_name)) {
  /external/vulkan-validation-layers/layers/
vk_layer_config.cpp 216 if ((stat(name, &info) != 0) || !(info.st_mode & S_IFREG)) {
240 if (info.st_mode & S_IFREG) {
253 if (info.st_mode & S_IFDIR) {
  /external/python/cpython3/Lib/test/
test_shutil.py 210 old_dir_mode = os.stat(TESTFN).st_mode
211 old_child_file_mode = os.stat(self.child_file_path).st_mode
212 old_child_dir_mode = os.stat(self.child_dir_path).st_mode
286 self.assertNotEqual(os.stat(src).st_mode, os.stat(dst).st_mode)
288 self.assertEqual(os.stat(src).st_mode, os.stat(dst).st_mode)
294 self.assertEqual(os.stat(src).st_mode, os.stat(dst).st_mode)
298 self.assertEqual(os.stat(src).st_mode, os.stat(dst).st_mode
    [all...]
  /external/toybox/toys/pending/
tar.c 109 else if (!S_ISDIR(st->st_mode) && st->st_nlink > 1) {
177 if (S_ISDIR(st->st_mode) && name[strlen(name)-1] != '/') {
195 itoo(hdr.mode, sizeof(hdr.mode), st->st_mode &07777);
208 } else if (S_ISREG(st->st_mode)) {
217 } else if (S_ISLNK(st->st_mode)) {
228 else if (S_ISDIR(st->st_mode)) hdr.type = '5';
229 else if (S_ISFIFO(st->st_mode)) hdr.type = '6';
230 else if (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) {
231 hdr.type = (S_ISCHR(st->st_mode))?'3':'4'
    [all...]
  /external/e2fsprogs/misc/
create_inode.c 125 inode.i_mode |= st->st_mode;
242 unsigned int st_mode, unsigned int st_rdev)
250 switch(st_mode & S_IFMT) {
662 inode.i_mode = (statbuf.st_mode & ~LINUX_S_IFMT) | LINUX_S_IFREG;
829 if (!S_ISDIR(st.st_mode) && !S_ISLNK(st.st_mode) &&
857 st.st_mode & S_IFMT);
862 switch(st.st_mode & S_IFMT) {
869 st.st_mode, st.st_rdev);
982 st.st_mode & S_IFMT)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/
getpath.c 135 //if (!S_ISREG(buf.st_mode))
136 if (S_ISDIR(buf.st_mode)) {
184 if (!S_ISDIR(buf.st_mode))
324 if(S_ISDIR(buf.st_mode)) { // And it is not a directory.
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
filecmp.py 59 return (stat.S_IFMT(st.st_mode),
159 a_type = stat.S_IFMT(a_stat.st_mode)
160 b_type = stat.S_IFMT(b_stat.st_mode)
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/
FileHook.py 71 oldmode = stat.S_IMODE(sta.st_mode)
84 oldmode = stat.S_IMODE(sta.st_mode)
97 oldmode = stat.S_IMODE(sta.st_mode)
  /external/autotest/client/site_tests/security_SELinux/
security_SELinux.py 78 if os.lstat(file_path).st_mode & (
163 if not stat.S_ISREG(st.st_mode):
165 return st.st_mode & (stat.S_IWUSR | stat.S_IWGRP | stat.S_IWOTH)
  /external/e2fsprogs/util/
symlinks.c 295 if (S_ISLNK(st.st_mode)) {
297 } else if (recurse && S_ISDIR(st.st_mode)) {
381 else if (S_ISLNK(st.st_mode))
  /external/python/cpython2/Lib/
filecmp.py 60 return (stat.S_IFMT(st.st_mode),
160 a_type = stat.S_IFMT(a_stat.st_mode)
161 b_type = stat.S_IFMT(b_stat.st_mode)
  /external/python/cpython3/Lib/
filecmp.py 69 return (stat.S_IFMT(st.st_mode),
169 a_type = stat.S_IFMT(a_stat.st_mode)
170 b_type = stat.S_IFMT(b_stat.st_mode)
  /device/google/bonito/json-c/
random_seed.c 144 return ((buf.st_mode & S_IFCHR) != 0);
  /device/google/crosshatch/json-c/
random_seed.c 144 return ((buf.st_mode & S_IFCHR) != 0);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
getpath.c 150 if (!S_ISREG(buf.st_mode))
178 if (!S_ISREG(buf.st_mode))
180 if ((buf.st_mode & 0111) == 0)
192 if (!S_ISDIR(buf.st_mode))
  /device/linaro/bootloader/edk2/StdLib/Include/sys/
stat.h 61 mode_t st_mode; ///< file attributes member in struct:stat

Completed in 813 milliseconds

1 2 3 4 5 6 78 91011>>