Home
last modified time | relevance | path

Searched refs:SEPARATOR (Results 1 – 25 of 61) sorted by relevance

123

/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/interfaces/
H A Ddp_subscribe_info.cpp66 subscribeKey_ = DEV_PREFIX + SEPARATOR + deviceId + SEPARATOR + deviceAttribute; in SetSubscribeKey()
72 …subscribeKey_ = SVR_PREFIX + SEPARATOR + deviceId + SEPARATOR + serviceName + SEPARATOR + serviceA… in SetSubscribeKey()
77 …subscribeKey_ = CHAR_PREFIX + SEPARATOR + deviceId + SEPARATOR + serviceName + SEPARATOR + charact… in SetSubscribeKey()
78 SEPARATOR + characteristicAttribute; in SetSubscribeKey()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/
H A Dresource_info.cpp23 const std::string SEPARATOR = "/"; variable
41 key = moduleName_.empty() ? key : (key + SEPARATOR + moduleName_); in GetKey()
42 key = abilityName_.empty() ? key : (key + SEPARATOR + abilityName_); in GetKey()
52 auto firstPos = key.find_first_of(SEPARATOR); in ParseKey()
60 auto lastPos = key.find_last_of(SEPARATOR); in ParseKey()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Ddata_uri_utils.cpp29 const char *SEPARATOR = "/"; variable
78 newLastPath = lastPath + string(SEPARATOR) + string(longBuffer); in AttachId()
81 string tempLastPath = string(SEPARATOR) + lastPath; in AttachId()
186 strUpdateLastPath = SEPARATOR + updateLastPath; in UriUpateLastPath()
207 int lastPathPos = (int)uriString.rfind(string(SEPARATOR) + lastPath); in UriUpateLastPath()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dfile_path.cpp34 const std::string SEPARATOR = "/"; variable
304 } else if (EndsWith(Value(), SEPARATOR)) { in Append()
305 if (StartsWith(component, SEPARATOR)) { in Append()
308 newPathString = path_ + SEPARATOR + component; in Append()
311 if (StartsWith(component, SEPARATOR)) { in Append()
314 newPathString = path_ + SEPARATOR + component; in Append()
335 path_ = SEPARATOR; in AppendSeparator()
337 path_ += SEPARATOR; in AppendSeparator()
375 if ((childIt != childComponentsReverse.end()) && (*childIt == SEPARATOR)) { in AppendRelativePath()
H A Dzip.cpp44 const std::string SEPARATOR = "/"; variable
94 if (EndsWith(path, SEPARATOR)) { in CreateDirectory()
104 if (EndsWith(extractDir.Value(), SEPARATOR)) { in CreateFilePathWriterDelegate()
122 bool endIsSeparator = EndsWith(paramPath.Value(), SEPARATOR); in FilePathEndIsSeparator()
140 if (EndsWith(paramPath.Value(), SEPARATOR)) { in Zip()
210 if (!EndsWith(paramPath.Value(), SEPARATOR)) { in GetZipsAllRelativeFiles()
H A Dzip_writer.cpp34 const std::string SEPARATOR = "/"; variable
81 strPath += SEPARATOR; in OpenNewFileEntry()
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp56 return JoinString(splitKeys, SEPARATOR); in GetDbKeyAnonyString()
215 if (SplitString(dbKey, SEPARATOR, res) != DP_SUCCESS) { in GetDeviceIdByDBKey()
230 if (SplitString(dbKey, SEPARATOR, res) != DP_SUCCESS) { in GetServiceNameByDBKey()
286 if (SplitString(dbKey, SEPARATOR, res) != DP_SUCCESS) { in GetCharKeyByDBKey()
333 size_t found = key.find(SEPARATOR); in IsKeyValid()
392 return DEV_PREFIX + SEPARATOR + deviceId; in GenerateDeviceProfileKey()
397 return SVR_PREFIX + SEPARATOR + deviceId + SEPARATOR + serviceName; in GenerateServiceProfileKey()
403 return CHAR_PREFIX + SEPARATOR + deviceId + SEPARATOR + serviceName + SEPARATOR + charKey; in GenerateCharProfileKey()
690 return profileKey + SEPARATOR + profileProperty; in GenerateDBKey()
809 std::string dbKey = CHAR_PREFIX + SEPARATOR + profile.GetDeviceId() + SEPARATOR + serviceName + in GetDbKeyByProfile()
[all …]
H A Dipc_utils.cpp99 WRITE_HELPER_RET(parcel, String, item.first + SEPARATOR + item.second, false); in Marshalling()
219 std::string::size_type position = item.find(SEPARATOR); in UnMarshalling()
245 …listenerMap[subscribeInfo.GetSubscribeKey() + SEPARATOR + std::to_string(subscribeInfo.GetSaId())]… in UnMarshalling()
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/util/
H A Dfile.cpp211 while ((pos = path.find(SEPARATOR, pos)) != std::string::npos) { in CreateParentDir()
213 partPath += SEPARATOR; in CreateParentDir()
256 if (c == SEPARATOR) { in CreatePartDir()
321 … std::string dirPath = dirs.front().back() == SEPARATOR ? dirs.front() : dirs.front() + SEPARATOR; in CreatePartDir()
H A Dcommon.h25 constexpr char SEPARATOR = '/'; variable
27 constexpr char SEPARATOR = '\\'; variable
H A Doptions.cpp754 std::string curPath = File::AdapterPath(StringHelper::Replace(package, '.', SEPARATOR)); in GetPackagePath()
758 if (StringHelper::EndWith(rootPath, SEPARATOR)) { in GetPackagePath()
762 …td::string subPath = StringHelper::Replace(package.substr(rootPackage.size() + 1), '.', SEPARATOR); in GetPackagePath()
780 return StringHelper::Format("%s%c%s.idl", dir.c_str(), SEPARATOR, className.c_str()); in GetImportFilePath()
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/util/
H A Dcommon.h18 constexpr char SEPARATOR = '/'; variable
20 constexpr char SEPARATOR = '\\'; variable
H A Dfile.cpp201 while ((pos = path.find(SEPARATOR, pos)) != std::string::npos) { in CreateParentDir()
237 if (c == SEPARATOR) { in CreateParentDir()
302 … std::string dirPath = dirs.front().back() == SEPARATOR ? dirs.front() : dirs.front() + SEPARATOR; in CreateParentDir()
H A Doptions.cpp364 std::string curPath = File::AdapterPath(StringHelper::Replace(package, '.', SEPARATOR)); in GetPackagePath()
368 if (StringHelper::EndWith(rootPath, SEPARATOR)) { in GetPackagePath()
372 …td::string subPath = StringHelper::Replace(package.substr(rootPackage.size() + 1), '.', SEPARATOR); in GetPackagePath()
390 return StringHelper::Format("%s%c%s.idl", dir.c_str(), SEPARATOR, className.c_str()); in GetImportFilePath()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/
H A Dnotification_tools.cpp35 constexpr char SEPARATOR[] = "_"; variable
63 …stream << NOTIFICATION_PREFIX << SEPARATOR << uid << SEPARATOR << std::hash<std::string>()(ability… in CreateNotificationLabel()
64 SEPARATOR << abilityId; in CreateNotificationLabel()
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/scene_recognize/src/
H A Dsystem_upgrade_scene_recognizer.cpp31 static const std::string SEPARATOR = "|"; variable
73 curSystemFingerprint.append(SEPARATOR); in GetCurSystemFingerprint()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/moduletest/socket/stream_encrypt_test/
H A Dtmessenger.cpp51 return data + SEPARATOR + recvData_; in Encode()
61 size_t pos = data.find(SEPARATOR); in Decode()
89 return request == nullptr ? "" : data + SEPARATOR + request->Encode(); in Encode()
91 return response == nullptr ? "" : data + SEPARATOR + response->Encode(); in Encode()
100 size_t pos = data.find(SEPARATOR); in Decode()
/ohos5.0/foundation/communication/netmanager_ext/frameworks/native/ethernetclient/src/
H A Dstatic_configuration.cpp28 constexpr const char *SEPARATOR = ","; variable
99 for (const auto &netAddr : CommonUtils::Split(input, SEPARATOR)) { in ExtractNetAddrBySeparator()
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/
H A Dcode_emitter.cpp62 …std::string outPath = StringHelper::EndWith(outDir, SEPARATOR) ? outDir.substr(0, outDir.size() - … in GetFileParentPath()
64 std::string subPath = StringHelper::Replace(subPackage, '.', SEPARATOR); in GetFileParentPath()
79 filePath.Append(SEPARATOR); in PackageToFilePath()
/ohos5.0/foundation/multimodalinput/input/service/window_manager/src/
H A Dinput_display_bind_helper.cpp41 const std::string SEPARATOR { "/" }; variable
460 inputDeviceName.append(DIRECTORY).append(SEPARATOR) in GetInputDeviceById()
461 .append(inputNode).append(SEPARATOR) in GetInputDeviceById()
526 file.append(DIRECTORY).append(SEPARATOR) in GetInputNode()
527 .append(node).append(SEPARATOR) in GetInputNode()
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/codegen/
H A Dcode_emitter.cpp120 …std::string outPath = StringHelper::EndWith(outDir, SEPARATOR) ? outDir.substr(0, outDir.size() - … in GetFileParentPath()
122 std::string subPath = StringHelper::Replace(subPackage, '.', SEPARATOR); in GetFileParentPath()
137 filePath.Append(SEPARATOR); in PackageToFilePath()
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/listener/
H A Dkv_data_change_listener.cpp129 if (ProfileUtils::SplitString(dbKey, SEPARATOR, res) != DP_SUCCESS || res.size() < NUM_3) { in FilterEntries()
144 ohSuffix2NonMaps[dbKey] = ProfileUtils::JoinString(res, SEPARATOR); in FilterEntries()
149 non2OhSuffixMaps[dbKey] = ProfileUtils::JoinString(res, SEPARATOR); in FilterEntries()
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Dinstall_plugin.cpp38 const std::string SEPARATOR = "/"; variable
63 fileName.find(SEPARATOR) != std::string::npos) { in OnGetPolicy()
/ohos5.0/base/customization/enterprise_device_management/interfaces/inner_api/bundle_manager/src/
H A Dbundle_manager_proxy.cpp36 const std::string SEPARATOR = "/"; variable
287 size_t pos = realPath.find_last_of(SEPARATOR); in checkHapFilePath()
299 std::string innerFilePath = HAP_DIRECTORY + SEPARATOR + fileName; in checkHapFilePath()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/
H A Ddata_share_profile_config.cpp35 constexpr const char *SEPARATOR = "/"; variable
74 SetValue(node[GET_NAME(path)], storeName + SEPARATOR + tableName); in Marshal()
100 SplitStr(path, SEPARATOR, splitPath); in Unmarshal()

123