Home
last modified time | relevance | path

Searched refs:onoff (Results 1 – 25 of 33) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/libpng/scripts/
Doptions.awk263 onoff = option[opt] # records current (and the default is "", enabled)
287 if (onoff != val) {
289 if (onoff == "" || (onoff == "disabled" || onoff == "enabled") &&
293 if (onoff == "" && (val == "on" || val == "off")) {
299 onoff = val
303 print "option", opt ": currently", onoff ": attempt to turn", val
330 if (onoff == "") onoff = "enabled"
331 option[opt] = onoff
353 onoff = ""
380 if (onoff != val) {
[all …]
/third_party/skia/third_party/externals/libpng/scripts/
Doptions.awk263 onoff = option[opt] # records current (and the default is "", enabled)
287 if (onoff != val) {
289 if (onoff == "" || (onoff == "disabled" || onoff == "enabled") &&
293 if (onoff == "" && (val == "on" || val == "off")) {
299 onoff = val
303 print "option", opt ": currently", onoff ": attempt to turn", val
330 if (onoff == "") onoff = "enabled"
331 option[opt] = onoff
353 onoff = ""
380 if (onoff != val) {
[all …]
/third_party/FreeBSD/sys/dev/usb/serial/
Dusb_serial.c629 uint8_t onoff; in ucom_modem() local
669 onoff = (sc->sc_mcr & SER_DTR) ? 1 : 0; in ucom_modem()
670 ucom_dtr(sc, onoff); in ucom_modem()
672 onoff = (sc->sc_mcr & SER_RTS) ? 1 : 0; in ucom_modem()
673 ucom_rts(sc, onoff); in ucom_modem()
770 ucom_ring(struct ucom_softc *sc, uint8_t onoff) in ucom_ring() argument
772 DPRINTF("onoff = %d\n", onoff); in ucom_ring()
774 if (onoff) in ucom_ring()
781 ucom_break(struct ucom_softc *sc, uint8_t onoff) in ucom_break() argument
783 DPRINTF("onoff = %d\n", onoff); in ucom_break()
[all …]
Du3g.c958 u3g_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) in u3g_cfg_set_dtr() argument
962 DPRINTF("onoff = %d\n", onoff); in u3g_cfg_set_dtr()
964 if (onoff) in u3g_cfg_set_dtr()
973 u3g_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) in u3g_cfg_set_rts() argument
977 DPRINTF("onoff = %d\n", onoff); in u3g_cfg_set_rts()
979 if (onoff) in u3g_cfg_set_rts()
/third_party/openssl/ssl/
Dssl_conf.c107 uint64_t option_value, int onoff) in ssl_set_option() argument
114 onoff ^= 1; in ssl_set_option()
126 if (onoff) in ssl_set_option()
136 if (onoff) in ssl_set_option()
143 const char *name, int namelen, int onoff) in ssl_match_option() argument
154 ssl_set_option(cctx, tbl->name_flags, tbl->option_value, onoff); in ssl_match_option()
163 int onoff = 1; in ssl_set_option_list() local
174 onoff = 1; in ssl_set_option_list()
178 onoff = 0; in ssl_set_option_list()
182 if (ssl_match_option(cctx, tbl, elem, len, onoff)) in ssl_set_option_list()
/third_party/python/Modules/_sqlite/clinic/
Dconnection.c.h332 int onoff);
338 int onoff; in pysqlite_connection_enable_load_extension() local
340 onoff = _PyLong_AsInt(arg); in pysqlite_connection_enable_load_extension()
341 if (onoff == -1 && PyErr_Occurred()) { in pysqlite_connection_enable_load_extension()
344 return_value = pysqlite_connection_enable_load_extension_impl(self, onoff); in pysqlite_connection_enable_load_extension()
/third_party/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/
DNVCtrlLib.h558 Bool XNVCtrlSelectNotify(Display *dpy, int screen, int type, Bool onoff);
578 Bool onoff);
DNVCtrl.c917 Bool onoff in XNVCtrlSelectTargetNotify() argument
934 req->onoff = onoff; in XNVCtrlSelectTargetNotify()
946 Bool onoff in XNVCtrlSelectNotify() argument
962 req->onoff = onoff; in XNVCtrlSelectNotify()
Dnv_control.h530 CARD16 onoff B16;
605 CARD16 onoff B16;
/third_party/flutter/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/
DNVCtrlLib.h558 Bool XNVCtrlSelectNotify(Display *dpy, int screen, int type, Bool onoff);
578 Bool onoff);
DNVCtrl.c917 Bool onoff in XNVCtrlSelectTargetNotify() argument
934 req->onoff = onoff; in XNVCtrlSelectTargetNotify()
946 Bool onoff in XNVCtrlSelectNotify() argument
962 req->onoff = onoff; in XNVCtrlSelectNotify()
Dnv_control.h530 CARD16 onoff B16;
605 CARD16 onoff B16;
/third_party/rust/crates/rust-openssl/openssl-sys/src/
Dssl.rs433 pub unsafe fn SSL_CTX_set_ecdh_auto(ctx: *mut SSL_CTX, onoff: c_int) -> c_int { in SSL_CTX_set_ecdh_auto()
437 onoff as c_long, in SSL_CTX_set_ecdh_auto()
443 pub unsafe fn SSL_set_ecdh_auto(ssl: *mut SSL, onoff: c_int) -> c_int { in SSL_set_ecdh_auto()
447 onoff as c_long, in SSL_set_ecdh_auto()
/third_party/openssl/doc/man3/
DSSL_CTX_set_tmp_dh_callback.pod14 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 1 in the I<onoff> parameter
DOPENSSL_malloc.pod78 int CRYPTO_set_mem_debug(int onoff);
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dcrypto.rs77 pub fn FIPS_mode_set(onoff: c_int) -> c_int; in FIPS_mode_set()
/third_party/openssl/ohos_lite/include/openssl/
Dssl.h1325 # define SSL_CTX_set_dh_auto(ctx, onoff) \ argument
1326 SSL_CTX_ctrl(ctx,SSL_CTRL_SET_DH_AUTO,onoff,NULL)
1327 # define SSL_set_dh_auto(s, onoff) \ argument
1328 SSL_ctrl(s,SSL_CTRL_SET_DH_AUTO,onoff,NULL)
1486 # define SSL_CTX_set_ecdh_auto(dummy, onoff) ((onoff) != 0) argument
1487 # define SSL_set_ecdh_auto(dummy, onoff) ((onoff) != 0) argument
/third_party/FreeBSD/sys/dev/usb/
Dusb_dev.c2107 usb_fifo_set_close_zlp(struct usb_fifo *f, uint8_t onoff) in usb_fifo_set_close_zlp() argument
2113 f->flag_short = onoff; in usb_fifo_set_close_zlp()
2117 usb_fifo_set_write_defrag(struct usb_fifo *f, uint8_t onoff) in usb_fifo_set_write_defrag() argument
2123 f->flag_write_defrag = onoff; in usb_fifo_set_write_defrag()
/third_party/python/Modules/_sqlite/
Dconnection.c1209 int onoff) in pysqlite_connection_enable_load_extension_impl() argument
1215 "OO", self, onoff ? Py_True : Py_False) < 0) { in pysqlite_connection_enable_load_extension_impl()
1223 rc = sqlite3_enable_load_extension(self->db, onoff); in pysqlite_connection_enable_load_extension_impl()
/third_party/libwebsockets/lib/plat/windows/
Dwindows-sockets.c113 alive.onoff = TRUE; in lws_plat_set_socket_options()
/third_party/openssl/include/openssl/
Dssl.h.in1331 # define SSL_CTX_set_dh_auto(ctx, onoff) \ argument
1332 SSL_CTX_ctrl(ctx,SSL_CTRL_SET_DH_AUTO,onoff,NULL)
1333 # define SSL_set_dh_auto(s, onoff) \ argument
1334 SSL_ctrl(s,SSL_CTRL_SET_DH_AUTO,onoff,NULL)
1514 # define SSL_CTX_set_ecdh_auto(dummy, onoff) ((onoff) != 0) argument
1515 # define SSL_set_ecdh_auto(dummy, onoff) ((onoff) != 0) argument
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_usrreq.c3757 int onoff; local
3764 onoff = sctp_is_feature_on(inp, SCTP_PCB_FLAGS_RECVRCVINFO);
3769 *(int *)optval = onoff;
3776 int onoff; local
3783 onoff = sctp_is_feature_on(inp, SCTP_PCB_FLAGS_RECVNXTINFO);
3788 *(int *)optval = onoff;
7047 int *onoff; local
7049 SCTP_CHECK_AND_CAST(onoff, optval, int, optsize);
7051 if (*onoff != 0) {
7061 int *onoff; local
[all …]
/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Dmod.rs1089 pub fn set_ecdh_auto(&mut self, onoff: bool) -> Result<(), ErrorStack> { in set_ecdh_auto()
1090 unsafe { cvt(ffi::SSL_CTX_set_ecdh_auto(self.as_ptr(), onoff as c_int)).map(|_| ()) } in set_ecdh_auto()
2408 pub fn set_ecdh_auto(&mut self, onoff: bool) -> Result<(), ErrorStack> { in set_ecdh_auto()
2409 unsafe { cvt(ffi::SSL_set_ecdh_auto(self.as_ptr(), onoff as c_int)).map(|_| ()) } in set_ecdh_auto()
/third_party/sqlite/include/
Dsqlite3.h2465 SQLITE_API int sqlite3_extended_result_codes(sqlite3*, int onoff);
6991 SQLITE_API int sqlite3_enable_load_extension(sqlite3 *db, int onoff);
/third_party/mksh/
Dedit.c3388 x_mode(bool onoff) in x_mode() argument
3392 if (x_cur_mode == onoff) in x_mode()
3394 x_cur_mode = onoff; in x_mode()
3396 if (onoff) { in x_mode()

12