Lines Matching refs:map
68 Input_merge_map* map = this->get_input_merge_map(shndx); in get_or_make_input_merge_map() local
69 if (map != NULL) in get_or_make_input_merge_map()
73 gold_assert(map->merge_map == merge_map); in get_or_make_input_merge_map()
74 return map; in get_or_make_input_merge_map()
105 Input_merge_map* map = this->get_or_make_input_merge_map(merge_map, shndx); in add_mapping() local
108 if (!map->entries.empty()) in add_mapping()
110 Input_merge_entry& entry(map->entries.back()); in add_mapping()
123 map->sorted = false; in add_mapping()
139 map->entries.push_back(entry); in add_mapping()
150 Input_merge_map* map = this->get_input_merge_map(shndx); in get_output_offset() local
151 if (map == NULL in get_output_offset()
152 || (merge_map != NULL && map->merge_map != merge_map)) in get_output_offset()
155 if (!map->sorted) in get_output_offset()
157 std::sort(map->entries.begin(), map->entries.end(), in get_output_offset()
159 map->sorted = true; in get_output_offset()
165 std::upper_bound(map->entries.begin(), map->entries.end(), in get_output_offset()
167 if (p == map->entries.begin()) in get_output_offset()
188 Input_merge_map* map = this->get_input_merge_map(shndx); in is_merge_section_for() local
189 return map != NULL && map->merge_map == merge_map; in is_merge_section_for()
202 Input_merge_map* map = this->get_input_merge_map(shndx); in initialize_input_to_output_map() local
203 gold_assert(map != NULL); in initialize_input_to_output_map()
209 reserve_unordered_map(initialize_map, map->entries.size() * 2); in initialize_input_to_output_map()
211 for (Input_merge_map::Entries::const_iterator p = map->entries.begin(); in initialize_input_to_output_map()
212 p != map->entries.end(); in initialize_input_to_output_map()