/ohos5.0/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 + 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 D | resource_info.cpp | 23 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 D | data_uri_utils.cpp | 29 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 D | file_path.cpp | 34 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 D | zip.cpp | 44 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 D | zip_writer.cpp | 34 const std::string SEPARATOR = "/"; variable 81 strPath += SEPARATOR; in OpenNewFileEntry()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/utils/ |
H A D | profile_utils.cpp | 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 + 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 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()
|
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/util/ |
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 | common.h | 25 constexpr char SEPARATOR = '/'; variable 27 constexpr char SEPARATOR = '\\'; variable
|
H A D | options.cpp | 754 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 D | common.h | 18 constexpr char SEPARATOR = '/'; variable 20 constexpr char SEPARATOR = '\\'; variable
|
H A D | file.cpp | 201 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 D | options.cpp | 364 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 D | notification_tools.cpp | 35 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 D | system_upgrade_scene_recognizer.cpp | 31 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 D | tmessenger.cpp | 51 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 D | static_configuration.cpp | 28 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 D | code_emitter.cpp | 62 …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 D | input_display_bind_helper.cpp | 41 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 D | code_emitter.cpp | 120 …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 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()
|
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/ |
H A D | install_plugin.cpp | 38 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 D | bundle_manager_proxy.cpp | 36 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 D | data_share_profile_config.cpp | 35 constexpr const char *SEPARATOR = "/"; variable 74 SetValue(node[GET_NAME(path)], storeName + SEPARATOR + tableName); in Marshal() 100 SplitStr(path, SEPARATOR, splitPath); in Unmarshal()
|