Searched refs:fileWriter (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/content/test/data/fileapi/ |
D | quota_test.js | 7 fileEntry.createWriter(function(fileWriter) { argument 9 fileWriter.onerror = function(e) { 12 fileWriter.onwriteend = function(e) { 19 fileWriter.truncate(2500 * 1024); 26 fileEntry.createWriter(function(fileWriter) { argument 28 fileWriter.onerror = function(e) { 32 fileWriter.onwriteend = function() { 39 fileWriter.truncate(10000 * 1024);
|
/external/chromium_org/ui/file_manager/gallery/js/ |
D | gallery_item.js | 265 fileEntry.createWriter(function(fileWriter) { argument 267 fileWriter.onwriteend = onSuccess.bind(null, fileEntry); 268 fileWriter.write(ImageEncoder.getBlob(canvas, metadataEncoder)); 270 fileWriter.onerror = function(error) { 273 fileWriter.onerror = null; 274 fileWriter.onwriteend = null; 279 fileWriter.onwriteend = writeContent; 280 fileWriter.truncate(0);
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
D | DOMFileSystemSync.cpp | 211 FileWriterSync* fileWriter = FileWriterSync::create(); in createWriter() local 216 …OwnPtr<AsyncFileSystemCallbacks> callbacks = FileWriterBaseCallbacks::create(fileWriter, successCa… in createWriter() 219 fileSystem()->createFileWriter(createFileSystemURL(fileEntry), fileWriter, callbacks.release()); in createWriter() 224 return fileWriter; in createWriter()
|
D | DOMFileSystem.cpp | 159 FileWriter* fileWriter = FileWriter::create(executionContext()); in createWriter() local 161 …OwnPtr<AsyncFileSystemCallbacks> callbacks = FileWriterBaseCallbacks::create(fileWriter, conversio… in createWriter() 162 fileSystem()->createFileWriter(createFileSystemURL(fileEntry), fileWriter, callbacks.release()); in createWriter()
|
D | FileSystemCallbacks.cpp | 271 …FileWriterBaseCallbacks::create(PassRefPtrWillBeRawPtr<FileWriterBase> fileWriter, FileWriterBaseC… in create() argument 273 … return adoptPtr(new FileWriterBaseCallbacks(fileWriter, successCallback, errorCallback, context)); in create() 276 FileWriterBaseCallbacks::FileWriterBaseCallbacks(PassRefPtrWillBeRawPtr<FileWriterBase> fileWriter,… in FileWriterBaseCallbacks() argument 278 , m_fileWriter(fileWriter.get()) in FileWriterBaseCallbacks() 283 void FileWriterBaseCallbacks::didCreateFileWriter(PassOwnPtr<WebFileWriter> fileWriter, long long l… in didCreateFileWriter() argument 285 m_fileWriter->initialize(fileWriter, length); in didCreateFileWriter()
|
D | FileWriter.cpp | 50 FileWriter* fileWriter = adoptRefCountedGarbageCollectedWillBeNoop(new FileWriter(context)); in create() local 51 fileWriter->suspendIfNeeded(); in create() 52 return fileWriter; in create()
|
D | FileWriterCallback.idl | 32 void handleEvent(FileWriter fileWriter);
|
/external/chromium_org/remoting/webapp/ |
D | video_frame_recorder.js | 136 remoting.VideoFrameRecorder.prototype.onFileWriter_ = function(fileWriter) { argument 138 fileWriter.onwriteend = this.onWriteComplete_.bind(this); 139 this.fileWriter_ = fileWriter;
|
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/js/ |
D | wallpaper_manager.js | 809 fileEntry.createWriter(function(fileWriter) { argument 810 fileWriter.onwriteend = function(e) { 825 fileWriter.onerror = errorHandler; 829 fileWriter.write(blob); 839 fileEntry.createWriter(function(fileWriter) { argument 840 fileWriter.addEventListener('writeend', function(e) { 853 fileWriter.addEventListener('error', errorHandler); 854 fileWriter.write(file);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ContextTest.java | 160 FileWriter fileWriter = new FileWriter(file); in openFileInput_shouldReturnAFileInputStream() local 161 fileWriter.write(fileContents); in openFileInput_shouldReturnAFileInputStream() 162 fileWriter.close(); in openFileInput_shouldReturnAFileInputStream()
|