• Home
  • Raw
  • Download

Lines Matching refs:__

433 #define __ output_->  macro
569 __ AddU4(sn); in WriteClassTable()
570 __ AddObjectId(c); in WriteClassTable()
571 __ AddStackTraceSerialNumber(LookupStackTraceSerialNumber(c)); in WriteClassTable()
572 __ AddStringId(LookupClassNameId(c)); in WriteClassTable()
587 __ AddU4(id); in WriteStringTable()
588 __ AddUtf8String(string.c_str()); in WriteStringTable()
664 __ AddU1List(reinterpret_cast<const uint8_t*>(magic), sizeof(magic)); in WriteFixedHeader()
671 __ AddU4(sizeof(uint32_t)); in WriteFixedHeader()
679 __ AddU4(static_cast<uint32_t>(nowMs >> 32)); in WriteFixedHeader()
681 __ AddU4(static_cast<uint32_t>(nowMs & 0xFFFFFFFF)); in WriteFixedHeader()
687 __ AddStackTraceSerialNumber(kHprofNullStackTrace); in WriteStackTraces()
688 __ AddU4(kHprofNullThread); in WriteStackTraces()
689 __ AddU4(0); // no frames in WriteStackTraces()
713 __ AddU4(frame_result->second); in WriteStackTraces()
714 __ AddStringId(LookupStringId(method->GetName())); in WriteStackTraces()
715 __ AddStringId(LookupStringId(method->GetSignature().ToString())); in WriteStackTraces()
720 __ AddStringId(LookupStringId(source_file)); in WriteStackTraces()
723 __ AddU4(class_result->second); in WriteStackTraces()
724 __ AddU4(frame->ComputeLineNumber()); in WriteStackTraces()
734 __ AddStackTraceSerialNumber(trace_sn); in WriteStackTraces()
735 __ AddU4(trace->GetTid()); in WriteStackTraces()
736 __ AddU4(depth); in WriteStackTraces()
741 __ AddU4(frame_result->second); in WriteStackTraces()
995 __ AddU1(heap_tag); in MarkRootObject()
996 __ AddObjectId(obj); in MarkRootObject()
1004 __ AddU1(heap_tag); in MarkRootObject()
1005 __ AddObjectId(obj); in MarkRootObject()
1006 __ AddJniGlobalRefId(jni_obj); in MarkRootObject()
1015 __ AddU1(heap_tag); in MarkRootObject()
1016 __ AddObjectId(obj); in MarkRootObject()
1017 __ AddU4(thread_serial); in MarkRootObject()
1018 __ AddU4((uint32_t)-1); in MarkRootObject()
1025 __ AddU1(heap_tag); in MarkRootObject()
1026 __ AddObjectId(obj); in MarkRootObject()
1027 __ AddU4(thread_serial); in MarkRootObject()
1034 __ AddU1(heap_tag); in MarkRootObject()
1035 __ AddObjectId(obj); in MarkRootObject()
1036 __ AddU4(thread_serial); in MarkRootObject()
1037 __ AddU4((uint32_t)-1); // xxx in MarkRootObject()
1144 __ AddU1(HPROF_HEAP_DUMP_INFO); in DumpHeapObject()
1145 __ AddU4(static_cast<uint32_t>(heap_type)); // uint32_t: heap type in DumpHeapObject()
1162 __ AddStringId(nameId); in DumpHeapObject()
1239 __ AddU1(HPROF_PRIMITIVE_ARRAY_DUMP); in DumpHeapClass()
1240 __ AddClassStaticsId(klass); in DumpHeapClass()
1241 __ AddStackTraceSerialNumber(LookupStackTraceSerialNumber(klass)); in DumpHeapClass()
1242 __ AddU4(java_heap_overhead_size - 4); in DumpHeapClass()
1243 __ AddU1(hprof_basic_byte); in DumpHeapClass()
1245 __ AddU1(0); in DumpHeapClass()
1252 __ AddU1(HPROF_CLASS_DUMP); in DumpHeapClass()
1253 __ AddClassId(LookupClassId(klass)); in DumpHeapClass()
1254 __ AddStackTraceSerialNumber(LookupStackTraceSerialNumber(klass)); in DumpHeapClass()
1255 __ AddClassId(LookupClassId(klass->GetSuperClass().Ptr())); in DumpHeapClass()
1256 __ AddObjectId(klass->GetClassLoader().Ptr()); in DumpHeapClass()
1257 __ AddObjectId(nullptr); // no signer in DumpHeapClass()
1258 __ AddObjectId(nullptr); // no prot domain in DumpHeapClass()
1259 __ AddObjectId(nullptr); // reserved in DumpHeapClass()
1260 __ AddObjectId(nullptr); // reserved in DumpHeapClass()
1265 __ AddU4(0); in DumpHeapClass()
1269 __ AddU4(sizeof(mirror::String)); in DumpHeapClass()
1271 __ AddU4(0); in DumpHeapClass()
1273 __ AddU4(klass->GetObjectSize()); // instance size in DumpHeapClass()
1276 __ AddU2(0); // empty const pool in DumpHeapClass()
1289 __ AddU2(dchecked_integral_cast<uint16_t>(static_fields_reported)); in DumpHeapClass()
1292 __ AddStringId(LookupStringId(kClassOverheadName)); in DumpHeapClass()
1295 __ AddU1(hprof_basic_object); in DumpHeapClass()
1296 __ AddClassStaticsId(klass); in DumpHeapClass()
1301 __ AddU1(hprof_basic_int); in DumpHeapClass()
1302 __ AddU4(0); in DumpHeapClass()
1308 __ AddU1(hprof_basic_short); in DumpHeapClass()
1309 __ AddU2(0); in DumpHeapClass()
1315 __ AddU1(hprof_basic_short); in DumpHeapClass()
1316 __ AddU2(0); in DumpHeapClass()
1317 __ AddStringId(LookupStringId(std::string(kClassOverheadName) + "2")); in DumpHeapClass()
1323 __ AddU1(hprof_basic_byte); in DumpHeapClass()
1324 __ AddU1(0); in DumpHeapClass()
1338 __ AddStringId(LookupStringId(name_fn(field))); in DumpHeapClass()
1342 __ AddU1(t); in DumpHeapClass()
1345 __ AddU1(field.GetByte(klass)); in DumpHeapClass()
1348 __ AddU1(field.GetBoolean(klass)); in DumpHeapClass()
1351 __ AddU2(field.GetChar(klass)); in DumpHeapClass()
1354 __ AddU2(field.GetShort(klass)); in DumpHeapClass()
1359 __ AddU4(field.Get32(klass)); in DumpHeapClass()
1363 __ AddU8(field.Get64(klass)); in DumpHeapClass()
1397 __ AddU2((uint16_t)iFieldCount + 1); in DumpHeapClass()
1399 __ AddU2((uint16_t)iFieldCount); in DumpHeapClass()
1403 __ AddStringId(LookupStringId(f->GetName())); in DumpHeapClass()
1405 __ AddU1(t); in DumpHeapClass()
1409 __ AddStringId(LookupStringId("value")); in DumpHeapClass()
1410 __ AddU1(hprof_basic_object); in DumpHeapClass()
1412 __ AddStringId(LookupStringId("runtimeInternalObjects")); in DumpHeapClass()
1413 __ AddU1(hprof_basic_object); in DumpHeapClass()
1418 __ AddU1(HPROF_OBJECT_ARRAY_DUMP); in DumpFakeObjectArray()
1419 __ AddObjectId(obj); in DumpFakeObjectArray()
1420 __ AddStackTraceSerialNumber(LookupStackTraceSerialNumber(obj)); in DumpFakeObjectArray()
1421 __ AddU4(elements.size()); in DumpFakeObjectArray()
1422 __ AddClassId(LookupClassId(GetClassRoot<mirror::ObjectArray<mirror::Object>>().Ptr())); in DumpFakeObjectArray()
1424 __ AddObjectId(e); in DumpFakeObjectArray()
1433 __ AddU1(HPROF_OBJECT_ARRAY_DUMP); in DumpHeapArray()
1435 __ AddObjectId(obj); in DumpHeapArray()
1436 __ AddStackTraceSerialNumber(LookupStackTraceSerialNumber(obj)); in DumpHeapArray()
1437 __ AddU4(length); in DumpHeapArray()
1438 __ AddClassId(LookupClassId(klass)); in DumpHeapArray()
1441 __ AddIdList(obj->AsObjectArray<mirror::Object>().Ptr()); in DumpHeapArray()
1448 __ AddU1(HPROF_PRIMITIVE_ARRAY_DUMP); in DumpHeapArray()
1450 __ AddObjectId(obj); in DumpHeapArray()
1451 __ AddStackTraceSerialNumber(LookupStackTraceSerialNumber(obj)); in DumpHeapArray()
1452 __ AddU4(length); in DumpHeapArray()
1453 __ AddU1(t); in DumpHeapArray()
1457 __ AddU1List(reinterpret_cast<const uint8_t*>(obj->GetRawData(sizeof(uint8_t), 0)), length); in DumpHeapArray()
1459 __ AddU2List(reinterpret_cast<const uint16_t*>(obj->GetRawData(sizeof(uint16_t), 0)), length); in DumpHeapArray()
1461 __ AddU4List(reinterpret_cast<const uint32_t*>(obj->GetRawData(sizeof(uint32_t), 0)), length); in DumpHeapArray()
1463 __ AddU8List(reinterpret_cast<const uint64_t*>(obj->GetRawData(sizeof(uint64_t), 0)), length); in DumpHeapArray()
1472 __ AddU1(HPROF_INSTANCE_DUMP); in DumpHeapInstanceObject()
1473 __ AddObjectId(obj); in DumpHeapInstanceObject()
1474 __ AddStackTraceSerialNumber(LookupStackTraceSerialNumber(obj)); in DumpHeapInstanceObject()
1475 __ AddClassId(LookupClassId(klass)); in DumpHeapInstanceObject()
1480 __ AddU4(0x77777777); in DumpHeapInstanceObject()
1495 __ AddU1(f->GetByte(obj)); in DumpHeapInstanceObject()
1498 __ AddU1(f->GetBoolean(obj)); in DumpHeapInstanceObject()
1501 __ AddU2(f->GetChar(obj)); in DumpHeapInstanceObject()
1504 __ AddU2(f->GetShort(obj)); in DumpHeapInstanceObject()
1511 __ AddU4(obj->AsString()->GetLength()); in DumpHeapInstanceObject()
1517 __ AddU4(f->Get32(obj)); in DumpHeapInstanceObject()
1521 __ AddU8(f->Get64(obj)); in DumpHeapInstanceObject()
1539 __ AddObjectId(string_value); in DumpHeapInstanceObject()
1544 __ AddObjectId(fake_object_array); in DumpHeapInstanceObject()
1550 __ UpdateU4(size_patch_offset, output_->Length() - (size_patch_offset + 4)); in DumpHeapInstanceObject()
1556 __ AddU1(HPROF_PRIMITIVE_ARRAY_DUMP); in DumpHeapInstanceObject()
1557 __ AddObjectId(string_value); in DumpHeapInstanceObject()
1558 __ AddStackTraceSerialNumber(LookupStackTraceSerialNumber(obj)); in DumpHeapInstanceObject()
1559 __ AddU4(s->GetLength()); in DumpHeapInstanceObject()
1561 __ AddU1(hprof_basic_byte); in DumpHeapInstanceObject()
1562 __ AddU1List(s->GetValueCompressed(), s->GetLength()); in DumpHeapInstanceObject()
1564 __ AddU1(hprof_basic_char); in DumpHeapInstanceObject()
1565 __ AddU2List(s->GetValue(), s->GetLength()); in DumpHeapInstanceObject()