Lines Matching refs:num_bytes
79 size_t num_bytes) { in CopyObject() argument
85 num_bytes -= offset; in CopyObject()
89 while (num_bytes >= sizeof(uintptr_t)) { in CopyObject()
95 num_bytes -= sizeof(uintptr_t); in CopyObject()
98 if (sizeof(uintptr_t) != sizeof(uint32_t) && num_bytes >= sizeof(uint32_t)) { in CopyObject()
104 num_bytes -= sizeof(uint32_t); in CopyObject()
108 while (num_bytes > 0) { in CopyObject()
114 num_bytes -= sizeof(uint8_t); in CopyObject()
140 CopyObjectVisitor(Handle<Object>* orig, size_t num_bytes) in CopyObjectVisitor() argument
141 : orig_(orig), num_bytes_(num_bytes) {} in CopyObjectVisitor()
159 size_t num_bytes = SizeOf(); in Clone() local
163 CopyObjectVisitor visitor(&this_object, num_bytes); in Clone()
165 copy = heap->AllocObject<true>(self, GetClass(), num_bytes, visitor); in Clone()
167 copy = heap->AllocNonMovableObject<true>(self, GetClass(), num_bytes, visitor); in Clone()