/foundation/deviceprofile/device_info_manager/common/src/interfaces/ |
H A D | dp_subscribe_info.cpp | 66 subscribeKey_ = DEV_PREFIX + SEPARATOR + deviceId + SEPARATOR + deviceAttribute; in SetSubscribeKey() 72 subscribeKey_ = SVR_PREFIX + SEPARATOR + deviceId + SEPARATOR + serviceName + SEPARATOR + serviceAttribute; in SetSubscribeKey() 77 subscribeKey_ = CHAR_PREFIX + SEPARATOR + deviceId + SEPARATOR + serviceName + SEPARATOR + characteristicKey + in SetSubscribeKey() 78 SEPARATOR + characteristicAttribute; in SetSubscribeKey()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | data_uri_utils.cpp | 29 const char *SEPARATOR = "/"; member 75 // new path string (lastPath+SEPARATOR+number) in AttachId() 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()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | resource_info.cpp | 23 constexpr const char* SEPARATOR = "/"; member 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()
|
/foundation/ability/idl_tool/idl_tool_2/util/ |
H A D | common.h | 25 constexpr char SEPARATOR = '/';
member 27 constexpr char SEPARATOR = '\\';
member
|
H A D | file.cpp | 211 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 D | options.cpp | 758 std::string curPath = File::AdapterPath(StringHelper::Replace(package, '.', SEPARATOR)); in GetPackagePath() 762 if (StringHelper::EndWith(rootPath, SEPARATOR)) { in GetPackagePath() 766 std::string subPath = StringHelper::Replace(package.substr(rootPackage.size() + 1), '.', SEPARATOR); in GetPackagePath() 784 return StringHelper::Format("%s%c%s.idl", dir.c_str(), SEPARATOR, className.c_str()); in GetImportFilePath()
|
/foundation/resourceschedule/resource_schedule_service/ressched/scene_recognize/src/ |
H A D | system_upgrade_scene_recognizer.cpp | 31 static const std::string SEPARATOR = "|"; member 73 curSystemFingerprint.append(SEPARATOR); in GetCurSystemFingerprint()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/ |
H A D | file_path.cpp | 34 const std::string SEPARATOR = "/"; member 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 D | zip.cpp | 44 const std::string SEPARATOR = "/"; member 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 D | zip_writer.cpp | 34 const std::string SEPARATOR = "/"; member 81 strPath += SEPARATOR; in OpenNewFileEntry()
|
H A D | zip_utils.cpp | 25 const std::string SEPARATOR = "/"; member
|
/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/ |
H A D | notification_tools.cpp | 35 constexpr char SEPARATOR[] = "_"; member 63 stream << NOTIFICATION_PREFIX << SEPARATOR << uid << SEPARATOR << std::hash<std::string>()(abilityName) in CreateNotificationLabel() 64 << SEPARATOR << abilityId; in CreateNotificationLabel()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/ |
H A D | cj_zip.cpp | 48 const std::string SEPARATOR = "/"; member 94 if (EndsWith(path, SEPARATOR)) { in CreateDirectory() 103 if (EndsWith(extractDir.Value(), SEPARATOR)) { in CreateFilePathWriterDelegate() 112 bool endIsSeparator = EndsWith(paramPath.Value(), SEPARATOR); in FilePathEndIsSeparator() 130 if (EndsWith(paramPath.Value(), SEPARATOR)) { in Zip()
|
/foundation/deviceprofile/device_info_manager/common/src/utils/ |
H A D | profile_utils.cpp | 49 if (ProfileUtils::SplitString(dbKey, SEPARATOR, splitKeys) != DP_SUCCESS || in GetDbKeyAnonyString() 56 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 in GenerateCharProfileKey() [all...] |
H A D | ipc_utils.cpp | 99 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()
|
/foundation/communication/netmanager_ext/frameworks/native/ethernetclient/src/ |
H A D | static_configuration.cpp | 28 constexpr const char *SEPARATOR = ","; member 99 for (const auto &netAddr : CommonUtils::Split(input, SEPARATOR)) { in ExtractNetAddrBySeparator()
|
/foundation/ability/idl_tool/idl_tool_2/lexer/ |
H A D | token.cpp | 37 size_t index = token.location.filePath.rfind(SEPARATOR);
in LocInfo()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/bundle_resource/ |
H A D | bundle_resource_constants.h | 30 constexpr const char* SEPARATOR = "/"; member
|
/foundation/communication/dsoftbus/tests/sdk/transmission/moduletest/socket/stream_encrypt_test/ |
H A D | tmessenger.cpp | 50 return data + SEPARATOR + recvData_; in Encode() 60 size_t pos = data.find(SEPARATOR); in Decode() 88 return request == nullptr ? "" : data + SEPARATOR + request->Encode(); in Encode() 90 return response == nullptr ? "" : data + SEPARATOR + response->Encode(); in Encode() 99 size_t pos = data.find(SEPARATOR); in Decode()
|
/foundation/ability/idl_tool/idl_tool_2/codegen/ |
H A D | code_emitter.cpp | 62 std::string outPath = StringHelper::EndWith(outDir, SEPARATOR) ? outDir.substr(0, outDir.size() - 1) : outDir;
in GetFileParentPath() 64 std::string subPath = StringHelper::Replace(subPackage, '.', SEPARATOR);
in GetFileParentPath() 79 filePath.Append(SEPARATOR);
in PackageToFilePath()
|
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/listener/ |
H A D | kv_data_change_listener.cpp | 129 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()
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | input_display_bind_helper.cpp | 41 const std::string SEPARATOR { "/" }; 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()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | extension_record_manager.cpp | 26 constexpr const char *SEPARATOR = ":"; member 131 extensionList.push_back(it.second->abilityRecord_->GetAbilityInfo().moduleName + SEPARATOR + in GetActiveUIExtensionList() 148 extensionList.push_back(it.second->abilityRecord_->GetAbilityInfo().moduleName + SEPARATOR + in GetActiveUIExtensionList() 249 std::string process = abilityRequest.abilityInfo.bundleName + SEPARATOR + abilityRequest.abilityInfo.name in UpdateProcessName() 250 + SEPARATOR + std::to_string(abilityRecord->GetUIExtensionAbilityId()); in UpdateProcessName() 255 std::string process = abilityRequest.abilityInfo.bundleName + SEPARATOR + abilityRequest.abilityInfo.name; in UpdateProcessName()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/verify/ |
H A D | verify_manager_host_impl.cpp | 30 constexpr const char* SEPARATOR = "/"; member 389 size_t pos = sourcePath.find_last_of(SEPARATOR); in GetFileName() 401 size_t pos = sourcePath.find_last_of(SEPARATOR); in GetFileDir()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | data_share_profile_config.cpp | 35 constexpr const char *SEPARATOR = "/"; member 74 SetValue(node[GET_NAME(path)], storeName + SEPARATOR + tableName); in Marshal() 100 SplitStr(path, SEPARATOR, splitPath); in Unmarshal()
|