Lines Matching refs:Handle
80 static void reportStructCounter(StructHashMap::Handle &Handle) { in reportStructCounter() argument
83 StructInfo *Struct = Handle->Struct; in reportStructCounter()
102 Struct->Size, Handle->Count, Handle->Ratio, *Struct->ArrayCounter); in reportStructCounter()
117 static void computeStructRatio(StructHashMap::Handle &Handle) { in computeStructRatio() argument
118 Handle->Ratio = 0; in computeStructRatio()
119 Handle->Count = Handle->Struct->FieldCounters[0]; in computeStructRatio()
120 for (u32 i = 1; i < Handle->Struct->NumFields; ++i) { in computeStructRatio()
121 Handle->Count += Handle->Struct->FieldCounters[i]; in computeStructRatio()
122 Handle->Ratio += computeDifferenceRatio( in computeStructRatio()
123 Handle->Struct->FieldCounters[i - 1], Handle->Struct->FieldCounters[i]); in computeStructRatio()
125 Ctx->TotalCount += Handle->Count; in computeStructRatio()
126 if (Handle->Ratio >= (u64)getFlags()->report_threshold || in computeStructRatio()
127 (Verbosity() >= 1 && Handle->Count > 0)) in computeStructRatio()
128 reportStructCounter(Handle); in computeStructRatio()
134 StructHashMap::Handle H(&Ctx->StructMap, (uptr)Struct->FieldCounters); in registerStructInfo()
152 StructHashMap::Handle H(&Ctx->StructMap, (uptr)Struct->FieldCounters, true); in unregisterStructInfo()