• Home
  • Raw
  • Download

Lines Matching refs:optind

406 	if (optind != argc - 2)  in read_f()
414 offset = cvtnum(argv[optind]); in read_f()
416 printf("non-numeric length argument -- %s\n", argv[optind]); in read_f()
420 optind++; in read_f()
421 count = cvtnum(argv[optind]); in read_f()
423 printf("non-numeric length argument -- %s\n", argv[optind]); in read_f()
565 if (optind > argc - 2) in readv_f()
569 offset = cvtnum(argv[optind]); in readv_f()
571 printf("non-numeric length argument -- %s\n", argv[optind]); in readv_f()
574 optind++; in readv_f()
582 nr_iov = argc - optind; in readv_f()
583 buf = create_iovec(&qiov, &argv[optind], nr_iov, 0xab); in readv_f()
690 if (optind != argc - 2) in write_f()
698 offset = cvtnum(argv[optind]); in write_f()
700 printf("non-numeric length argument -- %s\n", argv[optind]); in write_f()
704 optind++; in write_f()
705 count = cvtnum(argv[optind]); in write_f()
707 printf("non-numeric length argument -- %s\n", argv[optind]); in write_f()
816 if (optind > argc - 2) in writev_f()
819 offset = cvtnum(argv[optind]); in writev_f()
821 printf("non-numeric length argument -- %s\n", argv[optind]); in writev_f()
824 optind++; in writev_f()
832 nr_iov = argc - optind; in writev_f()
833 buf = create_iovec(&qiov, &argv[optind], nr_iov, pattern); in writev_f()
923 if (optind > argc - 2) in multiwrite_f()
927 for (i = optind; i < argc; i++) { in multiwrite_f()
941 offset = cvtnum(argv[optind]); in multiwrite_f()
943 printf("non-numeric offset argument -- %s\n", argv[optind]); in multiwrite_f()
946 optind++; in multiwrite_f()
959 for (j = optind; j < argc; j++) { in multiwrite_f()
965 nr_iov = j - optind; in multiwrite_f()
969 buf[i] = create_iovec(reqs[i].qiov, &argv[optind], nr_iov, pattern); in multiwrite_f()
973 optind = j + 1; in multiwrite_f()
1151 if (optind > argc - 2) { in aio_read_f()
1156 ctx->offset = cvtnum(argv[optind]); in aio_read_f()
1158 printf("non-numeric length argument -- %s\n", argv[optind]); in aio_read_f()
1162 optind++; in aio_read_f()
1171 nr_iov = argc - optind; in aio_read_f()
1172 ctx->buf = create_iovec(&ctx->qiov, &argv[optind], nr_iov, 0xab); in aio_read_f()
1246 if (optind > argc - 2) { in aio_write_f()
1251 ctx->offset = cvtnum(argv[optind]); in aio_write_f()
1253 printf("non-numeric length argument -- %s\n", argv[optind]); in aio_write_f()
1257 optind++; in aio_write_f()
1266 nr_iov = argc - optind; in aio_write_f()
1267 ctx->buf = create_iovec(&ctx->qiov, &argv[optind], nr_iov, pattern); in aio_write_f()
1450 if (optind != argc - 2) { in discard_f()
1454 offset = cvtnum(argv[optind]); in discard_f()
1456 printf("non-numeric length argument -- %s\n", argv[optind]); in discard_f()
1460 optind++; in discard_f()
1461 count = cvtnum(argv[optind]); in discard_f()
1463 printf("non-numeric length argument -- %s\n", argv[optind]); in discard_f()
1680 if (optind != argc - 1) in open_f()
1683 return openfile(argv[optind], flags, growable); in open_f()
1788 if ((argc - optind) > 1) { in main()
1824 if ((argc - optind) == 1) in main()
1825 openfile(argv[optind], flags, growable); in main()