Home
last modified time | relevance | path

Searched refs:tout (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_select.py34 for tout in (0, 1, 2, 4, 8, 16) + (None,)*10:
36 print 'timeout =', tout
37 rfd, wfd, xfd = select.select([p], [], [], tout)
Dtest_poll.py122 for tout in (0, 1000, 2000, 4000, 8000, 16000) + (-1,)*10:
123 fdlist = pollster.poll(tout)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/metaclasses/
DSynch.py224 tout = 0.001
233 tout = 0.001
235 time.sleep(tout)
236 tout = tout*2
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
Dselectmodule.c212 PyObject *tout = Py_None; in select_select() local
222 &ifdlist, &ofdlist, &efdlist, &tout)) in select_select()
225 if (tout == Py_None) in select_select()
227 else if (!PyNumber_Check(tout)) { in select_select()
233 timeout = PyFloat_AsDouble(tout); in select_select()
496 PyObject *result_list = NULL, *tout = NULL; in poll_poll() local
500 if (!PyArg_UnpackTuple(args, "poll", 0, 1, &tout)) { in poll_poll()
505 if (tout == NULL || tout == Py_None) in poll_poll()
507 else if (!PyNumber_Check(tout)) { in poll_poll()
513 tout = PyNumber_Int(tout); in poll_poll()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dselectmodule.c212 PyObject *tout = Py_None; in select_select() local
222 &ifdlist, &ofdlist, &efdlist, &tout)) in select_select()
225 if (tout == Py_None) in select_select()
227 else if (!PyNumber_Check(tout)) { in select_select()
233 timeout = PyFloat_AsDouble(tout); in select_select()
496 PyObject *result_list = NULL, *tout = NULL; in poll_poll() local
500 if (!PyArg_UnpackTuple(args, "poll", 0, 1, &tout)) { in poll_poll()
505 if (tout == NULL || tout == Py_None) in poll_poll()
507 else if (!PyNumber_Check(tout)) { in poll_poll()
513 tout = PyNumber_Int(tout); in poll_poll()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
Dselectmodule.c212 PyObject *tout = Py_None; in select_select() local
222 &ifdlist, &ofdlist, &efdlist, &tout)) in select_select()
225 if (tout == Py_None) in select_select()
227 else if (!PyNumber_Check(tout)) { in select_select()
233 timeout = PyFloat_AsDouble(tout); in select_select()
518 PyObject *result_list = NULL, *tout = NULL; in poll_poll() local
522 if (!PyArg_UnpackTuple(args, "poll", 0, 1, &tout)) { in poll_poll()
527 if (tout == NULL || tout == Py_None) in poll_poll()
529 else if (!PyNumber_Check(tout)) { in poll_poll()
535 tout = PyNumber_Int(tout); in poll_poll()
[all …]