Lines Matching refs:shortName
185 // bool 2 allows specifying a short name. No check is done to ensure that shortName
187 #define DEFINE_bool2(name, shortName, defaultValue, helpString) \
190 TO_STRING(shortName),\
205 // string2 allows specifying a short name. There is an assert that shortName
207 #define DEFINE_string2(name, shortName, defaultValue, helpString) \
210 TO_STRING(shortName), \
252 * @param shortName Short version (one character) of the name of the flag. This name can
253 * be referenced on the command line as "-shortName" to set the value of this flag.
259 static bool CreateBoolFlag(const char* name, const char* shortName, bool* pBool,
261 SkFlagInfo* info = SkNEW_ARGS(SkFlagInfo, (name, shortName, kBool_FlagType, helpString));
273 static bool CreateStringFlag(const char* name, const char* shortName,
360 const SkString& shortName() const { return fShortName; }
401 SkFlagInfo(const char* name, const char* shortName, FlagTypes type, const char* helpString)
403 , fShortName(shortName)
416 SkASSERT(NULL == shortName || 1 == strlen(shortName));