Lines Matching refs:size

717   size_t size;  in SignatureToBasicTypeAndSize()  local
721 case 'L': ret = hprof_basic_object; size = 4; break; in SignatureToBasicTypeAndSize()
722 case 'Z': ret = hprof_basic_boolean; size = 1; break; in SignatureToBasicTypeAndSize()
723 case 'C': ret = hprof_basic_char; size = 2; break; in SignatureToBasicTypeAndSize()
724 case 'F': ret = hprof_basic_float; size = 4; break; in SignatureToBasicTypeAndSize()
725 case 'D': ret = hprof_basic_double; size = 8; break; in SignatureToBasicTypeAndSize()
726 case 'B': ret = hprof_basic_byte; size = 1; break; in SignatureToBasicTypeAndSize()
727 case 'S': ret = hprof_basic_short; size = 2; break; in SignatureToBasicTypeAndSize()
729 case 'I': ret = hprof_basic_int; size = 4; break; in SignatureToBasicTypeAndSize()
730 case 'J': ret = hprof_basic_long; size = 8; break; in SignatureToBasicTypeAndSize()
734 *sizeOut = size; in SignatureToBasicTypeAndSize()
742 size_t size; in PrimitiveToBasicTypeAndSize() local
745 case Primitive::kPrimBoolean: ret = hprof_basic_boolean; size = 1; break; in PrimitiveToBasicTypeAndSize()
746 case Primitive::kPrimChar: ret = hprof_basic_char; size = 2; break; in PrimitiveToBasicTypeAndSize()
747 case Primitive::kPrimFloat: ret = hprof_basic_float; size = 4; break; in PrimitiveToBasicTypeAndSize()
748 case Primitive::kPrimDouble: ret = hprof_basic_double; size = 8; break; in PrimitiveToBasicTypeAndSize()
749 case Primitive::kPrimByte: ret = hprof_basic_byte; size = 1; break; in PrimitiveToBasicTypeAndSize()
750 case Primitive::kPrimShort: ret = hprof_basic_short; size = 2; break; in PrimitiveToBasicTypeAndSize()
752 case Primitive::kPrimInt: ret = hprof_basic_int; size = 4; break; in PrimitiveToBasicTypeAndSize()
753 case Primitive::kPrimLong: ret = hprof_basic_long; size = 8; break; in PrimitiveToBasicTypeAndSize()
757 *sizeOut = size; in PrimitiveToBasicTypeAndSize()
955 size_t size; in DumpHeapObject() local
956 HprofBasicType t = SignatureToBasicTypeAndSize(f->GetTypeDescriptor(), &size); in DumpHeapObject()
959 if (size == 1) { in DumpHeapObject()
961 } else if (size == 2) { in DumpHeapObject()
963 } else if (size == 4) { in DumpHeapObject()
965 } else if (size == 8) { in DumpHeapObject()
998 size_t size; in DumpHeapObject() local
999 … HprofBasicType t = PrimitiveToBasicTypeAndSize(c->GetComponentType()->GetPrimitiveType(), &size); in DumpHeapObject()
1010 if (size == 1) { in DumpHeapObject()
1012 } else if (size == 2) { in DumpHeapObject()
1014 } else if (size == 4) { in DumpHeapObject()
1016 } else if (size == 8) { in DumpHeapObject()
1039 size_t size; in DumpHeapObject() local
1040 SignatureToBasicTypeAndSize(f->GetTypeDescriptor(), &size); in DumpHeapObject()
1041 if (size == 1) { in DumpHeapObject()
1043 } else if (size == 2) { in DumpHeapObject()
1045 } else if (size == 4) { in DumpHeapObject()
1048 CHECK_EQ(size, 8U); in DumpHeapObject()