Lines Matching defs:shortName
200 // bool 2 allows specifying a short name. No check is done to ensure that shortName
202 #define DEFINE_bool2(name, shortName, defaultValue, helpString) \
205 TO_STRING(name), TO_STRING(shortName), &FLAGS_##name, defaultValue, helpString)
218 // string2 allows specifying a short name. There is an assert that shortName
220 #define DEFINE_string2(name, shortName, defaultValue, helpString) \
223 TO_STRING(shortName), \
236 #define DEFINE_int_2(name, shortName, defaultValue, helpString) \
239 TO_STRING(name), TO_STRING(shortName), &FLAGS_##name, defaultValue, helpString)
266 * @param shortName Short version (one character) of the name of the flag. This name can
267 * be referenced on the command line as "-shortName" to set the value of this flag.
274 const char* shortName,
278 SkFlagInfo* info = new SkFlagInfo(name, shortName, kBool_FlagType, helpString, nullptr);
291 const char* shortName,
311 const char* shortName,
315 SkFlagInfo* info = new SkFlagInfo(name, shortName, kInt_FlagType, helpString, nullptr);
395 const SkString& shortName() const { return fShortName; }
426 const char* shortName,
431 , fShortName(shortName)
445 SkASSERT(nullptr == shortName || 1 == strlen(shortName));