/third_party/protobuf/src/google/protobuf/ |
D | map_test_util.h | 71 const MapKey& map_key, MapValueRef* map_val); 280 EXPECT_EQ(fdesc->containing_type()->map_key(), fdesc); in MapReflectionTester() 500 MapKey map_key; in SetMapFieldsViaMapReflection() local 501 map_key.SetInt32Value(0); in SetMapFieldsViaMapReflection() 503 map_key, &map_val)); in SetMapFieldsViaMapReflection() 506 map_key.SetInt64Value(0); in SetMapFieldsViaMapReflection() 508 map_key, &map_val)); in SetMapFieldsViaMapReflection() 511 map_key.SetUInt32Value(0); in SetMapFieldsViaMapReflection() 513 message, F("map_uint32_uint32"), map_key, &map_val)); in SetMapFieldsViaMapReflection() 516 map_key.SetUInt64Value(0); in SetMapFieldsViaMapReflection() [all …]
|
D | map_field_inl.h | 50 T UnwrapMapKey(const MapKey& map_key); 52 inline int32 UnwrapMapKey<int32>(const MapKey& map_key) { 53 return map_key.GetInt32Value(); 56 inline uint32 UnwrapMapKey<uint32>(const MapKey& map_key) { 57 return map_key.GetUInt32Value(); 60 inline int64 UnwrapMapKey<int64>(const MapKey& map_key) { 61 return map_key.GetInt64Value(); 64 inline uint64 UnwrapMapKey<uint64>(const MapKey& map_key) { 65 return map_key.GetUInt64Value(); 68 inline bool UnwrapMapKey<bool>(const MapKey& map_key) { [all …]
|
D | map_field.cc | 192 bool DynamicMapField::ContainsMapKey(const MapKey& map_key) const { in ContainsMapKey() 194 Map<MapKey, MapValueRef>::const_iterator iter = map.find(map_key); in ContainsMapKey() 230 bool DynamicMapField::InsertOrLookupMapValue(const MapKey& map_key, in InsertOrLookupMapValue() argument 235 Map<MapKey, MapValueRef>::iterator iter = map->find(map_key); in InsertOrLookupMapValue() 237 MapValueRef& map_val = map_[map_key]; in InsertOrLookupMapValue() 248 bool DynamicMapField::DeleteMapValue(const MapKey& map_key) { in DeleteMapValue() argument 250 Map<MapKey, MapValueRef>::iterator iter = map_.find(map_key); in DeleteMapValue() 362 const FieldDescriptor* key_des = default_entry_->GetDescriptor()->map_key(); in SyncRepeatedFieldWithMapNoLock() 380 const MapKey& map_key = it->first; in SyncRepeatedFieldWithMapNoLock() local 383 reflection->SetString(new_entry, key_des, map_key.GetStringValue()); in SyncRepeatedFieldWithMapNoLock() [all …]
|
D | map_field.h | 299 virtual bool ContainsMapKey(const MapKey& map_key) const = 0; 300 virtual bool InsertOrLookupMapValue(const MapKey& map_key, 306 virtual bool DeleteMapValue(const MapKey& map_key) = 0; 459 bool ContainsMapKey(const MapKey& map_key) const override; 460 bool InsertOrLookupMapValue(const MapKey& map_key, MapValueRef* val) override; 461 bool DeleteMapValue(const MapKey& map_key) override; 555 bool ContainsMapKey(const MapKey& map_key) const override; 556 bool InsertOrLookupMapValue(const MapKey& map_key, MapValueRef* val) override; 557 bool DeleteMapValue(const MapKey& map_key) override; 803 size_t operator()(const ::PROTOBUF_NAMESPACE_ID::MapKey& map_key) const { [all …]
|
D | map_field_test.cc | 75 bool ContainsMapKey(const MapKey& map_key) const override { return false; } in ContainsMapKey() 76 bool InsertOrLookupMapValue(const MapKey& map_key, in InsertOrLookupMapValue() argument 80 bool DeleteMapValue(const MapKey& map_key) override { return false; } in DeleteMapValue() argument 110 key_descriptor_ = map_descriptor_->map_key(); in MapFieldBasePrimitiveTest()
|
D | descriptor_unittest.cc | 1004 const FieldDescriptor* map_key = map_desc->map_key(); in TEST_F() local 1005 ASSERT_TRUE(map_key != nullptr); in TEST_F() 1006 EXPECT_EQ(map_key->name(), "key"); in TEST_F() 1007 EXPECT_EQ(map_key->number(), 1); in TEST_F() 1014 EXPECT_EQ(message_->map_key(), nullptr); in TEST_F()
|
D | descriptor.h | 495 const FieldDescriptor* map_key() const;
|
D | map_test.cc | 2901 MapKey map_key; in TEST_F() local 2903 map_key.SetInt32Value(0); in TEST_F() 2905 message.get(), "map_int32_foreign_message", map_key, &map_val); in TEST_F()
|
D | descriptor.cc | 1709 const FieldDescriptor* Descriptor::map_key() const { in map_key() function in google::protobuf::Descriptor 6246 const FieldDescriptor* key = message->map_key(); in ValidateMapEntry()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | map_container.cc | 130 self->parent_field_descriptor->message_type()->map_key(); in PythonToMapKey() 176 self->parent_field_descriptor->message_type()->map_key(); in MapKeyToPython() 361 MapKey map_key; in Contains() local 363 if (!PythonToMapKey(self, key, &map_key)) { in Contains() 368 map_key)) { in Contains() 406 MapKey map_key; in ScalarMapGetItem() local 409 if (!PythonToMapKey(self, key, &map_key)) { in ScalarMapGetItem() 414 map_key, &value)) { in ScalarMapGetItem() 427 MapKey map_key; in ScalarMapSetItem() local 430 if (!PythonToMapKey(self, key, &map_key)) { in ScalarMapSetItem() [all …]
|
/third_party/node/benchmark/napi/function_args/ |
D | binding.cc | 59 MaybeLocal<String> map_key = String::NewFromUtf8(isolate, in CallWithObject() local 61 assert(!map_key.IsEmpty()); in CallWithObject() 63 map_key.ToLocalChecked()); in CallWithObject()
|
/third_party/libwebsockets/lib/cose/ |
D | cose_validate.c | 729 cps->map_key = ctx->item.u.i64; in cb_cose_sig() 736 if (cps->map_key == LWSCOSE_WKL_ALG) { in cb_cose_sig() 738 cps->map_key = 0; in cb_cose_sig() 870 if (cps->map_key == LWSCOSE_WKL_KID) { in cb_cose_sig() 880 cps->map_key = 0; in cb_cose_sig()
|
D | private-lib-cose.h | 95 cose_param_t map_key; /* parsing temp before val */ member
|
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_map_field.cc | 88 descriptor->message_type()->map_key(); in MapFieldGenerator()
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectsource.cc | 287 std::string map_key; in RenderMap() local 297 map_key = ReadFieldValueAsString(*field); in RenderMap() 299 if (map_key.empty()) { in RenderMap() 308 ASSIGN_OR_RETURN(map_key, MapKeyDefaultValueAsString(*key_field)); in RenderMap() 310 RETURN_IF_ERROR(RenderField(field, map_key, ow)); in RenderMap()
|
D | protostream_objectwriter.h | 292 bool InsertMapKeyIfNotPresent(StringPiece map_key);
|
D | protostream_objectwriter.cc | 479 StringPiece map_key) { in InsertMapKeyIfNotPresent() argument 480 return InsertIfNotPresent(map_keys_.get(), std::string(map_key)); in InsertMapKeyIfNotPresent()
|
/third_party/mesa3d/src/intel/tools/ |
D | aubinator_viewer.cpp | 327 map_key(int k) in map_key() function 335 return ImGui::GetIO().KeyCtrl && ImGui::IsKeyPressed(map_key(key)); in has_ctrl_key()
|
/third_party/mindspore/mindspore/ccsrc/ps/ |
D | worker.cc | 331 const Key &map_key = keys->at(i); in DoPSEmbeddingLookup() local 334 …id_addr_map[map_key] = std::make_shared<std::pair<float *, int64_t>>(std::make_pair(addr, single_i… in DoPSEmbeddingLookup()
|
/third_party/protobuf/ |
D | libprotobuf.map | 99 "google::protobuf::Descriptor::map_key() const";
|