Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/WebKit/Source/core/fileapi/
DFileReader.cpp73 class FileReader::ThrottlingController {
78 void pushReader(FileReader* reader) in pushReader()
91 void removeReader(FileReader* reader) in removeReader()
93 HashSet<FileReader*>::const_iterator hashIter = m_runningReaders.find(reader); in removeReader()
100 Deque<FileReader*>::const_iterator dequeEnd = m_pendingReaders.end(); in removeReader()
101 … for (Deque<FileReader*>::const_iterator it = m_pendingReaders.begin(); it != dequeEnd; ++it) { in removeReader()
116 FileReader* reader = m_pendingReaders.takeFirst(); in executeReaders()
123 Deque<FileReader*> m_pendingReaders;
124 HashSet<FileReader*> m_runningReaders;
127 PassRefPtr<FileReader> FileReader::create(ExecutionContext* context) in create()
[all …]
DFileReader.h51 class FileReader : public RefCounted<FileReader>, public ScriptWrappable, public ActiveDOMObject, p…
52 REFCOUNTED_EVENT_TARGET(FileReader);
54 static PassRefPtr<FileReader> create(ExecutionContext*);
56 virtual ~FileReader();
102 FileReader(ExecutionContext*);
/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/chromium_org/extensions/browser/
Dfile_reader.cc14 FileReader::FileReader(const extensions::ExtensionResource& resource, in FileReader() function in FileReader
20 void FileReader::Start() { in Start()
23 base::Bind(&FileReader::ReadFileOnBackgroundThread, this)); in Start()
26 FileReader::~FileReader() {} in ~FileReader()
28 void FileReader::ReadFileOnBackgroundThread() { in ReadFileOnBackgroundThread()
Dfile_reader.h22 class FileReader : public base::RefCountedThreadSafe<FileReader> {
27 FileReader(const extensions::ExtensionResource& resource,
35 friend class base::RefCountedThreadSafe<FileReader>;
37 virtual ~FileReader();
Dfile_reader_unittest.cc37 FileReader::Callback NewCallback() { in NewCallback()
68 scoped_refptr<FileReader> file_reader( in RunBasicTest()
69 new FileReader(resource, receiver.NewCallback())); in RunBasicTest()
96 scoped_refptr<FileReader> file_reader( in TEST_F()
97 new FileReader(resource, receiver.NewCallback())); in TEST_F()
/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()
/external/chromium_org/base/android/java/src/org/chromium/base/
DSysUtils.java11 import java.io.FileReader;
56 FileReader fileReader = new FileReader("/proc/meminfo"); in amountOfPhysicalMemoryKB()
/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;
124 input = new FileReader(filename); in loadInclude()
214 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()
DCvsDiffParser.java24 import java.io.FileReader;
84 in = new BufferedReader(new FileReader(mapDiffFile)); in parseMapDiffFile()
DGenerateExcludeListTask.java15 import java.io.FileReader;
93 BufferedReader r = new BufferedReader(new FileReader(mapFile)); in readMap()
/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/chromium_org/net/android/javatests/src/org/chromium/net/
DX509UtilTest.java14 import java.io.FileReader;
37 BufferedReader reader = new BufferedReader(new FileReader(pemPathname)); in pemToDer()
/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/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8FileReaderCustom.cpp43 FileReader* imp = V8FileReader::toNative(holder); in resultAttributeGetterCustom()
/external/chromium_org/chrome/browser/extensions/api/
Dexecute_code_function.cc197 scoped_refptr<FileReader> file_reader(new FileReader( in RunImpl()

1234