Home
last modified time | relevance | path

Searched refs:reading (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/native/
DIOUtil.c156 convertReturnVal(JNIEnv *env, jint n, jboolean reading) in convertReturnVal() argument
161 if (reading) { in convertReturnVal()
172 const char *msg = reading ? "Read failed" : "Write failed"; in convertReturnVal()
181 convertLongReturnVal(JNIEnv *env, jlong n, jboolean reading) in convertLongReturnVal() argument
186 if (reading) { in convertLongReturnVal()
197 const char *msg = reading ? "Read failed" : "Write failed"; in convertLongReturnVal()
Dnio_util.h47 jint convertReturnVal(JNIEnv *env, jint n, jboolean reading);
48 jlong convertLongReturnVal(JNIEnv *env, jlong n, jboolean reading);
/libcore/ojluni/src/main/java/sun/nio/ch/
DSimpleAsynchronousFileChannelImpl.java58 boolean reading, in SimpleAsynchronousFileChannelImpl() argument
62 super(fdObj, reading, writing, executor); in SimpleAsynchronousFileChannelImpl()
66 boolean reading, in open() argument
73 return new SimpleAsynchronousFileChannelImpl(fdo, reading, writing, executor); in open()
179 if (shared && !reading) in implLock()
246 if (shared && !reading) in tryLock()
295 if (!reading) in implRead()
DAsynchronousFileChannelImpl.java51 protected final boolean reading; field in AsynchronousFileChannelImpl
58 boolean reading, in AsynchronousFileChannelImpl() argument
63 this.reading = reading; in AsynchronousFileChannelImpl()
DAsynchronousSocketChannelImpl.java69 private boolean reading; field in AsynchronousSocketChannelImpl
149 reading = false; in enableReading()
250 if (reading) in read()
256 reading = true; in read()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixChannelFactory.java103 static FileChannel newFileChannel(int fd, String path, boolean reading, boolean writing) { in newFileChannel() argument
106 return FileChannelImpl.open(fdObj, path, reading, writing, null); in newFileChannel()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DAttributedCharacterIteratorAttributeTest.java128 Attribute reading = Attribute.READING; in test_fields() local