Home
last modified time | relevance | path

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

12

/external/turbine/java/com/google/turbine/parse/
DStreamLexer.java38 private int readFrom; field in StreamLexer
57 private void readFrom() { in readFrom() method in StreamLexer
59 readFrom = reader.position(); in readFrom()
83 return reader.readString(readFrom, reader.position()); in stringValue()
143 readFrom(); in next()
293 readFrom(); in next()
342 readFrom(); in next()
346 readFrom(); in next()
401 readFrom(); in next()
1019 readFrom(); in identifier()
/external/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()
/external/jarjar/src/main/com/tonicsystems/jarjar/util/
DClassHeaderReader.java131 bin.readFrom(b, items[index]); in readClass()
180 public void readFrom(byte[] buf, int pos) { in readFrom() method in ClassHeaderReader.MyByteArrayInputStream
/external/guava/guava/src/com/google/common/math/
DPairedStats.java312 Stats xStats = Stats.readFrom(buffer); in fromByteArray()
313 Stats yStats = Stats.readFrom(buffer); in fromByteArray()
DStats.java634 return readFrom(ByteBuffer.wrap(byteArray).order(ByteOrder.LITTLE_ENDIAN)); in fromByteArray()
647 static Stats readFrom(ByteBuffer buffer) { in readFrom() method
/external/guava/android/guava/src/com/google/common/math/
DPairedStats.java312 Stats xStats = Stats.readFrom(buffer); in fromByteArray()
313 Stats yStats = Stats.readFrom(buffer); in fromByteArray()
DStats.java558 return readFrom(ByteBuffer.wrap(byteArray).order(ByteOrder.LITTLE_ENDIAN)); in fromByteArray()
571 static Stats readFrom(ByteBuffer buffer) { in readFrom() method in Stats
/external/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()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DByteString.java475 public static ByteString readFrom(InputStream streamToDrain) throws IOException { in readFrom() method
476 return readFrom(streamToDrain, MIN_READ_FROM_CHUNK_SIZE, MAX_READ_FROM_CHUNK_SIZE); in readFrom()
495 public static ByteString readFrom(InputStream streamToDrain, int chunkSize) throws IOException { in readFrom() method
496 return readFrom(streamToDrain, chunkSize, chunkSize); in readFrom()
500 public static ByteString readFrom(InputStream streamToDrain, int minChunkSize, int maxChunkSize) in readFrom() method
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedAnnotationElement.java48 this.value = DexBackedEncodedValue.readFrom(reader); in DexBackedAnnotationElement()
DDexBackedMethodImplementation.java83 Instruction instruction = DexBackedInstruction.readFrom(reader); in getInstructions()
/external/okio/okio/src/jvmMain/kotlin/okio/
DBuffer.kt217 fun readFrom(input: InputStream): Buffer { in <lambda>() method in okio.Buffer
218 readFrom(input, Long.MAX_VALUE, true) in <lambda>()
224 fun readFrom(input: InputStream, byteCount: Long): Buffer { in <lambda>() method
226 readFrom(input, byteCount, false) in <lambda>()
231 private fun readFrom(input: InputStream, byteCount: Long, forever: Boolean) { in <lambda>() method in okio.Buffer
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
DEncodedArrayItemIterator.java77 return DexBackedEncodedValue.readFrom(reader); in getNextOrNull()
/external/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.h310 return mInfiniteRecording.readFrom(buffer, mLastGlitchPosition - 32, length); in getLastGlitch()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/value/
DDexBackedArrayEncodedValue.java74 return DexBackedEncodedValue.readFrom(dexReader); in getValue()
DDexBackedEncodedValue.java45 public static EncodedValue readFrom(@Nonnull DexReader reader) { in readFrom() method in DexBackedEncodedValue
/external/okio/okio/src/jvmTest/java/okio/
DBufferTest.java263 buffer.readFrom(in); in readFromStream()
271 buffer.readFrom(in); in readFromSpanningSegments()
279 buffer.readFrom(in, 10); in readFromStreamWithCount()
286 buffer.readFrom(new ByteArrayInputStream(new byte[SEGMENT_SIZE])); in readFromDoesNotLeaveEmptyTailSegment()
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DBuffer.java228 public Buffer readFrom(InputStream in) throws IOException {
229 readFrom(in, Long.MAX_VALUE, true);
234 public Buffer readFrom(InputStream in, long byteCount) throws IOException {
236 readFrom(in, byteCount, false);
240 private void readFrom(InputStream in, long byteCount, boolean forever) throws IOException {
/external/okhttp/okio/okio/src/main/java/okio/
DBuffer.java226 public Buffer readFrom(InputStream in) throws IOException {
227 readFrom(in, Long.MAX_VALUE, true);
232 public Buffer readFrom(InputStream in, long byteCount) throws IOException {
234 readFrom(in, byteCount, false);
238 private void readFrom(InputStream in, long byteCount, boolean forever) throws IOException {
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/
DDexBackedInstruction.java60 public static Instruction readFrom(@Nonnull DexReader reader) { in readFrom() method in DexBackedInstruction
/external/okhttp/okio/okio/src/test/java/okio/
DBufferTest.java281 buffer.readFrom(in); in readFromStream()
289 buffer.readFrom(in); in readFromSpanningSegments()
297 buffer.readFrom(in, 10); in readFromStreamWithCount()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DEncodedValue.java182 … EncodedValueUtils.writeEncodedValue(writer, DexBackedEncodedValue.readFrom(reader)); in asString()
/external/guava/android/guava/src/com/google/common/hash/
DBloomFilter.java516 public static <T> BloomFilter<T> readFrom(InputStream in, Funnel<? super T> funnel)
/external/guava/guava/src/com/google/common/hash/
DBloomFilter.java583 public static <T> BloomFilter<T> readFrom(InputStream in, Funnel<? super T> funnel)

12