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

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/
signals.py 10 def __init__(self, default_handler):
12 self.original_handler = default_handler
13 if isinstance(default_handler, int):
14 if default_handler == signal.SIG_DFL:
16 default_handler = signal.default_int_handler
17 elif default_handler == signal.SIG_IGN:
20 def default_handler(unused_signum, unused_frame): function in function:_InterruptHandler.__init__
26 self.default_handler = default_handler
33 self.default_handler(signum, frame
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/
signals.py 10 def __init__(self, default_handler):
12 self.original_handler = default_handler
13 if isinstance(default_handler, int):
14 if default_handler == signal.SIG_DFL:
16 default_handler = signal.default_int_handler
17 elif default_handler == signal.SIG_IGN:
20 def default_handler(unused_signum, unused_frame): function in function:_InterruptHandler.__init__
26 self.default_handler = default_handler
33 self.default_handler(signum, frame
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/
signals.py 10 def __init__(self, default_handler):
12 self.default_handler = default_handler
19 self.default_handler(signum, frame)
22 self.default_handler(signum, frame)
38 default_handler = signal.getsignal(signal.SIGINT)
39 _interrupt_handler = _InterruptHandler(default_handler)
57 signal.signal(signal.SIGINT, _interrupt_handler.default_handler)
  /external/lldb/test/unittest2/
signals.py 10 def __init__(self, default_handler):
12 self.default_handler = default_handler
19 self.default_handler(signum, frame)
22 self.default_handler(signum, frame)
38 default_handler = signal.getsignal(signal.SIGINT)
39 _interrupt_handler = _InterruptHandler(default_handler)
57 signal.signal(signal.SIGINT, _interrupt_handler.default_handler)
  /external/lldb/test/unittest2/test/
test_break.py 27 default_handler = signal.getsignal(signal.SIGINT)
29 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
53 default_handler = signal.getsignal(signal.SIGINT)
59 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
186 default_handler = signal.getsignal(signal.SIGINT)
216 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
229 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
233 default_handler = signal.getsignal(signal.SIGINT)
236 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
240 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/
test_break.py 32 default_handler = signal.getsignal(signal.SIGINT)
34 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
58 default_handler = signal.getsignal(signal.SIGINT)
64 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
199 default_handler = signal.getsignal(signal.SIGINT)
229 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
242 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
245 default_handler = signal.getsignal(signal.SIGINT)
248 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
252 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/
test_break.py 32 default_handler = signal.getsignal(signal.SIGINT)
34 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
58 default_handler = signal.getsignal(signal.SIGINT)
64 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
199 default_handler = signal.getsignal(signal.SIGINT)
229 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
242 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
245 default_handler = signal.getsignal(signal.SIGINT)
248 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
252 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/email_this_page/
background.js 14 var default_handler = customMailtoUrl().length == 0;
30 if (!default_handler) {

Completed in 147 milliseconds