Home
last modified time | relevance | path

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

/system/extras/libjsonpb/verify/
Dverify.cpp42 const std::string& GetJsonName(const FieldDescriptor& field_descriptor) { in GetJsonName() argument
48 field_descriptor.CopyTo(&proto); in GetJsonName()
49 return proto.has_json_name() ? field_descriptor.json_name() : field_descriptor.name(); in GetJsonName()
86 for (auto&& field_descriptor : set_field_descriptors) { in AllFieldsAreKnown()
87 if (field_descriptor->cpp_type() != FieldDescriptor::CppType::CPPTYPE_MESSAGE) { in AllFieldsAreKnown()
90 if (field_descriptor->is_map()) { in AllFieldsAreKnown()
94 const std::string& json_name = GetJsonName(*field_descriptor); in AllFieldsAreKnown()
97 if (field_descriptor->is_repeated()) { in AllFieldsAreKnown()
98 auto&& fields = reflection->GetRepeatedFieldRef<Message>(message, field_descriptor); in AllFieldsAreKnown()
124 auto&& field = reflection->GetMessage(message, field_descriptor); in AllFieldsAreKnown()