Lines Matching refs:arg
115 static void *file_reader_loop(void *arg) in file_reader_loop() argument
178 char *arg = argv[i]; in main() local
179 if (arg[0] != '-') { in main()
182 if (!strcmp(arg, "-b")) { in main()
184 } else if (!strcmp(arg, "-l")) { in main()
186 } else if (!strcmp(arg, "-8")) { in main()
188 } else if (!strncmp(arg, "-f", 2)) { in main()
189 framesPerBuffer = atoi(&arg[2]); in main()
190 } else if (!strncmp(arg, "-n", 2)) { in main()
191 numBuffers = atoi(&arg[2]); in main()
192 } else if (!strncmp(arg, "-p", 2)) { in main()
193 initialRate = atoi(&arg[2]); in main()
195 } else if (!strncmp(arg, "-P", 2)) { in main()
196 finalRate = atoi(&arg[2]); in main()
198 } else if (!strncmp(arg, "-q", 2)) { in main()
199 deltaRate = atoi(&arg[2]); in main()
205 } else if (!strncmp(arg, "-Q", 2)) { in main()
206 deltaRateMs = atoi(&arg[2]); in main()
208 } else if (!strcmp(arg, "-r")) { in main()
211 fprintf(stderr, "option %s ignored\n", arg); in main()