Searched refs:optInd (Results 1 – 3 of 3) sorted by relevance
67 int optInd = 1; in main() local79 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 …]
172 int optInd; in processOptions() local178 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()
113 int optInd = 1; in main() local120 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()