HomeSort by relevance Sort by last modified time
    Searched refs:sock_timeout (Results 1 - 14 of 14) sorted by null

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
socketmodule.h 133 double sock_timeout; /* Operation timeout in seconds; member in struct:__anon4241
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
socketmodule.h 133 double sock_timeout; /* Operation timeout in seconds; member in struct:__anon4475
socketmodule.c 471 #define IS_SELECTABLE(s) (_PyIsSelectable_fd((s)->sock_fd) || (s)->sock_timeout <= 0.0)
674 /* Do a select()/poll() on the socket, if necessary (sock_timeout > 0).
685 if (s->sock_timeout <= 0.0)
706 /* s->sock_timeout is in seconds, timeout in ms */
738 return internal_select_ex(s, writing, s->sock_timeout);
761 double deadline, interval = s->sock_timeout; \
762 int has_timeout = s->sock_timeout > 0.0; \
764 deadline = _PyTime_FloatTime() + s->sock_timeout; \
792 s->sock_timeout = defaulttimeout;
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
socketmodule.h 133 double sock_timeout; /* Operation timeout in seconds; member in struct:__anon4816
_ssl.c 394 if (Sock->sock_timeout >= 0.0) {
465 nonblocking = (self->Socket->sock_timeout >= 0.0);
    [all...]
socketmodule.c 470 #define IS_SELECTABLE(s) ((s)->sock_fd < FD_SETSIZE || s->sock_timeout <= 0.0)
662 /* Do a select()/poll() on the socket, if necessary (sock_timeout > 0).
673 if (s->sock_timeout <= 0.0)
690 /* s->sock_timeout is in seconds, timeout in ms */
691 timeout = (int)(s->sock_timeout * 1000 + 0.5);
699 tv.tv_sec = (int)s->sock_timeout;
700 tv.tv_usec = (int)((s->sock_timeout - tv.tv_sec) * 1e6);
734 s->sock_timeout = defaulttimeout;
    [all...]
  /external/python/cpython2/Modules/
socketmodule.h 133 double sock_timeout; /* Operation timeout in seconds; member in struct:__anon32870
socketmodule.c 495 #define IS_SELECTABLE(s) (_PyIsSelectable_fd((s)->sock_fd) || (s)->sock_timeout <= 0.0)
698 /* Do a select()/poll() on the socket, if necessary (sock_timeout > 0).
709 if (s->sock_timeout <= 0.0)
730 /* s->sock_timeout is in seconds, timeout in ms */
762 return internal_select_ex(s, writing, s->sock_timeout);
785 double deadline = 0, interval = s->sock_timeout; \
786 int has_timeout = s->sock_timeout > 0.0; \
788 deadline = _PyTime_FloatTime() + s->sock_timeout; \
816 s->sock_timeout = defaulttimeout;
    [all...]
_ssl.c 585 if (sock->sock_timeout >= 0.0) {
623 nonblocking = (sock->sock_timeout >= 0.0);
    [all...]
  /external/python/cpython3/Modules/
socketmodule.h 177 _PyTime_t sock_timeout; /* Operation timeout in seconds; member in struct:__anon33498
socketmodule.c 521 #define IS_SELECTABLE(s) (_PyIsSelectable_fd((s)->sock_fd) || (s)->sock_timeout <= 0)
721 /* s->sock_timeout is in seconds, timeout in ms */
893 if (s->sock_timeout > 0
919 return sock_call_ex(s, writing, func, data, 0, NULL, s->sock_timeout);
940 s->sock_timeout = 0;
944 s->sock_timeout = defaulttimeout;
    [all...]
_ssl.c 364 ((sock != NULL) ? (sock)->sock_timeout : 0)
650 if (sock && sock->sock_timeout >= 0) {
699 nonblocking = (sock->sock_timeout >= 0);
    [all...]
  /tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
mg3710a.py 80 def send_query(self, query, sock_timeout=10):
91 self._sock.settimeout(sock_timeout)
103 def send_command(self, command, sock_timeout=30, opc=True):
114 self._sock.settimeout(sock_timeout)
md8475a.py 507 def send_query(self, query, sock_timeout=10):
518 self._sock.settimeout(sock_timeout)
531 def send_command(self, command, sock_timeout=20):
543 self._sock.settimeout(sock_timeout)
    [all...]

Completed in 380 milliseconds