/external/testng/src/test/java/test/abstractmethods/ |
CRUDTest2.java | 10 public void read() { method in class:CRUDTest2
|
/libcore/ojluni/src/main/java/java/sql/ |
DataTruncation.java | 35 * <P>The SQLstate for a <code>DataTruncation</code> during read is <code>01004</code>. 44 * to 01004 when <code>read</code> is set to <code>true</code> and 22001 45 * when <code>read</code> is set to <code>false</code>, 56 * @param read true if a read was truncated 61 boolean read, int dataSize, 63 super("Data truncation", read == true?"01004":"22001"); 66 this.read = read; 75 * to 01004 when <code>read</code> is set to <code>true</code> and 2200 171 private boolean read; field in class:DataTruncation [all...] |
/libcore/ojluni/src/main/java/sun/net/ |
TelnetInputStream.java | 32 * This class overrides read to do CRLF processing as specified in 90 public int read() throws IOException { method in class:TelnetInputStream 92 return super.read(); 106 if ((c = super.read()) == '\r') { /* CR */ 107 switch (c = super.read()) { 127 /** read into a byte array */ 128 public int read(byte bytes[]) throws IOException { method in class:TelnetInputStream 129 return read(bytes, 0, bytes.length); 133 * Read into a byte array at offset <i>off</i> for length <i>length</i> 136 public int read(byte bytes[], int off, int length) throws IOException method in class:TelnetInputStream [all...] |
/frameworks/base/obex/javax/obex/ |
ObexPacket.java | 35 * @param is the input stream to read from. 36 * @return the OBEX packet read. 37 * @throws IOException if an IO exception occurs during read. 39 public static ObexPacket read(InputStream is) throws IOException { method in class:ObexPacket 40 int headerId = is.read(); 41 return read(headerId, is); 45 * Read the remainder of an OBEX packet, with a specified headerId. 46 * @param headerId the headerId already read from the stream. 47 * @param is the stream to read from, assuming 1 byte have already been read 51 public static ObexPacket read(int headerId, InputStream is) throws IOException { method in class:ObexPacket [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
PeekableInputStream.java | 24 * this stream can call peek() to see the next available byte in the stream and a subsequent read 37 public int read() throws IOException { method in class:PeekableInputStream 39 return in.read(); 48 peekedByte = read(); 55 public int read(byte[] b, int offset, int length) throws IOException { method in class:PeekableInputStream 57 return in.read(b, offset, length); 61 int r = in.read(b, offset + 1, length - 1); 71 public int read(byte[] b) throws IOException { method in class:PeekableInputStream 72 return read(b, 0, b.length);
|
FixedLengthInputStream.java | 22 * A filtering InputStream that stops allowing reads after the given length has been read. This is 23 * used to allow a client to read directly from an underlying protocol stream without reading past 24 * where the protocol handler intended the client to read. 42 public int read() throws IOException { method in class:FixedLengthInputStream 45 return in.read(); 52 public int read(byte[] b, int offset, int length) throws IOException { method in class:FixedLengthInputStream 54 int d = in.read(b, offset, Math.min(this.length - count, length)); 67 public int read(byte[] b) throws IOException { method in class:FixedLengthInputStream 68 return read(b, 0, b.length);
|
/packages/apps/Email/provider_src/com/android/email/ |
PeekableInputStream.java | 25 * and a subsequent read will still return the peeked byte. 37 public int read() throws IOException { method in class:PeekableInputStream 39 return mIn.read(); 48 mPeekedByte = read(); 55 public int read(byte[] b, int offset, int length) throws IOException { method in class:PeekableInputStream 57 return mIn.read(b, offset, length); 61 int r = mIn.read(b, offset + 1, length - 1); 71 public int read(byte[] b) throws IOException { method in class:PeekableInputStream 72 return read(b, 0, b.length);
|
FixedLengthInputStream.java | 23 * A filtering InputStream that stops allowing reads after the given length has been read. This 24 * is used to allow a client to read directly from an underlying protocol stream without reading 25 * past where the protocol handler intended the client to read. 43 public int read() throws IOException { method in class:FixedLengthInputStream 46 return mIn.read(); 53 public int read(byte[] b, int offset, int length) throws IOException { method in class:FixedLengthInputStream 55 int d = mIn.read(b, offset, Math.min(mLength - mCount, length)); 68 public int read(byte[] b) throws IOException { method in class:FixedLengthInputStream 69 return read(b, 0, b.length);
|
/external/guava/guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/ |
FakeTickerTest.java | 36 assertEquals(0, ticker.read()); 38 assertEquals(10, ticker.read()); 40 assertEquals(1000010L, ticker.read()); 50 assertEquals(0, ticker.read()); 51 assertEquals(10, ticker.read()); 52 assertEquals(20, ticker.read()); 57 assertEquals(0, ticker.read()); 58 assertEquals(1000000, ticker.read()); 59 assertEquals(2000000, ticker.read()); 64 assertEquals(0, ticker.read()); [all...] |
/external/proguard/src/proguard/io/ |
DataEntryReader.java | 28 * determines what to do with the read data, if anything. 37 public void read(DataEntry dataEntry) throws IOException; method in interface:DataEntryReader
|
/libcore/ojluni/src/main/java/java/io/ |
ObjectInput.java | 41 * Read and return an object. The class that implements this interface 42 * defines where the object is "read" from. 44 * @return the object read from the stream 56 * @return the byte read, or -1 if the end of the 60 public int read() throws IOException; method in interface:ObjectInput 65 * @param b the buffer into which the data is read 66 * @return the actual number of bytes read, -1 is 70 public int read(byte b[]) throws IOException; method in interface:ObjectInput 75 * @param b the buffer into which the data is read 77 * @param len the maximum number of bytes read 82 public int read(byte b[], int off, int len) throws IOException; method in interface:ObjectInput [all...] |
FilterInputStream.java | 75 * simply performs <code>in.read()</code> and returns the result. 82 public int read() throws IOException { method in class:FilterInputStream 83 return in.read(); 92 * <code>read(b, 0, b.length)</code> and returns 94 * <i>not</i> do <code>in.read(b)</code> instead; 99 * @param b the buffer into which the data is read. 100 * @return the total number of bytes read into the buffer, or 104 * @see java.io.FilterInputStream#read(byte[], int, int) 106 public int read(byte b[]) throws IOException { method in class:FilterInputStream 107 return read(b, 0, b.length) 132 public int read(byte b[], int off, int len) throws IOException { method in class:FilterInputStream [all...] |
/external/clang/test/OpenMP/ |
atomic_read_codegen.c | 83 #pragma omp atomic read 87 #pragma omp atomic read 91 #pragma omp atomic read 95 #pragma omp atomic read 99 #pragma omp atomic read 103 #pragma omp atomic read 107 #pragma omp atomic read 111 #pragma omp atomic read 115 #pragma omp atomic read 119 #pragma omp atomic read [all...] |
/dalvik/dx/src/com/android/dx/io/instructions/ |
ShortArrayCodeInput.java | 26 /** source array to read from */ 48 public int read() throws EOFException { method in class:ShortArrayCodeInput 61 int short0 = read(); 62 int short1 = read(); 70 long short0 = read(); 71 long short1 = read(); 72 long short2 = read(); 73 long short3 = read();
|
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
ExceptionCatchingInputStream.java | 10 * An {@link java.io.InputStream} that catches {@link java.io.IOException}s during read and skip calls and stores them 71 public int read(byte[] buffer) throws IOException { method in class:ExceptionCatchingInputStream 72 int read; local 74 read = wrapped.read(buffer); 77 read = -1; 79 return read; 83 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:ExceptionCatchingInputStream 84 int read; local 86 read = wrapped.read(buffer, byteOffset, byteCount) 112 public int read() throws IOException { method in class:ExceptionCatchingInputStream [all...] |
/external/tensorflow/tensorflow/core/lib/io/ |
random_inputstream_test.cc | 33 string read; local 35 TF_ASSERT_OK(in.ReadNBytes(3, &read)); 36 EXPECT_EQ(read, "012"); 38 TF_ASSERT_OK(in.ReadNBytes(0, &read)); 39 EXPECT_EQ(read, ""); 41 TF_ASSERT_OK(in.ReadNBytes(5, &read)); 42 EXPECT_EQ(read, "34567"); 44 TF_ASSERT_OK(in.ReadNBytes(0, &read)); 45 EXPECT_EQ(read, ""); 47 EXPECT_TRUE(errors::IsOutOfRange(in.ReadNBytes(20, &read))); 62 string read; local 93 string read; local [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldSequenceInputStreamTest.java | 58 si.read(); 59 assertEquals("Test 1: Incorrect char read;", 60 s1.charAt(1), (char) si.read()); 65 assertEquals("Test 2: Incorrect char read;", 66 s1.charAt(2), (char) si.read()); 73 si.read(); 81 si.read(); 82 si.read(); 86 si.read(); 95 assertEquals("Test 6: Incorrect char read;", [all...] |
/external/conscrypt/common/src/jni/main/include/conscrypt/ |
bio_input_stream.h | 32 int read(char *buf, int len) { function in class:conscrypt::BioInputStream 41 int read = read_internal(buf, len - 1, jniutil::openSslInputStream_readLineMethod); local 42 buf[read] = '\0'; 44 return read; 57 JNI_TRACE("BioInputStream::read could not get JNIEnv"); 62 JNI_TRACE("BioInputStream::read called with pending exception"); 68 JNI_TRACE("BioInputStream::read failed call to NewByteArray"); 72 jint read = env->CallIntMethod(getStream(), method, javaBytes.get()); local 74 JNI_TRACE("BioInputStream::read failed call to InputStream#read"); [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetFileDescriptor_AutoCloseInputStreamTest.java | 62 assertEquals(FILE_DATA[0], mInput.read()); 64 assertEquals(FILE_DATA[1], mInput.read()); 66 assertEquals(FILE_DATA[5], mInput.read()); 68 assertEquals(FILE_END, mInput.read()); 74 assertEquals(FILE_DATA[i], mInput.read()); 76 assertEquals(FILE_END, mInput.read()); 83 assertEquals(FILE_DATA[i], mInput.read()); 85 assertEquals(FILE_END, mInput.read()); 91 assertEquals(3, mInput.read(buf, 0, 3)); 92 assertEquals(3, mInput.read(buf, 3, 3)) [all...] |
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/ |
LimitedInputStream.java | 49 public int read() throws IOException { method in class:LimitedInputStream 50 if (read(ONE_BYTE, 0, 1) == 1) { 57 public int read(byte[] b) throws IOException { method in class:LimitedInputStream 58 return read(b, 0, b.length); 62 public int read(byte[] b, int off, int len) throws IOException { method in class:LimitedInputStream 67 int numRead = in.read(b, off, maxRead);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
TeeInputStream.java | 8 * An input stream which copies anything read through it to another stream. 20 * @param output output stream to copy any input read to. 28 public int read(byte[] buf) method in class:TeeInputStream 31 return read(buf, 0, buf.length); 34 public int read(byte[] buf, int off, int len) method in class:TeeInputStream 37 int i = input.read(buf, off, len); 47 public int read() method in class:TeeInputStream 50 int i = input.read();
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
SeekableFileInputStream.java | 52 * Calls {@link RandomAccessFile#read() randomAccessFile.read()}. 54 public int read() throws IOException { method in class:SeekableFileInputStream 55 return randomAccessFile.read(); 59 * Calls {@link RandomAccessFile#read(byte[]) randomAccessFile.read(buf)}. 61 public int read(byte[] buf) throws IOException { method in class:SeekableFileInputStream 62 return randomAccessFile.read(buf); 67 * {@link RandomAccessFile#read(byte[],int,int) 68 * randomAccessFile.read(buf, off, len)} 70 public int read(byte[] buf, int off, int len) throws IOException { method in class:SeekableFileInputStream [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
AutoCloseInputStream.java | 32 * releasing resources once the last byte has been read) do not do that. 52 * This method is automatically called by the read methods when the end 72 * @throws IOException if the stream could not be read or closed 74 public int read() throws IOException { method in class:AutoCloseInputStream 75 int n = in.read(); 88 * @return number of bytes read, or -1 if no more bytes are available 89 * @throws IOException if the stream could not be read or closed 91 public int read(byte[] b) throws IOException { method in class:AutoCloseInputStream 92 int n = in.read(b); 106 * @param len maximum number of bytes to read 110 public int read(byte[] b, int off, int len) throws IOException { method in class:AutoCloseInputStream [all...] |
ProxyInputStream.java | 30 * methods being called, such as read(byte[]) to read(byte[], int, int). 48 * Invokes the delegate's <code>read()</code> method. 49 * @return the byte read or -1 if the end of stream 52 public int read() throws IOException { method in class:ProxyInputStream 53 return in.read(); 57 * Invokes the delegate's <code>read(byte[])</code> method. 58 * @param bts the buffer to read the bytes into 59 * @return the number of bytes read or -1 if the end of stream 62 public int read(byte[] bts) throws IOException method in class:ProxyInputStream 74 public int read(byte[] bts, int st, int end) throws IOException { method in class:ProxyInputStream [all...] |
ProxyReader.java | 30 * methods being called, such as read(char[]) to read(char[], int, int). 48 * Invokes the delegate's <code>read()</code> method. 49 * @return the character read or -1 if the end of stream 52 public int read() throws IOException { method in class:ProxyReader 53 return in.read(); 57 * Invokes the delegate's <code>read(char[])</code> method. 58 * @param chr the buffer to read the characters into 59 * @return the number of characters read or -1 if the end of stream 62 public int read(char[] chr) throws IOException method in class:ProxyReader 74 public int read(char[] chr, int st, int end) throws IOException { method in class:ProxyReader [all...] |