Searched refs:optInd (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/third_party/icu/source/samples/date/ |
D | date.c | 67 int optInd = 1; in main() local 79 for(optInd = 1; optInd < argc; ++optInd) { in main() 80 arg = argv[optInd]; in main() 111 if ( optInd + 1 < argc ) { in main() 112 optInd++; in main() 113 format = argv[optInd]; in main() 116 if ( optInd + 1 < argc ) { in main() 117 optInd++; in main() 118 seconds = argv[optInd]; in main() 121 if ( optInd + 1 < argc ) { in main() [all …]
|
/external/icu/icu4c/source/samples/date/ |
D | date.c | 67 int optInd = 1; in main() local 79 for(optInd = 1; optInd < argc; ++optInd) { in main() 80 arg = argv[optInd]; in main() 111 if ( optInd + 1 < argc ) { in main() 112 optInd++; in main() 113 format = argv[optInd]; in main() 116 if ( optInd + 1 < argc ) { in main() 117 optInd++; in main() 118 seconds = argv[optInd]; in main() 121 if ( optInd + 1 < argc ) { in main() [all …]
|
/external/icu/icu4c/source/samples/ugrep/ |
D | ugrep.cpp | 172 int optInd; in processOptions() local 178 for(optInd = 1; optInd < argc; ++optInd) { in processOptions() 179 arg = argv[optInd]; in processOptions() 195 ++optInd; in processOptions() 216 if (optInd == argc) { in processOptions() 221 int remainingArgs = argc-optInd; // pattern file ... in processOptions() 233 pattern = argv[optInd]; in processOptions() 234 firstFileNum = optInd+1; in processOptions()
|
/external/chromium_org/third_party/icu/source/samples/ugrep/ |
D | ugrep.cpp | 172 int optInd; in processOptions() local 178 for(optInd = 1; optInd < argc; ++optInd) { in processOptions() 179 arg = argv[optInd]; in processOptions() 195 ++optInd; in processOptions() 216 if (optInd == argc) { in processOptions() 221 int remainingArgs = argc-optInd; // pattern file ... in processOptions() 233 pattern = argv[optInd]; in processOptions() 234 firstFileNum = optInd+1; in processOptions()
|
/external/icu/icu4c/source/samples/cal/ |
D | cal.c | 113 int optInd = 1; in main() local 120 for(optInd = 1; optInd < argc; ++optInd) { in main() 121 arg = argv[optInd]; in main() 138 ++optInd; in main() 153 if(optInd != argc) { in main() 156 if(argc - optInd == 2) { in main() 157 sscanf(argv[optInd], "%d", (int*)&month); in main() 158 sscanf(argv[optInd + 1], "%d", (int*)&year); in main() 173 sscanf(argv[optInd], "%d", (int*)&year); in main()
|
/external/chromium_org/third_party/icu/source/samples/cal/ |
D | cal.c | 113 int optInd = 1; in main() local 120 for(optInd = 1; optInd < argc; ++optInd) { in main() 121 arg = argv[optInd]; in main() 138 ++optInd; in main() 153 if(optInd != argc) { in main() 156 if(argc - optInd == 2) { in main() 157 sscanf(argv[optInd], "%d", (int*)&month); in main() 158 sscanf(argv[optInd + 1], "%d", (int*)&year); in main() 173 sscanf(argv[optInd], "%d", (int*)&year); in main()
|