Searched refs:out_size (Results 1 – 7 of 7) sorted by relevance
/trusty/user/app/avb/ipc/ |
D | avb_ipc.cpp | 44 uint32_t* out_size, in ExecuteCommand() argument 56 *out_size = rsp.GetSerializedSize(); in ExecuteCommand() 57 if (*out_size > kAvbServiceBufSize) { in ExecuteCommand() 58 TLOGE("Response size too large: %d\n", *out_size); in ExecuteCommand() 59 *out_size = 0; in ExecuteCommand() 63 if (*out_size == 0) { in ExecuteCommand() 67 out_buf->reset(new uint8_t[*out_size]); in ExecuteCommand() 69 *out_size = 0; in ExecuteCommand() 73 if (rsp.Serialize(out_buf->get(), out_buf->get() + *out_size) != in ExecuteCommand() 74 *out_size) { in ExecuteCommand() [all …]
|
/trusty/user/app/keymaster/ipc/ |
D | keymaster_ipc.cpp | 179 uint32_t* out_size) { in serialize_response() argument 180 *out_size = rsp.SerializedSize(); in serialize_response() 182 out->reset(new (std::nothrow) uint8_t[*out_size]); in serialize_response() 184 *out_size = 0; in serialize_response() 188 rsp.Serialize(out->get(), out->get() + *out_size); in serialize_response() 198 uint32_t* out_size) { in do_dispatch() argument 214 err = serialize_response(rsp, out, out_size); in do_dispatch() 215 LOG_D("do_dispatch #1: serialized response, %d bytes", *out_size); in do_dispatch() 233 uint32_t* out_size) { in do_dispatch() argument 248 err = serialize_response(rsp, out, out_size); in do_dispatch() [all …]
|
/trusty/user/app/gatekeeper/ipc/ |
D | gatekeeper_ipc.cpp | 56 uint32_t* out_size) { in exec_cmd() argument 76 *out_size = rsp.GetSerializedSize(); in exec_cmd() 77 if (*out_size > GATEKEEPER_MAX_BUFFER_LENGTH) { in exec_cmd() 78 *out_size = 0; in exec_cmd() 79 TLOGE("response size too large (%d)\n", *out_size); in exec_cmd() 83 out_buf->reset(new uint8_t[*out_size]); in exec_cmd() 85 *out_size = 0; in exec_cmd() 89 if (rsp.Serialize(out_buf->get(), out_buf->get() + *out_size) != in exec_cmd() 90 *out_size) { in exec_cmd()
|
/trusty/kernel/lib/vmm_obj_service/ |
D | vmm_obj_service.c | 131 uint64_t out_size = (uint64_t)srv->size; in vmm_obj_service_handle_connect() local 132 rc = ktipc_send_handles(chan, handles, countof(handles), &out_size, in vmm_obj_service_handle_connect() 133 sizeof(out_size)); in vmm_obj_service_handle_connect() 134 if ((size_t)rc != sizeof(out_size)) { in vmm_obj_service_handle_connect()
|
/trusty/kernel/lib/ubsan/ |
D | ubsan.c | 110 size_t out_size, in render_val() argument 116 size_t warn_len = scnprintf(out, out_size, in render_val() 119 out_size -= warn_len; in render_val() 121 scnprintf(out, out_size, "%" PRId64, val_signed(type, val)); in render_val() 125 out, out_size, "~uint%zu_t->uint64_t:truncated ", width); in render_val() 127 out_size -= warn_len; in render_val() 129 scnprintf(out, out_size, "%" PRIu64, val_unsigned(type, val)); in render_val() 138 scnprintf(out, out_size, "<floating point value>"); in render_val() 140 scnprintf(out, out_size, "<value with unknown type>"); in render_val()
|
/trusty/user/app/storage/ |
D | client_tipc.c | 64 size_t out_size); 375 size_t out_size) { in send_response() argument 377 if (result == STORAGE_NO_ERROR && out != NULL && out_size != 0) { in send_response() 385 msg->size = sizeof(struct storage_msg) + out_size; in send_response() 393 resp_bufs[1].iov_len = out_size; in send_response()
|
/trusty/user/base/lib/hwbcc/client/ |
D | hwbcc.c | 32 size_t* out_size) { in recv_resp() argument 37 assert(out_size); in recv_resp() 72 *out_size = resp.payload_size; in recv_resp()
|