Lines Matching refs:name

62     static C2String camelCaseToDashed(C2String name);
98 #define DEFINE_C2_ENUM_VALUE_AUTO_HELPER(name, type, prefix, ...) \ argument
99 _DEFINE_C2_ENUM_VALUE_AUTO_HELPER(__C2_GENERATE_GLOBAL_VARS__, name, type, prefix, \
101 #define _DEFINE_C2_ENUM_VALUE_AUTO_HELPER(enabled, name, type, prefix, ...) \ argument
102 __DEFINE_C2_ENUM_VALUE_AUTO_HELPER(enabled, name, type, prefix, ##__VA_ARGS__)
103 #define __DEFINE_C2_ENUM_VALUE_AUTO_HELPER(enabled, name, type, prefix, ...) \ argument
104 ___DEFINE_C2_ENUM_VALUE_AUTO_HELPER##enabled(name, type, prefix, ##__VA_ARGS__)
105 #define ___DEFINE_C2_ENUM_VALUE_AUTO_HELPER(name, type, prefix, ...) \ argument
107 C2FieldDescriptor::NamedValuesType C2FieldDescriptor::namedValuesFor(const name &r __unused) { \
113 #define ___DEFINE_C2_ENUM_VALUE_AUTO_HELPER__C2_GENERATE_GLOBAL_VARS__(name, type, prefix, ...) argument
115 #define DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER(name, names) \ argument
116 _DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER(__C2_GENERATE_GLOBAL_VARS__, name, names)
117 #define _DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER(enabled, name, names) \ argument
118 __DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER(enabled, name, names)
119 #define __DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER(enabled, name, names) \ argument
120 ___DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER##enabled(name, names)
121 #define ___DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER(name, names) \ argument
123 C2FieldDescriptor::NamedValuesType C2FieldDescriptor::namedValuesFor(const name &r __unused) { \
125 std::vector<std::pair<C2StringLiteral, name>> names); \
127 #define ___DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER__C2_GENERATE_GLOBAL_VARS__(name, names) argument
148 #define C2ENUM(name, type, ...) \ argument
149 enum name : type { __VA_ARGS__ }; \
150 DEFINE_C2_ENUM_VALUE_AUTO_HELPER(name, type, nullptr, __VA_ARGS__)
172 #define C2ENUM_CUSTOM_PREFIX(name, type, prefix, ...) \ argument
173 enum name : type { __VA_ARGS__ }; \
174 DEFINE_C2_ENUM_VALUE_AUTO_HELPER(name, type, prefix, __VA_ARGS__)
193 #define C2ENUM_CUSTOM_NAMES(name, type, names, ...) \ argument
194 enum name : type { __VA_ARGS__ }; \
195 DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER(name, names)