Home
last modified time | relevance | path

Searched refs:parent_dir (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/chrome/installer/util/
Dself_cleaning_temp_dir.cc28 base::FilePath parent_dir(temp_parent_dir); in GetTopDirToCreate() local
30 *base_dir = parent_dir; in GetTopDirToCreate()
31 parent_dir = parent_dir.DirName(); in GetTopDirToCreate()
32 } while (parent_dir != *base_dir && !base::PathExists(parent_dir)); in GetTopDirToCreate()
33 LOG_IF(WARNING, !base::DirectoryExists(parent_dir)) in GetTopDirToCreate()
35 "temp directory location: " << parent_dir.value(); in GetTopDirToCreate()
47 bool SelfCleaningTempDir::Initialize(const base::FilePath& parent_dir, in Initialize() argument
49 DCHECK(parent_dir.IsAbsolute()); in Initialize()
57 base::FilePath temp_dir(parent_dir.Append(temp_name)); in Initialize()
59 GetTopDirToCreate(parent_dir, &base_dir); in Initialize()
Dcreate_dir_work_item.cc24 base::FilePath parent_dir(path_); in GetTopDirToCreate() local
26 top_path_ = parent_dir; in GetTopDirToCreate()
27 parent_dir = parent_dir.DirName(); in GetTopDirToCreate()
28 } while ((parent_dir != top_path_) && !base::PathExists(parent_dir)); in GetTopDirToCreate()
Dcreate_dir_work_item_unittest.cc29 base::FilePath parent_dir(temp_dir_.path()); in TEST_F() local
30 parent_dir = parent_dir.AppendASCII("a"); in TEST_F()
31 base::CreateDirectory(parent_dir); in TEST_F()
32 ASSERT_TRUE(base::PathExists(parent_dir)); in TEST_F()
34 base::FilePath top_dir_to_create(parent_dir); in TEST_F()
52 EXPECT_TRUE(base::PathExists(parent_dir)); in TEST_F()
Dself_cleaning_temp_dir_unittest.cc59 base::FilePath parent_dir(L"C:\\"); in TEST_F() local
60 parent_dir = parent_dir.Append(GetRandomFilename()); in TEST_F()
61 SelfCleaningTempDir::GetTopDirToCreate(parent_dir, &base_dir); in TEST_F()
62 EXPECT_EQ(parent_dir, base_dir); in TEST_F()
Dself_cleaning_temp_dir.h28 bool Initialize(const base::FilePath& parent_dir,
/external/chromium_org/chrome/browser/media_galleries/
Dmedia_folder_finder_unittest.cc71 void CreateTestDir(const base::FilePath& parent_dir) { in CreateTestDir() argument
72 if (parent_dir == fake_dir()) in CreateTestDir()
75 ASSERT_TRUE(fake_dir().IsParent(parent_dir)); in CreateTestDir()
76 ASSERT_TRUE(base::CreateDirectory(parent_dir)); in CreateTestDir()
79 void CreateTestFile(const base::FilePath& parent_dir, in CreateTestFile() argument
84 CreateTestDir(parent_dir); in CreateTestFile()
88 MediaGalleryScanResult& result = (*results)[parent_dir]; in CreateTestFile()
109 results->erase(parent_dir); in CreateTestFile()
119 base::FilePath test_file(parent_dir.AppendASCII("dummy." + extension)); in CreateTestFile()
/external/chromium_org/net/http/
Dhttp_auth_cache.cc115 std::string parent_dir = GetParentDirectory(path); in LookupByPath() local
122 if (it->origin() == origin && it->HasEnclosingPath(parent_dir, &len) && in LookupByPath()
197 std::string parent_dir = GetParentDirectory(path); in AddPath() local
198 if (!HasEnclosingPath(parent_dir, NULL)) { in AddPath()
200 paths_.remove_if(IsEnclosedBy(parent_dir)); in AddPath()
213 paths_.push_front(parent_dir); in AddPath()
/external/chromium_org/build/util/lib/common/
Dutil.py68 def MakeTempDir(parent_dir=None): argument
81 path = tempfile.mkdtemp(dir=parent_dir)
/external/chromium_org/chrome/test/chromedriver/
Dutil.py77 def MakeTempDir(parent_dir=None): argument
90 path = tempfile.mkdtemp(dir=parent_dir)
/external/chromium_org/ppapi/native_client/src/untrusted/pnacl_support_extension/
Dpnacl_component_crx_gen.py192 parent_dir = J(PnaclDirs.OutputDir(), PnaclDirs.OutputArchBase(arch))
193 return (parent_dir, J(parent_dir, PnaclDirs.OutputArchBase(arch)))
/external/chromium_org/tools/resources/
Dlist_unused_grit_header.py51 parent_dir = os.path.dirname(parent_file)
52 part_file = os.path.join(parent_dir, child.attrib['file'])
/external/chromium_org/ppapi/native_client/tools/browser_tester/browsertester/
Dbrowserlauncher.py172 parent_dir = os.path.dirname(bare_file)
174 if not os.path.exists(parent_dir):
175 os.makedirs(parent_dir)
/external/libvpx/libvpx/test/android/
DREADME26 NOTE: Built_libs defaults to parent_dir/libs/armeabi-v7a
/external/chromium_org/third_party/libvpx/source/libvpx/test/android/
DREADME26 NOTE: Built_libs defaults to parent_dir/libs/armeabi-v7a
/external/chromium_org/chrome/installer/mini_installer/
Dmini_installer.cc667 void DeleteDirectoriesWithPrefix(const wchar_t* parent_dir, in DeleteDirectoriesWithPrefix() argument
671 if (!spec.assign(parent_dir) || !spec.append(prefix) || !spec.append(L"*.*")) in DeleteDirectoriesWithPrefix()
688 if (path.assign(parent_dir) && path.append(name)) in DeleteDirectoriesWithPrefix()
/external/chromium_org/content/browser/fileapi/
Dfile_system_operation_impl_unittest.cc1002 FileSystemURL parent_dir(CreateDirectory("dir")); in TEST_F() local
1006 EXPECT_EQ(base::File::FILE_OK, ReadDirectory(parent_dir)); in TEST_F()
1030 FileSystemURL parent_dir(CreateDirectory("dir")); in TEST_F() local
1035 Remove(parent_dir, false /* recursive */)); in TEST_F()
1058 FileSystemURL parent_dir(CreateDirectory("dir")); in TEST_F() local
1065 EXPECT_EQ(base::File::FILE_OK, Remove(parent_dir, true /* recursive */)); in TEST_F()
/external/chromium_org/chrome/installer/setup/
Duninstall.cc365 base::FilePath parent_dir = path.DirName(); in ScheduleParentAndGrandparentForDeletion() local
366 bool ret = ScheduleFileSystemEntityForDeletion(parent_dir); in ScheduleParentAndGrandparentForDeletion()
369 << parent_dir.value(); in ScheduleParentAndGrandparentForDeletion()
371 base::FilePath grandparent_dir(parent_dir.DirName()); in ScheduleParentAndGrandparentForDeletion()
/external/chromium_org/third_party/lcov/bin/
Dgeninfo2505 sub parent_dir($) subroutine
2572 $base_dir = parent_dir($base_dir);