HomeSort by relevance Sort by last modified time
    Searched defs:File (Results 1 - 25 of 154) sorted by null

1 2 3 4 5 6 7

  /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/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...]
  /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)
  /frameworks/compile/mclinker/include/mcld/Script/
InputToken.h 5 // This file is distributed under the University of Illinois Open Source
18 * \brief This class defines the interfaces to a file/namespec token.
26 File,
  /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)
macostools.py 11 from Carbon import File, Files
34 srcfsr = File.FSRef(src)
39 dstdirfsr = File.FSRef(dstdir)
41 relativefsr = File.FSRef(relative)
43 alias = File.FSNewAlias(relativefsr, srcfsr)
48 File.FSGetResourceForkName())
49 h = Res.FSOpenResourceFile(dstfsr, File.FSGetResourceForkName(), 3)
76 """Tell the finder a file has changed. No-op on MacOSX."""
82 """Tell the finder a file has changed"""
88 f.update(File.FSRef(pardir)
    [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...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_aepack.py 60 import Carbon.File
64 if not hasattr(Carbon.File, "FSSpec"):
66 o = Carbon.File.FSSpec(os.curdir)
73 import Carbon.File
76 if not hasattr(Carbon.File, "FSSpec"):
78 o = Carbon.File.FSSpec(os.curdir).NewAliasMinimal()
test_macostools.py 10 import Carbon.File
64 fss, _, _ = Carbon.File.ResolveAliasFile(TESTFN2, 0)
76 fss, _, _ = Carbon.File.ResolveAliasFile(TESTFN2, 0)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_aepack.py 60 import Carbon.File
64 if not hasattr(Carbon.File, "FSSpec"):
66 o = Carbon.File.FSSpec(os.curdir)
73 import Carbon.File
76 if not hasattr(Carbon.File, "FSSpec"):
78 o = Carbon.File.FSSpec(os.curdir).NewAliasMinimal()
test_macostools.py 10 import Carbon.File
64 fss, _, _ = Carbon.File.ResolveAliasFile(TESTFN2, 0)
76 fss, _, _ = Carbon.File.ResolveAliasFile(TESTFN2, 0)
  /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...]

Completed in 467 milliseconds

1 2 3 4 5 6 7