Lines Matching refs:pOpt
228 OptSpec *pOpt; in ProcessOptions() local
232 for (pOpt = opts; pOpt->name != 0; pOpt++) { in ProcessOptions()
233 if (strcmp(pOpt->name, pArgName) == 0) { in ProcessOptions()
234 switch (pOpt->type) { in ProcessOptions()
236 *(UBool *)(pOpt->pVar) = TRUE; in ProcessOptions()
241 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions()
244 *(const char **)(pOpt->pVar) = argv[argNum]; in ProcessOptions()
249 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions()
255 fprintf(stderr, "integer value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions()
258 *(int *)(pOpt->pVar) = i; in ProcessOptions()
263 if (pOpt->name == 0) in ProcessOptions()