Searched refs:map_ (Results 1 - 25 of 113) sorted by relevance

12345

/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Drtp_header_extension_unittest.cc29 RtpHeaderExtensionMap map_; member in class:webrtc::RtpHeaderExtensionTest
36 EXPECT_EQ(0, map_.Size());
37 EXPECT_EQ(0, map_.Register(kRtpExtensionTransmissionTimeOffset, kId));
38 EXPECT_EQ(1, map_.Size());
39 EXPECT_EQ(0, map_.Deregister(kRtpExtensionTransmissionTimeOffset));
40 EXPECT_EQ(0, map_.Size());
45 EXPECT_EQ(-1, map_.Register(kRtpExtensionTransmissionTimeOffset, 0));
46 EXPECT_EQ(-1, map_.Register(kRtpExtensionTransmissionTimeOffset, 15));
50 EXPECT_EQ(0, map_.Register(kRtpExtensionTransmissionTimeOffset, kId));
51 EXPECT_EQ(0, map_
[all...]
/external/chromium_org/chrome/browser/android/thumbnail/
H A Dscoped_ptr_expiring_cache.h26 map_[key] = value.release();
31 iterator iter = map_.find(key);
32 if (iter != map_.end())
38 iterator iter = map_.find(key);
39 if (iter != map_.end()) {
41 map_.erase(key);
46 for (iterator iter = map_.begin(); iter != map_.end(); iter++) {
49 map_.clear();
52 iterator begin() { return map_
67 LinkedHashMap map_; member in class:ScopedPtrExpiringCache
[all...]
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_memory_mapping.h24 MemoryMapping() : map_(NULL), size_(0) {}
28 void* Get() { return map_; }
43 map_ = ::mmap(address, size_, static_cast<int>(prot), flags, fd, 0);
44 if (map_ == MAP_FAILED) {
45 map_ = NULL;
55 if (!map_ || ::mprotect(map_, size_, static_cast<int>(prot)) < 0)
62 if (map_) {
63 ::munmap(map_, size_);
64 map_
69 void* map_; member in class:crazy::MemoryMapping
[all...]
/external/webrtc/src/system_wrappers/source/
H A Dmap.cc44 MapWrapper::MapWrapper() : map_()
50 if (!map_.empty())
65 return (int)map_.size();
70 map_[id] = new MapItem(id,ptr);
76 std::map<int, MapItem*>::const_iterator it = map_.begin();
77 if (it != map_.end())
86 std::map<int, MapItem*>::const_reverse_iterator it = map_.rbegin();
87 if (it != map_.rend())
100 std::map<int, MapItem*>::const_iterator it = map_.find(item->item_id_);
101 if (it != map_
[all...]
/external/chromium_org/extensions/common/
H A Dextension_icon_set.cc15 map_.clear();
20 map_[size] = path;
27 IconMap::const_iterator result = map_.find(size);
28 return result == map_.end() ? base::EmptyString() : result->second;
30 IconMap::const_reverse_iterator result = map_.rend();
31 for (IconMap::const_reverse_iterator iter = map_.rbegin();
32 iter != map_.rend(); ++iter) {
38 return result == map_.rend() ? base::EmptyString() : result->second;
41 IconMap::const_iterator result = map_.end();
42 for (IconMap::const_iterator iter = map_
[all...]
H A Dextension_icon_set.h28 const IconMap& map() const { return map_; }
29 bool empty() const { return map_.empty(); }
49 IconMap map_; member in class:ExtensionIconSet
/external/chromium_org/chrome/browser/content_settings/
H A Dmock_settings_observer.cc13 : map_(map), observer_(this) {
14 observer_.Add(map_);
26 OnContentSettingsChanged(map_,
35 map_->GetContentSetting(
/external/chromium_org/components/invalidation/
H A Dobject_id_invalidation_map.cc27 for (IdToListMap::const_iterator it = map_.begin(); it != map_.end(); ++it) {
34 return map_.empty();
38 map_[invalidation.object_id()].Insert(invalidation);
45 IdToListMap::const_iterator lookup = map_.find(*it);
46 if (lookup != map_.end()) {
55 IdToListMap::const_iterator lookup = map_.find(id);
56 DCHECK(lookup != map_.end());
63 for (IdToListMap::const_iterator it = map_.begin(); it != map_
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dapp_icon_loader_impl.cc44 STLDeleteContainerPairFirstPointers(map_.begin(), map_.end());
48 for (ImageToExtensionIDMap::const_iterator i = map_.begin();
49 i != map_.end(); ++i) {
65 // |map_| takes ownership of |image|.
66 map_[image] = id;
75 for (ImageToExtensionIDMap::iterator i = map_.begin();
76 i != map_.end(); ++i) {
79 map_.erase(i);
86 for (ImageToExtensionIDMap::iterator i = map_
[all...]
/external/chromium_org/net/disk_cache/blockfile/
H A Dbitmap.cc47 map_ = new uint32[array_size_];
55 : map_(map),
65 delete [] map_;
69 DCHECK(alloc_ || !map_);
78 memcpy(new_map, map_,
79 sizeof(*map_) * std::min(array_size_, old_array_size));
81 delete[] map_; // No need to check for NULL.
82 map_ = new_map;
98 map_[j] |= (1 << i);
100 map_[
[all...]
H A Dbitmap.h16 Bitmap() : map_(NULL), num_bits_(0), array_size_(0), alloc_(false) {}
44 memset(map_, (value ? 0xFF : 0x00), array_size_ * sizeof(*map_));
68 const uint32* GetMap() const { return map_; }
126 uint32* map_; // The bitmap. member in class:disk_cache::Bitmap
/external/chromium_org/components/copresence/
H A Dtimed_map.h38 map_[key] = value;
40 while (map_.size() > max_elements_)
46 return map_.find(key) != map_.end();
51 typename std::map<KeyType, ValueType>::const_iterator elt = map_.find(key);
52 return elt == map_.end() ? kEmptyValue : elt->second;
67 map_.erase(expiry_queue_.top().first);
90 std::map<KeyType, ValueType> map_; member in class:copresence::TimedMap
/external/chromium_org/content/browser/cocoa/
H A Dsystem_hotkey_helper_mac.h32 SystemHotkeyMap* map() { return map_.get(); }
49 scoped_ptr<SystemHotkeyMap> map_; member in class:content::SystemHotkeyHelperMac
/external/chromium_org/base/i18n/
H A Dtimezone.cc25 std::map<std::string, std::string>::iterator iter = map_.find(olson_code);
26 if (iter != map_.end())
463 map_[olson_code_data[i].olson_code] = olson_code_data[i].country_code;
586 map_[link_data[i].old_code] = map_[link_data[i].new_code];
592 std::map<std::string, std::string> map_; member in class:base::__anon2296::TimezoneMap
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dstatic_dict.h31 std::unordered_map<std::string, int>::const_iterator it = map_.find(str);
32 if (it != map_.end() && ix >= it->second) {
35 map_[str] = ix;
52 std::unordered_map<std::string, int>::const_iterator it = map_.find(str);
53 if (it == map_.end()) {
62 std::unordered_map<std::string, int> map_; member in class:brotli::StaticDictionary
/external/chromium_org/extensions/browser/
H A Derror_map.cc96 EntryMap::const_iterator iter = map_.find(extension_id);
97 return iter != map_.end() ? *iter->second->list() : g_empty_error_list.Get();
101 EntryMap::iterator iter = map_.find(error->extension_id());
102 if (iter == map_.end()) {
103 iter = map_.insert(std::pair<std::string, ExtensionEntry*>(
110 EntryMap::iterator iter = map_.find(extension_id);
111 if (iter == map_.end())
115 map_.erase(iter);
120 EntryMap::iterator iter = map_.find(extension_id);
121 if (iter != map_
[all...]
/external/chromium_org/content/renderer/dom_storage/
H A Ddom_storage_cached_area.cc35 return map_->Length();
41 return map_->Key(index);
48 base::NullableString16 result = map_->GetItem(key);
67 if (!map_->SetItem(key, value, &unused))
84 if (!map_->RemoveItem(key, &unused))
98 map_ = new DOMStorageMap(kPerStorageAreaQuota);
111 if (!map_.get() || ignore_all_mutations_)
116 scoped_refptr<DOMStorageMap> old = map_;
117 map_ = new DOMStorageMap(kPerStorageAreaQuota);
127 map_
[all...]
/external/chromium_org/net/base/
H A Dlinked_hash_map.h45 linked_hash_map() : map_(), list_() {
106 map_.clear();
118 typename MapType::iterator found = map_.find(key);
119 if (found == map_.end()) return 0;
122 map_.erase(found);
131 typename MapType::iterator found = map_.find(position->first);
136 map_.erase(found);
150 typename MapType::iterator found = map_.find(key);
151 if (found == map_.end()) {
158 typename MapType::const_iterator found = map_
226 MapType map_; member in class:linked_hash_map
[all...]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Ddir_node.cc35 for (NodeMap_t::iterator it = map_.begin(); it != map_.end(); ++it) {
93 NodeMap_t::iterator it = map_.find(name);
94 if (it != map_.end()) {
100 map_[name] = node;
107 NodeMap_t::iterator it = map_.find(name);
108 if (it != map_.end()) {
110 map_.erase(it);
121 NodeMap_t::iterator it = map_.find(name);
122 if (it == map_
[all...]
/external/chromium_org/base/
H A Did_map.h138 : map_(map),
139 iter_(map_->data_.begin()) {
144 : map_(iter.map_),
150 map_ = iter.map;
157 DCHECK(map_->CalledOnValidThread());
161 DCHECK_LT(0, map_->iteration_depth_);
163 if (--map_->iteration_depth_ == 0)
164 map_->Compact();
168 DCHECK(map_
203 IDMap<T, OS>* map_; member in class:IDMap::Iterator
[all...]
/external/chromium_org/components/policy/core/common/
H A Dpolicy_map.cc64 PolicyMapType::const_iterator entry = map_.find(policy);
65 return entry == map_.end() ? NULL : &entry->second;
69 PolicyMapType::const_iterator entry = map_.find(policy);
70 return entry == map_.end() ? NULL : entry->second.value;
78 Entry& entry = map_[policy];
87 PolicyMapType::iterator it = map_.find(policy);
88 if (it != map_.end()) {
90 map_.erase(it);
95 map_.swap(other->map_);
[all...]
H A Dschema_map.cc17 map_.swap(map);
23 return map_;
27 DomainMap::const_iterator it = map_.find(domain);
28 return it == map_.end() ? NULL : &it->second;
95 for (DomainMap::const_iterator domain = map_.begin();
96 domain != map_.end(); ++domain) {
115 for (DomainMap::const_iterator domain = map_.begin();
116 domain != map_.end(); ++domain) {
/external/chromium_org/content/browser/dom_storage/
H A Ddom_storage_area.cc64 map_(new DOMStorageMap(kPerStorageAreaQuota +
86 map_(new DOMStorageMap(kPerStorageAreaQuota +
107 map_->ExtractValues(map);
114 return map_->Length();
121 return map_->Key(index);
128 return map_->GetItem(key);
137 if (!map_->HasOneRef())
138 map_ = map_->DeepCopy();
139 bool success = map_
[all...]
/external/chromium_org/ui/gfx/image/
H A Dimage_family.cc32 map_[MapKey(1.0f, 0)] = image;
36 map_[MapKey(aspect, size.width())] = image;
45 if (map_.empty())
73 map_.lower_bound(MapKey(desired_aspect, 0));
75 if (greater_or_equal != map_.end() &&
83 if (greater_or_equal != map_.begin()) {
90 if (greater_or_equal != map_.end()) {
99 DCHECK(greater_or_equal != map_.end());
114 map_.lower_bound(MapKey(aspect, width));
115 if (greater_or_equal != map_
[all...]
/external/chromium_org/ppapi/proxy/
H A Dresource_reply_thread_registrar.cc44 map_[resource][sequence_number] = reply_thread;
50 map_.erase(resource);
63 ResourceMap::iterator resource_iter = map_.find(reply_params.pp_resource());
64 if (resource_iter != map_.end()) {

Completed in 633 milliseconds

12345