Lines Matching refs:__
434 #define __ output_-> macro
567 __ AddU4(sn); in WriteClassTable()
568 __ AddObjectId(c); in WriteClassTable()
569 __ AddStackTraceSerialNumber(LookupStackTraceSerialNumber(c)); in WriteClassTable()
570 __ AddStringId(LookupClassNameId(c)); in WriteClassTable()
585 __ AddU4(id); in WriteStringTable()
586 __ AddUtf8String(string.c_str()); in WriteStringTable()
662 __ AddU1List(reinterpret_cast<const uint8_t*>(magic), sizeof(magic)); in WriteFixedHeader()
669 __ AddU4(sizeof(uint32_t)); in WriteFixedHeader()
677 __ AddU4(static_cast<uint32_t>(nowMs >> 32)); in WriteFixedHeader()
679 __ AddU4(static_cast<uint32_t>(nowMs & 0xFFFFFFFF)); in WriteFixedHeader()
685 __ AddStackTraceSerialNumber(kHprofNullStackTrace); in WriteStackTraces()
686 __ AddU4(kHprofNullThread); in WriteStackTraces()
687 __ AddU4(0); // no frames in WriteStackTraces()
711 __ AddU4(frame_result->second); in WriteStackTraces()
712 __ AddStringId(LookupStringId(method->GetName())); in WriteStackTraces()
713 __ AddStringId(LookupStringId(method->GetSignature().ToString())); in WriteStackTraces()
718 __ AddStringId(LookupStringId(source_file)); in WriteStackTraces()
721 __ AddU4(class_result->second); in WriteStackTraces()
722 __ AddU4(frame->ComputeLineNumber()); in WriteStackTraces()
732 __ AddStackTraceSerialNumber(trace_sn); in WriteStackTraces()
733 __ AddU4(trace->GetTid()); in WriteStackTraces()
734 __ AddU4(depth); in WriteStackTraces()
739 __ AddU4(frame_result->second); in WriteStackTraces()
1001 __ AddU1(heap_tag); in MarkRootObject()
1002 __ AddObjectId(obj); in MarkRootObject()
1010 __ AddU1(heap_tag); in MarkRootObject()
1011 __ AddObjectId(obj); in MarkRootObject()
1012 __ AddJniGlobalRefId(jni_obj); in MarkRootObject()
1021 __ AddU1(heap_tag); in MarkRootObject()
1022 __ AddObjectId(obj); in MarkRootObject()
1023 __ AddU4(thread_serial); in MarkRootObject()
1024 __ AddU4((uint32_t)-1); in MarkRootObject()
1031 __ AddU1(heap_tag); in MarkRootObject()
1032 __ AddObjectId(obj); in MarkRootObject()
1033 __ AddU4(thread_serial); in MarkRootObject()
1040 __ AddU1(heap_tag); in MarkRootObject()
1041 __ AddObjectId(obj); in MarkRootObject()
1042 __ AddU4(thread_serial); in MarkRootObject()
1043 __ AddU4((uint32_t)-1); // xxx in MarkRootObject()
1133 __ AddU1(HPROF_HEAP_DUMP_INFO); in DumpHeapObject()
1134 __ AddU4(static_cast<uint32_t>(heap_type)); // uint32_t: heap type in DumpHeapObject()
1151 __ AddStringId(nameId); in DumpHeapObject()
1190 __ AddU1(HPROF_PRIMITIVE_ARRAY_DUMP); in DumpHeapClass()
1191 __ AddClassStaticsId(klass); in DumpHeapClass()
1192 __ AddStackTraceSerialNumber(LookupStackTraceSerialNumber(klass)); in DumpHeapClass()
1193 __ AddU4(overhead_size); in DumpHeapClass()
1194 __ AddU1(hprof_basic_byte); in DumpHeapClass()
1196 __ AddU1(0); in DumpHeapClass()
1200 __ AddU1(HPROF_CLASS_DUMP); in DumpHeapClass()
1201 __ AddClassId(LookupClassId(klass)); in DumpHeapClass()
1202 __ AddStackTraceSerialNumber(LookupStackTraceSerialNumber(klass)); in DumpHeapClass()
1203 __ AddClassId(LookupClassId(klass->GetSuperClass())); in DumpHeapClass()
1204 __ AddObjectId(klass->GetClassLoader()); in DumpHeapClass()
1205 __ AddObjectId(nullptr); // no signer in DumpHeapClass()
1206 __ AddObjectId(nullptr); // no prot domain in DumpHeapClass()
1207 __ AddObjectId(nullptr); // reserved in DumpHeapClass()
1208 __ AddObjectId(nullptr); // reserved in DumpHeapClass()
1212 __ AddU4(class_size_without_overhead); // instance size in DumpHeapClass()
1216 __ AddU4(sizeof(mirror::String)); in DumpHeapClass()
1218 __ AddU4(0); in DumpHeapClass()
1220 __ AddU4(klass->GetObjectSize()); // instance size in DumpHeapClass()
1223 __ AddU2(0); // empty const pool in DumpHeapClass()
1227 __ AddU2(static_cast<uint16_t>(0)); in DumpHeapClass()
1229 __ AddU2(static_cast<uint16_t>(num_static_fields + 1)); in DumpHeapClass()
1230 __ AddStringId(LookupStringId(kClassOverheadName)); in DumpHeapClass()
1231 __ AddU1(hprof_basic_object); in DumpHeapClass()
1232 __ AddClassStaticsId(klass); in DumpHeapClass()
1239 __ AddStringId(LookupStringId(f->GetName())); in DumpHeapClass()
1240 __ AddU1(t); in DumpHeapClass()
1243 __ AddU1(f->GetByte(klass)); in DumpHeapClass()
1246 __ AddU1(f->GetBoolean(klass)); in DumpHeapClass()
1249 __ AddU2(f->GetChar(klass)); in DumpHeapClass()
1252 __ AddU2(f->GetShort(klass)); in DumpHeapClass()
1257 __ AddU4(f->Get32(klass)); in DumpHeapClass()
1261 __ AddU8(f->Get64(klass)); in DumpHeapClass()
1273 __ AddU2((uint16_t)iFieldCount + 1); in DumpHeapClass()
1275 __ AddU2((uint16_t)iFieldCount); in DumpHeapClass()
1279 __ AddStringId(LookupStringId(f->GetName())); in DumpHeapClass()
1281 __ AddU1(t); in DumpHeapClass()
1285 __ AddStringId(LookupStringId("value")); in DumpHeapClass()
1286 __ AddU1(hprof_basic_object); in DumpHeapClass()
1295 __ AddU1(HPROF_OBJECT_ARRAY_DUMP); in DumpHeapArray()
1297 __ AddObjectId(obj); in DumpHeapArray()
1298 __ AddStackTraceSerialNumber(LookupStackTraceSerialNumber(obj)); in DumpHeapArray()
1299 __ AddU4(length); in DumpHeapArray()
1300 __ AddClassId(LookupClassId(klass)); in DumpHeapArray()
1303 __ AddIdList(obj->AsObjectArray<mirror::Object>()); in DumpHeapArray()
1310 __ AddU1(HPROF_PRIMITIVE_ARRAY_DUMP); in DumpHeapArray()
1312 __ AddObjectId(obj); in DumpHeapArray()
1313 __ AddStackTraceSerialNumber(LookupStackTraceSerialNumber(obj)); in DumpHeapArray()
1314 __ AddU4(length); in DumpHeapArray()
1315 __ AddU1(t); in DumpHeapArray()
1319 __ AddU1List(reinterpret_cast<const uint8_t*>(obj->GetRawData(sizeof(uint8_t), 0)), length); in DumpHeapArray()
1321 __ AddU2List(reinterpret_cast<const uint16_t*>(obj->GetRawData(sizeof(uint16_t), 0)), length); in DumpHeapArray()
1323 __ AddU4List(reinterpret_cast<const uint32_t*>(obj->GetRawData(sizeof(uint32_t), 0)), length); in DumpHeapArray()
1325 __ AddU8List(reinterpret_cast<const uint64_t*>(obj->GetRawData(sizeof(uint64_t), 0)), length); in DumpHeapArray()
1332 __ AddU1(HPROF_INSTANCE_DUMP); in DumpHeapInstanceObject()
1333 __ AddObjectId(obj); in DumpHeapInstanceObject()
1334 __ AddStackTraceSerialNumber(LookupStackTraceSerialNumber(obj)); in DumpHeapInstanceObject()
1335 __ AddClassId(LookupClassId(klass)); in DumpHeapInstanceObject()
1340 __ AddU4(0x77777777); in DumpHeapInstanceObject()
1354 __ AddU1(f->GetByte(obj)); in DumpHeapInstanceObject()
1357 __ AddU1(f->GetBoolean(obj)); in DumpHeapInstanceObject()
1360 __ AddU2(f->GetChar(obj)); in DumpHeapInstanceObject()
1363 __ AddU2(f->GetShort(obj)); in DumpHeapInstanceObject()
1370 __ AddU4(obj->AsString()->GetLength()); in DumpHeapInstanceObject()
1376 __ AddU4(f->Get32(obj)); in DumpHeapInstanceObject()
1380 __ AddU8(f->Get64(obj)); in DumpHeapInstanceObject()
1398 __ AddObjectId(string_value); in DumpHeapInstanceObject()
1405 __ UpdateU4(size_patch_offset, output_->Length() - (size_patch_offset + 4)); in DumpHeapInstanceObject()
1411 __ AddU1(HPROF_PRIMITIVE_ARRAY_DUMP); in DumpHeapInstanceObject()
1412 __ AddObjectId(string_value); in DumpHeapInstanceObject()
1413 __ AddStackTraceSerialNumber(LookupStackTraceSerialNumber(obj)); in DumpHeapInstanceObject()
1414 __ AddU4(s->GetLength()); in DumpHeapInstanceObject()
1416 __ AddU1(hprof_basic_byte); in DumpHeapInstanceObject()
1417 __ AddU1List(s->GetValueCompressed(), s->GetLength()); in DumpHeapInstanceObject()
1419 __ AddU1(hprof_basic_char); in DumpHeapInstanceObject()
1420 __ AddU2List(s->GetValue(), s->GetLength()); in DumpHeapInstanceObject()