Searched refs:timeout (Results 76 - 100 of 1476) sorted by relevance

1234567891011>>

/external/curl/docs/examples/
H A Dimap-multi.c85 struct timeval timeout; local
100 /* Set a suitable timeout to play around with */
101 timeout.tv_sec = 1;
102 timeout.tv_usec = 0;
106 timeout.tv_sec = curl_timeo / 1000;
107 if(timeout.tv_sec > 1)
108 timeout.tv_sec = 1;
110 timeout.tv_usec = (curl_timeo % 1000) * 1000;
139 /* Note that on some platforms 'timeout' may be modified by select().
141 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
[all...]
H A Dmulti-post.c84 struct timeval timeout; local
99 /* set a suitable timeout to play around with */
100 timeout.tv_sec = 1;
101 timeout.tv_usec = 0;
105 timeout.tv_sec = curl_timeo / 1000;
106 if(timeout.tv_sec > 1)
107 timeout.tv_sec = 1;
109 timeout.tv_usec = (curl_timeo % 1000) * 1000;
138 /* Note that on some platforms 'timeout' may be modified by select().
140 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
[all...]
H A Dpop3-multi.c85 struct timeval timeout; local
100 /* Set a suitable timeout to play around with */
101 timeout.tv_sec = 1;
102 timeout.tv_usec = 0;
106 timeout.tv_sec = curl_timeo / 1000;
107 if(timeout.tv_sec > 1)
108 timeout.tv_sec = 1;
110 timeout.tv_usec = (curl_timeo % 1000) * 1000;
139 /* Note that on some platforms 'timeout' may be modified by select().
141 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
[all...]
/external/v8/test/mjsunit/regress/
H A Dregress-crbug-350434.js15 function crash(o, timeout) {
17 %SetAllocationTimeout(100000, timeout);
/external/autotest/client/cros/
H A Dtcpdump.py34 timeout=10.)
37 def stop(self, timeout=10.):
41 for it to finish for a given timeout.
42 @param timeout: The time to wait for the tcpdump to finish in seconds.
43 None means no timeout.
60 if timeout is None:
67 timeout=timeout)
70 'file can be truncated.', timeout)
/external/chromium-trace/catapult/devil/devil/utils/
H A Dlsusb_test.py226 ['lsusb'], timeout=10), (None, DEVICE_LIST)),
228 ['lsusb', '-v', '-s', '003:007'], timeout=10), (None, RAW_OUTPUT))):
234 ['lsusb'], timeout=10), (None, DEVICE_LIST)),
236 ['lsusb', '-v', '-s', '003:007'], timeout=10), (None, RAW_OUTPUT))):
242 ['lsusb'], timeout=10), (None, DEVICE_LIST)),
244 ['lsusb', '-v', '-s', '003:007'], timeout=10), (None, RAW_OUTPUT))):
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
H A Dmemory_backend.py31 def SetMemoryPressureNotificationsSuppressed(self, suppressed, timeout=30):
36 timeout: The timeout in seconds.
39 MemoryTimeoutException: If more than |timeout| seconds has passed
46 {'suppressed': suppressed}, timeout)
48 def SimulateMemoryPressureNotification(self, pressure_level, timeout=30):
54 timeout: The timeout in seconds.
57 MemoryTimeoutException: If more than |timeout| seconds has passed
64 {'level': pressure_level}, timeout)
[all...]
H A Dinspector_backend.py46 def __init__(self, app, devtools_client, context, timeout=60):
65 self._websocket, timeout=timeout)
137 def Screenshot(self, timeout):
139 return self._page.CaptureScreenshot(timeout)
144 def GetDOMStats(self, timeout):
152 dom_counters = self._memory.GetDOMCounters(timeout)
162 def WaitForNavigate(self, timeout):
163 self._page.WaitForNavigate(timeout)
166 def Navigate(self, url, script_to_evaluate_on_commit, timeout)
[all...]
H A Dinspector_websocket.py56 def Connect(self, url, timeout=10):
64 self._socket = websocket.create_connection(url, timeout=timeout)
99 def SyncRequest(self, req, timeout=10):
110 res = self._Receive(timeout)
126 def DispatchNotifications(self, timeout=10):
134 self._Receive(timeout)
136 def _SetTimeout(self, timeout):
137 if self._cur_socket_timeout != timeout:
138 self._socket.settimeout(timeout)
[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/elb/
H A Dhealthcheck.py32 healthy_threshold=3, timeout=5, unhealthy_threshold=5):
47 self.timeout = timeout
64 self.timeout = int(value)
89 self.timeout = new_hc.timeout
/external/valgrind/coregrind/m_mach/
H A Dmach_msg.c56 mach_msg_timeout_t timeout,
60 mach_msg(msg, option, send_size, rcv_size, rcv_name, timeout, notify)
66 mach_msg_timeout_t timeout;
85 timeout, notify);
94 timeout, notify);
101 timeout, notify);
/external/autotest/client/virt/
H A Drss_client.py83 def __init__(self, address, port, log_func=None, timeout=20):
91 @param timeout: Time duration to wait for connection to succeed
95 self._socket.settimeout(timeout)
102 if self._receive_msg(timeout) != RSS_MAGIC:
125 def _send(self, str, timeout=60):
127 if timeout <= 0:
128 raise socket.timeout
129 self._socket.settimeout(timeout)
131 except socket.timeout:
138 def _receive(self, size, timeout
[all...]
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/
H A Dp2p_find.py3 # Will list all devices found/lost within a time frame (timeout)
17 print " %s -i <interface_name> [-t <timeout>] \ " \
22 print " -t = timeout = 0s (infinite)"
43 global timeout
53 def __init__(self,interface_name,wpas_dbus_interface,timeout):
55 self.timeout = int(timeout)
111 {'Timeout':int(self.timeout)})
117 # Required for timeout implementation
125 timeout variable
[all...]
H A Dp2p_listen.py17 print " %s -i <interface_name> [-t <timeout>] \ " \
22 print " -t = timeout = 0s (infinite)"
41 global timeout
50 def __init__(self,interface_name,wpas_dbus_interface,timeout):
52 self.timeout = int(timeout)
104 self.p2p_interface.Listen(int(self.timeout))
107 # Required for timeout implementation
115 timeout = 0 variable
141 timeout
[all...]
/external/dbus/bus/
H A Dexpirelist.c29 #include <dbus/dbus-timeout.h>
34 DBusTimeout *timeout; member in struct:BusExpireList
60 list->timeout = _dbus_timeout_new (100, /* irrelevant */
63 if (list->timeout == NULL)
66 _dbus_timeout_set_enabled (list->timeout, FALSE);
68 if (!_dbus_loop_add_timeout (list->loop, list->timeout))
74 if (list->timeout)
75 _dbus_timeout_unref (list->timeout);
87 _dbus_loop_remove_timeout (list->loop, list->timeout);
89 _dbus_timeout_unref (list->timeout);
95 bus_expire_timeout_set_interval(DBusTimeout *timeout, int next_interval) argument
[all...]
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/
H A DTransport.java49 protected int timeout = ServiceConnection.DEFAULT_TIMEOUT; field in class:Transport
71 public Transport(String url, int timeout) { argument
73 this.timeout = timeout;
76 public Transport(String url, int timeout, int bufferLength) { argument
78 this.timeout = timeout;
95 public Transport(Proxy proxy, String url, int timeout) { argument
98 this.timeout = timeout;
101 Transport(Proxy proxy, String url, int timeout, int bufferLength) argument
[all...]
/external/autotest/client/site_tests/network_3GStressEnable/
H A Dnetwork_3GStressEnable.py28 timeout = shill_proxy.ShillProxy.DEVICE_ENABLE_DISABLE_TIMEOUT
30 self.device.Enable(timeout=timeout)
32 self.device.Disable(timeout=timeout)
/external/autotest/client/tests/kvm/tests/
H A Dnmi_watchdog.py20 timeout=int(params.get("login_timeout", 360))
21 session = vm.wait_for_login(timeout=timeout)
33 session = vm.reboot(session, method='shell', timeout=timeout)
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
H A DHttpsTransportSE.java22 private final int timeout; field in class:HttpsTransportSE
24 public HttpsTransportSE(String host, int port, String file, int timeout) { argument
31 this.timeout = timeout;
41 serviceConnection = new HttpsServiceConnectionSE(host, port, file, timeout);
/external/strace/
H A Dfutex.c53 const long timeout = tcp->u_arg[3]; local
67 print_timespec(tcp, timeout);
71 print_timespec(tcp, timeout);
102 print_timespec(tcp, timeout);
111 tprintf(", %lx, %lx, %x", timeout, uaddr2, val3);
/external/autotest/server/hosts/
H A Dsonic_host.py47 def check_host(host, timeout=10):
52 @param timeout: The timeout for the run command.
60 result = host.run('getprop ro.product.device', timeout=timeout)
110 def get_boot_id(self, timeout=60):
113 @param timeout The number of seconds to wait before timing out, as
120 return self.run(cmd, timeout=timeout).stdout.strip()
131 def ssh_ping(self, timeout
[all...]
/external/okhttp/okio/okio/src/main/java/okio/
H A DOkio.java65 private static Sink sink(final OutputStream out, final Timeout timeout) { argument
67 if (timeout == null) throw new IllegalArgumentException("timeout == null");
73 timeout.throwIfReached();
97 @Override public Timeout timeout() {
98 return timeout;
114 AsyncTimeout timeout = timeout(socket);
115 Sink sink = sink(socket.getOutputStream(), timeout);
116 return timeout
124 source(final InputStream in, final Timeout timeout) argument
209 private static AsyncTimeout timeout(final Socket socket) { method in class:Okio
[all...]
/external/autotest/client/virt/tests/
H A Dclock_getres.py25 timeout = int(params.get("login_timeout", 360))
26 session = vm.wait_for_login(timeout=timeout)
H A Dnic_promisc.py22 timeout = int(params.get("login_timeout", 360))
23 session_serial = vm.wait_for_serial_login(timeout=timeout)
H A Dshutdown.py21 timeout = int(params.get("login_timeout", 360))
22 session = vm.wait_for_login(timeout=timeout)

Completed in 706 milliseconds

1234567891011>>