Home
last modified time | relevance | path

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

12345678910>>...24

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/
D__init__.py114 def connect_sqs(aws_access_key_id=None, aws_secret_access_key=None, **kwargs): argument
126 return SQSConnection(aws_access_key_id, aws_secret_access_key, **kwargs)
129 def connect_s3(aws_access_key_id=None, aws_secret_access_key=None, **kwargs): argument
141 return S3Connection(aws_access_key_id, aws_secret_access_key, **kwargs)
144 def connect_gs(gs_access_key_id=None, gs_secret_access_key=None, **kwargs): argument
156 return GSConnection(gs_access_key_id, gs_secret_access_key, **kwargs)
159 def connect_ec2(aws_access_key_id=None, aws_secret_access_key=None, **kwargs): argument
171 return EC2Connection(aws_access_key_id, aws_secret_access_key, **kwargs)
174 def connect_elb(aws_access_key_id=None, aws_secret_access_key=None, **kwargs): argument
186 return ELBConnection(aws_access_key_id, aws_secret_access_key, **kwargs)
[all …]
/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/chromium-trace/catapult/third_party/pipeline/pipeline/
Dcommon.py49 def run(self, **kwargs): argument
50 return dict(**kwargs)
216 def run(self, *args, **kwargs): argument
217 separator = kwargs.get('separator', '')
301 def log(cls, *args, **kwargs): argument
302 return Log(*args, **kwargs)
305 def debug(cls, *args, **kwargs): argument
306 return Log(logging.DEBUG, *args, **kwargs)
309 def info(cls, *args, **kwargs): argument
310 return Log(logging.INFO, *args, **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 …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/swf/
Dlayer2.py28 def __init__(self, **kwargs): argument
34 for kwarg in kwargs:
35 setattr(self, kwarg, kwargs[kwarg])
70 def activities(self, status='REGISTERED', **kwargs): argument
72 act_types = self._swf.list_activity_types(self.name, status, **kwargs)
88 def workflows(self, status='REGISTERED', **kwargs): argument
90 wf_types = self._swf.list_workflow_types(self.name, status, **kwargs)
106 def executions(self, closed=False, **kwargs): argument
115 **kwargs)
117 if 'oldest_date' not in kwargs:
[all …]
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
Djson.py33 def encode(value, *args, **kwargs): argument
48 kwargs.setdefault('separators', (',', ':'))
55 return json.dumps(value, *args, **kwargs).replace("</", "<\\/")
58 def decode(value, *args, **kwargs): argument
76 return json.loads(value, *args, **kwargs)
79 def b64encode(value, *args, **kwargs): argument
84 return base64.b64encode(encode(value, *args, **kwargs))
87 def b64decode(value, *args, **kwargs): argument
92 return decode(base64.b64decode(value), *args, **kwargs)
95 def quote(value, *args, **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/chromium-trace/catapult/third_party/WebOb/webob/
Ddec.py86 args=(), kwargs=None, middleware_wraps=None): argument
92 if kwargs is None:
93 kwargs = {}
94 self.kwargs = kwargs
130 resp = self.call_func(req, *args, **self.kwargs)
192 def call_func(self, req, *args, **kwargs): argument
195 return self.func(req, *args, **kwargs)
201 kwargs = {}
203 kwargs['func'] = func
205 kwargs['RequestClass'] = self.RequestClass
[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/chromium-trace/catapult/third_party/Paste/paste/
Dhttpheaders.py280 def compose(self, **kwargs): argument
292 def parse(self, *args, **kwargs): argument
303 def apply(self, collection, **kwargs): argument
313 self.update(collection, **kwargs)
375 def values(self, *args, **kwargs): argument
403 return self.compose(**kwargs)
422 def __call__(self, *args, **kwargs): argument
433 values = self.values(*args, **kwargs)
456 def update(self, collection, *args, **kwargs): argument
467 value = self.__call__(*args, **kwargs)
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/dynamodb2/
Dresults.py83 def to_call(self, the_callable, *args, **kwargs): argument
109 self._limit = kwargs.pop('limit', None)
116 self.call_kwargs = kwargs
128 kwargs = self.call_kwargs.copy()
131 kwargs[self.first_key] = self._last_key_seen
140 kwargs['limit'] = self._max_page_size
144 kwargs['limit'] = self._limit
146 results = self.the_callable(*args, **kwargs)
168 def __init__(self, *args, **kwargs): argument
169 self._keys_left = kwargs.pop('keys', [])
[all …]
Dtable.py221 kwargs = {}
240 kwargs[kwarg_map[index_attr]] = raw_indexes
247 **kwargs
291 kwargs = {
301 kwargs['includes'] = field['Projection']['NonKeyAttributes']
310 kwargs['parts'] = self._introspect_schema(field['KeySchema'], None)
311 indexes.append(index_klass(name, **kwargs))
654 def get_item(self, consistent=False, attributes=None, **kwargs): argument
700 raw_key = self._encode_keys(kwargs)
708 raise exceptions.ItemNotFound("Item %s couldn't be found." % kwargs)
[all …]
Dfields.py205 def __init__(self, *args, **kwargs): argument
206 self.includes_fields = kwargs.pop('includes', [])
207 super(IncludeIndex, self).__init__(*args, **kwargs)
227 def __init__(self, *args, **kwargs): argument
228 throughput = kwargs.pop('throughput', None)
233 super(GlobalBaseIndexField, self).__init__(*args, **kwargs)
325 def __init__(self, *args, **kwargs): argument
326 throughput = kwargs.pop('throughput', None)
327 IncludeIndex.__init__(self, *args, **kwargs)
329 kwargs['throughput'] = throughput
[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 …]
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/_setup/py3/
Ddist.py32 def run_setup(*args, **kwargs): argument
34 if 'setup' in kwargs:
35 script = kwargs.get('setup') or 'setup.py'
36 del kwargs['setup']
39 if 'fakeroot' in kwargs:
40 fakeroot = kwargs['fakeroot']
41 del kwargs['fakeroot']
44 if kwargs:
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/_setup/py2/
Ddist.py32 def run_setup(*args, **kwargs): argument
34 if 'setup' in kwargs:
35 script = kwargs.get('setup') or 'setup.py'
36 del kwargs['setup']
39 if 'fakeroot' in kwargs:
40 fakeroot = kwargs['fakeroot']
41 del kwargs['fakeroot']
44 if kwargs:
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/_setup/py2/
Ddist.py32 def run_setup(*args, **kwargs): argument
34 if 'setup' in kwargs:
35 script = kwargs.get('setup') or 'setup.py'
36 del kwargs['setup']
39 if 'fakeroot' in kwargs:
40 fakeroot = kwargs['fakeroot']
41 del kwargs['fakeroot']
44 if kwargs:
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/_setup/py3/
Ddist.py32 def run_setup(*args, **kwargs): argument
34 if 'setup' in kwargs:
35 script = kwargs.get('setup') or 'setup.py'
36 del kwargs['setup']
39 if 'fakeroot' in kwargs:
40 fakeroot = kwargs['fakeroot']
41 del kwargs['fakeroot']
44 if kwargs:
/external/opencv3/3rdparty/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/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/_setup/py2/term/
D_term.py86 def write(fmt, **kwargs): argument
89 parm.update(kwargs)
94 def green(bmt, **kwargs): argument
96 announce("%%(GREEN)s%s%%(NORMAL)s" % bmt, **kwargs)
99 def red(bmt, **kwargs): argument
101 announce("%%(BOLD)s%%(RED)s%s%%(NORMAL)s" % bmt, **kwargs)
104 def yellow(fmt, **kwargs): argument
106 announce("%%(BOLD)s%%(YELLOW)s%s%%(NORMAL)s" % fmt, **kwargs)
109 def announce(fmt, **kwargs): argument
111 write(fmt, **kwargs)
/external/chromium-trace/catapult/third_party/webapp2/
Dwebapp2.py138 def __init__(self, environ, *args, **kwargs): argument
144 if kwargs.get('charset') is None and not hasattr(webob, '__version__'):
153 kwargs['charset'] = charset
155 super(Request, self).__init__(environ, *args, **kwargs)
263 headers=None, **kwargs): # pragma: no cover argument
268 headers=headers, **kwargs)
270 if not kwargs:
273 data = kwargs.pop('POST', None)
289 if kwargs:
290 obj = cls(base.environ, **kwargs)
[all …]
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/_setup/py3/term/
D_term.py87 def write(fmt, **kwargs): argument
90 parm.update(kwargs)
95 def green(bmt, **kwargs): argument
97 announce("%%(GREEN)s%s%%(NORMAL)s" % bmt, **kwargs)
100 def red(bmt, **kwargs): argument
102 announce("%%(BOLD)s%%(RED)s%s%%(NORMAL)s" % bmt, **kwargs)
105 def yellow(fmt, **kwargs): argument
107 announce("%%(BOLD)s%%(YELLOW)s%s%%(NORMAL)s" % fmt, **kwargs)
110 def announce(fmt, **kwargs): argument
112 write(fmt, **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 …]
/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 …]

12345678910>>...24