Lines Matching full:bytesize
409 untagged_array(static_cast<E*>(malloc(ByteSize()))),
411 static_cast<int>(ByteSize()))) {
417 size_t ByteSize() { return num_elements * sizeof(E); }
421 memcpy(untagged_array, original_elements, ByteSize());
422 CHECK_EQ(static_cast<int>(ByteSize()), tagged_array->length());
424 memcpy(raw, original_elements, ByteSize());
542 CHECK_EQ(static_cast<int>(ByteSize()), tagged_array->length());