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
99 uint32_t size = sizeof(serial_header_t) + nonErrorSerializedSize(); in GetSerializedSize()
102 uint32_t size = sizeof(serial_header_t); in GetSerializedSize()
116 serial_header_t *header = reinterpret_cast<serial_header_t *>(buffer); in Serialize()
117 if (!fitsBuffer(buffer, end, sizeof(serial_header_t))) return 0; in Serialize()
136 if (!fitsBuffer(payload, end, sizeof(serial_header_t))) return ERROR_INVALID; in Deserialize()
137 const serial_header_t *header = reinterpret_cast<const serial_header_t *>(payload); in Deserialize()