Searched refs:value_field (Results 1 - 18 of 18) sorted by relevance

/external/protobuf/src/google/protobuf/
H A Dany.cc99 const FieldDescriptor** value_field) {
105 *value_field = descriptor->FindFieldByNumber(2);
108 *value_field != NULL &&
109 (*value_field)->type() == FieldDescriptor::TYPE_BYTES);
97 GetAnyFieldDescriptors(const Message& message, const FieldDescriptor** type_url_field, const FieldDescriptor** value_field) argument
H A Dany.h101 const FieldDescriptor** value_field);
H A Dtext_format.cc79 const FieldDescriptor** value_field) {
82 *value_field = descriptor->FindFieldByNumber(2);
85 *value_field != NULL &&
86 (*value_field)->type() == FieldDescriptor::TYPE_BYTES);
1517 const FieldDescriptor* value_field; local
1519 &value_field)) {
1543 string serialized_value = reflection->GetString(message, value_field);
1550 custom_printers_, value_field, default_field_value_printer_.get());
77 GetAnyFieldDescriptors(const Message& message, const FieldDescriptor** type_url_field, const FieldDescriptor** value_field) argument
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_map_field.cc185 const FieldDescriptor* value_field = local
191 value_field->type() != FieldDescriptor::TYPE_ENUM) {
195 switch (value_field->cpp_type()) {
245 if (value_field->type() == FieldDescriptor::TYPE_STRING) {
246 GenerateUtf8CheckCodeForString(value_field, options_, true, variables_,
286 const FieldDescriptor* value_field = local
293 if (value_field->type() == FieldDescriptor::TYPE_STRING) {
294 GenerateUtf8CheckCodeForString(value_field, options_, false, variables_,
344 const FieldDescriptor* value_field = local
351 if (value_field
[all...]
/external/protobuf/src/google/protobuf/compiler/java/
H A Djava_message_builder_lite.cc73 const FieldDescriptor* value_field = descriptor->FindFieldByName("value"); local
74 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, value_field->type());
75 return name_resolver->GetImmutableClassName(value_field->message_type());
H A Djava_message_builder.cc73 const FieldDescriptor* value_field = descriptor->FindFieldByName("value"); local
74 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, value_field->type());
75 return name_resolver->GetImmutableClassName(value_field->message_type());
H A Djava_message_lite.cc78 const FieldDescriptor* value_field = descriptor->FindFieldByName("value"); local
79 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, value_field->type());
80 return name_resolver->GetImmutableClassName(value_field->message_type());
H A Djava_message.cc78 const FieldDescriptor* value_field = descriptor->FindFieldByName("value"); local
79 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, value_field->type());
80 return name_resolver->GetImmutableClassName(value_field->message_type());
/external/protobuf/src/google/protobuf/compiler/ruby/
H A Druby_generator.cc121 const FieldDescriptor* value_field = local
128 "value_type", TypeName(value_field),
131 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
134 "subtype", value_field->message_type()->full_name());
135 } else if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) {
138 "subtype", value_field->enum_type()->full_name());
/external/protobuf/ruby/ext/google/protobuf_c/
H A Dstorage.c386 const upb_fielddef* value_field = upb_msgdef_itof(msgdef, MAP_VALUE_FIELD); local
387 assert(value_field != NULL);
388 return value_field;
580 const upb_fielddef* value_field = map_field_value(field); local
592 if (self->value_type != upb_fielddef_type(value_field)) {
595 if (upb_fielddef_type(value_field) == UPB_TYPE_MESSAGE ||
596 upb_fielddef_type(value_field) == UPB_TYPE_ENUM) {
598 get_def_obj(upb_fielddef_subdef(value_field))) {
665 const upb_fielddef* value_field = map_field_value(field); local
666 VALUE type_class = field_type_class(value_field);
[all...]
H A Dencode_decode.c301 const upb_fielddef* value_field; local
307 value_field = upb_msgdef_itof(mapentry_def, MAP_VALUE_FIELD);
308 assert(value_field != NULL);
309 hd->value_field_type = upb_fielddef_type(value_field);
310 hd->value_field_subdef = upb_fielddef_subdef(value_field);
498 const upb_fielddef* value_field = map_entry_value(msgdef); local
510 h, value_field,
994 const upb_fielddef* value_field; local
1004 value_field = map_field_value(f);
1017 put_ruby_value(value, value_field, sel
[all...]
H A Ddefs.c1399 VALUE value_field = rb_class_new_instance(0, NULL, cFieldDescriptor); local
1400 FieldDescriptor_name_set(value_field, rb_str_new2("value"));
1401 FieldDescriptor_label_set(value_field, ID2SYM(rb_intern("optional")));
1402 FieldDescriptor_number_set(value_field, INT2NUM(2));
1403 FieldDescriptor_type_set(value_field, value_type);
1407 FieldDescriptor_submsg_name_set(value_field, submsg_name);
1409 Descriptor_add_field(mapentry_desc, value_field);
H A Dupb.c12594 const upb_fielddef* value_field = upb_msgdef_itof(md, UPB_MAPENTRY_VALUE); local
12629 switch (upb_fielddef_type(value_field)) {
12631 upb_handlers_setint32(h, value_field, putint32_t, &empty_attr);
12634 upb_handlers_setint64(h, value_field, putint64_t, &empty_attr);
12637 upb_handlers_setuint32(h, value_field, putuint32_t, &empty_attr);
12640 upb_handlers_setuint64(h, value_field, putuint64_t, &empty_attr);
12643 upb_handlers_setbool(h, value_field, putbool, &empty_attr);
12646 upb_handlers_setfloat(h, value_field, putfloat, &empty_attr);
12649 upb_handlers_setdouble(h, value_field, putdouble, &empty_attr);
12652 upb_handlers_setstartstr(h, value_field, mapkeyval_startst
[all...]
/external/protobuf/python/google/protobuf/
H A Djson_format.py519 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/src/google/protobuf/compiler/
H A Dparser.cc988 FieldDescriptorProto* value_field = entry->add_field(); local
989 value_field->set_name("value");
990 value_field->set_label(FieldDescriptorProto::LABEL_OPTIONAL);
991 value_field->set_number(2);
993 value_field->set_type(map_field.value_type);
995 value_field->set_type_name(map_field.value_type_name);
1027 if (value_field->type() == FieldDescriptorProto::TYPE_STRING) {
1028 value_field->mutable_options()->add_uninterpreted_option()
/external/protobuf/python/google/protobuf/internal/
H A Dpython_message.py384 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/
H A Dmessage_differencer.cc1013 const FieldDescriptor* value_field; local
1014 if (!internal::GetAnyFieldDescriptors(any, &type_url_field, &value_field)) {
1035 string serialized_value = reflection->GetString(any, value_field);
/external/protobuf/php/ext/google/protobuf/
H A Dupb.c11775 const upb_fielddef* value_field = upb_msgdef_itof(md, UPB_MAPENTRY_VALUE); local
11810 switch (upb_fielddef_type(value_field)) {
11812 upb_handlers_setint32(h, value_field, putint32_t, &empty_attr);
11815 upb_handlers_setint64(h, value_field, putint64_t, &empty_attr);
11818 upb_handlers_setuint32(h, value_field, putuint32_t, &empty_attr);
11821 upb_handlers_setuint64(h, value_field, putuint64_t, &empty_attr);
11824 upb_handlers_setbool(h, value_field, putbool, &empty_attr);
11827 upb_handlers_setfloat(h, value_field, putfloat, &empty_attr);
11830 upb_handlers_setdouble(h, value_field, putdouble, &empty_attr);
11833 upb_handlers_setstartstr(h, value_field, mapkeyval_startst
[all...]

Completed in 409 milliseconds