/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
Fat16RootDirectory.java | 48 * @param bs the boot sector that describes the root directory to read 49 * @param readOnly if the directory shold be created read-only 50 * @return the directory that was read 51 * @throws IOException on read error 53 public static Fat16RootDirectory read( method in class:Fat16RootDirectory 57 result.read(); 64 * read-write mode. 79 protected void read(ByteBuffer data) throws IOException { method in class:Fat16RootDirectory 80 this.device.read(deviceOffset, data);
|
/cts/suite/audio_quality/lib/src/ |
ClientSocket.cpp | 75 // make non-blocking mode only during read. This allows supporting time-out for read 96 int read; local 112 LOGE("socket read timeout"); 117 read = recv(mSocket, (void*)data, toRead, 0); 118 if (read > 0) { 119 toRead -= read; 120 data += read; 121 } else if (read == 0) { 122 // in blocking mode, zero read mean's peer closed [all...] |
/external/clang/test/CodeGenCXX/ |
bitfield.cpp | 168 unsigned read(S* s) { function in namespace:N1 212 unsigned read(S* s) { function in namespace:N2 251 unsigned read(S* s) { function in namespace:N3 299 unsigned read(Base* s) { function in namespace:N4 344 unsigned read(U* u) { function in namespace:N5 389 unsigned read(S* s) { function in namespace:N6 449 unsigned read(B2* s) { function in namespace:N7
|
/external/jacoco/org.jacoco.core.test/src-java7/org/jacoco/core/test/filter/targets/ |
TryWithResources.java | 43 return read(r1, r2, r3); // $line-test.body$ 60 read(r1, r2, r3); // $line-test2.body$ method 74 return read(r); // $line-returnInBody.return$ 123 read(r); 132 read(new Resource()); method 142 private static Object read(Object r1, Object r2, Object r3) { method in class:TryWithResources 146 private static Object read(Object r1) { method in class:TryWithResources
|
/external/javasqlite/src/main/java/SQLite/ |
Blob.java | 19 * Read position, file pointer. 95 * Read single byte from blob. 96 * @return byte read 99 public int read() throws IOException { method in class:BlobR 101 int n = blob.read(b, 0, pos, b.length); 110 * Read byte array from blob. 112 * @return number of bytes read 115 public int read(byte b[]) throws IOException { method in class:BlobR 116 int n = blob.read(b, 0, pos, b.length); 125 * Read slice of byte array from blob 132 public int read(byte b[], int off, int len) throws IOException { method in class:BlobR 306 native int read(byte[] b, int off, int pos, int len) throws IOException; method in class:Blob [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
FixASCIIControlsReader.java | 55 * @see Reader#read(char[], int, int) 57 public int read(char[] cbuf, int off, int len) throws IOException method in class:FixASCIIControlsReader 60 int read = 0; local 65 while (available && read < len) 67 available = super.read(readAheadBuffer, readAhead, 1) == 1; 80 read++; 103 return read > 0 || available ? read : -1;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
CountedDataInputStream.java | 44 public int read(byte[] b) throws IOException { method in class:CountedDataInputStream 45 int r = in.read(b); 51 public int read(byte[] b, int off, int len) throws IOException { method in class:CountedDataInputStream 52 int r = in.read(b, off, len); 58 public int read() throws IOException { method in class:CountedDataInputStream 59 int r = in.read(); 83 int r = read(b, off, len);
|
/frameworks/ex/framesequence/jni/ |
Stream.cpp | 28 jmethodID read; member in struct:__anon46093 51 size_t read = doRead(mPeekBuffer + mPeekOffset, size - peek_remaining); local 53 mPeekSize = peek_remaining + read; 60 size_t Stream::read(void* buffer, size_t size) { function in class:Stream 129 gInputStreamClassInfo.read, mByteArray, 0, requested); 150 gInputStreamClassInfo.read = env->GetMethodID(inputStreamClazz, "read", "([BII)I"); 152 if (!gInputStreamClassInfo.read || !gInputStreamClassInfo.reset) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
StringReaderTest.java | 46 sr.read(buf, 0, 2); 64 sr.read(buf, 0, 2); 80 * java.io.StringReader#read() 83 // Test for method int java.io.StringReader.read() 85 int r = sr.read(); 86 assertEquals("Failed to read char", 'T', r); 88 assertTrue("Wrong double byte char", sr.read() == '\u8765'); 92 * java.io.StringReader#read(char[], int, int) 95 // Test for method int java.io.StringReader.read(char [], int, int) 98 int r = sr.read(buf, 0, testString.length()) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
CheckedInputStreamTest.java | 50 while (checkEmpty.read() >= 0) { 59 while (checkIn.read() >= 0) { 69 checkIn2.read(outBuf, 0, 10); 102 checkIn.read(); 105 checkIn.read(); 120 checkIn.read(buff, 10, 5); 123 checkIn.read(buff, 10, 5);
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterInputStreamTest.java | 42 while ((b = in.read()) != -1) { 62 while ((count = in.read(buffer)) != -1) { 76 while ((count = in.read(buffer, 0, 5)) != -1) { 97 in.read(buffer, 0, 10); 102 in.read(null, 0, 5); 107 in.read(buffer, -1, 5); 113 in.read(buffer, 0, 5);
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
CountedDataInputStream.java | 44 public int read(byte[] b) throws IOException { method in class:CountedDataInputStream 45 int r = in.read(b); 51 public int read(byte[] b, int off, int len) throws IOException { method in class:CountedDataInputStream 52 int r = in.read(b, off, len); 58 public int read() throws IOException { method in class:CountedDataInputStream 59 int r = in.read(); 83 int r = read(b, off, len);
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/ |
CountedDataInputStream.java | 45 public int read(byte[] b) throws IOException { method in class:CountedDataInputStream 46 int r = in.read(b); 52 public int read(byte[] b, int off, int len) throws IOException { method in class:CountedDataInputStream 53 int r = in.read(b, off, len); 59 public int read() throws IOException { method in class:CountedDataInputStream 60 int r = in.read(); 86 int r = read(b, off, len);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
CountedDataInputStream.java | 44 public int read(byte[] b) throws IOException { method in class:CountedDataInputStream 45 int r = in.read(b); 51 public int read(byte[] b, int off, int len) throws IOException { method in class:CountedDataInputStream 52 int r = in.read(b, off, len); 58 public int read() throws IOException { method in class:CountedDataInputStream 59 int r = in.read(); 83 int r = read(b, off, len);
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
CountedDataInputStream.java | 44 public int read(byte[] b) throws IOException { method in class:CountedDataInputStream 45 int r = in.read(b); 51 public int read(byte[] b, int off, int len) throws IOException { method in class:CountedDataInputStream 52 int r = in.read(b, off, len); 58 public int read() throws IOException { method in class:CountedDataInputStream 59 int r = in.read(); 85 int r = read(b, off, len);
|
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
DeviceTestCompanion.java | 51 * @param is The stream to read from 61 // Read next test name 63 int numRead = is.read(sizeBuffer); 67 numRead = is.read(nextTestNameBytes); 74 numRead = is.read(sizeBuffer); 83 * Read some bytes and send them back to the sender. 85 * @param is Stream to read from 87 * @param size The number of bytes to read 89 * @return {@code true} iff the bytes could be read and written 96 int read = 0 local [all...] |
/external/guava/guava/src/com/google/common/io/ |
GwtWorkarounds.java | 44 int read() throws IOException; method in interface:GwtWorkarounds.CharInput 56 public int read() throws IOException { 57 return reader.read(); 76 public int read() { 95 int read() throws IOException; 107 public int read() throws IOException { 108 return input.read(); 112 public int read(byte[] b, int off, int len) throws IOException { 118 int firstByte = read(); 124 int readByte = read(); [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
CaptureLoader.java | 93 if (in.read() == 2) { 99 boolean visible = in.read() == 1; 105 int read = 0; local 106 while (read < dataSize) { 107 read += in.read(data, read, dataSize - read); 111 BufferedImage chunk = ImageIO.read(arrayIn); 146 return ImageIO.read(in) [all...] |
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/ |
UnixSocketTest.java | 38 // Simple read/write test over the IO streams 53 in.read(); 59 clientIn.read(new byte[42]); 62 clientIn.read(); 70 clientIn.read(); 76 clientIn.read(new byte[5]);
|
/external/mesa3d/src/gallium/auxiliary/rbug/ |
rbug_connection.c | 76 size_t read = 0; local 93 uint8_t *ptr = ((uint8_t*)data) + read; 94 ret = u_socket_recv(c->socket, ptr, length - read); 101 read += ret; 102 } while(read < length);
|
/external/protobuf/conformance/ |
ConformanceJavaLite.java | 11 int read = System.in.read(buf, ofs, len); local 12 if (read == -1) { 15 ofs += read; 16 len -= read;
|
/external/puffin/src/ |
file_stream.cc | 20 UniqueStreamPtr FileStream::Open(const string& path, bool read, bool write) { 21 TEST_AND_RETURN_VALUE(read || write, nullptr); 23 if (read && write) { 25 } else if (read) { 61 bool FileStream::Read(void* buffer, size_t length) { 66 read(fd_, c_bytes + total_bytes_read, length - total_bytes_read);
|
/frameworks/base/core/tests/coretests/src/android/content/ |
MemoryFileProviderTest.java | 42 int count = in.read(buf); 44 assertEquals(-1, in.read()); 60 int count = in.read(buf); 75 int count = in.read(buf); 77 assertEquals(-1, in.read());
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
SmsHeader.java | 132 int id = inStream.read(); 133 int length = inStream.read(); 139 concatRef.refNumber = inStream.read(); 140 concatRef.msgCount = inStream.read(); 141 concatRef.seqNumber = inStream.read(); 150 concatRef.refNumber = (inStream.read() << 8) | inStream.read(); 151 concatRef.msgCount = inStream.read(); 152 concatRef.seqNumber = inStream.read(); 161 portAddrs.destPort = inStream.read(); [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldUnixSocketTest.java | 39 // Simple read/write test over the IO streams 54 in.read(); 60 clientIn.read(new byte[42]); 63 int i = clientIn.read(); 71 clientIn.read(); 77 clientIn.read(new byte[5]);
|