Searched refs:pOpt (Results 1 – 4 of 4) sorted by relevance
/external/icu4c/samples/coll/ |
D | coll.cpp | 89 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/ |
D | strsrch.cpp | 100 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/ |
D | ubrkperfold.cpp | 234 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 …]
|
/external/icu4c/test/perf/collationperf/ |
D | collperf.cpp | 224 OptSpec *pOpt; in ProcessOptions() local 228 for (pOpt = opts; pOpt->name != 0; pOpt++) { in ProcessOptions() 229 if (strcmp(pOpt->name, pArgName) == 0) { in ProcessOptions() 230 switch (pOpt->type) { in ProcessOptions() 232 *(UBool *)(pOpt->pVar) = TRUE; in ProcessOptions() 237 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions() 240 *(const char **)(pOpt->pVar) = argv[argNum]; in ProcessOptions() 245 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions() 251 fprintf(stderr, "integer value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions() 254 *(int *)(pOpt->pVar) = i; in ProcessOptions() [all …]
|