/external/autotest/client/site_tests/platform_CryptohomeNonDirs/ |
D | platform_CryptohomeNonDirs.py | 56 parent_path = os.path.dirname(path) 57 os.rename(parent_path, parent_path + '.old') 59 utils.open_write_close(parent_path, '') 64 self.replace(parent_path + '.old', parent_path) 69 parent_path = os.path.dirname(path) 70 os.rename(parent_path, parent_path + '.old') 72 utils.open_write_close(parent_path, '') 75 self.replace(parent_path + '.old', parent_path)
|
/external/autotest/client/site_tests/platform_CryptohomeBadPerms/ |
D | platform_CryptohomeBadPerms.py | 62 parent_path = os.path.dirname(path) 63 os.chown(parent_path, 1, 1) 67 os.chown(parent_path, 0, 0) 72 parent_path = os.path.dirname(path) 73 old_perm = os.stat(parent_path).st_mode & 0777 74 os.chmod(parent_path, 0777) 78 os.chmod(parent_path, old_perm) 79 os.chown(parent_path, 0, 0)
|
/external/libusb/libusb/os/ |
D | haiku_pollfs.cpp | 91 BPath path, parent_path; in WatchedEntry() local 122 path.GetParent(&parent_path); in WatchedEntry() 123 while (strcmp(parent_path.Leaf(), "usb") != 0) { in WatchedEntry() 124 sscanf(parent_path.Leaf(), "%d", &tmp); in WatchedEntry() 126 parent_path.GetParent(&parent_path); in WatchedEntry()
|
/external/harfbuzz_ng/test/fuzzing/ |
D | run-subset-fuzzer-tests.py | 23 def run_dir (parent_path): argument 25 for file in os.listdir (parent_path): 26 path = os.path.join(parent_path, file)
|
D | run-shape-fuzzer-tests.py | 74 parent_path = os.path.join (srcdir, "fonts") variable 75 for file in os.listdir (parent_path): 76 path = os.path.join(parent_path, file)
|
/external/libcxx/test/std/input.output/filesystems/class.path/path.member/path.decompose/ |
D | path.decompose.pass.cpp | 73 std::string parent_path; member 142 ASSERT_EQ(p.parent_path(), TC.parent_path); in decompPathTest() 143 ASSERT_NEQ(p.has_parent_path(), TC.parent_path.empty()); in decompPathTest()
|
/external/python/cpython3/Lib/ |
D | pathlib.py | 476 def select_from(self, parent_path): argument 479 path_cls = type(parent_path) 482 scandir = parent_path._accessor.scandir 483 if not is_dir(parent_path): 485 return self._select_from(parent_path, is_dir, exists, scandir) 490 def _select_from(self, parent_path, is_dir, exists, scandir): argument 491 yield parent_path 500 def _select_from(self, parent_path, is_dir, exists, scandir): argument 502 path = parent_path._make_child_relpath(self.name) 516 def _select_from(self, parent_path, is_dir, exists, scandir): argument [all …]
|
/external/autotest/client/deps/dbus_protos/ |
D | dbus_protos.py | 25 parent_path = os.path.join(sysroot, 'usr/include/chromeos/dbus/') 27 proto_path = os.path.join(parent_path, subdir)
|
/external/clang/tools/libclang/ |
D | CIndexer.cpp | 71 LibClangPath += llvm::sys::path::parent_path(path); in getClangResourcesPath() 79 LibClangPath += llvm::sys::path::parent_path(info.dli_fname); in getClangResourcesPath()
|
/external/clang/lib/Frontend/ |
D | ModuleDependencyCollector.cpp | 69 llvm::sys::path::parent_path(HeaderFilename); in moduleMapAddUmbrellaHeader() 162 std::string Dir = path::parent_path(SrcPath).str(); in getRealPath() 206 if (std::error_code EC = fs::create_directories(path::parent_path(Dest), in copyToRoot()
|
D | InitHeaderSearch.cpp | 463 StringRef NoVer = llvm::sys::path::parent_path(HSOpts.ResourceDir); in AddDefaultIncludePaths() 465 StringRef Lib = llvm::sys::path::parent_path(NoVer); in AddDefaultIncludePaths() 467 SmallString<128> P = llvm::sys::path::parent_path(Lib); in AddDefaultIncludePaths()
|
/external/python/cpython3/Lib/importlib/ |
D | util.py | 96 parent_path = parent.__path__ 102 parent_path = None 103 return _find_spec(fullname, parent_path)
|
/external/clang/lib/Driver/ |
D | MinGWToolChain.cpp | 76 Base = llvm::sys::path::parent_path( in MinGW() 77 llvm::sys::path::parent_path(GPPName.get())); in MinGW() 79 Base = llvm::sys::path::parent_path(getDriver().getInstalledDir()); in MinGW()
|
D | Job.cpp | 201 SmallString<128> RelModCacheDir = llvm::sys::path::parent_path( in Print() 202 llvm::sys::path::parent_path(CrashInfo->VFSPath)); in Print()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | Path.cpp | 163 (void)path::parent_path(*i); in TEST() 197 EXPECT_EQ("", path::parent_path("/")); in TEST() 200 EXPECT_EQ("c:", path::parent_path("c:\\", path::Style::windows)); in TEST() 203 EXPECT_EQ("", path::parent_path("///")); in TEST() 206 EXPECT_EQ("c:", path::parent_path("c:\\\\", path::Style::windows)); in TEST() 209 EXPECT_EQ("/foo", path::parent_path("/foo/bar")); in TEST() 212 EXPECT_EQ("/", path::parent_path("/foo")); in TEST() 215 EXPECT_EQ("", path::parent_path("foo")); in TEST() 218 EXPECT_EQ("foo", path::parent_path("foo/")); in TEST() 221 EXPECT_EQ("", path::parent_path("//net")); in TEST() [all …]
|
/external/autotest/client/bin/result_tools/ |
D | view.py | 324 def _get_dirs_html(dirs, parent_path, total_bytes, indentation): argument 361 entry_path = '%s/%s' % (parent_path, name)
|
/external/tensorflow/tensorflow/core/platform/ |
D | file_system_test.cc | 78 const string& parent_path = io::JoinPath(split_path[0], split_path[1]); in CreateDir() local 79 if (!BodyExists(parent_path)) { in CreateDir() 83 celestial_bodies_[parent_path].insert(split_path[2]); in CreateDir()
|
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/ |
D | replace_filename.pass.cpp | 82 TEST_REQUIRE(expect.parent_path() == p.parent_path()); in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/ |
D | depth.pass.cpp | 48 const path parent = entry.parent_path(); in TEST_CASE()
|
/external/llvm/tools/llvm-cov/ |
D | SourceCoverageView.cpp | 43 SmallString<256> ParentPath = sys::path::parent_path(Path); in getOutputPath() 61 auto ParentDir = sys::path::parent_path(FullPath); in createOutputStream()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Passes/ |
D | PluginsTest.cpp | 35 llvm::SmallString<256> Buf{sys::path::parent_path(Path)}; in LibPath()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/ |
D | SourceCoverageView.cpp | 44 SmallString<256> ParentPath = sys::path::parent_path(Path); in getOutputPath() 63 auto ParentDir = sys::path::parent_path(FullPath); in createOutputStream()
|
/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | Path.cpp | 117 path::parent_path(*i); in TEST() 157 TestDirectory = path::parent_path(TestDirectory); in SetUp()
|
/external/clang/lib/Tooling/ |
D | CompilationDatabase.cpp | 74 Directory = llvm::sys::path::parent_path(Directory); in findCompilationDatabaseFromDirectory() 84 StringRef Directory = llvm::sys::path::parent_path(AbsolutePath); in autoDetectFromSource()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/llvm-build/llvmbuild/ |
D | main.py | 210 parent_path = os.path.dirname(ci.subpath) 211 subpath_subdirs[parent_path] = parent_list = subpath_subdirs.get( 212 parent_path, set())
|