/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | shader_loader.h | 65 BASE_NS::string_view currentPath, const CORE_NS::IDirectory::Entry& entry, const bool forceReload); 66 void HandleShaderStateFile(BASE_NS::string_view currentPath, const CORE_NS::IDirectory::Entry& entry); 67 void HandlePipelineLayoutFile(BASE_NS::string_view currentPath, const CORE_NS::IDirectory::Entry& entry); 68 void HandleVertexInputDeclarationFile(BASE_NS::string_view currentPath, const CORE_NS::IDirectory::Entry& entry); 69 void RecurseDirectory(BASE_NS::string_view currentPath, const CORE_NS::IDirectory& directory); 80 void LoadShaderStates(BASE_NS::string_view currentPath, const CORE_NS::IDirectory& directory); 85 void LoadVids(BASE_NS::string_view currentPath, const CORE_NS::IDirectory& directory); 88 void LoadPipelineLayouts(BASE_NS::string_view currentPath, const CORE_NS::IDirectory& directory);
|
H A D | render_data_loader.cpp | 47 const string currentPath = fullPath + string_view(POST_PROCESS_PATH) + '/'; in Load() local 48 auto currentDirectory = fileManager_.OpenDirectory(currentPath); in Load() 50 RecurseDirectory(currentPath, *currentDirectory, ConfigurationType::POST_PROCESS, renderDataStorePod); in Load() 52 PLUGIN_LOG_E("render configuration files path (%s) not found.", currentPath.c_str()); in Load() 59 void RenderDataLoader::RecurseDirectory(const string_view currentPath, const IDirectory& directory, in RecurseDirectory() argument 69 auto const file = currentPath + entry.name; in RecurseDirectory()
|
H A D | shader_loader.cpp | 250 void ShaderLoader::RecurseDirectory(const string_view currentPath, const IDirectory& directory) in RecurseDirectory() argument 259 HandleShaderFile(currentPath + entry.name, entry, false); in RecurseDirectory() 266 auto nextDirectory = currentPath + entry.name + '/'; in RecurseDirectory() 459 void ShaderLoader::LoadShaderStates(const string_view currentPath, const IDirectory& directory) in LoadShaderStates() argument 467 HandleShaderStateFile(currentPath + entry.name, entry); in LoadShaderStates() 498 void ShaderLoader::LoadVids(const string_view currentPath, const IDirectory& directory) in LoadVids() argument 506 HandleVertexInputDeclarationFile(currentPath + entry.name, entry); in LoadVids() 524 void ShaderLoader::LoadPipelineLayouts(const string_view currentPath, const IDirectory& directory) in LoadPipelineLayouts() argument 532 HandlePipelineLayoutFile(currentPath + entry.name, entry); in LoadPipelineLayouts()
|
H A D | render_data_loader.h | 55 void RecurseDirectory(BASE_NS::string_view currentPath, const CORE_NS::IDirectory& dir,
|
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | directory_ex.cpp | 192 string currentPath = ExcludeTrailingPathDelimiter(path); in ForceRemoveDirectory() local 193 if (access(currentPath.c_str(), F_OK) == 0) { in ForceRemoveDirectory() 194 if (remove(currentPath.c_str()) != 0) { in ForceRemoveDirectory() 283 string currentPath = ExcludeTrailingPathDelimiter(path); in ChangeModeDirectory() local 284 if (access(currentPath.c_str(), F_OK) == 0) { in ChangeModeDirectory() 285 if (!ChangeMode(currentPath, mode)) { in ChangeModeDirectory()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | dft_impl.cpp | 68 char *currentPath = DftImpl::GetPagePath(); in CallbackPageReplaced() local 69 pageReplacedCallback_(currentPath, state); in CallbackPageReplaced() 70 ACE_FREE(currentPath); in CallbackPageReplaced()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | application_cleaner.cpp | 183 const std::string ¤tPath, std::vector<std::string> &tempDirs) in TraverseObsoleteTempDirectory() 185 if (currentPath.empty() || (currentPath.size() > PATH_MAX_SIZE)) { in TraverseObsoleteTempDirectory() 190 std::string filePath = currentPath; in TraverseObsoleteTempDirectory() 193 TAG_LOGE(AAFwkTag::APPKIT, "Open dir error. %{public}s", currentPath.c_str()); in TraverseObsoleteTempDirectory() 182 TraverseObsoleteTempDirectory( const std::string ¤tPath, std::vector<std::string> &tempDirs) TraverseObsoleteTempDirectory() argument
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ |
H A D | application_cleaner_test.cpp | 120 std::string currentPath = "/data/app/base"; in HWTEST_F() local 121 bool res = cleaner->RemoveDir(currentPath); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/component_test/ |
H A D | test_result_recorder.cpp | 87 std::string currentPath; in HandleRelativeFolder() local 92 currentPath = std::string(tmp); in HandleRelativeFolder() 106 std::vector<std::string> splitCurrentPathResult = SplitString(currentPath); in HandleRelativeFolder() 114 resultPath = currentPath + file_sep + folderPath; in HandleRelativeFolder() 117 resultPath = currentPath + file_sep + path; in HandleRelativeFolder()
|
/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/entry/ |
H A D | simulator_config.h | 23 const QString CONFIG_FILE_PATH = QDir::currentPath() + "/qt.ini";
|
H A D | child_widget.cpp | 107 QProcess::startDetached(program, arguments, QDir::currentPath());
in RestartApp()
|
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/ |
H A D | application_cleaner.h | 44 void TraverseObsoleteTempDirectory(const std::string ¤tPath, std::vector<std::string> &tempDirs);
|
/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/utils/ |
H A D | js_heap_stats_dumper.cpp | 24 : stats_(), writer_(QDir::currentPath() + "/dump_heap.txt")
in JSHeapStatsDumper()
|
/foundation/filemanagement/dfs_service/utils/system/src/ |
H A D | utils_directory.cpp | 270 string currentPath = ExcludeTrailingPathDelimiter(path); in ForceRemoveDirectoryDeepFirst() local 271 if (access(currentPath.c_str(), F_OK) == 0) { in ForceRemoveDirectoryDeepFirst() 272 if (remove(currentPath.c_str()) != 0) { in ForceRemoveDirectoryDeepFirst() 273 LOGE("remove failed, currentPath = %{public}s, err:%{public}d", in ForceRemoveDirectoryDeepFirst() 274 GetAnonyString(currentPath).c_str(), errno); in ForceRemoveDirectoryDeepFirst()
|
/foundation/multimedia/ringtone_library/services/ringtone_scanner/src/ |
H A D | ringtone_scanner.cpp | 360 string currentPath = fName; in WalkFileTree() local 362 if (RingtoneScannerUtils::IsDirHidden(currentPath)) { in WalkFileTree() 365 (void)WalkFileTree(currentPath); in WalkFileTree() 367 (void)ScanFileInTraversal(currentPath); in WalkFileTree()
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/ |
H A D | ecs_asset_loader.cpp | 55 const auto currentPath = path + node.GetName(); in AddNodeToCollectionRecursive() local 59 ec.SetId(currentPath, ref); in AddNodeToCollectionRecursive() 61 const auto childBasePath = currentPath + "/"; in AddNodeToCollectionRecursive()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/ |
H A D | installd_operator.cpp | 692 std::string currentPath = OHOS::ExcludeTrailingPathDelimiter(path); in ChangeDirOwnerRecursively() local 693 if (access(currentPath.c_str(), F_OK) == 0) { in ChangeDirOwnerRecursively() 694 if (!ChangeFileAttr(currentPath, uid, gid)) { in ChangeDirOwnerRecursively() 695 LOG_D(BMS_TAG_INSTALLD, "Failed to ChangeFileAttr %{public}s, uid=%{public}d", currentPath.c_str(), uid); in ChangeDirOwnerRecursively() 916 void InstalldOperator::TraverseCacheDirectory(const std::string ¤tPath, std::vector<std::string> &cacheDirs) in TraverseCacheDirectory() argument 918 if (currentPath.empty() || (currentPath.size() > ServiceConstants::PATH_MAX_SIZE)) { in TraverseCacheDirectory() 923 if (!PathToRealPath(currentPath, filePath)) { in TraverseCacheDirectory() 924 LOG_D(BMS_TAG_INSTALLD, "not real path: %{public}s", currentPath.c_str()); in TraverseCacheDirectory() 1074 const std::string ¤tPath, st in ScanSoFiles() 1073 ScanSoFiles(const std::string &newSoPath, const std::string &originPath, const std::string ¤tPath, std::vector<std::string> &paths) ScanSoFiles() argument [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/ |
H A D | installd_operator.h | 199 * @param currentPath Indicates the current path. 203 static void TraverseCacheDirectory(const std::string ¤tPath, std::vector<std::string> &cacheDirs); 219 const std::string ¤tPath, std::vector<std::string> &paths);
|
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/ |
H A D | media_scanner.cpp | 850 string currentPath = fName; in WalkFileTree() local 852 if (ScannerUtils::IsDirHidden(currentPath, skipPhoto_)) { in WalkFileTree() 855 MEDIA_INFO_LOG("Walk dir %{public}s", currentPath.c_str()); in WalkFileTree() 856 int32_t albumId = InsertOrUpdateAlbumInfo(currentPath, parentId, ent->d_name); in WalkFileTree() 863 (void)WalkFileTree(currentPath, albumId); in WalkFileTree() 865 (void)ScanFileInTraversal(currentPath, path, parentId); in WalkFileTree()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | asset_loader.cpp | 65 const auto currentPath = path + node.GetName(); in AddNodeToCollectionRecursive() local 69 ec.SetId(currentPath, ref); in AddNodeToCollectionRecursive() 71 const auto childBasePath = currentPath + "/"; in AddNodeToCollectionRecursive()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_meta_recovery.cpp | 658 string currentPath = fName; in ScanMetaDir() local 661 MEDIA_INFO_LOG("currentPath=%{public}s, path=%{public}s, cur_bucket %{public}d recovery start", in ScanMetaDir() 662 DfxUtils::GetSafePath(currentPath).c_str(), DfxUtils::GetSafePath(path).c_str(), cur_bucket); in ScanMetaDir() 669 (void)ScanMetaDir(currentPath, cur_bucket); in ScanMetaDir() 674 MEDIA_DEBUG_LOG("currentPath=%{public}s, path=%{public}s", in ScanMetaDir() 675 DfxUtils::GetSafePath(currentPath).c_str(), DfxUtils::GetSafePath(path).c_str()); in ScanMetaDir() 678 if (ReadMetadataFromFile(currentPath, fileAsset) != E_OK) { in ScanMetaDir()
|
H A D | medialibrary_object_utils.cpp | 397 string currentPath = path.substr(0, index); in InsertDirToDbRecursively() local 399 auto ret = SetDirValuesByPath(values, currentPath, parentId); in InsertDirToDbRecursively() 414 parentPath = currentPath; in InsertDirToDbRecursively()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_controller_test.cpp | 784 std::string currentPath = std::string(buffer); in HWTEST_F() 788 std::string currentPath = std::string(buffer); in HWTEST_F() 790 std::string dataPath = currentPath + "/../../../../../../third_party/icu/ohos_icu4j/data"; in HWTEST_F()
|
H A D | text_input_emoji_test.cpp | 56 std::string currentPath = std::string(buffer); in InitICU() 60 std::string currentPath = std::string(buffer); in InitICU() 62 std::string dataPath = currentPath + "/../../../../../../third_party/icu/ohos_icu4j/data"; in InitICU()
|
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | others_clone_restore.cpp | 346 std::string currentPath = fName; in GetAllfilesInCurrentDir() local 348 (void)GetAllfilesInCurrentDir(currentPath); in GetAllfilesInCurrentDir()
|