Home
last modified time | relevance | path

Searched refs:mappings_ (Results 1 – 6 of 6) sorted by relevance

/external/perf_data_converter/src/quipper/
Daddress_mapper.cc17 mappings_ = other.mappings_; in AddressMapper()
21 for (auto iter = mappings_.begin(); iter != mappings_.end(); ++iter) { in AddressMapper()
63 MappingList::iterator old_range_iter = mappings_.end(); in MapWithID()
69 if (old_range_iter == mappings_.end() && iter->Covers(range) && in MapWithID()
83 if (old_range_iter != mappings_.end()) { in MapWithID()
142 mappings_.push_back(range); in MapWithID()
144 std::make_pair(range.real_addr, mappings_.begin())); in MapWithID()
149 if (mappings_.begin()->mapped_addr >= range.size + page_offset) { in MapWithID()
152 mappings_.begin()->mapped_addr - range.size - page_offset; in MapWithID()
153 mappings_.push_front(range); in MapWithID()
[all …]
Daddress_mapper.h62 bool IsEmpty() const { return mappings_.empty(); } in IsEmpty()
65 size_t GetNumMappedRanges() const { return mappings_.size(); } in GetNumMappedRanges()
142 MappingList mappings_; variable
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.cc81 mappings_(&allocator_), in LinuxDumper()
100 assert(!member || mapping_id < mappings_.size()); in ElfFileIdentifierForMapping()
136 mappings_[mapping_id]->name[filename_len - in ElfFileIdentifierForMapping()
330 if (name && !mappings_.empty()) { in EnumerateMappings()
331 MappingInfo* module = mappings_.back(); in EnumerateMappings()
344 if (!name && !mappings_.empty()) { in EnumerateMappings()
345 MappingInfo* module = mappings_.back(); in EnumerateMappings()
378 !mappings_.empty()) { in EnumerateMappings()
380 mappings_.resize(mappings_.size() + 1); in EnumerateMappings()
381 for (size_t idx = mappings_.size() - 1; idx > 0; idx--) in EnumerateMappings()
[all …]
Dlinux_dumper.h92 const wasteful_vector<MappingInfo*> &mappings() { return mappings_; } in mappings()
181 wasteful_vector<MappingInfo*> mappings_; variable
/external/protobuf/src/google/protobuf/compiler/
Dimporter.cc378 mappings_.push_back(Mapping(virtual_path, CanonicalizePath(disk_path))); in MapPath()
389 for (int i = 0; i < mappings_.size(); i++) { in DiskFileToVirtualFile()
391 if (ApplyMapping(canonical_disk_file, mappings_[i].disk_path, in DiskFileToVirtualFile()
392 mappings_[i].virtual_path, virtual_file)) { in DiskFileToVirtualFile()
406 if (ApplyMapping(*virtual_file, mappings_[i].virtual_path, in DiskFileToVirtualFile()
407 mappings_[i].disk_path, shadowing_disk_file)) { in DiskFileToVirtualFile()
455 for (int i = 0; i < mappings_.size(); i++) { in OpenVirtualFile()
457 if (ApplyMapping(virtual_file, mappings_[i].virtual_path, in OpenVirtualFile()
458 mappings_[i].disk_path, &temp_disk_file)) { in OpenVirtualFile()
Dimporter.h308 vector<Mapping> mappings_; variable