Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/tools/toolutil/
Dfilestrm.h30 typedef struct _FileStream FileStream; typedef
32 U_CAPI FileStream* U_EXPORT2
40 T_FileStream_close(FileStream* fileStream);
51 T_FileStream_read(FileStream* fileStream, void* addr, int32_t len);
54 T_FileStream_write(FileStream* fileStream, const void* addr, int32_t len);
57 T_FileStream_rewind(FileStream* fileStream);
61 T_FileStream_readLine(FileStream* fileStream, char* buffer, int32_t length);
64 T_FileStream_writeLine(FileStream* fileStream, const char* buffer);
67 T_FileStream_putc(FileStream* fileStream, int32_t ch);
70 T_FileStream_getc(FileStream* fileStream);
[all …]
Dfilestrm.c30 U_CAPI FileStream* U_EXPORT2
35 return (FileStream*)file; in T_FileStream_open()
73 T_FileStream_close(FileStream* fileStream) in T_FileStream_close()
103 T_FileStream_read(FileStream* fileStream, void* addr, int32_t len) in T_FileStream_read()
109 T_FileStream_write(FileStream* fileStream, const void* addr, int32_t len) in T_FileStream_write()
116 T_FileStream_rewind(FileStream* fileStream) in T_FileStream_rewind()
122 T_FileStream_putc(FileStream* fileStream, int32_t ch) in T_FileStream_putc()
129 T_FileStream_getc(FileStream* fileStream) in T_FileStream_getc()
136 T_FileStream_ungetc(int32_t ch, FileStream* fileStream) in T_FileStream_ungetc()
144 T_FileStream_peek(FileStream* fileStream) in T_FileStream_peek()
[all …]
Dpkg_genc.c59 write8(FileStream *out, uint8_t byte, uint32_t column);
62 write32(FileStream *out, uint32_t byte, uint32_t column);
66 write8str(FileStream *out, uint8_t byte, uint32_t column);
264 FileStream *in, *out; in writeAssemblyCode()
349 FileStream *in, *out; in writeCCode()
465 write32(FileStream *out, uint32_t bitField, uint32_t column) { in write32()
530 write8(FileStream *out, uint8_t byte, uint32_t column) { in write8()
563 write8str(FileStream *out, uint8_t byte, uint32_t column) { in write8str()
664 FileStream *in; in getArchitecture()
771 FileStream *in, *out; in writeObjectCode()
Ducbuf.h173 U_CAPI FileStream * U_EXPORT2
194 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, U…
Ducbuf.c46 FileStream* in;
53 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, U… in ucbuf_autodetect_fs()
131 U_CAPI FileStream * U_EXPORT2
133 FileStream* in=NULL; in ucbuf_autodetect()
450 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.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.cc122 class MockFileDescriptor : public FileStream::FileDescriptorInterface {
153 stream_.reset(new FileStream(std::move(fd), access_mode)); in CreateStream()
181 std::unique_ptr<FileStream> stream_;
376 FileStream::FileDescriptorInterface::DataCallback data_callback; in TEST_F()
515 FileStream::FileDescriptorInterface::DataCallback data_callback; in TEST_F()
698 StreamPtr stream = FileStream::CreateTemporary(nullptr); in TEST_F()
712 StreamPtr stream = FileStream::Open(path, in TEST_F()
714 FileStream::Disposition::OPEN_EXISTING, in TEST_F()
738 StreamPtr stream = FileStream::Open(path, in TEST_F()
740 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/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()
Dfileutils.h31 class FileStream; variable
104 virtual FileStream *OpenFile(const Pathname &filename,
290 static FileStream *OpenFile(const Pathname &filename, in OpenFile()
Dstream.h370 class FileStream : public StreamInterface {
372 FileStream();
373 ~FileStream() override;
418 RTC_DISALLOW_COPY_AND_ASSIGN(FileStream);
Dfileutils_mock.h25 class FakeFileStream : public FileStream {
138 virtual FileStream * OpenFile( in OpenFile()
/external/icu/icu4c/source/test/intltest/
Dnormconf.h18 typedef struct _FileStream FileStream; typedef
35 void TestConformance(FileStream *input, int32_t options);
42 FileStream *openNormalizationTestFile(const char *filename);
Dtextfile.h60 FileStream* file;
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DANTLRFileStream.as4 import flash.filesystem.FileStream;
20 var stream:FileStream = new FileStream();
/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.h39 const char *pkg_writeCharList(FileStream *s, CharList *l, const char *delim, int32_t quoted);
44 const char *pkg_writeCharListWrap(FileStream *s, CharList *l, const char *delim, const char *brk, i…
90 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 __anonf3b572420111::AtomicallyMovedFile

123