Home
last modified time | relevance | path

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

/external/libchrome/mojo/core/
Dmessage_pipe_dispatcher.cc27 struct SerializedState { struct
33 static_assert(sizeof(SerializedState) % 8 == 0,
271 *num_bytes = static_cast<uint32_t>(sizeof(SerializedState)); in StartSerialize()
279 SerializedState* state = static_cast<SerializedState*>(destination); in EndSerialize()
320 if (num_ports != 1 || num_handles || num_bytes != sizeof(SerializedState)) in Deserialize()
323 const SerializedState* state = static_cast<const SerializedState*>(data); in Deserialize()
Dshared_buffer_dispatcher.cc31 struct SerializedState { struct
41 static_assert(sizeof(SerializedState) % 8 == 0,
127 if (num_bytes != sizeof(SerializedState)) { in Deserialize()
132 const SerializedState* serialized_state = in Deserialize()
133 static_cast<const SerializedState*>(bytes); in Deserialize()
312 *num_bytes = sizeof(SerializedState); in StartSerialize()
327 SerializedState* serialized_state = in EndSerialize()
328 static_cast<SerializedState*>(destination); in EndSerialize()
Ddata_pipe_producer_dispatcher.cc33 struct SerializedState { struct
44 static_assert(sizeof(SerializedState) % 8 == 0,
253 *num_bytes = sizeof(SerializedState); in StartSerialize()
262 SerializedState* state = static_cast<SerializedState*>(destination); in EndSerialize()
329 num_bytes != sizeof(SerializedState)) { in Deserialize()
333 const SerializedState* state = static_cast<const SerializedState*>(data); in Deserialize()
Ddata_pipe_consumer_dispatcher.cc34 struct SerializedState { struct
45 static_assert(sizeof(SerializedState) % 8 == 0,
294 *num_bytes = static_cast<uint32_t>(sizeof(SerializedState)); in StartSerialize()
303 SerializedState* state = static_cast<SerializedState*>(destination); in EndSerialize()
368 num_bytes != sizeof(SerializedState)) { in Deserialize()
372 const SerializedState* state = static_cast<const SerializedState*>(data); in Deserialize()