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
84 for(optInd = 1; optInd < argc; ++optInd) { in main()
85 arg = argv[optInd]; in main()
116 if ( optInd + 1 < argc ) { in main()
117 optInd++; in main()
118 format = argv[optInd]; in main()
121 if ( optInd + 1 < argc ) { in main()
122 optInd++; in main()
123 seconds = argv[optInd]; in main()
126 if ( optInd + 1 < argc ) { in main()
[all …]
/external/icu/icu4c/source/samples/ugrep/
Dugrep.cpp179 int optInd; in processOptions() local
185 for(optInd = 1; optInd < argc; ++optInd) { in processOptions()
186 arg = argv[optInd]; in processOptions()
202 ++optInd; in processOptions()
223 if (optInd == argc) { in processOptions()
228 int remainingArgs = argc-optInd; // pattern file ... in processOptions()
240 pattern = argv[optInd]; in processOptions()
241 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()