Lines Matching defs:argv
186 int main(int argc, const char * const argv[])
200 apr_app_initialize(&argc, &argv, NULL);
216 if (strcmp(argv[1], "-c"))
218 rv = apr_file_open(&f, argv[2], APR_WRITE | APR_CREATE,
222 argv[2], &rv);
225 apr_cpystrn(user, argv[4], sizeof(user));
226 apr_cpystrn(realm, argv[3], sizeof(realm));
238 argv[0]);
248 if (apr_file_open(&f, argv[1], APR_READ, APR_OS_DEFAULT, cntxt) != APR_SUCCESS) {
250 "Could not open passwd file %s for reading.\n", argv[1]);
254 apr_cpystrn(user, argv[3], sizeof(user));
255 apr_cpystrn(realm, argv[2], sizeof(realm));
285 if (apr_file_copy(dirname, argv[1], APR_FILE_SOURCE_PERMS, cntxt) !=
288 argv[0], argv[1]);