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/ |
D | ByteStringTest.java | 175 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/ |
D | ByteStringTest.java | 247 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/ |
D | ByteString.java | 484 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/ |
D | InfiniteRecording.h | 34 int32_t readFrom(T *buffer, size_t position, size_t count) { in readFrom() function
|
D | GlitchAnalyzer.h | 387 return mInfiniteRecording.readFrom(buffer, mLastGlitchPosition - 32, length); in getLastGlitch()
|