/frameworks/base/tools/aapt/ |
FileFinder.cpp | 28 return(S_ISDIR(fileStat.st_mode)); 38 return(S_ISREG(fileStat.st_mode));
|
/system/core/libcutils/ |
dir_hash.c | 56 if (S_ISLNK(sb.st_mode)) { 68 } else if (S_ISREG(sb.st_mode)) { 92 if (S_ISLNK(sb.st_mode) || S_ISREG(sb.st_mode)) { 101 " %d 0%o %d %d", (int) sb.st_size, sb.st_mode, 105 "- - 0%o %d %d", sb.st_mode, 235 if ((stat(name, &sb) == 0) && S_ISDIR(sb.st_mode)) {
|
/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))
|
/build/tools/atree/ |
fs.cpp | 26 return err != 0 || S_ISDIR(st.st_mode); 72 bool is_directory = S_ISDIR(stat_buf.st_mode); 130 else if (!S_ISDIR(st.st_mode)) {
|
/external/e2fsprogs/lib/blkid/ |
devno.c | 118 if (S_ISBLK(st.st_mode) && st.st_rdev == devno) { 125 if (list && S_ISDIR(st.st_mode) && !lstat(path, &st) && 126 S_ISDIR(st.st_mode))
|
getsize.c | 145 if ((fstat(fd, &st) >= 0) && (S_ISBLK(st.st_mode) || S_ISCHR(st.st_mode))) 161 if (S_ISREG(st.st_mode))
|
/external/openssl/crypto/rand/ |
randfile.c | 141 if (sb.st_mode & (S_IFBLK | S_IFCHR)) { 191 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_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)
|
/system/core/toolbox/ |
ls.c | 142 char filetype = mode2kind(s.st_mode); 148 printf("l%c ", mode2kind(link_dest.st_mode)); 182 mode2str(s.st_mode, mode); 197 switch(s.st_mode & S_IFMT) { 323 if (S_ISDIR(s.st_mode)) { 358 if ((flags & LIST_DIRECTORIES) == 0 && S_ISDIR(s.st_mode)) {
|
/external/e2fsprogs/misc/ |
ismounted.c | 92 if (S_ISBLK(st_buf.st_mode)) { 120 if (S_ISBLK(st_buf.st_mode)) {
|
/external/qemu/distrib/sdl-1.2.12/src/audio/ |
SDL_audiodev.c | 65 if ( ((stat("/dev/sound", &sb) == 0) && S_ISDIR(sb.st_mode)) && 66 ((stat(_PATH_DEV_DSP24, &sb) == 0) && S_ISCHR(sb.st_mode)) ) {
|
/frameworks/base/core/jni/ |
android_os_ParcelFileDescriptor.cpp | 91 if (S_ISREG(st.st_mode) || S_ISLNK(st.st_mode)) {
|
/bionic/libc/include/sys/ |
stat.h | 49 unsigned int st_mode; member in struct:stat
|
/development/ndk/platforms/android-3/include/sys/ |
stat.h | 49 unsigned int st_mode; member in struct:stat
|
/external/chromium/base/ |
file_util_posix.cc | 156 if (!S_ISDIR(file_info.st_mode)) 172 if (S_ISDIR(info.stat.st_mode)) 194 if (S_ISDIR(to_file_info.st_mode) != S_ISDIR(from_file_info.st_mode)) 272 S_ISDIR(to_path_stat.st_mode)) { 280 DCHECK(recursive || S_ISDIR(info.stat.st_mode)); 293 if (S_ISDIR(info.stat.st_mode)) { 294 if (mkdir(target_path.value().c_str(), info.stat.st_mode & 01777) != 0 && 300 } else if (S_ISREG(info.stat.st_mode)) { 332 return S_ISDIR(file_info.st_mode); [all...] |
/external/chromium/chrome/browser/resources/file_manager/bin/ |
squashdir.py | 39 if not stat.S_ISDIR(statinfo.st_mode):
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
v4llookup.cc | 31 if (lstat(device_path.c_str(), &s) != 0 || !S_ISCHR(s.st_mode)) return false;
|
/external/expat/xmlwf/ |
readfilemap.c | 63 if (!S_ISREG(sb.st_mode)) {
|
unixfilemap.c | 40 if (!S_ISREG(sb.st_mode)) {
|
/libcore/luni/src/main/native/ |
realpath.cpp | 92 if (lstat(resolved.c_str(), &sb) == 0 && S_ISLNK(sb.st_mode)) {
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/sys/ |
stat.h | 49 unsigned int st_mode; member in struct:stat
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/sys/ |
stat.h | 49 unsigned int st_mode; member in struct:stat
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/sys/ |
stat.h | 49 unsigned int st_mode; member in struct:stat
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/sys/ |
stat.h | 49 unsigned int st_mode; member in struct:stat
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/sys/ |
stat.h | 49 unsigned int st_mode; member in struct:stat
|