Home
last modified time | relevance | path

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

123

/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);
288 FileStream *in, *out; in writeAssemblyCode()
399 FileStream *in, *out; in writeCCode()
542 write32(FileStream *out, uint32_t bitField, uint32_t column) { in write32()
607 write8(FileStream *out, uint8_t byte, uint32_t column) { in write8()
640 write8str(FileStream *out, uint8_t byte, uint32_t column) { in write8str()
759 FileStream *in; in getArchitecture()
888 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…
Ducbuf.cpp48 FileStream* in;
55 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, U… in ucbuf_autodetect_fs()
133 U_CAPI FileStream * U_EXPORT2
135 FileStream* in=NULL; in ucbuf_autodetect()
452 FileStream* in = NULL; in ucbuf_open()
/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.cc32 class FileDescriptor : public FileStream::FileDescriptorInterface {
198 StreamPtr FileStream::Open(const base::FilePath& path, in Open()
246 stream.reset(new FileStream{std::move(fd_interface), mode}); in Open()
250 StreamPtr FileStream::CreateTemporary(ErrorPtr* error) { in CreateTemporary()
277 StreamPtr FileStream::FromFileDescriptor(int file_descriptor, in FromFileDescriptor()
313 stream.reset(new FileStream{std::move(fd_interface), access_mode}); in FromFileDescriptor()
317 FileStream::FileStream(std::unique_ptr<FileDescriptorInterface> fd_interface, in FileStream() function in brillo::FileStream
343 bool FileStream::IsOpen() const { in IsOpen()
347 bool FileStream::CanRead() const { in CanRead()
351 bool FileStream::CanWrite() const { in CanWrite()
[all …]
Dfile_stream_test.cc134 class MockFileDescriptor : public FileStream::FileDescriptorInterface {
168 stream_.reset(new FileStream(std::move(fd), access_mode)); in CreateStream()
196 std::unique_ptr<FileStream> stream_;
389 FileStream::FileDescriptorInterface::DataCallback data_callback; in TEST_F()
526 FileStream::FileDescriptorInterface::DataCallback data_callback; in TEST_F()
709 StreamPtr stream = FileStream::CreateTemporary(nullptr); in TEST_F()
723 StreamPtr stream = FileStream::Open(path, in TEST_F()
725 FileStream::Disposition::OPEN_EXISTING, in TEST_F()
749 StreamPtr stream = FileStream::Open(path, in TEST_F()
751 FileStream::Disposition::CREATE_ALWAYS, in TEST_F()
[all …]
Dfile_stream.h25 class BRILLO_EXPORT FileStream : public Stream {
156 FileStream(std::unique_ptr<FileDescriptorInterface> fd_interface,
172 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/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);
Dtextfile.h62 FileStream* file;
/external/catch2/include/internal/
Dcatch_stream.cpp76 class FileStream : public IStream { class
79 FileStream( StringRef filename ) { in FileStream() function in Catch::Detail::__anon7c42145a0111::FileStream
83 ~FileStream() override = default;
135 return new Detail::FileStream( filename ); in makeStream()
/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 __anonec1d98e80111::AtomicallyMovedFile
/external/llvm-project/clang/lib/Rewrite/
DRewriter.cpp433 FileStream.reset(new llvm::raw_fd_ostream(FD, /*shouldClose=*/true)); in AtomicallyMovedFile()
441 FileStream->close(); in ~AtomicallyMovedFile()
452 bool ok() { return (bool)FileStream; } in ok()
453 raw_ostream &getStream() { return *FileStream; } in getStream()
459 std::unique_ptr<llvm::raw_fd_ostream> FileStream; member in __anon4c344a160111::AtomicallyMovedFile
/external/tensorflow/tensorflow/core/platform/
Denv.cc499 class FileStream : public protobuf::io::ZeroCopyInputStream { class
501 explicit FileStream(RandomAccessFile* file) : file_(file), pos_(0) {} in FileStream() function in tensorflow::__anon868651c50111::FileStream
546 std::unique_ptr<FileStream> stream(new FileStream(file.get())); in ReadBinaryProto()
569 std::unique_ptr<FileStream> stream(new FileStream(file.get())); in ReadTextProto()
/external/llvm-project/clang-tools-extra/clang-apply-replacements/tool/
DClangApplyReplacementsMain.cpp155 llvm::raw_fd_ostream FileStream(FileName, EC, llvm::sys::fs::OF_None); in main() local
160 FileStream << *NewFileData; in main()
/external/llvm-project/llvm/tools/llvm-reduce/deltas/
DDelta.cpp53 std::ifstream FileStream{std::string(Filepath)}; in getLines() local
55 while (std::getline(FileStream, CurrLine)) in getLines()
/external/skia/experimental/xps_to_png/
Dxps_to_png.cs61 System.IO.FileStream pageOutStream = new System.IO.FileStream( in convert()
/external/skqp/experimental/xps_to_png/
Dxps_to_png.cs61 System.IO.FileStream pageOutStream = new System.IO.FileStream( in convert()

123