Home
last modified time | relevance | path

Searched refs:currentPath (Results 1 - 25 of 27) sorted by relevance

12

/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Dshader_loader.h65 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 Drender_data_loader.cpp47 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 Dshader_loader.cpp250 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 Drender_data_loader.h55 void RecurseDirectory(BASE_NS::string_view currentPath, const CORE_NS::IDirectory& dir,
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Ddirectory_ex.cpp192 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 Ddft_impl.cpp68 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 Dapplication_cleaner.cpp183 const std::string &currentPath, 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 &currentPath, std::vector<std::string> &tempDirs) TraverseObsoleteTempDirectory() argument
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dapplication_cleaner_test.cpp120 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 Dtest_result_recorder.cpp87 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 Dsimulator_config.h23 const QString CONFIG_FILE_PATH = QDir::currentPath() + "/qt.ini";
H A Dchild_widget.cpp107 QProcess::startDetached(program, arguments, QDir::currentPath()); in RestartApp()
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Dapplication_cleaner.h44 void TraverseObsoleteTempDirectory(const std::string &currentPath, std::vector<std::string> &tempDirs);
/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/utils/
H A Djs_heap_stats_dumper.cpp24 : stats_(), writer_(QDir::currentPath() + "/dump_heap.txt") in JSHeapStatsDumper()
/foundation/filemanagement/dfs_service/utils/system/src/
H A Dutils_directory.cpp270 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 Dringtone_scanner.cpp360 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 Decs_asset_loader.cpp55 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 Dinstalld_operator.cpp692 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 &currentPath, 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 &currentPath, st in ScanSoFiles()
1073 ScanSoFiles(const std::string &newSoPath, const std::string &originPath, const std::string &currentPath, std::vector<std::string> &paths) ScanSoFiles() argument
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_operator.h199 * @param currentPath Indicates the current path.
203 static void TraverseCacheDirectory(const std::string &currentPath, std::vector<std::string> &cacheDirs);
219 const std::string &currentPath, std::vector<std::string> &paths);
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmedia_scanner.cpp850 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 Dasset_loader.cpp65 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 Dmedialibrary_meta_recovery.cpp658 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 Dmedialibrary_object_utils.cpp397 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 Dtext_field_controller_test.cpp784 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 Dtext_input_emoji_test.cpp56 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 Dothers_clone_restore.cpp346 std::string currentPath = fName; in GetAllfilesInCurrentDir() local
348 (void)GetAllfilesInCurrentDir(currentPath); in GetAllfilesInCurrentDir()

Completed in 33 milliseconds

12