Searched defs:dir (Results 1 - 25 of 658) sorted by relevance

1234567891011>>

/external/compiler-rt/test/msan/
H A Dreaddir64.cc19 DIR *dir = opendir("."); local
20 struct dirent *d = readdir(dir);
22 closedir(dir);
25 closedir(dir);
/external/bison/lib/
H A Ddirname-lgpl.c78 char *dir = malloc (length + append_dot + 1); local
79 if (!dir)
81 memcpy (dir, file, length);
83 dir[length++] = '.';
84 dir[length] = '\0';
85 return dir;
/external/chromium_org/base/test/
H A Dscoped_path_override.cc19 ScopedPathOverride::ScopedPathOverride(int key, const base::FilePath& dir) argument
21 bool result = PathService::Override(key, dir);
/external/chromium_org/content/browser/fileapi/
H A Dsandbox_isolated_origin_database_unittest.cc21 base::ScopedTempDir dir; local
22 ASSERT_TRUE(dir.CreateUniqueTempDir());
25 SandboxIsolatedOriginDatabase database(kOrigin, dir.path(),
/external/chromium_org/gin/shell/
H A Dgin_shell_unittest.cc13 base::FilePath dir; local
14 PathService::Get(base::DIR_EXE, &dir);
15 return dir.AppendASCII("gin_shell");
/external/chromium_org/mojo/tools/package_manager/
H A Dunpacker.h28 const base::FilePath& dir() const { return dir_; } function in class:mojo::Unpacker
/external/chromium_org/sync/syncable/
H A Dscoped_kernel_lock.cc12 ScopedKernelLock::ScopedKernelLock(const Directory* dir) argument
13 : scoped_lock_(dir->kernel_->mutex), dir_(const_cast<Directory*>(dir)) {
/external/chromium_org/third_party/skia/gm/
H A Demboss.cpp45 const SkScalar dir[] = { 1, 1, 1 }; variable
46 paint.setMaskFilter(SkBlurMaskFilter::CreateEmboss(3, dir, 0.3f, 0.1f))->unref();
/external/skia/gm/
H A Demboss.cpp45 const SkScalar dir[] = { 1, 1, 1 }; variable
46 paint.setMaskFilter(SkBlurMaskFilter::CreateEmboss(3, dir, 0.3f, 0.1f))->unref();
/external/chromium_org/base/files/
H A Dscoped_temp_dir_unittest.cc19 // Against an existing dir, it should get destroyed when leaving scope.
22 ScopedTempDir dir; local
23 EXPECT_TRUE(dir.Set(test_path));
24 EXPECT_TRUE(dir.IsValid());
29 ScopedTempDir dir; local
30 EXPECT_TRUE(dir.Set(test_path));
31 // Now the dir doesn't exist, so ensure that it gets created.
34 FilePath path = dir.Take();
36 EXPECT_FALSE(dir.IsValid());
42 ScopedTempDir dir; local
53 ScopedTempDir dir; local
72 ScopedTempDir dir; local
84 ScopedTempDir dir; local
99 ScopedTempDir dir; local
[all...]
H A Ddir_reader_posix_unittest.cc28 char kDirTemplate[] = "/tmp/org.chromium.dir-reader-posix-XXXXXX";
29 const char* dir = mkdtemp(kDirTemplate); local
30 ASSERT_TRUE(dir);
35 PCHECK(chdir(dir) == 0);
47 DirReaderPosix reader(dir);
82 PCHECK(rmdir(dir) == 0);
/external/chromium_org/chrome/browser/media/
H A Dwebrtc_log_list.cc38 const base::FilePath& dir) {
39 DCHECK(!dir.empty());
40 return dir.AppendASCII(kWebRtcLogListFilename);
37 GetWebRtcLogListFileForDirectory( const base::FilePath& dir) argument
/external/chromium_org/content/browser/download/
H A Dsave_package_browsertest.cc25 base::FilePath* dir) {
27 *dir = save_dir_.path().AppendASCII(prefix + "_files");
40 base::FilePath full_file_name, dir; local
41 GetDestinationPaths("a", &full_file_name, &dir);
44 dir));
54 base::FilePath full_file_name, dir; local
55 GetDestinationPaths("a", &full_file_name, &dir);
58 dir));
23 GetDestinationPaths(const std::string& prefix, base::FilePath* full_file_name, base::FilePath* dir) argument
/external/chromium_org/extensions/browser/api/runtime/
H A Druntime_apitest.cc88 TestExtensionDir dir; local
89 dir.WriteManifest(kManifest);
90 dir.WriteFile(FILE_PATH_LITERAL("background.js"), "console.log('loaded');");
92 const Extension* extension = LoadExtension(dir.unpacked_path());
/external/chromium_org/extensions/browser/guest_view/extension_options/
H A Dextension_options_apitest.cc49 base::FilePath dir = test_data_dir_.AppendASCII("extension_options") local
52 const Extension* embedder = InstallExtension(dir.AppendASCII("embedder"), 1);
53 const Extension* embedded = InstallExtension(dir.AppendASCII("embedded"), 1);
/external/chromium_org/mojo/public/tools/bindings/generators/
H A Drun_cpp_generator.py24 dir = None variable
26 dir = sys.argv[2] variable
27 cpp = mojom_cpp_generator.Generator(module, ".", dir)
/external/chromium_org/sync/engine/
H A Ddirectory_commit_contributor.cc13 syncable::Directory* dir,
16 : dir_(dir),
12 DirectoryCommitContributor( syncable::Directory* dir, ModelType type, DirectoryTypeDebugInfoEmitter* debug_info_emitter) argument
/external/clang/test/Sema/
H A Dusual-float.c6 void foo(int dir, int n, int tindex) { argument
10 float ang = (float) tindex * (-dir*2.0f*PI/n);
/external/e2fsprogs/lib/e2p/
H A Diod.c30 DIR * dir; local
55 dir = opendir (dir_name);
56 if (dir == NULL) {
60 while ((dep = readdir (dir))) {
73 closedir(dir);
/external/guava/guava/src/com/google/common/io/
H A DPatternFilenameFilter.java59 @Override public boolean accept(@Nullable File dir, String fileName) { argument
/external/openfst/src/script/
H A Dpush.cc25 void Push(MutableFstClass *ofst, ReweightType dir, float delta, argument
27 PushArgs1 args(ofst, dir, delta, remove_total_weight);
33 ReweightType dir, float delta) {
36 PushArgs2 args(ifst, ofst, flags, dir, delta);
32 Push(const FstClass &ifst, MutableFstClass *ofst, uint32 flags, ReweightType dir, float delta) argument
/external/tcpdump/
H A Dgmt2local.c48 register int dt, dir; local
65 dir = loc->tm_year - gmt->tm_year;
66 if (dir == 0)
67 dir = loc->tm_yday - gmt->tm_yday;
68 dt += dir * 24 * 60 * 60;
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
H A DParserLoader.java52 File dir = new File(classDir);
53 if(dir.isDirectory()) {
56 File[] files = dir.listFiles(new ClassFilenameFilter(grammarName));
118 public boolean accept(File dir, String name) { argument
/external/chromium_org/chrome/browser/extensions/
H A Dchrome_info_map_unittest.cc21 scoped_refptr<Extension> LoadManifest(const std::string& dir, argument
25 path = path.AppendASCII("extensions").AppendASCII(dir).AppendASCII(test_file);
/external/chromium_org/chrome/common/extensions/
H A Dextension_test_util.cc21 scoped_refptr<Extension> LoadManifestUnchecked(const std::string& dir, argument
30 .AppendASCII(dir)
45 scoped_refptr<Extension> LoadManifestUnchecked(const std::string& dir, argument
51 dir, test_file, location, extra_flags, std::string(), error);
54 scoped_refptr<Extension> LoadManifest(const std::string& dir, argument
60 LoadManifestUnchecked(dir, test_file, location, extra_flags, &error);
66 scoped_refptr<Extension> LoadManifest(const std::string& dir, argument
69 return LoadManifest(dir, test_file, Manifest::INVALID_LOCATION, extra_flags);
72 scoped_refptr<Extension> LoadManifestStrict(const std::string& dir, argument
74 return LoadManifest(dir, test_fil
77 LoadManifest(const std::string& dir, const std::string& test_file) argument
[all...]

Completed in 2557 milliseconds

1234567891011>>