/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | string_ex.cpp | 52 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 D | string_util.cpp | 70 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 D | xcollie_utils.cpp | 205 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 D | plugin_config.cpp | 41 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 D | monitor_config.cpp | 43 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 D | blob_test.cpp | 60 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.md | 25 | String [strTmp](#strtmp) | 字符串 | 81 ### strTmp subsection 84 String UniInfo::strTmp
|
H A D | _uni_info_v11.md | 25 | String [strTmp](#strtmp) | 字符串 | 81 ### strTmp subsection 84 String UniInfo::strTmp
|
/ohos5.0/base/telephony/sms_mms/frameworks/native/mms/src/ |
H A D | mms_body_part_header.cpp | 136 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 D | dinput_utils_tool.cpp | 292 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 D | client_trans_udp_manager_test.cpp | 103 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 D | ext_napi_utils.cpp | 126 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 D | trans_client_proxy_test.cpp | 106 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 D | usb_pnp_sample.c | 28 static void UsbPnpSampleTestWriteLog(char *strTmp) in UsbPnpSampleTestWriteLog() argument 43 time.tv_sec, time.tv_usec, strTmp); in UsbPnpSampleTestWriteLog()
|
H A D | usbhost_pnp_test.c | 40 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 D | test_audio_ability_stub.cpp | 75 std::u16string strTmp = TestRpcString16(data.ReadString16()); in OnRemoteRequest() local 76 bool ret = reply.WriteString16(strTmp.c_str()); in OnRemoteRequest()
|
H A D | test_audio_ability_proxy.cpp | 200 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 D | tel_ril_modem_parcel.h | 44 std::string strTmp = ""; member
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/proxy/ |
H A D | client_trans_proxy_file_common_test.cpp | 236 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 D | distributed_input_sink_transport.cpp | 425 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 D | dump_implement.cpp | 752 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 D | common_napi_utils.cpp | 171 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 D | types.h.txt | 330 std::string strTmp;
|
H A D | types.cpp.txt | 906 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 D | types.h.txt | 323 std::string strTmp;
|