/external/chromium_org/net/disk_cache/blockfile/ |
file.cc | 3 // found in the LICENSE file. 5 #include "net/disk_cache/blockfile/file.h" 12 File::File() : init_(false), mixed_(false) {} 14 File::File(bool mixed_mode) : init_(false), mixed_(mixed_mode) {}
|
file_posix.cc | 3 // found in the LICENSE file. 5 #include "net/disk_cache/blockfile/file.h" 37 File::File(base::File file) 40 base_file_(file.Pass()) { 43 bool File::Init(const base::FilePath& name) { 47 int flags = base::File::FLAG_OPEN | base::File::FLAG_READ [all...] |
file.h | 3 // found in the LICENSE file. 10 #include "base/files/file.h" 31 // Simple wrapper around a file that allows asynchronous operations. 32 class NET_EXPORT_PRIVATE File : public base::RefCounted<File> { 33 friend class base::RefCounted<File>; 35 File(); 36 // mixed_mode set to true enables regular synchronous operations for the file. 37 explicit File(bool mixed_mode); 39 // Initializes the object to use the passed in file instead of opening it wit [all...] |
file_ios.cc | 3 // found in the LICENSE file. 5 #include "net/disk_cache/blockfile/file.h" 26 FileBackgroundIO(disk_cache::File* file, const void* buf, size_t buf_len, 29 : disk_cache::BackgroundIO(controller), callback_(callback), file_(file), 37 disk_cache::File* file() { function in class:__anon13775::FileBackgroundIO 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 [all...] |
file_win.cc | 3 // found in the LICENSE file. 5 #include "net/disk_cache/blockfile/file.h" 17 MyOverlapped(disk_cache::File* file, size_t offset, 25 scoped_refptr<disk_cache::File> file_; 59 MyOverlapped::MyOverlapped(disk_cache::File* file, size_t offset, 64 file_ = file; 72 File::File(base::File file 224 HANDLE file = platform_file(); local 234 HANDLE file = platform_file(); local [all...] |
/external/chromium_org/gin/test/ |
file.h | 3 // found in the LICENSE file. 12 class File {
|
/external/clang/bindings/python/tests/cindex/ |
test_file.py | 1 from clang.cindex import Index, File 6 file = File.from_name(tu, "t.c") 7 assert str(file) == "t.c" 8 assert file.name == "t.c" 9 assert repr(file) == "<File: t.c>"
|
test_location.py | 2 from clang.cindex import File 49 file = File.from_name(tu, 't.c') 50 location = SourceLocation.from_position(tu, file, 1, 5) 58 location2 = SourceLocation.from_position(tu, file, 1, 5) 60 location3 = SourceLocation.from_position(tu, file, 1, 4) 63 offset_location = SourceLocation.from_offset(tu, file, 5) 85 file = File.from_name(tu, 't.c') 86 location1 = SourceLocation.from_position(tu, file, 1, 1 [all...] |
/external/chromium_org/base/files/ |
file.cc | 3 // found in the LICENSE file. 5 #include "base/files/file.h" 10 File::Info::Info() 16 File::Info::~Info() { 19 File::File() 26 File::File(const FilePath& name, uint32 flags) 34 File::File(PlatformFile platform_file [all...] |
/art/runtime/ |
os.h | 5 * you may not use this file except in compliance with the License. 26 typedef ::unix_file::FdFile File; 32 // Open an existing file with read only access. 33 static File* OpenFileForReading(const char* name); 35 // Open an existing file with read/write access. 36 static File* OpenFileReadWrite(const char* name); 38 // Create an empty file with read/write access. 39 static File* CreateEmptyFile(const char* name); 41 // Open a file with the specified open(2) flags. 42 static File* OpenFileWithFlags(const char* name, int flags) [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/testing/ |
file.h | 32 // emulates google3/file/base/file.h 44 // Protocol buffer code only uses a couple static methods of File, and only 46 class File { 48 // Check if the file exists. 51 // Read an entire file to a string. Return true if successful, false 58 // Create a file and write a string to it. 68 // If "name" is a file, we delete it. If it is a directory, we 69 // call DeleteRecursively() for each file or directory (other than 77 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(File); [all...] |
/external/chromium_org/extensions/common/ |
user_script.cc | 3 // found in the LICENSE file. 70 UserScript::File::File(const base::FilePath& extension_root, 78 UserScript::File::File() {} 80 UserScript::File::~File() {} 125 void UserScript::File::Pickle(::Pickle* pickle) const { 131 void UserScript::File::Unpickle(const ::Pickle& pickle, PickleIterator* iter) { 178 for (FileList::const_iterator file = scripts.begin() 248 File file; local [all...] |
/external/llvm/unittests/Transforms/DebugIR/ |
DebugIR.cpp | 5 // This file is distributed under the University of Illinois Open Source 10 // The tests in this file verify the DebugIR pass that generates debug metadata 49 void insertCUDescriptor(Module *M, StringRef File, StringRef Dir, 52 B.createCompileUnit(dwarf::DW_LANG_C99, File, Dir, Producer, false, "", 0); 56 /// Attempts to remove file at Path and returns true if it existed, or false if 59 // This is an approximation, on error we don't know in general if the file 101 string File = "empty_module.ll"; 102 string Path(getPath(Dir, File)); 106 // constructing DebugIR with no args should not result in any file generated. 110 // verify DebugIR did not generate a file [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
core-extensions.rb | 6 File.join( self, subpath.to_s ) 177 class File 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 [all...] |
/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
File.cpp | 27 #include "core/fileapi/File.h" 40 static String getContentTypeFromFileName(const String& name, File::ContentTypeLookupPolicy policy) 45 if (policy == File::WellKnownContentTypes) 48 ASSERT(policy == File::AllContentTypes); 63 static PassOwnPtr<BlobData> createBlobDataForFile(const String& path, File::ContentTypeLookupPolicy policy) 68 static PassOwnPtr<BlobData> createBlobDataForFileWithName(const String& path, const String& fileSystemName, File::ContentTypeLookupPolicy policy) 76 blobData->setContentType(getContentTypeFromFileName(fileSystemName, File::WellKnownContentTypes)); 84 blobData->setContentType(getContentTypeFromFileName(fileSystemURL.path(), File::WellKnownContentTypes)); 89 PassRefPtrWillBeRawPtr<File> File::createWithRelativePath(const String& path, const String& relativePath 91 RefPtrWillBeRawPtr<File> file = adoptRefWillBeNoop(new File(path, File::AllContentTypes, File::IsUserVisible)); local [all...] |
/external/clang/include/clang/Serialization/ |
GlobalModuleIndex.h | 5 // This file is distributed under the University of Illinois Open Source 10 // This file defines the GlobalModuleIndex class, which manages a global index 60 /// \brief Buffer containing the index file, which is lazily accessed so long 71 /// \brief Information about a given module file. 73 ModuleInfo() : File(), Size(), ModTime() { } 75 /// \brief The module file, once it has been resolved. 76 ModuleFile *File; 78 /// \brief The module file name. 81 /// \brief Size of the module file at the time the global index was built. 84 /// \brief Modification time of the module file at the time the globa [all...] |
/external/clang/unittests/AST/ |
CommentLexer.cpp | 5 // This file is distributed under the University of Illinois Open Source 64 FileID File = SourceMgr.createFileID(Buf); 65 SourceLocation Begin = SourceMgr.getLocForStartOfFile(File); [all...] |
/external/clang/unittests/Tooling/ |
RewriterTestContext.h | 5 // This file is distributed under the University of Illinois Open Source 10 // This file defines a utility class for Rewriter related tests. 71 const FileEntry *File = Files.getFile(Path); 72 assert(File != nullptr); 77 return Sources.createFileID(File, SourceLocation(), SrcMgr::C_User); 99 // a FileEntry, as otherwise we'd read through an already opened file 102 // reopen the file.
|
/external/lldb/include/lldb/Core/ |
SourceManager.h | 5 // This file is distributed under the University of Illinois Open Source 30 class File 32 friend bool operator== (const SourceManager::File &lhs, const SourceManager::File &rhs); 35 File (const FileSpec &file_spec, Target *target); 36 ~File(); 78 FileSpec m_file_spec_orig; // The original file spec that was used (can be different from m_file_spec) 79 FileSpec m_file_spec; // The actualy file spec being used (if the target has source mappings, this might be different from m_file_spec_orig) 80 TimeValue m_mod_time; // Keep the modification time that this file data is valid for 81 uint32_t m_source_map_mod_id; // If the target uses path remappings, be sure to clear our notion of a source file if the path modification ID change [all...] |
/external/llvm/lib/Transforms/Utils/ |
AddDiscriminators.cpp | 5 // This file is distributed under the University of Illinois Open Source 10 // This file adds DWARF discriminators to the IR. Path discriminators are 110 /// instruction I2 in B2 are located at the same file and line number. 130 /// instruction in block 'if.then' that share the same file and line 151 /// If the last instruction I1 of a block B1 is at the same file and line 154 /// file and line location as I2. This new lexical block will have a 173 // blocks that are at the same file:line location. 188 // If the first instruction (First) of Succ is at the same file 199 DIFile File = Builder.createFile(Filename, Scope.getDirectory()); 202 Scope, File, LineNumber, ColumnNumber, Discriminator) [all...] |
/external/lzma/CPP/7zip/Common/ |
FileStreams.h | 27 NWindows::NFile::NIO::CInFile File;
36 NC::NFile::NIO::CInFile File;
82 NWindows::NFile::NIO::COutFile File;
84 NC::NFile::NIO::COutFile File;
91 return File.Create(fileName, createAlways);
96 return File.Open(fileName, creationDisposition);
103 return File.Create(fileName, createAlways);
108 return File.Open(fileName, creationDisposition);
120 return File.SetTime(cTime, aTime, mTime);
122 bool SetMTime(const FILETIME *mTime) { return File.SetMTime(mTime); } [all...] |
/external/lldb/source/Core/ |
SourceManager.cpp | 5 // This file is distributed under the University of Illinois Open Source 82 // It the target source path map has been updated, get this file again so we 83 // can successfully remap the source file 87 // If file_sp is no good or it points to a non-existent file, reset it. 90 file_sp.reset (new File (file_spec, target_sp.get())); 202 // If we get called before anybody has set a default file and line, then try to figure it out here. 280 // If nobody has set the default file and line then try here. If there's no executable, then we 307 SetDefaultFileAndLine (line_entry.file, 335 SourceManager::File::File(const FileSpec &file_spec, Target *target) [all...] |
/external/lldb/source/Host/common/ |
File.cpp | 5 // This file is distributed under the University of Illinois Open Source 11 #include "lldb/Host/File.h" 30 if (options & File::eOpenOptionAppend) 32 if (options & File::eOpenOptionRead) 34 if (options & File::eOpenOptionCanCreateNewOnly) 39 else if (options & File::eOpenOptionWrite) 41 if (options & File::eOpenOptionCanCreateNewOnly) 47 else if (options & File::eOpenOptionRead && options & File::eOpenOptionWrite) 49 if (options & File::eOpenOptionCanCreate [all...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
CodeGeneratorInstrumentation.py | 197 model.append(File(match.group(1), match.group(2))) 202 class File:
|
/external/chromium_org/third_party/WebKit/Source/platform/blob/ |
BlobData.h | 86 // Constructor for File type (complete file). 88 : type(File) 96 // Constructor for File type (partial file). 98 : type(File) 116 // Constructor for FileSystem file type. 131 File, 137 String path; // For File type. 186 // BlobDataItem::toEndOfFile if the Blob has a file whose size was not yet determined [all...] |