Home
last modified time | relevance | path

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

/external/icu/icu4c/source/samples/date/
Ddate.c71 int optInd = 1; in main() local
83 for(optInd = 1; optInd < argc; ++optInd) { in main()
84 arg = argv[optInd]; in main()
115 if ( optInd + 1 < argc ) { in main()
116 optInd++; in main()
117 format = argv[optInd]; in main()
120 if ( optInd + 1 < argc ) { in main()
121 optInd++; in main()
122 seconds = argv[optInd]; in main()
125 if ( optInd + 1 < argc ) { in main()
[all …]
/external/icu/icu4c/source/samples/ugrep/
Dugrep.cpp178 int optInd; in processOptions() local
184 for(optInd = 1; optInd < argc; ++optInd) { in processOptions()
185 arg = argv[optInd]; in processOptions()
201 ++optInd; in processOptions()
222 if (optInd == argc) { in processOptions()
227 int remainingArgs = argc-optInd; // pattern file ... in processOptions()
239 pattern = argv[optInd]; in processOptions()
240 firstFileNum = optInd+1; in processOptions()
/external/icu/icu4c/source/samples/cal/
Dcal.c117 int optInd = 1; in main() local
124 for(optInd = 1; optInd < argc; ++optInd) { in main()
125 arg = argv[optInd]; in main()
142 ++optInd; in main()
157 if(optInd != argc) { in main()
160 if(argc - optInd == 2) { in main()
161 sscanf(argv[optInd], "%d", (int*)&month); in main()
162 sscanf(argv[optInd + 1], "%d", (int*)&year); in main()
177 sscanf(argv[optInd], "%d", (int*)&year); in main()