Lines Matching refs:method_index
2217 for (uint32_t method_index : create_shuffled_range(methods_required_in_profile, in GenerateTestProfile() local
2221 flags |= ((method_index & 1) != 0) in GenerateTestProfile()
2224 data->AddMethod(static_cast<MethodHotness::Flag>(flags), method_index); in GenerateTestProfile()
2239 ProfileCompilationInfo::DexFileData::FindOrAddHotMethod(uint16_t method_index) { in FindOrAddHotMethod() argument
2240 if (method_index >= num_method_ids) { in FindOrAddHotMethod()
2241 LOG(ERROR) << "Invalid method index " << method_index << ". num_method_ids=" << num_method_ids; in FindOrAddHotMethod()
2245 method_index, in FindOrAddHotMethod()
2329 MethodHotness::Flag flag, size_t method_index) const { in MethodFlagBitmapIndex()
2330 DCHECK_LT(method_index, num_method_ids); in MethodFlagBitmapIndex()
2333 return method_index + FlagBitmapIndex(flag) * num_method_ids; in MethodFlagBitmapIndex()
2629 uint16_t method_index = method_entry.first; in WriteMethods() local
2634 DCHECK_GE(method_index, last_method_index); in WriteMethods()
2635 uint16_t diff_with_last_method_index = method_index - last_method_index; in WriteMethods()
2636 last_method_index = method_index; in WriteMethods()
2735 uint16_t method_index = 0; in ReadMethods() local
2748 if (diff_with_last_method_index >= num_valid_method_indexes - method_index) { in ReadMethods()
2752 method_index += diff_with_last_method_index; in ReadMethods()
2753 InlineCacheMap* inline_cache = FindOrAddHotMethod(method_index); in ReadMethods()