/external/protobuf/src/google/protobuf/ |
D | any.cc | 66 const FieldDescriptor** value_field) { in GetAnyFieldDescriptors() argument 72 *value_field = descriptor->FindFieldByNumber(2); in GetAnyFieldDescriptors() 75 *value_field != NULL && in GetAnyFieldDescriptors() 76 (*value_field)->type() == FieldDescriptor::TYPE_BYTES); in GetAnyFieldDescriptors()
|
D | reflection_ops.cc | 198 const FieldDescriptor* value_field = field->message_type()->field(1); in IsInitialized() local 199 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in IsInitialized() 250 const FieldDescriptor* value_field = field->message_type()->field(1); in DiscardUnknownFields() local 251 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in DiscardUnknownFields()
|
D | any.h | 141 const FieldDescriptor** value_field);
|
D | any.pb.cc | 104 const ::PROTOBUF_NAMESPACE_ID::FieldDescriptor** value_field) { in GetAnyFieldDescriptors() 106 message, type_url_field, value_field); in GetAnyFieldDescriptors()
|
D | wire_format.cc | 857 const FieldDescriptor* value_field = field->message_type()->field(1); in SerializeMapEntry() local 863 size += MapValueRefDataOnlyByteSize(value_field, value); in SerializeMapEntry() 866 SerializeMapValueRefWithCachedSizes(value_field, value, output); in SerializeMapEntry() 1241 const FieldDescriptor* value_field = field->message_type()->field(1); in FieldDataOnlyByteSize() local 1246 size += MapValueRefDataOnlyByteSize(value_field, iter.GetValueRef()); in FieldDataOnlyByteSize()
|
D | unittest_well_known_types.proto | 43 google.protobuf.Value value_field = 19; field
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_map_field.cc | 169 const FieldDescriptor* value_field = in GenerateMergeFromCodedStream() local 183 value_field->type() != FieldDescriptor::TYPE_ENUM) { in GenerateMergeFromCodedStream() 223 if (value_field->type() == FieldDescriptor::TYPE_STRING) { in GenerateMergeFromCodedStream() 225 value_field, options_, true, in GenerateMergeFromCodedStream() 289 const FieldDescriptor* value_field = in GenerateSerializeWithCachedSizes() local 292 const bool string_value = value_field->type() == FieldDescriptor::TYPE_STRING; in GenerateSerializeWithCachedSizes() 323 value_field, options_, false, in GenerateSerializeWithCachedSizes()
|
/external/protobuf/php/src/Google/Protobuf/Internal/ |
D | Message.php | 103 $value_field = $message_type->getFieldByNumber(2); 104 switch ($value_field->getType()) { 109 $value_field->getType(), 110 $value_field->getMessageType()->getClass()); 116 $value_field->getType(), 117 $value_field->getEnumType()->getClass()); 123 $value_field->getType()); 505 $value_field = $message_type->getFieldByNumber(2); 506 switch ($value_field->getType()) { 511 $value_field->getType(), [all …]
|
D | GPBJsonWire.php | 67 $value_field = $map_entry->getFieldByNumber(2); 104 $value_field,
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/json/ |
D | printer.c | 648 const upb_fielddef* value_field = upb_msgdef_itof(md, UPB_MAPENTRY_VALUE); in printer_sethandlers_mapentry() local 683 switch (upb_fielddef_type(value_field)) { in printer_sethandlers_mapentry() 685 upb_handlers_setint32(h, value_field, putint32_t, &empty_attr); in printer_sethandlers_mapentry() 688 upb_handlers_setint64(h, value_field, putint64_t, &empty_attr); in printer_sethandlers_mapentry() 691 upb_handlers_setuint32(h, value_field, putuint32_t, &empty_attr); in printer_sethandlers_mapentry() 694 upb_handlers_setuint64(h, value_field, putuint64_t, &empty_attr); in printer_sethandlers_mapentry() 697 upb_handlers_setbool(h, value_field, putbool, &empty_attr); in printer_sethandlers_mapentry() 700 upb_handlers_setfloat(h, value_field, putfloat, &empty_attr); in printer_sethandlers_mapentry() 703 upb_handlers_setdouble(h, value_field, putdouble, &empty_attr); in printer_sethandlers_mapentry() 706 upb_handlers_setstartstr(h, value_field, mapkeyval_startstr, &empty_attr); in printer_sethandlers_mapentry() [all …]
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | storage.c | 443 const upb_fielddef* value_field = upb_msgdef_itof(msgdef, MAP_VALUE_FIELD); in map_entry_value() local 444 assert(value_field != NULL); in map_entry_value() 445 return value_field; in map_entry_value() 664 const upb_fielddef* value_field = map_field_value(field); in layout_clear() local 665 VALUE type_class = field_type_class(value_field); in layout_clear() 670 fieldtype_to_ruby(upb_fielddef_type(value_field)), in layout_clear() 677 fieldtype_to_ruby(upb_fielddef_type(value_field)), in layout_clear() 808 const upb_fielddef* value_field = map_field_value(field); in check_map_field_type() local 820 if (self->value_type != upb_fielddef_type(value_field)) { in check_map_field_type() 823 if (upb_fielddef_type(value_field) == UPB_TYPE_MESSAGE || in check_map_field_type() [all …]
|
D | encode_decode.c | 419 const upb_fielddef* value_field; in new_map_handlerdata() local 425 value_field = upb_msgdef_itof(mapentry_def, MAP_VALUE_FIELD); in new_map_handlerdata() 426 assert(value_field != NULL); in new_map_handlerdata() 427 hd->value_field_type = upb_fielddef_type(value_field); in new_map_handlerdata() 428 hd->value_field_subdef = upb_fielddef_subdef(value_field); in new_map_handlerdata() 634 const upb_fielddef* value_field = map_entry_value(msgdef); in add_handlers_for_mapentry() local 647 h, value_field, in add_handlers_for_mapentry() 1120 const upb_fielddef* value_field; in putmap() local 1132 value_field = map_field_value(f); in putmap() 1146 put_ruby_value(value, value_field, self->value_type_class, depth + 1, in putmap() [all …]
|
D | defs.c | 1738 VALUE value_field = rb_class_new_instance(0, NULL, cFieldDescriptor); in MessageBuilderContext_map() local 1739 FieldDescriptor_name_set(value_field, rb_str_new2("value")); in MessageBuilderContext_map() 1740 FieldDescriptor_label_set(value_field, ID2SYM(rb_intern("optional"))); in MessageBuilderContext_map() 1741 FieldDescriptor_number_set(value_field, INT2NUM(2)); in MessageBuilderContext_map() 1742 FieldDescriptor_type_set(value_field, value_type); in MessageBuilderContext_map() 1746 FieldDescriptor_submsg_name_set(value_field, submsg_name); in MessageBuilderContext_map() 1748 Descriptor_add_field(mapentry_desc, value_field); in MessageBuilderContext_map()
|
/external/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator.cc | 172 const FieldDescriptor* value_field = in GenerateField() local 179 "value_type", TypeName(value_field), in GenerateField() 182 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateField() 185 "subtype", value_field->message_type()->full_name()); in GenerateField() 186 } else if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in GenerateField() 189 "subtype", value_field->enum_type()->full_name()); in GenerateField()
|
/external/protobuf/php/ext/google/protobuf/ |
D | encode_decode.c | 649 const upb_fielddef* value_field; in new_map_handlerdata() local 658 value_field = upb_msgdef_itof(mapentry_def, MAP_VALUE_FIELD); in new_map_handlerdata() 659 assert(value_field != NULL); in new_map_handlerdata() 660 hd->value_field_type = upb_fielddef_type(value_field); in new_map_handlerdata() 918 const upb_fielddef* value_field = map_entry_value(msgdef); in add_handlers_for_mapentry() local 929 add_handlers_for_singular_field(h, value_field, in add_handlers_for_mapentry() 1180 const upb_fielddef* value_field; in putmap() local 1193 value_field = map_field_value(f); in putmap() 1210 put_optional_value(raw_value(upb_value_memory(&value), value_field), in putmap() 1211 raw_value_len(upb_value_memory(&value), len, value_field), in putmap() [all …]
|
D | map.c | 250 const upb_fielddef *value_field = map_field_value(field); in map_field_create_with_field() local 252 ce, upb_fielddef_type(key_field), upb_fielddef_type(value_field), in map_field_create_with_field() 253 field_type_class(value_field TSRMLS_CC), map_field PHP_PROTO_TSRMLS_CC); in map_field_create_with_field()
|
D | storage.c | 547 const upb_fielddef* value_field = upb_msgdef_itof(msgdef, MAP_VALUE_FIELD); in map_entry_value() local 548 assert(value_field != NULL); in map_entry_value() 549 return value_field; in map_entry_value() 1083 const upb_fielddef *value_field = upb_msgdef_itof(mapentry_def, 2); in layout_merge() local 1094 native_slot_merge_by_array(value_field, from_mem, in layout_merge()
|
/external/protobuf/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 1294 const FieldDescriptor* value_field = MapFieldValue(field); in FieldDefinition() local 1297 if (value_field->type() == FieldDescriptor::TYPE_ENUM || in FieldDefinition() 1298 value_field->type() == FieldDescriptor::TYPE_MESSAGE) { in FieldDefinition() 1299 value_type = RelativeTypeName(value_field); in FieldDefinition() 1301 value_type = ProtoTypeName(options, value_field); in FieldDefinition() 2355 const FieldDescriptor* value_field = MapFieldValue(field); in GenerateClassFieldToObject() local 2359 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateClassFieldToObject() 2361 GetMessagePath(options, value_field->message_type()) + ".toObject"; in GenerateClassFieldToObject() 2486 const FieldDescriptor* value_field = MapFieldValue(field); in GenerateClassFieldFromObject() local 2487 if (value_field->type() == FieldDescriptor::TYPE_MESSAGE) { in GenerateClassFieldFromObject() [all …]
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_message_builder.cc | 66 const FieldDescriptor* value_field = descriptor->FindFieldByName("value"); in MapValueImmutableClassdName() local 67 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, value_field->type()); in MapValueImmutableClassdName() 68 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName()
|
D | java_message.cc | 71 const FieldDescriptor* value_field = descriptor->FindFieldByName("value"); in MapValueImmutableClassdName() local 72 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, value_field->type()); in MapValueImmutableClassdName() 73 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 1115 FieldDescriptorProto* value_field = entry->add_field(); in GenerateMapEntry() local 1116 value_field->set_name("value"); in GenerateMapEntry() 1117 value_field->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in GenerateMapEntry() 1118 value_field->set_number(2); in GenerateMapEntry() 1120 value_field->set_type(map_field.value_type); in GenerateMapEntry() 1122 value_field->set_type_name(map_field.value_type_name); in GenerateMapEntry() 1154 if (value_field->type() == FieldDescriptorProto::TYPE_STRING) { in GenerateMapEntry() 1155 value_field->mutable_options()->add_uninterpreted_option()->CopyFrom( in GenerateMapEntry()
|
/external/protobuf/python/google/protobuf/ |
D | json_format.py | 676 value_field = field.message_type.fields_by_name['value'] 679 if value_field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE: 684 value[key], value_field)
|
/external/python/apitools/apitools/base/py/ |
D | encoding_helper.py | 477 value_field = pairs_type.field_by_name('value') 478 value_variant = value_field.variant 482 encoded_value = codec.encode_field(value_field, pair.value)
|
/external/llvm-project/libcxx/utils/gdb/libcxx/ |
D | printers.py | 223 value_field = _value_of_pair_first(self.val["__r_"]) 224 short_field = value_field["__s"] 234 long_field = value_field["__l"]
|
/external/protobuf/csharp/compatibility_tests/v3.0.0/protos/src/google/protobuf/ |
D | unittest_well_known_types.proto | 43 google.protobuf.Value value_field = 19; field
|