Home | History | Annotate | Download | only in mirror

Lines Matching defs:SizeOf

36 inline size_t Array::SizeOf() {
70 size_t component_shift = sizeof(size_t) * 8 - 1 - CLZ(component_size);
159 CHECK_EQ(result->SizeOf(), size);
161 CHECK_GE(result->SizeOf(), size);
174 Array* raw_array = Array::Alloc<true>(self, GetArrayClass(), length, sizeof(T),
220 // Copies are guaranteed not to tear when the sizeof T is less-than 64bit.
233 // Copies are guaranteed not to tear when the sizeof T is less-than 64bit.
265 void* dst_raw = GetRawData(sizeof(T), dst_pos);
266 const void* src_raw = src->GetRawData(sizeof(T), src_pos);
267 if (sizeof(T) == sizeof(uint8_t)) {
273 if (sizeof(T) == sizeof(uint16_t)) {
281 } else if (sizeof(T) == sizeof(uint32_t)) {
290 DCHECK_EQ(sizeof(T), sizeof(uint64_t));
320 void* dst_raw = GetRawData(sizeof(T), dst_pos);
321 const void* src_raw = src->GetRawData(sizeof(T), src_pos);
322 if (sizeof(T) == sizeof(uint8_t)) {
324 } else if (sizeof(T) == sizeof(uint16_t)) {
328 } else if (sizeof(T) == sizeof(uint32_t)) {
333 DCHECK_EQ(sizeof(T), sizeof(uint64_t));