/freebsd-10.0-release/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_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.
|
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.
|
/freebsd-10.0-release/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-10.0-release/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-10.0-release/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-10.0-release/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-10.0-release/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-10.0-release/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-10.0-release/lib/librtld_db/ |
H A D | rtld_db.c | 95 rd_event_enable(rd_agent_t *rdap __unused, int onoff) argument 97 DPRINTF("%s onoff %d\n", __func__, onoff); 166 rd_log(const int onoff) argument 170 (void)onoff;
|
/freebsd-10.0-release/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-10.0-release/sbin/conscontrol/ |
H A D | conscontrol.c | 89 consmute(const char *onoff) argument 94 if (strcmp(onoff, "on") == 0) 96 else if (strcmp(onoff, "off") == 0)
|
/freebsd-10.0-release/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...] |
H A D | extern.h | 100 char *onoff (int);
|
/freebsd-10.0-release/sys/dev/gpio/ |
H A D | gpioled.c | 72 gpioled_control(void *priv, int onoff) argument 79 onoff ? GPIO_PIN_HIGH : GPIO_PIN_LOW);
|
/freebsd-10.0-release/sys/dev/netmap/ |
H A D | ixgbe_netmap.h | 108 set_crcstrip(struct ixgbe_hw *hw, int onoff) argument 124 onoff ? "enter" : "exit", hl, rxc); 128 if (onoff && !ix_crcstrip) { 139 onoff ? "enter" : "exit", hl, rxc); 149 ixgbe_netmap_reg(struct ifnet *ifp, int onoff) argument 163 set_crcstrip(&adapter->hw, onoff); 164 if (onoff) { /* enable netmap mode */ 188 set_crcstrip(&adapter->hw, onoff);
|
/freebsd-10.0-release/sys/dev/usb/serial/ |
H A D | usb_serial.c | 880 uint8_t onoff; local 921 onoff = (sc->sc_mcr & SER_DTR) ? 1 : 0; 922 ucom_dtr(sc, onoff); 924 onoff = (sc->sc_mcr & SER_RTS) ? 1 : 0; 925 ucom_rts(sc, onoff); 1022 ucom_ring(struct ucom_softc *sc, uint8_t onoff) argument 1024 DPRINTF("onoff = %d\n", onoff); 1026 if (onoff) 1033 ucom_break(struct ucom_softc *sc, uint8_t onoff) argument 1044 ucom_dtr(struct ucom_softc *sc, uint8_t onoff) argument 1055 ucom_rts(struct ucom_softc *sc, uint8_t onoff) argument 1074 uint8_t onoff; local [all...] |
H A D | ubsa.c | 402 ubsa_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 406 DPRINTF("onoff = %d\n", onoff); 408 ubsa_cfg_request(sc, UBSA_REG_DTR, onoff ? 1 : 0); 412 ubsa_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 416 DPRINTF("onoff = %d\n", onoff); 418 ubsa_cfg_request(sc, UBSA_REG_RTS, onoff ? 1 : 0); 422 ubsa_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 426 DPRINTF("onoff [all...] |
H A D | uvscom.c | 499 uvscom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 503 DPRINTF("onoff = %d\n", onoff); 505 if (onoff) 514 uvscom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 518 DPRINTF("onoff = %d\n", onoff); 520 if (onoff) 529 uvscom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 533 DPRINTF("onoff [all...] |
H A D | uchcom.c | 549 uchcom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 556 if (onoff) { 640 uchcom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 644 DPRINTF("onoff = %d\n", onoff); 646 sc->sc_dtr = onoff; 651 uchcom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 655 DPRINTF("onoff = %d\n", onoff); 657 sc->sc_rts = onoff; [all...] |
/freebsd-10.0-release/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-10.0-release/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)
|