/bionic/libc/bionic/ |
getentropy_linux.c | 255 if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode)) { 492 if (S_ISREG(st.st_mode) || 493 S_ISFIFO(st.st_mode) || 494 S_ISSOCK(st.st_mode)) { 502 if (S_ISCHR(st.st_mode)) { 505 } else if (S_ISSOCK(st.st_mode)) {
|
/external/bluetooth/bluedroid/btif/co/ |
bta_fs_co.c | 108 if(S_ISDIR(statBuffer.st_mode)) { 163 if(buffer-> st_mode & S_IRUSR) 167 if(buffer-> st_mode & S_IRGRP) 171 if(buffer-> st_mode & S_IROTH) 178 if((buffer-> st_mode & S_IRUSR) && (buffer-> st_mode & S_IWUSR)) 182 if((buffer-> st_mode & S_IRGRP) && (buffer-> st_mode & S_IWGRP)) 186 if((buffer-> st_mode & S_IROTH) && (buffer-> st_mode & S_IWOTH) [all...] |
/external/e2fsprogs/misc/ |
util.c | 97 if (!S_ISBLK(s.st_mode) && !S_ISCHR(s.st_mode)) 99 if (!S_ISBLK(s.st_mode))
|
/hardware/ti/omap4-aah/security/tf_daemon/ |
smc_properties.c | 149 if ((buf.st_mode & S_IFDIR) != S_IFDIR) 157 if ((buf.st_mode & S_IREAD) != S_IREAD) 163 if ((buf.st_mode & S_IWRITE) != S_IWRITE)
|
/hardware/ti/omap4xxx/security/tf_daemon/ |
smc_properties.c | 149 if ((buf.st_mode & S_IFDIR) != S_IFDIR) 157 if ((buf.st_mode & S_IREAD) != S_IREAD) 163 if ((buf.st_mode & S_IWRITE) != S_IWRITE)
|
/bionic/tests/ |
sys_stat_test.cpp | 70 ASSERT_TRUE(S_ISFIFO(sb.st_mode));
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/jsfs/ |
js_fs_node.cc | 65 // GetStat cached the mode in stat_.st_mode. Forward to Node::CanOpen, 94 FIELD(st_mode); 114 "st_mode", &stat->st_mode,
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
realpath.c | 114 if (!done && !S_ISDIR(statbuf.st_mode)) {
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
http_fs_test.cc | 182 statbuf.st_mode); 257 statbuf.st_mode); 365 EXPECT_EQ(S_IFREG | S_IRALL, sfoo.st_mode); 368 EXPECT_EQ(S_IFREG | S_IRALL | S_IWALL, sbar.st_mode);
|
/external/chromium_org/third_party/libevent/sample/ |
event-test.c | 93 if ((st.st_mode & S_IFMT) == S_IFREG) {
|
/system/core/adb/ |
file_sync_service.c | 95 msg.stat.mode = htoll(st.st_mode); 133 msg.dent.mode = htoll(st.st_mode); 352 do_unlink = lstat(path, &st) || S_ISREG(st.st_mode) || S_ISLNK(st.st_mode);
|
/system/extras/tests/storage/ |
opentest.c | 54 if (! S_ISDIR(statbuf.st_mode)) {
|
wipe_blkdev.c | 114 if (!S_ISBLK(statbuf.st_mode)) {
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
realpath.c | 149 if (!S_ISDIR(sb.st_mode)) { 188 if (S_ISLNK(sb.st_mode)) {
|
/bootable/recovery/minzip/ |
DirUtil.c | 41 if (S_ISDIR(st.st_mode)) { 196 if (!S_ISDIR(st.st_mode)) {
|
/external/bison/lib/ |
open.c | 132 if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode)) 165 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode))
|
stat.c | 86 if (result == 0 && !S_ISDIR (st->st_mode)) 129 if (result == 0 && check_dir && !S_ISDIR (st->st_mode))
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/html5fs/ |
html5_fs_node.cc | 158 stat->st_mode |= S_IFREG; 161 stat->st_mode |= S_IFDIR;
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
kernel_wrap_win.cc | 28 dst->st_mode = src->st_mode;
|
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/ |
baseline_policy_unittest.cc | 66 BPF_ASSERT(S_ISFIFO(stat_buf.st_mode) || S_ISSOCK(stat_buf.st_mode));
|
/external/chromium_org/sandbox/linux/services/ |
credentials_unittest.cc | 45 CHECK_EQ(current.st_mode, parrent.st_mode);
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/ |
build_jsdoc_validator_jar.py | 44 if stat.S_ISDIR(info.st_mode) and not os.path.basename(path).startswith('.'): 48 elif stat.S_ISREG(info.st_mode) and path.endswith('.java'):
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/testing/ |
file.cc | 153 if (S_ISDIR(stats.st_mode)) { 169 } else if (S_ISREG(stats.st_mode)) {
|
/external/chromium_org/third_party/skia/src/utils/ |
SkOSFile.cpp | 230 if (s.st_mode & S_IFDIR) 235 if (!(s.st_mode & S_IFDIR) && issuffixfor(fSuffix, entry->d_name))
|
/external/e2fsprogs/lib/ext2fs/ |
finddev.c | 101 if (S_ISDIR(st.st_mode)) 103 if (S_ISBLK(st.st_mode) && st.st_rdev == device) {
|