Lines Matching defs:argv
303 if (poptParseArgvString(se, &item->argc, &item->argv)) goto exit;
308 if (!strncmp(item->argv[i], "--POPTdesc=", sizeof("--POPTdesc=")-1)) {
309 f = item->argv[i] + sizeof("--POPTdesc=");
315 if (!strncmp(item->argv[i], "--POPTargs=", sizeof("--POPTargs=")-1)) {
316 f = item->argv[i] + sizeof("--POPTargs=");
324 item->argv[j] = item->argv[i];
327 item->argv[j] = NULL;
492 poptInit(int argc, const char ** argv,
498 if (argv == NULL || argv[0] == NULL || options == NULL)
501 if ((argv0 = strrchr(argv[0], '/')) != NULL) argv0++;
502 else argv0 = argv[0];
504 con = poptGetContext(argv0, argc, (const char **)argv, options, 0);