Home
last modified time | relevance | path

Searched refs:FileInputStream (Results 1 – 25 of 27) sorted by relevance

12

/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc77 FileInputStream::FileInputStream(int file_descriptor, int block_size) in FileInputStream() function in google::protobuf::io::FileInputStream
82 FileInputStream::~FileInputStream() {} in ~FileInputStream()
84 bool FileInputStream::Close() { in Close()
88 bool FileInputStream::Next(const void** data, int* size) { in Next()
92 void FileInputStream::BackUp(int count) { in BackUp()
96 bool FileInputStream::Skip(int count) { in Skip()
100 int64 FileInputStream::ByteCount() const { in ByteCount()
104 FileInputStream::CopyingFileInputStream::CopyingFileInputStream( in CopyingFileInputStream()
113 FileInputStream::CopyingFileInputStream::~CopyingFileInputStream() { in ~CopyingFileInputStream()
121 bool FileInputStream::CopyingFileInputStream::Close() { in Close()
[all …]
Dzero_copy_stream_impl.h63 class LIBPROTOBUF_EXPORT FileInputStream : public ZeroCopyInputStream {
69 explicit FileInputStream(int file_descriptor, int block_size = -1);
70 ~FileInputStream();
129 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FileInputStream);
Dzero_copy_stream_unittest.cc474 FileInputStream input(file, kBlockSizes[j]); in TEST_F()
507 FileInputStream input(file, kBlockSizes[j]); in TEST_F()
557 FileInputStream input(-1); in TEST_F()
605 FileInputStream input(files[0], kBlockSizes[j]); in TEST_F()
/external/apache-http/src/org/apache/http/entity/
DFileEntity.java35 import java.io.FileInputStream;
71 return new FileInputStream(this.file); in getContent()
78 InputStream instream = new FileInputStream(this.file); in writeTo()
/external/guava/src/com/google/common/io/
DFiles.java25 import java.io.FileInputStream;
68 new InputStreamReader(new FileInputStream(file), charset)); in newReader()
92 public static InputSupplier<FileInputStream> newInputStreamSupplier( in newInputStreamSupplier()
95 return new InputSupplier<FileInputStream>() { in newInputStreamSupplier()
96 public FileInputStream getInput() throws IOException { in newInputStreamSupplier()
97 return new FileInputStream(file); in newInputStreamSupplier()
193 InputStream in = new FileInputStream(file);
DFileBackedOutputStream.java24 import java.io.FileInputStream;
126 return new FileInputStream(file); in openStream()
/external/protobuf/examples/
DAddPerson.java6 import java.io.FileInputStream;
72 FileInputStream input = new FileInputStream(args[0]); in main()
DListPeople.java5 import java.io.FileInputStream;
46 AddressBook.parseFrom(new FileInputStream(args[0])); in main()
/external/protobuf/src/google/protobuf/testing/
Dzcgunzip.cc51 using google::protobuf::io::FileInputStream;
55 FileInputStream fin(STDIN_FILENO); in main()
/external/nist-sip/java/gov/nist/core/net/
DSslNetworkLayer.java28 import java.io.FileInputStream;
79 keyStore.load(new FileInputStream(keyStoreFile), keyStorePassword); in SslNetworkLayer()
80 trustStore.load(new FileInputStream(trustStoreFile), keyStorePassword); in SslNetworkLayer()
/external/quake/src/com/android/quake/
DDownloaderActivity.java20 import java.io.FileInputStream;
141 FileInputStream is; in getLocalConfig()
143 is = new FileInputStream(configPath); in getLocalConfig()
577 InputStream is = new FileInputStream(localConfig); in getConfig()
631 FileInputStream is = openInput(file.dest); in downloadFile()
714 FileInputStream is = new FileInputStream(dest); in verifyFile()
740 private void readIntoDigest(FileInputStream is, long bytesToRead, in readIntoDigest()
927 private FileInputStream openInput(String src) in openInput()
938 return new FileInputStream(srcFile); in openInput()
/external/junit/src/junit/runner/
DTestCaseClassLoader.java5 import java.io.FileInputStream;
148 FileInputStream stream= null; in getClassData()
150 stream= new FileInputStream(f); in getClassData()
DBaseTestRunner.java5 import java.io.FileInputStream;
238 is= new FileInputStream(getPreferencesFile()); in readPreferences()
/external/protobuf/src/google/protobuf/
Dmessage.cc119 io::FileInputStream input(file_descriptor); in ParseFromFileDescriptor()
124 io::FileInputStream input(file_descriptor); in ParsePartialFromFileDescriptor()
/external/proguard/src/proguard/io/
DFileDataEntry.java70 inputStream = new BufferedInputStream(new FileInputStream(file)); in getInputStream()
/external/emma/core/java12/com/vladium/util/
DIPathEnumerator.java13 import java.io.FileInputStream;
219 … in = new JarInputStream (new BufferedInputStream (new FileInputStream (fullArchive), 32 * 1024)); in enumeratePathArchive()
DProperty.java13 import java.io.FileInputStream;
294 in = new BufferedInputStream (new FileInputStream (file), 8 * 1024); in getPropertiesFromFile()
/external/protobuf/src/google/protobuf/compiler/
Dimporter.cc444 io::FileInputStream* result = new io::FileInputStream(file_descriptor); in OpenDiskFile()
/external/clearsilver/java-jni/
DCSTest.java10 import java.io.FileInputStream;
261 InputStreamReader fin = new InputStreamReader(new FileInputStream(file), in readFile()
/external/emma/core/java12/com/vladium/emma/rt/
DClassPathProcessorST.java12 import java.io.FileInputStream;
321 in = new FileInputStream (file); in readFile()
/external/jdiff/src/jdiff/
DJDiffAntTask.java6 import java.io.FileInputStream;
305 InputStream in = new FileInputStream(src); in copyFile()
DXMLToAPI.java71 parser.parse(new InputSource(new FileInputStream(new File(filename)))); in readFile()
DRootDocToXML.java891 FileInputStream f = new FileInputStream(filename); in addPkgDocumentation()
/external/emma/core/java12/com/vladium/emma/data/
DDataFactory.java19 import java.io.FileInputStream;
269 private static final class UCFileInputStream extends FileInputStream
/external/emma/core/java12/com/vladium/emma/instr/
DInstrProcessorST.java12 import java.io.FileInputStream;
963 in = new FileInputStream (file); in readFile()

12