/external/glide/testutil/src/main/java/com/bumptech/glide/testutil/ |
TestUtil.java | 22 int read; local 24 while ((read = is.read(buffer)) != -1) { 25 os.write(buffer, 0, read);
|
/external/guava/guava/src/com/google/common/io/ |
CountingInputStream.java | 28 * An {@link InputStream} that counts the number of bytes read. 40 * Wraps another input stream, counting the number of bytes read. 48 /** Returns the number of bytes read. */ 53 @Override public int read() throws IOException { method in class:CountingInputStream 54 int result = in.read(); 61 @Override public int read(byte[] b, int off, int len) throws IOException { method in class:CountingInputStream 62 int result = in.read(b, off, len);
|
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...] |
MultiInputStream.java | 81 @Override public int read() throws IOException { method in class:MultiInputStream 85 int result = in.read(); 88 return read(); 93 @Override public int read(@Nullable byte[] b, int off, int len) throws IOException { method in class:MultiInputStream 97 int result = in.read(b, off, len); 100 return read(b, off, len); 113 if (read() == -1) {
|
MultiReader.java | 52 @Override public int read(@Nullable char cbuf[], int off, int len) throws IOException { method in class:MultiReader 56 int result = current.read(cbuf, off, len); 59 return read(cbuf, off, len);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
StringPrepDataReader.java | 47 public char[] read(int length) throws IOException{ method in class:StringPrepDataReader 48 //Read the extra data 60 //Read the indexes
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
StringPrepDataReader.java | 45 public char[] read(int length) throws IOException{ method in class:StringPrepDataReader 46 //Read the extra data 58 //Read the indexes
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/ |
StringProvider.java | 32 public int read(char[] cbuf, int off, int len) throws IOException { method in class:StringProvider
|
/external/junit-params/src/main/java/junitparams/internal/parameters/ |
ParametersReader.java | 36 public Object[] read() { method in class:ParametersReader
|
/external/libbrillo/brillo/http/ |
http_request_unittest.cc | 35 size_t read = 0; local 36 while (arg->ReadBlocking(buf, sizeof(buf), &read, nullptr) && read > 0) { 37 data.append(buf, read); 153 [&resp_data](void* buffer, Unused, size_t* read, Unused) -> bool { 155 *read = resp_data.size();
|
/external/libbrillo/brillo/streams/ |
input_stream_set_unittest.cc | 102 size_t read = 0; local 110 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, 112 EXPECT_EQ(10, read); 121 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, 123 EXPECT_EQ(100, read); 128 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, 130 EXPECT_EQ(0, read); 135 size_t read = 0; local 142 EXPECT_TRUE(stream_->ReadBlocking(IntToPtr(1000), 100, &read, nullptr)); 143 EXPECT_EQ(10, read); [all...] |
openssl_stream_bio.cc | 34 size_t read = 0; local 37 if (!stream->ReadNonBlocking(buf, size, &read, &eos, nullptr)) 40 if (read == 0 && !eos) { 46 return base::checked_cast<int>(read); 81 stream_read, // read function
|
/external/libese/esed/ |
Weaver.cpp | 114 Return<void> Weaver::read(uint32_t slotId, const hidl_vec<uint8_t>& key, read_cb _hidl_cb) { function in class:android::esed::Weaver 115 LOG(VERBOSE) << "Running Weaver::read on slot " << slotId;
|
/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...] |
/external/mesa3d/src/gallium/drivers/swr/ |
swr_fence.h | 35 uint64_t read; member in struct:swr_fence 61 return (fence->read == fence->write);
|
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
FieldReader.java | 24 return read() == null; 27 public Object read() { method in class:FieldReader 31 throw new MockitoException("Cannot read state from field: " + field + ", on instance: " + target);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/ |
ByteBufferByteChannel.java | 33 public int read(ByteBuffer dst) throws IOException { method in class:ByteBufferByteChannel
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpChunkedResponseTest.java | 55 public synchronized int read(byte[] buffer, int off, int len) throws IOException { method in class:HttpChunkedResponseTest.ChunkedInputStream
|
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/samples/echo/ |
EchoSocketSample.java | 48 System.in.read();
|
/external/nos/host/android/hals/weaver/ |
Weaver.cpp | 82 Return<void> Weaver::read(uint32_t slotId, const hidl_vec<uint8_t>& key, read_cb _hidl_cb) { function in class:android::hardware::weaver::Weaver 83 LOG(VERBOSE) << "Running Weaver::read on slot " << slotId; 89 const uint32_t appStatus = _weaver.Read(request, &response); 92 LOG(ERROR) << "App Read request failed with status " << appStatus; 112 LOG(WARNING) << "Attempted to read slot " << slotId << " when throttling is active";
|
/external/nos/host/generic/libnos_datagram/include/nos/ |
device.h | 25 /* Max data size for read/write. 31 * Read a datagram from the device. 35 int (*read)(void* ctx, uint32_t command, uint8_t *buf, uint32_t len); member in struct:nos_device_ops
|
/external/oauth/core/src/main/java/net/oauth/client/ |
ExcerptInputStream.java | 23 int read; local 24 while ((read = read(excerpt, total, LIMIT - total)) != -1 && ((total += read) < LIMIT));
|
/external/parameter-framework/upstream/test/test-subsystem/ |
TESTSubsystem.cpp | 64 return read(std::string(gacFwNamePropName) + "/isAlive") == "true"; 74 bNeedResync = read(strNeedResyncFile) == "true"; 92 // Read boolean from file 93 std::string CTESTSubsystem::read(const std::string &strFileName) function in class:CTESTSubsystem
|
/external/proguard/src/proguard/io/ |
ClassRewriter.java | 51 public void read(DataEntry dataEntry) throws IOException method in class:ClassRewriter
|
DataEntryObfuscator.java | 63 public void read(DataEntry dataEntry) throws IOException method in class:DataEntryObfuscator 66 dataEntryReader.read(renamedDataEntry(dataEntry));
|