Lines Matching refs:FieldDescriptor
78 const FieldDescriptor** type_url_field,
79 const FieldDescriptor** value_field) {
84 (*type_url_field)->type() == FieldDescriptor::TYPE_STRING &&
86 (*value_field)->type() == FieldDescriptor::TYPE_BYTES);
148 const FieldDescriptor* field,
154 const FieldDescriptor* field) {
163 void CheckFieldIndex(const FieldDescriptor* field, int index) {
176 const FieldDescriptor* field, int index) const {
190 const FieldDescriptor* field, int index) const {
282 bool ParseField(const FieldDescriptor* field, Message* output) {
284 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
377 const FieldDescriptor* field = NULL;
381 const FieldDescriptor* any_type_url_field;
382 const FieldDescriptor* any_value_field;
441 if (field != NULL && field->type() != FieldDescriptor::TYPE_GROUP) {
446 if (field != NULL && field->type() == FieldDescriptor::TYPE_GROUP
497 const FieldDescriptor* other_field =
507 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
518 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
529 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
584 const FieldDescriptor* field) {
621 const FieldDescriptor* field) {
634 case FieldDescriptor::CPPTYPE_INT32: {
641 case FieldDescriptor::CPPTYPE_UINT32: {
648 case FieldDescriptor::CPPTYPE_INT64: {
655 case FieldDescriptor::CPPTYPE_UINT64: {
662 case FieldDescriptor::CPPTYPE_FLOAT: {
669 case FieldDescriptor::CPPTYPE_DOUBLE: {
676 case FieldDescriptor::CPPTYPE_STRING: {
683 case FieldDescriptor::CPPTYPE_BOOL: {
704 case FieldDescriptor::CPPTYPE_ENUM: {
741 case FieldDescriptor::CPPTYPE_MESSAGE: {
1305 const FieldDescriptor* field,
1381 const FieldDescriptor* field) const {
1385 && field->type() == FieldDescriptor::TYPE_MESSAGE
1392 } else if (field->type() == FieldDescriptor::TYPE_GROUP) {
1456 const FieldDescriptor* field,
1506 bool operator()(const FieldDescriptor* left,
1507 const FieldDescriptor* right) const {
1516 const FieldDescriptor* type_url_field;
1517 const FieldDescriptor* value_field;
1568 vector<const FieldDescriptor*> fields;
1583 const FieldDescriptor* field,
1604 case FieldDescriptor::CPPTYPE_BOOL: {
1609 case FieldDescriptor::CPPTYPE_INT32: {
1614 case FieldDescriptor::CPPTYPE_INT64: {
1619 case FieldDescriptor::CPPTYPE_UINT32: {
1624 case FieldDescriptor::CPPTYPE_UINT64: {
1629 case FieldDescriptor::CPPTYPE_STRING: {
1641 const FieldDescriptor* field_;
1646 const FieldDescriptor* field,
1650 field->cpp_type() != FieldDescriptor::CPPTYPE_STRING &&
1651 field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) {
1684 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
1718 const FieldDescriptor* field,
1738 const FieldDescriptor* field,
1755 const FieldDescriptor* field,
1767 case FieldDescriptor::CPPTYPE_##CPPTYPE: \
1782 case FieldDescriptor::CPPTYPE_STRING: {
1796 if (field->type() == FieldDescriptor::TYPE_STRING) {
1799 GOOGLE_DCHECK_EQ(field->type(), FieldDescriptor::TYPE_BYTES);
1805 case FieldDescriptor::CPPTYPE_ENUM: {
1826 case FieldDescriptor::CPPTYPE_MESSAGE:
1858 const FieldDescriptor* field,
1866 const FieldDescriptor* field,