/external/chromium/net/disk_cache/ |
file.cc | 3 // found in the LICENSE file. 5 #include "net/disk_cache/file.h" 12 File::File() : init_(false), mixed_(false) {} 14 File::File(bool mixed_mode) : init_(false), mixed_(mixed_mode) {}
|
file.h | 3 // found in the LICENSE file. 28 // Simple wrapper around a file that allows asynchronous operations. 29 class File : public base::RefCounted<File> { 30 friend class base::RefCounted<File>; 32 File(); 33 // mixed_mode set to true enables regular synchronous operations for the file. 34 explicit File(bool mixed_mode); 36 // Initializes the object to use the passed in file instead of opening it with 39 explicit File(base::PlatformFile file) [all...] |
file_win.cc | 3 // found in the LICENSE file. 5 #include "net/disk_cache/file.h" 17 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, 61 file_ = file; 69 File::File(base::PlatformFile file 238 HANDLE file = platform_file(); local 248 HANDLE file = platform_file(); local [all...] |
file_posix.cc | 3 // found in the LICENSE file. 5 #include "net/disk_cache/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:__anon5448::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...] |
/external/chromium_org/net/disk_cache/ |
file.cc | 3 // found in the LICENSE file. 5 #include "net/disk_cache/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/file.h" 37 File::File(base::PlatformFile file) 40 platform_file_(file), 44 bool File::Init(const base::FilePath& name) { 61 base::PlatformFile File::platform_file() const { 65 bool File::IsValid() const { 71 bool File::Read(void* buffer, size_t buffer_len, size_t offset) [all...] |
file.h | 3 // found in the LICENSE file. 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 with 42 explicit File(base::PlatformFile file) [all...] |
file_ios.cc | 3 // found in the LICENSE file. 5 #include "net/disk_cache/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:__anon11708::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/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::PlatformFile file 241 HANDLE file = platform_file(); local 251 HANDLE file = platform_file(); local [all...] |
/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" 12 File::Info::Info() 18 File::Info::~Info() { 21 File::File() 29 File::File(const FilePath& name, uint32 flags) 42 File::File(RValue other [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/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/llvm/lib/AsmParser/ |
Parser.cpp | 5 // This file is distributed under the University of Illinois Open Source 45 OwningPtr<MemoryBuffer> File; 46 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename, File)) { 48 "Could not open input file: " + ec.message()); 52 return ParseAssembly(File.take(), 0, Err, Context);
|
/external/llvm/lib/Object/ |
ObjectFile.cpp | 1 //===- ObjectFile.cpp - File format independent object file -----*- C++ -*-===// 5 // This file is distributed under the University of Illinois Open Source 10 // This file defines a file format independent ObjectFile class. 74 llvm_unreachable("Unexpected Object File Type"); 78 OwningPtr<MemoryBuffer> File; 79 if (MemoryBuffer::getFile(ObjectPath, File)) 81 return createObjectFile(File.take());
|
Binary.cpp | 1 //===- Binary.cpp - A generic binary file -----------------------*- C++ -*-===// 5 // This file is distributed under the University of Illinois Open Source 10 // This file defines the Binary class. 104 // Unrecognized object file format. 108 llvm_unreachable("Unexpected Binary File Type"); 112 OwningPtr<MemoryBuffer> File; 113 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Path, File)) 115 return createBinary(File.take(), Result);
|
/external/llvm/lib/IRReader/ |
IRReader.cpp | 5 // This file is distributed under the University of Illinois Open Source 50 OwningPtr<MemoryBuffer> File; 51 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename, File)) { 53 "Could not open input file: " + ec.message()); 57 return getLazyIRModule(File.take(), Err, Context); 81 OwningPtr<MemoryBuffer> File; 82 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename, File)) { 84 "Could not open input file: " + ec.message()); 88 return ParseIR(File.take(), Err, Context);
|
/external/llvm/lib/TableGen/ |
Main.cpp | 5 // This file is distributed under the University of Illinois Open Source 43 InputFilename(cl::Positional, cl::desc("<input file>"), cl::init("-")); 50 /// \brief Create a dependency file for `-d` option. 83 // Parse the input file. 84 OwningPtr<MemoryBuffer> File; 86 MemoryBuffer::getFileOrSTDIN(InputFilename, File)) { 87 errs() << "Could not open input file '" << InputFilename << "': " 91 MemoryBuffer *F = File.take();
|
/frameworks/compile/libbcc/include/bcc/Support/ |
File.h | 5 * you may not use this file except in compliance with the License. 33 // FileAttribute for accessing read-only file 40 // FileAttribute for accessing writable file 48 class File : public FileBase { 50 File(const std::string &pFilename, unsigned pFlags)
|
/external/chromium/chrome/common/extensions/ |
user_script.cc | 3 // found in the LICENSE file. 50 UserScript::File::File(const FilePath& extension_root, 58 UserScript::File::File() {} 60 UserScript::File::~File() {} 93 void UserScript::File::Pickle(::Pickle* pickle) const { 99 void UserScript::File::Unpickle(const ::Pickle& pickle, void** iter) { 135 for (FileList::const_iterator file = js_scripts_.begin() 209 File file; local 219 File file; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
argvemulator.py | 13 from Carbon import File 79 alias = File.Alias(rawdata=aliasdesc.data)
|
/external/chromium_org/extensions/common/ |
user_script.cc | 3 // found in the LICENSE file. 59 UserScript::File::File(const base::FilePath& extension_root, 67 UserScript::File::File() {} 69 UserScript::File::~File() {} 111 void UserScript::File::Pickle(::Pickle* pickle) const { 117 void UserScript::File::Unpickle(const ::Pickle& pickle, PickleIterator* iter) { 162 for (FileList::const_iterator file = scripts.begin() 230 File file; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
File.cpp | 27 #include "core/fileapi/File.h" 38 static String getContentTypeFromFileName(const String& name, File::ContentTypeLookupPolicy policy) 43 if (policy == File::WellKnownContentTypes) 46 ASSERT(policy == File::AllContentTypes); 61 static PassOwnPtr<BlobData> createBlobDataForFile(const String& path, File::ContentTypeLookupPolicy policy) 66 static PassOwnPtr<BlobData> createBlobDataForFileWithName(const String& path, const String& fileSystemName, File::ContentTypeLookupPolicy policy) 74 blobData->setContentType(getContentTypeFromFileName(fileSystemName, File::WellKnownContentTypes)); 82 blobData->setContentType(getContentTypeFromFileName(fileSystemURL.path(), File::WellKnownContentTypes)); 87 PassRefPtr<File> File::createWithRelativePath(const String& path, const String& relativePath 89 RefPtr<File> file = adoptRef(new File(path, AllContentTypes)); local [all...] |