Home
last modified time | relevance | path

Searched refs:recvMsg (Results 1 – 25 of 196) sorted by relevance

12345678

/ohos5.0/base/tee/tee_client/frameworks/libteec_vendor/
H A Dtee_client_socket.c83 static int InitRecvMsg(struct msghdr *recvMsg, struct iovec *iov, size_t iovLen, in InitRecvMsg() argument
86 if (recvMsg == NULL || iov == NULL || ctrlBuf == NULL) { in InitRecvMsg()
90 recvMsg->msg_iov = iov; in InitRecvMsg()
91 recvMsg->msg_iovlen = iovLen; in InitRecvMsg()
92 recvMsg->msg_name = NULL; in InitRecvMsg()
93 recvMsg->msg_namelen = 0; in InitRecvMsg()
94 recvMsg->msg_control = ctrlBuf; in InitRecvMsg()
95 recvMsg->msg_controllen = ctrlBufLen; in InitRecvMsg()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/hdi_all_interface_test_003/c_target/foo/v1_0/
H A Dfoo_stub.c.txt30 char* recvMsg = NULL;
68 recvMsg = (char*)OsalMemCalloc(recvMsgLen);
69 if (recvMsg == NULL) {
76 recvMsg = (char*)OsalMemCalloc(HDI_BUFF_MAX_SIZE);
77 if (recvMsg == NULL) {
78 HDF_LOGE("%{public}s: malloc recvMsg failed", __func__);
104 if (!HdfSbufWriteString(fooReply, recvMsg)) {
105 HDF_LOGE("%{public}s: write recvMsg failed!", __func__);
115 if (recvMsg != NULL) {
116 OsalMemFree(recvMsg);
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/hdi_all_interface_test_006/c_target/foo/v1_0/
H A Dfoo_stub.c.txt30 char* recvMsg = NULL;
68 recvMsg = (char*)OsalMemCalloc(recvMsgLen);
69 if (recvMsg == NULL) {
76 recvMsg = (char*)OsalMemCalloc(HDI_BUFF_MAX_SIZE);
77 if (recvMsg == NULL) {
78 HDF_LOGE("%{public}s: malloc recvMsg failed", __func__);
104 if (!HdfSbufWriteString(fooReply, recvMsg)) {
105 HDF_LOGE("%{public}s: write recvMsg failed!", __func__);
115 if (recvMsg != NULL) {
116 OsalMemFree(recvMsg);
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/test/unittest/08_overload_method_idl/target/foo/v1_1/
H A Dfoo_proxy.cpp.txt14 int32_t OHOS::HDI::Foo::V1_1::FooProxy::Ping(const std::string& sendMsg, std::string& recvMsg, int3…
18 int32_t OHOS::HDI::Foo::V1_1::FooProxy::Ping(const std::string& sendMsg, std::string& recvMsg)
26 int32_t OHOS::HDI::Foo::V1_1::FooProxy::Ping_(const std::string& sendMsg, std::string& recvMsg, int…
66 HDF_LOGE("%{public}s: read recvMsg failed", __func__);
69 recvMsg = recvMsgCp;
H A Dfoo_stub.cpp.txt63 std::string recvMsg;
71 recvMsg.reserve(capacity);
85 int32_t fooRet = impl->Ping(sendMsg, recvMsg, code);
91 if (!fooReply.WriteCString(recvMsg.c_str())) {
92 HDF_LOGE("%{public}s: write recvMsg failed!", __func__);
H A Dfoo_service.h.txt7 int32_t Ping(const std::string& sendMsg, std::string& recvMsg, int32_t code) override;
11 int32_t Ping(const std::string& sendMsg, std::string& recvMsg) override;
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/wlan/
H A Dinterface_i_wlan_callback_v10.md24 | [WifiNetlinkMessage](#wifinetlinkmessage) ([in] unsigned char[] recvMsg) | Netlink消息的回调方法。 |
77 IWlanCallback::WifiNetlinkMessage ([in] unsigned char[] recvMsg)
91 | recvMsg | 收到的Netlink消息。 |
H A Dinterface_i_wlan_callback_v11.md24 | [WifiNetlinkMessage](#wifinetlinkmessage) ([in] unsigned char[] recvMsg) | 调用此方法以处理收到的Netlink消息。 …
94 IWlanCallback::WifiNetlinkMessage ([in] unsigned char[] recvMsg)
106 | recvMsg | 表示收到的Netlink消息 |
/ohos5.0/base/startup/init/services/param/linux/
H A Dparam_request.c72 static int ProcessRecvMsg(const ParamMessage *recvMsg) in ProcessRecvMsg() argument
74 …PARAM_LOGV("ProcessRecvMsg type: %u msgId: %u name %s", recvMsg->type, recvMsg->id.msgId, recvMsg-… in ProcessRecvMsg()
76 switch (recvMsg->type) { in ProcessRecvMsg()
79 result = ((ParamResponseMessage *)recvMsg)->result; in ProcessRecvMsg()
83 ParamMsgContent *valueContent = GetNextContent(recvMsg, &offset); in ProcessRecvMsg()
/ohos5.0/base/security/device_auth/test/fuzztest/protocol/iso_fuzzer/
H A Diso_fuzzer.cpp252 CJson recvMsg; in IsoTest16() local
254 res = self->process(nullptr, &recvMsg, &sendMsg); in IsoTest16()
273 CJson recvMsg; in IsoTest18() local
274 res = self->process(self, &recvMsg, nullptr); in IsoTest18()
284 CJson recvMsg; in IsoTest19() local
286 res = self->process(self, &recvMsg, &sendMsg); in IsoTest19()
296 CJson recvMsg; in IsoTest20() local
298 res = self->process(self, &recvMsg, &sendMsg); in IsoTest20()
/ohos5.0/base/security/device_auth/test/fuzztest/protocol/dlspeke_fuzzer/
H A Ddlspeke_fuzzer.cpp310 CJson recvMsg; in DlSpekeTest16() local
312 res = self->process(nullptr, &recvMsg, &sendMsg); in DlSpekeTest16()
335 CJson recvMsg; in DlSpekeTest18() local
336 res = self->process(self, &recvMsg, nullptr); in DlSpekeTest18()
349 CJson recvMsg; in DlSpekeTest19() local
351 res = self->process(self, &recvMsg, &sendMsg); in DlSpekeTest19()
364 CJson recvMsg; in DlSpekeTest20() local
366 res = self->process(self, &recvMsg, &sendMsg); in DlSpekeTest20()
/ohos5.0/base/security/device_auth/test/fuzztest/protocol/ecspeke_fuzzer/
H A Decspeke_fuzzer.cpp316 CJson recvMsg; in ECSpekeTest17() local
318 res = self->process(nullptr, &recvMsg, &sendMsg); in ECSpekeTest17()
341 CJson recvMsg; in ECSpekeTest19() local
342 res = self->process(self, &recvMsg, nullptr); in ECSpekeTest19()
355 CJson recvMsg; in ECSpekeTest20() local
357 res = self->process(self, &recvMsg, &sendMsg); in ECSpekeTest20()
370 CJson recvMsg; in ECSpekeTest21() local
372 res = self->process(self, &recvMsg, &sendMsg); in ECSpekeTest21()
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/test/unittest/02_standard_interface_idl/target/foo/v1_0/
H A Dfoo_stub.cpp.txt74 std::string recvMsg;
82 recvMsg.reserve(capacity);
90 int32_t fooRet = impl->Ping(sendMsg, recvMsg);
96 if (!fooReply.WriteCString(recvMsg.c_str())) {
97 HDF_LOGE("%{public}s: write recvMsg failed!", __func__);
H A Dfoo_proxy.cpp.txt64 int32_t OHOS::HDI::Foo::V1_0::FooProxy::Ping(const std::string& sendMsg, std::string& recvMsg)
72 int32_t OHOS::HDI::Foo::V1_0::FooProxy::Ping_(const std::string& sendMsg, std::string& recvMsg,
107 HDF_LOGE("%{public}s: read recvMsg failed", __func__);
110 recvMsg = recvMsgCp;
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/test/unittest/04_extended_interface_idl/target/foo/v1_1/
H A Dfoo_stub.cpp.txt82 std::string recvMsg;
90 recvMsg.reserve(capacity);
98 int32_t fooRet = impl->TestPingV1_1(sendMsg, recvMsg);
104 if (!fooReply.WriteCString(recvMsg.c_str())) {
105 HDF_LOGE("%{public}s: write recvMsg failed!", __func__);
H A Dfoo_service.h.txt7 int32_t TestPingV1_1(const std::string& sendMsg, std::string& recvMsg) override;
11 int32_t Ping(const std::string& sendMsg, std::string& recvMsg) override;
H A Dfoo_proxy.cpp.txt107 …32_t OHOS::HDI::Foo::V1_1::FooProxy::TestPingV1_1(const std::string& sendMsg, std::string& recvMsg)
111 int32_t OHOS::HDI::Foo::V1_1::FooProxy::Ping(const std::string& sendMsg, std::string& recvMsg)
119 …2_t OHOS::HDI::Foo::V1_1::FooProxy::TestPingV1_1_(const std::string& sendMsg, std::string& recvMsg,
154 HDF_LOGE("%{public}s: read recvMsg failed", __func__);
157 recvMsg = recvMsgCp;
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/hdi_all_interface_test_007/c_target/foo/v1_0/
H A Dfoo_stub.c.txt122 char* recvMsg = NULL;
148 recvMsg = (char*)OsalMemCalloc(recvMsgLen);
149 if (recvMsg == NULL) {
156 recvMsg = (char*)OsalMemCalloc(HDI_BUFF_MAX_SIZE);
157 if (recvMsg == NULL) {
158 HDF_LOGE("%{public}s: malloc recvMsg failed", __func__);
184 if (!HdfSbufWriteString(fooReply, recvMsg)) {
185 HDF_LOGE("%{public}s: write recvMsg failed!", __func__);
195 if (recvMsg != NULL) {
196 OsalMemFree(recvMsg);
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/extended_interface_idl/cpp_target/foo/v1_1/
H A Dfoo_proxy.cpp.txt166 …32_t OHOS::HDI::Foo::V1_1::FooProxy::TestPingV1_1(const std::string& sendMsg, std::string& recvMsg)
168 return OHOS::HDI::Foo::V1_1::FooProxy::TestPingV1_1_(sendMsg, recvMsg, GetCurrentRemote());
176 int32_t OHOS::HDI::Foo::V1_1::FooProxy::Ping(const std::string& sendMsg, std::string& recvMsg)
178 return OHOS::HDI::Foo::V1_0::FooProxy::Ping_(sendMsg, recvMsg, GetCurrentRemote());
196 …2_t OHOS::HDI::Foo::V1_1::FooProxy::TestPingV1_1_(const std::string& sendMsg, std::string& recvMsg,
231 HDF_LOGE("%{public}s: read recvMsg failed", __func__);
234 recvMsg = recvMsgCp;
H A Dfoo_stub.cpp.txt132 std::string recvMsg;
140 recvMsg.reserve(capacity);
148 int32_t fooRet = impl->TestPingV1_1(sendMsg, recvMsg);
154 if (!fooReply.WriteCString(recvMsg.c_str())) {
155 HDF_LOGE("%{public}s: write recvMsg failed!", __func__);
H A Dfoo_proxy.h.txt71 int32_t TestPingV1_1(const std::string& sendMsg, std::string& recvMsg) override;
75 int32_t Ping(const std::string& sendMsg, std::string& recvMsg) override;
83 …static int32_t TestPingV1_1_(const std::string& sendMsg, std::string& recvMsg, const sptr<IRemoteO…
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/overload_method_idl/cpp_target/foo/v1_1/
H A Dfoo_proxy.cpp.txt166 int32_t OHOS::HDI::Foo::V1_1::FooProxy::Ping(const std::string& sendMsg, std::string& recvMsg, int3…
168 return OHOS::HDI::Foo::V1_1::FooProxy::Ping_(sendMsg, recvMsg, code, GetCurrentRemote());
176 int32_t OHOS::HDI::Foo::V1_1::FooProxy::Ping(const std::string& sendMsg, std::string& recvMsg)
178 return OHOS::HDI::Foo::V1_0::FooProxy::Ping_(sendMsg, recvMsg, GetCurrentRemote());
196 int32_t OHOS::HDI::Foo::V1_1::FooProxy::Ping_(const std::string& sendMsg, std::string& recvMsg, int…
236 HDF_LOGE("%{public}s: read recvMsg failed", __func__);
239 recvMsg = recvMsgCp;
H A Dfoo_proxy.h.txt71 int32_t Ping(const std::string& sendMsg, std::string& recvMsg, int32_t code) override;
75 int32_t Ping(const std::string& sendMsg, std::string& recvMsg) override;
83 static int32_t Ping_(const std::string& sendMsg, std::string& recvMsg, int32_t code,
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/protocol_lib/
H A Diso_protocol_test.cpp358 CJson recvMsg; variable
360 res = self->process(nullptr, &recvMsg, &sendMsg);
387 CJson recvMsg; variable
388 res = self->process(self, &recvMsg, nullptr);
403 CJson recvMsg; variable
405 res = self->process(self, &recvMsg, &sendMsg);
420 CJson recvMsg; variable
422 res = self->process(self, &recvMsg, &sendMsg);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/wlan_v1_0/c_target/wlan/v1_0/
H A Dwlan_callback_stub.c.txt195 uint8_t* recvMsg = NULL;
198 if (!ReadPodArray(wlanCallbackData, (void **)&recvMsg, sizeof(uint8_t), &recvMsgLen)) {
199 HDF_LOGE("%{public}s: failed to read recvMsg", __func__);
216 wlanCallbackRet = serviceImpl->WifiNetlinkMessage(serviceImpl, recvMsg, recvMsgLen);
223 if (recvMsg != NULL) {
224 OsalMemFree(recvMsg);

12345678