/external/python/cpython2/Lib/bsddb/ |
D | dbutils.py | 47 def DeadlockWrap(function, *_args, **_kwargs): argument 63 max_retries = _kwargs.get('max_retries', -1) 64 if 'max_retries' in _kwargs: 65 del _kwargs['max_retries'] 68 return function(*_args, **_kwargs)
|
/external/tensorflow/tensorflow/contrib/gan/python/losses/python/ |
D | losses_impl_test.py | 404 loss = self._penalty_fn(**self._kwargs) 415 self._penalty_fn(loss_collection='collection', **self._kwargs) 419 loss = self._penalty_fn(reduction=tf_losses.Reduction.NONE, **self._kwargs) 423 loss = self._penalty_fn(weights=2.3, **self._kwargs) 429 loss = self._penalty_fn(weights=constant_op.constant(2.3), **self._kwargs) 448 self._kwargs = { 472 self._kwargs['generator_inputs'], 473 self._kwargs['discriminator_fn'], 474 self._kwargs['discriminator_scope']) 493 self._kwargs['generator_inputs'], [all …]
|
/external/python/cpython2/Lib/multiprocessing/ |
D | util.py | 186 self._kwargs = kwargs or {} 206 self._callback, self._args, self._kwargs) 207 res = self._callback(*self._args, **self._kwargs) 209 self._kwargs = self._key = None 222 self._kwargs = self._key = None 243 if self._kwargs: 244 x += ', kwargs=' + str(self._kwargs)
|
D | process.py | 105 self._kwargs = dict(kwargs) 114 self._target(*self._args, **self._kwargs) 133 del self._target, self._args, self._kwargs
|
/external/python/cpython3/Lib/multiprocessing/ |
D | util.py | 164 self._kwargs = kwargs or {} 188 self._callback, self._args, self._kwargs) 189 res = self._callback(*self._args, **self._kwargs) 191 self._kwargs = self._key = None 204 self._kwargs = self._key = None 226 if self._kwargs: 227 x += ', kwargs=' + str(self._kwargs)
|
D | process.py | 83 self._kwargs = dict(kwargs) 99 self._target(*self._args, **self._kwargs) 116 del self._target, self._args, self._kwargs
|
/external/python/oauth2client/oauth2client/ |
D | service_account.py | 117 self._kwargs = kwargs 384 payload.update(self._kwargs) 488 **self._kwargs) 507 new_kwargs = dict(self._kwargs) 643 **self._kwargs) 668 payload.update(self._kwargs)
|
D | transport.py | 220 if 'aud' in credentials._kwargs:
|
/external/python/cpython3/Lib/ |
D | operator.py | 314 self._kwargs = kwargs 317 return getattr(obj, self._name)(*self._args, **self._kwargs) 322 args.extend('%s=%r' % (k, v) for k, v in self._kwargs.items()) 328 if not self._kwargs: 332 return partial(self.__class__, self._name, **self._kwargs), self._args
|
D | threading.py | 787 self._kwargs = kwargs 865 self._target(*self._args, **self._kwargs) 869 del self._target, self._args, self._kwargs
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | flag_changer_test.py | 27 def RemovePath(self, path, **_kwargs): argument 30 def WriteFile(self, path, contents, **_kwargs): argument 33 def ReadFile(self, path, **_kwargs): argument
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | cmd_helper_test.py | 150 def read_side_effect(*_args, **_kwargs): argument 156 def select_side_effect(*_args, **_kwargs): argument 167 def time_side_effect(*_args, **_kwargs): argument 170 def poll_side_effect(*_args, **_kwargs): argument
|
D | reraiser_thread.py | 65 self._kwargs = kwargs 84 self._ret = self._func(*self._args, **self._kwargs)
|
/external/libchrome/third_party/jinja2/ |
D | sandbox.py | 116 self._kwargs = kwargs 128 return self._kwargs[key] 131 return iter(self._kwargs) 134 return len(self._kwargs)
|
/external/python/cpython2/Lib/test/ |
D | _mock_backport.py | 1239 _kwargs = {} 1254 _kwargs['spec'] = spec 1256 _kwargs['spec_set'] = spec_set 1261 _kwargs['name'] = self.attribute 1263 _kwargs.update(kwargs) 1264 new = Klass(**_kwargs) 1276 _kwargs.pop('name') 1278 **_kwargs) 2111 _kwargs = {'spec': spec} 2113 _kwargs = {'spec_set': spec} [all …]
|
/external/python/cpython3/Lib/unittest/ |
D | mock.py | 1293 _kwargs = {} 1308 _kwargs['spec'] = spec 1310 _kwargs['spec_set'] = spec_set 1315 _kwargs['name'] = self.attribute 1317 _kwargs.update(kwargs) 1318 new = Klass(**_kwargs) 1330 _kwargs.pop('name') 1332 **_kwargs) 2175 _kwargs = {'spec': spec} 2177 _kwargs = {'spec_set': spec} [all …]
|
/external/python/mock/mock/ |
D | mock.py | 1394 _kwargs = {} 1409 _kwargs['spec'] = spec 1411 _kwargs['spec_set'] = spec_set 1416 _kwargs['name'] = self.attribute 1418 _kwargs.update(kwargs) 1419 new = Klass(**_kwargs) 1431 _kwargs.pop('name') 1433 **_kwargs) 2291 _kwargs = {'spec': spec} 2293 _kwargs = {'spec_set': spec} [all …]
|
/external/pdfium/third_party/pymock/ |
D | mock.py | 1293 _kwargs = {} 1308 _kwargs['spec'] = spec 1310 _kwargs['spec_set'] = spec_set 1315 _kwargs['name'] = self.attribute 1317 _kwargs.update(kwargs) 1318 new = Klass(**_kwargs) 1330 _kwargs.pop('name') 1332 **_kwargs) 2161 _kwargs = {'spec': spec} 2163 _kwargs = {'spec_set': spec} [all …]
|
/external/python/oauth2client/tests/ |
D | test_service_account.py | 247 self.assertNotIn('sub', creds._kwargs) 249 self.assertEqual(delegated_creds._kwargs['sub'], sub) 251 self.assertNotIn('sub', creds._kwargs) 259 self.assertEqual(creds._kwargs['sub'], sub1) 261 self.assertEqual(delegated_creds._kwargs['sub'], sub2) 263 self.assertEqual(creds._kwargs['sub'], sub1)
|
D | test_jwt.py | 276 self.assertEqual(credentials._kwargs, restored._kwargs)
|
/external/python/oauth2client/oauth2client/contrib/ |
D | appengine.py | 147 self._kwargs = kwargs 192 return AppAssertionCredentials(scopes, **self._kwargs) 598 self._kwargs = kwargs 674 revoke_uri=self._revoke_uri, **self._kwargs)
|
/external/tensorflow/tensorflow/python/training/ |
D | coordinator.py | 453 self._kwargs = kwargs or {} 509 self._target(*self._args, **self._kwargs)
|
/external/toolchain-utils/cros_utils/ |
D | logger.py | 207 def __init__(self, *_args, **_kwargs): argument 268 def LogMsg(self, _file_fd, _term_fd, msg, **_kwargs): argument 277 def LogCmdToFileOnly(self, *_args, **_kwargs): argument
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | shared_prefs_test.py | 37 def write_file(path, contents, **_kwargs): argument 40 def read_file(path, **_kwargs): argument
|
/external/autotest/scheduler/ |
D | drone_utility.py | 61 self._kwargs = kwargs 66 return method(*self._args, **self._kwargs) 72 self._kwargs.iteritems())
|