Home
last modified time | relevance | path

Searched refs:strTmp (Results 1 – 25 of 34) sorted by relevance

12

/ohos5.0/commonlibrary/c_utils/base/src/
H A Dstring_ex.cpp52 string strTmp = str; in ReplaceStr() local
54 strTmp.replace(pos, src.length(), dst); in ReplaceStr()
58 return strTmp; in ReplaceStr()
67 string strTmp = str; in TrimStr() local
70 strTmp.erase(0, firstBound); in TrimStr()
78 return strTmp; in TrimStr()
103 strPart = needTrim ? TrimStr(strTmp) : strTmp; in SplitStr()
109 strPart = needTrim ? TrimStr(strTmp.substr(0, pos)) : strTmp.substr(0, pos); in SplitStr()
113 strTmp = strTmp.substr(sep.size() + pos, strTmp.size() - sep.size() - pos); in SplitStr()
225 string strTmp = str; in GetSubStrBetween() local
[all …]
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dstring_util.cpp70 string strTmp = str; in ReplaceStr() local
72 strTmp.replace(pos, src.length(), dst); in ReplaceStr()
76 return strTmp; in ReplaceStr()
81 string strTmp = str; in TrimStr() local
82 strTmp.erase(0, strTmp.find_first_not_of(cTrim)); in TrimStr()
83 strTmp.erase(strTmp.find_last_not_of(cTrim) + sizeof(char)); in TrimStr()
84 return strTmp; in TrimStr()
94 string::size_type pos = strTmp.find(sep); in SplitStr()
96 strPart = needTrim ? TrimStr(strTmp) : strTmp; in SplitStr()
102 strPart = needTrim ? TrimStr(strTmp.substr(0, pos)) : strTmp.substr(0, pos); in SplitStr()
[all …]
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/
H A Dxcollie_utils.cpp205 std::string strTmp = str; in TrimStr() local
206 strTmp.erase(0, strTmp.find_first_not_of(cTrim)); in TrimStr()
207 strTmp.erase(strTmp.find_last_not_of(cTrim) + sizeof(char)); in TrimStr()
208 return strTmp; in TrimStr()
215 std::string strTmp = needTrim ? TrimStr(str) : str; in SplitStr() local
218 std::string::size_type pos = strTmp.find(sep); in SplitStr()
220 strPart = needTrim ? TrimStr(strTmp) : strTmp; in SplitStr()
226 strPart = needTrim ? TrimStr(strTmp.substr(0, pos)) : strTmp.substr(0, pos); in SplitStr()
230 strTmp = strTmp.substr(sep.size() + pos, strTmp.size() - sep.size() - pos); in SplitStr()
/ohos5.0/base/hiviewdfx/hiview/core/
H A Dplugin_config.cpp41 std::string strTmp = StringUtil::TrimStr(buf); in StartParse() local
42 if (strTmp == "") { in StartParse()
47 …if (!regex_search(strTmp, result, std::regex("(plugins|pipelines|pipelinegroups)\\s*:\\s*(\\d+)"))… in StartParse()
60 ParsePlugin(strTmp); in StartParse()
62 ParsePipeline(strTmp); in StartParse()
64 ParsePipelineGroup(strTmp); in StartParse()
/ohos5.0/base/hiviewdfx/hiview/plugins/sysevent_source/
H A Dmonitor_config.cpp43 std::string strTmp = StringUtil::TrimStr(buf); in Parse() local
44 if (strTmp.empty()) { in Parse()
48 … if (!regex_search(strTmp, result, std::regex("(collectPeriod|reportPeriod|totalSizeBenchMark|" in Parse()
50 HIVIEW_LOGW("match field failed %{public}s", strTmp.c_str()); in Parse()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/
H A Dblob_test.cpp60 std::string strTmp = "123"; variable
61 Blob blob4(strTmp.c_str());
66 const char *chr1 = strTmp.c_str();
90 std::string strTmp = "123"; variable
91 Blob blob4(strTmp.c_str());
96 const char *chr1 = strTmp.c_str();
116 std::string strTmp = "123"; variable
117 const char *chr = strTmp.c_str();
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/ril/
H A D_uni_info_v10.md25 | String [strTmp](#strtmp) | 字符串 |
81 ### strTmp subsection
84 String UniInfo::strTmp
H A D_uni_info_v11.md25 | String [strTmp](#strtmp) | 字符串 |
81 ### strTmp subsection
84 String UniInfo::strTmp
/ohos5.0/base/telephony/sms_mms/frameworks/native/mms/src/
H A Dmms_body_part_header.cpp136 std::string strTmp = ""; in DecodeContentDisposition() local
138 if (!decodeBuffer.DecodeText(strTmp, tmpLen)) { in DecodeContentDisposition()
142 strDisposition_ = strTmp; in DecodeContentDisposition()
185 std::string strTmp = ""; in DecodeDispositionParameter() local
187 if (!decodeBuffer.DecodeText(strTmp, tmpLen)) { in DecodeDispositionParameter()
191 strFileName_ = strTmp; in DecodeDispositionParameter()
/ohos5.0/foundation/distributedhardware/distributed_input/utils/src/
H A Ddinput_utils_tool.cpp292 std::string strTmp = str + split; in SplitStringToVector() local
293 size_t pos = strTmp.find(split); in SplitStringToVector()
294 while (pos != strTmp.npos) { in SplitStringToVector()
295 std::string matchTmp = strTmp.substr(0, pos); in SplitStringToVector()
297 strTmp = strTmp.substr(pos + 1, strTmp.size()); in SplitStringToVector()
298 pos = strTmp.find(split); in SplitStringToVector()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/common/
H A Dclient_trans_udp_manager_test.cpp103 char strTmp[] = "ABCDEFG"; in InitChannelInfo() local
113 channel.groupId = strTmp; in InitChannelInfo()
114 channel.sessionKey = strTmp; in InitChannelInfo()
117 channel.peerDeviceId = strTmp; in InitChannelInfo()
118 channel.myIp = strTmp; in InitChannelInfo()
122 channel.peerIp = strTmp; in InitChannelInfo()
/ohos5.0/foundation/arkui/ace_engine/component_ext/ext_common/
H A Dext_napi_utils.cpp126 char* strTmp = static_cast<char*>(malloc(stringLength + 1)); in GetStringFromValueUtf8() local
127 if (strTmp == nullptr) { in GetStringFromValueUtf8()
130 std::unique_ptr<char, decltype(deleter)> str(strTmp, deleter); in GetStringFromValueUtf8()
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/ipc/
H A Dtrans_client_proxy_test.cpp106 char strTmp[] = "ABCDEFG"; variable
114 channel.groupId = strTmp;
115 channel.sessionKey = strTmp;
117 channel.peerSessionName = strTmp;
118 channel.peerDeviceId = strTmp;
120 channel.myIp = strTmp;
124 channel.peerIp = strTmp;
/ohos5.0/drivers/peripheral/usb/sample/host/src/
H A Dusb_pnp_sample.c28 static void UsbPnpSampleTestWriteLog(char *strTmp) in UsbPnpSampleTestWriteLog() argument
43 time.tv_sec, time.tv_usec, strTmp); in UsbPnpSampleTestWriteLog()
H A Dusbhost_pnp_test.c40 static void TestPnpWriteLog(char *strTmp) in TestPnpWriteLog() argument
51 time.tv_sec, time.tv_usec, strTmp); in TestPnpWriteLog()
/ohos5.0/foundation/systemabilitymgr/safwk/test/mock/common/audio_ability/src/
H A Dtest_audio_ability_stub.cpp75 std::u16string strTmp = TestRpcString16(data.ReadString16()); in OnRemoteRequest() local
76 bool ret = reply.WriteString16(strTmp.c_str()); in OnRemoteRequest()
H A Dtest_audio_ability_proxy.cpp200 std::u16string strTmp = name; in TestRpcString16() local
201 data.WriteString16(strTmp.c_str()); in TestRpcString16()
/ohos5.0/base/telephony/core_service/interfaces/innerkits/include/
H A Dtel_ril_modem_parcel.h44 std::string strTmp = ""; member
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/proxy/
H A Dclient_trans_proxy_file_common_test.cpp236 const unsigned char strTmp[] = "test"; variable
237 uint16_t ret = RTU_CRC(strTmp, usDataLen);
/ohos5.0/foundation/distributedhardware/distributed_input/services/sink/transport/src/
H A Ddistributed_input_sink_transport.cpp425 std::string strTmp = recMsg[DINPUT_SOFTBUS_KEY_VECTOR_DHID]; in NotifyStartRemoteInputDhid() local
432 callback_->OnStartRemoteInputDhid(sessionId, strTmp); in NotifyStartRemoteInputDhid()
443 std::string strTmp = recMsg[DINPUT_SOFTBUS_KEY_VECTOR_DHID]; in NotifyStopRemoteInputDhid() local
450 callback_->OnStopRemoteInputDhid(sessionId, strTmp); in NotifyStopRemoteInputDhid()
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/manager/
H A Ddump_implement.cpp752 std::string strTmp = str; in RemoveCharacterFromStr() local
753 while (strTmp.find(character) != std::string::npos) { in RemoveCharacterFromStr()
754 strTmp.erase(strTmp.find(character), 1); in RemoveCharacterFromStr()
756 return strTmp; in RemoveCharacterFromStr()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/common_napi_utils/
H A Dcommon_napi_utils.cpp171 char* strTmp = static_cast<char*>(malloc(stringLength + 1)); in GetStringFromValueUtf8() local
172 if (strTmp == nullptr) { in GetStringFromValueUtf8()
175 std::unique_ptr<char, decltype(deleter)> str(strTmp, deleter); in GetStringFromValueUtf8()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/ril_v1_1/cpp_target/ril/v1_1/
H A Dtypes.h.txt330 std::string strTmp;
H A Dtypes.cpp.txt906 if (!data.WriteCString(dataBlock.strTmp.c_str())) {
907 HDF_LOGE("%{public}s: write dataBlock.strTmp failed!", __func__);
945 dataBlock.strTmp = strTmpCp;
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/ril_v1_0/cpp_target/ril/v1_0/
H A Dtypes.h.txt323 std::string strTmp;

12