Home
last modified time | relevance | path

Searched refs:camelcase_name (Results 1 – 9 of 9) sorted by relevance

/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc1087 EXPECT_EQ("fooFoo", message_->field(0)->camelcase_name()); in TEST_F()
1088 EXPECT_EQ("fooBar", message_->field(1)->camelcase_name()); in TEST_F()
1089 EXPECT_EQ("fooBaz", message_->field(2)->camelcase_name()); in TEST_F()
1090 EXPECT_EQ("fooFoo", message_->field(3)->camelcase_name()); in TEST_F()
1091 EXPECT_EQ("foobar", message_->field(4)->camelcase_name()); in TEST_F()
1093 EXPECT_EQ("barFoo", message_->extension(0)->camelcase_name()); in TEST_F()
1094 EXPECT_EQ("barBar", message_->extension(1)->camelcase_name()); in TEST_F()
1095 EXPECT_EQ("barBaz", message_->extension(2)->camelcase_name()); in TEST_F()
1096 EXPECT_EQ("barFoo", message_->extension(3)->camelcase_name()); in TEST_F()
1097 EXPECT_EQ("barbar", message_->extension(4)->camelcase_name()); in TEST_F()
[all …]
Ddescriptor.h245 const string& camelcase_name) const;
536 const string& camelcase_name() const;
1681 PROTOBUF_DEFINE_STRING_ACCESSOR(FieldDescriptor, camelcase_name) in PROTOBUF_DEFINE_STRING_ACCESSOR()
Ddescriptor.cc589 const void* parent, const string& camelcase_name) const;
834 const void* parent, const string& camelcase_name) const { in FindFieldByCamelcaseName()
836 PointerStringPair(parent, camelcase_name.c_str())); in FindFieldByCamelcaseName()
954 PointerStringPair camelcase_key(parent, field->camelcase_name().c_str()); in AddFieldByStylizedNames()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_containers.cc187 char* camelcase_name; in _GetItemByKey() local
189 if (PyString_AsStringAndSize(key, &camelcase_name, &name_size) < 0) { in _GetItemByKey()
199 self, string(camelcase_name, name_size)); in _GetItemByKey()
962 return item->camelcase_name(); in GetItemCamelcaseName()
Ddescriptor.cc694 return PyString_FromCppString(_GetDescriptor(self)->camelcase_name()); in GetCamelcaseName()
/external/protobuf/python/google/protobuf/
Djson_format.py124 name = field.camelcase_name
156 name = field.camelcase_name
Ddescriptor.py325 (f.camelcase_name, f) for f in self.fields)
544 def camelcase_name(self): member in FieldDescriptor
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py448 self.assertEqual(field_descriptor.camelcase_name, 'optionalInt32')
817 self.assertEqual(result.fields[index].camelcase_name,
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc212 field->camelcase_name()) != field) { in FieldConstantName()