Searched refs:field_flags (Results 1 – 3 of 3) sorted by relevance
99 std::vector<string> field_flags; in MapFieldGenerator() local100 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()
81 std::vector<string> field_flags; in SetCommonFieldVariables() local82 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()
88 const string& field_flags = variable("fieldflags"); in needs_textformat_name_support() local89 return field_flags.find("GPBFieldTextFormatNameCustom") != string::npos; in needs_textformat_name_support()