Lines Matching refs:ap_php_optind

14 int ap_php_optind = 1;  variable
50 if (ap_php_optind >= argc) in ap_php_getopt()
52 if (!dash && (argv[ap_php_optind][0] != '-')) in ap_php_getopt()
54 if (!dash && (argv[ap_php_optind][0] == '-') && !argv[ap_php_optind][1]) in ap_php_getopt()
62 if ((argv[ap_php_optind][0] == '-') && (argv[ap_php_optind][1] == '-')) in ap_php_getopt()
65 ap_php_optind++; in ap_php_getopt()
70 assert((argv[ap_php_optind][0] == '-') && argv[ap_php_optind][1]); in ap_php_getopt()
77 if (argv[ap_php_optind][optchr] == ':') in ap_php_getopt()
80 ap_php_optind++; in ap_php_getopt()
81 return(ap_php_optiserr(argc, argv, ap_php_optind-1, optstr, optchr, OPTERRCOLON)); in ap_php_getopt()
83 if (!(cp = strchr(optstr, argv[ap_php_optind][optchr]))) in ap_php_getopt()
85 int errind = ap_php_optind; in ap_php_getopt()
88 if (!argv[ap_php_optind][optchr+1]) in ap_php_getopt()
91 ap_php_optind++; in ap_php_getopt()
102 if(!argv[ap_php_optind][2]) { in ap_php_getopt()
103 ap_php_optind++; in ap_php_getopt()
104 if (ap_php_optind == argc) in ap_php_getopt()
105 return(ap_php_optiserr(argc, argv, ap_php_optind-1, optstr, optchr, OPTERRARG)); in ap_php_getopt()
106 ap_php_optarg = argv[ap_php_optind++]; in ap_php_getopt()
110 ap_php_optarg = &argv[ap_php_optind][2]; in ap_php_getopt()
111 ap_php_optind++; in ap_php_getopt()
117 if (!argv[ap_php_optind][optchr+1]) in ap_php_getopt()
120 ap_php_optind++; in ap_php_getopt()
136 extern int ap_php_optind; in main()
168 for ( ; ap_php_optind < argc; ap_php_optind++) in main()
169 (void)printf("%s\n", argv[ap_php_optind]); in main()