Home
last modified time | relevance | path

Searched refs:arg (Results 76 – 100 of 3752) sorted by relevance

12345678910>>...151

/freebsd/crypto/openssl/demos/bio/
H A DMakefile19 all: client-arg client-conf saccept sconnect server-arg server-cmod server-conf
21 client-arg: client-arg.o
25 server-arg: server-arg.o
29 client-arg client-conf saccept sconnect server-arg server-cmod server-conf:
33 $(RM) *.o client-arg client-conf saccept sconnect server-arg server-cmod server-conf
/freebsd/usr.bin/ctags/
H A Dctags.h51 #define iswhite(arg) _wht[arg & 0xff] /* T if char is white */ argument
52 #define begtoken(arg) _btk[arg & 0xff] /* T if char can start token */ argument
53 #define intoken(arg) _itk[arg & 0xff] /* T if char can be in token */ argument
54 #define endtoken(arg) _etk[arg & 0xff] /* T if char ends tokens */ argument
55 #define isgood(arg) _gd[arg & 0xff] /* T if char can be after ')' */ argument
/freebsd/usr.sbin/ctladm/
H A Dutil.c67 int arg; in iget() local
75 arg = strtol(h->argv[h->got], 0, 0); in iget()
79 printf("%s: %d\n", name, arg); in iget()
81 return arg; in iget()
90 char *arg; in cget() local
98 arg = h->argv[h->got]; in cget()
102 printf("cget: %s: %s", name, arg); in cget()
104 return arg; in cget()
110 arg_put(void *hook __unused, int letter, void *arg, int count, char *name) in arg_put() argument
119 printf("%jd ", (intmax_t)(intptr_t)arg); in arg_put()
[all …]
/freebsd/sys/tools/
H A Dvnode_if.awk67 if (arg == "vpp")
71 if (lockdata[name, arg, pos] && (lockdata[name, arg, pos] != "-")) {
72 printc(ind"ASSERT_VI_UNLOCKED("star"a->a_"arg", \""uname" "pos" ("arg")\");");
143 arg = ARGV[i];
144 if (arg !~ /^-[chpq]+$/ && arg !~ /\.src$/)
146 if (arg ~ /^-.*c/)
148 if (arg ~ /^-.*h/)
150 if (arg ~ /^-.*p/)
152 if (arg ~ /^-.*q/)
154 if (arg ~ /\.src$/)
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DDriverUtils.cpp56 auto *arg = args.getLastArg(OPT_color_diagnostics); in handleColorDiagnostics() local
57 if (!arg) in handleColorDiagnostics()
59 StringRef s = arg->getValue(); in handleColorDiagnostics()
69 if (auto *arg = args.getLastArg(OPT_rsp_quoting)) { in getQuotingStyle() local
70 StringRef s = arg->getValue(); in getQuotingStyle()
165 for (auto *arg : args) { in createResponseFile() local
166 switch (arg->getOption().getID()) { in createResponseFile()
180 os << arg->getSpelling(); in createResponseFile()
186 os << arg->getSpelling() << quote(rewritePath(arg->getValue())) << "\n"; in createResponseFile()
200 os << arg->getSpelling() << " " << quote(rewritePath(arg->getValue())) in createResponseFile()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/stdlib/
H A Dh_getopt_long.c57 char arg[256]; in main() local
192 snprintf(arg, sizeof(arg), in main()
194 strcat(buf, arg); in main()
198 snprintf(arg, sizeof(arg), in main()
201 snprintf(arg, sizeof(arg), in main()
206 snprintf(arg, sizeof(arg), "-%s,", in main()
210 snprintf(arg, sizeof(arg), in main()
215 snprintf(arg, sizeof(arg), in main()
225 strcat(buf, arg); in main()
236 snprintf(arg, sizeof(arg), "%d", nargs - optind); in main()
[all …]
H A Dh_getopt.c55 char arg[100]; in main() local
107 snprintf(arg, sizeof(arg), "!%c,", c); in main()
108 strcat(buf, arg); in main()
112 snprintf(arg, sizeof(arg), "%c,", c); in main()
114 snprintf(arg, sizeof(arg), "%c=%s,", in main()
116 strcat(buf, arg); in main()
126 snprintf(arg, sizeof(arg), "%d", nargs - optind); in main()
127 strcat(buf, arg); in main()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddsl_synctask.c36 dsl_null_checkfunc(void *arg, dmu_tx_t *tx) in dsl_null_checkfunc() argument
38 (void) arg, (void) tx; in dsl_null_checkfunc()
44 dsl_syncfunc_t *syncfunc, dsl_sigfunc_t *sigfunc, void *arg, in dsl_sync_task_common() argument
68 dst.dst_arg = arg; in dsl_sync_task_common()
73 err = dst.dst_checkfunc(arg, tx); in dsl_sync_task_common()
90 sigfunc(arg, tx); in dsl_sync_task_common()
129 dsl_syncfunc_t *syncfunc, void *arg, in dsl_sync_task() argument
151 dsl_syncfunc_t *syncfunc, void *arg, in dsl_early_sync_task() argument
182 dst->dst_arg = arg; in dsl_sync_task_nowait_common()
195 dsl_sync_task_nowait_common(dp, syncfunc, arg, tx, B_FALSE); in dsl_sync_task_nowait()
[all …]
/freebsd/sbin/newfs_msdos/
H A Dnewfs_msdos.c42 #define argto1(arg, lo, msg) argtou(arg, lo, 0xff, msg) argument
43 #define argto2(arg, lo, msg) argtou(arg, lo, 0xffff, msg) argument
44 #define argto4(arg, lo, msg) argtou(arg, lo, 0xffffffff, msg) argument
45 #define argtox(arg, lo, msg) argtou(arg, lo, UINT_MAX, msg) argument
199 x = strtoul(arg, &s, 0); in argtou()
200 if (errno || !*arg || *s || x < lo || x > hi) in argtou()
201 errx(1, "%s: bad %s", arg, msg); in argtou()
209 argtooff(const char *arg, const char *msg) in argtooff() argument
215 x = strtoll(arg, &s, 0); in argtooff()
218 errx(1, "%s: bad %s", arg, msg); in argtooff()
[all …]
/freebsd/crypto/openssl/test/
H A Dbio_prefix_text.c141 char *arg; in setup() local
163 arg = opt_arg(); in setup()
168 progname, arg); in setup()
187 arg = opt_arg(); in setup()
188 colon = strchr(arg, ':'); in setup()
200 colon = arg; in setup()
206 progname, arg); in setup()
216 progname, arg); in setup()
225 arg = opt_arg(); in setup()
226 colon = strchr(arg, ':'); in setup()
[all …]
/freebsd/crypto/openssl/util/
H A Dcopy.pl20 my $arg;
23 foreach $arg (@ARGV) {
24 if ($arg eq "-stripcr")
29 if ($arg =~ /^-exclude_re=(.*)$/)
34 $arg =~ s|\\|/|g; # compensate for bug/feature in cygwin glob...
35 $arg = qq("$arg") if ($arg =~ /\s/); # compensate for bug in 5.10...
36 foreach my $f (glob $arg)
/freebsd/sbin/camcontrol/
H A Dutil.c67 int arg; in iget() local
75 arg = strtol(h->argv[h->got], 0, 0); in iget()
79 printf("%s: %d\n", name, arg); in iget()
81 return arg; in iget()
90 char *arg; in cget() local
98 arg = h->argv[h->got]; in cget()
102 printf("cget: %s: %s", name, arg); in cget()
104 return arg; in cget()
110 arg_put(void *hook __unused, int letter, void *arg, int count, char *name) in arg_put() argument
119 printf("%jd ", (intmax_t)(intptr_t)arg); in arg_put()
[all …]
/freebsd/usr.bin/bluetooth/bthost/
H A Dbthost.c39 static int hostmode (char const *arg, int brief);
40 static int protomode (char const *arg, int brief);
75 hostmode(char const *arg, int brief) in hostmode() argument
82 if (bt_aton(arg, &ba) == 1) { in hostmode()
88 he = bt_gethostbyname(arg); in hostmode()
92 herror(reverse? bt_ntoa(&ba, bastr) : arg); in hostmode()
101 reverse? bt_ntoa(&ba, bastr) : arg, in hostmode()
110 protomode(char const *arg, int brief) in protomode() argument
115 if ((proto = atoi(arg)) != 0) in protomode()
118 pe = bt_getprotobyname(arg); in protomode()
[all …]
/freebsd/sys/dev/acpi_support/
H A Dacpi_toshiba.c288 UINT32 arg; in acpi_toshiba_sysctl() local
470 UINT32 arg; in hci_key_action() local
477 if (arg-- == 0) in hci_key_action()
478 arg = 0; in hci_key_action()
485 if (arg++ == 7) in hci_key_action()
486 arg = 7; in hci_key_action()
493 arg = (arg + 1) % 7; in hci_key_action()
499 arg = (arg != 0) ? 0 : 1; in hci_key_action()
504 hci_force_fan(h, HCI_GET, &arg); in hci_key_action()
505 arg = (arg != 0) ? 0 : 1; in hci_key_action()
[all …]
/freebsd/stand/userboot/test/
H A Dtest.c62 void test_exit(void *arg, int v);
69 test_putc(void *arg, int ch) in test_putc() argument
77 test_getc(void *arg) in test_getc() argument
87 test_poll(void *arg) in test_poll() argument
271 test_close(void *arg, void *h) in test_close() argument
285 test_isdir(void *arg, void *h) in test_isdir() argument
483 test_exec(void *arg, uint64_t pc) in test_exec() argument
486 test_exit(arg, 0); in test_exec()
494 test_delay(void *arg, int usec) in test_delay() argument
501 test_exit(void *arg, int v) in test_exit() argument
[all …]
/freebsd/sys/dev/ocs_fc/
H A Docs_domain.h44 … ocs_register_domain_list_empty_cb(ocs_t *ocs, void (*callback)(ocs_t *ocs, void *arg), void *arg);
73 extern int32_t ocs_domain_cb(void *arg, ocs_hw_domain_event_e event, void *data);
74 extern void *__ocs_domain_init(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg);
75 extern void *__ocs_domain_wait_alloc(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg);
76 extern void *__ocs_domain_allocated(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg);
77 extern void *__ocs_domain_wait_attach(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg);
78 extern void *__ocs_domain_ready(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg);
79 extern void *__ocs_domain_wait_sports_free(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg);
80 extern void *__ocs_domain_wait_shutdown(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg);
81 extern void *__ocs_domain_wait_domain_lost(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg);
/freebsd/sbin/ifconfig/
H A Difbridge.c90 ifd.ifd_data = arg; in do_cmd()
448 err(1, "BRDGSCACHE %s", arg); in setbridge_maxaddr()
463 err(1, "BRDGSHT %s", arg); in setbridge_hellotime()
478 err(1, "BRDGSFD %s", arg); in setbridge_fwddelay()
493 err(1, "BRDGSMA %s", arg); in setbridge_maxage()
508 err(1, "BRDGSPRI %s", arg); in setbridge_priority()
516 if (strcasecmp(arg, "stp") == 0) { in setbridge_protocol()
525 err(1, "BRDGSPROTO %s", arg); in setbridge_protocol()
540 err(1, "BRDGSTXHC %s", arg); in setbridge_holdcount()
594 err(1, "BRDGSIFAMAX %s", arg); in setbridge_ifmaxaddr()
[all …]
/freebsd/usr.sbin/keyserv/
H A Dkeyserv.c335 arg->remotename, arg->deskey.key.high, in key_encrypt_pk_2_svc_prog()
336 arg->deskey.key.low); in key_encrypt_pk_2_svc_prog()
339 res.status = pk_encrypt(uid, arg->remotename, &(arg->remotekey), in key_encrypt_pk_2_svc_prog()
361 arg->remotename, arg->deskey.key.high, in key_decrypt_pk_2_svc_prog()
362 arg->deskey.key.low); in key_decrypt_pk_2_svc_prog()
365 res.status = pk_decrypt(uid, arg->remotename, &(arg->remotekey), in key_decrypt_pk_2_svc_prog()
387 arg->st_netname, (int)sizeof (arg->st_pub_key), in key_net_put_2_svc_prog()
388 arg->st_pub_key, (int)sizeof (arg->st_priv_key), in key_net_put_2_svc_prog()
389 arg->st_priv_key); in key_net_put_2_svc_prog()
462 arg->remotename, arg->deskey.key.high, in key_encrypt_1_svc_prog()
[all …]
/freebsd/contrib/bearssl/tools/
H A Dserver.c214 u_long arg; in accept_client() local
216 arg = 1; in accept_client()
684 arg = argv[i]; in do_server()
689 if (eqstr(arg, "-v") || eqstr(arg, "-verbose")) { in do_server()
691 } else if (eqstr(arg, "-q") || eqstr(arg, "-quiet")) { in do_server()
730 arg = argv[i]; in do_server()
749 arg = argv[i]; in do_server()
828 vmin = parse_version(arg, strlen(arg)); in do_server()
832 arg); in do_server()
850 vmax = parse_version(arg, strlen(arg)); in do_server()
[all …]
/freebsd/lib/libbluetooth/
H A Ddev.c65 struct bt_devaddr_match_arg arg; in bt_devname() local
67 memset(&arg, 0, sizeof(arg)); in bt_devname()
68 arg.bdaddr = addr; in bt_devname()
70 if (bt_devenum(&bt_devaddr_match, &arg) < 0) in bt_devname()
73 if (arg.devname[0] == '\0') { in bt_devname()
79 strlcpy(devname, arg.devname, HCI_DEVNAME_SIZE); in bt_devname()
85 bt_devaddr_match(int s, struct bt_devinfo const *di, void *arg) in bt_devaddr_match() argument
87 struct bt_devaddr_match_arg *m = (struct bt_devaddr_match_arg *)arg; in bt_devaddr_match()
/freebsd/usr.bin/dtc/
H A Ddtc.cc134 string arg(optarg); in main() local
135 if (arg == "dtb") in main()
143 else if (arg == "dts") in main()
156 string arg(optarg); in main() local
157 if (arg == "dtb") in main()
161 else if (arg == "asm") in main()
165 else if (arg == "dts") in main()
227 string arg(optarg); in main() local
228 if (arg == "both") in main()
232 else if (arg == "epapr") in main()
[all …]
/freebsd/usr.sbin/mlxcontrol/
H A Dinterface.c45 mlx_foreach(void (*func)(int unit, void *arg), void *arg) in mlx_foreach() argument
56 func(i, arg); in mlx_foreach()
65 mlx_perform(int unit, void (*func)(int fd, void *arg), void *arg) in mlx_perform() argument
70 func(fd, arg); in mlx_perform()
79 mlxd_foreach_ctrlr(int unit, void *arg) in mlxd_foreach_ctrlr() argument
100 ma->func(i, ma->arg); in mlxd_foreach_ctrlr()
106 mlxd_foreach(void (*func)(int unit, void *arg), void *arg) in mlxd_foreach() argument
111 ma.arg = arg; in mlxd_foreach()
127 mlxd_find_ctrlr_search(int unit, void *arg) in mlxd_find_ctrlr_search() argument
171 mlx_command(int fd, void *arg) in mlx_command() argument
[all …]
/freebsd/contrib/wpa/wpa_supplicant/doc/docbook/
H A Deapol_test.sgml21 <arg>-nWS</arg>
22 <arg>-c<replaceable>config file</replaceable></arg>
25 <arg>-p<replaceable>UDP port</replaceable></arg>
26 <arg>-s<replaceable>shared secret</replaceable></arg>
28 <arg>-t<replaceable>timeout</replaceable></arg>
29 <arg>-C<replaceable>Connect-Info</replaceable></arg>
30 <arg>-M<replaceable>MAC address</replaceable></arg>
31 <arg>-o<replaceable>file</replaceable></arg>
32 <arg>-N<replaceable>attr spec</replaceable></arg>
39 <arg>PIN</arg>
[all …]
/freebsd/contrib/ntp/libntp/lib/isc/
H A Dbacktrace.c102 if (arg->skip_count > 0) in btcallback()
103 arg->skip_count--; in btcallback()
105 arg->result[arg->count++] = (void *)_Unwind_GetIP(uc); in btcallback()
106 if (arg->count == arg->max_depth) in btcallback()
114 trace_arg_t arg; in isc_backtrace_gettrace() local
120 arg.skip_count = 1; in isc_backtrace_gettrace()
121 arg.result = addrs; in isc_backtrace_gettrace()
122 arg.max_depth = maxaddrs; in isc_backtrace_gettrace()
123 arg.count = 0; in isc_backtrace_gettrace()
124 _Unwind_Backtrace(btcallback, &arg); in isc_backtrace_gettrace()
[all …]
/freebsd/stand/libsa/
H A Dprintf.c134 arg.buf = *buf = malloc(arg.size); in asprintf()
142 if (arg.size >= 1) in asprintf()
143 *(arg.buf)++ = 0; in asprintf()
154 arg.buf = buf; in snprintf()
155 arg.size = size; in snprintf()
161 if (arg.size >= 1) in snprintf()
162 *(arg.buf)++ = 0; in snprintf()
172 arg.buf = buf; in vsnprintf()
173 arg.size = size; in vsnprintf()
177 if (arg.size >= 1) in vsnprintf()
[all …]

12345678910>>...151