Lines Matching refs:gSwitches
95 static Switch* gSwitches[] = {
873 const int switchCount = sizeof(gSwitches) / sizeof(gSwitches[0]);
902 if(0 == strcmp(gSwitches[switchLoop]->mLongName, inArgv[loop]))
906 else if(0 == strcmp(gSwitches[switchLoop]->mShortName, inArgv[loop]))
913 if(gSwitches[switchLoop]->mHasValue)
922 current = gSwitches[switchLoop];
928 current = gSwitches[switchLoop];
1044 const int switchCount = sizeof(gSwitches) / sizeof(gSwitches[0]);
1053 if(gSwitches[loop]->mHasValue)
1062 printf("\t%s%s\n", gSwitches[loop]->mLongName, valueText);
1063 printf("\t %s%s", gSwitches[loop]->mShortName, valueText);
1064 printf(DESC_NEWLINE "%s\n\n", gSwitches[loop]->mDescription);