Home
last modified time | relevance | path

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

/system/core/init/
Dlog.cpp37 size_t msg_size = vsnprintf(buf + prefix_size, sizeof(buf) - prefix_size, fmt, ap); in init_klog_vwrite() local
38 if (msg_size >= sizeof(buf) - prefix_size) { in init_klog_vwrite()
39 msg_size = snprintf(buf + prefix_size, sizeof(buf) - prefix_size, in init_klog_vwrite()
40 "(%zu-byte message too long for printk)\n", msg_size); in init_klog_vwrite()
45 iov[0].iov_len = prefix_size + msg_size; in init_klog_vwrite()
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper_ipc.c49 size_t msg_size = in_size + sizeof(struct gatekeeper_message); in trusty_gatekeeper_call() local
50 struct gatekeeper_message *msg = malloc(msg_size); in trusty_gatekeeper_call()
54 ssize_t rc = write(handle_, msg, msg_size); in trusty_gatekeeper_call()