| /freebsd/usr.bin/systat/ |
| H A D | netcmds.c | 62 int onoff; member 121 changeitems(const char *args, int onoff) in changeitems() argument 145 selectport(sp->s_port, onoff); in changeitems() 157 selecthost(&in, onoff); in changeitems() 192 int onoff; member 196 selectport(long port, int onoff) in selectport() argument 209 p->onoff = onoff; in selectport() 218 p->onoff = onoff; in selectport() 230 return (p->onoff); in checkport() 243 if (!p->onoff) in showports() [all …]
|
| /freebsd/crypto/krb5/src/windows/include/ |
| H A D | leashwin.h | 170 DWORD Leash_set_default_renewable(DWORD onoff); 173 DWORD Leash_set_default_forwardable(DWORD onoff); 176 DWORD Leash_set_default_noaddresses(DWORD onoff); 179 DWORD Leash_set_default_proxiable(DWORD onoff); 185 DWORD Leash_set_hide_kinit_options(DWORD onoff); 200 DWORD Leash_set_default_uppercaserealm(DWORD onoff); 206 DWORD Leash_set_default_preserve_kinit_settings(DWORD onoff);
|
| /freebsd/contrib/openpam/lib/libpam/ |
| H A D | openpam_set_feature.c | 46 openpam_set_feature(int feature, int onoff) in openpam_set_feature() argument 52 openpam_features[feature].onoff = onoff; in openpam_set_feature() 66 * feature to the value specified by the =onoff argument.
|
| H A D | openpam_get_feature.c | 46 openpam_get_feature(int feature, int *onoff) in openpam_get_feature() argument 52 *onoff = openpam_features[feature].onoff; in openpam_get_feature() 66 * specified feature in the variable pointed to by its =onoff argument.
|
| H A D | openpam_features.h | 36 int onoff; member 43 openpam_features[OPENPAM_##f].onoff
|
| /freebsd/sys/dev/usb/serial/ |
| H A D | usb_serial.c | 1000 uint8_t onoff; in ucom_modem() local 1040 onoff = (sc->sc_mcr & SER_DTR) ? 1 : 0; in ucom_modem() 1041 ucom_dtr(sc, onoff); in ucom_modem() 1043 onoff = (sc->sc_mcr & SER_RTS) ? 1 : 0; in ucom_modem() 1044 ucom_rts(sc, onoff); in ucom_modem() 1144 ucom_ring(struct ucom_softc *sc, uint8_t onoff) in ucom_ring() argument 1146 DPRINTF("onoff = %d\n", onoff); in ucom_ring() 1148 if (onoff) in ucom_ring() 1155 ucom_break(struct ucom_softc *sc, uint8_t onoff) in ucom_break() argument 1157 DPRINTF("onoff = %d\n", onoff); in ucom_break() [all …]
|
| H A D | uvscom.c | 495 uvscom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) in uvscom_cfg_set_dtr() argument 499 DPRINTF("onoff = %d\n", onoff); in uvscom_cfg_set_dtr() 501 if (onoff) in uvscom_cfg_set_dtr() 510 uvscom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) in uvscom_cfg_set_rts() argument 514 DPRINTF("onoff = %d\n", onoff); in uvscom_cfg_set_rts() 516 if (onoff) in uvscom_cfg_set_rts() 525 uvscom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) in uvscom_cfg_set_break() argument 529 DPRINTF("onoff = %d\n", onoff); in uvscom_cfg_set_break() 531 if (onoff) in uvscom_cfg_set_break()
|
| H A D | ubsa.c | 394 ubsa_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) in ubsa_cfg_set_dtr() argument 398 DPRINTF("onoff = %d\n", onoff); in ubsa_cfg_set_dtr() 400 ubsa_cfg_request(sc, UBSA_REG_DTR, onoff ? 1 : 0); in ubsa_cfg_set_dtr() 404 ubsa_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) in ubsa_cfg_set_rts() argument 408 DPRINTF("onoff = %d\n", onoff); in ubsa_cfg_set_rts() 410 ubsa_cfg_request(sc, UBSA_REG_RTS, onoff ? 1 : 0); in ubsa_cfg_set_rts() 414 ubsa_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) in ubsa_cfg_set_break() argument 418 DPRINTF("onoff = %d\n", onoff); in ubsa_cfg_set_break() 420 ubsa_cfg_request(sc, UBSA_REG_BREAK, onoff ? 1 : 0); in ubsa_cfg_set_break()
|
| H A D | uchcom.c | 580 uchcom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) in uchcom_cfg_set_break() argument 588 if (!onoff) in uchcom_cfg_set_break() 594 if (onoff) { in uchcom_cfg_set_break() 667 uchcom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) in uchcom_cfg_set_dtr() argument 671 DPRINTF("onoff = %d\n", onoff); in uchcom_cfg_set_dtr() 673 sc->sc_dtr = onoff; in uchcom_cfg_set_dtr() 678 uchcom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) in uchcom_cfg_set_rts() argument 682 DPRINTF("onoff = %d\n", onoff); in uchcom_cfg_set_rts() 684 sc->sc_rts = onoff; in uchcom_cfg_set_rts()
|
| H A D | umodem.c | 671 umodem_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) in umodem_cfg_set_dtr() argument 676 DPRINTF("onoff=%d\n", onoff); in umodem_cfg_set_dtr() 678 if (onoff) in umodem_cfg_set_dtr() 695 umodem_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) in umodem_cfg_set_rts() argument 700 DPRINTF("onoff=%d\n", onoff); in umodem_cfg_set_rts() 702 if (onoff) in umodem_cfg_set_rts() 719 umodem_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) in umodem_cfg_set_break() argument 725 DPRINTF("onoff=%d\n", onoff); in umodem_cfg_set_break() 728 temp = onoff ? UCDC_BREAK_ON : UCDC_BREAK_OFF; in umodem_cfg_set_break()
|
| H A D | uslcom.c | 560 uslcom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) in uslcom_cfg_set_dtr() argument 566 DPRINTF("onoff = %d\n", onoff); in uslcom_cfg_set_dtr() 568 ctl = onoff ? USLCOM_MHS_DTR_ON : 0; in uslcom_cfg_set_dtr() 584 uslcom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) in uslcom_cfg_set_rts() argument 590 DPRINTF("onoff = %d\n", onoff); in uslcom_cfg_set_rts() 592 ctl = onoff ? USLCOM_MHS_RTS_ON : 0; in uslcom_cfg_set_rts() 727 uslcom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) in uslcom_cfg_set_break() argument 731 uint16_t brk = onoff ? USLCOM_SET_BREAK_ON : USLCOM_SET_BREAK_OFF; in uslcom_cfg_set_break()
|
| H A D | uplcom.c | 659 uplcom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) in uplcom_cfg_set_dtr() argument 664 DPRINTF("onoff = %d\n", onoff); in uplcom_cfg_set_dtr() 666 if (onoff) in uplcom_cfg_set_dtr() 683 uplcom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) in uplcom_cfg_set_rts() argument 688 DPRINTF("onoff = %d\n", onoff); in uplcom_cfg_set_rts() 690 if (onoff) in uplcom_cfg_set_rts() 707 uplcom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) in uplcom_cfg_set_break() argument 713 DPRINTF("onoff = %d\n", onoff); in uplcom_cfg_set_break() 715 temp = (onoff ? UCDC_BREAK_ON : UCDC_BREAK_OFF); in uplcom_cfg_set_break()
|
| H A D | umoscom.c | 417 umoscom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) in umoscom_cfg_set_break() argument 423 if (onoff) in umoscom_cfg_set_break() 430 umoscom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) in umoscom_cfg_set_dtr() argument 434 if (onoff) in umoscom_cfg_set_dtr() 443 umoscom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) in umoscom_cfg_set_rts() argument 447 if (onoff) in umoscom_cfg_set_rts()
|
| /freebsd/sys/i386/i386/ |
| H A D | geode.c | 97 led_func(void *ptr, int onoff) in led_func() argument 105 onoff = !onoff; in led_func() 109 if (onoff) in led_func() 117 cs5536_led_func(void *ptr, int onoff) in cs5536_led_func() argument 125 onoff = !onoff; in cs5536_led_func() 134 if (onoff) in cs5536_led_func()
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | SSL_CTX_set_tmp_dh_callback.pod | 14 long SSL_CTX_set_dh_auto(SSL_CTX *ctx, int onoff); 15 long SSL_set_dh_auto(SSL *s, int onoff); 61 and B<SSL> objects respectively. Passing a value of 2 or 1 in the I<onoff> 62 parameter switches it on. If the I<onoff> parameter is set to 2, it will force
|
| /freebsd/crypto/heimdal/appl/ftp/ftp/ |
| H A D | cmds.c | 839 onoff(int bool) in onoff() function 872 onoff(verbose), onoff(bell), onoff(interactive), in status() 873 onoff(doglob)); in status() 874 printf("Store unique: %s; Receive unique: %s\n", onoff(sunique), in status() 875 onoff(runique)); in status() 876 printf("Case: %s; CR stripping: %s\n",onoff(mcase),onoff(crflag)); in status() 890 onoff(hash), onoff(sendport)); in status() 909 printf("Bell mode %s.\n", onoff(bell)); in setbell() 922 printf("Packet tracing %s.\n", onoff(trace)); in settrace() 935 printf("Hash mark printing %s", onoff(hash)); in sethash() [all …]
|
| /freebsd/secure/lib/libcrypto/man/man3/ |
| H A D | SSL_CTX_set_tmp_dh_callback.3 | 73 \& long SSL_CTX_set_dh_auto(SSL_CTX *ctx, int onoff); 74 \& long SSL_set_dh_auto(SSL *s, int onoff); 122 and \fBSSL\fR objects respectively. Passing a value of 2 or 1 in the \fIonoff\fR 123 parameter switches it on. If the \fIonoff\fR parameter is set to 2, it will force
|
| /freebsd/sys/dev/gpio/ |
| H A D | gpioled.c | 73 gpioled_control(void *priv, int onoff) in gpioled_control() argument 79 onoff = !onoff; in gpioled_control() 82 onoff ? GPIO_PIN_HIGH : GPIO_PIN_LOW); in gpioled_control()
|
| /freebsd/contrib/tnftp/src/ |
| H A D | cmds.c | 789 onoff(int val) in onoff() function 825 fprintf(ttyout, "Gate ftp: %s, server %s, port %s.\n", onoff(gatemode), in status() 828 onoff(passivemode), onoff(activefallback)); in status() 832 onoff(verbose), onoff(bell), onoff(interactive), onoff(doglob)); in status() 834 onoff(sunique), onoff(runique)); in status() 835 fprintf(ttyout, "Preserve modification times: %s.\n", onoff(preserve)); in status() 836 fprintf(ttyout, "Case: %s; CR stripping: %s.\n", onoff(mcase), in status() 837 onoff(crflag)); in status() 852 onoff(hash), mark, onoff(progress)); in status() 855 onoff(rate_get), rate_get, rate_get_incr); in status() [all …]
|
| /freebsd/contrib/openpam/doc/man/ |
| H A D | openpam_set_feature.3 | 13 .Fn openpam_set_feature "int feature" "int onoff" 23 .Fa onoff
|
| H A D | openpam_get_feature.3 | 13 .Fn openpam_get_feature "int feature" "int *onoff" 23 .Fa onoff
|
| H A D | openpam.3 | 42 .Fn openpam_get_feature "int feature" "int *onoff" 58 .Fn openpam_set_feature "int feature" "int onoff"
|
| /freebsd/share/examples/ipfilter/samples/ |
| H A D | proxy.c | 141 int onoff, ofd, slen; local 208 onoff = 1; 209 if (ioctl(fd, SIOCSTLCK, &onoff) == 0) { 212 onoff = 0; 213 if (ioctl(fd, SIOCSTLCK, &onoff) != 0)
|
| /freebsd/sys/contrib/device-tree/Bindings/gnss/ |
| H A D | sirfstar.txt | 29 - sirf,onoff-gpios : GPIO used to power on and off device (pin name: ON_OFF) 43 sirf,onoff-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
|
| H A D | sirfstar.yaml | 50 sirf,onoff-gpios: 73 sirf,onoff-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
|