Home
last modified time | relevance | path

Searched refs:readFrom (Results 1 – 5 of 5) sorted by relevance

/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DByteStringTest.java175 ByteString.readFrom(new ByteArrayInputStream(new byte[0])); in testReadFrom_emptyStream()
187 ByteString byteString = ByteString.readFrom(eis); in testReadFrom_mutating()
216 ByteString.readFrom(new FailStream()); in testReadFrom_IOExceptions()
230 ByteString byteString = ByteString.readFrom(new ReluctantStream(data)); in testReadFrom_reluctantStream()
248 ByteString b = ByteString.readFrom(new ReluctantStream(bytes), chunkSize); in assertReadFromReluctantStream()
258 ByteString byteString = ByteString.readFrom(new AvailableStream(data)); in testReadFrom_available()
266 ByteString.readFrom(new ByteArrayInputStream(bytes)); in assertReadFrom()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java247 ByteString byteString = ByteString.readFrom(new ByteArrayInputStream(new byte[0])); in testReadFrom_emptyStream()
260 ByteString byteString = ByteString.readFrom(eis); in testReadFrom_mutating()
328 ByteString.readFrom(new FailStream()); in testReadFrom_IOExceptions()
342 ByteString byteString = ByteString.readFrom(new ReluctantStream(data)); in testReadFrom_reluctantStream()
360 ByteString b = ByteString.readFrom(new ReluctantStream(bytes), chunkSize); in assertReadFromReluctantStream()
370 ByteString byteString = ByteString.readFrom(new AvailableStream(data)); in testReadFrom_available()
378 ByteString byteString = ByteString.readFrom(new ByteArrayInputStream(bytes)); in assertReadFrom()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DByteString.java484 public static ByteString readFrom(InputStream streamToDrain) throws IOException { in readFrom() method
485 return readFrom(streamToDrain, MIN_READ_FROM_CHUNK_SIZE, MAX_READ_FROM_CHUNK_SIZE); in readFrom()
504 public static ByteString readFrom(InputStream streamToDrain, int chunkSize) throws IOException { in readFrom() method
505 return readFrom(streamToDrain, chunkSize, chunkSize); in readFrom()
509 public static ByteString readFrom(InputStream streamToDrain, int minChunkSize, int maxChunkSize) in readFrom() method
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/analyzer/
DInfiniteRecording.h34 int32_t readFrom(T *buffer, size_t position, size_t count) { in readFrom() function
DGlitchAnalyzer.h387 return mInfiniteRecording.readFrom(buffer, mLastGlitchPosition - 32, length); in getLastGlitch()