Home
last modified time | relevance | path

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

12345

/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_size, in BufferedInputStream()
37 BufferedInputStream::~BufferedInputStream() { in ~BufferedInputStream()
43 Status BufferedInputStream::FillBuffer() { in FillBuffer()
59 Status BufferedInputStream::ReadLineHelper(string* result, bool include_eol) { in ReadLineHelper()
88 Status BufferedInputStream::ReadNBytes(int64 bytes_to_read, string* result) { in ReadNBytes()
126 Status BufferedInputStream::SkipNBytes(int64 bytes_to_skip) { in SkipNBytes()
149 int64 BufferedInputStream::Tell() const { in Tell()
153 Status BufferedInputStream::Seek(int64 position) { in Seek()
[all …]
Dbuffered_inputstream_test.cc33 TEST(BufferedInputStream, ReadLine_Empty) { in TEST() argument
43 BufferedInputStream in(input_stream.get(), buf_size); in TEST()
49 TEST(BufferedInputStream, ReadLine1) { in TEST() argument
60 BufferedInputStream in(input_stream.get(), buf_size); in TEST()
74 TEST(BufferedInputStream, ReadLine_NoTrailingNewLine) { in TEST() argument
84 BufferedInputStream in(input_stream.get(), buf_size); in TEST()
98 TEST(BufferedInputStream, ReadLine_EmptyLines) { in TEST() argument
109 BufferedInputStream in(input_stream.get(), buf_size); in TEST()
127 TEST(BufferedInputStream, ReadLine_CRLF) { in TEST() argument
138 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;
101 TF_DISALLOW_COPY_AND_ASSIGN(BufferedInputStream);
/external/tensorflow/tensorflow/python/lib/io/
Dfile_io.i181 tensorflow::io::BufferedInputStream* CreateBufferedInputStream( in CreateBufferedInputStream()
193 std::unique_ptr<tensorflow::io::BufferedInputStream> buffered_input_stream( in CreateBufferedInputStream()
194 new tensorflow::io::BufferedInputStream( in CreateBufferedInputStream()
233 string ReadFromStream(tensorflow::io::BufferedInputStream* stream, in ReadFromStream()
271 tensorflow::io::BufferedInputStream* CreateBufferedInputStream(
279 string ReadFromStream(tensorflow::io::BufferedInputStream* stream,
287 %unignore tensorflow::io::BufferedInputStream;
288 %unignore tensorflow::io::BufferedInputStream::~BufferedInputStream;
289 %unignore tensorflow::io::BufferedInputStream::ReadLineAsString;
290 %unignore tensorflow::io::BufferedInputStream::Seek;
[all …]
/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/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/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/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/
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-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/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-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/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/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DPatchWriter.java20 import java.io.BufferedInputStream;
129 BufferedInputStream deltaIn = new BufferedInputStream(deltaFileIn)) { in writeV1Patch()
/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/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DDefaultSSLContextImpl.java21 import java.io.BufferedInputStream;
81 is = new BufferedInputStream(new FileInputStream(keystore)); in getKeyManagers()
114 is = new BufferedInputStream(new FileInputStream(keystore)); in getTrustManagers()
/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/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/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/apache-xml/src/main/java/org/apache/xpath/functions/
DFuncSystemProperty.java23 import java.io.BufferedInputStream;
187 BufferedInputStream bis = new BufferedInputStream(is); in loadPropertyFile()

12345