/foundation/multimedia/media_foundation/src/osal/utils/ |
H A D | util.cpp | 66 bool ConvertFullPath(const std::string& partialPath, std::string& fullPath) in ConvertFullPath() argument 68 if (partialPath.empty() || partialPath.length() >= PATH_MAX) { in ConvertFullPath() 72 if (realpath(partialPath.c_str(), tmpPath) == nullptr) { in ConvertFullPath()
|
/foundation/multimedia/media_foundation/engine/foundation/osal/utils/ |
H A D | util.cpp | 56 bool ConvertFullPath(const std::string& partialPath, std::string& fullPath) in ConvertFullPath() argument 58 if (partialPath.empty() || partialPath.length() >= PATH_MAX) { in ConvertFullPath() 62 if (realpath(partialPath.c_str(), tmpPath) == nullptr) { in ConvertFullPath()
|
/foundation/resourceschedule/work_scheduler/utils/native/src/ |
H A D | work_sched_utils.cpp | 83 bool WorkSchedUtils::ConvertFullPath(const std::string& partialPath, std::string& fullPath) in ConvertFullPath() argument 85 if (partialPath.empty() || partialPath.length() >= PATH_MAX) { in ConvertFullPath() 89 if (realpath(partialPath.c_str(), tmpPath) == nullptr) { in ConvertFullPath()
|
/foundation/multimedia/media_foundation/engine/include/foundation/osal/utils/ |
H A D | util.h | 25 bool ConvertFullPath(const std::string& partialPath, std::string& fullPath);
|
/foundation/resourceschedule/device_standby/utils/policy/src/ |
H A D | json_utils.cpp | 210 bool JsonUtils::GetRealPath(const std::string& partialPath, std::string& fullPath) in GetRealPath() argument 213 if (partialPath.size() > PATH_MAX || !realpath(partialPath.c_str(), tmpPath)) { in GetRealPath()
|
/foundation/resourceschedule/background_task_mgr/services/common/src/ |
H A D | data_storage_helper.cpp | 211 bool DataStorageHelper::ConvertFullPath(const std::string& partialPath, std::string& fullPath) in ConvertFullPath() argument 213 if (partialPath.empty() || partialPath.length() >= PATH_MAX) { in ConvertFullPath() 217 if (realpath(partialPath.c_str(), tmpPath) == nullptr) { in ConvertFullPath()
|
/foundation/multimedia/media_foundation/interface/inner_api/osal/utils/ |
H A D | util.h | 36 bool ConvertFullPath(const std::string& partialPath, std::string& fullPath);
|
/foundation/resourceschedule/work_scheduler/frameworks/test/unittest/src/ |
H A D | workinfo_test.cpp | 661 std::string partialPath; in HWTEST_F() local 663 bool res = WorkSchedUtils::ConvertFullPath(partialPath, fullPath); in HWTEST_F() 670 partialPath = "partialPath"; in HWTEST_F() 671 res = WorkSchedUtils::ConvertFullPath(partialPath, fullPath); in HWTEST_F() 674 partialPath = "/data"; in HWTEST_F() 675 res = WorkSchedUtils::ConvertFullPath(partialPath, fullPath); in HWTEST_F()
|
/foundation/resourceschedule/background_task_mgr/services/common/include/ |
H A D | data_storage_helper.h | 41 bool ConvertFullPath(const std::string &partialPath, std::string &fullPath);
|
/foundation/resourceschedule/device_standby/utils/policy/include/ |
H A D | json_utils.h | 117 static bool GetRealPath(const std::string& partialPath, std::string& fullPath);
|
/foundation/resourceschedule/device_standby/services/test/unittest/ |
H A D | standby_utils_unit_test.cpp | 191 std::string partialPath (PATH_MAX + 1, 'a'); in HWTEST_F() 193 EXPECT_FALSE(JsonUtils::GetRealPath(partialPath, fullPath)); in HWTEST_F()
|
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/include/ |
H A D | plugin_mgr.h | 237 bool CheckRealPath(const std::string& partialPath, std::string& fullPath);
|
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/ |
H A D | plugin_mgr.cpp | 240 bool PluginMgr::CheckRealPath(const std::string& partialPath, std::string& fullPath)
in CheckRealPath() argument 243 if (partialPath.size() > PATH_MAX || !realpath(partialPath.c_str(), tmpPath)) {
in CheckRealPath()
|
/foundation/ability/ability_runtime/test/unittest/ability_manager_service_third_test/ |
H A D | ability_manager_service_third_test.cpp | 2358 std::string partialPath = ""; in HWTEST_F() local 2360 EXPECT_EQ(abilityMs_->ConvertFullPath(partialPath, fullPath), false); in HWTEST_F() 2362 partialPath = "hello"; in HWTEST_F() 2363 EXPECT_NE(abilityMs_->ConvertFullPath(partialPath, fullPath), true); in HWTEST_F()
|
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | ability_manager_service.h | 2394 bool ConvertFullPath(const std::string& partialPath, std::string& fullPath);
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | ability_manager_service.cpp | 11600 bool AbilityManagerService::ConvertFullPath(const std::string& partialPath, std::string& fullPath) in ConvertFullPath() argument 11602 if (partialPath.empty() || partialPath.length() >= PATH_MAX) { in ConvertFullPath() 11606 if (realpath(partialPath.c_str(), tmpPath) == nullptr) { in ConvertFullPath()
|