Home
last modified time | relevance | path

Searched refs:BufferedInputStream (Results 1 – 25 of 137) sorted by relevance

123456

/external/tensorflow/tensorflow/core/lib/io/
Dbuffered_inputstream.cc23 BufferedInputStream::BufferedInputStream(InputStreamInterface* input_stream, in BufferedInputStream() function in tensorflow::io::BufferedInputStream
32 BufferedInputStream::BufferedInputStream(RandomAccessFile* file, in BufferedInputStream() function in tensorflow::io::BufferedInputStream
34 : BufferedInputStream(new RandomAccessInputStream(file), buffer_bytes, in BufferedInputStream()
37 BufferedInputStream::~BufferedInputStream() { in ~BufferedInputStream()
43 Status BufferedInputStream::FillBuffer() { in FillBuffer()
59 Status BufferedInputStream::ReadLineHelper(StringType* result, in ReadLineHelper()
89 Status BufferedInputStream::ReadNBytes(int64 bytes_to_read, tstring* result) { in ReadNBytes()
127 Status BufferedInputStream::SkipNBytes(int64 bytes_to_skip) { in SkipNBytes()
150 int64 BufferedInputStream::Tell() const { in Tell()
154 Status BufferedInputStream::Seek(int64 position) { in Seek()
[all …]
Dbuffered_inputstream_test.cc64 TEST(BufferedInputStream, ReadLine_Empty) { in TEST() argument
75 BufferedInputStream in(input_stream.get(), buf_size); in TEST()
81 TEST(BufferedInputStream, ReadLine1) { in TEST() argument
93 BufferedInputStream in(input_stream.get(), buf_size); in TEST()
107 TEST(BufferedInputStream, ReadLine_NoTrailingNewLine) { in TEST() argument
118 BufferedInputStream in(input_stream.get(), buf_size); in TEST()
132 TEST(BufferedInputStream, ReadLine_EmptyLines) { in TEST() argument
144 BufferedInputStream in(input_stream.get(), buf_size); in TEST()
162 TEST(BufferedInputStream, ReadLine_CRLF) { in TEST() argument
174 BufferedInputStream in(input_stream.get(), buf_size); in TEST()
[all …]
Dbuffered_inputstream.h27 class BufferedInputStream : public InputStreamInterface {
33 BufferedInputStream(InputStreamInterface* input_stream, size_t buffer_bytes,
40 BufferedInputStream(RandomAccessFile* file, size_t buffer_bytes);
42 ~BufferedInputStream() override;
104 TF_DISALLOW_COPY_AND_ASSIGN(BufferedInputStream);
109 extern template tensorflow::Status BufferedInputStream::ReadAll<string>(
111 extern template tensorflow::Status BufferedInputStream::ReadAll<tstring>(
/external/cldr/tools/java/org/unicode/cldr/util/
DInputStreamFactory.java3 import java.io.BufferedInputStream;
34 if (in instanceof BufferedInputStream) { in buffer()
37 return new BufferedInputStream(in); in buffer()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/sevenz/
DAES256SHA256DecoderTest.java23 import java.io.BufferedInputStream;
44 BufferedInputStream bufferedInputStream = new BufferedInputStream(null, 3138); in testDecodeWithNonEmptyString()
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DIoUtils.java19 import java.io.BufferedInputStream;
35 BufferedInputStream in = new BufferedInputStream(input, BUFFER_SIZE); in copy()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DUtil.java18 import java.io.BufferedInputStream;
31 BufferedInputStream is = new BufferedInputStream(input); in getLocalResource()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DArchiveStreamFactoryTest.java27 import java.io.BufferedInputStream;
68 try (InputStream is = new BufferedInputStream(fis)) { in aiffFilesAreNoTARs()
80 try (InputStream bis = new BufferedInputStream(fis)) { in testCOMPRESS209()
111 try (InputStream bis = new BufferedInputStream(fis)) { in detectsAndThrowsFor7z()
128 try (InputStream bis = new BufferedInputStream(fis)) { in skipsPK00Prefix()
247 … ArchiveStreamFactory.detect(new BufferedInputStream(new ByteArrayInputStream(new byte[0]))); in testDetect()
261 ArchiveStreamFactory.detect(new BufferedInputStream(new MockEvilInputStream())); in testDetect()
269 try(InputStream in = new BufferedInputStream(new FileInputStream( in detect()
417 new BufferedInputStream(new FileInputStream( in getInputStreamFor()
425 new BufferedInputStream(new FileInputStream( in getInputStreamFor()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/
DDetectingViewer.java19 import java.io.BufferedInputStream;
130 private BufferedInputStream openFile(File file) in openFile()
141 return new BufferedInputStream(fileStream); in openFile()
150 private BufferedInputStream openURL(String url) in openURL()
162 return new BufferedInputStream(s); in openURL()
277 private CharsetMatch[] detect(BufferedInputStream inputStream) in detect()
358 BufferedInputStream inputStream = openFile(file); in doOpenFile()
374 BufferedInputStream inputStream = openURL(url); in doOpenURL()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
DDetectCompressorTestCase.java28 import java.io.BufferedInputStream;
148 … CompressorStreamFactory.detect(new BufferedInputStream(new ByteArrayInputStream(new byte[0]))); in testDetect()
162 CompressorStreamFactory.detect(new BufferedInputStream(new MockEvilInputStream())); in testDetect()
173 try (InputStream is = new BufferedInputStream( in detect()
213 InputStream is = new BufferedInputStream( in getStreamFor()
275 new BufferedInputStream(new FileInputStream( in getStreamFor()
282 new BufferedInputStream(new FileInputStream( in getStreamFor()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DDetectArchiverTestCase.java23 import java.io.BufferedInputStream;
102 new BufferedInputStream(new FileInputStream( in getStreamFor()
136 BufferedInputStream in = null; in checkEmptyArchive()
138 in = new BufferedInputStream(new FileInputStream(ar)); in checkEmptyArchive()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/
DBigFilesIT.java25 import java.io.BufferedInputStream;
50 in = new BufferedInputStream(BigFilesIT.class in readFileHeadersOfArchiveBiggerThan8GByte()
76 in = new BufferedInputStream(BigFilesIT.class in readFileBiggerThan8GByte()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/
DLister.java21 import java.io.BufferedInputStream;
58 try (final InputStream fis = new BufferedInputStream(Files.newInputStream(f.toPath())); in listStream()
77 try (final InputStream fis = new BufferedInputStream(Files.newInputStream(f.toPath()))) { in detectFormat()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DClassParser.java20 import java.io.BufferedInputStream;
78 … this.dataInputStream = new DataInputStream(new BufferedInputStream(inputStream, BUFSIZE)); in ClassParser()
130 … dataInputStream = new DataInputStream(new BufferedInputStream(zip.getInputStream(entry), in parse()
133 … dataInputStream = new DataInputStream(new BufferedInputStream(new FileInputStream( in parse()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/bzip2/
DPythonTruncatedBzip2Test.java23 import java.io.BufferedInputStream;
106 final BufferedInputStream bin = new BufferedInputStream(source); in makeBZ2C()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/
DChecksumCalculatingInputStreamTest.java21 import java.io.BufferedInputStream;
79BufferedInputStream bufferedInputStream = new BufferedInputStream(checksumCalculatingInputStream); in testReadTakingNoArguments()
/external/tensorflow/tensorflow/python/lib/io/
Dfile_io_wrapper.cc276 using tensorflow::io::BufferedInputStream; in PYBIND11_MODULE()
277 py::class_<BufferedInputStream>(m, "BufferedInputStream") in PYBIND11_MODULE()
291 return new BufferedInputStream(input_stream.release(), buffer_size, in PYBIND11_MODULE()
297 [](BufferedInputStream* self, tensorflow::int64 bytes_to_read) { in PYBIND11_MODULE()
309 [](BufferedInputStream* self) { in PYBIND11_MODULE()
316 [](BufferedInputStream* self, tensorflow::int64 pos) { in PYBIND11_MODULE()
320 .def("tell", [](BufferedInputStream* self) { in PYBIND11_MODULE()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
DConstantPoolTest.java22 import java.io.BufferedInputStream;
101 BufferedInputStream in = new BufferedInputStream(new FileInputStream(debuggeeClass)); in testConstantPool001()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/util/
DBCELifierTestCase.java22 import java.io.BufferedInputStream;
85 try (BufferedInputStream is = new BufferedInputStream(proc.getInputStream()); in exec()
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DFuncSystemProperty.java23 import java.io.BufferedInputStream;
187 BufferedInputStream bis = new BufferedInputStream(is); in loadPropertyFile()
/external/conscrypt/common/src/main/java/org/conscrypt/
DDefaultSSLContextImpl.java20 import java.io.BufferedInputStream;
77 is = new BufferedInputStream(new FileInputStream(keystore)); in getKeyManagers()
110 is = new BufferedInputStream(new FileInputStream(keystore)); in getTrustManagers()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DDefaultSSLContextImpl.java21 import java.io.BufferedInputStream;
78 is = new BufferedInputStream(new FileInputStream(keystore)); in getKeyManagers()
111 is = new BufferedInputStream(new FileInputStream(keystore)); in getTrustManagers()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
DPropertyBoxParserImpl.java21 import java.io.BufferedInputStream;
39 …InputStream is = new BufferedInputStream(getClass().getResourceAsStream("/isoparser-default.proper… in PropertyBoxParserImpl()
48 InputStream customIS = new BufferedInputStream(url.openStream()); in PropertyBoxParserImpl()
56 … mapping.load(new BufferedInputStream(getClass().getResourceAsStream(customProperty))); in PropertyBoxParserImpl()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/examples/
DParameterizedExpanderTest.java21 import java.io.BufferedInputStream;
109 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in inputStreamVersion()
117 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in inputStreamVersionWithAutoDetection()
133 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath())); in archiveInputStreamVersion()
/external/oauth/core/src/main/java/net/oauth/client/
DExcerptInputStream.java3 import java.io.BufferedInputStream;
11 public class ExcerptInputStream extends BufferedInputStream

123456