Home
last modified time | relevance | path

Searched refs:strTmp (Results 1 - 10 of 10) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/
H A Dblob_test.cpp60 std::string strTmp = "123"; in HWTEST_F() local
61 Blob blob4(strTmp.c_str()); in HWTEST_F()
66 const char *chr1 = strTmp.c_str(); in HWTEST_F()
90 std::string strTmp = "123"; in HWTEST_F() local
91 Blob blob4(strTmp.c_str()); in HWTEST_F()
96 const char *chr1 = strTmp.c_str(); in HWTEST_F()
116 std::string strTmp = "123"; in HWTEST_F() local
117 const char *chr = strTmp.c_str(); in HWTEST_F()
/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()
/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()
/foundation/arkui/ace_engine/component_ext/ext_common/
H A Dext_napi_utils.cpp122 char* strTmp = static_cast<char*>(malloc(stringLength + 1)); in GetStringFromValueUtf8() local
123 if (strTmp == nullptr) { in GetStringFromValueUtf8()
126 std::unique_ptr<char, decltype(deleter)> str(strTmp, deleter); in GetStringFromValueUtf8()
/foundation/communication/dsoftbus/tests/core/transmission/ipc/
H A Dtrans_client_proxy_test.cpp106 char strTmp[] = "ABCDEFG"; in HWTEST_F() local
114 channel.groupId = strTmp; in HWTEST_F()
115 channel.sessionKey = strTmp; in HWTEST_F()
117 channel.peerSessionName = strTmp; in HWTEST_F()
118 channel.peerDeviceId = strTmp; in HWTEST_F()
120 channel.myIp = strTmp; in HWTEST_F()
124 channel.peerIp = strTmp; in HWTEST_F()
/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()
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/proxy/
H A Dclient_trans_proxy_file_common_test.cpp236 const unsigned char strTmp[] = "test"; in HWTEST_F() local
237 uint16_t ret = RTU_CRC(strTmp, usDataLen); in HWTEST_F()
/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()
/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()

Completed in 8 milliseconds