Home
last modified time | relevance | path

Searched refs:FileStream (Results 1 – 25 of 84) sorted by relevance

1234

/external/icu/icu4c/source/tools/toolutil/
Dfilestrm.h32 typedef struct _FileStream FileStream; typedef
34 U_CAPI FileStream* U_EXPORT2
42 T_FileStream_close(FileStream* fileStream);
53 T_FileStream_read(FileStream* fileStream, void* addr, int32_t len);
56 T_FileStream_write(FileStream* fileStream, const void* addr, int32_t len);
59 T_FileStream_rewind(FileStream* fileStream);
63 T_FileStream_readLine(FileStream* fileStream, char* buffer, int32_t length);
66 T_FileStream_writeLine(FileStream* fileStream, const char* buffer);
69 T_FileStream_putc(FileStream* fileStream, int32_t ch);
72 T_FileStream_getc(FileStream* fileStream);
[all …]
Dfilestrm.cpp32 U_CAPI FileStream* U_EXPORT2
37 return (FileStream*)file; in T_FileStream_open()
75 T_FileStream_close(FileStream* fileStream) in T_FileStream_close()
105 T_FileStream_read(FileStream* fileStream, void* addr, int32_t len) in T_FileStream_read()
111 T_FileStream_write(FileStream* fileStream, const void* addr, int32_t len) in T_FileStream_write()
118 T_FileStream_rewind(FileStream* fileStream) in T_FileStream_rewind()
124 T_FileStream_putc(FileStream* fileStream, int32_t ch) in T_FileStream_putc()
131 T_FileStream_getc(FileStream* fileStream) in T_FileStream_getc()
138 T_FileStream_ungetc(int32_t ch, FileStream* fileStream) in T_FileStream_ungetc()
146 T_FileStream_peek(FileStream* fileStream) in T_FileStream_peek()
[all …]
Dpkg_genc.cpp72 write8(FileStream *out, uint8_t byte, uint32_t column);
75 write32(FileStream *out, uint32_t byte, uint32_t column);
79 write8str(FileStream *out, uint8_t byte, uint32_t column);
285 FileStream *in, *out; in writeAssemblyCode()
396 FileStream *in, *out; in writeCCode()
539 write32(FileStream *out, uint32_t bitField, uint32_t column) { in write32()
604 write8(FileStream *out, uint8_t byte, uint32_t column) { in write8()
637 write8str(FileStream *out, uint8_t byte, uint32_t column) { in write8str()
756 FileStream *in; in getArchitecture()
884 FileStream *in, *out; in writeObjectCode()
Ducbuf.h184 U_CAPI FileStream * U_EXPORT2
205 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, U…
/external/deqp/framework/delibs/destream/
DdeFileStream.c32 } FileStream; typedef
37 FileStream* fileStream = (FileStream*)stream; in fileIOStream_read()
70 FileStream* fileStream = (FileStream*)stream; in fileIOStream_write()
101 FileStream* fileStream = (FileStream*)stream; in fileIOStream_getError()
116 FileStream* fileStream = (FileStream*)stream; in fileIOStream_deinit()
127 FileStream* fileStream = (FileStream*)stream; in fileIOStrem_getStatus()
160 FileStream* fileStream = DE_NULL; in fileIOStream_init()
164 fileStream = malloc(sizeof(FileStream)); in fileIOStream_init()
180 FileStream* fileStream = DE_NULL; in deFileInStream_init()
184 fileStream = malloc(sizeof(FileStream)); in deFileInStream_init()
[all …]
/external/libbrillo/brillo/streams/
Dfile_stream.cc29 class FileDescriptor : public FileStream::FileDescriptorInterface {
208 StreamPtr FileStream::Open(const base::FilePath& path, in Open()
256 stream.reset(new FileStream{std::move(fd_interface), mode}); in Open()
260 StreamPtr FileStream::CreateTemporary(ErrorPtr* error) { in CreateTemporary()
287 StreamPtr FileStream::FromFileDescriptor(int file_descriptor, in FromFileDescriptor()
323 stream.reset(new FileStream{std::move(fd_interface), access_mode}); in FromFileDescriptor()
327 FileStream::FileStream(std::unique_ptr<FileDescriptorInterface> fd_interface, in FileStream() function in brillo::FileStream
353 bool FileStream::IsOpen() const { in IsOpen()
357 bool FileStream::CanRead() const { in CanRead()
361 bool FileStream::CanWrite() const { in CanWrite()
[all …]
Dfile_stream_unittest.cc131 class MockFileDescriptor : public FileStream::FileDescriptorInterface {
162 stream_.reset(new FileStream(std::move(fd), access_mode)); in CreateStream()
190 std::unique_ptr<FileStream> stream_;
383 FileStream::FileDescriptorInterface::DataCallback data_callback; in TEST_F()
520 FileStream::FileDescriptorInterface::DataCallback data_callback; in TEST_F()
703 StreamPtr stream = FileStream::CreateTemporary(nullptr); in TEST_F()
717 StreamPtr stream = FileStream::Open(path, in TEST_F()
719 FileStream::Disposition::OPEN_EXISTING, in TEST_F()
743 StreamPtr stream = FileStream::Open(path, in TEST_F()
745 FileStream::Disposition::CREATE_ALWAYS, in TEST_F()
[all …]
Dfile_stream.h23 class BRILLO_EXPORT FileStream : public Stream {
154 FileStream(std::unique_ptr<FileDescriptorInterface> fd_interface,
170 DISALLOW_COPY_AND_ASSIGN(FileStream);
/external/puffin/src/
Dfile_stream.cc20 UniqueStreamPtr FileStream::Open(const string& path, bool read, bool write) { in Open()
34 return UniqueStreamPtr(new FileStream(fd)); in Open()
37 bool FileStream::GetSize(uint64_t* size) const { in GetSize()
48 bool FileStream::GetOffset(uint64_t* offset) const { in GetOffset()
55 bool FileStream::Seek(uint64_t offset) { in Seek()
61 bool FileStream::Read(void* buffer, size_t length) { in Read()
74 bool FileStream::Write(const void* buffer, size_t length) { in Write()
86 bool FileStream::Close() { in Close()
Dfile_stream.h17 class FileStream : public StreamInterface {
19 explicit FileStream(int fd) : fd_(fd) { Seek(0); } in FileStream() function
20 ~FileStream() override = default;
32 FileStream() = default;
38 DISALLOW_COPY_AND_ASSIGN(FileStream);
Dmain.cc32 using puffin::FileStream;
222 auto src_stream = FileStream::Open(FLAGS_src_file, true, false); in Main()
246 auto dst_stream = FileStream::Open(FLAGS_dst_file, false, true); in Main()
298 auto dst_file = FileStream::Open(FLAGS_dst_file, false, true); in Main()
316 auto dst_stream = FileStream::Open(FLAGS_dst_file, true, false); in Main()
356 auto patch_stream = FileStream::Open(FLAGS_patch_file, false, true); in Main()
361 auto patch_stream = FileStream::Open(FLAGS_patch_file, true, false); in Main()
369 auto dst_stream = FileStream::Open(FLAGS_dst_file, false, true); in Main()
/external/webrtc/webrtc/base/
Dstream.cc327 FileStream::FileStream() : file_(NULL) { in FileStream() function in rtc::FileStream
330 FileStream::~FileStream() { in ~FileStream()
331 FileStream::Close(); in ~FileStream()
334 bool FileStream::Open(const std::string& filename, const char* mode, in Open()
356 bool FileStream::OpenShare(const std::string& filename, const char* mode, in OpenShare()
379 bool FileStream::DisableBuffering() { in DisableBuffering()
385 StreamState FileStream::GetState() const { in GetState()
389 StreamResult FileStream::Read(void* buffer, size_t buffer_len, in Read()
406 StreamResult FileStream::Write(const void* data, size_t data_len, in Write()
421 void FileStream::Close() { in Close()
[all …]
Ddiskcache.cc120 FileStream::GetSize(filename, &previous_size); in WriteResource()
126 scoped_ptr<FileStream> file(new FileStream); in WriteResource()
164 scoped_ptr<FileStream> file(new FileStream); in ReadResource()
335 FileStream::GetSize(filename, &new_size); in ReleaseResource()
Dfileutils_unittest.cc30 FileStream* fs; in TEST()
60 FileStream* fs = Filesystem::OpenFile(path, "rb"); in TEST()
77 scoped_ptr<FileStream> fs(Filesystem::OpenFile(path, "wb")); in TEST()
Dlinux.cc176 FileStream* fs = new FileStream(); in Open()
251 FileStream fs; in ReadCpuMaxFreq()
Dproxydetect_unittest.cc44 virtual FileStream* OpenFile(const Pathname& filename, in OpenFile()
51 FileStream* stream = FakeFileSystem::OpenFile(name, mode); in OpenFile()
Doptionsfile.cc29 FileStream stream; in Load()
66 FileStream stream; in Save()
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DANTLRFileStream.as4 import flash.filesystem.FileStream;
20 var stream:FileStream = new FileStream();
/external/icu/icu4c/source/test/intltest/
Dnormconf.h21 typedef struct _FileStream FileStream; typedef
39 void TestConformance(FileStream *input, int32_t options);
46 FileStream *openNormalizationTestFile(const char *filename);
/external/catch2/include/internal/
Dcatch_stream.cpp76 class FileStream : public IStream { class
79 FileStream( StringRef filename ) { in FileStream() function in Catch::detail::__anon56f1547e0111::FileStream
83 ~FileStream() override = default;
135 return new detail::FileStream( filename ); in makeStream()
/external/webrtc/talk/media/devices/
Dfilevideocapturer.h48 class FileStream; variable
71 rtc::FileStream video_file_;
146 rtc::FileStream video_file_;
/external/icu/icu4c/source/tools/pkgdata/
Dpkgtypes.h41 const char *pkg_writeCharList(FileStream *s, CharList *l, const char *delim, int32_t quoted);
46 const char *pkg_writeCharListWrap(FileStream *s, CharList *l, const char *delim, const char *brk, i…
92 typedef void (UPKGMODE)(struct UPKGOptions_ *, FileStream *s, UErrorCode *status);
/external/lzma/CS/7zip/Compress/LzmaAlone/
DLzmaAlone.cs220 inStream = new FileStream(inputName, FileMode.Open, FileAccess.Read); in Main2()
223 FileStream outStream = null; in Main2()
233 outStream = new FileStream(outputName, FileMode.Create, FileAccess.Write); in Main2()
236 FileStream trainStream = null; in Main2()
238 trainStream = new FileStream(train, FileMode.Open, FileAccess.Read); in Main2()
/external/clang/lib/Rewrite/
DRewriter.cpp415 FileStream.reset(new llvm::raw_fd_ostream(FD, /*shouldClose=*/true)); in AtomicallyMovedFile()
423 FileStream->close(); in ~AtomicallyMovedFile()
434 bool ok() { return (bool)FileStream; } in ok()
435 raw_ostream &getStream() { return *FileStream; } in getStream()
441 std::unique_ptr<llvm::raw_fd_ostream> FileStream; member in __anonb0239c0c0111::AtomicallyMovedFile
/external/tensorflow/tensorflow/core/platform/
Denv.cc493 class FileStream : public ::tensorflow::protobuf::io::ZeroCopyInputStream { class
495 explicit FileStream(RandomAccessFile* file) : file_(file), pos_(0) {} in FileStream() function in tensorflow::__anonca062ae90111::FileStream
540 std::unique_ptr<FileStream> stream(new FileStream(file.get())); in ReadBinaryProto()
577 std::unique_ptr<FileStream> stream(new FileStream(file.get())); in ReadTextProto()

1234