Home
last modified time | relevance | path

Searched refs:absolutePath (Results 1 - 16 of 16) sorted by relevance

/foundation/ability/idl_tool/util/
H A Dfile.cpp41 char* absolutePath = realpath(path.string(), nullptr); in File() local
42 if (absolutePath != nullptr) { in File()
43 pathTmp = absolutePath; in File()
44 free(absolutePath); in File()
49 char absolutePath[_MAX_PATH]; in File() local
50 if (_fullpath(absolutePath, path.string(), _MAX_PATH) == nullptr) { in File()
51 pathTmp = absolutePath; in File()
69 char* absolutePath = realpath(path.string(), nullptr); in File() local
70 if (absolutePath != nullptr) { in File()
71 path_ = absolutePath; in File()
[all...]
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/io/dev/
H A DFileMonitor.cpp54 std::string absolutePath; in resolveAbsolutePath() local
60 absolutePath = path.string(); in resolveAbsolutePath()
69 absolutePath = resolvedPath; in resolveAbsolutePath()
80 absolutePath = resolvedPath; in resolveAbsolutePath()
86 absolutePath = resolvedPath; in resolveAbsolutePath()
93 absolutePath = resolvedPath; in resolveAbsolutePath()
97 formatPath(absolutePath, isDirectory); in resolveAbsolutePath()
99 return absolutePath; in resolveAbsolutePath()
178 std::string absolutePath = resolveAbsolutePath(aPath, true); in addPath() local
180 if (absolutePath in addPath()
201 std::string absolutePath = resolveAbsolutePath(aPath, true); removePath() local
225 std::string absolutePath = resolveAbsolutePath(aPath, false); addFile() local
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dzip_writer.cpp92 bool AddFileEntryToZip(zipFile zip_file, FilePath &relativePath, FilePath &absolutePath, const OPTIONS &options) in AddFileEntryToZip() argument
101 bool success = AddFileContentToZip(zip_file, absolutePath); in AddFileEntryToZip()
189 FilePath &absolutePath = relativePaths[i].second; in FlushEntriesIfNeeded() local
190 bool isValid = FilePath::PathIsValid(absolutePath); in FlushEntriesIfNeeded()
191 bool isDir = FilePath::IsDir(absolutePath); in FlushEntriesIfNeeded()
193 if (!AddFileEntryToZip(zipFile_, relativePath, absolutePath, options)) { in FlushEntriesIfNeeded()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dstd_directory.cpp244 string absolutePath; in ResolveAbsolutePath() local
256 absolutePath.assign(pathStr.data(), pathStr.size()); in ResolveAbsolutePath()
265 absolutePath = resolvedPath; in ResolveAbsolutePath()
271 absolutePath = resolvedPath; in ResolveAbsolutePath()
278 absolutePath = resolvedPath; in ResolveAbsolutePath()
282 FormatPath(absolutePath, isDirectory); in ResolveAbsolutePath()
284 return absolutePath; in ResolveAbsolutePath()
/foundation/arkui/ace_engine/frameworks/component_test/
H A Dtest_result_recorder.cpp148 std::string absolutePath; in Initialize() local
152 absolutePath = HandleAbsoluteFolder(outPath_); in Initialize()
154 absolutePath = HandleRelativeFolder(outPath_); in Initialize()
157 size_t pos = absolutePath.find(file_sep); in Initialize()
159 disk = absolutePath.substr(0, pos); in Initialize()
162 std::vector<std::string> result = SplitString(absolutePath); in Initialize()
/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Daudio_effect_server.cpp53 std::string absolutePath; variable
55 if (!ResolveLibrary(relativePath, absolutePath)) {
61 void* handle = dlopen(absolutePath.c_str(), 1);
/foundation/resourceschedule/background_task_mgr/services/common/src/
H A Ddata_storage_helper.cpp122 std::string absolutePath = GetConfigFileAbsolutePath(FilePath); in ParseFastSuspendDozeTime() local
123 if (ParseJsonValueFromFile(jsonObj, absolutePath) != ERR_OK) { in ParseFastSuspendDozeTime()
203 char absolutePath[PATH_MAX] = {0}; in GetConfigFileAbsolutePath() local
204 if (!tmpPath || strlen(tmpPath) > PATH_MAX || !realpath(tmpPath, absolutePath)) { in GetConfigFileAbsolutePath()
208 return std::string(absolutePath); in GetConfigFileAbsolutePath()
H A Dbgtask_config.cpp46 std::string absolutePath = DelayedSingleton<DataStorageHelper>::GetInstance()-> in LoadConfigFile() local
48 if (DelayedSingleton<DataStorageHelper>::GetInstance()->ParseJsonValueFromFile(jsonObj, absolutePath) != 0) { in LoadConfigFile()
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/utils/
H A Dressched_utils.cpp170 char absolutePath[PATH_MAX] = {0}; in GetProcessFilePath() local
171 if (!realpath(path.c_str(), absolutePath)) { in GetProcessFilePath()
175 return std::string(absolutePath); in GetProcessFilePath()
/foundation/communication/dsoftbus/components/nstackx/nstackx_congestion/platform/unix/qdisc/
H A Dnstackx_qdisc.c159 char absolutePath[PATH_MAX + 1] = {0}; // +1 is avoiding array out of bound in GetQdiscAllLengthFromFile() local
160 if (realpath(qdiscFileName, absolutePath) == NULL) { in GetQdiscAllLengthFromFile()
163 fileName = absolutePath; in GetQdiscAllLengthFromFile()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/fontcollection_napi/
H A Djs_fontcollection.cpp160 bool JsFontCollection::SplitAbsoluteFontPath(std::string& absolutePath) in SplitAbsoluteFontPath() argument
162 auto iter = absolutePath.find_first_of(':'); in SplitAbsoluteFontPath()
164 TEXT_LOGE("Failed to find separator in path:%{public}s", absolutePath.c_str()); in SplitAbsoluteFontPath()
167 std::string head = absolutePath.substr(0, iter); in SplitAbsoluteFontPath()
168 if ((head == "file" && absolutePath.size() > FILE_HEAD_LENGTH)) { in SplitAbsoluteFontPath()
169 absolutePath = absolutePath.substr(iter + 3); // 3 means skip "://" in SplitAbsoluteFontPath()
H A Djs_fontcollection.h46 bool SplitAbsoluteFontPath(std::string& absolutePath);
/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Daudio_spatial_channel_converter.cpp196 std::string absolutePath; variable
198 bool ret = ResolveLibrary(relativePath, absolutePath);
202 libHandle_ = dlopen(absolutePath.c_str(), 1);
/foundation/ability/ability_runtime/services/abilitymgr/src/utils/
H A Duri_utils.cpp74 std::string absolutePath; in GetUriListFromWantDms() local
81 absolutePath = path; in GetUriListFromWantDms()
83 absolutePath = srcPath; in GetUriListFromWantDms()
85 if (absolutePath.compare(0, DISTRIBUTED_FILES_PATH.size(), DISTRIBUTED_FILES_PATH) != 0) { in GetUriListFromWantDms()
/foundation/arkui/ace_engine/frameworks/core/components/video/
H A Dvideo_element.cpp509 std::string absolutePath = filePath + fileName; in GetAssetAbsolutePath() local
510 return absolutePath; in GetAssetAbsolutePath()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dability_manager_service.cpp11528 std::string absolutePath = GetConfigFileAbsolutePath(relativePath); in ParseJsonFromBoot() local
11529 if (ParseJsonValueFromFile(jsonObj, absolutePath) != ERR_OK) { in ParseJsonFromBoot()
11565 char absolutePath[PATH_MAX] = {0}; in GetConfigFileAbsolutePath() local
11566 if (!tmpPath || strlen(tmpPath) > PATH_MAX || !realpath(tmpPath, absolutePath)) { in GetConfigFileAbsolutePath()
11570 return std::string(absolutePath); in GetConfigFileAbsolutePath()

Completed in 31 milliseconds