Home
last modified time | relevance | path

Searched refs:currentPath (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/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& ent…
67 …void HandlePipelineLayoutFile(BASE_NS::string_view currentPath, const CORE_NS::IDirectory::Entry& …
68 …void HandleVertexInputDeclarationFile(BASE_NS::string_view currentPath, const CORE_NS::IDirectory:…
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, renderDataStoreP… 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,
/ohos5.0/commonlibrary/c_utils/base/src/
H A Ddirectory_ex.cpp161 string currentPath = ExcludeTrailingPathDelimiter(path); in GetDirFiles() local
170 auto pos = currentPath.find_last_of("/"); in GetDirFiles()
172 currentPath.erase(pos); in GetDirFiles()
199 currentPath = IncludeTrailingPathDelimiter(currentPath) + name; in GetDirFiles()
201 files.push_back(IncludeTrailingPathDelimiter(currentPath) + name); in GetDirFiles()
406 string currentPath = ExcludeTrailingPathDelimiter(path); in ChangeModeDirectory() local
407 if (access(currentPath.c_str(), F_OK) == 0) { in ChangeModeDirectory()
408 if (!ChangeMode(currentPath, mode)) { in ChangeModeDirectory()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dapplication_cleaner.cpp186 const std::string &currentPath, std::vector<std::string> &tempDirs) in TraverseObsoleteTempDirectory() argument
188 if (currentPath.empty() || (currentPath.size() > PATH_MAX_SIZE)) { in TraverseObsoleteTempDirectory()
193 std::string filePath = currentPath; in TraverseObsoleteTempDirectory()
196 TAG_LOGE(AAFwkTag::APPKIT, "Open dir error. %{public}s", currentPath.c_str()); in TraverseObsoleteTempDirectory()
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/
H A Dhdi_interface_test.cpp73 std::string currentPath = "/data/service/el0/battery/current_limit"; variable
74 CreateFile(currentPath, "");
93 std::ifstream fin(currentPath.c_str());
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dapplication_cleaner_test.cpp120 std::string currentPath = "/data/app/base"; variable
121 bool res = cleaner->RemoveDir(currentPath);
/ohos5.0/foundation/filemanagement/dfs_service/utils/system/src/
H A Dutils_directory.cpp269 string currentPath = ExcludeTrailingPathDelimiter(path); in ForceRemoveDirectoryDeepFirst() local
270 if (access(currentPath.c_str(), F_OK) == 0) { in ForceRemoveDirectoryDeepFirst()
271 if (remove(currentPath.c_str()) != 0) { in ForceRemoveDirectoryDeepFirst()
273 GetAnonyString(currentPath).c_str(), errno); in ForceRemoveDirectoryDeepFirst()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/multinavigation/source/
H A Dmultinavigation.ets764 …hilog.info(0x0000, 'MultiNavigation', 'MultiNavPathStack pop currentPath.name = ' +currentPath?.na…
767 currentPath !== undefined && currentPath.onPop !== undefined) {
769 info: currentPath,
772 currentPath.onPop(popInfo);
777 return currentPath;
816 currentPath !== undefined && currentPath.onPop !== undefined) {
818 info: currentPath,
821 currentPath.onPop(popInfo);
869 currentPath !== undefined && currentPath.onPop !== undefined) {
871 info: currentPath,
[all …]
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_config.cpp177 Json::Value currentPath = GetValue(chargerConfig, "current_limit.path"); in ParseChargerConfig() local
178 if (isValidJsonString(currentPath)) { in ParseChargerConfig()
179 chargerConfig_.currentPath = currentPath.asString(); in ParseChargerConfig()
/ohos5.0/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()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_operator.cpp803 std::string currentPath = OHOS::ExcludeTrailingPathDelimiter(path); in ChangeDirOwnerRecursively() local
804 if (access(currentPath.c_str(), F_OK) == 0) { in ChangeDirOwnerRecursively()
805 if (!ChangeFileAttr(currentPath, uid, gid)) { in ChangeDirOwnerRecursively()
1037 void InstalldOperator::TraverseCacheDirectory(const std::string &currentPath, std::vector<std::stri… in TraverseCacheDirectory() argument
1039 if (currentPath.empty() || (currentPath.size() > ServiceConstants::PATH_MAX_SIZE)) { in TraverseCacheDirectory()
1044 if (!PathToRealPath(currentPath, filePath)) { in TraverseCacheDirectory()
1045 … LOG_E(BMS_TAG_INSTALLD, "file is not real path, file path: %{public}s", currentPath.c_str()); in TraverseCacheDirectory()
1196 const std::string &currentPath, std::vector<std::string> &paths) in ScanSoFiles() argument
1198 if (currentPath.empty() || (currentPath.size() > ServiceConstants::PATH_MAX_SIZE)) { in ScanSoFiles()
1203 if (!PathToRealPath(currentPath, filePath)) { in ScanSoFiles()
[all …]
/ohos5.0/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()
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Dapplication_cleaner.h44 …void TraverseObsoleteTempDirectory(const std::string &currentPath, std::vector<std::string> &tempD…
/ohos5.0/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()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmedia_scanner.cpp848 string currentPath = fName; in WalkFileTree() local
850 if (ScannerUtils::IsDirHidden(currentPath, skipPhoto_)) { in WalkFileTree()
853 MEDIA_INFO_LOG("Walk dir %{public}s", currentPath.c_str()); in WalkFileTree()
854 int32_t albumId = InsertOrUpdateAlbumInfo(currentPath, parentId, ent->d_name); in WalkFileTree()
861 (void)WalkFileTree(currentPath, albumId); in WalkFileTree()
863 (void)ScanFileInTraversal(currentPath, path, parentId); in WalkFileTree()
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/test/systemtest/src/
H A Dbattery_sys_test.cpp102 ASSERT_TRUE(chargerConf.currentPath.size());
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_operator.h215 …static void TraverseCacheDirectory(const std::string &currentPath, std::vector<std::string> &cache…
231 const std::string &currentPath, std::vector<std::string> &paths);
/ohos5.0/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()
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dbattery_config.h43 std::string currentPath; member
H A Dpower_supply_provider.h100 std::string& currentPath, std::string& voltagePath);

12