Searched refs:field_flags (Results 1 – 3 of 3) sorted by relevance
102 std::vector<string> field_flags; in MapFieldGenerator() local103 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()
82 std::vector<string> field_flags; in SetCommonFieldVariables() local83 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()
90 const string& field_flags = variable("fieldflags"); in needs_textformat_name_support() local91 return field_flags.find("GPBFieldTextFormatNameCustom") != string::npos; in needs_textformat_name_support()