Home
last modified time | relevance | path

Searched defs:mode (Results 1 – 25 of 73) sorted by relevance

123

/libcore/luni/src/test/java/tests/security/cert/
DCertificateFactory2Test.java84 private void checkResult(CertificateFactory certFactory, boolean mode) in checkResult()
181 public void GetInstance01(boolean mode) throws CertificateException, CRLException { in GetInstance01()
215 public void GetInstance02(boolean mode) throws CertificateException, in GetInstance02()
280 public void GetInstance03(boolean mode) throws CertificateException, in GetInstance03()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixFileModeAttribute.java49 int mode = 0; in toUnixMode() local
70 int mode = defaultMode; in toUnixMode() local
DUnixChannelFactory.java116 int mode) in newFileChannel()
148 int mode) in newFileChannel()
159 int mode, in newAsynchronousFileChannel()
187 int mode) in open()
DUnixNativeDispatcher.java68 static int open(UnixPath path, int flags, int mode) throws UnixException { in open()
76 private static native int open0(long pathAddress, int flags, int mode) in open0()
82 static int openat(int dfd, byte[] path, int flags, int mode) throws UnixException { in openat()
90 private static native int openat0(int dfd, long pathAddress, int flags, int mode) in openat0()
101 static long fopen(UnixPath filename, String mode) throws UnixException { in fopen()
165 static void mknod(UnixPath path, int mode, long dev) throws UnixException { in mknod()
168 mknod0(buffer.address(), mode, dev); in mknod() local
173 private static native void mknod0(long pathAddress, int mode, long dev) in mknod0()
211 static void mkdir(UnixPath path, int mode) throws UnixException { in mkdir()
214 mkdir0(buffer.address(), mode); in mkdir() local
[all …]
DUnixFileSystemProvider.java178 int mode = UnixFileModeAttribute in newFileChannel() local
195 int mode = UnixFileModeAttribute in newAsynchronousFileChannel() local
215 int mode = UnixFileModeAttribute in newByteChannel() local
294 int mode = 0; in checkAccess() local
398 int mode = UnixFileModeAttribute.toUnixMode(UnixFileModeAttribute.ALL_PERMISSIONS, attrs); in createDirectory() local
525 int mode = UnixNativeDispatcher.stat(file); in isDirectory() local
533 int mode = UnixNativeDispatcher.stat(file); in isRegularFile() local
/libcore/luni/src/main/java/libcore/io/
DIoTracker.java29 private Mode mode = Mode.READ; field in IoTracker
40 public void trackIo(int byteCount, Mode mode) { in trackIo()
DBlockGuardOs.java73 @Override public boolean access(String path, int mode) throws ErrnoException { in access()
80 @Override public void chmod(String path, int mode) throws ErrnoException { in chmod()
173 @Override public void fchmod(FileDescriptor fd, int mode) throws ErrnoException { in fchmod()
254 @Override public void mkdir(String path, int mode) throws ErrnoException { in mkdir()
261 @Override public void mkfifo(String path, int mode) throws ErrnoException { in mkfifo()
268 @Override public FileDescriptor open(String path, int flags, int mode) throws ErrnoException { in open()
/libcore/ojluni/src/main/java/javax/crypto/
DNullCipherSpi.java48 public void engineSetMode(String mode) {} in engineSetMode()
69 protected void engineInit(int mode, Key key, SecureRandom random) {} in engineInit()
71 protected void engineInit(int mode, Key key, in engineInit()
75 protected void engineInit(int mode, Key key, in engineInit()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyPairGenerator2Test.java88 private void checkResult(KeyPairGenerator keyPairGen, int mode) in checkResult()
184 private void GetInstance01(int mode) throws NoSuchAlgorithmException, in GetInstance01()
222 public void GetInstance02(int mode) throws NoSuchAlgorithmException, in GetInstance02()
282 private void GetInstance03(int mode) throws NoSuchAlgorithmException, in GetInstance03()
/libcore/ojluni/src/test/java/util/SequencedCollection/
DBasic.java289 boolean reverseList(int mode) { return (mode & 1) != 0; } in reverseList()
290 boolean reverseSub(int mode) { return (mode & 2) != 0; } in reverseSub()
291 boolean isReversed(int mode) { return reverseList(mode) ^ reverseSub(mode); } in isReversed()
293 List<String> applyMode(int mode, List<String> base) { in applyMode()
667 public void testSubListGet(String label, int mode, List<String> list, List<String> base) { in testSubListGet()
674 public void testSubListAddFirst(String label, int mode, List<String> list, List<String> base) { in testSubListAddFirst()
688 public void testSubListAddLast(String label, int mode, List<String> list, List<String> base) { in testSubListAddLast()
702 … public void testSubListRemoveFirst(String label, int mode, List<String> list, List<String> base) { in testSubListRemoveFirst()
717 … public void testSubListRemoveLast(String label, int mode, List<String> list, List<String> base) { in testSubListRemoveLast()
732 … public void testSubListAddAllFirst(String label, int mode, List<String> list, List<String> base) { in testSubListAddAllFirst()
[all …]
DBasicMap.java204 boolean reverseMap(int mode) { return (mode & 1) != 0; } in reverseMap()
205 boolean reverseView(int mode) { return (mode & 2) != 0; } in reverseView()
206 boolean callLast(int mode) { return (mode & 4) != 0; } in callLast()
208 boolean refLast(int mode) { return reverseMap(mode) ^ reverseView(mode) ^ callLast(mode); } in refLast()
819 int mode, in testKeySetRemoves()
834 int mode, in testValuesRemoves()
849 int mode, in testEntrySetRemoves()
864 int mode, in testEmptyKeySetRemoves()
880 int mode, in testEmptyValuesRemoves()
895 int mode, in testEmptyEntrySetRemoves()
[all …]
/libcore/luni/src/main/java/org/w3c/dom/ls/
DDOMImplementationLS.java84 public LSParser createLSParser(short mode, in createLSParser()
/libcore/ojluni/src/main/java/java/lang/
DStackStreamFactory.java125 protected final long mode; field in StackStreamFactory.AbstractStackWalker
133 protected AbstractStackWalker(StackWalker walker, int mode) { in AbstractStackWalker()
136 protected AbstractStackWalker(StackWalker walker, int mode, int maxDepth) { in AbstractStackWalker()
144 private int toStackWalkMode(StackWalker walker, int mode) { in toStackWalkMode()
426 private R callStackWalk(long mode, int skipframes, in callStackWalk()
458 private void checkFrameType(long mode, T[] frames) { in checkFrameType()
488 private int fetchStackFrames(long mode, @NonNull Object anchor, int batchSize, in fetchStackFrames()
577 int mode) { in StackFrameTraverser()
1071 private static native int nativeFetchStackFrameInfo(long mode, Object anchor, in nativeFetchStackFrameInfo()
/libcore/ojluni/annotations/hiddenapi/java/text/
DCollator.java96 private int decompositionMode_Java_ICU(int mode) { in decompositionMode_Java_ICU()
100 private int decompositionMode_ICU_Java(int mode) { in decompositionMode_ICU_Java()
/libcore/ojluni/src/main/native/
DUnixFileSystem_md.c136 statMode(const char *path, int *mode) in statMode()
157 int mode; in Java_java_io_UnixFileSystem_getBooleanAttributes0() local
210 int mode; in Java_java_io_UnixFileSystem_setPermission0() local
482 int mode; in Java_java_io_UnixFileSystem_setReadOnly0() local
Dio_util_md.c83 handleOpen(const char *path, int oflag, int mode) { in handleOpen()
216 int mode; in handleAvailable() local
/libcore/ojluni/src/main/java/java/text/
DCollator.java407 private int decompositionMode_Java_ICU(int mode) { in decompositionMode_Java_ICU()
417 private int decompositionMode_ICU_Java(int mode) { in decompositionMode_ICU_Java()
/libcore/ojluni/src/test/java/nio/file/attribute/
DPosixFileAttributeViewTest.java54 static void testPermissions(Path file, String mode) throws IOException { in testPermissions()
99 String mode) in createWithPermissions()
/libcore/luni/src/main/java/java/nio/
DNioUtils.java81 public static FileChannel newFileChannel(Closeable ioObject, FileDescriptor fd, int mode) { in newFileChannel()
/libcore/luni/src/main/java/org/xml/sax/ext/
DDeclHandler.java99 String mode, in attributeDecl()
/libcore/ojluni/src/main/java/java/io/
DRandomAccessFile.java83 private int mode; field in RandomAccessFile
151 public RandomAccessFile(String name, String mode) in RandomAccessFile()
233 public RandomAccessFile(File file, String mode) in RandomAccessFile()
248 public RandomAccessFile(File file, String mode, boolean setCloExecFlag) in RandomAccessFile()
/libcore/ojluni/annotations/hiddenapi/java/io/
DRandomAccessFile.java34 public RandomAccessFile(java.lang.String name, java.lang.String mode) in RandomAccessFile()
39 public RandomAccessFile(java.io.File file, java.lang.String mode) in RandomAccessFile()
245 private int mode; field in RandomAccessFile
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DMyCertificateFactorySpi.java50 private static boolean mode; field in MyCertificateFactorySpi
/libcore/ojluni/src/main/java/java/util/concurrent/
DCompletableFuture.java453 abstract CompletableFuture<?> tryFire(int mode); in tryFire()
578 final CompletableFuture<T> postFire(CompletableFuture<?> a, int mode) { in postFire()
603 final CompletableFuture<V> tryFire(int mode) { in tryFire()
675 final CompletableFuture<Void> tryFire(int mode) { in tryFire()
749 final CompletableFuture<Void> tryFire(int mode) { in tryFire()
812 final CompletableFuture<T> tryFire(int mode) { in tryFire()
882 final CompletableFuture<V> tryFire(int mode) { in tryFire()
945 final CompletableFuture<T> tryFire(int mode) { in tryFire()
1003 final CompletableFuture<T> tryFire(int mode) { in tryFire()
1067 final CompletableFuture<U> tryFire(int mode) { in tryFire()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLServerSocketTest.java108 public void setUseClientMode(boolean mode) { in setUseClientMode()
115 public void setWantClientAuth(boolean mode) { in setWantClientAuth()

123