Home
last modified time | relevance | path

Searched refs:parent_path (Results 1 – 25 of 92) sorted by relevance

1234

/external/autotest/client/site_tests/platform_CryptohomeNonDirs/
Dplatform_CryptohomeNonDirs.py56 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/
Dplatform_CryptohomeBadPerms.py62 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/
Dhaiku_pollfs.cpp91 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/
Drun-subset-fuzzer-tests.py23 def run_dir (parent_path): argument
25 for file in os.listdir (parent_path):
26 path = os.path.join(parent_path, file)
Drun-shape-fuzzer-tests.py74 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/
Dpath.decompose.pass.cpp73 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/
Dpathlib.py476 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/
Ddbus_protos.py25 parent_path = os.path.join(sysroot, 'usr/include/chromeos/dbus/')
27 proto_path = os.path.join(parent_path, subdir)
/external/clang/tools/libclang/
DCIndexer.cpp71 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/
DModuleDependencyCollector.cpp69 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()
DInitHeaderSearch.cpp463 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/
Dutil.py96 parent_path = parent.__path__
102 parent_path = None
103 return _find_spec(fullname, parent_path)
/external/clang/lib/Driver/
DMinGWToolChain.cpp76 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()
DJob.cpp201 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/
DPath.cpp163 (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/
Dview.py324 def _get_dirs_html(dirs, parent_path, total_bytes, indentation): argument
361 entry_path = '%s/%s' % (parent_path, name)
/external/tensorflow/tensorflow/core/platform/
Dfile_system_test.cc78 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/
Dreplace_filename.pass.cpp82 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/
Ddepth.pass.cpp48 const path parent = entry.parent_path(); in TEST_CASE()
/external/llvm/tools/llvm-cov/
DSourceCoverageView.cpp43 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/
DPluginsTest.cpp35 llvm::SmallString<256> Buf{sys::path::parent_path(Path)}; in LibPath()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
DSourceCoverageView.cpp44 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/
DPath.cpp117 path::parent_path(*i); in TEST()
157 TestDirectory = path::parent_path(TestDirectory); in SetUp()
/external/clang/lib/Tooling/
DCompilationDatabase.cpp74 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/
Dmain.py210 parent_path = os.path.dirname(ci.subpath)
211 subpath_subdirs[parent_path] = parent_list = subpath_subdirs.get(
212 parent_path, set())

1234