Home
last modified time | relevance | path

Searched refs:map_ (Results 1 – 25 of 36) sorted by relevance

12

/external/webrtc/src/system_wrappers/source/
Dmap.cc44 MapWrapper::MapWrapper() : map_() in MapWrapper()
50 if (!map_.empty()) in ~MapWrapper()
65 return (int)map_.size(); in Size()
70 map_[id] = new MapItem(id,ptr); in Insert()
76 std::map<int, MapItem*>::const_iterator it = map_.begin(); in First()
77 if (it != map_.end()) in First()
86 std::map<int, MapItem*>::const_reverse_iterator it = map_.rbegin(); in Last()
87 if (it != map_.rend()) in Last()
100 std::map<int, MapItem*>::const_iterator it = map_.find(item->item_id_); in Next()
101 if (it != map_.end()) in Next()
[all …]
/external/chromium/chrome/browser/policy/
Dpolicy_map.cc21 PolicyMapType::const_iterator entry = map_.find(policy); in Get()
22 return entry == map_.end() ? NULL : entry->second; in Get()
26 std::swap(map_[policy], value); in Set()
31 const const_iterator entry = map_.find(policy); in Erase()
32 if (entry != map_.end()) { in Erase()
34 map_.erase(entry->first); in Erase()
39 map_.swap(other->map_); in Swap()
43 return other.map_.size() == map_.size() && in Equals()
44 std::equal(map_.begin(), map_.end(), other.map_.begin(), MapEntryEquals); in Equals()
48 return map_.empty(); in empty()
[all …]
Dpolicy_map.h51 PolicyMapType map_; variable
/external/chromium/chrome/common/extensions/
Dextension_icon_set.cc14 map_.clear(); in Clear()
19 map_[size] = path; in Add()
26 IconMap::const_iterator result = map_.find(size); in Get()
27 return result == map_.end() ? std::string() : result->second; in Get()
29 IconMap::const_reverse_iterator result = map_.rend(); in Get()
30 for (IconMap::const_reverse_iterator iter = map_.rbegin(); in Get()
31 iter != map_.rend(); ++iter) { in Get()
37 return result == map_.rend() ? std::string() : result->second; in Get()
40 IconMap::const_iterator result = map_.end(); in Get()
41 for (IconMap::const_iterator iter = map_.begin(); iter != map_.end(); in Get()
[all …]
Dextension_icon_set.h20 const IconMap& map() const { return map_; } in map()
42 IconMap map_;
/external/chromium/net/disk_cache/
Dbitmap.cc47 map_ = new uint32[array_size_]; in Bitmap()
55 : map_(map), in Bitmap()
65 delete [] map_; in ~Bitmap()
69 DCHECK(alloc_ || !map_); in Resize()
78 memcpy(new_map, map_, in Resize()
79 sizeof(*map_) * std::min(array_size_, old_array_size)); in Resize()
81 delete[] map_; // No need to check for NULL. in Resize()
82 map_ = new_map; in Resize()
98 map_[j] |= (1 << i); in Set()
100 map_[j] &= ~(1 << i); in Set()
[all …]
Dbitmap.h16 Bitmap() : map_(NULL), num_bits_(0), array_size_(0), alloc_(false) {} in Bitmap()
44 memset(map_, (value ? 0xFF : 0x00), array_size_ * sizeof(*map_)); in SetAll()
68 const uint32* GetMap() const { return map_; } in GetMap()
126 uint32* map_; // The bitmap. variable
/external/valgrind/tsan/
Dts_heap_info.h48 iterator begin() { return ++map_.begin(); } in begin()
49 iterator end() { return --map_.end(); } in end()
51 size_t size() { return map_.size() - 2; } in size()
56 map_[a] = info; in InsertInfo()
61 map_.erase(a); in EraseInfo()
74 typename map_t::iterator it = map_.lower_bound(a); in GetInfo()
75 CHECK(it != map_.end()); in GetInfo()
81 CHECK(it != map_.begin()); in GetInfo()
94 map_.clear(); in Clear()
107 map_[max_info.ptr] = max_info; in Reset()
[all …]
/external/chromium/base/
Did_map.h120 : map_(map), in Iterator()
121 iter_(map_->data_.begin()) { in Iterator()
123 ++map_->iteration_depth_; in Iterator()
128 DCHECK(map_->CalledOnValidThread()); in ~Iterator()
129 if (--map_->iteration_depth_ == 0) in ~Iterator()
130 map_->Compact(); in ~Iterator()
134 DCHECK(map_->CalledOnValidThread()); in IsAtEnd()
135 return iter_ == map_->data_.end(); in IsAtEnd()
139 DCHECK(map_->CalledOnValidThread()); in GetCurrentKey()
144 DCHECK(map_->CalledOnValidThread()); in GetCurrentValue()
[all …]
/external/v8/src/
Dhashmap.cc59 allocator_->Delete(map_); in ~HashMap()
122 q = map_; in Remove()
133 Entry* r = map_ + (q->hash & (capacity_ - 1)); in Remove()
154 for (Entry* p = map_; p < end; p++) { in Clear()
162 return Next(map_ - 1); in Start()
168 ASSERT(map_ - 1 <= p && p < end); in Next()
182 Entry* p = map_ + (hash & (capacity_ - 1)); in Probe()
184 ASSERT(map_ <= p && p < end); in Probe()
190 p = map_; in Probe()
200 map_ = reinterpret_cast<Entry*>(allocator_->New(capacity * sizeof(Entry))); in Initialize()
[all …]
Dd8.h98 : map_(&map->hash_map_), entry_(map_->Start()) { } in Iterator()
99 void Next() { entry_ = map_->Next(entry_); } in Next()
104 i::HashMap* map_;
Dheap-profiler.cc964 map_(map) { in CountingRetainersIterator()
965 if (map_->Map(child_) == NULL) in CountingRetainersIterator()
966 map_->Pair(child_, allocator_, HeapEntriesMap::kHeapEntryPlaceholder); in CountingRetainersIterator()
971 if (map_->Map(ClusterAsHeapObject(cluster)) == NULL) in Call()
972 map_->Pair(ClusterAsHeapObject(cluster), in Call()
975 map_->CountReference(ClusterAsHeapObject(cluster), child_); in Call()
981 HeapEntriesMap* map_; member in v8::internal::CountingRetainersIterator
990 : child_(ClusterAsHeapObject(child_cluster)), map_(map) { in AllocatingRetainersIterator()
991 child_entry_ = map_->Map(child_); in AllocatingRetainersIterator()
998 map_->CountReference(ClusterAsHeapObject(cluster), in Call()
[all …]
Dhashmap.h108 Entry* map_; variable
112 Entry* map_end() const { return map_ + capacity_; } in map_end()
/external/v8/test/cctest/
Dtest-hashmap.cc46 explicit IntSet(IntKeyHash hash) : hash_(hash), map_(DefaultMatchFun) {} in IntSet()
50 HashMap::Entry* p = map_.Lookup(reinterpret_cast<void*>(x), hash_(x), true); in Insert()
58 map_.Remove(reinterpret_cast<void*>(x), hash_(x)); in Remove()
63 map_.Lookup(reinterpret_cast<void*>(x), hash_(x), false); in Present()
71 map_.Clear(); in Clear()
76 for (HashMap::Entry* p = map_.Start(); p != NULL; p = map_.Next(p)) { in occupancy()
79 CHECK_EQ(map_.occupancy(), static_cast<double>(count)); in occupancy()
85 HashMap map_; member in IntSet
/external/chromium/third_party/libjingle/source/talk/base/
Ddiskcache.cc110 map_.clear(); in Purge()
225 map_.erase(id); in DeleteResource()
233 for (EntryMap::iterator it = map_.begin(); it != map_.end(); ++it) { in CheckLimit()
242 EntryMap::iterator oldest = map_.end(); in CheckLimit()
243 for (EntryMap::iterator it = map_.begin(); it != map_.end(); ++it) { in CheckLimit()
249 if (oldest == map_.end()) { in CheckLimit()
253 for (EntryMap::iterator it = oldest++; it != map_.end(); ++it) { in CheckLimit()
316 EntryMap::iterator it = map_.find(id); in GetOrCreateEntry()
317 if (it != map_.end()) in GetOrCreateEntry()
327 it = map_.insert(EntryMap::value_type(id, e)).first; in GetOrCreateEntry()
/external/chromium/net/base/
Descape.cc32 map_[0] = b0; map_[1] = b1; map_[2] = b2; map_[3] = b3; in Charmap()
33 map_[4] = b4; map_[5] = b5; map_[6] = b6; map_[7] = b7; in Charmap()
37 return (map_[c >> 5] & (1 << (c & 31))) ? true : false; in Contains()
41 uint32 map_[8]; member in __anon7dba66cc0111::Charmap
/external/chromium/chrome/browser/debugger/
Dinspectable_tab_proxy.cc24 map_(map) {} in DevToolsClientHostImpl()
27 map_->erase(this->id_); in ~DevToolsClientHostImpl()
52 map_->erase(id_); in TabReplaced()
54 (*map_)[id_] = this; in TabReplaced()
/external/chromium/chrome/browser/extensions/
Dextension_tab_id_map.cc129 map_[render_id] = TabAndWindowId(tab_id, window_id); in SetTabAndWindowId()
136 map_.erase(render_id); in ClearTabAndWindowId()
143 TabAndWindowIdMap::iterator iter = map_.find(render_id); in GetTabAndWindowId()
144 if (iter != map_.end()) { in GetTabAndWindowId()
Dextension_tab_id_map.h51 TabAndWindowIdMap map_;
/external/chromium/chrome/browser/
Dplugin_exceptions_table_model.cc18 : map_(content_settings_map), in PluginExceptionsTableModel()
42 HostContentSettingsMap* map = entry.is_otr ? otr_map_ : map_; in RemoveRows()
68 map_->ClearSettingsForOneType(CONTENT_SETTINGS_TYPE_PLUGINS); in RemoveAll()
146 map_->GetSettingsForOneType(CONTENT_SETTINGS_TYPE_PLUGINS, in LoadSettings()
/external/chromium/chrome/browser/geolocation/
Dgeolocation_exceptions_table_model.cc66 : map_(map), in GeolocationExceptionsTableModel()
69 map_->GetAllOriginsSettings()); in GeolocationExceptionsTableModel()
103 map_->SetContentSetting(entry_origin, entry->embedding_origin, in RemoveRows()
132 map_->ResetToDefault(); in RemoveAll()
/external/chromium/chrome/browser/chromeos/
Dname_value_pairs_parser.cc23 : map_(map) { in NameValuePairsParser()
28 (*map_)[key] = value; in AddNameValuePair()
Dname_value_pairs_parser.h45 NameValueMap* map_; variable
/external/webkit/Tools/android/webkitmerge/webkitmerge.xcodeproj/
Dproject.pbxproj29 …07B940F8670E200F4A22F /* map_.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
58 FEE07B940F8670E200F4A22F /* map_.h */,
/external/protobuf/src/google/protobuf/
Ddynamic_message.cc433 Map map_; member
447 for (PrototypeMap::Map::iterator iter = prototypes_->map_.begin(); in ~DynamicMessageFactory()
448 iter != prototypes_->map_.end(); ++iter) { in ~DynamicMessageFactory()
465 const DynamicMessage::TypeInfo** target = &prototypes_->map_[type]; in GetPrototypeNoLock()

12