/external/protobuf/src/google/protobuf/ |
D | any.cc | 65 const FieldDescriptor** value_field) { in GetAnyFieldDescriptors() argument 71 *value_field = descriptor->FindFieldByNumber(2); in GetAnyFieldDescriptors() 74 *value_field != nullptr && in GetAnyFieldDescriptors() 75 (*value_field)->type() == FieldDescriptor::TYPE_BYTES); in GetAnyFieldDescriptors()
|
D | any.h | 149 const FieldDescriptor** value_field);
|
D | any.pb.cc | 96 const ::PROTOBUF_NAMESPACE_ID::FieldDescriptor** value_field) { in GetAnyFieldDescriptors() 98 message, type_url_field, value_field); in GetAnyFieldDescriptors()
|
/external/cronet/third_party/protobuf/src/google/protobuf/ |
D | any.cc | 65 const FieldDescriptor** value_field) { in GetAnyFieldDescriptors() argument 71 *value_field = descriptor->FindFieldByNumber(2); in GetAnyFieldDescriptors() 74 *value_field != nullptr && in GetAnyFieldDescriptors() 75 (*value_field)->type() == FieldDescriptor::TYPE_BYTES); in GetAnyFieldDescriptors()
|
D | any.pb.cc | 95 const ::PROTOBUF_NAMESPACE_ID::FieldDescriptor** value_field) { in GetAnyFieldDescriptors() 97 message, type_url_field, value_field); in GetAnyFieldDescriptors()
|
D | any.h | 149 const FieldDescriptor** value_field);
|
/external/cronet/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | MapEntry.php | 48 $value_field = $desc->getFieldByNumber(2); 49 if ($value_field->getType() == GPBType::MESSAGE) { 50 $klass = $value_field->getMessageType()->getClass();
|
D | Message.php | 105 $value_field = $message_type->getFieldByNumber(2); 106 switch ($value_field->getType()) { 111 $value_field->getType(), 112 $value_field->getMessageType()->getClass()); 118 $value_field->getType(), 119 $value_field->getEnumType()->getClass()); 125 $value_field->getType()); 556 $value_field = $message_type->getFieldByNumber(2); 557 switch ($value_field->getType()) { 562 $value_field->getType(), [all …]
|
D | GPBJsonWire.php | 67 $value_field = $map_entry->getFieldByNumber(2); 104 $value_field,
|
/external/protobuf/php/src/Google/Protobuf/Internal/ |
D | MapEntry.php | 48 $value_field = $desc->getFieldByNumber(2); 49 if ($value_field->getType() == GPBType::MESSAGE) { 50 $klass = $value_field->getMessageType()->getClass();
|
D | Message.php | 105 $value_field = $message_type->getFieldByNumber(2); 106 switch ($value_field->getType()) { 111 $value_field->getType(), 112 $value_field->getMessageType()->getClass()); 118 $value_field->getType(), 119 $value_field->getEnumType()->getClass()); 125 $value_field->getType()); 556 $value_field = $message_type->getFieldByNumber(2); 557 switch ($value_field->getType()) { 562 $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/cronet/third_party/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator.cc | 176 const FieldDescriptor* value_field = in GenerateField() local 183 "value_type", TypeName(value_field), in GenerateField() 186 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateField() 189 "subtype", value_field->message_type()->full_name()); in GenerateField() 190 } else if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in GenerateField() 193 "subtype", value_field->enum_type()->full_name()); in GenerateField()
|
/external/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator.cc | 176 const FieldDescriptor* value_field = in GenerateField() local 183 "value_type", TypeName(value_field), in GenerateField() 186 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateField() 189 "subtype", value_field->message_type()->full_name()); in GenerateField() 190 } else if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in GenerateField() 193 "subtype", value_field->enum_type()->full_name()); in GenerateField()
|
/external/cronet/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_map_field.cc | 200 const FieldDescriptor* value_field = descriptor_->message_type()->map_value(); in GenerateSerializeWithCachedSizesToArray() local 202 const bool string_value = value_field->type() == FieldDescriptor::TYPE_STRING; in GenerateSerializeWithCachedSizesToArray() 224 value_field, options_, false, in GenerateSerializeWithCachedSizesToArray()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | map_field.cc | 201 const FieldDescriptor* value_field = descriptor_->message_type()->map_value(); in GenerateSerializeWithCachedSizesToArray() local 203 const bool string_value = value_field->type() == FieldDescriptor::TYPE_STRING; in GenerateSerializeWithCachedSizesToArray() 225 value_field, options_, false, in GenerateSerializeWithCachedSizesToArray()
|
/external/cronet/third_party/protobuf/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 1268 const FieldDescriptor* value_field = MapFieldValue(field); in FieldDefinition() local 1271 if (value_field->type() == FieldDescriptor::TYPE_ENUM || in FieldDefinition() 1272 value_field->type() == FieldDescriptor::TYPE_MESSAGE) { in FieldDefinition() 1273 value_type = RelativeTypeName(value_field); in FieldDefinition() 1275 value_type = ProtoTypeName(options, value_field); in FieldDefinition() 2311 const FieldDescriptor* value_field = MapFieldValue(field); in GenerateClassFieldToObject() local 2315 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateClassFieldToObject() 2317 GetMessagePath(options, value_field->message_type()) + ".toObject"; in GenerateClassFieldToObject() 2442 const FieldDescriptor* value_field = MapFieldValue(field); in GenerateClassFieldFromObject() local 2443 if (value_field->type() == FieldDescriptor::TYPE_MESSAGE) { in GenerateClassFieldFromObject() [all …]
|
/external/protobuf/ruby/tests/ |
D | well_known_types_test.rb | 212 value_field = Google::Protobuf::ListValue.descriptor.lookup("values") 216 … assert_equal '[<Google::Protobuf::Value: string_value: "Hello">]', value_field.get(proto).inspect
|
/external/cronet/third_party/protobuf/ruby/tests/ |
D | well_known_types_test.rb | 212 value_field = Google::Protobuf::ListValue.descriptor.lookup("values") 216 … assert_equal '[<Google::Protobuf::Value: string_value: "Hello">]', value_field.get(proto).inspect
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | message_builder.cc | 70 const FieldDescriptor* value_field = descriptor->map_value(); in MapValueImmutableClassdName() local 71 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, value_field->type()); in MapValueImmutableClassdName() 72 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName()
|
/external/cronet/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_message_builder.cc | 67 const FieldDescriptor* value_field = descriptor->map_value(); in MapValueImmutableClassdName() local 68 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, value_field->type()); in MapValueImmutableClassdName() 69 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName()
|
/external/cronet/third_party/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 1147 FieldDescriptorProto* value_field = entry->add_field(); in GenerateMapEntry() local 1148 value_field->set_name("value"); in GenerateMapEntry() 1149 value_field->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in GenerateMapEntry() 1150 value_field->set_number(2); in GenerateMapEntry() 1152 value_field->set_type(map_field.value_type); in GenerateMapEntry() 1154 value_field->set_type_name(map_field.value_type_name); in GenerateMapEntry() 1186 if (value_field->type() == FieldDescriptorProto::TYPE_STRING) { in GenerateMapEntry() 1187 value_field->mutable_options()->add_uninterpreted_option()->CopyFrom( in GenerateMapEntry()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 1153 FieldDescriptorProto* value_field = entry->add_field(); in GenerateMapEntry() local 1154 value_field->set_name("value"); in GenerateMapEntry() 1155 value_field->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in GenerateMapEntry() 1156 value_field->set_number(2); in GenerateMapEntry() 1158 value_field->set_type(map_field.value_type); in GenerateMapEntry() 1160 value_field->set_type_name(map_field.value_type_name); in GenerateMapEntry() 1192 if (value_field->type() == FieldDescriptorProto::TYPE_STRING) { in GenerateMapEntry() 1193 value_field->mutable_options()->add_uninterpreted_option()->CopyFrom( in GenerateMapEntry()
|
/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)
|