/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_kqueue.py | 7 import select namespace 12 if not hasattr(select, "kqueue"): 17 kq = select.kqueue() 26 ev = select.kevent(fd) 27 other = select.kevent(1000) 29 self.assertEqual(ev.filter, select.KQ_FILTER_READ) 30 self.assertEqual(ev.flags, select.KQ_EV_ADD) 43 ev = select.kevent(fd, select.KQ_FILTER_WRITE) 45 self.assertEqual(ev.filter, select.KQ_FILTER_WRITE [all...] |
test_select.py | 3 import select namespace 19 self.assertRaises(TypeError, select.select, 1, 2, 3) 20 self.assertRaises(TypeError, select.select, [self.Nope()], [], []) 21 self.assertRaises(TypeError, select.select, [self.Almost()], [], []) 22 self.assertRaises(TypeError, select.select, [], [], [], "not a number") 26 r, w, x = select.select([], [], [], 1 [all...] |
test_epoll.py | 27 import select namespace 31 if not hasattr(select, "epoll"): 35 select.epoll() 70 ep = select.epoll(16) 80 self.assertRaises(TypeError, select.epoll, 1, 2, 3) 81 self.assertRaises(TypeError, select.epoll, 'foo') 82 self.assertRaises(TypeError, select.epoll, None) 83 self.assertRaises(TypeError, select.epoll, ()) 84 self.assertRaises(TypeError, select.epoll, ['foo']) 85 self.assertRaises(TypeError, select.epoll, {} [all...] |
test_poll.py | 3 import os, select, random, unittest namespace 8 select.poll 10 raise unittest.SkipTest, "select.poll not defined -- skipping test_poll" 26 p = select.poll() 39 p.modify(rd, select.POLLIN) 40 p.register(wr, select.POLLOUT) 50 ready_writers = find_ready_matching(ready, select.POLLOUT) 57 ready_readers = find_ready_matching(ready, select.POLLIN) 78 p = select.poll() 81 self.assertEqual(r[0], (FD, select.POLLNVAL) [all...] |
/external/autotest/client/cros/cellular/ |
prologix_scpi_driver.py | 9 import select namespace 139 ready = select.select([self.socket], [], [],
|
/external/autotest/client/site_tests/platform_CompressedSwap/ |
platform_CompressedSwap.py | 7 import errno, logging, os, select, signal, subprocess, time namespace 39 lowmem_poller = select.poll() 40 lowmem_poller.register(lowmem_fd, select.POLLIN) 44 if flag & select.POLLIN:
|
/external/autotest/frontend/client/src/autotest/common/ui/ |
ExtendedListBox.java | 27 private native void selectAppend(SelectElement select, 29 select.appendChild(option); 37 SelectElement select = getElement().cast(); local 41 selectAppend(select, option);
|
/external/chromium-trace/catapult/third_party/Paste/paste/ |
cgiapp.py | 12 import select namespace 14 select = None variable 99 if select and sys.platform != 'win32': 222 rlist, wlist, xlist = select.select(read_set, write_set, []) 225 # When select has indicated that the file is writable,
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/test/ |
miniserver.py | 3 import select namespace 45 r, w, e = select.select([self.socket], [], [], poll_interval) 71 fd_sets = select.select([self], [], [], timeout) 80 I assume that select.select has returned that the socket is
|
/external/chromium-trace/catapult/third_party/webtest/webtest/ |
http.py | 9 import select namespace 89 except select.error: # pragma: no cover
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
RecordingProxySelector.java | 35 @Override public List<Proxy> select(URI uri) { method in class:RecordingProxySelector
|
/libcore/luni/src/test/java/libcore/xml/ |
JaxenXPathTestSuite.java | 109 * <context select="..."> 119 String select = element.getAttribute("select"); local 120 Context context = new Context(inputSource, url, select); 152 final String select = element.getAttribute("select"); local 154 /* Such as <test exception="true" select="..." count="0"/> */ 156 return new XPathTest(context, select) { 159 xpath.evaluate(select, contextNode); 167 /* a <test> with a nested <valueOf>, both of which have select attributes * [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
pty.py | 9 from select import select namespace 147 rfds, wfds, xfds = select(fds, [], [])
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_epoll.py | 27 import select namespace 31 if not hasattr(select, "epoll"): 35 select.epoll() 70 ep = select.epoll(16) 80 self.assertRaises(TypeError, select.epoll, 1, 2, 3) 81 self.assertRaises(TypeError, select.epoll, 'foo') 82 self.assertRaises(TypeError, select.epoll, None) 83 self.assertRaises(TypeError, select.epoll, ()) 84 self.assertRaises(TypeError, select.epoll, ['foo']) 85 self.assertRaises(TypeError, select.epoll, {} [all...] |
test_poll.py | 3 import os, select, random, unittest namespace 8 select.poll 10 raise unittest.SkipTest, "select.poll not defined -- skipping test_poll" 26 p = select.poll() 39 p.modify(rd, select.POLLIN) 40 p.register(wr, select.POLLOUT) 50 ready_writers = find_ready_matching(ready, select.POLLOUT) 57 ready_readers = find_ready_matching(ready, select.POLLIN) 78 p = select.poll() 81 self.assertEqual(r[0], (FD, select.POLLNVAL) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/xml/etree/ |
ElementPath.py | 98 def select(context, result): function in function:prepare_child 103 return select 106 def select(context, result): function in function:prepare_star 110 return select 113 def select(context, result): function in function:prepare_self 116 return select 126 def select(context, result): function in function:prepare_descendant 131 return select 134 def select(context, result): function in function:prepare_parent 144 return select 165 def select(context, result): function in function:prepare_predicate 174 def select(context, result): function in function:prepare_predicate 182 def select(context, result): function in function:prepare_predicate 191 def select(context, result): function in function:prepare_predicate 212 def select(context, result): function in function:prepare_predicate [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
pty.py | 9 from select import select namespace 147 rfds, wfds, xfds = select(fds, [], [])
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_epoll.py | 27 import select namespace 31 if not hasattr(select, "epoll"): 35 select.epoll() 70 ep = select.epoll(16) 80 self.assertRaises(TypeError, select.epoll, 1, 2, 3) 81 self.assertRaises(TypeError, select.epoll, 'foo') 82 self.assertRaises(TypeError, select.epoll, None) 83 self.assertRaises(TypeError, select.epoll, ()) 84 self.assertRaises(TypeError, select.epoll, ['foo']) 85 self.assertRaises(TypeError, select.epoll, {} [all...] |
test_poll.py | 3 import os, select, random, unittest namespace 8 select.poll 10 raise unittest.SkipTest, "select.poll not defined -- skipping test_poll" 26 p = select.poll() 39 p.modify(rd, select.POLLIN) 40 p.register(wr, select.POLLOUT) 50 ready_writers = find_ready_matching(ready, select.POLLOUT) 57 ready_readers = find_ready_matching(ready, select.POLLIN) 78 p = select.poll() 81 self.assertEqual(r[0], (FD, select.POLLNVAL) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/xml/etree/ |
ElementPath.py | 98 def select(context, result): function in function:prepare_child 103 return select 106 def select(context, result): function in function:prepare_star 110 return select 113 def select(context, result): function in function:prepare_self 116 return select 126 def select(context, result): function in function:prepare_descendant 131 return select 134 def select(context, result): function in function:prepare_parent 144 return select 165 def select(context, result): function in function:prepare_predicate 174 def select(context, result): function in function:prepare_predicate 182 def select(context, result): function in function:prepare_predicate 191 def select(context, result): function in function:prepare_predicate 212 def select(context, result): function in function:prepare_predicate [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
pty.py | 9 from select import select namespace 147 rfds, wfds, xfds = select(fds, [], [])
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_epoll.py | 27 import select namespace 31 if not hasattr(select, "epoll"): 35 select.epoll() 70 ep = select.epoll(16) 80 self.assertRaises(TypeError, select.epoll, 1, 2, 3) 81 self.assertRaises(TypeError, select.epoll, 'foo') 82 self.assertRaises(TypeError, select.epoll, None) 83 self.assertRaises(TypeError, select.epoll, ()) 84 self.assertRaises(TypeError, select.epoll, ['foo']) 85 self.assertRaises(TypeError, select.epoll, {} [all...] |
test_poll.py | 3 import os, select, random, unittest namespace 8 select.poll 10 raise unittest.SkipTest, "select.poll not defined -- skipping test_poll" 26 p = select.poll() 39 p.modify(rd, select.POLLIN) 40 p.register(wr, select.POLLOUT) 50 ready_writers = find_ready_matching(ready, select.POLLOUT) 57 ready_readers = find_ready_matching(ready, select.POLLIN) 78 p = select.poll() 81 self.assertEqual(r[0], (FD, select.POLLNVAL) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/etree/ |
ElementPath.py | 98 def select(context, result): function in function:prepare_child 103 return select 106 def select(context, result): function in function:prepare_star 110 return select 113 def select(context, result): function in function:prepare_self 116 return select 126 def select(context, result): function in function:prepare_descendant 131 return select 134 def select(context, result): function in function:prepare_parent 144 return select 165 def select(context, result): function in function:prepare_predicate 174 def select(context, result): function in function:prepare_predicate 182 def select(context, result): function in function:prepare_predicate 191 def select(context, result): function in function:prepare_predicate 212 def select(context, result): function in function:prepare_predicate [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
pty.py | 9 from select import select namespace 147 rfds, wfds, xfds = select(fds, [], [])
|