Lines Matching refs:second
40 most_used.emplace_back(pair.second, pair.first); in SortByOrder()
48 CHECK(ret.emplace(pair.second, current_index++).second); in SortByOrder()
55 return os << "{" << pair.first << ", " << pair.second << "}"; in operator <<()
80 sorted.emplace_back(pair.second, pair.first);
81 total += pair.second;
88 printer(os, pair.second);
127 pair.second.types_ = SortByOrder(pair.second.types_, Order::kMostUsed); in ProcessDexFiles()
128 pair.second.fields_ = SortByOrder(pair.second.fields_, Order::kMostUsed); in ProcessDexFiles()
129 pair.second.methods_ = SortByOrder(pair.second.methods_, Order::kMostUsed); in ProcessDexFiles()
130 pair.second.strings_ = SortByOrder(pair.second.strings_, Order::kMostUsed); in ProcessDexFiles()
135 if (method.GetCodeItem() == nullptr || !visited.insert(method.GetCodeItem()).second) { in ProcessDexFiles()
159 if (deduped.insert(buffer).second) { in ProcessDexFiles()
174 if (pair.second > 0 && !pair.first.empty()) { in Dump()
177 pairs.emplace_back((pair.second - 1) * (pair.first.size() - 1), pair.first); in Dump()
203 auto bytes = pairs[i].second; in Dump()
208 << Instruction::Name(static_cast<Instruction::Code>(pairs[i].second[0])) in Dump()
271 ++current_type.fields_.FindOrAdd(dex_field_idx)->second; in ProcessCodeItem()
280 ++current_type.types_.FindOrAdd(holder_type.index_)->second; in ProcessCodeItem()
281 ++types[holder_type.index_].fields_.FindOrAdd(dex_field_idx)->second; in ProcessCodeItem()
300 ++current_type.strings_.FindOrAdd(str_idx)->second; in ProcessCodeItem()
331 ++types[holder_type.index_].fields_.FindOrAdd(dex_field_idx)->second; in ProcessCodeItem()
341 ++types[current_class_type.index_].types_.FindOrAdd(holder_type.index_)->second; in ProcessCodeItem()
342 ++types[holder_type.index_].fields_.FindOrAdd(dex_field_idx)->second; in ProcessCodeItem()
367 ++current_type.types_.FindOrAdd(receiver_type.index_)->second; in ProcessCodeItem()
368 ++types[receiver_type.index_].methods_.FindOrAdd(method_idx)->second; in ProcessCodeItem()
442 ++current_type.types_.FindOrAdd(type_idx)->second; in ProcessCodeItem()
456 ++current_type.types_.FindOrAdd(type_idx)->second; in ProcessCodeItem()
472 ++current_type.types_.FindOrAdd(type_idx)->second; in ProcessCodeItem()