Home
last modified time | relevance | path

Searched refs:resp_hdr (Results 1 – 2 of 2) sorted by relevance

/trusty/user/base/interface/boot_done/generated/
DIBootDone.cpp28 ::tidl::ResponseHeader resp_hdr; in set_boot_done()
29 rc = ::tidl::ipc::recv(mChan.get(), sizeof(resp_hdr), &resp_hdr, in set_boot_done()
30 sizeof(resp_hdr), nullptr, 0); in set_boot_done()
34 if (static_cast<size_t>(rc) < sizeof(resp_hdr)) { in set_boot_done()
37 if (resp_hdr.cmd != (CMD_set_boot_done | RESP_BIT)) { in set_boot_done()
40 if (resp_hdr.rc != NO_ERROR) { in set_boot_done()
41 if (static_cast<size_t>(rc) != sizeof(resp_hdr)) { in set_boot_done()
44 return resp_hdr.rc; in set_boot_done()
46 if (static_cast<size_t>(rc) != sizeof(resp_hdr)) { in set_boot_done()
178 ::tidl::ResponseHeader resp_hdr = { in on_message()
[all …]
/trusty/user/base/app/hwaes-unittest/
Dhwaes-test.c336 struct hwaes_resp resp_hdr = {0}; in make_bad_request() local
338 .iov_base = (void*)&resp_hdr, in make_bad_request()
339 .iov_len = sizeof(resp_hdr), in make_bad_request()
351 ASSERT_EQ(resp_hdr.cmd, req_hdr->cmd | HWAES_RESP_BIT); in make_bad_request()
354 EXPECT_EQ(expect_error, resp_hdr.result); in make_bad_request()