Home
last modified time | relevance | path

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

1234

/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.c627 uint8_t onoff; in ucom_modem() local
667 onoff = (sc->sc_mcr & SER_DTR) ? 1 : 0; in ucom_modem()
668 ucom_dtr(sc, onoff); in ucom_modem()
670 onoff = (sc->sc_mcr & SER_RTS) ? 1 : 0; in ucom_modem()
671 ucom_rts(sc, onoff); in ucom_modem()
768 ucom_ring(struct ucom_softc *sc, uint8_t onoff) in ucom_ring() argument
770 DPRINTF("onoff = %d\n", onoff); in ucom_ring()
772 if (onoff) in ucom_ring()
779 ucom_break(struct ucom_softc *sc, uint8_t onoff) in ucom_break() argument
781 DPRINTF("onoff = %d\n", onoff); in ucom_break()
[all …]
Du3g.c956 u3g_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) in u3g_cfg_set_dtr() argument
960 DPRINTF("onoff = %d\n", onoff); in u3g_cfg_set_dtr()
962 if (onoff) in u3g_cfg_set_dtr()
971 u3g_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) in u3g_cfg_set_rts() argument
975 DPRINTF("onoff = %d\n", onoff); in u3g_cfg_set_rts()
977 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/node/deps/openssl/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/curl/docs/libcurl/opts/
DCURLOPT_NOPROGRESS.md23 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_NOPROGRESS, long onoff);
28 If *onoff* is to 1, it tells the library to shut off the progress meter
DCURLOPT_VERBOSE.md23 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_VERBOSE, long onoff);
28 Set the *onoff* parameter to 1 to make the library display a lot of
DCURLOPT_TFTP_NO_OPTIONS.md20 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TFTP_NO_OPTIONS, long onoff);
25 Set *onoff* to 1L to exclude all TFTP options defined in RFC 2347,
DCURLOPT_HEADER.md21 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_HEADER, long onoff);
26 Pass the long value *onoff* set to 1 to ask libcurl to include the headers
DCURLOPT_NOSIGNAL.md20 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_NOSIGNAL, long onoff);
25 If *onoff* is 1, libcurl uses no functions that install signal handlers or
DCURLOPT_WILDCARDMATCH.md23 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_WILDCARDMATCH, long onoff);
28 Set *onoff* to 1 if you want to transfer multiple files according to a
DCURLOPT_DNS_SHUFFLE_ADDRESSES.md21 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_DNS_SHUFFLE_ADDRESSES, long onoff);
DCURLOPT_SUPPRESS_CONNECT_HEADERS.md22 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SUPPRESS_CONNECT_HEADERS, long onoff);
/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/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
/third_party/curl/lib/
Dcf-socket.c103 curl_socklen_t onoff = (curl_socklen_t) 1; in tcpnodelay() local
107 if(setsockopt(sockfd, level, TCP_NODELAY, (void *)&onoff, in tcpnodelay()
108 sizeof(onoff)) < 0) in tcpnodelay()
125 int onoff = 1; in nosigpipe() local
127 if(setsockopt(sockfd, SOL_SOCKET, SO_NOSIGPIPE, (void *)&onoff, in nosigpipe()
128 sizeof(onoff)) < 0) { in nosigpipe()
151 u_long onoff; member
174 vals.onoff = 1; in tcpkeepalive()
/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/node/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/
Dssl.h1403 # define SSL_CTX_set_dh_auto(ctx, onoff) \ argument
1404 SSL_CTX_ctrl(ctx,SSL_CTRL_SET_DH_AUTO,onoff,NULL)
1405 # define SSL_set_dh_auto(s, onoff) \ argument
1406 SSL_ctrl(s,SSL_CTRL_SET_DH_AUTO,onoff,NULL)
1586 # define SSL_CTX_set_ecdh_auto(dummy, onoff) ((onoff) != 0) argument
1587 # define SSL_set_ecdh_auto(dummy, onoff) ((onoff) != 0) argument
/third_party/node/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/
Dssl.h1403 # define SSL_CTX_set_dh_auto(ctx, onoff) \ argument
1404 SSL_CTX_ctrl(ctx,SSL_CTRL_SET_DH_AUTO,onoff,NULL)
1405 # define SSL_set_dh_auto(s, onoff) \ argument
1406 SSL_ctrl(s,SSL_CTRL_SET_DH_AUTO,onoff,NULL)
1586 # define SSL_CTX_set_ecdh_auto(dummy, onoff) ((onoff) != 0) argument
1587 # define SSL_set_ecdh_auto(dummy, onoff) ((onoff) != 0) argument
/third_party/node/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/
Dssl.h1403 # define SSL_CTX_set_dh_auto(ctx, onoff) \ argument
1404 SSL_CTX_ctrl(ctx,SSL_CTRL_SET_DH_AUTO,onoff,NULL)
1405 # define SSL_set_dh_auto(s, onoff) \ argument
1406 SSL_ctrl(s,SSL_CTRL_SET_DH_AUTO,onoff,NULL)
1586 # define SSL_CTX_set_ecdh_auto(dummy, onoff) ((onoff) != 0) argument
1587 # define SSL_set_ecdh_auto(dummy, onoff) ((onoff) != 0) argument

1234