Home
last modified time | relevance | path

Searched refs:SEPARATOR (Results 1 - 25 of 47) sorted by relevance

12

/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 + 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 Ddata_uri_utils.cpp29 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 Dresource_info.cpp23 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 Dcommon.h25 constexpr char SEPARATOR = '/'; member
27 constexpr char SEPARATOR = '\\'; member
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 Doptions.cpp758 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 Dsystem_upgrade_scene_recognizer.cpp31 static const std::string SEPARATOR = "|"; member
73 curSystemFingerprint.append(SEPARATOR); in GetCurSystemFingerprint()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dfile_path.cpp34 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 Dzip.cpp44 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 Dzip_writer.cpp34 const std::string SEPARATOR = "/"; member
81 strPath += SEPARATOR; in OpenNewFileEntry()
H A Dzip_utils.cpp25 const std::string SEPARATOR = "/"; member
/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/
H A Dnotification_tools.cpp35 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 Dcj_zip.cpp48 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 Dprofile_utils.cpp49 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 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()
/foundation/communication/netmanager_ext/frameworks/native/ethernetclient/src/
H A Dstatic_configuration.cpp28 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 Dtoken.cpp37 size_t index = token.location.filePath.rfind(SEPARATOR); in LocInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/bundle_resource/
H A Dbundle_resource_constants.h30 constexpr const char* SEPARATOR = "/"; member
/foundation/communication/dsoftbus/tests/sdk/transmission/moduletest/socket/stream_encrypt_test/
H A Dtmessenger.cpp50 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 Dcode_emitter.cpp62 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 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()
/foundation/multimodalinput/input/service/window_manager/src/
H A Dinput_display_bind_helper.cpp41 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 Dextension_record_manager.cpp26 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 Dverify_manager_host_impl.cpp30 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 Ddata_share_profile_config.cpp35 constexpr const char *SEPARATOR = "/"; member
74 SetValue(node[GET_NAME(path)], storeName + SEPARATOR + tableName); in Marshal()
100 SplitStr(path, SEPARATOR, splitPath); in Unmarshal()

Completed in 15 milliseconds

12