/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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
D | FileWriterTest.java | 67 FileWriter fileWriter = new FileWriter(f); in test_ConstructorLjava_io_FileZ() local 70 fileWriter.write(first); in test_ConstructorLjava_io_FileZ() 71 fileWriter.close(); in test_ConstructorLjava_io_FileZ() 73 fileWriter = new FileWriter(f, true); in test_ConstructorLjava_io_FileZ() 75 fileWriter.write(second); in test_ConstructorLjava_io_FileZ() 76 fileWriter.close(); in test_ConstructorLjava_io_FileZ() 84 fileWriter = new FileWriter(f); in test_ConstructorLjava_io_FileZ() 86 fileWriter.write(first); in test_ConstructorLjava_io_FileZ() 87 fileWriter.close(); in test_ConstructorLjava_io_FileZ() 89 fileWriter = new FileWriter(f, false); in test_ConstructorLjava_io_FileZ() [all …]
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/photo/ |
D | gallery_item.js | 143 fileEntry.createWriter(function(fileWriter) { argument 145 fileWriter.onwriteend = onSuccess.bind(null, fileEntry); 146 fileWriter.write(ImageEncoder.getBlob(canvas, metadataEncoder)); 148 fileWriter.onerror = function(error) { 151 fileWriter.onerror = null; 152 fileWriter.onwriteend = null; 157 fileWriter.onwriteend = writeContent; 158 fileWriter.truncate(0);
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
D | FileSystemCallbacks.cpp | 214 …mCallbacks> FileWriterBaseCallbacks::create(PassRefPtr<FileWriterBase> fileWriter, PassOwnPtr<File… in create() argument 216 return adoptPtr(new FileWriterBaseCallbacks(fileWriter, successCallback, errorCallback)); in create() 219 FileWriterBaseCallbacks::FileWriterBaseCallbacks(PassRefPtr<FileWriterBase> fileWriter, PassOwnPtr<… in FileWriterBaseCallbacks() argument 221 , m_fileWriter(fileWriter) in FileWriterBaseCallbacks() 226 void FileWriterBaseCallbacks::didCreateFileWriter(PassOwnPtr<blink::WebFileWriter> fileWriter, long… in didCreateFileWriter() argument 228 m_fileWriter->initialize(fileWriter, length); in didCreateFileWriter()
|
D | DOMFileSystemSync.cpp | 225 RefPtr<FileWriterSync> fileWriter = FileWriterSync::create(); in createWriter() local 230 …OwnPtr<AsyncFileSystemCallbacks> callbacks = FileWriterBaseCallbacks::create(fileWriter, successCa… in createWriter() 233 …fileSystem()->createFileWriter(createFileSystemURL(fileEntry), fileWriter.get(), callbacks.release… in createWriter() 238 return fileWriter.release(); in createWriter()
|
D | DOMFileSystem.cpp | 142 RefPtr<FileWriter> fileWriter = FileWriter::create(executionContext()); in createWriter() local 144 …OwnPtr<AsyncFileSystemCallbacks> callbacks = FileWriterBaseCallbacks::create(fileWriter, conversio… in createWriter() 145 …fileSystem()->createFileWriter(createFileSystemURL(fileEntry), fileWriter.get(), callbacks.release… in createWriter()
|
D | FileWriter.cpp | 49 RefPtr<FileWriter> fileWriter(adoptRef(new FileWriter(context))); in create() local 50 fileWriter->suspendIfNeeded(); in create() 51 return fileWriter.release(); in create()
|
D | FileWriterCallback.idl | 32 void handleEvent(FileWriter fileWriter);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | IsolatedFileSystem.js | 397 function fileWriterCreated(fileWriter) argument 399 fileWriter.onerror = errorHandler.bind(this); 400 fileWriter.onwriteend = fileTruncated; 401 fileWriter.truncate(0); 405 fileWriter.onwriteend = writerEnd; 407 fileWriter.write(blob);
|
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/js/ |
D | wallpaper_manager.js | 765 fileEntry.createWriter(function(fileWriter) { argument 766 fileWriter.onwriteend = function(e) { 782 fileWriter.onerror = errorHandler; 786 fileWriter.write(blob); 796 fileEntry.createWriter(function(fileWriter) { argument 797 fileWriter.addEventListener('writeend', function(e) { 810 fileWriter.addEventListener('error', errorHandler); 811 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()
|
/external/smali/smali/src/main/java/org/jf/smali/ |
D | main.java | 237 FileWriter fileWriter = new FileWriter(dumpFileName); in main() local 238 out.writeAnnotationsTo(fileWriter); in main() 239 fileWriter.close(); in main()
|