/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/ |
D | map.js | 66 this.map_ = {}; 89 this.map_[key.toString()] = new jspb.Map.Entry_(key, value); 103 var m = this.map_; 117 var entry = this.map_[strKeys[i]]; 164 this.map_ = {}; 179 var hadKey = this.map_.hasOwnProperty(keyValue); 180 delete this.map_[keyValue]; 200 var entry = this.map_[strKeys[i]]; 218 var entry = this.map_[strKeys[i]]; 234 var entry = this.map_[strKeys[i]]; [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | map_test.cc | 101 map_(*map_ptr_), in MapImplTest() 103 EXPECT_TRUE(map_.empty()); in MapImplTest() 104 EXPECT_EQ(0, map_.size()); in MapImplTest() 109 EXPECT_FALSE(map_.empty()); in ExpectSingleElement() 110 EXPECT_EQ(1, map_.size()); in ExpectSingleElement() 115 EXPECT_FALSE(map_.empty()); in ExpectElements() 116 EXPECT_EQ(map.size(), map_.size()); in ExpectElements() 125 EXPECT_EQ(value, map_[key]); in ExpectElement() 126 EXPECT_EQ(1, map_.count(key)); in ExpectElement() 129 EXPECT_EQ(value, map_.at(key)); in ExpectElement() [all …]
|
D | map_field_lite.h | 89 Map<Key, T>* map_; variable 101 map_ = new Map<Key, T>; in MapFieldLite() 112 map_ = Arena::CreateMessage<Map<Key, T> >(arena); in MapFieldLite() 122 delete map_; in ~MapFieldLite() local 132 return *map_; in GetMap() 142 return map_; in MutableMap() 152 return map_->size(); in size() 162 map_->clear(); in Clear() 173 for (typename Map<Key, T>::const_iterator it = other.map_->begin(); in MergeFrom() 174 it != other.map_->end(); ++it) { in MergeFrom() [all …]
|
D | map_field.h | 315 Map<MapKey, MapValueRef> map_; 331 map_ = reflection->MapData(message, field); in MapIterator() 334 map_->InitializeIterator(this); in MapIterator() 337 map_ = other.map_; in MapIterator() 338 map_->InitializeIterator(this); in MapIterator() 339 map_->CopyIterator(this, other); in MapIterator() 342 map_->DeleteIterator(this); in ~MapIterator() 345 return a.map_->EqualIterator(a, b); 348 return !a.map_->EqualIterator(a, b); 351 map_->IncreaseIterator(this); [all …]
|
D | map_field.cc | 163 for (Map<MapKey, MapValueRef>::iterator iter = map_.begin(); in ~DynamicMapField() 164 iter != map_.end(); ++iter) { in ~DynamicMapField() 167 map_.clear(); in ~DynamicMapField() 231 Map<MapKey, MapValueRef>::iterator iter = map_.find(map_key); in DeleteMapValue() 232 if (iter == map_.end()) { in DeleteMapValue() 238 map_.erase(iter); in DeleteMapValue() 244 return map_; in GetMap() 250 return &map_; in MutableMap() 257 if (iter == map_.end()) return; in SetMapIteratorValue() 280 for (Map<MapKey, MapValueRef>::const_iterator it = map_.begin(); in SyncRepeatedFieldWithMapNoLock() [all …]
|
D | map_entry_lite.h | 318 explicit Parser(MapField* mf) : mf_(mf), map_(mf->MutableMap()) {} 338 typename Map::size_type size = map_->size(); 339 value_ptr_ = &(*map_)[key_]; 340 if (GOOGLE_PREDICT_TRUE(size != map_->size())) { 347 map_->erase(key_); // Failure! Undo insertion. 374 value_ptr_ = &(*map_)[key_]; 401 map_->erase(key_); 408 Map* const map_;
|
D | map_field_test.cc | 120 map_ = map_field_->MutableMap(); in MapFieldBasePrimitiveTest() 123 map_->insert(initial_value_map_.begin(), initial_value_map_.end()); in MapFieldBasePrimitiveTest() 124 EXPECT_EQ(2, map_->size()); in MapFieldBasePrimitiveTest() 129 Map<int32, int32>* map_; member in google::protobuf::internal::MapFieldBasePrimitiveTest
|
D | dynamic_message.cc | 609 Map map_; member 623 for (PrototypeMap::Map::iterator iter = prototypes_->map_.begin(); in ~DynamicMessageFactory() 624 iter != prototypes_->map_.end(); ++iter) { in ~DynamicMessageFactory() 644 const DynamicMessage::TypeInfo** target = &prototypes_->map_[type]; in GetPrototypeNoLock()
|
D | descriptor_unittest.cc | 660 map_ = message3_->field(0); in SetUp() 694 const FieldDescriptor* map_; member in google::protobuf::descriptor_unittest::DescriptorTest 854 EXPECT_TRUE(map_->is_map()); in TEST_F() 856 EXPECT_TRUE(map_->message_type()->options().map_entry()); in TEST_F()
|
/frameworks/base/tools/aapt2/io/ |
D | Data.h | 97 explicit MmappedData(android::FileMap&& map) : map_(std::forward<android::FileMap>(map)) {} in MmappedData() 100 const void* data() const override { return map_.getDataPtr(); } in data() 102 size_t size() const override { return map_.getDataLength(); } in size() 105 if (next_read_ == map_.getDataLength()) { in Next() 108 *data = reinterpret_cast<const uint8_t*>(map_.getDataPtr()) + next_read_; in Next() 109 *size = map_.getDataLength() - next_read_; in Next() 110 next_read_ = map_.getDataLength(); in Next() 136 android::FileMap map_; variable
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlActionExecutor.h | 58 return map_[name]; 71 std::map<std::string, XmlNodeAction> map_; variable 83 return map_[name]; 91 std::map<std::string, XmlNodeAction> map_;
|
D | XmlActionExecutor.cpp | 60 std::map<std::string, XmlNodeAction>::const_iterator iter = map_.find(child_el->name); in Execute() 61 if (iter != map_.end()) { in Execute() 105 std::map<std::string, XmlNodeAction>::const_iterator iter = map_.find(el->name); in Execute() 106 if (iter != map_.end()) { in Execute()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/third_party/jsoncpp/ |
D | jsoncpp.cpp | 2734 value_.map_ = new ObjectValues(); in Value() 2831 value_.map_ = new ObjectValues(*other.value_.map_); in Value() 2869 delete value_.map_; in ~Value() 2946 int delta = int(value_.map_->size() - other.value_.map_->size()); in operator <() 2949 return (*value_.map_) < (*other.value_.map_); in operator <() 2999 return value_.map_->size() == other.value_.map_->size() && in operator ==() 3000 (*value_.map_) == (*other.value_.map_); in operator ==() 3237 (type_ == arrayValue && value_.map_->size() == 0) || in isConvertibleTo() 3238 (type_ == objectValue && value_.map_->size() == 0) || in isConvertibleTo() 3275 if (!value_.map_->empty()) { in size() [all …]
|
D | json.h | 977 ObjectValues* map_; member
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | Idmap.cpp | 52 if (map_.find(target_typeid) == map_.end()) { in Add() 53 map_.emplace(target_typeid, std::set<std::pair<ResourceId, ResourceId>>()); in Add() 55 map_[target_typeid].insert(std::make_pair(target_resid, overlay_resid)); in Add() 60 return map_; in Map() 65 std::map<TypeId, std::set<std::pair<ResourceId, ResourceId>>> map_; member in android::idmap2::__anon006ae2230111::MatchingResources
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/ |
D | objectivec_file.cc | 72 : map_(inout_proto_file_to_framework_name) {} in ProtoFrameworkCollector() 77 map<string, string>* map_; member in google::protobuf::compiler::objectivec::__anone59eeb250111::ImportWriter::ProtoFrameworkCollector 230 map_->find(proto_file.ToString()); in ConsumeLine() 231 if (existing_entry != map_->end()) { in ConsumeLine() 244 (*map_)[proto_file.ToString()] = framework_name.ToString(); in ConsumeLine()
|