/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
rtp_header_extension_unittest.cc | 29 RtpHeaderExtensionMap map_; member in class:webrtc::RtpHeaderExtensionTest 36 EXPECT_EQ(0, map_.Size()); 37 EXPECT_EQ(0, map_.Register(kRtpExtensionTransmissionTimeOffset, kId)); 38 EXPECT_TRUE(map_.IsRegistered(kRtpExtensionTransmissionTimeOffset)); 39 EXPECT_EQ(1, map_.Size()); 40 EXPECT_EQ(0, map_.Deregister(kRtpExtensionTransmissionTimeOffset)); 41 EXPECT_EQ(0, map_.Size()); 43 EXPECT_EQ(0, map_.RegisterInactive(kRtpExtensionTransmissionTimeOffset, kId)); 44 EXPECT_EQ(0, map_.Size()); 45 EXPECT_TRUE(map_.IsRegistered(kRtpExtensionTransmissionTimeOffset)) [all...] |
/art/libartbase/base/ |
safe_map.h | 50 : map_(cmp, allocator) { 54 map_ = rhs.map_; 58 allocator_type get_allocator() const { return map_.get_allocator(); } 59 key_compare key_comp() const { return map_.key_comp(); } 60 value_compare value_comp() const { return map_.value_comp(); } 62 iterator begin() { return map_.begin(); } 63 const_iterator begin() const { return map_.begin(); } 64 iterator end() { return map_.end(); } 65 const_iterator end() const { return map_.end(); 163 ::std::map<K, V, Comparator, Allocator> map_; member in class:art::SafeMap [all...] |
/system/extras/perfprofd/ |
map_utils.h | 38 auto aggr_it = GetLeqIterator(map_, val); 39 if (aggr_it == map_.end()) { 41 if (!map_.empty()) { 42 AggregatedSymbol& first = map_.begin()->second; 43 CHECK_LT(val, map_.begin()->first); 45 ExtendLeft(map_.begin(), val); 50 map_.emplace(val, AggregatedSymbol(sym, val)); 66 if (aggr_it != map_.end() && aggr_it->second.symbol == sym) { 72 map_.emplace(val, AggregatedSymbol(sym, val)); 95 map_.erase(aggr_it) 123 RangeMapType map_; member in class:android::perfprofd::RangeMap [all...] |
/external/libbrillo/brillo/ |
map_utils_unittest.cc | 16 map_ = { 21 void TearDown() override { map_.clear(); } 23 std::map<std::string, int> map_; member in class:brillo::MapUtilsTest 27 std::set<std::string> keys = GetMapKeys(map_); 33 std::vector<std::string> keys = GetMapKeysAsVector(map_); 39 std::vector<int> values = GetMapValues(map_); 44 std::vector<std::pair<std::string, int>> elements = MapToVector(map_);
|
/external/perfetto/src/traced/probes/filesystem/ |
range_tree.cc | 24 auto lower = map_.upper_bound(inode); 25 if (lower != map_.begin()) 33 auto lower = map_.rbegin(); 34 if (!map_.empty()) { 38 if (map_.empty() || !lower->second.Add(value)) { 39 PERFETTO_DCHECK(map_[inode].Add(value));
|
lru_inode_cache.cc | 22 const auto& map_it = map_.find(k); 23 if (map_it == map_.end()) { 35 auto it = map_.find(k); 43 if (map_it != map_.end()) { 48 map_.emplace(std::move(k), list_.begin()); 51 if (map_.size() > capacity_) { 54 map_.erase(list_last_it->first);
|
/external/v8/src/ |
address-map.cc | 14 map_ = isolate->root_index_map(); 15 if (map_ != NULL) return; 16 map_ = new HeapObjectToIndexHashMap(); 25 Maybe<uint32_t> maybe_index = map_->Get(heap_object); 30 map_->Set(heap_object, i); 39 isolate->set_root_index_map(map_);
|
identity-map.h | 125 index_ = map_->NextIndex(index_); 130 map_->DeleteIndex(index_); 131 index_ = map_->NextIndex(index_); 135 V* operator*() { return reinterpret_cast<V*>(map_->EntryAtIndex(index_)); } 136 V* operator->() { return reinterpret_cast<V*>(map_->EntryAtIndex(index_)); } 140 Iterator(IdentityMap* map, int index) : map_(map), index_(index) {} 142 IdentityMap* map_; member in class:v8::internal::IdentityMap::Iterator 150 explicit IteratableScope(IdentityMap* map) : map_(map) { 151 CHECK(!map_->is_iterable()); 152 map_->EnableIteration() 163 IdentityMap* map_; member in class:v8::internal::IdentityMap::IteratableScope [all...] |
/external/google-breakpad/src/processor/ |
module_comparer.cc | 112 iter1 = basic_module->functions_.map_.begin(); 113 iter2 = fast_module->functions_.map_.begin(); 114 while (iter1 != basic_module->functions_.map_.end() 115 && iter2 != fast_module->functions_.map_.end()) { 123 ASSERT_TRUE(iter1 == basic_module->functions_.map_.end()); 124 ASSERT_TRUE(iter2 == fast_module->functions_.map_.end()); 131 iter1 = basic_module->public_symbols_.map_.begin(); 132 iter2 = fast_module->public_symbols_.map_.begin(); 133 while (iter1 != basic_module->public_symbols_.map_.end() 134 && iter2 != fast_module->public_symbols_.map_.end()) [all...] |
contained_range_map-inl.h | 72 if (!map_) 73 map_ = new AddressToRangeMap(); 75 MapIterator iterator_base = map_->lower_bound(base); 76 MapIterator iterator_high = map_->lower_bound(high); 77 MapIterator iterator_end = map_->end(); 137 map_->erase(iterator_base, iterator_high); 144 map_->insert(MapValue(high, 158 if (!map_) 167 MapConstIterator iterator = map_->lower_bound(address); 168 if (iterator == map_->end() || address < iterator->second->base_ [all...] |
basic_code_modules.cc | 50 map_(new RangeMap<uint64_t, linked_ptr<const CodeModule> >()) { 69 if (!map_->StoreRange(module->base_address(), module->size(), module)) { 78 map_(new RangeMap<uint64_t, linked_ptr<const CodeModule> >()) { 82 delete map_; 86 return map_->GetCount(); 92 if (!map_->RetrieveRange(address, &module, NULL, NULL)) { 107 if (!map_->RetrieveRangeAtIndex(sequence, &module, NULL, NULL)) {
|
/external/v8/src/wasm/ |
signature-map.cc | 12 auto pos = map_.find(sig); 13 if (pos != map_.end()) { 17 map_[sig] = index; 23 auto pos = map_.find(sig); 24 if (pos != map_.end()) {
|
/external/v8/src/snapshot/ |
serializer-common.cc | 16 map_ = isolate->external_reference_map(); 20 if (map_ != nullptr) return; 21 map_ = new AddressToIndexHashMap(); 26 if (table->is_api_reference(i) && !map_->Get(addr).IsNothing()) continue; 27 DCHECK(map_->Get(addr).IsNothing()); 28 map_->Set(addr, i); 29 DCHECK(map_->Get(addr).IsJust()); 31 isolate->set_external_reference_map(map_); 35 Maybe<uint32_t> maybe_index = map_->Get(address); 50 Maybe<uint32_t> maybe_index = map_->Get(address) [all...] |
startup-serializer.h | 35 PartialCacheIndexMap() : map_(), next_index_(0) {} 40 Maybe<uint32_t> maybe_index = map_.Get(obj); 46 map_.Set(obj, next_index_++); 52 HeapObjectToIndexHashMap map_; member in class:v8::internal::StartupSerializer::PartialCacheIndexMap
|
/external/libchrome/base/ |
id_map.h | 136 Iterator(IDMap<V, K>* map) : map_(map), iter_(map_->data_.begin()) { 141 : map_(iter.map_), 147 map_ = iter.map; 154 DCHECK(map_->sequence_checker_.CalledOnValidSequence()); 158 DCHECK_LT(0, map_->iteration_depth_); 160 if (--map_->iteration_depth_ == 0) 161 map_->Compact(); 165 DCHECK(map_->sequence_checker_.CalledOnValidSequence()) 200 IDMap<V, K>* map_; member in class:final::Iterator [all...] |
/external/v8/src/compiler/ |
register-allocator-verifier.h | 132 : map_(zone), map_for_moves_(zone), zone_(zone) {} 133 void Drop(InstructionOperand operand) { map_.erase(operand); } 136 auto existent = map_.find(operand); 137 if (existent != map_.end()) { 139 map_.erase(existent); 141 map_.insert( 148 CHECK(map_.empty()); 150 map_.insert(other->map_.begin(), other->map_.end()) 158 OperandMap map_; member in class:v8::internal::compiler::BlockAssessments 225 ZoneMap<InstructionOperand, int, OperandAsKeyLess> map_; member in class:v8::internal::compiler::final::DelayedAssessments [all...] |
/system/bt/service/ipc/binder/ |
remote_callback_map.h | 106 CallbackMap map_; member in class:ipc::binder::final 131 if (map_.find(key) != map_.end()) { 144 map_[key] = dr; 155 auto iter = map_.find(key); 156 if (iter == map_.end()) { 168 auto iter = map_.find(key); 169 if (iter == map_.end()) return nullptr; 178 auto iter = map_.find(key); 179 if (iter == map_.end()) return nullptr [all...] |
/hardware/libhardware/modules/camera/3_4/metadata/ |
map_converter_test.cpp | 35 dut_.reset(new MapConverter<int, int32_t, int32_t>(converter_, map_)); 51 const std::map<int32_t, int32_t> map_{{10, 1}, {40, 4}, {20, 2}, {30, 3}}; 56 auto kv = map_.begin(); 62 auto kv = map_.begin(); 68 auto kv = map_.begin(); 75 auto kv = map_.begin(); 81 auto kv = map_.rbegin(); 95 auto kv = map_.begin();
|
/hardware/qcom/display/msm8909/sdm/include/utils/ |
factory.h | 43 map_.insert(std::pair<std::string, Creator>(name, creator)); 49 typename std::map<std::string, Creator>::iterator it = map_.find(name); 50 if (it != map_.end()) { 58 std::map<std::string, Creator> map_; member in class:sdm::Factory
|
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/ |
factory.h | 43 map_.insert(std::pair<std::string, Creator>(name, creator)); 49 typename std::map<std::string, Creator>::iterator it = map_.find(name); 50 if (it != map_.end()) { 58 std::map<std::string, Creator> map_; member in class:sdm::Factory
|
/hardware/qcom/display/msm8998/sdm/include/utils/ |
factory.h | 43 map_.insert(std::pair<std::string, Creator>(name, creator)); 49 typename std::map<std::string, Creator>::iterator it = map_.find(name); 50 if (it != map_.end()) { 58 std::map<std::string, Creator> map_; member in class:sdm::Factory
|
/external/jsoncpp/src/lib_json/ |
json_valueiterator.inl | 42 iterator_.map_ = state; 52 return ValueInternalMap::value(iterator_.map_); 62 ValueInternalMap::increment(iterator_.map_); 72 ValueInternalMap::decrement(iterator_.map_); 107 return ValueInternalMap::distance(iterator_.map_, other.iterator_.map_); 120 return ValueInternalMap::equals(iterator_.map_, other.iterator_.map_); 131 iterator_.map_ = other.iterator_.map_; [all...] |
/external/protobuf/src/google/protobuf/ |
map_field_lite.h | 89 Map<Key, T>* map_; member in class:google::protobuf::internal::MapFieldLite 101 map_ = new Map<Key, T>; 112 map_ = Arena::CreateMessage<Map<Key, T> >(arena); 122 delete map_; 132 return *map_; 142 return map_; 152 return map_->size(); 162 map_->clear(); 173 for (typename Map<Key, T>::const_iterator it = other.map_->begin(); 174 it != other.map_->end(); ++it) [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
map_field_lite.h | 89 Map<Key, T>* map_; member in class:google::protobuf::internal::MapFieldLite 101 map_ = new Map<Key, T>; 112 map_ = Arena::CreateMessage<Map<Key, T> >(arena); 122 delete map_; 132 return *map_; 142 return map_; 152 return map_->size(); 162 map_->clear(); 173 for (typename Map<Key, T>::const_iterator it = other.map_->begin(); 174 it != other.map_->end(); ++it) [all...] |
/art/runtime/ |
dex_reference_collection.h | 45 : map_(map_allocator), 53 return map_; 58 for (auto&& pair : map_) { 65 DexFileMap map_; member in class:art::DexReferenceCollection 76 current_vector_ = &map_.emplace(dex, IndexVector(vector_allocator_)).first->second;
|