Searched defs:select (Results 1 - 25 of 265) sorted by relevance

1234567891011

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/Netscape/
H A DPowerPlant.py43 def select(self, _object, _attributes={}, **_arguments): member in class:PowerPlant_Events
44 """select: Sets the present selection
45 Required argument: object to select or container of sub-objects to select
46 Keyword argument data: sub-object(s) to select
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_kqueue.py7 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
[all...]
H A Dtest_select.py3 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
[all...]
H A Dtest_epoll.py27 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
[all...]
H A Dtest_poll.py3 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
[all...]
H A Dtest_file_eintr.py15 import select namespace
121 rlist, _, _ = select.select([self._process.stderr], (), (), 0.05)
H A Dtest_pty.py11 import select namespace
205 self.orig_pty_select = pty.select
213 pty.select = self.orig_pty_select
244 # Expect two select calls, the last one will cause IndexError
245 pty.select = self._mock_select
254 rfds = select.select([read_from_stdout_fd, masters[1]], [], [], 0)[0]
273 # Expect two select calls, the last one will cause IndexError
274 pty.select = self._mock_select
278 # both encountered an EOF before the second select cal
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_kqueue.py7 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
[all...]
H A Dtest_select.py3 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
[all...]
H A Dtest_epoll.py27 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
[all...]
H A Dtest_poll.py3 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
[all...]
H A Dtest_file_eintr.py15 import select namespace
121 rlist, _, _ = select.select([self._process.stderr], (), (), 0.05)
H A Dtest_pty.py11 import select namespace
205 self.orig_pty_select = pty.select
213 pty.select = self.orig_pty_select
244 # Expect two select calls, the last one will cause IndexError
245 pty.select = self._mock_select
254 rfds = select.select([read_from_stdout_fd, masters[1]], [], [], 0)[0]
273 # Expect two select calls, the last one will cause IndexError
274 pty.select = self._mock_select
278 # both encountered an EOF before the second select cal
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A Dpty.py9 from select import select namespace
147 rfds, wfds, xfds = select(fds, [], [])
H A DCGIHTTPServer.py31 import select namespace
239 while select.select([self.rfile], [], [], 0)[0]:
287 while select.select([self.rfile._sock], [], [], 0)[0]:
H A DSocketServer.py97 explicit table of partially finished requests and to use select() to
107 - Standard framework for select-based multiplexing
133 import select namespace
156 except (OSError, select.error) as e:
170 - fileno() -> int # for select()
235 r, w, e = _eintr_retry(select.select, [self], [], [],
257 # select, get_request(), verify_request() and process_request()
276 fd_sets = _eintr_retry(select.select, [sel
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/etree/
H A DElementPath.py98 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/
H A Dpty.py9 from select import select namespace
147 rfds, wfds, xfds = select(fds, [], [])
H A DCGIHTTPServer.py31 import select namespace
239 while select.select([self.rfile], [], [], 0)[0]:
287 while select.select([self.rfile._sock], [], [], 0)[0]:
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/etree/
H A DElementPath.py98 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/idlelib/
H A DScrolledList.py51 self.select(index)
57 self.select(index)
69 self.select(index)
86 self.select(index)
99 self.select(index)
103 def select(self, index): member in class:ScrolledList
127 def on_select(self, index): print "select", self.get(index)
H A DTreeWidget.py89 def select(self, event=None): member in class:TreeNode
226 self.canvas.tag_bind(id, "<1>", self.select)
236 self.canvas.tag_bind(id, "<1>", self.select)
267 self.select(event)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
H A DScrolledList.py51 self.select(index)
57 self.select(index)
69 self.select(index)
86 self.select(index)
99 self.select(index)
103 def select(self, index): member in class:ScrolledList
127 def on_select(self, index): print "select", self.get(index)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/Finder/
H A DStandard_Suite.py299 def select(self, _object, _attributes={}, **_arguments): member in class:Standard_Suite_Events
300 """select: Select the specified object(s)
301 Required argument: the object to select
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/CodeWarrior/
H A DStandard_Suite.py129 def select(self, _object=None, _attributes={}, **_arguments): member in class:Standard_Suite_Events
130 """select: select the specified object
131 Required argument: the object to select

Completed in 795 milliseconds

1234567891011