Home
last modified time | relevance | path

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

/system/gatekeeper/
Dgatekeeper_messages.cpp28 struct __attribute__((__packed__)) serial_header_t { struct
83 uint32_t size = sizeof(serial_header_t) + nonErrorSerializedSize(); in GetSerializedSize()
86 uint32_t size = sizeof(serial_header_t); in GetSerializedSize()
100 serial_header_t *header = reinterpret_cast<serial_header_t *>(buffer); in Serialize()
101 if (!fitsBuffer(buffer, end, sizeof(serial_header_t))) return 0; in Serialize()
120 if (!fitsBuffer(payload, end, sizeof(serial_header_t))) return ERROR_INVALID; in Deserialize()
121 const serial_header_t *header = reinterpret_cast<const serial_header_t *>(payload); in Deserialize()