Home
last modified time | relevance | path

Searched refs:FileReader (Results 1 – 25 of 78) sorted by relevance

1234

/external/webkit/Source/WebCore/fileapi/
DFileReader.cpp50 FileReader::FileReader(ScriptExecutionContext* context) in FileReader() function in WebCore::FileReader
58 FileReader::~FileReader() in ~FileReader()
63 bool FileReader::hasPendingActivity() const in hasPendingActivity()
68 bool FileReader::canSuspend() const in canSuspend()
74 void FileReader::stop() in stop()
79 void FileReader::readAsArrayBuffer(Blob* blob) in readAsArrayBuffer()
89 void FileReader::readAsBinaryString(Blob* blob) in readAsBinaryString()
99 void FileReader::readAsText(Blob* blob, const String& encoding) in readAsText()
110 void FileReader::readAsDataURL(Blob* blob) in readAsDataURL()
120 static void delayedStart(ScriptExecutionContext*, FileReader* reader) in delayedStart()
[all …]
DFileReader.h51 class FileReader : public RefCounted<FileReader>, public ActiveDOMObject, public EventTarget, publi…
53 static PassRefPtr<FileReader> create(ScriptExecutionContext* context) in create()
55 return adoptRef(new FileReader(context)); in create()
58 virtual ~FileReader();
87 virtual FileReader* toFileReader() { return this; } in toFileReader()
96 using RefCounted<FileReader>::ref;
97 using RefCounted<FileReader>::deref;
116 FileReader(ScriptExecutionContext*);
/external/chromium/chrome/browser/extensions/
Dfile_reader.cc12 FileReader::FileReader(const ExtensionResource& resource, Callback* callback) in FileReader() function in FileReader
19 void FileReader::Start() { in Start()
22 NewRunnableMethod(this, &FileReader::ReadFileOnBackgroundThread)); in Start()
25 FileReader::~FileReader() {} in ~FileReader()
27 void FileReader::ReadFileOnBackgroundThread() { in ReadFileOnBackgroundThread()
31 this, &FileReader::RunCallback, success, data)); in ReadFileOnBackgroundThread()
34 void FileReader::RunCallback(bool success, const std::string& data) { in RunCallback()
Dfile_reader.h21 class FileReader : public base::RefCountedThreadSafe<FileReader> {
26 FileReader(const ExtensionResource& resource, Callback* callback);
33 friend class base::RefCountedThreadSafe<FileReader>;
35 virtual ~FileReader();
Dfile_reader_unittest.cc34 FileReader::Callback* NewCallback() { in NewCallback()
66 scoped_refptr<FileReader> file_reader( in RunBasicTest()
67 new FileReader(resource, receiver.NewCallback())); in RunBasicTest()
95 scoped_refptr<FileReader> file_reader( in TEST_F()
96 new FileReader(resource, receiver.NewCallback())); in TEST_F()
Dexecute_code_in_tab_function.cc118 scoped_refptr<FileReader> file_reader(new FileReader( in RunImpl()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DFileWriterTest.java25 import java.io.FileReader;
55 br = new BufferedReader(new FileReader(f.getPath())); in test_ConstructorLjava_io_File()
78 FileReader fileReader = new FileReader(f); in test_ConstructorLjava_io_FileZ()
94 fileReader = new FileReader(f); in test_ConstructorLjava_io_FileZ()
109 br = new BufferedReader(new FileReader(fis.getFD())); in test_ConstructorLjava_io_FileDescriptor()
128 br = new BufferedReader(new FileReader(f.getPath())); in test_ConstructorLjava_lang_String()
146 br = new BufferedReader(new FileReader(f.getPath())); in test_ConstructorLjava_lang_StringZ()
159 br = new BufferedReader(new FileReader(f.getPath())); in test_ConstructorLjava_lang_StringZ()
DFileReaderTest.java23 import java.io.FileReader;
31 FileReader br;
46 br = new FileReader(f); in test_ConstructorLjava_io_File()
62 br = new FileReader(fis.getFD()); in test_ConstructorLjava_io_FileDescriptor()
78 br = new FileReader(f.getPath()); in test_ConstructorLjava_lang_String()
DWriterTesterTest.java29 import java.io.FileReader;
85 return Streams.streamToString(new FileReader(file)).toCharArray(); in getChars()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8FileReaderCustom.cpp55 RefPtr<FileReader> fileReader = FileReader::create(context); in constructorCallback()
68 FileReader* imp = V8FileReader::toNative(holder); in resultAccessorGetter()
/external/javassist/src/test/test/javassist/bytecode/analysis/
DErrorFinder.java4 import java.io.FileReader;
27 FileReader reader = new FileReader(args[1]); in main()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DInterp.java35 import java.io.FileReader;
79 FileReader fr = new FileReader(grammarFileName); in main()
DRandomPhrase.java39 import java.io.FileReader;
160 FileReader fr = new FileReader(grammarFileName); in main()
/external/doclava/src/com/google/doclava/
DDoclava2.java20 import java.io.FileReader;
51 BufferedReader buf = new BufferedReader(new FileReader(args[0])); in main()
DSampleTagInfo.java23 import java.io.FileReader;
117 input = new FileReader(filename); in loadInclude()
205 input = new FileReader(filename); in readFile()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/
DCompileErrorCheck.java22 import java.io.FileReader;
124 in = new BufferedReader(new FileReader(file)); in read()
158 reader = new BufferedReader(new FileReader(file)); in parse()
DGenerateExcludeListTask.java15 import java.io.FileReader;
93 BufferedReader r = new BufferedReader(new FileReader(mapFile)); in readMap()
DCvsDiffParser.java24 import java.io.FileReader;
84 in = new BufferedReader(new FileReader(mapDiffFile)); in parseMapDiffFile()
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/
DCustomInlineMethodResolver.java47 FileReader fr = null; in CustomInlineMethodResolver()
49 fr = new FileReader(inlineTable); in CustomInlineMethodResolver()
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DSyntaxTreeDumper.java28 import java.io.FileReader;
141 Reader reader = new BufferedReader(new FileReader(filename)); in main()
/external/webkit/Source/WebCore/bindings/js/
DJSFileReaderCustom.cpp47 FileReader* imp = impl(); in result()
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/
DTestSuiteFactory.java95 final Reader reader = new BufferedReader(new FileReader(grammarFile)); in loadRulesFromGrammar()
161 final Reader reader = new BufferedReader(new FileReader(file)); in loadTestSuite()
/external/proguard/src/proguard/
DFileWordReader.java48 new FileReader(file))); in FileWordReader()
/external/emma/core/java12/com/vladium/util/
DFiles.java13 import java.io.FileReader;
46 in = new BufferedReader (new FileReader (atfile), 8 * 1024); // uses default encoding in readFileList()
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DXMLFormatterTest.java22 import java.io.FileReader;
207 BufferedReader br = new BufferedReader(new FileReader(logFile));

1234