/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/ |
H A D | scanner_utils.cpp | 153 string curPath = path; in IsDirHidden() local 154 string excludePath = curPath.append("/.nomedia"); in IsDirHidden() 173 string curPath = path; in IsDirHiddenRecursive() local 176 dirHid = IsDirHidden(curPath, skipPhoto); in IsDirHiddenRecursive() 181 curPath = ScannerUtils::GetParentPath(curPath); in IsDirHiddenRecursive() 182 if (curPath.empty()) { in IsDirHiddenRecursive()
|
/foundation/multimedia/ringtone_library/services/ringtone_scanner/src/ |
H A D | ringtone_scanner_utils.cpp | 143 string curPath = path; in IsDirHidden() local 144 string excludePath = curPath.append("/.nomedia"); in IsDirHidden() 157 string curPath = path; in IsDirHiddenRecursive() local 159 while (!IsDirHidden(curPath)) { in IsDirHiddenRecursive() 160 curPath = RingtoneScannerUtils::GetParentPath(curPath); in IsDirHiddenRecursive() 161 if (curPath.empty()) { in IsDirHiddenRecursive()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/mac/ |
H A D | platform_mac.cpp | 35 string_view curPath = cwd; in PlatformMac() local 54 normalizedPath = curPath; in PlatformMac() 58 normalizedPath = NormalizePath(curPath + pathIn); in PlatformMac() 66 normalizedPath = curPath; in PlatformMac()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/linux/ |
H A D | platform_linux.cpp | 34 string_view curPath = cwd; in PlatformLinux() local 54 normalizedPath = curPath; in PlatformLinux() 58 normalizedPath = NormalizePath(curPath + path); in PlatformLinux() 66 normalizedPath = curPath; in PlatformLinux()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/windows/ |
H A D | platform_windows.cpp | 41 string_view curPath; in PlatformWindows() local 44 SplitPath(cwd, curDrive, curPath, curFilename, curExt); in PlatformWindows() 74 normalizedPath = curPath; in PlatformWindows() 78 normalizedPath = NormalizePath(curPath + path); in PlatformWindows() 86 normalizedPath = curPath; in PlatformWindows()
|
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | backup_file_utils.cpp | 54 string curPath = resultPath.substr(0, pos); in GetValidPath() local 55 if (!ConvertCurrentPath(curPath, resultPath)) { in GetValidPath() 61 string curPath = resultPath; in GetValidPath() local 62 if (!ConvertCurrentPath(curPath, resultPath)) { in GetValidPath() 71 bool FileAccessHelper::ConvertCurrentPath(string &curPath, string &resultPath) in ConvertCurrentPath() argument 73 if (access(curPath.c_str(), F_OK) == 0) { in ConvertCurrentPath() 77 string parentDir = filesystem::path(curPath).parent_path().string(); in ConvertCurrentPath() 78 transform(curPath.begin(), curPath.end(), curPath in ConvertCurrentPath() [all...] |
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_util.cpp | 239 char *curPath = list->Front(); in GetFileFolderSize() local 240 if (curPath == nullptr) { in GetFileFolderSize() 243 fileFolderSize += GetCurrentFolderSize(curPath, list); in GetFileFolderSize() 245 AdapterFree(curPath); in GetFileFolderSize() 865 char *curPath = list->Front(); in RemoveDir() local 866 if (curPath == nullptr) { in RemoveDir() 869 if (CheckDirIsEmpty(curPath, list)) { in RemoveDir() 871 if (rmdir(curPath) < 0) { in RemoveDir() 872 AdapterFree(curPath); in RemoveDir() 875 AdapterFree(curPath); in RemoveDir() [all...] |
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | filesystem_api.cpp | 117 string_view curPath; in ResolvePath() local 120 SplitPath(basePath_, curDrive, curPath, curFilename, curExt); in ResolvePath() 153 normalizedPath = NormalizePath(curPath + path); in ResolvePath()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/ |
H A D | cj_zip.cpp | 74 FilePath curPath = filePath; in ListDirectoryContent() local 77 isSuccess = FilePath::GetZipAllDirFiles(curPath.Value(), filelist); in ListDirectoryContent()
|
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/ |
H A D | backup_file_utils.h | 32 bool ConvertCurrentPath(std::string &curPath, std::string &resultPath);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/ |
H A D | installd_operator.cpp | 1261 std::string curPath = dir + ServiceConstants::PATH_SEPARATOR + currentName; in ObtainQuickFixFileDir() local 1263 if (stat(curPath.c_str(), &s) == 0) { in ObtainQuickFixFileDir() 1266 ObtainQuickFixFileDir(curPath, fileVec); in ObtainQuickFixFileDir() 1308 std::string curPath = sourceDir + ServiceConstants::PATH_SEPARATOR + currentName; in CopyFiles() local 1310 if ((stat(curPath.c_str(), &s) == 0) && (s.st_mode & S_IFREG)) { in CopyFiles() 1312 if (CopyFile(curPath, innerDesStr)) { in CopyFiles() 1569 std::string curPath = realPath + ServiceConstants::PATH_SEPARATOR + currentName; in MoveFiles() local 1572 if (stat(curPath.c_str(), &s) != 0) { in MoveFiles() 1573 LOG_D(BMS_TAG_INSTALLD, "MoveFiles stat %{public}s failed, errno:%{public}d", curPath.c_str(), errno); in MoveFiles() 1576 if (!MoveFileOrDir(curPath, innerDesSt in MoveFiles() [all...] |
/foundation/ability/idl_tool/idl_tool_2/util/ |
H A D | options.cpp | 758 std::string curPath = File::AdapterPath(StringHelper::Replace(package, '.', SEPARATOR)); in GetPackagePath() local 759 return File::AdapterRealPath(curPath); in GetPackagePath()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/ |
H A D | zip.cpp | 73 FilePath curPath = filePath; in ListDirectoryContent() local 76 isSuccess = FilePath::GetZipAllDirFiles(curPath.Value(), filelist); in ListDirectoryContent()
|
/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_engine.cpp | 326 const std::string curPath = apiPath + "." + nameValue->ToString(ecmaVm)->ToString(ecmaVm); in CopyPropertyApiFilter() local 327 if ((*apiAllowListChecker)(curPath)) { in CopyPropertyApiFilter() 331 CopyPropertyApiFilter(apiAllowListChecker, ecmaVm, value, subObject, curPath); in CopyPropertyApiFilter() 333 HILOG_DEBUG("Set the package '%{public}s' to the allow list", curPath.c_str()); in CopyPropertyApiFilter() 336 HILOG_DEBUG("Set the function '%{public}s' to the allow list", curPath.c_str()); in CopyPropertyApiFilter() 340 curPath.c_str()); in CopyPropertyApiFilter()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | navigation_pattern.cpp | 1029 const auto& curPath = navDestinationNodes[index]; in FireNavigationInner() local 1031 navigationNode->GetNavDestinationNode(curPath.second)); in FireNavigationInner() 1054 const auto& curPath = navDestinationNodes[index]; in FireNavigationInner() local 1056 navigationNode->GetNavDestinationNode(curPath.second)); in FireNavigationInner()
|
H A D | navigation_group_node.cpp | 894 const auto& curPath = navDestinationNodes[index]; 895 const auto& uiNode = curPath.second;
|