Home
last modified time | relevance | path

Searched refs:pOpt (Results 1 – 3 of 3) sorted by relevance

/external/icu4c/samples/coll/
Dcoll.cpp89 OptSpec *pOpt; in processOptions() local
90 for (pOpt = opts; pOpt->name != 0; pOpt ++) { in processOptions()
91 if (strcmp(pOpt->name, pArgName) == 0) { in processOptions()
92 switch (pOpt->type) { in processOptions()
94 *(UBool *)(pOpt->pVar) = TRUE; in processOptions()
100 pOpt->name); in processOptions()
103 *(const char **)(pOpt->pVar) = argv[argNum]; in processOptions()
109 pOpt->name); in processOptions()
117 pOpt->name); in processOptions()
120 *(int *)(pOpt->pVar) = i; in processOptions()
[all …]
/external/icu4c/samples/strsrch/
Dstrsrch.cpp100 OptSpec *pOpt; in processOptions() local
101 for (pOpt = opts; pOpt->name != 0; pOpt ++) { in processOptions()
102 if (strcmp(pOpt->name, pArgName) == 0) { in processOptions()
103 switch (pOpt->type) { in processOptions()
105 *(UBool *)(pOpt->pVar) = TRUE; in processOptions()
111 pOpt->name); in processOptions()
114 *(const char **)(pOpt->pVar) = argv[argNum]; in processOptions()
120 pOpt->name); in processOptions()
128 pOpt->name); in processOptions()
131 *(int *)(pOpt->pVar) = i; in processOptions()
[all …]
/external/icu4c/test/perf/ubrkperf/
Dubrkperfold.cpp234 OptSpec *pOpt; in ProcessOptions() local
238 for (pOpt = opts; pOpt->name != 0; pOpt++) { in ProcessOptions()
239 if (strcmp(pOpt->name, pArgName) == 0) { in ProcessOptions()
240 switch (pOpt->type) { in ProcessOptions()
242 *(UBool *)(pOpt->pVar) = TRUE; in ProcessOptions()
247 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions()
250 *(const char **)(pOpt->pVar) = argv[argNum]; in ProcessOptions()
255 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions()
261 fprintf(stderr, "integer value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions()
264 *(int *)(pOpt->pVar) = i; in ProcessOptions()
[all …]