Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_map_field.cc102 std::vector<string> field_flags; in MapFieldGenerator() local
103 field_flags.push_back("GPBFieldMapKey" + GetCapitalizedType(key_descriptor)); in MapFieldGenerator()
107 field_flags.push_back("GPBFieldTextFormatNameCustom"); in MapFieldGenerator()
113 field_flags.push_back("GPBFieldHasDefaultValue"); in MapFieldGenerator()
116 field_flags.push_back("GPBFieldHasEnumDescriptor"); in MapFieldGenerator()
118 variables_["fieldflags"] = BuildFlagsString(field_flags); in MapFieldGenerator()
Dobjectivec_field.cc82 std::vector<string> field_flags; in SetCommonFieldVariables() local
83 if (descriptor->is_repeated()) field_flags.push_back("GPBFieldRepeated"); in SetCommonFieldVariables()
84 if (descriptor->is_required()) field_flags.push_back("GPBFieldRequired"); in SetCommonFieldVariables()
85 if (descriptor->is_optional()) field_flags.push_back("GPBFieldOptional"); in SetCommonFieldVariables()
86 if (descriptor->is_packed()) field_flags.push_back("GPBFieldPacked"); in SetCommonFieldVariables()
90 field_flags.push_back("GPBFieldHasDefaultValue"); in SetCommonFieldVariables()
91 if (needs_custom_name) field_flags.push_back("GPBFieldTextFormatNameCustom"); in SetCommonFieldVariables()
93 field_flags.push_back("GPBFieldHasEnumDescriptor"); in SetCommonFieldVariables()
96 (*variables)["fieldflags"] = BuildFlagsString(field_flags); in SetCommonFieldVariables()
Dobjectivec_field.h90 const string& field_flags = variable("fieldflags"); in needs_textformat_name_support() local
91 return field_flags.find("GPBFieldTextFormatNameCustom") != string::npos; in needs_textformat_name_support()