/art/runtime/base/ |
D | allocator.h | 71 std::ostream& operator<<(std::ostream& os, const AllocatorTag& tag); 75 static bool Add(uint32_t tag, AtomicInteger* bytes_used); 77 static void RegisterAllocation(AllocatorTag tag, uint64_t bytes) { in RegisterAllocation() argument 78 total_bytes_used_[tag].FetchAndAddSequentiallyConsistent(bytes); in RegisterAllocation() 79 uint64_t new_bytes = bytes_used_[tag].FetchAndAddSequentiallyConsistent(bytes) + bytes; in RegisterAllocation() 80 max_bytes_used_[tag].StoreRelaxed(std::max(max_bytes_used_[tag].LoadRelaxed(), new_bytes)); in RegisterAllocation() 82 static void RegisterFree(AllocatorTag tag, uint64_t bytes) { in RegisterFree() argument 83 bytes_used_[tag].FetchAndSubSequentiallyConsistent(bytes); in RegisterFree()
|
D | logging_android.cc | 34 const char* tag = ProgramInvocationShortName(); in LogLine() local 37 LOG_PRI(priority, tag, "%s:%d] %s", data.file, data.line_number, message); in LogLine() 39 LOG_PRI(priority, tag, "%s", message); in LogLine()
|
/art/compiler/utils/ |
D | array_ref.h | 43 struct tag { }; struct 71 typename std::enable_if<std::is_same<T, const U>::value, tag>::type t = tag()) 81 typename std::enable_if<std::is_same<T, const U>::value, tag>::type t = tag()) 91 typename std::enable_if<std::is_same<T, const U>::value, tag>::type t = tag())
|
/art/runtime/ |
D | debugger.cc | 518 static bool IsPrimitiveTag(JDWP::JdwpTag tag) { in IsPrimitiveTag() argument 519 switch (tag) { in IsPrimitiveTag() 1253 JDWP::JdwpError Dbg::GetObjectTag(JDWP::ObjectId object_id, uint8_t& tag) { in GetObjectTag() argument 1259 tag = TagFromObject(soa, o); in GetObjectTag() 1263 size_t Dbg::GetTagWidth(JDWP::JdwpTag tag) { in GetTagWidth() argument 1264 switch (tag) { in GetTagWidth() 1288 LOG(FATAL) << "Unknown tag " << tag; in GetTagWidth() 1761 JDWP::JdwpTag tag = BasicTagFromDescriptor(m->GetShorty()); in OutputMethodReturnValue() local 1762 OutputJValue(tag, return_value, pReply); in OutputMethodReturnValue() 1768 JDWP::JdwpTag tag = BasicTagFromDescriptor(f->GetTypeDescriptor()); in OutputFieldValue() local [all …]
|
D | elf_file.cc | 1384 std::unique_ptr<DebugTag> tag(new DebugTag(index)); in Create() local 1385 tag->size_ = static_cast<uint32_t>( in Create() 1388 tag->tag_ = DecodeUnsignedLeb128(&data); in Create() 1389 tag->has_child_ = (*data == 0); in Create() 1404 tag->AddAttribute(attr, static_cast<uint32_t>(size)); in Create() 1407 return tag.release(); in Create() 1465 std::unique_ptr<DebugTag> tag(DebugTag::Create(&dbg_abbrev)); in Create() local 1466 if (tag.get() == nullptr) { in Create() 1469 abbrev->tags_.insert(std::pair<uint32_t, uint32_t>(tag->index_, abbrev->tag_list_.size())); in Create() 1470 abbrev->tag_list_.push_back(std::move(tag)); in Create()
|
D | debugger.h | 284 static JDWP::JdwpError GetObjectTag(JDWP::ObjectId object_id, uint8_t& tag) 286 static size_t GetTagWidth(JDWP::JdwpTag tag); 411 static void OutputJValue(JDWP::JdwpTag tag, const JValue* return_value, JDWP::ExpandBuf* pReply) 653 JDWP::JdwpTag tag, uint8_t* buf, size_t width) 656 static JDWP::JdwpError SetLocalValue(StackVisitor& visitor, int slot, JDWP::JdwpTag tag,
|
/art/compiler/ |
D | elf_writer_quick.h | 89 void AddDynamicTag(Elf32_Sword tag, Elf32_Word d_un); 90 void AddDynamicTag(Elf32_Sword tag, Elf32_Word offset, ElfSectionBuilder* section);
|
D | elf_writer_quick.cc | 632 void ElfWriterQuick::ElfDynamicBuilder::AddDynamicTag(Elf32_Sword tag, Elf32_Word d_un) { in AddDynamicTag() argument 633 if (tag == DT_NULL) { in AddDynamicTag() 636 dynamics_.push_back({nullptr, tag, d_un}); in AddDynamicTag() 639 void ElfWriterQuick::ElfDynamicBuilder::AddDynamicTag(Elf32_Sword tag, Elf32_Word d_un, in AddDynamicTag() argument 641 if (tag == DT_NULL) { in AddDynamicTag() 644 dynamics_.push_back({section, tag, d_un}); in AddDynamicTag()
|
/art/runtime/jdwp/ |
D | jdwp_event.cc | 1001 uint8_t tag; in PostFieldEvent() local 1004 tag = Dbg::TagFromObject(soa, basket.thisPtr); in PostFieldEvent() 1015 expandBufAdd1(pReq, tag); in PostFieldEvent() 1272 JDWP::JdwpTypeTag tag = Dbg::GetTypeTag(basket.locationClass); in PostClassPrepare() local 1303 expandBufAdd1(pReq, tag); in PostClassPrepare()
|
D | jdwp_handler.cc | 67 uint8_t tag; in WriteTaggedObject() local 68 JdwpError rc = Dbg::GetObjectTag(object_id, tag); in WriteTaggedObject() 70 expandBufAdd1(reply, tag); in WriteTaggedObject()
|
/art/runtime/hprof/ |
D | hprof.cc | 189 int StartNewRecord(FILE* fp, uint8_t tag, uint32_t time) { in StartNewRecord() argument 196 tag_ = tag; in StartNewRecord()
|