HomeSort by relevance Sort by last modified time
    Searched full:filestream (Results 26 - 50 of 200) sorted by null

12 3 4 5 6 7 8

  /external/chromium_org/net/base/
file_stream_unittest.cc 73 FileStream stream(base::MessageLoopProxy::current());
90 scoped_ptr<FileStream> stream(new FileStream(
107 // Test the use of FileStream with a file handle provided at construction.
120 scoped_ptr<FileStream> read_stream(
121 new FileStream(file.Pass(), base::MessageLoopProxy::current()));
139 scoped_ptr<FileStream> write_stream(
140 new FileStream(file.Pass(), base::MessageLoopProxy::current()));
162 FileStream stream(base::MessageLoopProxy::current());
180 FileStream stream(base::MessageLoopProxy::current())
    [all...]
file_stream.h 5 // This file defines FileStream, a basic interface for reading and writing files
27 class NET_EXPORT FileStream {
29 // Creates a FileStream.
31 explicit FileStream(const scoped_refptr<base::TaskRunner>& task_runner);
33 // Construct a FileStream with an existing valid |file|.
35 FileStream(base::File file,
39 virtual ~FileStream();
41 // Call this method to open the FileStream asynchronously. The remaining
51 // automatically closed when FileStream is destructed in an asynchronous
151 // to perform asynchronous operations because FileStream can be destroye
    [all...]
mock_file_stream.cc 16 : net::FileStream(task_runner),
26 : net::FileStream(file.Pass(), task_runner),
42 return FileStream::Seek(whence, offset, wrapped_callback);
53 return FileStream::Read(buf, buf_len, wrapped_callback);
64 return FileStream::Write(buf, buf_len, wrapped_callback);
73 return FileStream::Flush(wrapped_callback);
mock_file_stream.h 5 // This file defines MockFileStream, a test class for FileStream.
23 class MockFileStream : public net::FileStream {
30 // FileStream methods.
net_log_source_type_list.h 27 SOURCE_TYPE(FILESTREAM)
  /cts/tests/tests/uirendering/src/android/uirendering/cts/util/
BitmapDumper.java 105 FileOutputStream fileStream = null;
107 fileStream = new FileOutputStream(file);
108 bitmap.compress(Bitmap.CompressFormat.PNG, 85, fileStream);
109 fileStream.flush();
115 if (fileStream != null) {
116 IoUtils.closeQuietly(fileStream);
  /external/chromium_org/content/browser/loader/
temporary_file_stream.cc 29 callback.Run(error_code, scoped_ptr<net::FileStream>(), NULL);
43 scoped_ptr<net::FileStream> file_stream(
44 new net::FileStream(file_proxy->TakeFile(), task_runner));
redirect_to_file_resource_handler.h 24 class FileStream;
52 // testing purposes. The function should create a net::FileStream and a
73 scoped_ptr<net::FileStream> file_stream,
96 // Helper writer object which maintains references to the net::FileStream and
  /external/chromium_org/third_party/webrtc/base/
filelock.cc 20 FileLock::FileLock(const std::string& path, FileStream* file)
43 FileStream* stream = new FileStream();
filelock.h 21 class FileStream;
40 FileLock(const std::string& path, FileStream* file);
46 scoped_ptr<FileStream> file_;
stream.cc 313 // FileStream
316 FileStream::FileStream() : file_(NULL) {
319 FileStream::~FileStream() {
320 FileStream::Close();
323 bool FileStream::Open(const std::string& filename, const char* mode,
345 bool FileStream::OpenShare(const std::string& filename, const char* mode,
368 bool FileStream::DisableBuffering() {
374 StreamState FileStream::GetState() const
    [all...]
  /external/chromium_org/webkit/browser/blob/
local_file_stream_reader.h 26 class FileStream;
31 // A thin wrapper of net::FileStream with range support for sliced file
71 scoped_ptr<net::FileStream> stream_impl_;
  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DngCreatorTest.java 82 FileOutputStream fileStream = null;
126 fileStream = new FileOutputStream(filePath);
127 fileStream.write(outputStream.toByteArray());
128 fileStream.flush();
129 fileStream.close();
140 if (fileStream != null) {
141 fileStream.close();
168 FileOutputStream fileStream = null;
237 fileStream = new FileOutputStream(filePath);
238 fileStream.write(outputStream.toByteArray())
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
filelock.cc 37 FileLock::FileLock(const std::string& path, FileStream* file)
60 FileStream* stream = new FileStream();
filelock.h 38 class FileStream;
57 FileLock(const std::string& path, FileStream* file);
63 scoped_ptr<FileStream> file_;
stream.cc 330 // FileStream
333 FileStream::FileStream() : file_(NULL) {
336 FileStream::~FileStream() {
337 FileStream::Close();
340 bool FileStream::Open(const std::string& filename, const char* mode,
362 bool FileStream::OpenShare(const std::string& filename, const char* mode,
385 bool FileStream::DisableBuffering() {
391 StreamState FileStream::GetState() const
    [all...]
  /external/chromium_org/third_party/skia/tests/
FlateTest.cpp 95 SkZeroSizeMemStream fileStream;
96 TestFlate(reporter, &fileStream, 512);
97 TestFlate(reporter, &fileStream, 10240);
  /external/skia/tests/
FlateTest.cpp 95 SkZeroSizeMemStream fileStream;
96 TestFlate(reporter, &fileStream, 512);
97 TestFlate(reporter, &fileStream, 10240);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/extensions/
ExtensionsFactory.java 51 final InputStream fileStream = context.getAssets().open(EXTENSIONS_PROPERTIES);
53 sProperties.load(fileStream);
54 fileStream.close();
  /packages/apps/DeskClock/src/com/android/deskclock/
ExtensionsFactory.java 26 InputStream fileStream = assetManager.open(EXTENSIONS_PROPERTIES);
27 sProperties.load(fileStream);
28 fileStream.close();
  /frameworks/ex/framesequence/jni/
Stream.h 55 class FileStream : public Stream {
57 FileStream(FILE* fd) : mFd(fd) {}
  /external/chromium_org/third_party/zlib/contrib/minizip/
ioapi.c 29 long call_zseek64 (const zlib_filefunc64_32_def* pfilefunc,voidpf filestream, ZPOS64_T offset, int origin)
32 return (*(pfilefunc->zfile_func64.zseek64_file)) (pfilefunc->zfile_func64.opaque,filestream,offset,origin);
39 return (*(pfilefunc->zseek32_file))(pfilefunc->zfile_func64.opaque,filestream,offsetTruncated,origin);
43 ZPOS64_T call_ztell64 (const zlib_filefunc64_32_def* pfilefunc,voidpf filestream)
46 return (*(pfilefunc->zfile_func64.ztell64_file)) (pfilefunc->zfile_func64.opaque,filestream);
49 uLong tell_uLong = (*(pfilefunc->ztell32_file))(pfilefunc->zfile_func64.opaque,filestream);
  /external/zlib/src/contrib/minizip/
ioapi.c 41 long call_zseek64 (const zlib_filefunc64_32_def* pfilefunc,voidpf filestream, ZPOS64_T offset, int origin)
44 return (*(pfilefunc->zfile_func64.zseek64_file)) (pfilefunc->zfile_func64.opaque,filestream,offset,origin);
51 return (*(pfilefunc->zseek32_file))(pfilefunc->zfile_func64.opaque,filestream,offsetTruncated,origin);
55 ZPOS64_T call_ztell64 (const zlib_filefunc64_32_def* pfilefunc,voidpf filestream)
58 return (*(pfilefunc->zfile_func64.ztell64_file)) (pfilefunc->zfile_func64.opaque,filestream);
61 uLong tell_uLong = (*(pfilefunc->ztell32_file))(pfilefunc->zfile_func64.opaque,filestream);
  /external/chromium_org/chrome/browser/extensions/api/messaging/
native_message_process_host.h 23 class FileStream;
151 scoped_ptr<net::FileStream> read_stream_;
155 // net::FileStream.
161 scoped_ptr<net::FileStream> write_stream_;
163 // Read buffer passed to FileStream::Read().
  /external/libnfc-nci/src/adaptation/
CrcChecksum.cpp 102 int fileStream = open (filename, O_RDONLY);
103 if (fileStream >= 0)
107 size_t actualReadCrc = read (fileStream, &checksum, sizeof(checksum));
111 ssize_t actualReadData = read (fileStream, buffer, sizeof(buffer));
117 close (fileStream);

Completed in 1364 milliseconds

12 3 4 5 6 7 8