Home
last modified time | relevance | path

Searched refs:SerializerReference (Results 1 – 9 of 9) sorted by relevance

/external/v8/src/snapshot/
Dreferences.h15 class SerializerReference {
27 SerializerReference(SpecialValueType type, uint32_t value) in SerializerReference() function
33 SerializerReference() : SerializerReference(kInvalidValue, 0) {} in SerializerReference() function
35 SerializerReference(uint32_t space, uint32_t chunk_index, in SerializerReference() function
41 static SerializerReference BackReference(AllocationSpace space, in BackReference()
46 return SerializerReference(space, chunk_index, chunk_offset); in BackReference()
49 static SerializerReference MapReference(uint32_t index) { in MapReference()
50 return SerializerReference(MAP_SPACE, 0, index); in MapReference()
53 static SerializerReference OffHeapBackingStoreReference(uint32_t index) { in OffHeapBackingStoreReference()
54 return SerializerReference(kOffHeapBackingStore, index); in OffHeapBackingStoreReference()
[all …]
Ddefault-serializer-allocator.cc38 SerializerReference DefaultSerializerAllocator::Allocate(AllocationSpace space, in Allocate()
58 return SerializerReference::BackReference( in Allocate()
62 SerializerReference DefaultSerializerAllocator::AllocateMap() { in AllocateMap()
64 return SerializerReference::MapReference(num_maps_++); in AllocateMap()
67 SerializerReference DefaultSerializerAllocator::AllocateLargeObject( in AllocateLargeObject()
72 return SerializerReference::LargeObjectReference(seen_large_objects_index_++); in AllocateLargeObject()
75 SerializerReference DefaultSerializerAllocator::AllocateOffHeapBackingStore() { in AllocateOffHeapBackingStore()
77 return SerializerReference::OffHeapBackingStoreReference( in AllocateOffHeapBackingStore()
83 SerializerReference reference) const { in BackReferenceIsAlreadyAllocated()
Dbuiltin-serializer-allocator.h21 SerializerReference Allocate(AllocationSpace space, uint32_t size);
22 SerializerReference AllocateMap() { UNREACHABLE(); } in AllocateMap()
23 SerializerReference AllocateLargeObject(uint32_t size) { UNREACHABLE(); } in AllocateLargeObject()
24 SerializerReference AllocateOffHeapBackingStore() { UNREACHABLE(); } in AllocateOffHeapBackingStore()
28 SerializerReference back_reference) const;
Ddefault-serializer-allocator.h21 SerializerReference Allocate(AllocationSpace space, uint32_t size);
22 SerializerReference AllocateMap();
23 SerializerReference AllocateLargeObject(uint32_t size);
24 SerializerReference AllocateOffHeapBackingStore();
30 SerializerReference back_reference) const;
Dbuiltin-serializer-allocator.cc12 SerializerReference BuiltinSerializerAllocator::Allocate(AllocationSpace space, in Allocate()
22 SerializerReference::BuiltinReference(next_builtin_reference_index_); in Allocate()
32 SerializerReference reference) const { in BackReferenceIsAlreadyAllocated()
Dserializer.cc171 SerializerReference reference = reference_map_.LookupReference(obj); in SerializeBackReference()
282 SerializerReference reference) { in PutBackReference()
303 void Serializer<AllocatorT>::PutAttachedReference(SerializerReference reference, in PutAttachedReference()
372 SerializerReference back_reference; in SerializePrologue()
412 SerializerReference reference = in SerializeBackingStore()
684 SerializerReference back_reference = in SerializeDeferred()
Dserializer.h178 void PutBackReference(HeapObject* object, SerializerReference reference);
179 void PutAttachedReference(SerializerReference reference,
Dcode-serializer.cc118 SerializerReference back_reference = in SerializeReadOnlyObject()
119 SerializerReference::BackReference(RO_SPACE, chunk_index, chunk_offset); in SerializeReadOnlyObject()
263 SerializerReference reference = in SerializeCodeStub()
Dpartial-serializer.cc143 SerializerReference reference = reference_map()->LookupReference(*obj); in SerializeEmbedderFields()