/external/protobuf/csharp/protos/ |
D | unittest_issues.proto | 122 // Message for testing the effects for of the json_name option 124 string description = 2 [json_name = "desc"]; 125 string guid = 3 [json_name = "exid"];
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | utility.cc | 165 const google::protobuf::Type* type, StringPiece json_name) { in FindJsonFieldInTypeOrNull() argument 169 if (field.json_name() == json_name) { in FindJsonFieldInTypeOrNull()
|
D | utility.h | 133 const google::protobuf::Type* type, StringPiece json_name);
|
D | type_info.cc | 139 StringPiece camel_case_name = field.json_name(); in PopulateNameLookupTable()
|
D | default_value_objectwriter.cc | 366 field.json_name(), field_type, kind, in PopulateChildren()
|
D | protostream_objectsource.cc | 196 field_name = field->json_name(); in WriteMessage()
|
/external/protobuf/src/google/protobuf/ |
D | type.pb.cc | 1293 this->json_name().data(), this->json_name().length(), in MergePartialFromCodedStream() 1398 if (this->json_name().size() > 0) { in SerializeWithCachedSizes() 1400 this->json_name().data(), this->json_name().length(), in SerializeWithCachedSizes() 1404 10, this->json_name(), output); in SerializeWithCachedSizes() 1480 if (this->json_name().size() > 0) { in SerializeWithCachedSizesToArray() 1482 this->json_name().data(), this->json_name().length(), in SerializeWithCachedSizesToArray() 1487 10, this->json_name(), target); in SerializeWithCachedSizesToArray() 1555 if (this->json_name().size() > 0) { in ByteSize() 1558 this->json_name()); in ByteSize() 1624 if (from.json_name().size() > 0) { in MergeFrom() [all …]
|
D | type.pb.h | 489 const ::std::string& json_name() const; 495 void set_allocated_json_name(::std::string* json_name); 1268 inline const ::std::string& Field::json_name() const { in json_name() function 1298 inline void Field::set_allocated_json_name(::std::string* json_name) { in set_allocated_json_name() argument 1299 if (json_name != NULL) { in set_allocated_json_name() 1304 …name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), json_name); in set_allocated_json_name()
|
D | descriptor_unittest.cc | 775 EXPECT_EQ("fieldName1", message4_->field(0)->json_name()); in TEST_F() 776 EXPECT_EQ("fieldName2", message4_->field(1)->json_name()); in TEST_F() 777 EXPECT_EQ("fieldName3", message4_->field(2)->json_name()); in TEST_F() 778 EXPECT_EQ("fieldName4", message4_->field(3)->json_name()); in TEST_F() 779 EXPECT_EQ("fIELDNAME5", message4_->field(4)->json_name()); in TEST_F() 780 EXPECT_EQ("@type", message4_->field(5)->json_name()); in TEST_F() 790 EXPECT_EQ("@type", proto.field(5).json_name()); in TEST_F() 795 EXPECT_EQ("fieldName1", proto.field(0).json_name()); in TEST_F() 796 EXPECT_EQ("fieldName2", proto.field(1).json_name()); in TEST_F() 797 EXPECT_EQ("fieldName3", proto.field(2).json_name()); in TEST_F() [all …]
|
D | type.proto | 136 string json_name = 10; field
|
D | descriptor.h | 514 const string& json_name() const; // JSON name of this field. 1679 PROTOBUF_DEFINE_STRING_ACCESSOR(FieldDescriptor, json_name) in PROTOBUF_DEFINE_STRING_ACCESSOR()
|
D | descriptor.pb.cc | 4513 this->json_name().data(), this->json_name().length(), in MergePartialFromCodedStream() 4619 this->json_name().data(), this->json_name().length(), in SerializeWithCachedSizes() 4623 10, this->json_name(), output); in SerializeWithCachedSizes() 4712 this->json_name().data(), this->json_name().length(), in SerializeWithCachedSizesToArray() 4717 10, this->json_name(), target); in SerializeWithCachedSizesToArray() 4793 this->json_name()); in ByteSize() 5258 const ::std::string& FieldDescriptorProto::json_name() const { in json_name() function in google::protobuf::FieldDescriptorProto 5288 void FieldDescriptorProto::set_allocated_json_name(::std::string* json_name) { in set_allocated_json_name() argument 5289 if (json_name != NULL) { in set_allocated_json_name() 5294 …name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), json_name); in set_allocated_json_name()
|
D | descriptor.proto | 194 // user has set a "json_name" option on this field, that option's value 197 optional string json_name = 10; field
|
D | descriptor.pb.h | 1163 const ::std::string& json_name() const; 1169 void set_allocated_json_name(::std::string* json_name); 4967 inline const ::std::string& FieldDescriptorProto::json_name() const { in json_name() function 4997 inline void FieldDescriptorProto::set_allocated_json_name(::std::string* json_name) { in set_allocated_json_name() argument 4998 if (json_name != NULL) { in set_allocated_json_name() 5003 …name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), json_name); in set_allocated_json_name()
|
D | descriptor.cc | 1845 proto->set_json_name(json_name()); in CopyTo() 1894 proto->set_json_name(json_name()); in CopyJsonNameTo() 4226 result->json_name_ = tables_->AllocateString(proto.json_name()); in BuildFieldOrExtension()
|
/external/protobuf/src/google/protobuf/util/ |
D | type_resolver_util_test.cc | 341 EXPECT_EQ("optionalInt32", FindField(type, "optional_int32")->json_name()); in TEST_F() 346 EXPECT_EQ("@value", FindField(type, "value")->json_name()); in TEST_F()
|
D | type_resolver_util.cc | 162 field->set_json_name(descriptor->json_name()); in ConvertFieldDescriptor()
|
D | json_format_proto3.proto | 175 int32 value = 1 [json_name = "@value"];
|
/external/protobuf/src/google/protobuf/util/internal/testdata/ |
D | books.proto | 76 optional uint64 id = 1 [json_name = "@id"];
|
/external/protobuf/java/util/src/test/proto/com/google/protobuf/util/ |
D | json_test.proto | 200 int32 value = 1 [json_name = "@value"];
|
/external/protobuf/ |
D | CHANGES.txt | 90 * `json_name` option is now honored 136 * Added a new field option "json_name". By default proto field names are
|
/external/protobuf/util/ |
D | CHANGES.txt | 90 * `json_name` option is now honored 136 * Added a new field option "json_name". By default proto field names are
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.h | 2145 bool set_json_name(const char* json_name, upb::Status* s);
|