Home
last modified time | relevance | path

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

/frameworks/compile/mclinker/unittests/
DPathTest.cpp135 TEST_F(PathTest, parent_path) { in TEST_F() argument
137 EXPECT_STREQ("aa/bb/cc", m_pTestee->parent_path().c_str()); in TEST_F()
140 EXPECT_STREQ("/aa/bb", m_pTestee->parent_path().c_str()); in TEST_F()
143 EXPECT_STREQ("/aa", m_pTestee->parent_path().c_str()); in TEST_F()
146 EXPECT_STREQ("aa", m_pTestee->parent_path().c_str()); in TEST_F()
149 EXPECT_TRUE(m_pTestee->parent_path().empty()); in TEST_F()
/frameworks/base/tools/aapt2/util/
DFiles.cpp128 std::string parent_path = path.substr(0, current_pos); in mkdirs() local
129 if (parent_path.empty()) { in mkdirs()
133 int result = ::android::base::utf8::mkdir(parent_path.c_str(), mode); in mkdirs()
/frameworks/native/libs/binder/tests/
DFileUtils.cpp94 return GetExecutablePath2().parent_path(); in GetExecutableDirectory()
/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp266 llvm::sys::path::parent_path(output_path))) { in GenerateJavaBitCodeAccessor()
354 llvm::sys::path::parent_path(outDirectory))) { in startFile()
Dslang.cpp140 llvm::sys::path::parent_path(OutputFile)); in OpenOutputFile()
/frameworks/compile/mclinker/include/mcld/Support/
DPath.h80 Path parent_path() const;
/frameworks/compile/mclinker/lib/Support/
DPath.cpp158 Path Path::parent_path() const { in parent_path() function in mcld::sys::fs::Path
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp1096 static std::string getAppDataDirName(std::string_view parent_path, std::string_view package_name, in getAppDataDirName() argument
1100 snprintf(tmpPath, PATH_MAX, "%s/%s", parent_path.data(), package_name.data()); in getAppDataDirName()
1113 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(parent_path.data()), closedir); in getAppDataDirName()
1115 fail_fn(CREATE_ERROR("Failed to opendir %s", parent_path.data())); in getAppDataDirName()
1134 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(parent_path.data()), closedir); in getAppDataDirName()
1136 fail_fn(CREATE_ERROR("Failed to opendir %s", parent_path.data())); in getAppDataDirName()
1148 ALOGW("Unable to find %s:%lld in %s", package_name.data(), ce_data_inode, parent_path.data()); in getAppDataDirName()
/frameworks/native/services/surfaceflinger/tests/tracing/
DTransactionTraceTestSuite.cpp56 transactionTracePath.parent_path().string() + "/" + expectedLayersFilename; in SetUp()
/frameworks/compile/mclinker/lib/LD/
DGNUArchiveReader.cpp217 sys::fs::Path input_path(pArchiveFile.path().parent_path()); in readMemberHeader()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp270 sysfsPath = sysfsPath.parent_path(); in getSysfsRootPath()
274 sysfsPath = sysfsPath.parent_path(); in getSysfsRootPath()
316 for (auto path = sysfsRoot; path != "/" && nodes.empty(); path = path.parent_path()) { in findSysfsNodes()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp1315 const std::filesystem::path path(entryName.parent_path()); in preloadZip()