Lines Matching defs:object
21 void FreeUnreferencedObject(HeapHandle& heap_handle, T& object);
23 bool Resize(T& object, AdditionalBytes additional_bytes);
44 * Informs the garbage collector that `object` can be immediately reclaimed. The
48 * It is up to the embedder to guarantee that no other object holds a reference
49 * to `object` after calling `FreeUnreferencedObject()`. In case such a
57 * \param object Reference to an object that is of type `GarbageCollected` and
61 void FreeUnreferencedObject(HeapHandle& heap_handle, T& object) {
65 &object);
69 * Tries to resize `object` of type `T` with additional bytes on top of
77 * object down, the reclaimed area is not used anymore. Any subsequent use
80 * The `object` must be live when calling `Resize()`.
82 * \param object Reference to an object that is of type `GarbageCollected` and
84 * \param additional_bytes Bytes in addition to sizeof(T) that the object should
90 bool Resize(T& object, AdditionalBytes additional_bytes) {
94 &object, sizeof(T) + additional_bytes.value);