Home
last modified time | relevance | path

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

12

/external/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 …]
/external/autotest/client/profilers/powertop/src/
Dconfig.c89 void suggest_kernel_config(char *string, int onoff, char *comment, int weight) in suggest_kernel_config() argument
102 if (onoff && strstr(configlines[i], searchon)) in suggest_kernel_config()
104 if (onoff==0 && strstr(configlines[i], searchoff)) in suggest_kernel_config()
106 if (onoff==0 && strstr(configlines[i], searchon)) in suggest_kernel_config()
109 if (onoff || found) in suggest_kernel_config()
Dpowertop.h47 void suggest_kernel_config(char *string, int onoff, char *comment, int weight);
/external/python/cpython2/Mac/Modules/snd/
D_Sndihooks.c157 short onoff; local
163 if( (err=SPBGetDeviceInfo(inRefNum, siContinuous, (Ptr)&onoff)) != noErr )
165 return Py_BuildValue("h", onoff);
178 short onoff; local
181 if (!PyArg_ParseTuple(args, "lh", &inRefNum, &onoff))
184 if( (err=SPBSetDeviceInfo(inRefNum, siContinuous, (Ptr)&onoff)) != noErr )
264 short onoff; local
270 if( (err=SPBGetDeviceInfo(inRefNum, siPlayThruOnOff, (Ptr)&onoff)) != noErr )
272 return Py_BuildValue("h", onoff);
285 short onoff; local
[all …]
/external/python/cpython2/Lib/plat-mac/
DFrameWork.py232 def asyncevents(self, onoff): argument
240 if onoff:
246 self._doing_asyncevents = onoff
631 def enable(self, onoff): argument
632 if onoff:
674 def check(self, onoff): argument
675 self.menu.menu.CheckMenuItem(self.item, onoff)
677 def enable(self, onoff): argument
678 if onoff:
930 def do_activate(self, onoff, event): argument
[all …]
/external/python/cpython2/Mac/Demo/textedit/
Dped.py79 def do_activate(self, onoff, evt): argument
80 print "ACTIVATE", onoff
81 ScrolledWindow.do_activate(self, onoff, evt)
82 if onoff:
/external/curl/lib/
Dconnect.c100 u_long onoff; member
121 vals.onoff = 1; in tcpkeepalive()
880 curl_socklen_t onoff = (curl_socklen_t) 1; in Curl_tcpnodelay() local
900 if(setsockopt(sockfd, level, TCP_NODELAY, (void *)&onoff, in Curl_tcpnodelay()
901 sizeof(onoff)) < 0) in Curl_tcpnodelay()
921 int onoff = 1; in nosigpipe() local
922 if(setsockopt(sockfd, SOL_SOCKET, SO_NOSIGPIPE, (void *)&onoff, in nosigpipe()
923 sizeof(onoff)) < 0) in nosigpipe()
/external/linux-kselftest/tools/testing/selftests/rcutorture/configs/lock/
Dver_functions.sh29 echo CPU-hotplug kernel, adding locktorture onoff. 1>&2
/external/linux-kselftest/tools/testing/selftests/rcutorture/configs/rcu/
Dver_functions.sh41 echo CPU-hotplug kernel, adding rcutorture onoff. 1>&2
/external/python/cpython2/Mac/Demo/mlte/
Dmlted.py43 def do_activate(self, onoff, evt): argument
44 if onoff:
/external/python/cpython2/Modules/
Dsvmodule.c476 boolean onoff; in sv_UseExclusive() local
479 if (!PyArg_Parse(args, "(ii)", &onoff, &mode)) in sv_UseExclusive()
482 if (svUseExclusive(self->ob_svideo, onoff, mode)) in sv_UseExclusive()
D_bsddb.c5441 int err, flags=0, onoff=0; in DBEnv_set_flags() local
5444 &flags, &onoff)) in DBEnv_set_flags()
5449 err = self->db_env->set_flags(self->db_env, flags, onoff); in DBEnv_set_flags()
5474 int err, flags, onoff; in DBEnv_log_set_config() local
5477 &flags, &onoff)) in DBEnv_log_set_config()
5482 err = self->db_env->log_set_config(self->db_env, flags, onoff); in DBEnv_log_set_config()
5491 int err, flag, onoff; in DBEnv_log_get_config() local
5498 err = self->db_env->log_get_config(self->db_env, flag, &onoff); in DBEnv_log_get_config()
5501 return PyBool_FromLong(onoff); in DBEnv_log_get_config()
7178 int which, onoff; in DBEnv_set_verbose() local
[all …]
/external/python/cpython2/Modules/_sqlite/
Dconnection.c1057 int onoff; in pysqlite_enable_load_extension() local
1063 if (!PyArg_ParseTuple(args, "i", &onoff)) { in pysqlite_enable_load_extension()
1067 rc = sqlite3_enable_load_extension(self->db, onoff); in pysqlite_enable_load_extension()
/external/python/cpython2/Mac/Modules/ae/
D_AEmodule.c756 int onoff, old; in AEDesc_AutoDispose() local
757 if (!PyArg_ParseTuple(_args, "i", &onoff)) in AEDesc_AutoDispose()
760 _self->ob_owned = onoff; in AEDesc_AutoDispose()
/external/python/cpython2/Doc/library/
Dframework.rst159 .. method:: Application.asyncevents(onoff)
302 .. method:: ScrolledWindow.do_activate(onoff, event)
/external/python/cpython2/Mac/Modules/res/
D_Resmodule.c458 int onoff, old = 0; in ResObj_AutoDispose() local
459 if (!PyArg_ParseTuple(_args, "i", &onoff)) in ResObj_AutoDispose()
463 if ( onoff ) in ResObj_AutoDispose()
/external/javasqlite/src/main/java/SQLite/
DDatabase.java888 protected static native boolean _enable_shared_cache(boolean onoff); in _enable_shared_cache() argument
/external/netperf/src/
Dnettest_omni.c3092 int onoff = 1; in recv_pktinfo() local
3108 setsockopt(data_socket, IPPROTO_IP, IP_PKTINFO, &onoff, sizeof(onoff)); in recv_pktinfo()
3126 onoff = 0; in recv_pktinfo()
3127 setsockopt(data_socket, IPPROTO_IP, IP_PKTINFO, &onoff, sizeof(onoff)); in recv_pktinfo()
/external/sqlite/dist/
Dsqlite3.h2076 SQLITE_API int sqlite3_extended_result_codes(sqlite3*, int onoff);
5813 SQLITE_API int sqlite3_enable_load_extension(sqlite3 *db, int onoff);
/external/sqlite/dist/orig/
Dsqlite3.h2076 SQLITE_API int sqlite3_extended_result_codes(sqlite3*, int onoff);
5813 SQLITE_API int sqlite3_enable_load_extension(sqlite3 *db, int onoff);
/external/mksh/src/
Dedit.c3304 x_mode(bool onoff) in x_mode() argument
3308 if (x_cur_mode == onoff) in x_mode()
3310 x_cur_mode = onoff; in x_mode()
3312 if (onoff) { in x_mode()
/external/python/cpython2/Mac/Modules/win/
D_Winmodule.c2311 int onoff, old = 0; in WinObj_AutoDispose() local
2312 if (!PyArg_ParseTuple(_args, "i", &onoff)) in WinObj_AutoDispose()
2316 if ( onoff ) in WinObj_AutoDispose()
/external/boringssl/src/include/openssl/
Dssl.h3905 #define SSL_CTX_set_ecdh_auto(ctx, onoff) 1 argument
3908 #define SSL_set_ecdh_auto(ssl, onoff) 1 argument
/external/skia/third_party/libpng/
Dpng.c4223 png_set_option(png_structrp png_ptr, int option, int onoff)
4229 int setting = (2 + (onoff != 0)) << option;
/external/libpng/
Dpng.c4257 png_set_option(png_structrp png_ptr, int option, int onoff)
4263 int setting = (2 + (onoff != 0)) << option;

12