Home
last modified time | relevance | path

Searched refs:resolvePath (Results 1 - 2 of 2) sorted by relevance

/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dzip_file_reader.cpp72 std::string resolvePath; in init() local
73 resolvePath.reserve(PATH_MAX); in init()
74 resolvePath.resize(PATH_MAX - 1); in init()
76 resolvePath = filePath_; in init()
79 if (realpath(filePath_.c_str(), &(resolvePath[0])) == nullptr) { in init()
80 ABILITYBASE_LOGE("realpath error: %{public}s : %{public}d", resolvePath.c_str(), errno); in init()
85 fd_ = open(resolvePath.c_str(), O_RDONLY); in init()
87 ABILITYBASE_LOGE("open file error: %{public}s : %{public}d", resolvePath.c_str(), errno); in init()
/foundation/ability/ability_runtime/services/appdfr/src/
H A Dappfreeze_manager.cpp387 char resolvePath[PATH_MAX] = {0}; in GetBinderPeerPids() local
388 if (realpath(path.c_str(), resolvePath) == nullptr) { in GetBinderPeerPids()
392 fin.open(resolvePath); in GetBinderPeerPids()
394 TAG_LOGE(AAFwkTag::APPDFR, "open failed, %{public}s", resolvePath); in GetBinderPeerPids()

Completed in 2 milliseconds