Searched refs:onoff (Results 1 - 25 of 75) sorted by path

123

/freebsd-current/contrib/dialog/samples/
H A Ddialog.py184 lambda i, item, onoff, fs=('off', 'on'): (i + 1, item, fs[onoff]),
/freebsd-current/contrib/lua/src/
H A Dltests.c97 static int onoff = 0; local
104 onoff = 0;
106 onoff = 1;
135 if (buff[0] != '#' && onoff) /* unexpected warning? */
140 if (onoff)
/freebsd-current/contrib/openpam/lib/libpam/
H A Dopenpam_features.h36 int onoff; member in struct:openpam_feature
43 openpam_features[OPENPAM_##f].onoff
H A Dopenpam_get_feature.c46 openpam_get_feature(int feature, int *onoff) argument
52 *onoff = openpam_features[feature].onoff;
66 * specified feature in the variable pointed to by its =onoff argument.
H A Dopenpam_set_feature.c46 openpam_set_feature(int feature, int onoff) argument
52 openpam_features[feature].onoff = onoff;
66 * feature to the value specified by the =onoff argument.
/freebsd-current/contrib/sqlite3/
H A Dsqlite3.c2837 SQLITE_API int sqlite3_extended_result_codes(sqlite3*, int onoff);
7502 ** ^Call the sqlite3_enable_load_extension() routine with onoff==1
7503 ** to turn extension loading on and call it with onoff==0 to turn
7517 SQLITE_API int sqlite3_enable_load_extension(sqlite3 *db, int onoff);
136859 sqlite3_enable_load_extension(sqlite3 *db, int onoff) argument
179109 int onoff = va_arg(ap, int); local
182149 sqlite3_extended_result_codes(sqlite3 *db, int onoff) argument
[all...]
H A Dsqlite3.h2524 SQLITE_API int sqlite3_extended_result_codes(sqlite3*, int onoff);
7189 ** ^Call the sqlite3_enable_load_extension() routine with onoff==1
7190 ** to turn extension loading on and call it with onoff==0 to turn
7204 SQLITE_API int sqlite3_enable_load_extension(sqlite3 *db, int onoff);
/freebsd-current/contrib/sqlite3/tea/generic/
H A Dtclsqlite3.c2430 int onoff = -1; local
2442 if( Tcl_GetBooleanFromObj(interp, objv[3], &onoff) ){
2446 sqlite3_db_config(pDb->db, aDbConfig[ii].op, onoff, &v);
2730 int onoff; local
2735 if( Tcl_GetBooleanFromObj(interp, objv[2], &onoff) ){
2738 sqlite3_enable_load_extension(pDb->db, onoff);
/freebsd-current/contrib/telnet/telnet/
H A Dsys_bsd.c378 int onoff; local
557 onoff = 0;
584 onoff = 1;
675 ioctl(tin, FIONBIO, (char *)&onoff);
676 ioctl(tout, FIONBIO, (char *)&onoff);
731 NetNonblockingIO(int fd, int onoff) argument
733 ioctl(fd, FIONBIO, (char *)&onoff);
/freebsd-current/contrib/tnftp/src/
H A Dcmds.c789 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...]
H A Dextern.h166 const char *onoff(int);
/freebsd-current/crypto/heimdal/appl/ftp/ftp/
H A Dcmds.c839 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 Dextern.h100 char *onoff (int);
/freebsd-current/crypto/heimdal/appl/telnet/telnet/
H A Dexterns.h267 void NetNonblockingIO(int fd, int onoff);
H A Dsys_bsd.c325 int onoff; local
434 onoff = 0;
452 onoff = 1;
509 ioctl(tin, FIONBIO, (char *)&onoff);
510 ioctl(tout, FIONBIO, (char *)&onoff);
629 NetNonblockingIO(int fd, int onoff) argument
631 ioctl(fd, FIONBIO, (char *)&onoff);
/freebsd-current/crypto/openssl/include/openssl/
H A Dssl.h1403 # define SSL_CTX_set_dh_auto(ctx, onoff) \
1404 SSL_CTX_ctrl(ctx,SSL_CTRL_SET_DH_AUTO,onoff,NULL)
1405 # define SSL_set_dh_auto(s, onoff) \
1406 SSL_ctrl(s,SSL_CTRL_SET_DH_AUTO,onoff,NULL)
1586 # define SSL_CTX_set_ecdh_auto(dummy, onoff) ((onoff) != 0)
1587 # define SSL_set_ecdh_auto(dummy, onoff) ((onoff) != 0)
/freebsd-current/crypto/openssl/ssl/
H A Dssl_conf.c107 uint64_t option_value, int onoff)
114 onoff ^= 1;
126 if (onoff)
136 if (onoff)
143 const char *name, int namelen, int onoff)
154 ssl_set_option(cctx, tbl->name_flags, tbl->option_value, onoff);
163 int onoff = 1; local
174 onoff = 1;
178 onoff = 0;
182 if (ssl_match_option(cctx, tbl, elem, len, onoff))
106 ssl_set_option(SSL_CONF_CTX *cctx, unsigned int name_flags, uint64_t option_value, int onoff) argument
142 ssl_match_option(SSL_CONF_CTX *cctx, const ssl_flag_tbl *tbl, const char *name, int namelen, int onoff) argument
[all...]
/freebsd-current/lib/librtld_db/
H A Drtld_db.c125 rd_event_enable(rd_agent_t *rdap __unused, int onoff) argument
127 DPRINTF("%s onoff %d\n", __func__, onoff);
223 rd_log(const int onoff) argument
227 (void)onoff;
/freebsd-current/sbin/conscontrol/
H A Dconscontrol.c88 consmute(const char *onoff) argument
93 if (strcmp(onoff, "on") == 0)
95 else if (strcmp(onoff, "off") == 0)
/freebsd-current/share/examples/ipfilter/samples/
H A Dproxy.c141 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-current/sys/dev/acpi_support/
H A Dacpi_ibm.c324 static void ibm_led(void *softc, int onoff);
382 ibm_led(void *softc, int onoff) argument
392 sc->led_state = onoff;
/freebsd-current/sys/dev/ahci/
H A Dahciem.c59 static void ahci_em_led(void *priv, int onoff);
322 ahci_em_led(void *priv, int onoff) argument
334 if (onoff)
339 if (onoff)
344 if (onoff)
/freebsd-current/sys/dev/e1000/
H A Dif_em.c4202 em_if_led_func(if_ctx_t ctx, int onoff) argument
4206 if (onoff) {
/freebsd-current/sys/dev/ena/
H A Dena_netmap.c270 ena_netmap_reg(struct netmap_adapter *na, int onoff) argument
283 if (onoff) {
/freebsd-current/sys/dev/gpio/
H A Dgpioled.c73 gpioled_control(void *priv, int onoff) argument
82 onoff = !onoff;
84 onoff ? GPIO_PIN_HIGH : GPIO_PIN_LOW);

Completed in 966 milliseconds

123