Searched defs:argv (Results 1 - 25 of 194) sorted by relevance

12345678

/bind-9.11.3/unit/atf-src/bootstrap/
H A Dh_app_empty.cpp59 main(int argc, char* const* argv) argument
61 return h_app_empty().run(argc, argv);
/bind-9.11.3/unit/atf-src/tools/
H A Datf-version.cpp88 main(int argc, char* const* argv) argument
90 return atf_version().run(argc, argv);
/bind-9.11.3/bin/tools/
H A Darpaname.c21 main(int argc, char *argv[]) { argument
27 while (argv[1]) {
28 if (inet_pton(AF_INET6, argv[1], buf) == 1) {
33 argv++;
36 if (inet_pton(AF_INET, argv[1], buf) == 1) {
39 argv++;
H A Disc-hmac-fixup.c29 main(int argc, char **argv) { argument
38 fprintf(stderr, "Usage:\t%s algorithm secret\n", argv[0]);
50 result = isc_base64_decodestring(argv[2], &buf);
58 if (!strcasecmp(argv[1], "md5") ||
59 !strcasecmp(argv[1], "hmac-md5")) {
71 if (!strcasecmp(argv[1], "sha1") ||
72 !strcasecmp(argv[1], "hmac-sha1")) {
82 } else if (!strcasecmp(argv[1], "sha224") ||
83 !strcasecmp(argv[1], "hmac-sha224")) {
93 } else if (!strcasecmp(argv[
[all...]
H A Dnamed-journalprint.c56 main(int argc, char **argv) { argument
63 printf("usage: %s journal\n", argv[0]);
67 file = argv[1];
H A Dnamed-nzd2nzf.c24 main (int argc, char *argv[]) { argument
38 path = argv[1];
/bind-9.11.3/bin/pkcs11/
H A Dpkcs11-tokens.c34 main(int argc, char *argv[]) { argument
41 while ((c = isc_commandline_parse(argc, argv, ":m:v")) != -1) {
/bind-9.11.3/bin/tests/
H A Dinter_test.c22 main(int argc, char **argv) { argument
31 UNUSED(argv);
H A Dkeyboard_test.c30 main(int argc, char **argv) { argument
37 UNUSED(argv);
H A Dlfsr_test.c23 main(int argc, char **argv) { argument
29 UNUSED(argv);
H A Dgxba_test.c54 main(int argc, char **argv) { argument
65 while (argv[1] != NULL) {
66 if (inet_pton(AF_INET, argv[1], &in_addr) == 1) {
70 } else if (inet_pton(AF_INET6, argv[1], &in6_addr) == 1) {
76 argv[1]);
77 argv++;
81 print_he(he, h_errno, "gethostbyaddr", argv[1]);
84 print_he(he, error, "getipnodebyaddr", argv[1]);
87 argv++;
H A Dgxbn_test.c54 main(int argc, char **argv) { argument
60 while (argv[1] != NULL) {
61 he = gethostbyname(argv[1]);
62 print_he(he, h_errno, "gethostbyname", argv[1]);
64 he = getipnodebyname(argv[1], AF_INET6, AI_DEFAULT|AI_ALL,
66 print_he(he, error, "getipnodebyname", argv[1]);
70 he = getipnodebyname(argv[1], AF_INET6, AI_DEFAULT,
72 print_he(he, error, "getipnodebyname", argv[1]);
75 argv++;
H A Dlwresconf_test.c47 main(int argc, char *argv[]) { argument
57 file = argv[1];
H A Dmaster_test.c51 main(int argc, char *argv[]) { argument
63 if (argv[1]) {
64 isc_buffer_init(&source, argv[1], strlen(argv[1]));
65 isc_buffer_add(&source, strlen(argv[1]));
66 isc_buffer_setactive(&source, strlen(argv[1]));
80 result = dns_master_loadfile(argv[1], &origin, &origin,
H A Dmempool_test.c19 main(int argc, char *argv[]) { argument
28 UNUSED(argv);
H A Drwlock_test.c94 main(int argc, char *argv[]) { argument
102 nworkers = atoi(argv[1]);
136 main(int argc, char *argv[]) { argument
138 UNUSED(argv);
/bind-9.11.3/bin/tests/system/
H A Dfeature-test.c52 main(int argc, char **argv) { argument
58 if (strcmp(argv[1], "--enable-filter-aaaa") == 0) {
66 if (strcmp(argv[1], "--edns-version") == 0) {
75 if (strcmp(argv[1], "--gethostname") == 0) {
104 if (strcmp(argv[1], "--gssapi") == 0) {
112 if (strcmp(argv[1], "--have-dlopen") == 0) {
120 if (strcmp(argv[1], "--have-geoip") == 0) {
128 if (strcmp(argv[1], "--have-libxml2") == 0) {
136 if (strcmp(argv[1], "--rpz-nsip") == 0) {
144 if (strcmp(argv[
[all...]
/bind-9.11.3/lib/isc/win32/
H A Dwin32os.c77 main(int argc, char **argv) { argument
86 ++argv;
87 major = (unsigned int) atoi(argv[0]);
91 ++argv;
92 minor = (unsigned int) atoi(argv[0]);
96 ++argv;
97 spmajor = (unsigned int) atoi(argv[0]);
101 ++argv;
102 spminor = (unsigned int) atoi(argv[0]);
/bind-9.11.3/lib/samples/
H A Dsample-gai.c62 main(int argc, char *argv[]) { argument
66 do_gai(AF_INET, argv[1]);
67 do_gai(AF_INET6, argv[1]);
68 do_gai(AF_UNSPEC, argv[1]);
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Dprocess_helpers.c80 check_args(const int argc, const char *const argv[], const int required) argument
83 fprintf(stderr, "Usage: %s helper-name [args]\n", argv[0]);
89 main(int argc, const char *const argv[]) argument
93 check_args(argc, argv, 2);
95 if (strcmp(argv[1], "echo") == 0) {
96 check_args(argc, argv, 3);
97 exitcode = h_echo(argv[2]);
98 } else if (strcmp(argv[1], "exit-failure") == 0)
100 else if (strcmp(argv[1], "exit-signal") == 0)
102 else if (strcmp(argv[
[all...]
/bind-9.11.3/bin/tests/net/
H A Ddriver.c74 main(int argc, char **argv) { argument
81 UNUSED(argv);
/bind-9.11.3/bin/tests/system/dyndb/driver/
H A Ddriver.c67 char **argv = NULL; local
93 result = isc_commandline_strtoargv(mctx, s, &argc, &argv, 0);
102 CHECK(new_sample_instance(mctx, name, argc, argv, dctx, &sample_inst));
115 if (argv != NULL)
116 isc_mem_put(mctx, argv, argc * sizeof(*argv));
H A Dinstance.c33 * @param[in] argv NULL-terminated string array of length 2 (excluding NULL)
35 * @param[out] z1 Zone name from argv[0]
36 * @param[out] z2 Zone name from argv[1]
39 parse_params(isc_mem_t *mctx, int argc, char **argv, argument
45 REQUIRE(argv != NULL);
50 log_info("param: '%s'", argv[i]);
60 CHECK(dns_name_fromstring2(z1, argv[0], dns_rootname, 0, mctx));
61 CHECK(dns_name_fromstring2(z2, argv[1], dns_rootname, 0, mctx));
75 int argc, char **argv, const dns_dyndbctx_t *dctx,
99 CHECK(parse_params(mctx, argc, argv,
74 new_sample_instance(isc_mem_t *mctx, const char *db_name, int argc, char **argv, const dns_dyndbctx_t *dctx, sample_instance_t **sample_instp) argument
[all...]
/bind-9.11.3/bin/tests/system/rndc/
H A Dgencheck.c43 main(int argc, char **argv) argument
61 fd = open(argv[1], O_RDONLY);
/bind-9.11.3/unit/atf-src/atf-c/
H A Dtp_test.c50 char *const argv[] = { arg1, arg2, arg3, arg4, NULL }; local
59 while ((ch = getopt(argc, argv, ":Z")) != -1) {
75 ATF_CHECK_STREQ_MSG("foo", argv[optind], "The non-option argument is "

Completed in 39 milliseconds

12345678