/external/chromium_org/testing/gtest/test/ |
gtest_break_on_failure_unittest.py | 77 given value is None. 80 if value is not None: 111 variable; None if the variable should be unset. 113 None if the flag should not be present. 120 if env_var_value is None: 125 if flag_value is None: 143 SetEnvVar(BREAK_ON_FAILURE_ENV_VAR, None) 153 self.RunAndVerify(env_var_value=None, 154 flag_value=None, 161 flag_value=None, [all...] |
/external/gtest/test/ |
gtest_break_on_failure_unittest.py | 77 given value is None. 80 if value is not None: 111 variable; None if the variable should be unset. 113 None if the flag should not be present. 120 if env_var_value is None: 125 if flag_value is None: 143 SetEnvVar(BREAK_ON_FAILURE_ENV_VAR, None) 153 self.RunAndVerify(env_var_value=None, 154 flag_value=None, 161 flag_value=None, [all...] |
/external/protobuf/gtest/test/ |
gtest_break_on_failure_unittest.py | 74 given value is None. 77 if value is not None: 108 variable; None if the variable should be unset. 110 None if the flag should not be present. 117 if env_var_value is None: 122 if flag_value is None: 140 SetEnvVar(BREAK_ON_FAILURE_ENV_VAR, None) 150 self.RunAndVerify(env_var_value=None, 151 flag_value=None, 158 flag_value=None, [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
gtest_break_on_failure_unittest.py | 77 given value is None. 80 if value is not None: 111 variable; None if the variable should be unset. 113 None if the flag should not be present. 120 if env_var_value is None: 125 if flag_value is None: 143 SetEnvVar(BREAK_ON_FAILURE_ENV_VAR, None) 153 self.RunAndVerify(env_var_value=None, 154 flag_value=None, 161 flag_value=None, [all...] |
/external/chromium_org/third_party/libxml/src/ |
check-xml-test-suite.py | 38 libxml2.registerErrorHandler(errorHandler, None) 49 #libxml2.registerWarningHandler(warningHandler, None) 56 if ctxt == None: 57 return None 63 doc = None 66 return None 82 if ctxt == None: 89 doc = None 90 if doc != None: 107 if ctxt == None [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_slice.py | 36 __hash__ = None # Silence Py3k warning 55 self.assertEqual(s.start, None) 57 self.assertEqual(s.step, None) 62 self.assertEqual(s.step, None) 77 self.assertEqual(slice(None ).indices(10), (0, 10, 1)) 78 self.assertEqual(slice(None, None, 2).indices(10), (0, 10, 2)) 79 self.assertEqual(slice(1, None, 2).indices(10), (1, 10, 2)) 80 self.assertEqual(slice(None, None, -1).indices(10), (9, -1, -1) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_slice.py | 36 __hash__ = None # Silence Py3k warning 55 self.assertEqual(s.start, None) 57 self.assertEqual(s.step, None) 62 self.assertEqual(s.step, None) 77 self.assertEqual(slice(None ).indices(10), (0, 10, 1)) 78 self.assertEqual(slice(None, None, 2).indices(10), (0, 10, 2)) 79 self.assertEqual(slice(1, None, 2).indices(10), (1, 10, 2)) 80 self.assertEqual(slice(None, None, -1).indices(10), (9, -1, -1) [all...] |
/external/chromium_org/third_party/tlslite/tlslite/integration/ |
AsyncStateMachine.py | 28 self.handshaker = None 29 self.closer = None 30 self.reader = None 31 self.writer = None 36 #operation wants to write. If None, there is no active 38 self.result = None 53 if self.result == None: 69 not active, this returns None. 71 @rtype: bool or None 74 if self.result != None [all...] |
/external/chromium_org/third_party/bintrees/bintrees/ |
rbtree.py | 4 # Purpose: red-black tree module (Julienne Walker's none recursive algorithm) 46 def __init__(self, key=None, value=None): 50 self.left = None 51 self.right = None 54 self.left = None 55 self.right = None 56 self.key = None 57 self.value = None 72 if (node is not None) and node.red [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/timeline/ |
slice_unittest.py | 14 top = Slice(None, 'cat', 'top', 0, duration=10, thread_timestamp=0, 16 a = Slice(None, 'cat', 'a', 1, duration=2, thread_timestamp=0.5, 18 x = Slice(None, 'cat', 'x', 1.5, duration=0.25, thread_timestamp=0.75, 20 b = Slice(None, 'cat', 'b', 5, duration=2, thread_timestamp=None, 21 thread_duration=None) 34 self.assertEquals(top.self_thread_time, None) # b has no thread time
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/ |
__init__.py | 105 return lambda ref: self._cursor_refs.pop(key, None) 212 self.dbc = None 213 self.saved_dbc_key = None 225 if self.dbc is None: 227 if self.saved_dbc_key is not None: 229 self.saved_dbc_key = None 238 self.dbc = None 248 if c is not None: 252 if self.db is None: 256 return self.db is not None [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/ |
__init__.py | 105 return lambda ref: self._cursor_refs.pop(key, None) 212 self.dbc = None 213 self.saved_dbc_key = None 225 if self.dbc is None: 227 if self.saved_dbc_key is not None: 229 self.saved_dbc_key = None 238 self.dbc = None 248 if c is not None: 252 if self.db is None: 256 return self.db is not None [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
appengine_url_fetcher.py | 25 if username is not None and password is not None: 35 def __init__(self, base_path=None): 36 assert base_path is None or not base_path.endswith('/') 39 def Fetch(self, url, username=None, password=None): 45 def FetchAsync(self, url, username=None, password=None): 55 if self._base_path is not None:
|
reference_resolver.py | 19 rest = None 26 if rest is not None: 28 if ret is not None: 32 return None 74 self._api_data_source_factory.Create(None), 97 if node_info is None: 106 if node_info is not None: 110 if node_info is None: 115 if namespace is not None and text.startswith('%s.' % namespace): 133 return None [all...] |
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
hmac.py | 16 digest_size = None 24 def __init__(self, key, msg = None, digestmod = None): 31 if digestmod is None: 35 if key == None: #TREVNEW - for faster copying 53 if msg is not None: 69 other = HMAC(None) #TREVNEW - for faster copying 93 def new(key, msg = None, digestmod = None):
|
/external/chromium_org/build/android/ |
enable_asserts.py | 17 action='store_true', default=None, 20 action='store_false', default=None, 25 if options.set_asserts != None:
|
/external/chromium_org/chrome/test/pyautolib/ |
prefs_info.py | 61 def Prefs(self, path=None): 64 The preference dictionary (when using path=None) looks like: 91 None, if prefernece for path not found (if path is given). 98 if all is None: return None
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/ |
main.py | 11 installHandler = None 73 failfast = catchbreak = buffer = progName = None 75 def __init__(self, module='__main__', defaultTest=None, 76 argv=None, testRunner=None, 78 verbosity=1, failfast=None, catchbreak=None, buffer=None): 85 if argv is None: 100 def usageExit(self, msg=None) [all...] |
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
loop_unittest.py | 25 action.WillRunAction(None, self._tab) 26 action.RunAction(None, self._tab, None) 35 action.WillRunAction(None, self._tab) 39 action.RunAction(None, self._tab, None) 50 action.WillRunAction(None, self._tab) 52 self.assertRaises(util.TimeoutException, action.RunAction, None, self._tab, 53 None) 59 action.WillRunAction(None, self._tab [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/ |
__init__.py | 88 if aliased_encoding is not None: 106 mod = None 112 mod = None 114 if mod is None: 116 _cache[encoding] = None 117 return None 128 (entry[2] is not None and not hasattr(entry[2], '__call__')) or \ 129 (entry[3] is not None and not hasattr(entry[3], '__call__')) or \ 130 (len(entry) > 4 and entry[4] is not None and not hasattr(entry[4], '__call__')) or \ 131 (len(entry) > 5 and entry[5] is not None and not hasattr(entry[5], '__call__')) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/ |
__init__.py | 88 if aliased_encoding is not None: 106 mod = None 112 mod = None 114 if mod is None: 116 _cache[encoding] = None 117 return None 128 (entry[2] is not None and not hasattr(entry[2], '__call__')) or \ 129 (entry[3] is not None and not hasattr(entry[3], '__call__')) or \ 130 (len(entry) > 4 and entry[4] is not None and not hasattr(entry[4], '__call__')) or \ 131 (len(entry) > 5 and entry[5] is not None and not hasattr(entry[5], '__call__')) [all...] |
/external/chromium_org/tools/telemetry/third_party/davclient/ |
davclient.py | 52 # If it's none of previous types then raise 67 def _request(self, method, path='', body=None, headers=None): 69 self.response = None 71 if headers is None: 112 def get(self, path, headers=None): 117 def head(self, path, headers=None): 121 def put(self, path, body=None, f=None, headers=None) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
ccompiler.py | 45 compiler_type = None 71 src_extensions = None # list of strings 72 obj_extension = None # string 73 static_lib_extension = None 74 shared_lib_extension = None # string 75 static_lib_format = None # format string 76 shared_lib_format = None # prob. same as static_lib_format 77 exe_extension = None # string 100 self.output_dir = None 104 # either a string or None (no explicit value). A macr [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
ccompiler.py | 45 compiler_type = None 71 src_extensions = None # list of strings 72 obj_extension = None # string 73 static_lib_extension = None 74 shared_lib_extension = None # string 75 static_lib_format = None # format string 76 shared_lib_format = None # prob. same as static_lib_format 77 exe_extension = None # string 100 self.output_dir = None 104 # either a string or None (no explicit value). A macr [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/ |
close_wsh.py | 43 if line is None: 46 if code is None or reason is None: 64 code = None
|