/external/v8/tools/release/ |
D | git_recipes.py | 82 def new_f(*args, **kwargs): argument 83 result = f(*args, **kwargs) 101 def GitIsWorkdirClean(self, **kwargs): argument 102 return self.Git("status -s -uno", **kwargs).strip() == "" 105 def GitBranch(self, **kwargs): argument 106 return self.Git("branch", **kwargs) 108 def GitCreateBranch(self, name, remote="", **kwargs): argument 111 self.Git(MakeArgs(["new-branch", name] + remote_args), **kwargs) 113 def GitDeleteBranch(self, name, **kwargs): argument 115 self.Git(MakeArgs(["branch -D", name]), **kwargs) [all …]
|
/external/autotest/scheduler/ |
D | rdb_requests.py | 42 def add_request(self, **kwargs): argument 44 self.request_queue.append(self.request(**kwargs).get_request()) 116 def __init__(self, **kwargs): argument 117 for key,value in kwargs.iteritems(): 125 self._request = self.template(**kwargs) 128 (self.__class__, self.template._fields, kwargs.keys())) 171 def __init__(self, **kwargs): argument 173 kwargs['payload'] = HashableDict(kwargs['payload']) 176 (self.__class__, self.template._fields, kwargs.keys())) 177 super(UpdateHostRequest, self).__init__(**kwargs) [all …]
|
D | rdb_testing_utils.py | 46 def __init__(self, hostname, host_id, **kwargs): argument 47 kwargs.update({'hostname': hostname, 'id': host_id}) 48 kwargs = rdb_models.AbstractHostModel.provide_default_values( 49 kwargs) 50 super(FakeHost, self).__init__(**kwargs) 74 def get_labels(cls, **kwargs): argument 76 return models.Label.objects.filter(**kwargs) 80 def get_acls(cls, **kwargs): argument 82 return models.AclGroup.objects.filter(**kwargs) 86 def get_host(cls, **kwargs): argument [all …]
|
/external/llvm/utils/llvm-build/llvmbuild/ |
D | componentinfo.py | 26 kwargs = {} 27 kwargs['name'] = items.get_string('name') 28 kwargs['parent'] = items.get_optional_string('parent') 30 kwargs['dependencies'] = items.get_list('dependencies') 31 return kwargs 99 kwargs = ComponentInfo.parse_items(items, has_dependencies = False) 100 return GroupComponentInfo(subpath, **kwargs) 117 kwargs = ComponentInfo.parse_items(items) 118 kwargs['library_name'] = items.get_optional_string('library_name') 119 kwargs['required_libraries'] = items.get_list('required_libraries') [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/value/ |
D | skip.py | 56 kwargs = value_module.Value.GetConstructorKwArgs(value_dict, page_dict) 57 del kwargs['name'] 58 del kwargs['units'] 59 if 'important' in kwargs: 60 del kwargs['important'] 61 kwargs['reason'] = value_dict['reason'] 62 if 'tir_label' in kwargs: 63 del kwargs['tir_label'] 64 if 'grouping_keys' in kwargs: 65 del kwargs['grouping_keys'] [all …]
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/parse/ |
D | ast.py | 34 def __init__(self, item_or_items=None, **kwargs): argument 35 super(NodeListBase, self).__init__(**kwargs) 87 def __init__(self, name, **kwargs): argument 89 NodeBase.__init__(self, **kwargs) 99 def __init__(self, key, value, **kwargs): argument 101 super(Attribute, self).__init__(**kwargs) 120 def __init__(self, name, typename, value, **kwargs): argument 126 super(Const, self).__init__(name, **kwargs) 139 def __init__(self, name, attribute_list, enum_value_list, **kwargs): argument 142 super(Enum, self).__init__(name, **kwargs) [all …]
|
/external/autotest/frontend/ |
D | database_settings_helper.py | 42 def _get_config(config_key, section='AUTOTEST_WEB', **kwargs): argument 54 return config.get_config_value(section, config_key, **kwargs) 58 **kwargs): argument 77 return _get_config('global_db_' + config_key, **kwargs) 83 return _get_config(config_key, default=default, **kwargs) 87 **kwargs): argument 103 return _get_config('readonly_' + config_key, **kwargs) 105 return _get_global_config(config_key, default=default, **kwargs) 109 **kwargs): argument 127 return _get_config(config_key, section='AUTOTEST_SERVER_DB', **kwargs) [all …]
|
/external/autotest/client/cros/cellular/pseudomodem/ |
D | utils.py | 38 def wrapped_func(*args, **kwargs): argument 41 modified_kwargs = kwargs 49 elif return_cb_arg in kwargs: 51 kwargs[return_cb_arg], 64 elif raise_cb_arg in kwargs: 66 kwargs[raise_cb_arg], 117 def wrapped_return_cb(*args, **kwargs): argument 119 logger('AsyncResponse[%s] OK: |%s|' % (fname, str((args, kwargs)))) 120 return_cb(*args, **kwargs) 136 def wrapped_raise_cb(*args, **kwargs): argument [all …]
|
D | state_machine_factory.py | 73 def CreateMachine(self, machine_name, *args, **kwargs): argument 85 machine = cdma_activate_machine.CdmaActivateMachine(*args, **kwargs) 87 machine = connect_machine.ConnectMachine(*args, **kwargs) 89 machine = connect_cdma_machine.ConnectCdmaMachine(*args, **kwargs) 91 machine = disable_machine.DisableMachine(*args, **kwargs) 93 machine = disconnect_machine.DisconnectMachine(*args, **kwargs) 95 machine = enable_machine.EnableMachine(*args, **kwargs) 97 machine = register_machine.RegisterMachine(*args, **kwargs) 99 machine = register_cdma_machine.RegisterCdmaMachine(*args, **kwargs)
|
/external/autotest/client/common_lib/cros/ |
D | dev_server.py | 269 def metrics_wrapper(*args, **kwargs): argument 278 return method(*args, **kwargs) 290 elif 'devserver' in kwargs: 291 dev_server = get_hostname(kwargs['devserver']) 528 def _build_call(host, method, **kwargs): argument 539 argstr = '&'.join(map(lambda x: "%s=%s" % x, kwargs.iteritems())) 544 def build_call(self, method, **kwargs): argument 549 return self._build_call(self._devserver, method, **kwargs) 553 def build_all_calls(cls, method, **kwargs): argument 568 calls.append(cls._build_call(server, method, **kwargs)) [all …]
|
/external/toolchain-utils/cros_utils/ |
D | command_executer.py | 183 def RunCommand(self, *args, **kwargs): argument 191 assert 'return_output' not in kwargs 192 kwargs['return_output'] = False 193 return self.RunCommandGeneric(*args, **kwargs)[0] 195 def RunCommandWExceptionCleanup(self, *args, **kwargs): argument 208 assert 'except_handler' not in kwargs 209 kwargs['except_handler'] = KillProc 210 return self.RunCommandGeneric(*args, **kwargs) 212 def RunCommandWOutput(self, *args, **kwargs): argument 220 assert 'return_output' not in kwargs [all …]
|
/external/libmojo/third_party/jinja2/ |
D | visitor.py | 34 def visit(self, node, *args, **kwargs): argument 38 return f(node, *args, **kwargs) 39 return self.generic_visit(node, *args, **kwargs) 41 def generic_visit(self, node, *args, **kwargs): argument 44 self.visit(node, *args, **kwargs) 58 def generic_visit(self, node, *args, **kwargs): argument 64 value = self.visit(value, *args, **kwargs) 73 new_node = self.visit(old_value, *args, **kwargs) 80 def visit_list(self, node, *args, **kwargs): argument 84 rv = self.visit(node, *args, **kwargs)
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
D | decorators.py | 38 def timeout_retry_wrapper(*args, **kwargs): argument 39 timeout = timeout_func(*args, **kwargs) 40 retries = retries_func(*args, **kwargs) 42 kwargs['timeout'] = timeout 43 kwargs['retries'] = retries 47 return f(*args, **kwargs) 55 ('%s=%s' % (k, str(v)) for k, v in kwargs.iteritems())))) 166 def get_timeout(inst, *_args, **kwargs): argument 170 return kwargs.get('timeout', ret) 172 def get_retries(inst, *_args, **kwargs): argument [all …]
|
D | app_ui.py | 112 def _Find(self, **kwargs): argument 142 matches_criteria = self._NodeMatcher(kwargs) 148 def _NodeMatcher(self, kwargs): argument 150 resource_id = kwargs.get('resource_id') 154 kwargs['resource_id'] = '%s:id/%s' % (self._package, resource_id) 157 for k, v in kwargs.iteritems() 214 def GetUiNode(self, **kwargs): argument 223 return self._GetRootUiNode()._Find(**kwargs) 227 def WaitForUiNode(self, timeout=None, retries=None, **kwargs): argument 241 return self.GetUiNode(**kwargs)
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | decorators.py | 38 def timeout_retry_wrapper(*args, **kwargs): argument 39 timeout = timeout_func(*args, **kwargs) 40 retries = retries_func(*args, **kwargs) 42 kwargs['timeout'] = timeout 43 kwargs['retries'] = retries 47 return f(*args, **kwargs) 55 ('%s=%s' % (k, str(v)) for k, v in kwargs.iteritems())))) 166 def get_timeout(inst, *_args, **kwargs): argument 170 return kwargs.get('timeout', ret) 172 def get_retries(inst, *_args, **kwargs): argument [all …]
|
D | app_ui.py | 112 def _Find(self, **kwargs): argument 142 matches_criteria = self._NodeMatcher(kwargs) 148 def _NodeMatcher(self, kwargs): argument 150 resource_id = kwargs.get('resource_id') 154 kwargs['resource_id'] = '%s:id/%s' % (self._package, resource_id) 157 for k, v in kwargs.iteritems() 214 def GetUiNode(self, **kwargs): argument 223 return self._GetRootUiNode()._Find(**kwargs) 227 def WaitForUiNode(self, timeout=None, retries=None, **kwargs): argument 241 return self.GetUiNode(**kwargs)
|
/external/skia/infra/bots/recipe_modules/builder_name_schema/ |
D | api.py | 15 def __init__(self, *args, **kwargs): argument 16 super(BuilderNameSchemaApi, self).__init__(*args, **kwargs) 32 def MakeBuilderName(self, *args, **kwargs): # pragma: no cover argument 33 return builder_name_schema.MakeBuilderName(*args, **kwargs) 35 def IsTrybot(self, *args, **kwargs): # pragma: no cover argument 36 return builder_name_schema.IsTrybot(*args, **kwargs) 38 def DictForBuilderName(self, *args, **kwargs): argument 39 return builder_name_schema.DictForBuilderName(*args, **kwargs)
|
/external/skia/infra/bots/recipe_modules/run/ |
D | api.py | 35 def __init__(self, *args, **kwargs): argument 37 super(SkiaStepApi, self).__init__(*args, **kwargs) 54 def run_once(self, fn, *args, **kwargs): argument 56 self._already_ran[fn.__name__] = fn(*args, **kwargs) 59 def readfile(self, filename, *args, **kwargs): argument 61 name = kwargs.pop('name') or 'read %s' % self.m.path.basename(filename) 62 return self.m.file.read(name, filename, infra_step=True, *args, **kwargs) 80 fail_build_on_failure=True, **kwargs): argument 86 return steptype(name=name, **kwargs) 125 def with_retry(self, steptype, name, attempts, **kwargs): argument [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/mock/ |
D | mock.py | 300 def assert_called_with(*args, **kwargs): argument 301 return mock.assert_called_with(*args, **kwargs) 302 def assert_called_once_with(*args, **kwargs): argument 303 return mock.assert_called_once_with(*args, **kwargs) 304 def assert_has_calls(*args, **kwargs): argument 305 return mock.assert_has_calls(*args, **kwargs) 306 def assert_any_call(*args, **kwargs): argument 307 return mock.assert_any_call(*args, **kwargs) 460 def __init__(self, *args, **kwargs): argument 480 **kwargs argument [all …]
|
/external/pdfium/third_party/pymock/ |
D | mock.py | 300 def assert_called_with(*args, **kwargs): argument 301 return mock.assert_called_with(*args, **kwargs) 302 def assert_called_once_with(*args, **kwargs): argument 303 return mock.assert_called_once_with(*args, **kwargs) 304 def assert_has_calls(*args, **kwargs): argument 305 return mock.assert_has_calls(*args, **kwargs) 306 def assert_any_call(*args, **kwargs): argument 307 return mock.assert_any_call(*args, **kwargs) 460 def __init__(self, *args, **kwargs): argument 480 **kwargs argument [all …]
|
/external/toolchain-utils/automation/common/ |
D | command.py | 13 def __init__(self, cmd, *args, **kwargs): argument 14 assert all(key in ['path', 'ignore_error'] for key in kwargs) 18 self._path = kwargs.get('path', '') 19 self._ignore_error = bool(kwargs.get('ignore_error', False)) 141 def __init__(self, *commands, **kwargs): argument 142 assert all(key in ['input', 'output'] for key in kwargs) 146 self._input = kwargs.get('input', None) 147 self._output = kwargs.get('output', None) 172 def Copy(*args, **kwargs): argument 173 assert all(key in ['to_dir', 'recursive'] for key in kwargs.keys()) [all …]
|
/external/autotest/client/common_lib/feedback/ |
D | client.py | 161 def prepare(self, **kwargs): argument 168 self._prepare_impl(**kwargs) 172 def _prepare_impl(self, **kwargs): argument 180 def validate(self, **kwargs): argument 191 self._validate_impl(**kwargs) 195 def _validate_impl(self, **kwargs): argument 215 def validate(self, **kwargs): argument 225 super(OutputQuery, self).validate(**kwargs) 241 def validate(self, **kwargs): argument 251 super(InputQuery, self).validate(**kwargs)
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
D | trace_event.py | 80 def trace_begin(name, **kwargs): argument 81 args_to_log = {key: repr(value) for key, value in kwargs.iteritems()} 88 def trace(name, **kwargs): argument 89 return trace_event_impl.trace(name, **kwargs) 131 def trace_begin(name, **kwargs): argument 133 del kwargs # unused. 141 def trace(name, **kwargs): argument 143 del kwargs # unused
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | parallelizer.py | 97 def __call__(self, *args, **kwargs): argument 118 o, args=args, kwargs=kwargs, 154 def pMap(self, f, *args, **kwargs): argument 174 f, args=tuple([o] + list(args)), kwargs=kwargs, 204 def __call__(self, *args, **kwargs): argument 215 r = super(SyncParallelizer, self).__call__(*args, **kwargs) 220 def pMap(self, f, *args, **kwargs): argument 235 r = super(SyncParallelizer, self).pMap(f, *args, **kwargs)
|
/external/libmojo/third_party/catapult/devil/devil/utils/ |
D | parallelizer.py | 97 def __call__(self, *args, **kwargs): argument 118 o, args=args, kwargs=kwargs, 154 def pMap(self, f, *args, **kwargs): argument 174 f, args=tuple([o] + list(args)), kwargs=kwargs, 204 def __call__(self, *args, **kwargs): argument 215 r = super(SyncParallelizer, self).__call__(*args, **kwargs) 220 def pMap(self, f, *args, **kwargs): argument 235 r = super(SyncParallelizer, self).pMap(f, *args, **kwargs)
|