Home
last modified time | relevance | path

Searched refs:st_mode (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/main/java/android/system/
DStructStat.java33 public final int st_mode; /*mode_t*/ field in StructStat
86 public StructStat(long st_dev, long st_ino, int st_mode, long st_nlink, int st_uid, int st_gid, in StructStat() argument
89 this(st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid, in StructStat()
97 public StructStat(long st_dev, long st_ino, int st_mode, long st_nlink, int st_uid, int st_gid, in StructStat() argument
102 this.st_mode = st_mode; in StructStat()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixFileAttributes.java40 private int st_mode; field in UnixFileAttributes
100 int mode() { return st_mode; } in mode()
125 int type = st_mode & UnixConstants.S_IFMT; in isDevice()
153 return ((st_mode & UnixConstants.S_IFMT) == UnixConstants.S_IFREG); in isRegularFile()
158 return ((st_mode & UnixConstants.S_IFMT) == UnixConstants.S_IFDIR); in isDirectory()
163 return ((st_mode & UnixConstants.S_IFMT) == UnixConstants.S_IFLNK); in isSymbolicLink()
168 int type = st_mode & UnixConstants.S_IFMT; in isOther()
217 int bits = (st_mode & UnixConstants.S_IAMB); in permissions()
/libcore/luni/src/test/native/
Dlibcore_java_io_FileTest.cpp42 if (!S_ISDIR(sb.st_mode)) { in Java_libcore_java_io_FileTest_nativeTestFilesWithSurrogatePairs()
53 if (!S_ISREG(sb.st_mode)) { in Java_libcore_java_io_FileTest_nativeTestFilesWithSurrogatePairs()
/libcore/ojluni/src/main/native/
Dio_util_md.c82 if (S_ISDIR(buf64.st_mode)) { in handleOpen()
DFileDispatcherImpl.c181 if (S_ISBLK(fbuf.st_mode)) { in FileDispatcherImpl_size0()
DUnixFileSystem_md.c135 *mode = sb.st_mode; in statMode()
DUnixNativeDispatcher.c464 (*env)->SetIntField(env, attrs, attrs_st_mode, (jint)buf->st_mode); in prepAttributes()
513 return (jint)buf.st_mode; in Java_sun_nio_fs_UnixNativeDispatcher_stat1()
/libcore/dalvik/src/main/java/dalvik/system/
DDexPathList.java320 if (!S_ISDIR(sb.st_mode)) { in splitPaths()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java563 if (S_ISDIR(Libcore.os.fstat(fd).st_mode)) { in open()
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java92 assertFalse(S_ISSOCK(Os.fstat(fis.getFD()).st_mode)); in testIsSocket()
96 assertTrue(S_ISSOCK(Os.fstat(s.getImpl().getFD$()).st_mode)); in testIsSocket()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp501 static_cast<jint>(sb.st_mode), static_cast<jlong>(sb.st_nlink), in makeStructStat()
/libcore/api/
Dcurrent.txt684 field public final int st_mode;