Searched defs:File (Results 1 - 25 of 78) sorted by relevance

1234

/external/chromium/net/disk_cache/
H A Dfile.cc12 File::File() : init_(false), mixed_(false) {} function in class:disk_cache::File
14 File::File(bool mixed_mode) : init_(false), mixed_(mixed_mode) {} function in class:disk_cache::File
H A Dfile.h29 class File : public base::RefCounted<File> { class in namespace:disk_cache
30 friend class base::RefCounted<File>;
32 File();
34 explicit File(bool mixed_mode);
39 explicit File(base::PlatformFile file);
71 virtual ~File();
84 DISALLOW_COPY_AND_ASSIGN(File);
H A Dfile_win.cc17 MyOverlapped(disk_cache::File* file, size_t offset,
25 scoped_refptr<disk_cache::File> file_;
56 MyOverlapped::MyOverlapped(disk_cache::File* file, size_t offset,
69 File::File(base::PlatformFile file) function in class:disk_cache::File
74 bool File::Init(const FilePath& name) {
100 File::~File() {
110 base::PlatformFile File::platform_file() const {
116 bool File
[all...]
H A Dfile_posix.cc26 FileBackgroundIO(disk_cache::File* file, const void* buf, size_t buf_len,
37 disk_cache::File* file() {
54 disk_cache::File* file_;
70 // semantics of the File asynchronous operations, with the exception that the
72 void PostRead(disk_cache::File* file, void* buf, size_t buf_len,
74 void PostWrite(disk_cache::File* file, const void* buf, size_t buf_len,
111 void FileInFlightIO::PostRead(disk_cache::File *file, void* buf, size_t buf_len,
122 void FileInFlightIO::PostWrite(disk_cache::File* file, const void* buf,
169 File::File(bas function in class:disk_cache::File
[all...]
/external/clang/bindings/python/tests/cindex/
H A Dtest_file.py1 from clang.cindex import Index, File namespace
6 file = File.from_name(tu, "t.c")
9 assert repr(file) == "<File: t.c>"
H A Dtest_location.py2 from clang.cindex import File namespace
49 file = File.from_name(tu, 't.c')
76 file = File.from_name(tu, 't.c')
/external/protobuf/src/google/protobuf/testing/
H A Dfile.h44 // Protocol buffer code only uses a couple static methods of File, and only
46 class File { class in namespace:google::protobuf
77 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(File);
/external/clang/include/clang/Lex/
H A DHeaderMap.h39 HeaderMap(const llvm::MemoryBuffer *File, bool BSwap) argument
40 : FileBuffer(File), NeedsBSwap(BSwap) {
/external/llvm/lib/Object/
H A DObjectFile.cpp1 //===- ObjectFile.cpp - File format independent object file -----*- C++ -*-===//
55 llvm_unreachable("Unknown Object File Type");
60 OwningPtr<MemoryBuffer> File; local
61 if (MemoryBuffer::getFile(ObjectPath, File))
63 return createObjectFile(File.take());
H A DBinary.cpp99 OwningPtr<MemoryBuffer> File; local
100 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Path, File))
102 return createBinary(File.take(), Result);
/external/llvm/lib/TableGen/
H A DMain.cpp55 OwningPtr<MemoryBuffer> File; local
56 if (error_code ec = MemoryBuffer::getFileOrSTDIN(InputFilename.c_str(), File)) {
61 MemoryBuffer *F = File.take();
/external/llvm/include/llvm/Support/
H A DIRReader.h62 OwningPtr<MemoryBuffer> File; local
63 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename.c_str(), File)) {
69 return getLazyIRModule(File.take(), Err, Context);
100 OwningPtr<MemoryBuffer> File; local
101 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename.c_str(), File)) {
107 return ParseIR(File.take(), Err, Context);
/external/llvm/lib/AsmParser/
H A DParser.cpp45 OwningPtr<MemoryBuffer> File; local
46 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename.c_str(), File)) {
52 return ParseAssembly(File.take(), 0, Err, Context);
/external/llvm/lib/Transforms/Instrumentation/
H A DFunctionBlackList.cpp34 OwningPtr<MemoryBuffer> File; local
35 if (error_code EC = MemoryBuffer::getFile(Path.c_str(), File)) {
39 MemoryBuffer *Buff = File.take();
/external/webkit/Source/WebCore/fileapi/
H A DFile.cpp27 #include "File.h"
49 File::File(const String& path) function in class:WebCore::File
56 File::File(const String& path, const KURL& url, const String& type) function in class:WebCore::File
64 File::File(const String& relativePath, const String& path) function in class:WebCore::File
73 double File::lastModifiedDate() const
83 unsigned long long File::size() const
93 void File
[all...]
H A DFile.h38 class File : public Blob { class in namespace:WebCore
40 static PassRefPtr<File> create(const String& path)
42 return adoptRef(new File(path));
46 static PassRefPtr<File> create(const String& path, const KURL& srcURL, const String& type)
48 return adoptRef(new File(path, srcURL, type));
52 static PassRefPtr<File> create(const String& relativePath, const String& path)
54 return adoptRef(new File(relativePath, path));
77 File(const String& path);
80 File(const String& path, const KURL& srcURL, const String& type);
83 File(cons
[all...]
/external/chromium/chrome/common/extensions/
H A Duser_script.cc50 UserScript::File::File(const FilePath& extension_root, function in class:UserScript::File
58 UserScript::File::File() {} function in class:UserScript::File
60 UserScript::File::~File() {}
93 void UserScript::File::Pickle(::Pickle* pickle) const {
99 void UserScript::File::Unpickle(const ::Pickle& pickle, void** iter) {
209 File file;
219 File fil
[all...]
/external/llvm/lib/Linker/
H A DLinkItems.cpp149 /// File - The pathname of the bitcode file.
158 bool Linker::LinkInFile(const sys::Path &File, bool &is_native) { argument
162 if (File.str() == "-") {
181 if (!File.getMagicNumber(Magic, 64))
182 return error("Cannot find linker input '" + File.str() + "'");
187 return warning("Ignoring file '" + File.str() +
193 if (LinkInArchive(File, is_native))
198 verbose("Linking bitcode file '" + File.str() + "'");
199 std::auto_ptr<Module> M(LoadObject(File));
201 return error("Cannot load file '" + File
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
H A Dcore-extensions.rb6 File.join( self, subpath.to_s )
177 class File class
184 # File.relative_path('rel/path') # => './rel/path'
185 # File.relative_path('/some/abs/path', '/some') # => './abs/path'
186 # File.relative_path('/some/file.txt', '/some/abs/path') # => '../../file.txt'
189 File.expand_path( path.to_s ).split( File::Separator ).tap do |list|
190 if list.empty? then list << String.new( File::Separator )
191 elsif list.first.empty? then list.first.replace( File::Separator )
205 return relative_list.join( File
[all...]
/external/clang/lib/Frontend/
H A DDependencyGraph.cpp54 const FileEntry *File,
75 const FileEntry *File,
79 if (!File)
88 Dependencies[FromFile].push_back(File);
90 AllFiles.insert(File);
71 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, const FileEntry *File, SourceLocation EndLoc, StringRef SearchPath, StringRef RelativePath) argument
H A DDependencyFile.cpp62 const FileEntry *File,
135 const FileEntry *File,
139 if (!File) {
131 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, const FileEntry *File, SourceLocation EndLoc, StringRef SearchPath, StringRef RelativePath) argument
/external/giflib/
H A Dgif_lib_private.h47 FILE *File; /* File as stream. */ member in struct:GifFilePrivateType
/external/llvm/lib/Analysis/
H A DDbgInfoPrinter.cpp121 std::string &File, std::string &Dir) {
165 File = F;
173 std::string DisplayName, File, Directory, Type; local
176 if (!getLocationInfo(V, DisplayName, Type, LineNo, File, Directory))
191 Out << File << ":" << LineNo << "\n";
119 getLocationInfo(const Value *V, std::string &DisplayName, std::string &Type, unsigned &LineNo, std::string &File, std::string &Dir) argument
/external/llvm/lib/Archive/
H A DArchive.cpp152 OwningPtr<MemoryBuffer> File; local
153 if (error_code ec = MemoryBuffer::getFile(archPath.c_str(), File)) {
158 mapfile = File.take();
/external/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp1 //===- llvm-readobj.cpp - Dump contents of an Object File -----------------===//
178 outs() << "File Format : " << obj->getFileFormatName() << "\n";
201 OwningPtr<MemoryBuffer> File; local
202 if (MemoryBuffer::getFile(InputFilename, File)) {
207 ObjectFile *obj = ObjectFile::createObjectFile(File.take());

Completed in 550 milliseconds

1234