Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/cpp/bindings/lib/
Dnative_struct_serialization.cc27 Array_Data<uint8_t>::BufferWriter data_writer; in Serialize() local
31 input->data, buffer, &data_writer, &data_validate_params, context); in Serialize()
32 writer->data()->data.Set(data_writer.data()); in Serialize()
70 Array_Data<uint8_t>::BufferWriter data_writer; in SerializeMessageContents() local
71 data_writer.Allocate(message->payload_size(), buffer); in SerializeMessageContents()
72 memcpy(data_writer->storage(), message->payload(), message->payload_size()); in SerializeMessageContents()
73 writer->data()->data.Set(data_writer.data()); in SerializeMessageContents()
Darray_serialization.h355 DataElementWriter data_writer;
357 SerializeCaller<Element>::Run(next, buf, &data_writer,
360 writer->data()->at(i).Set(data_writer.is_null() ? nullptr
361 : data_writer.data());
363 !validate_params->element_is_nullable && data_writer.is_null(),