Home
last modified time | relevance | path

Searched refs:kw (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mws/
Dconnection.py74 def wrapper(self, *args, **kw): argument
76 if key in kw:
78 for i in range(len(kw[key])):
79 kw[newkey + str(i + 1)] = kw[key][i]
80 kw.pop(key)
81 return func(self, *args, **kw)
92 def wrapper(*args, **kw): argument
93 if any([f not in kw for f in (field, 'content_type')]):
97 kw['body'] = kw.pop(field)
98 kw['headers'] = {
[all …]
Dresponse.py34 def __init__(self, _hint=None, **kw): argument
45 for name, value in kw.items():
55 def setup(self, parent, name, *args, **kw): argument
63 def start(self, *args, **kw): argument
66 def end(self, *args, **kw): argument
69 def teardown(self, *args, **kw): argument
74 def start(self, *args, **kw): argument
75 self._value = self._hint(parent=self._parent, **kw)
78 def end(self, *args, **kw): argument
83 def __init__(self, *args, **kw): argument
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/fps/
Dconnection.py44 def wrapper(self, *args, **kw): argument
45 for field in filter(kw.has_key, fields):
46 amount = kw.pop(field)
47 kw[field + '.Value'] = getattr(amount, 'Value', str(amount))
48 kw[field + '.CurrencyCode'] = getattr(amount, 'CurrencyCode',
50 return func(self, *args, **kw)
61 def wrapper(*args, **kw): argument
62 hasgroup = lambda x: len(x) == len(filter(kw.has_key, x))
68 return func(*args, **kw)
78 def wrapper(*args, **kw): argument
[all …]
/external/v8/tools/gyp/test/lib/
DTestGyp.py105 def __init__(self, gyp=None, *args, **kw): argument
123 kw.setdefault('match', TestCommon.match_exact)
127 workdir = os.path.join('out', kw.get('workdir', 'testworkarea'))
132 kw['workdir'] = tempfile.mktemp(prefix='testgyp.', dir=workdir)
134 formats = kw.pop('formats', [])
136 super(TestGypBase, self).__init__(*args, **kw)
160 def built_file_must_exist(self, name, type=None, **kw): argument
164 return self.must_exist(self.built_file_path(name, type, **kw))
166 def built_file_must_not_exist(self, name, type=None, **kw): argument
170 return self.must_not_exist(self.built_file_path(name, type, **kw))
[all …]
DTestCommon.py225 def __init__(self, **kw): argument
230 apply(TestCmd.__init__, [self], kw)
452 **kw): argument
458 options = kw.pop('options', None)
468 kw)
486 def finish(self, popen, stdout = None, stderr = '', status = 0, **kw): argument
504 apply(TestCmd.finish, (self, popen,), kw)
505 match = kw.get('match', self.match)
510 stdout = None, stderr = '', status = 0, **kw): argument
540 kw['arguments'] = arguments
[all …]
/external/chromium-trace/catapult/third_party/WebOb/webob/
Ddec.py108 def __call__(self, req, *args, **kw): argument
112 if args or kw:
119 if len(args) != 1 or kw:
148 return self.func(req, *args, **kw)
150 def get(self, url, **kw): argument
161 kw.setdefault('method', 'GET')
162 req = self.RequestClass.blank(url, **kw)
165 def post(self, url, POST=None, **kw): argument
178 kw.setdefault('method', 'POST')
179 req = self.RequestClass.blank(url, POST=POST, **kw)
[all …]
Dstatic.py25 def __init__(self, filename, **kw): argument
28 kw.setdefault('content_type', content_type)
29 kw.setdefault('content_encoding', content_encoding)
30 kw.setdefault('accept_ranges', 'bytes')
31 self.kw = kw
62 **self.kw
121 **kw): argument
130 self.fileapp_kw = kw
/external/v8/test/mjsunit/es6/
Dblock-let-semantics.js91 for (var kw of ['let x = 2', 'const x = 2', 'class x { }']) {
93 TestAll(`eval("x"); ${kw};`);
94 TestAll(`eval("x + 1;"); ${kw};`);
95 TestAll(`eval("x = 1;"); ${kw};`);
96 TestAll(`eval("x += 1;"); ${kw};`);
97 TestAll(`eval("++x;"); ${kw};`);
98 TestAll(`eval("x++;"); ${kw};`);
101 TestAll(`function f() { eval("var y = 2;"); x + 1; }; f(); ${kw};`);
102 TestAll(`function f() { eval("var y = 2;"); x = 1; }; f(); ${kw};`);
103 TestAll(`function f() { eval("var y = 2;"); x += 1; }; f(); ${kw};`);
[all …]
Dblock-let-semantics-sloppy.js89 for (var kw of ['let x = 2', 'const x = 2', 'class x { }']) {
91 TestAll(`eval("x"); ${kw};`);
92 TestAll(`eval("x + 1;"); ${kw};`);
93 TestAll(`eval("x = 1;"); ${kw};`);
94 TestAll(`eval("x += 1;"); ${kw};`);
95 TestAll(`eval("++x;"); ${kw};`);
96 TestAll(`eval("x++;"); ${kw};`);
99 TestAll(`function f() { eval("var y = 2;"); x + 1; }; f(); ${kw};`);
100 TestAll(`function f() { eval("var y = 2;"); x = 1; }; f(); ${kw};`);
101 TestAll(`function f() { eval("var y = 2;"); x += 1; }; f(); ${kw};`);
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Ddecorators.py77 get_timeout = lambda *a, **kw: kw['timeout'] argument
78 get_retries = lambda *a, **kw: kw['retries'] argument
94 get_timeout = lambda *a, **kw: kw['timeout'] argument
95 get_retries = lambda *a, **kw: kw['retries'] argument
115 get_timeout = lambda *a, **kw: timeout argument
116 get_retries = lambda *a, **kw: retries argument
138 get_timeout = lambda *a, **kw: kw.get('timeout', default_timeout) argument
139 get_retries = lambda *a, **kw: kw.get('retries', default_retries) argument
/external/chromium-trace/catapult/third_party/Paste/paste/debug/
Dprofile.py87 def capture_output(func, *args, **kw): argument
94 func(*args, **kw)
138 def replacement(*args, **kw): argument
139 return DecoratedProfile(func, **options)(*args, **kw)
151 def __call__(self, *args, **kw): argument
154 return self.profile(self.func, *args, **kw)
158 def profile(self, func, *args, **kw): argument
163 self.format_function(func, *args, **kw))
170 result = prof.runcall(func, *args, **kw)
195 % self.format_function(func, *args, **kw))
[all …]
/external/chromium-trace/catapult/third_party/Paste/paste/
Durl.py97 def __call__(self, *args, **kw): argument
99 res = res._add_vars(kw)
108 def attr(self, **kw): argument
109 for key in kw.keys():
111 kw[key[:-1]] = kw[key]
112 del kw[key]
114 new_attrs.update(kw)
119 def param(self, **kw): argument
121 new_params.update(kw)
142 def var(self, **kw): argument
[all …]
Derrordocument.py214 def make_errordocument(app, global_conf, **kw): argument
227 for status, redir_loc in kw.items():
249 def custom_forward(app, mapper, global_conf=None, **kw): argument
259 return _StatusBasedRedirect(app, mapper, global_conf, **kw)
265 def __init__(self, app, mapper, global_conf=None, **kw): argument
277 self.kw = kw
316 self.kw
/external/autotest/client/common_lib/test_utils/
Dfunctools_24.py38 def composecall(*args, **kw): argument
39 res = g(*args, **kw)
54 def fastcutcall(*args, **kw): argument
56 rkw.update(kw)
/external/chromium-trace/catapult/third_party/Paste/tests/test_exceptions/
Dtest_formatter.py8 def __init__(self, **kw): argument
9 for name, value in kw.items():
43 def hide(t, inner, *args, **kw): argument
45 return inner(*args, **kw)
47 def pass_through(info, inner, *args, **kw): argument
53 return inner(*args, **kw)
/external/chromium-trace/catapult/third_party/Paste/paste/util/
Dclassinstance.py26 def __call__(self, *args, **kw): argument
27 assert 'self' not in kw and 'cls' not in kw, (
30 return self.func(*((self.obj, self.type) + args), **kw)
Dtemplate.py103 def substitute(self, *args, **kw): argument
105 if kw:
111 kw = args[0]
114 ns.update(kw)
263 def sub(content, **kw): argument
264 name = kw.get('__name')
266 return tmpl.substitute(kw)
274 def __init__(self, **kw): argument
275 for name, value in kw.items():
340 def attr(**kw): argument
[all …]
Dthreadedprint.py150 def install(**kw): argument
154 _printcatcher = sys.stdout = PrintCatcher(**kw)
166 def not_installed_error(*args, **kw): argument
232 def install_stdin(**kw): argument
236 _stdincatcher = sys.stdin = StdinCatcher(**kw)
247 def not_installed_error_stdin(*args, **kw): argument
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/vendored/
Dsix.py534 def iterkeys(d, **kw): argument
535 return iter(d.keys(**kw))
537 def itervalues(d, **kw): argument
538 return iter(d.values(**kw))
540 def iteritems(d, **kw): argument
541 return iter(d.items(**kw))
543 def iterlists(d, **kw): argument
544 return iter(d.lists(**kw))
546 def iterkeys(d, **kw): argument
547 return iter(d.iterkeys(**kw))
[all …]
/external/autotest/contrib/
Dcoverage.py938 def use_cache(*args, **kw): argument
939 return the_coverage.use_cache(*args, **kw)
941 def start(*args, **kw): argument
942 return the_coverage.start(*args, **kw)
944 def stop(*args, **kw): argument
945 return the_coverage.stop(*args, **kw)
947 def erase(*args, **kw): argument
948 return the_coverage.erase(*args, **kw)
950 def begin_recursive(*args, **kw): argument
951 return the_coverage.begin_recursive(*args, **kw)
[all …]
/external/icu/icu4c/source/data/lang/
Dkw.txt6 // * Source File: <path>/common/main/kw.xml
9 kw{
11 kw{"kernewek"}
/external/chromium-trace/catapult/third_party/webtest/webtest/
Dresponse.py84 def _follow(self, **kw): argument
90 return self.test_app.get(abslocation, **kw)
92 def follow(self, **kw): argument
102 return self._follow(**kw)
104 def maybe_follow(self, **kw): argument
114 response = response._follow(**kw)
335 def mustcontain(self, *strings, **kw): argument
348 if 'no' in kw:
349 no = kw['no']
350 del kw['no']
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/six/
Dsix.py551 def iterkeys(d, **kw): argument
552 return iter(d.keys(**kw))
554 def itervalues(d, **kw): argument
555 return iter(d.values(**kw))
557 def iteritems(d, **kw): argument
558 return iter(d.items(**kw))
560 def iterlists(d, **kw): argument
561 return iter(d.lists(**kw))
569 def iterkeys(d, **kw): argument
570 return iter(d.iterkeys(**kw))
[all …]
/external/chromium-trace/catapult/third_party/six/
Dsix.py574 def iterkeys(d, **kw): argument
575 return iter(d.keys(**kw))
577 def itervalues(d, **kw): argument
578 return iter(d.values(**kw))
580 def iteritems(d, **kw): argument
581 return iter(d.items(**kw))
583 def iterlists(d, **kw): argument
584 return iter(d.lists(**kw))
592 def iterkeys(d, **kw): argument
593 return d.iterkeys(**kw)
[all …]
/external/v8/tools/gyp/test/analyzer/
Dgyptest-analyzer.py50 def run_analyzer(*args, **kw): argument
53 test.run_gyp('test.gyp', *args, **kw)
56 def run_analyzer2(*args, **kw): argument
59 test.run_gyp('test2.gyp', *args, **kw)
62 def run_analyzer3(*args, **kw): argument
65 test.run_gyp('test3.gyp', *args, **kw)
68 def run_analyzer4(*args, **kw): argument
71 test.run_gyp('test4.gyp', *args, **kw)

12345678910>>...12