Searched refs:types_ (Results 1 – 3 of 3) sorted by relevance
127 pair.second.types_ = SortByOrder(pair.second.types_, Order::kMostUsed); in ProcessDexFiles()280 ++current_type.types_.FindOrAdd(holder_type.index_)->second; in ProcessCodeItem()283 uint32_t type_idx = current_type.types_.Get(holder_type.index_); in ProcessCodeItem()341 ++types[current_class_type.index_].types_.FindOrAdd(holder_type.index_)->second; in ProcessCodeItem()344 uint32_t type_idx = current_type.types_.Get(holder_type.index_); in ProcessCodeItem()367 ++current_type.types_.FindOrAdd(receiver_type.index_)->second; in ProcessCodeItem()388 uint32_t type_idx = current_type.types_.Get(receiver_type.index_); in ProcessCodeItem()442 ++current_type.types_.FindOrAdd(type_idx)->second; in ProcessCodeItem()444 uint32_t local_type = current_type.types_.Get(type_idx); in ProcessCodeItem()456 ++current_type.types_.FindOrAdd(type_idx)->second; in ProcessCodeItem()[all …]
47 SafeMap<size_t, size_t> types_; member
38 : strings_(), types_(), fields_(), protos_(), dex_file_data_() { in TestDexFileBuilder()50 types_.emplace(descriptor, 0u); in AddType()117 for (auto& entry : types_) { in Build()121 header->type_ids_size_ = types_.size(); in Build()122 header->type_ids_off_ = types_.empty() ? 0u : type_ids_offset; in Build()124 uint32_t proto_ids_offset = type_ids_offset + types_.size() * sizeof(dex::TypeId); in Build()178 for (const auto& entry : types_) { in Build()257 auto it = types_.find(type); in GetTypeIdx()258 CHECK(it != types_.end()); in GetTypeIdx()391 std::map<std::string, uint32_t> types_; variable