/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:__anon3630::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/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. 53 llvm_unreachable("Unknown Object File Type"); 58 OwningPtr<MemoryBuffer> File; 59 if (error_code ec = MemoryBuffer::getFile(ObjectPath, File)) 61 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. 93 default: // Unrecognized object file format. 99 OwningPtr<MemoryBuffer> File; 100 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Path, File)) 102 return createBinary(File.take(), Result);
|
/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.c_str(), File)) { 48 "Could not open input file: " + ec.message()); 52 return ParseAssembly(File.take(), 0, Err, Context);
|
/external/llvm/lib/TableGen/ |
Main.cpp | 5 // This file is distributed under the University of Illinois Open Source 41 InputFilename(cl::Positional, cl::desc("<input file>"), cl::init("-")); 54 // Parse the input file. 55 OwningPtr<MemoryBuffer> File; 56 if (error_code ec = MemoryBuffer::getFileOrSTDIN(InputFilename.c_str(), File)) { 57 errs() << "Could not open input file '" << InputFilename << "': " 61 MemoryBuffer *F = File.take();
|
/external/llvm/include/llvm/Support/ |
IRReader.h | 5 // This file is distributed under the University of Illinois Open Source 10 // This file defines functions for reading LLVM IR. They support both 13 // These functions must be defined in a header file in order to avoid 55 /// If the given file holds a bitcode image, return a Module 62 OwningPtr<MemoryBuffer> File; 63 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename.c_str(), File)) { 65 "Could not open input file: " + ec.message()); 69 return getLazyIRModule(File.take(), Err, Context); 94 /// If the given file holds a bitcode image, return a Module for it. 100 OwningPtr<MemoryBuffer> File; [all...] |
/external/webkit/Source/WebCore/fileapi/ |
File.cpp | 27 #include "File.h" 49 File::File(const String& path) 56 File::File(const String& path, const KURL& url, const String& type) 64 File::File(const String& relativePath, const String& path) 73 double File::lastModifiedDate() const 83 unsigned long long File::size() const 86 // come up with an exception to throw if file size is not representable [all...] |
File.h | 38 class File : public Blob { 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)); 65 // Returns the relative path of this file in the context of a directory selection. 69 // Note that this involves synchronous file operation. Think twice before calling this function. 77 File(const String& path) [all...] |
/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...] |
/sdk/monkeyrunner/test/com/android/monkeyrunner/ |
MonkeyRunnerOptionsTest.java | 5 * you may not use this file except in compliance with the License. 20 import java.io.File; 27 // We need to use a file that actually exists 33 assertEquals(options.getScriptFile(), new File(FILENAME)); 40 assertEquals(options.getScriptFile(), new File(FILENAME)); 46 assertEquals(options.getScriptFile(), new File(FILENAME)); 55 assertEquals(options.getScriptFile(), new File(FILENAME)); 64 assertEquals(options.getScriptFile(), new File(FILENAME));
|
/external/llvm/lib/Archive/ |
Archive.cpp | 5 // This file is distributed under the University of Illinois Open Source 10 // This file contains the implementation of the Archive and ArchiveMember 26 // getMemberSize - compute the actual physical size of the file member as seen 30 // Basically its the file size plus the header size 67 // different file, presumably as an update to the member. It also makes sure 73 *ErrMsg = "Can not replace an archive member with a non-existent file"; 130 // Determine what kind of file it is. 144 // initializes and maps the file into memory, if requested. 152 OwningPtr<MemoryBuffer> File; 153 if (error_code ec = MemoryBuffer::getFile(archPath.c_str(), File)) { [all...] |
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
SourceInfo.h | 5 * you may not use this file except in compliance with the License. 32 File, 55 } file; member in union:bcc::SourceInfo::__anon15741
|
/external/llvm/lib/Analysis/ |
DbgInfoPrinter.cpp | 5 // This file is distributed under the University of Illinois Open Source 10 // This file implements a pass that prints instructions, and associated debug 121 std::string &File, std::string &Dir) { 165 File = F; 173 std::string DisplayName, File, Directory, Type; 176 if (!getLocationInfo(V, DisplayName, Type, LineNo, File, Directory)) 191 Out << File << ":" << LineNo << "\n";
|
/external/giflib/ |
gif_lib_private.h | 47 FILE *File; /* File as stream. */
|
dgif_lib.c | 49 fread(_buf,1,_len,((GifFilePrivateType*)_gif->Private)->File)) 62 * Open a new gif file for read, given by its name. 85 * Update a new gif file, given its file handle. 95 FILE *f; 126 Private->File = f; 131 /* Lets see if this is a GIF file: */ 193 Private->File = 0; 199 /* Lets see if this is a GIF file: */ 230 * this routine is called automatically from DGif file open routines [all...] |
/external/llvm/lib/MC/ |
MCContext.cpp | 5 // This file is distributed under the University of Illinois Open Source 247 /// GetDwarfFile - takes a file name an number to place in the dwarf file and 248 /// directory tables. If the file number has already been allocated it is an 250 /// allocated file number is returned. The file numbers may be in any order. 253 // TODO: a FileNumber of zero says to use the next available file number. 268 MCDwarfFile *&File = MCDwarfFiles[FileNumber]; 306 File = new (*this) MCDwarfFile(StringRef(Buf, FileName.size()), DirIndex); 312 /// isValidDwarfFileNumber - takes a dwarf file number and returns true if i [all...] |
/external/webkit/Source/WebCore/platform/network/ |
BlobData.h | 83 // Constructor for File type (complete file). 85 : type(File) 93 // Constructor for File type (partial file). 95 : type(File) 116 enum { Data, File, Blob } type; 121 // For File type.
|
/frameworks/base/tools/localize/ |
XLIFFFile.h | 57 TransUnit* EditTransUnit(const string& file, const string& id); 59 // exports this file as a n XMLNode, you own this object 69 struct File { 70 int Compare(const File& that) const; 72 inline bool operator<(const File& that) const { return Compare(that) < 0; } 73 inline bool operator<=(const File& that) const { return Compare(that) <= 0; } 74 inline bool operator==(const File& that) const { return Compare(that) == 0; } 75 inline bool operator!=(const File& that) const { return Compare(that) != 0; } 76 inline bool operator>=(const File& that) const { return Compare(that) >= 0; } 77 inline bool operator>(const File& that) const { return Compare(that) > 0; [all...] |
/frameworks/compile/slang/ |
slang.cpp | 5 * you may not use this file except in compliance with the License. 211 // Default only search header file in current dir 315 const clang::FileEntry *File = mFileMgr->getFile(InputFile); 316 if (File) 317 mSourceMgr->createMainFileID(File); 382 // Initialize options for generating dependency file 400 // Inform the diagnostic client we are processing a source file 403 // Go through the source file (no operations necessary) 435 // Inform the diagnostic client we are processing a source file 441 // Inform the diagnostic client we are done with previous source file [all...] |
/external/clang/tools/libclang/ |
CIndexDiagnostic.cpp | 5 |* This file is distributed under the University of Illinois Open Source *| 65 // Print source location (file:line), along with optional column 67 CXFile File; 70 &File, &Line, &Column, 0); 71 if (File) { 72 CXString FName = clang_getFileName(File); 92 if (StartFile != EndFile || StartFile != File)
|
/external/icu4c/tools/toolutil/ |
pkg_gencmn.c | 26 /* ICU package data file format (.dat files) ------------------------------- *** 28 Description of the data format after the usual ICU data file header 33 A .dat package file contains a simple Table of Contents of item names, 57 the .dat file length, and the length of all previous items is the difference 85 } File; 88 static File *files = NULL; 122 FileStream *in, *file; local 144 fprintf(stderr, "gencmn: unable to open input file %s\n", dataFile); 151 printf("generating %s_%s.c (table of contents source file)\n", name, type); 153 printf("generating %s.%s (common data file with table of contents)\n", name, type) 398 FileStream *file; local [all...] |