Home
last modified time | relevance | path

Searched refs:onoff (Results 1 – 25 of 38) 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/u-boot/drivers/video/
Dld9040.c105 void ld9040_enable_ldo(unsigned int onoff) in ld9040_enable_ldo() argument
107 if (onoff) in ld9040_enable_ldo()
/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.c102 u_long onoff; member
123 vals.onoff = 1; in tcpkeepalive()
900 curl_socklen_t onoff = (curl_socklen_t) 1; in tcpnodelay() local
908 if(setsockopt(sockfd, level, TCP_NODELAY, (void *)&onoff, in tcpnodelay()
909 sizeof(onoff)) < 0) in tcpnodelay()
929 int onoff = 1; in nosigpipe() local
930 if(setsockopt(sockfd, SOL_SOCKET, SO_NOSIGPIPE, (void *)&onoff, in nosigpipe()
931 sizeof(onoff)) < 0) { in nosigpipe()
/external/u-boot/include/
Dld9040.h13 void ld9040_enable_ldo(unsigned int onoff);
/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/u-boot/board/samsung/universal_c210/
Duniversal.c351 void exynos_enable_ldo(unsigned int onoff) in exynos_enable_ldo() argument
353 ld9040_enable_ldo(onoff); in exynos_enable_ldo()
/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.c5465 int err, flags=0, onoff=0; in DBEnv_set_flags() local
5468 &flags, &onoff)) in DBEnv_set_flags()
5473 err = self->db_env->set_flags(self->db_env, flags, onoff); in DBEnv_set_flags()
5498 int err, flags, onoff; in DBEnv_log_set_config() local
5501 &flags, &onoff)) in DBEnv_log_set_config()
5506 err = self->db_env->log_set_config(self->db_env, flags, onoff); in DBEnv_log_set_config()
5515 int err, flag, onoff; in DBEnv_log_get_config() local
5522 err = self->db_env->log_get_config(self->db_env, flag, &onoff); in DBEnv_log_get_config()
5525 return PyBool_FromLong(onoff); in DBEnv_log_get_config()
7202 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/cpython3/Modules/_sqlite/
Dconnection.c1053 int onoff; in pysqlite_enable_load_extension() local
1059 if (!PyArg_ParseTuple(args, "i", &onoff)) { in pysqlite_enable_load_extension()
1063 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/syzkaller/sys/netbsd/
Dsys.txt175 onoff int32
/external/syzkaller/sys/freebsd/
Dsys.txt189 onoff int32
/external/sqlite/dist/
Dsqlite3.h2103 SQLITE_API int sqlite3_extended_result_codes(sqlite3*, int onoff);
6017 SQLITE_API int sqlite3_enable_load_extension(sqlite3 *db, int onoff);
/external/sqlite/dist/orig/
Dsqlite3.h2103 SQLITE_API int sqlite3_extended_result_codes(sqlite3*, int onoff);
6017 SQLITE_API int sqlite3_enable_load_extension(sqlite3 *db, int onoff);

12