Home
last modified time | relevance | path

Searched refs:FindOrAppend (Results 1 – 1 of 1) sorted by relevance

/art/perfetto_hprof/
Dperfetto_hprof.cc102 uint64_t FindOrAppend(std::map<T, uint64_t>* m, const T& s) { in FindOrAppend() function
744 auto class_id = FindOrAppend(&interned_classes_, class_ptr); in WriteOneObject()
770 type_proto->set_id(FindOrAppend(&interned_classes_, reinterpret_cast<uintptr_t>(klass))); in WriteClass()
772 type_proto->set_location_id(FindOrAppend(&interned_locations_, klass->GetLocation())); in WriteClass()
777 type_proto->set_superclass_id(FindOrAppend( in WriteClass()
784 FindOrAppend(&interned_fields_, art_field->PrettyField(true))); in WriteClass()
798 auto class_id = FindOrAppend(&interned_classes_, class_ptr); in WriteSyntheticClassFromObj()
801 type_proto->set_location_id(FindOrAppend(&interned_locations_, obj->AsClass()->GetLocation())); in WriteSyntheticClassFromObj()
828 reference_field_ids_->Append(FindOrAppend(&interned_fields_, field_name)); in FillReferences()