HomeSort by relevance Sort by last modified time
    Searched full:st_mode (Results 126 - 150 of 726) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/libcap-ng/libcap-ng-0.7/utils/
filecap.c 49 if (S_ISREG(sb->st_mode) == 0)
119 if (S_ISREG(sbuf.st_mode) && path == NULL &&
123 } else if (S_ISDIR(sbuf.st_mode) && path == NULL
  /external/e2fsprogs/lib/ext2fs/
ismounted.c 58 if (S_ISBLK(st_buf.st_mode)) {
73 if (S_ISBLK(st_buf.st_mode)) {
249 S_ISBLK(st_buf.st_mode))
276 S_ISBLK(st_buf.st_mode) &&
330 !S_ISBLK(st_buf.st_mode))
  /system/extras/tests/fstest/
perm_checker.c 379 if (S_ISDIR(s.st_mode)) {
385 retval |= validate_dir(namebuf, PERMS(s.st_mode), s.st_uid, s.st_gid);
400 } else if (S_ISLNK(s.st_mode)) {
401 return validate_link(name, PERMS(s.st_mode), s.st_uid, s.st_gid);
403 return validate_file(name, PERMS(s.st_mode), s.st_uid, s.st_gid);
  /build/libs/host/
CopyFile.c 183 if (chmod(dst, pSrcStat->st_mode & ~(S_IFMT)) != 0) {
185 dst, pSrcStat->st_mode & ~(S_IFMT), strerror(errno)));
217 if (statResult == 0 && !S_ISREG(dstStat.st_mode)) {
362 if (statResult == 0 && !S_ISREG(dstStat.st_mode)
363 && !S_ISLNK(dstStat.st_mode)
441 if (statResult == 0 && !S_ISDIR(dstStat.st_mode)) {
583 if (statResult == 0 && !S_ISREG(srcStat.st_mode))
615 if (S_ISDIR(srcStat.st_mode)) {
622 } else if (S_ISLNK(srcStat.st_mode)) {
625 } else if (S_ISREG(srcStat.st_mode)) {
    [all...]
  /external/llvm/lib/Support/Unix/
Path.inc 380 if (!S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode))
445 if (!S_ISREG(buf.st_mode))
477 if (S_ISDIR(Status.st_mode))
479 else if (S_ISREG(Status.st_mode))
481 else if (S_ISBLK(Status.st_mode))
483 else if (S_ISCHR(Status.st_mode))
485 else if (S_ISFIFO(Status.st_mode))
487 else if (S_ISSOCK(Status.st_mode))
490 perms Perms = static_cast<perms>(Status.st_mode);
    [all...]
  /frameworks/native/cmds/rawbu/
backup.cpp 131 if(S_ISDIR(statBuffer.st_mode)) {
248 if (!write_int32(fh, st->st_mode)) return 0;
316 if(S_ISDIR(statBuffer.st_mode)) {
327 } else if (S_ISREG(statBuffer.st_mode)) {
474 st->st_mode = read_int32(fh, -1);
475 if (st->st_mode == (mode_t)-1) {
498 st->st_mode &= (S_IRWXU|S_IRWXG|S_IRWXO);
553 if (mkdir(path, statBuffer.st_mode) != 0) {
595 if (chmod(path, statBuffer.st_mode&(S_IRWXU|S_IRWXG|S_IRWXO)) != 0) {
597 typeName, path, statBuffer.st_mode, strerror(errno))
    [all...]
  /external/bluetooth/bluedroid/btif/co/
bta_fs_co.c 107 if(S_ISDIR(statBuffer.st_mode)) {
162 if(buffer-> st_mode & S_IRUSR)
166 if(buffer-> st_mode & S_IRGRP)
170 if(buffer-> st_mode & S_IROTH)
177 if((buffer-> st_mode & S_IRUSR) && (buffer-> st_mode & S_IWUSR))
181 if((buffer-> st_mode & S_IRGRP) && (buffer-> st_mode & S_IWGRP))
185 if((buffer-> st_mode & S_IROTH) && (buffer-> st_mode & S_IWOTH)
    [all...]
  /external/e2fsprogs/misc/
util.c 102 if (!S_ISBLK(s.st_mode) && !S_ISCHR(s.st_mode))
104 if (!S_ISBLK(s.st_mode))
  /external/openssh/
sftp-common.c 75 a->perm = st->st_mode;
94 st->st_mode = a->perm;
198 strmode(st->st_mode, mode);
  /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)
  /external/chromium/third_party/libevent/sample/
event-test.c 93 if ((st.st_mode & S_IFMT) == S_IFREG) {
  /external/chromium_org/third_party/libevent/sample/
event-test.c 93 if ((st.st_mode & S_IFMT) == S_IFREG) {
  /system/core/toolbox/
restorecon.c 32 if (selabel_lookup(sehandle, &newcontext, pathname, sb->st_mode) < 0) {
rm.c 32 if (!S_ISDIR(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/include/sys/
stat.h 51 unsigned int st_mode; member in struct:stat
82 unsigned int 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)) {
  /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/
kernel_wrap_win.cc 28 dst->st_mode = src->st_mode;
mount_node_html5fs.cc 157 stat->st_mode |= S_IFREG;
160 stat->st_mode |= S_IFDIR;
  /external/chromium_org/sandbox/linux/services/
credentials_unittest.cc 46 CHECK_EQ(current.st_mode, parrent.st_mode);
  /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))

Completed in 1323 milliseconds

1 2 3 4 56 7 8 91011>>