Searched refs:parent_path (Results 1 – 12 of 12) sorted by relevance
/frameworks/compile/mclinker/unittests/ |
D | PathTest.cpp | 135 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/ |
D | Files.cpp | 128 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/ |
D | FileUtils.cpp | 94 return GetExecutablePath2().parent_path(); in GetExecutableDirectory()
|
/frameworks/compile/slang/ |
D | slang_rs_reflect_utils.cpp | 266 llvm::sys::path::parent_path(output_path))) { in GenerateJavaBitCodeAccessor() 354 llvm::sys::path::parent_path(outDirectory))) { in startFile()
|
D | slang.cpp | 140 llvm::sys::path::parent_path(OutputFile)); in OpenOutputFile()
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | Path.h | 80 Path parent_path() const;
|
/frameworks/compile/mclinker/lib/Support/ |
D | Path.cpp | 158 Path Path::parent_path() const { in parent_path() function in mcld::sys::fs::Path
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_Zygote.cpp | 1096 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/ |
D | TransactionTraceTestSuite.cpp | 56 transactionTracePath.parent_path().string() + "/" + expectedLayersFilename; in SetUp()
|
/frameworks/compile/mclinker/lib/LD/ |
D | GNUArchiveReader.cpp | 217 sys::fs::Path input_path(pArchiveFile.path().parent_path()); in readMemberHeader()
|
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 270 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/ |
D | BootAnimation.cpp | 1315 const std::filesystem::path path(entryName.parent_path()); in preloadZip()
|