Home
last modified time | relevance | path

Searched refs:header (Results 1 – 5 of 5) sorted by relevance

/hardware/libhardware/include/hardware/
Dqemud.h98 char header[5]; in qemud_channel_send() local
106 snprintf(header, sizeof header, "%04x", msglen); in qemud_channel_send()
107 if (qemud_fd_write(fd, header, 4) != 4) { in qemud_channel_send()
122 char header[5]; in qemud_channel_recv() local
125 if (qemud_fd_read(fd, header, 4) != 4) { in qemud_channel_recv()
129 header[4] = 0; in qemud_channel_recv()
130 if (sscanf(header, "%04x", &size) != 1) { in qemud_channel_recv()
131 D("malformed qemud frame header: '%.*s'", 4, header); in qemud_channel_recv()
/hardware/libhardware_legacy/qemu/
Dqemu.c234 char header[5]; in qemu_command_vformat() local
244 snprintf(header, sizeof header, "%04x", len); in qemu_command_vformat()
245 memcpy(buffer, header, 4); in qemu_command_vformat()
332 char header[5], *end; in qemu_control_query() local
351 ret = qemu_fd_read( fd, header, 4 ); in qemu_control_query()
358 header[4] = 0; in qemu_control_query()
359 len = strtol( header, &end, 16 ); in qemu_control_query()
360 if ( len < 0 || end == NULL || end != header+4 || len > answersize ) { in qemu_control_query()
362 __FUNCTION__, header); in qemu_control_query()
/hardware/ril/rild/
Drild.c90 struct __user_cap_header_struct header; in switchUser() local
92 header.version = _LINUX_CAPABILITY_VERSION; in switchUser()
93 header.pid = 0; in switchUser()
96 capset(&header, &cap); in switchUser()
/hardware/ril/libril/
Dril.cpp1161 uint32_t header; in sendResponseRaw() local
1176 header = htonl(dataSize); in sendResponseRaw()
1178 ret = blockingWrite(fd, (void *)&header, sizeof(header)); in sendResponseRaw()
/hardware/ti/omap3/dspbridge/libbridge/
DCOPYING252 When a "work that uses the Library" uses material from a header file