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.cc99 std::vector<string> field_flags; in MapFieldGenerator() local
100 field_flags.push_back("GPBFieldMapKey" + GetCapitalizedType(key_descriptor)); in MapFieldGenerator()
104 field_flags.push_back("GPBFieldTextFormatNameCustom"); in MapFieldGenerator()
110 field_flags.push_back("GPBFieldHasDefaultValue"); in MapFieldGenerator()
113 field_flags.push_back("GPBFieldHasEnumDescriptor"); in MapFieldGenerator()
115 variables_["fieldflags"] = BuildFlagsString(FLAGTYPE_FIELD, field_flags); in MapFieldGenerator()
Dobjectivec_field.cc81 std::vector<string> field_flags; in SetCommonFieldVariables() local
82 if (descriptor->is_repeated()) field_flags.push_back("GPBFieldRepeated"); in SetCommonFieldVariables()
83 if (descriptor->is_required()) field_flags.push_back("GPBFieldRequired"); in SetCommonFieldVariables()
84 if (descriptor->is_optional()) field_flags.push_back("GPBFieldOptional"); in SetCommonFieldVariables()
85 if (descriptor->is_packed()) field_flags.push_back("GPBFieldPacked"); in SetCommonFieldVariables()
89 field_flags.push_back("GPBFieldHasDefaultValue"); in SetCommonFieldVariables()
90 if (needs_custom_name) field_flags.push_back("GPBFieldTextFormatNameCustom"); in SetCommonFieldVariables()
92 field_flags.push_back("GPBFieldHasEnumDescriptor"); in SetCommonFieldVariables()
95 (*variables)["fieldflags"] = BuildFlagsString(FLAGTYPE_FIELD, field_flags); in SetCommonFieldVariables()
Dobjectivec_field.h88 const string& field_flags = variable("fieldflags"); in needs_textformat_name_support() local
89 return field_flags.find("GPBFieldTextFormatNameCustom") != string::npos; in needs_textformat_name_support()