/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_map_field.cc | 185 const FieldDescriptor* value_field = in GenerateMergeFromCodedStream() local 191 value_field->type() != FieldDescriptor::TYPE_ENUM) { in GenerateMergeFromCodedStream() 195 switch (value_field->cpp_type()) { in GenerateMergeFromCodedStream() 245 if (value_field->type() == FieldDescriptor::TYPE_STRING) { in GenerateMergeFromCodedStream() 246 GenerateUtf8CheckCodeForString(value_field, options_, true, variables_, in GenerateMergeFromCodedStream() 286 const FieldDescriptor* value_field = in GenerateSerializeWithCachedSizes() local 293 if (value_field->type() == FieldDescriptor::TYPE_STRING) { in GenerateSerializeWithCachedSizes() 294 GenerateUtf8CheckCodeForString(value_field, options_, false, variables_, in GenerateSerializeWithCachedSizes() 344 const FieldDescriptor* value_field = in GenerateSerializeWithCachedSizesToArray() local 351 if (value_field->type() == FieldDescriptor::TYPE_STRING) { in GenerateSerializeWithCachedSizesToArray() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | any.cc | 99 const FieldDescriptor** value_field) { in GetAnyFieldDescriptors() argument 105 *value_field = descriptor->FindFieldByNumber(2); in GetAnyFieldDescriptors() 108 *value_field != NULL && in GetAnyFieldDescriptors() 109 (*value_field)->type() == FieldDescriptor::TYPE_BYTES); in GetAnyFieldDescriptors()
|
D | any.h | 101 const FieldDescriptor** value_field);
|
D | text_format.cc | 79 const FieldDescriptor** value_field) { in GetAnyFieldDescriptors() argument 82 *value_field = descriptor->FindFieldByNumber(2); in GetAnyFieldDescriptors() 85 *value_field != NULL && in GetAnyFieldDescriptors() 86 (*value_field)->type() == FieldDescriptor::TYPE_BYTES); in GetAnyFieldDescriptors() 1517 const FieldDescriptor* value_field; in PrintAny() local 1519 &value_field)) { in PrintAny() 1543 string serialized_value = reflection->GetString(message, value_field); in PrintAny() 1550 custom_printers_, value_field, default_field_value_printer_.get()); in PrintAny()
|
D | unittest_well_known_types.proto | 43 google.protobuf.Value value_field = 19; field
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | storage.c | 386 const upb_fielddef* value_field = upb_msgdef_itof(msgdef, MAP_VALUE_FIELD); in map_entry_value() local 387 assert(value_field != NULL); in map_entry_value() 388 return value_field; in map_entry_value() 580 const upb_fielddef* value_field = map_field_value(field); in check_map_field_type() local 592 if (self->value_type != upb_fielddef_type(value_field)) { in check_map_field_type() 595 if (upb_fielddef_type(value_field) == UPB_TYPE_MESSAGE || in check_map_field_type() 596 upb_fielddef_type(value_field) == UPB_TYPE_ENUM) { in check_map_field_type() 598 get_def_obj(upb_fielddef_subdef(value_field))) { in check_map_field_type() 665 const upb_fielddef* value_field = map_field_value(field); in layout_init() local 666 VALUE type_class = field_type_class(value_field); in layout_init() [all …]
|
D | encode_decode.c | 301 const upb_fielddef* value_field; in new_map_handlerdata() local 307 value_field = upb_msgdef_itof(mapentry_def, MAP_VALUE_FIELD); in new_map_handlerdata() 308 assert(value_field != NULL); in new_map_handlerdata() 309 hd->value_field_type = upb_fielddef_type(value_field); in new_map_handlerdata() 310 hd->value_field_subdef = upb_fielddef_subdef(value_field); in new_map_handlerdata() 498 const upb_fielddef* value_field = map_entry_value(msgdef); in add_handlers_for_mapentry() local 510 h, value_field, in add_handlers_for_mapentry() 994 const upb_fielddef* value_field; in putmap() local 1004 value_field = map_field_value(f); in putmap() 1017 put_ruby_value(value, value_field, self->value_type_class, depth + 1, in putmap()
|
D | defs.c | 1399 VALUE value_field = rb_class_new_instance(0, NULL, cFieldDescriptor); in MessageBuilderContext_map() local 1400 FieldDescriptor_name_set(value_field, rb_str_new2("value")); in MessageBuilderContext_map() 1401 FieldDescriptor_label_set(value_field, ID2SYM(rb_intern("optional"))); in MessageBuilderContext_map() 1402 FieldDescriptor_number_set(value_field, INT2NUM(2)); in MessageBuilderContext_map() 1403 FieldDescriptor_type_set(value_field, value_type); in MessageBuilderContext_map() 1407 FieldDescriptor_submsg_name_set(value_field, submsg_name); in MessageBuilderContext_map() 1409 Descriptor_add_field(mapentry_desc, value_field); in MessageBuilderContext_map()
|
D | upb.c | 12594 const upb_fielddef* value_field = upb_msgdef_itof(md, UPB_MAPENTRY_VALUE); in printer_sethandlers_mapentry() local 12629 switch (upb_fielddef_type(value_field)) { in printer_sethandlers_mapentry() 12631 upb_handlers_setint32(h, value_field, putint32_t, &empty_attr); in printer_sethandlers_mapentry() 12634 upb_handlers_setint64(h, value_field, putint64_t, &empty_attr); in printer_sethandlers_mapentry() 12637 upb_handlers_setuint32(h, value_field, putuint32_t, &empty_attr); in printer_sethandlers_mapentry() 12640 upb_handlers_setuint64(h, value_field, putuint64_t, &empty_attr); in printer_sethandlers_mapentry() 12643 upb_handlers_setbool(h, value_field, putbool, &empty_attr); in printer_sethandlers_mapentry() 12646 upb_handlers_setfloat(h, value_field, putfloat, &empty_attr); in printer_sethandlers_mapentry() 12649 upb_handlers_setdouble(h, value_field, putdouble, &empty_attr); in printer_sethandlers_mapentry() 12652 upb_handlers_setstartstr(h, value_field, mapkeyval_startstr, &empty_attr); in printer_sethandlers_mapentry() [all …]
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_message_builder_lite.cc | 73 const FieldDescriptor* value_field = descriptor->FindFieldByName("value"); in MapValueImmutableClassdName() local 74 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, value_field->type()); in MapValueImmutableClassdName() 75 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName()
|
D | java_message_builder.cc | 73 const FieldDescriptor* value_field = descriptor->FindFieldByName("value"); in MapValueImmutableClassdName() local 74 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, value_field->type()); in MapValueImmutableClassdName() 75 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName()
|
D | java_message_lite.cc | 78 const FieldDescriptor* value_field = descriptor->FindFieldByName("value"); in MapValueImmutableClassdName() local 79 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, value_field->type()); in MapValueImmutableClassdName() 80 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName()
|
D | java_message.cc | 78 const FieldDescriptor* value_field = descriptor->FindFieldByName("value"); in MapValueImmutableClassdName() local 79 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, value_field->type()); in MapValueImmutableClassdName() 80 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName()
|
/external/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator.cc | 121 const FieldDescriptor* value_field = in GenerateField() local 128 "value_type", TypeName(value_field), in GenerateField() 131 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateField() 134 "subtype", value_field->message_type()->full_name()); in GenerateField() 135 } else if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in GenerateField() 138 "subtype", value_field->enum_type()->full_name()); in GenerateField()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 988 FieldDescriptorProto* value_field = entry->add_field(); in GenerateMapEntry() local 989 value_field->set_name("value"); in GenerateMapEntry() 990 value_field->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in GenerateMapEntry() 991 value_field->set_number(2); in GenerateMapEntry() 993 value_field->set_type(map_field.value_type); in GenerateMapEntry() 995 value_field->set_type_name(map_field.value_type_name); in GenerateMapEntry() 1027 if (value_field->type() == FieldDescriptorProto::TYPE_STRING) { in GenerateMapEntry() 1028 value_field->mutable_options()->add_uninterpreted_option() in GenerateMapEntry()
|
/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | attr_builder.cc | 124 #define DEFINE_SET_ATTR(value_type, value_field) \ argument 127 value_field.push_back(std::make_pair(string(attr_name), value)); \
|
/external/protobuf/python/google/protobuf/ |
D | json_format.py | 519 value_field = field.message_type.fields_by_name['value'] 522 if value_field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE: 526 value[key], value_field)
|
/external/protobuf/python/google/protobuf/internal/ |
D | python_message.py | 384 value_field = fields_by_name['value'] 388 message._listener_for_children, value_field.message_type, key_checker) 391 value_checker = type_checkers.GetTypeChecker(value_field)
|
/external/protobuf/src/google/protobuf/util/ |
D | message_differencer.cc | 1013 const FieldDescriptor* value_field; in UnpackAny() local 1014 if (!internal::GetAnyFieldDescriptors(any, &type_url_field, &value_field)) { in UnpackAny() 1035 string serialized_value = reflection->GetString(any, value_field); in UnpackAny()
|
/external/protobuf/php/ext/google/protobuf/ |
D | upb.c | 11775 const upb_fielddef* value_field = upb_msgdef_itof(md, UPB_MAPENTRY_VALUE); in printer_sethandlers_mapentry() local 11810 switch (upb_fielddef_type(value_field)) { in printer_sethandlers_mapentry() 11812 upb_handlers_setint32(h, value_field, putint32_t, &empty_attr); in printer_sethandlers_mapentry() 11815 upb_handlers_setint64(h, value_field, putint64_t, &empty_attr); in printer_sethandlers_mapentry() 11818 upb_handlers_setuint32(h, value_field, putuint32_t, &empty_attr); in printer_sethandlers_mapentry() 11821 upb_handlers_setuint64(h, value_field, putuint64_t, &empty_attr); in printer_sethandlers_mapentry() 11824 upb_handlers_setbool(h, value_field, putbool, &empty_attr); in printer_sethandlers_mapentry() 11827 upb_handlers_setfloat(h, value_field, putfloat, &empty_attr); in printer_sethandlers_mapentry() 11830 upb_handlers_setdouble(h, value_field, putdouble, &empty_attr); in printer_sethandlers_mapentry() 11833 upb_handlers_setstartstr(h, value_field, mapkeyval_startstr, &empty_attr); in printer_sethandlers_mapentry() [all …]
|