Home | History | Annotate | Download | only in cctest

Lines Matching full:addr

756   bool Contains(Address addr) {
757 if (min_addr_ <= addr && addr <= max_addr_) {
761 return next_->Contains(addr);
767 size_t GetIndex(Address addr) {
768 if (min_addr_ <= addr && addr <= max_addr_) {
769 return addr - min_addr_;
772 return (max_addr_ - min_addr_ + 1) + next_->GetIndex(addr);
783 void RegisterAddress(Address addr) {
785 || (size_t)(addr > min_addr_ ?
786 addr - min_addr_ : min_addr_ - addr) < MAX_DELTA) {
787 if (addr < min_addr_) min_addr_ = addr;
788 if (addr > max_addr_) max_addr_ = addr;
791 next_->RegisterAddress(addr);
838 bool HasIndexForAddress(Address addr) {
839 return bounds.Contains(addr);
842 size_t GetIndexForAddress(Address addr) {
843 CHECK(HasIndexForAddress(addr));
844 return bounds.GetIndex(addr);
847 CodeEntityInfo GetEntity(Address addr) {
848 if (HasIndexForAddress(addr)) {
849 size_t idx = GetIndexForAddress(addr);
857 Address addr =
859 bounds.RegisterAddress(addr);
864 Address addr =
866 CHECK(HasIndexForAddress(addr));
868 return addr;
939 Address addr = result->ConsumeAddress(&start);
943 size_t idx = result->GetIndexForAddress(addr);
959 Address addr = result->ConsumeAddress(&start);
960 size_t idx = result->GetIndexForAddress(addr);
1018 bool is_equal, Address addr,
1020 printf("%c %p ", is_equal ? ' ' : '*', addr);
1157 for (Address addr = iter->raw_min_addr();
1158 addr <= iter->raw_max_addr(); ++addr) {
1159 CodeEntityInfo ref_entity = ref_result.GetEntity(addr);
1160 CodeEntityInfo new_entity = new_result.GetEntity(addr);
1164 PrintCodeEntitiesInfo(equal, addr, ref_entity, new_entity);