Home
last modified time | relevance | path

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

/system/extras/libjsonpb/verify/
Dverify.cpp43 const std::string& GetJsonName(const FieldDescriptor& field_descriptor) { in GetJsonName() argument
49 field_descriptor.CopyTo(&proto); in GetJsonName()
50 return proto.has_json_name() ? field_descriptor.json_name() in GetJsonName()
51 : field_descriptor.name(); in GetJsonName()
91 for (auto&& field_descriptor : set_field_descriptors) { in AllFieldsAreKnown()
92 if (field_descriptor->cpp_type() != in AllFieldsAreKnown()
96 if (field_descriptor->is_map()) { in AllFieldsAreKnown()
100 const std::string& json_name = GetJsonName(*field_descriptor); in AllFieldsAreKnown()
103 if (field_descriptor->is_repeated()) { in AllFieldsAreKnown()
105 reflection->GetRepeatedFieldRef<Message>(message, field_descriptor); in AllFieldsAreKnown()
[all …]