Home | History | Annotate | Download | only in flags

Lines Matching full:shortname

189 // bool 2 allows specifying a short name. No check is done to ensure that shortName
191 #define DEFINE_bool2(name, shortName, defaultValue, helpString) \
194 TO_STRING(shortName),\
209 // string2 allows specifying a short name. There is an assert that shortName
211 #define DEFINE_string2(name, shortName, defaultValue, helpString) \
214 TO_STRING(shortName), \
256 * @param shortName Short version (one character) of the name of the flag. This name can
257 * be referenced on the command line as "-shortName" to set the value of this flag.
263 static bool CreateBoolFlag(const char* name, const char* shortName, bool* pBool,
265 SkFlagInfo* info = SkNEW_ARGS(SkFlagInfo, (name, shortName, kBool_FlagType, helpString));
277 static bool CreateStringFlag(const char* name, const char* shortName,
364 const SkString& shortName() const { return fShortName; }
405 SkFlagInfo(const char* name, const char* shortName, FlagTypes type, const char* helpString)
407 , fShortName(shortName)
420 SkASSERT(NULL == shortName || 1 == strlen(shortName));