Home
last modified time | relevance | path

Searched refs:kwargs (Results 1 – 25 of 465) sorted by relevance

12345678910>>...19

/external/v8/tools/release/
Dgit_recipes.py82 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/
Drdb_requests.py42 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 …]
Drdb_testing_utils.py46 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/
Dcomponentinfo.py26 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/
Dskip.py56 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/
Dast.py34 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/
Ddatabase_settings_helper.py42 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/
Dutils.py38 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 …]
Dstate_machine_factory.py73 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/
Ddev_server.py269 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/
Dcommand_executer.py183 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/
Dvisitor.py34 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/
Ddecorators.py38 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 …]
Dapp_ui.py112 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/
Ddecorators.py38 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 …]
Dapp_ui.py112 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/
Dapi.py15 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/
Dapi.py35 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/
Dmock.py300 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/
Dmock.py300 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/
Dcommand.py13 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/
Dclient.py161 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/
Dtrace_event.py80 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/
Dparallelizer.py97 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/
Dparallelizer.py97 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)

12345678910>>...19