/freebsd-11-stable/contrib/openpam/lib/libpam/ |
H A D | openpam_features.h | 38 int onoff; member in struct:openpam_feature 45 openpam_features[OPENPAM_##f].onoff
|
H A D | openpam_set_feature.c | 48 openpam_set_feature(int feature, int onoff) argument 54 openpam_features[feature].onoff = onoff; 68 * feature to the value specified by the =onoff argument.
|
H A D | openpam_get_feature.c | 48 openpam_get_feature(int feature, int *onoff) argument 54 *onoff = openpam_features[feature].onoff; 68 * specified feature in the variable pointed to by its =onoff argument.
|
/freebsd-11-stable/sys/arm/xscale/ixp425/ |
H A D | cambria_led.c | 53 update_latch(struct led_softc *sc, int bit, int onoff) argument 55 if (onoff) 61 static void led_A(void *arg, int onoff) { update_latch(arg, 1<<0, onoff); } argument 62 static void led_B(void *arg, int onoff) { update_latch(arg, 1<<1, onoff); } argument 63 static void led_C(void *arg, int onoff) { update_latch(arg, 1<<2, onoff); } argument 64 static void led_D(void *arg, int onoff) { update_latch(arg, 1<<3, onoff); } argument 65 led_E(void *arg, int onoff) argument 66 led_F(void *arg, int onoff) argument 67 led_G(void *arg, int onoff) argument 68 led_H(void *arg, int onoff) argument [all...] |
H A D | cambria_fled.c | 58 fled_cb(void *arg, int onoff) argument 66 data[0] = (onoff == 0); /* NB: low true */
|
H A D | avila_led.c | 50 led_func(void *arg, int onoff) argument 57 if (onoff)
|
/freebsd-11-stable/sys/dev/terasic/de4led/ |
H A D | terasic_de4led.c | 58 led_update(struct terasic_de4led_softc *sc, int bit, int onoff) argument 62 TERASIC_DE4LED_SETLED(sc, bit, onoff); 68 led_0(void *arg, int onoff) argument 71 led_update(arg, 0, onoff); 75 led_1(void *arg, int onoff) argument 78 led_update(arg, 1, onoff); 82 led_2(void *arg, int onoff) argument 85 led_update(arg, 2, onoff); 89 led_3(void *arg, int onoff) argument 92 led_update(arg, 3, onoff); 96 led_4(void *arg, int onoff) argument 103 led_5(void *arg, int onoff) argument 110 led_6(void *arg, int onoff) argument 117 led_7(void *arg, int onoff) argument [all...] |
H A D | terasic_de4led.h | 62 #define TERASIC_DE4LED_SETLED(sc, led, onoff) do { \ 64 (sc)->tdl_bits |= ((onoff != 0) ? 1 : 0) << (led); \
|
/freebsd-11-stable/usr.bin/systat/ |
H A D | netcmds.c | 66 int onoff; member in struct:hitem 125 changeitems(const char *args, int onoff) argument 149 selectport(sp->s_port, onoff); 161 selecthost(&in, onoff); 196 int onoff; member in struct:pitem 200 selectport(long port, int onoff) argument 213 p->onoff = onoff; 222 p->onoff = onoff; 257 selecthost(struct in_addr *in, int onoff) argument [all...] |
/freebsd-11-stable/contrib/apr-util/include/ |
H A D | apr_xlate.h | 88 * @param onoff Output: whether or not the conversion is single-byte-only 93 APU_DECLARE(apr_status_t) apr_xlate_sb_get(apr_xlate_t *convset, int *onoff);
|
/freebsd-11-stable/sys/i386/i386/ |
H A D | geode.c | 97 led_func(void *ptr, int onoff) argument 105 onoff = !onoff; 109 if (onoff) 117 cs5536_led_func(void *ptr, int onoff) argument 125 onoff = !onoff; 134 if (onoff)
|
/freebsd-11-stable/contrib/apr-util/encoding/ |
H A D | apr_base64.c | 80 int onoff; local 84 rv = apr_xlate_sb_get(to_ascii, &onoff); 88 if (!onoff) { /* If conversion is not single-byte-only */ 91 rv = apr_xlate_sb_get(to_ebcdic, &onoff); 95 if (!onoff) { /* If conversion is not single-byte-only */
|
/freebsd-11-stable/crypto/openssl/ssl/ |
H A D | ssl_conf.c | 131 const char *name, int namelen, int onoff) 144 onoff ^= 1; 146 if (onoff) 151 if (onoff) 165 int onoff = 1; local 176 onoff = 1; 180 onoff = 0; 184 if (ssl_match_option(cctx, tbl, elem, len, onoff)) 265 int onoff = -1, rv = 1; local 270 onoff 130 ssl_match_option(SSL_CONF_CTX *cctx, const ssl_flag_tbl *tbl, const char *name, int namelen, int onoff) argument [all...] |
/freebsd-11-stable/lib/librtld_db/ |
H A D | rtld_db.c | 115 rd_event_enable(rd_agent_t *rdap __unused, int onoff) argument 117 DPRINTF("%s onoff %d\n", __func__, onoff); 186 rd_log(const int onoff) argument 190 (void)onoff;
|
/freebsd-11-stable/sys/dev/ixgbe/ |
H A D | ixgbe_netmap.c | 106 set_crcstrip(struct ixgbe_hw *hw, int onoff) argument 122 onoff ? "enter" : "exit", hl, rxc); 126 if (onoff && !ix_crcstrip) { 137 onoff ? "enter" : "exit", hl, rxc); 148 ixgbe_netmap_reg(struct netmap_adapter *na, int onoff) argument 157 set_crcstrip(&adapter->hw, onoff); 159 if (onoff) { 165 set_crcstrip(&adapter->hw, onoff); // XXX why twice ?
|
/freebsd-11-stable/sys/sparc64/ebus/ |
H A D | epic.c | 119 static void epic_led_alert(void *arg, int onoff); 120 static void epic_led_power(void *arg, int onoff); 193 epic_led_alert(void *arg, int onoff) argument 201 onoff ? EPIC_LED_ALERT_ON : EPIC_LED_ALERT_OFF); 206 epic_led_power(void *arg, int onoff) argument 214 onoff ? EPIC_LED_POWER_ON : EPIC_LED_POWER_OFF);
|
/freebsd-11-stable/sys/dev/netmap/ |
H A D | ixgbe_netmap.h | 76 set_crcstrip(struct ixgbe_hw *hw, int onoff) argument 92 onoff ? "enter" : "exit", hl, rxc); 96 if (onoff && !ix_crcstrip) { 107 onoff ? "enter" : "exit", hl, rxc); 113 ixgbe_netmap_intr(struct netmap_adapter *na, int onoff) argument 119 if (onoff) { 132 ixgbe_netmap_reg(struct netmap_adapter *na, int onoff) argument 141 set_crcstrip(&adapter->hw, onoff); 143 if (onoff) { 150 set_crcstrip(&adapter->hw, onoff); // XX [all...] |
H A D | netmap_null.c | 91 netmap_null_reg(struct netmap_adapter *na, int onoff) argument 94 if (onoff)
|
/freebsd-11-stable/sys/dev/usb/serial/ |
H A D | usb_serial.c | 887 uint8_t onoff; local 928 onoff = (sc->sc_mcr & SER_DTR) ? 1 : 0; 929 ucom_dtr(sc, onoff); 931 onoff = (sc->sc_mcr & SER_RTS) ? 1 : 0; 932 ucom_rts(sc, onoff); 1029 ucom_ring(struct ucom_softc *sc, uint8_t onoff) argument 1031 DPRINTF("onoff = %d\n", onoff); 1033 if (onoff) 1040 ucom_break(struct ucom_softc *sc, uint8_t onoff) argument 1051 ucom_dtr(struct ucom_softc *sc, uint8_t onoff) argument 1062 ucom_rts(struct ucom_softc *sc, uint8_t onoff) argument 1079 int onoff; local [all...] |
H A D | uvscom.c | 500 uvscom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 504 DPRINTF("onoff = %d\n", onoff); 506 if (onoff) 515 uvscom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 519 DPRINTF("onoff = %d\n", onoff); 521 if (onoff) 530 uvscom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 534 DPRINTF("onoff [all...] |
/freebsd-11-stable/sbin/conscontrol/ |
H A D | conscontrol.c | 91 consmute(const char *onoff) argument 96 if (strcmp(onoff, "on") == 0) 98 else if (strcmp(onoff, "off") == 0)
|
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/ |
H A D | cmds.c | 839 onoff(int bool) function 872 onoff(verbose), onoff(bell), onoff(interactive), 873 onoff(doglob)); 874 printf("Store unique: %s; Receive unique: %s\n", onoff(sunique), 875 onoff(runique)); 876 printf("Case: %s; CR stripping: %s\n",onoff(mcase),onoff(crflag)); 890 onoff(has [all...] |
/freebsd-11-stable/sys/dev/gpio/ |
H A D | gpioled.c | 72 gpioled_control(void *priv, int onoff) argument 81 onoff ? GPIO_PIN_HIGH : GPIO_PIN_LOW);
|
/freebsd-11-stable/contrib/tnftp/src/ |
H A D | cmds.c | 789 onoff(int val) function 825 fprintf(ttyout, "Gate ftp: %s, server %s, port %s.\n", onoff(gatemode), 828 onoff(passivemode), onoff(activefallback)); 832 onoff(verbose), onoff(bell), onoff(interactive), onoff(doglob)); 834 onoff(sunique), onoff(runiqu [all...] |
/freebsd-11-stable/contrib/ipfilter/samples/ |
H A D | proxy.c | 142 int onoff, ofd, slen; local 209 onoff = 1; 210 if (ioctl(fd, SIOCSTLCK, &onoff) == 0) { 213 onoff = 0; 214 if (ioctl(fd, SIOCSTLCK, &onoff) != 0)
|