Lines Matching refs:io
125 void SurfaceBufferImpl::ReadFromIpcIo(IpcIo& io)
127 ReadInt32(&io, &(bufferData_.handle.key));
128 ReadUint64(&io, &(bufferData_.handle.phyAddr));
129 ReadUint32(&io, &(bufferData_.handle.reserveFds));
130 ReadUint32(&io, &(bufferData_.handle.reserveInts));
131 ReadUint32(&io, &(bufferData_.size));
132 ReadUint32(&io, &(bufferData_.usage));
133 ReadUint32(&io, &len_);
135 ReadUint32(&io, &extDataSize);
139 ReadUint32(&io, &key);
141 ReadUint32(&io, &type);
145 ReadInt32(&io, &value);
151 ReadInt64(&io, &value);
161 void SurfaceBufferImpl::WriteToIpcIo(IpcIo& io)
163 WriteInt32(&io, bufferData_.handle.key);
164 WriteUint64(&io, bufferData_.handle.phyAddr);
165 WriteUint32(&io, bufferData_.handle.reserveFds);
166 WriteUint32(&io, bufferData_.handle.reserveInts);
167 WriteUint32(&io, bufferData_.size);
168 WriteUint32(&io, bufferData_.usage);
169 WriteUint32(&io, len_);
170 WriteUint32(&io, extDatas_.size());
176 WriteUint32(&io, key);
177 WriteUint32(&io, value.type);
180 WriteInt32(&io, *(reinterpret_cast<int32_t *>(value.value)));
183 WriteInt64(&io, *(reinterpret_cast<int64_t *>(value.value)));