Home
last modified time | relevance | path

Searched refs:parent_field (Results 1 – 4 of 4) sorted by relevance

/third_party/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc401 const FieldDescriptor* parent_field = in TreatAsMapWithMultipleFieldPathsAsKey() local
404 GOOGLE_CHECK(child_field->containing_type() == parent_field->message_type()) in TreatAsMapWithMultipleFieldPathsAsKey()
407 << parent_field->full_name(); in TreatAsMapWithMultipleFieldPathsAsKey()
409 GOOGLE_CHECK_EQ(FieldDescriptor::CPPTYPE_MESSAGE, parent_field->cpp_type()) in TreatAsMapWithMultipleFieldPathsAsKey()
410 << parent_field->full_name() << " has to be of type message."; in TreatAsMapWithMultipleFieldPathsAsKey()
411 GOOGLE_CHECK(!parent_field->is_repeated()) in TreatAsMapWithMultipleFieldPathsAsKey()
412 << parent_field->full_name() << " cannot be a repeated field."; in TreatAsMapWithMultipleFieldPathsAsKey()
1257 std::vector<SpecificField>* parent_field) { in CompareUnknownFields() argument
1405 *parent_field)) { in CompareUnknownFields()
1407 parent_field->push_back(specific_field); in CompareUnknownFields()
[all …]
/third_party/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter.cc569 if (element() != nullptr && IsStruct(*element()->parent_field())) { in StartObject()
576 if (element() != nullptr && IsStructValue(*element()->parent_field())) { in StartObject()
743 if (element() != nullptr && element()->parent_field() != nullptr) { in StartList()
747 if (IsStructValue(*element()->parent_field())) { in StartList()
755 if (IsStructListValue(*element()->parent_field())) { in StartList()
771 if (element() != nullptr && element()->parent_field() != nullptr) { in StartList()
772 if (IsStructValue(*element()->parent_field())) { in StartList()
784 if (IsStructListValue(*element()->parent_field())) { in StartList()
Dproto_writer.cc758 if (e->parent_field() == nullptr) { in Lookup()
760 } else if (!IsRepeated(*e->parent_field())) { in Lookup()
764 return e->parent_field(); in Lookup()
Dproto_writer.h185 const google::protobuf::Field* parent_field() const { in parent_field() function