Searched refs:FileStream (Results 1 - 25 of 193) sorted by relevance

12345678

/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Dfilestrm.h11 * Contains FileStream interface
30 typedef struct _FileStream FileStream; typedef in typeref:struct:_FileStream
32 U_CAPI FileStream* U_EXPORT2
36 U_CAPI FileStream* U_EXPORT2
40 T_FileStream_close(FileStream* fileStream);
46 U_CAPI FileStream* U_EXPORT2
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* fileStrea
[all...]
H A Dfilestrm.c30 U_CAPI FileStream* U_EXPORT2
35 return (FileStream*)file;
42 U_CAPI FileStream* U_EXPORT2
48 return (FileStream*)result;
68 return (FileStream*)result;
73 T_FileStream_close(FileStream* fileStream)
91 const int32_t FileStream::kEOF = EOF;*/
94 U_CAPI FileStream*
98 return (FileStream*)file;
103 T_FileStream_read(FileStream* fileStrea
[all...]
/external/icu4c/tools/toolutil/
H A Dfilestrm.h11 * Contains FileStream interface
30 typedef struct _FileStream FileStream; typedef in typeref:struct:_FileStream
32 U_CAPI FileStream* U_EXPORT2
36 U_CAPI FileStream* U_EXPORT2
40 T_FileStream_close(FileStream* fileStream);
46 U_CAPI FileStream* U_EXPORT2
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* fileStrea
[all...]
H A Dfilestrm.c30 U_CAPI FileStream* U_EXPORT2
35 return (FileStream*)file;
42 U_CAPI FileStream* U_EXPORT2
48 return (FileStream*)result;
68 return (FileStream*)result;
73 T_FileStream_close(FileStream* fileStream)
91 const int32_t FileStream::kEOF = EOF;*/
94 U_CAPI FileStream*
98 return (FileStream*)file;
103 T_FileStream_read(FileStream* fileStrea
[all...]
/external/chromium_org/net/base/
H A Dmock_file_stream.cc13 return ReturnError(FileStream::OpenSync(path, open_flags));
18 return ReturnError(FileStream::Seek(whence, offset, callback));
22 return ReturnError64(FileStream::SeekSync(whence, offset));
26 return ReturnError64(FileStream::Available());
32 return ReturnError(FileStream::Read(buf, buf_len, callback));
36 return ReturnError(FileStream::ReadSync(buf, buf_len));
40 return ReturnError(FileStream::ReadUntilComplete(buf, buf_len));
46 return ReturnError(FileStream::Write(buf, buf_len, callback));
50 return ReturnError(FileStream::WriteSync(buf, buf_len));
54 return ReturnError64(FileStream
[all...]
H A Dfile_stream.cc18 FileStream::FileStream(NetLog* net_log, function in class:net::FileStream
28 FileStream::FileStream(NetLog* net_log) function in class:net::FileStream
38 FileStream::FileStream(base::PlatformFile file, function in class:net::FileStream
48 FileStream::FileStream(base::PlatformFile file, int flags, NetLog* net_log) function in class:net::FileStream
58 FileStream::~FileStream() {
[all...]
H A Dfile_stream_context.cc28 FileStream::Context::IOResult::IOResult()
33 FileStream::Context::IOResult::IOResult(int64 result, int os_error)
39 FileStream::Context::IOResult FileStream::Context::IOResult::FromOSError(
44 FileStream::Context::OpenResult::OpenResult()
48 FileStream::Context::OpenResult::OpenResult(base::PlatformFile file,
54 void FileStream::Context::Orphan() {
68 void FileStream::Context::OpenAsync(const base::FilePath& path,
86 int FileStream::Context::OpenSync(const base::FilePath& path, int open_flags) {
103 void FileStream
[all...]
H A Dfile_stream.h5 // This file defines FileStream, a basic interface for reading and writing files
28 class NET_EXPORT FileStream { class in namespace:net
30 // Creates a |FileStream| with a new |BoundNetLog| (based on |net_log|)
33 FileStream(net::NetLog* net_log,
37 explicit FileStream(net::NetLog* net_log);
39 // Construct a FileStream with an existing file handle and opening flags.
46 // Note: the new FileStream object takes ownership of the PlatformFile and
48 FileStream(base::PlatformFile file,
54 FileStream(base::PlatformFile file, int flags, net::NetLog* net_log);
57 virtual ~FileStream();
[all...]
H A Dfile_stream_context_posix.cc47 FileStream::Context::Context(const BoundNetLog& bound_net_log,
57 FileStream::Context::Context(base::PlatformFile file,
69 FileStream::Context::~Context() {
72 int64 FileStream::Context::GetFileSize() const {
83 int FileStream::Context::ReadAsync(IOBuffer* in_buf,
103 int FileStream::Context::ReadSync(char* in_buf, int buf_len) {
110 int FileStream::Context::WriteAsync(IOBuffer* in_buf,
130 int FileStream::Context::WriteSync(const char* in_buf, int buf_len) {
137 int FileStream::Context::Truncate(int64 bytes) {
147 FileStream
[all...]
H A Dfile_stream_context_win.cc40 FileStream::Context::Context(const BoundNetLog& bound_net_log,
54 FileStream::Context::Context(base::PlatformFile file,
74 FileStream::Context::~Context() {
77 int64 FileStream::Context::GetFileSize() const {
89 int FileStream::Context::ReadAsync(IOBuffer* buf,
114 int FileStream::Context::ReadSync(char* buf, int buf_len) {
130 int FileStream::Context::WriteAsync(IOBuffer* buf,
152 int FileStream::Context::WriteSync(const char* buf, int buf_len) {
164 int FileStream::Context::Truncate(int64 bytes) {
175 void FileStream
[all...]
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dfilelock.h38 class FileStream;
57 FileLock(const std::string& path, FileStream* file);
63 scoped_ptr<FileStream> file_;
H A Dfilelock.cc37 FileLock::FileLock(const std::string& path, FileStream* file)
60 FileStream* stream = new FileStream();
/external/chromium/net/base/
H A Dfile_stream.h5 // This file defines FileStream, a basic interface for reading and writing files
30 class FileStream { class in namespace:net
32 FileStream();
34 // Construct a FileStream with an existing file handle and opening flags.
38 // The already opened file will not be automatically closed when FileStream
40 FileStream(base::PlatformFile file, int flags);
42 ~FileStream();
44 // Call this method to close the FileStream. It is OK to call Close
49 // Call this method to open the FileStream. The remaining methods
139 // the FileStream wa
[all...]
H A Dfile_stream_posix.cc131 // FileStream::AsyncContext ----------------------------------------------
133 class FileStream::AsyncContext {
183 FileStream::AsyncContext::AsyncContext()
192 FileStream::AsyncContext::~AsyncContext() {
209 void FileStream::AsyncContext::InitiateAsyncRead(
223 void FileStream::AsyncContext::InitiateAsyncWrite(
237 void FileStream::AsyncContext::OnBackgroundIOCompleted(int result) {
245 void FileStream::AsyncContext::RunAsynchronousCallback() {
268 // FileStream ------------------------------------------------------------
270 FileStream function in class:net::FileStream
277 FileStream::FileStream(base::PlatformFile file, int flags) function in class:net::FileStream
[all...]
H A Dfile_stream_win.cc51 // FileStream::AsyncContext ----------------------------------------------
53 class FileStream::AsyncContext : public MessageLoopForIO::IOHandler {
55 AsyncContext(FileStream* owner)
70 FileStream* owner_;
76 FileStream::AsyncContext::~AsyncContext() {
91 void FileStream::AsyncContext::IOCompletionIsPending(
97 void FileStream::AsyncContext::OnIOCompleted(
119 // FileStream ------------------------------------------------------------
121 FileStream::FileStream() function in class:net::FileStream
127 FileStream::FileStream(base::PlatformFile file, int flags) function in class:net::FileStream
[all...]
/external/chromium/chrome/browser/download/
H A Ddrag_download_util.h18 class FileStream;
39 // Return a FileStream if successful.
40 net::FileStream* CreateFileStreamForDrop(FilePath* file_path);
H A Dsave_file.cc12 : BaseFile(FilePath(), info->url, GURL(), 0, linked_ptr<net::FileStream>()),
H A Ddownload_types.h43 linked_ptr<net::FileStream> file_stream;
H A Ddrag_download_util.cc19 using net::FileStream;
58 FileStream* CreateFileStreamForDrop(FilePath* file_path) {
61 scoped_ptr<FileStream> file_stream(new FileStream);
/external/chromium/chrome/browser/sessions/
H A Dsession_backend.h17 class FileStream;
111 net::FileStream* OpenAndWriteHeader(const FilePath& path);
114 bool AppendCommandsToFile(net::FileStream* file,
132 scoped_ptr<net::FileStream> current_session_file_;
/external/chromium_org/chrome/browser/sessions/
H A Dsession_backend.h17 class FileStream;
108 net::FileStream* OpenAndWriteHeader(const base::FilePath& path);
111 bool AppendCommandsToFile(net::FileStream* file,
129 scoped_ptr<net::FileStream> current_session_file_;
/external/chromium_org/content/public/browser/
H A Ddownload_save_info.h33 scoped_ptr<net::FileStream> file_stream;
/external/chromium_org/remoting/host/native_messaging/
H A Dnative_messaging_writer.h29 net::FileStream write_stream_;
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DANTLRFileStream.as4 import flash.filesystem.FileStream;
20 var stream:FileStream = new FileStream();
/external/chromium_org/content/browser/download/
H A Ddrag_download_util.h21 class FileStream;
42 // Return a FileStream if successful.
44 CONTENT_EXPORT net::FileStream* CreateFileStreamForDrop(

Completed in 6713 milliseconds

12345678