/freebsd/crypto/heimdal/appl/afsutil/ |
H A D | pagsh.c | 105 char **args; in main() local 163 args = (char **) malloc((argc + 10)*sizeof(char *)); in main() 164 if (args == NULL) in main() 184 args[i] = strdup(p+1); in main() 186 args[i] = strdup(path); in main() 188 if (args[i++] == NULL) in main() 192 args[i++] = *argv++; in main() 194 args[i++] = NULL; in main() 200 execvp(path, args); in main() 208 sh_args[j + 2] = args[j]; in main()
|
/freebsd/stand/i386/libi386/ |
H A D | textvidc.c | 314 if (args[0] > 0) in CM() 315 args[0]--; in CM() 316 if (args[1] > 0) in CM() 317 args[1]--; in CM() 318 curs_move(&curx, &cury, args[1], args[0]); in CM() 328 args[0] = args[1] = 1; in HO() 369 args[argc] *= 10; in get_arg() 370 args[argc] += c - '0'; in get_arg() 399 args[0] = 0; in vidc_term_emu() 416 args[++argc] = 0; in vidc_term_emu() [all …]
|
/freebsd/crypto/heimdal/lib/gssapi/ |
H A D | test_cred.c | 75 va_list args; in gss_err() local 77 va_start(args, fmt); in gss_err() 78 vwarnx (fmt, args); in gss_err() 80 va_end(args); in gss_err() 170 static struct getargs args[] = { variable 178 arg_printusage (args, sizeof(args)/sizeof(*args), in usage() 193 if(getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &optidx)) in main()
|
H A D | test_names.c | 75 va_list args; in gss_err() local 77 va_start(args, fmt); in gss_err() 78 vwarnx (fmt, args); in gss_err() 80 va_end(args); in gss_err() 87 static struct getargs args[] = { variable 95 arg_printusage (args, sizeof(args)/sizeof(*args), in usage() 112 if(getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &optidx)) in main()
|
/freebsd/contrib/llvm-project/lldb/source/Interpreter/ |
H A D | OptionValueFileSpecList.cpp | 48 Args args(value.str()); in SetValueFromString() local 49 const size_t argc = args.GetArgumentCount(); in SetValueFromString() 61 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetValueFromString() 64 args.GetArgumentAtIndex(0), count); in SetValueFromString() 67 FileSpec file(args.GetArgumentAtIndex(i)); in SetValueFromString() 89 FileSpec file(args.GetArgumentAtIndex(i)); in SetValueFromString() 104 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetValueFromString() 107 args.GetArgumentAtIndex(0), count); in SetValueFromString() 112 FileSpec file(args.GetArgumentAtIndex(i)); in SetValueFromString() 130 if (!llvm::to_integer(args.GetArgumentAtIndex(i), idx)) in SetValueFromString() [all …]
|
/freebsd/sys/kgssapi/ |
H A D | gss_ip_to_dns.c | 48 struct ip_to_dns_args args; in gss_ip_to_dns() local 57 args.ip_addr.ip_addr_len = strlen(ip_addr); in gss_ip_to_dns() 58 args.ip_addr.ip_addr_val = mem_alloc(args.ip_addr.ip_addr_len); in gss_ip_to_dns() 59 memcpy(args.ip_addr.ip_addr_val, ip_addr, args.ip_addr.ip_addr_len); in gss_ip_to_dns() 62 stat = gssd_ip_to_dns_1(&args, &res, cl); in gss_ip_to_dns()
|
H A D | gss_pname_to_uid.c | 47 struct pname_to_uid_args args; in gss_pname_to_uid() local 60 args.pname = pname->handle; in gss_pname_to_uid() 61 args.mech = mech; in gss_pname_to_uid() 64 stat = gssd_pname_to_uid_1(&args, &res, cl); in gss_pname_to_uid() 87 struct pname_to_uid_args args; in gss_pname_to_unix_cred() local 101 args.pname = pname->handle; in gss_pname_to_unix_cred() 102 args.mech = mech; in gss_pname_to_unix_cred() 105 stat = gssd_pname_to_uid_1(&args, &res, cl); in gss_pname_to_unix_cred()
|
/freebsd/sys/security/mac/ |
H A D | mac_internal.h | 292 mpc->mpc_ops->mpo_ ## check (args), \ 300 mpc->mpc_ops->mpo_ ## check (args), \ 314 mpc->mpc_ops->mpo_ ## check (args), \ 324 mpc->mpc_ops->mpo_ ## check (args), \ 354 if (mpc->mpc_ops->mpo_ ## check (args) \ 384 (args); \ 406 (args); \ 502 mpc->mpc_ops->mpo_ ## operation (args); \ 508 mpc->mpc_ops->mpo_ ## operation (args); \ 519 mpc->mpc_ops->mpo_ ## operation (args); \ [all …]
|
/freebsd/lib/libc/resolv/ |
H A D | res_debug.h | 24 # define Dprint(cond, args) /*empty*/ argument 25 # define DprintQ(cond, args, query, size) /*empty*/ argument 29 # define Dprint(cond, args) if (cond) {fprintf args;} else {} argument 30 # define DprintQ(cond, args, query, size) if (cond) {\ argument 31 fprintf args;\
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | krbhst-test.c | 42 static struct getargs args[] = { variable 52 arg_printusage (args, in usage() 53 sizeof(args)/sizeof(*args), in usage() 71 if(getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &optidx)) in main()
|
H A D | test_kuserok.c | 40 static struct getargs args[] = { variable 50 arg_printusage (args, in usage() 51 sizeof(args)/sizeof(*args), in usage() 68 if(getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &o)) in main()
|
H A D | test_get_addrs.c | 55 static struct getargs args[] = { variable 65 arg_printusage (args, in usage() 66 sizeof(args)/sizeof(*args), in usage() 82 if(getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &optidx)) in main()
|
/freebsd/cddl/usr.sbin/dwatch/libexec/ |
H A D | tcp | 133 this->local = this->slocal ? args[2]->ip_saddr : args[2]->ip_daddr; 134 this->remote = this->slocal ? args[2]->ip_daddr : args[2]->ip_saddr; 139 this->lport = this->slocal ? args[4]->tcp_sport : args[4]->tcp_dport; 140 this->rport = this->slocal ? args[4]->tcp_dport : args[4]->tcp_sport; 160 this->local = args[3]->tcps_laddr; 161 this->lport = (uint16_t)args[3]->tcps_lport; 162 this->remote = args[3]->tcps_raddr; 163 this->rport = (uint16_t)args[3]->tcps_rport; 164 this->to_state = (int32_t)args[3]->tcps_state; 179 this->length = (uint32_t)args[2]->ip_plength - [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | snprintf.c | 537 va_list args; in rk_snprintf() local 540 va_start(args, format); in rk_snprintf() 542 va_end(args); in rk_snprintf() 553 va_start(args, format); in rk_snprintf() 555 va_end(args); in rk_snprintf() 570 va_list args; in rk_asprintf() local 575 va_end(args); in rk_asprintf() 585 va_start(args, format); in rk_asprintf() 587 va_end(args); in rk_asprintf() 602 va_list args; in rk_asnprintf() local [all …]
|
/freebsd/contrib/netbsd-tests/fs/lfs/ |
H A D | t_pr.c | 34 struct ufs_args args; in ATF_TC_BODY() local 40 memset(&args, 0, sizeof(args)); in ATF_TC_BODY() 41 args.fspec = __UNCONST(FAKEBLK); in ATF_TC_BODY() 47 if (rump_sys_mount(MOUNT_LFS, "/mp", 0, &args, sizeof(args)) == -1) in ATF_TC_BODY()
|
/freebsd/contrib/ntp/sntp/libevent/include/event2/ |
H A D | rpc_compat.h | 48 #define EVTAG_ASSIGN(msg, member, args...) \ argument 49 (*(msg)->base->member##_assign)(msg, ## args) 50 #define EVTAG_GET(msg, member, args...) \ argument 51 (*(msg)->base->member##_get)(msg, ## args) 52 #define EVTAG_ADD(msg, member, args...) \ argument 53 (*(msg)->base->member##_add)(msg, ## args)
|
/freebsd/contrib/libevent/include/event2/ |
H A D | rpc_compat.h | 48 #define EVTAG_ASSIGN(msg, member, args...) \ argument 49 (*(msg)->base->member##_assign)(msg, ## args) 50 #define EVTAG_GET(msg, member, args...) \ argument 51 (*(msg)->base->member##_get)(msg, ## args) 52 #define EVTAG_ADD(msg, member, args...) \ argument 53 (*(msg)->base->member##_add)(msg, ## args)
|
/freebsd/usr.bin/systat/ |
H A D | ifcmds.c | 46 ifcmd(const char *cmd, const char *args) in ifcmd() argument 51 if ((scale = get_scale(args)) != -1) in ifcmd() 60 if (args != NULL && *args != '\0' && memcmp(args, "*", 2) != 0) { in ifcmd() 65 matchline = strdup(args); in ifcmd()
|
/freebsd/crypto/heimdal/appl/su/ |
H A D | su.c | 81 struct getargs args[] = { variable 103 sizeof(args)/sizeof(*args), in usage() 343 if(getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &optind)) in main() 477 char **args; in main() local 490 if (args == NULL) in main() 497 args[i++] = p; in main() 499 args[i++] = "-c"; in main() 500 args[i++] = cmd; in main() 504 args[i++] = "-f"; in main() 507 args[i++] = *argv; in main() [all …]
|
/freebsd/tools/pkgbase/ |
H A D | metalog_reader.lua | 29 function main(args) 30 if #args == 0 then usage() end 33 #args == 1, false, false 40 while i <= #args do 41 if args[i] == '-h' then 43 elseif args[i] == '-a' then 45 elseif args[i] == '-c' then 48 elseif args[i] == '-p' then 51 while i < #args do 68 elseif args[i] == '-v' then [all …]
|
/freebsd/contrib/netbsd-tests/fs/tmpfs/ |
H A D | t_renamerace.c | 78 struct tmpfs_args args; in ATF_TC_BODY() local 88 memset(&args, 0, sizeof(args)); in ATF_TC_BODY() 89 args.ta_version = TMPFS_ARGS_VERSION; in ATF_TC_BODY() 90 args.ta_root_mode = 0777; in ATF_TC_BODY() 91 if (rump_sys_mount(MOUNT_TMPFS, "/", 0, &args, sizeof(args)) == -1) in ATF_TC_BODY()
|
/freebsd/contrib/wireguard-tools/ |
H A D | terminal.c | 33 static void filter_ansi(const char *fmt, va_list args) in filter_ansi() argument 39 vfprintf(stdout, fmt, args); in filter_ansi() 43 len = vasprintf(&str, fmt, args); in filter_ansi() 71 va_list args; in terminal_printf() local 73 va_start(args, fmt); in terminal_printf() 74 filter_ansi(fmt, args); in terminal_printf() 75 va_end(args); in terminal_printf()
|
/freebsd/crypto/openssl/test/recipes/ |
H A D | 60-test_x509_store.t | 30 my @args = qw(openssl verify -auth_level 1 -purpose); 32 push(@args, "$purpose", @opts); 33 push(@args, "-CApath", $trustedpath); 34 for (@$untrusted) { push(@args, "-untrusted", srctop_file(@path, "$_.pem")) } 35 push(@args, srctop_file(@path, "$cert.pem")); 36 run(app([@args]));
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_stackdepot.cpp | 33 bool eq(hash_type hash, const args_type &args) const { in eq() 37 static hash_type hash(const args_type &args) { in hash() 38 MurMur2Hash64Builder H(args.size * sizeof(uptr)); in hash() 39 for (uptr i = 0; i < args.size; i++) H.add(args.trace[i]); in hash() 40 H.add(args.tag); in hash() 43 static bool is_valid(const args_type &args) { in is_valid() 44 return args.size > 0 && args.trace; in is_valid() 46 void store(u32 id, const args_type &args, hash_type hash); 191 void StackDepotNode::store(u32 id, const args_type &args, hash_type hash) { in store() argument 194 store_id = stackStore.Store(args, &pack); in store()
|
/freebsd/tests/sys/netpfil/pf/ |
H A D | pfsync_defer.py | 42 def check_pfsync(args, packet): argument 61 def check_reply(args, packet): argument 105 args = parser.parse_args() 107 syncmon = Sniffer(args, check_pfsync, args.syncdev[0]) 108 datamon = Sniffer(args, check_reply, args.indev[0]) 111 ping(args.outdev[0])
|