Lines Matching refs:dest

71                                           char *dest) const {  in Write()  argument
72 if (!dest) { in Write()
76 char *start_address = dest; in Write()
80 dest = SimpleSerializer<uint32_t>::Write(m.size(), dest); in Write()
82 uint32_t *offsets = reinterpret_cast<uint32_t*>(dest); in Write()
83 dest += sizeof(uint32_t) * m.size(); in Write()
85 char *key_address = dest; in Write()
86 dest += sizeof(Key) * m.size(); in Write()
92 offsets[index] = static_cast<uint32_t>(dest - start_address); in Write()
94 dest = value_serializer_.Write(iter->second, dest); in Write()
96 return dest; in Write()
139 const RangeMap<Address, Entry> &m, char *dest) const { in Write() argument
140 if (!dest) { in Write()
144 char *start_address = dest; in Write()
148 dest = SimpleSerializer<uint32_t>::Write(m.map_.size(), dest); in Write()
150 uint32_t *offsets = reinterpret_cast<uint32_t*>(dest); in Write()
151 dest += sizeof(uint32_t) * m.map_.size(); in Write()
153 char *key_address = dest; in Write()
154 dest += sizeof(Address) * m.map_.size(); in Write()
160 offsets[index] = static_cast<uint32_t>(dest - start_address); in Write()
162 dest = address_serializer_.Write(iter->second.base(), dest); in Write()
163 dest = entry_serializer_.Write(iter->second.entry(), dest); in Write()
165 return dest; in Write()
213 const ContainedRangeMap<AddrType, EntryType> *m, char *dest) const { in Write() argument
214 if (!dest) { in Write()
218 dest = addr_serializer_.Write(m->base_, dest); in Write()
219 dest = SimpleSerializer<uint32_t>::Write(entry_serializer_.SizeOf(m->entry_), in Write()
220 dest); in Write()
221 dest = entry_serializer_.Write(m->entry_, dest); in Write()
224 char *map_address = dest; in Write()
226 dest = SimpleSerializer<uint32_t>::Write(0, dest); in Write()
228 dest = SimpleSerializer<uint32_t>::Write(m->map_->size(), dest); in Write()
229 uint32_t *offsets = reinterpret_cast<uint32_t*>(dest); in Write()
230 dest += sizeof(uint32_t) * m->map_->size(); in Write()
232 char *key_address = dest; in Write()
233 dest += sizeof(AddrType) * m->map_->size(); in Write()
239 offsets[index] = static_cast<uint32_t>(dest - map_address); in Write()
242 dest = Write(iter->second, dest); in Write()
245 return dest; in Write()