/external/python/cpython2/Modules/ |
_functoolsmodule.c | 96 PyObject *kw; member in struct:__anon36633 104 partial_new(PyTypeObject *type, PyObject *args, PyObject *kw) 134 pto->kw = (kw != NULL) ? PyDict_Copy(kw) : PyDict_New(); 135 if (pto->kw == NULL) { 152 Py_XDECREF(pto->kw); 158 partial_call(partialobject *pto, PyObject *args, PyObject *kw) 165 assert (PyDict_Check(pto->kw)); 180 if (PyDict_Size(pto->kw) == 0) 288 PyObject *fn, *fnargs, *kw, *dict; local [all...] |
/external/chromium-trace/catapult/devil/devil/android/ |
decorators.py | 77 get_timeout = lambda *a, **kw: kw['timeout'] 78 get_retries = lambda *a, **kw: kw['retries'] 94 get_timeout = lambda *a, **kw: kw['timeout'] 95 get_retries = lambda *a, **kw: kw['retries'] 115 get_timeout = lambda *a, **kw: timeout 116 get_retries = lambda *a, **kw: retrie [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
_functoolsmodule.c | 96 PyObject *kw;
member in struct:__anon5667 104 partial_new(PyTypeObject *type, PyObject *args, PyObject *kw)
131 pto->kw = NULL;
135 if (kw != NULL) {
136 pto->kw = PyDict_Copy(kw);
137 if (pto->kw == NULL) {
142 pto->kw = Py_None;
160 Py_XDECREF(pto->kw);
166 partial_call(partialobject *pto, PyObject *args, PyObject *kw)
295 PyObject *fn, *fnargs, *kw, *dict; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
_functoolsmodule.c | 96 PyObject *kw;
member in struct:__anon5357 104 partial_new(PyTypeObject *type, PyObject *args, PyObject *kw)
131 pto->kw = NULL;
135 pto->kw = (kw != NULL) ? PyDict_Copy(kw) : PyDict_New();
136 if (pto->kw == NULL) {
156 Py_XDECREF(pto->kw);
162 partial_call(partialobject *pto, PyObject *args, PyObject *kw)
169 assert (pto->kw == Py_None || PyDict_Check(pto->kw)); 291 PyObject *fn, *fnargs, *kw, *dict; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
reperf.py | 11 def timefunc(n, func, *args, **kw):
15 result = func(*args, **kw)
|
test_htmllib.py | 9 def __init__(self, *args, **kw):
11 htmllib.HTMLParser.__init__(self, *args, **kw)
20 def __init__(self, *args, **kw):
22 htmllib.HTMLParser.__init__(self, *args, **kw)
|
/external/python/cpython2/Lib/test/ |
reperf.py | 11 def timefunc(n, func, *args, **kw): 15 result = func(*args, **kw)
|
test_htmllib.py | 9 def __init__(self, *args, **kw): 11 htmllib.HTMLParser.__init__(self, *args, **kw) 20 def __init__(self, *args, **kw): 22 htmllib.HTMLParser.__init__(self, *args, **kw)
|
/external/python/cpython3/Lib/test/ |
reperf.py | 11 def timefunc(n, func, *args, **kw): 15 result = func(*args, **kw)
|
test_repl.py | 11 def spawn_repl(*args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, **kw): 14 kw is extra keyword args to pass to subprocess.Popen. Returns a Popen 30 env = kw.setdefault('env', dict(os.environ)) 35 **kw)
|
/external/python/cpython3/Lib/tkinter/ |
ttk.py | 117 def _format_elemcreate(etype, script=False, *args, **kw): 118 """Formats args and kw according to the given element factory etype.""" 139 opts = _format_optdict(kw, script) 378 def configure(self, style, query_opt=None, **kw): 382 Each key in kw is an option and each value is either a string or 385 kw[query_opt] = None 386 result = _val_or_dict(self.tk, kw, self._name, "configure", style) 391 def map(self, style, query_opt=None, **kw): 395 Each key in kw is an option and each value should be a list or a 405 self.tk.call(self._name, "map", style, *_format_mapdict(kw)), [all...] |
tix.py | 101 def tix_configure(self, cnf=None, **kw): 113 if kw: 114 cnf = _cnfmerge((cnf, kw)) 228 def config(self, cnf={}, **kw): 229 self.tk.call('tixForm', self._w, *self._options(cnf, kw)) 283 static_options=None, cnf={}, kw={}): 285 if kw: 286 cnf = _cnfmerge((cnf, kw)) 388 def image_create(self, imgtype, cnf={}, master=None, **kw): 393 if kw and cnf: cnf = _cnfmerge((cnf, kw) [all...] |
dialog.py | 10 def __init__(self, master=None, cnf={}, **kw): 11 cnf = _cnfmerge((cnf, kw))
|
/external/python/cpython2/Lib/lib-tk/ |
ttk.py | 117 def _format_elemcreate(etype, script=False, *args, **kw): 118 """Formats args and kw according to the given element factory etype.""" 139 opts = _format_optdict(kw, script) 378 def configure(self, style, query_opt=None, **kw): 382 Each key in kw is an option and each value is either a string or 385 kw[query_opt] = None 386 return _val_or_dict(self.tk, kw, self._name, "configure", style) 389 def map(self, style, query_opt=None, **kw): 393 Each key in kw is an option and each value should be a list or a 403 self.tk.call(self._name, "map", style, *_format_mapdict(kw)), [all...] |
Tix.py | 105 def tix_configure(self, cnf=None, **kw): 117 if kw: 118 cnf = _cnfmerge((cnf, kw)) 232 def config(self, cnf={}, **kw): 233 self.tk.call('tixForm', self._w, *self._options(cnf, kw)) 287 static_options=None, cnf={}, kw={}): 289 if kw: 290 cnf = _cnfmerge((cnf, kw)) 392 def image_create(self, imgtype, cnf={}, master=None, **kw): 397 if kw and cnf: cnf = _cnfmerge((cnf, kw) [all...] |
Canvas.py | 14 def __init__(self, canvas, itemType, *args, **kw): 16 self.id = canvas._create(itemType, args, kw) 57 def config(self, cnf={}, **kw): 58 return self.canvas.itemconfig(self.id, _cnfmerge((cnf, kw))) 90 def __init__(self, canvas, *args, **kw): 91 CanvasItem.__init__(self, canvas, 'arc', *args, **kw) 94 def __init__(self, canvas, *args, **kw): 95 CanvasItem.__init__(self, canvas, 'bitmap', *args, **kw) 98 def __init__(self, canvas, *args, **kw): 99 CanvasItem.__init__(self, canvas, 'image', *args, **kw) [all...] |
Dialog.py | 13 def __init__(self, master=None, cnf={}, **kw): 14 cnf = _cnfmerge((cnf, kw))
|
Tkinter.py | 472 def tk_setPalette(self, *args, **kw): 484 + _flatten(args) + _flatten(kw.items())) 633 def clipboard_get(self, **kw): 648 if 'type' not in kw and self._windowingsystem == 'x11': 650 kw['type'] = 'UTF8_STRING' 651 return self.tk.call(('clipboard', 'get') + self._options(kw)) 653 del kw['type'] 654 return self.tk.call(('clipboard', 'get') + self._options(kw)) 656 def clipboard_clear(self, **kw): 661 if 'displayof' not in kw: kw['displayof'] = self._ [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/metaclasses/ |
Eiffel.py | 83 def __call__(self, *args, **kw):
85 apply(self.pre, args, kw)
86 Result = apply(self.func, (self.inst,) + args, kw)
88 apply(self.post, (Result,) + args, kw)
|
/external/autotest/client/common_lib/test_utils/ |
functools_24.py | 38 def composecall(*args, **kw): 39 res = g(*args, **kw) 54 def fastcutcall(*args, **kw): 56 rkw.update(kw)
|
/external/python/cpython2/Demo/metaclasses/ |
Eiffel.py | 83 def __call__(self, *args, **kw): 85 apply(self.pre, args, kw) 86 Result = apply(self.func, (self.inst,) + args, kw) 88 apply(self.post, (Result,) + args, kw)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/faqwiz/ |
faqwiz.py | 46 def _interpolate(format, args, kw):
48 quote = kw['_quote']
51 d = (kw,) + args + (faqconf.__dict__,)
55 def interpolate(format, *args, **kw):
56 return _interpolate(format, args, kw)
58 def emit(format, *args, **kw):
60 f = kw['_file']
63 f.write(_interpolate(format, args, kw))
398 def error(self, message, **kw):
400 emit(message, kw)
[all...] |
/external/python/cpython2/Tools/faqwiz/ |
faqwiz.py | 46 def _interpolate(format, args, kw): 48 quote = kw['_quote'] 51 d = (kw,) + args + (faqconf.__dict__,) 55 def interpolate(format, *args, **kw): 56 return _interpolate(format, args, kw) 58 def emit(format, *args, **kw): 60 f = kw['_file'] 63 f.write(_interpolate(format, args, kw)) 398 def error(self, message, **kw): 400 emit(message, kw) [all...] |
/external/python/setuptools/setuptools/ |
sandbox.py | 294 def wrap(self, src, dst, *args, **kw): 296 src, dst = self._remap_pair(name, src, dst, *args, **kw) 297 return original(src, dst, *args, **kw) 308 def wrap(self, path, *args, **kw): 310 path = self._remap_input(name, path, *args, **kw) 311 return original(path, *args, **kw) 329 def wrap(self, path, *args, **kw): 331 path = self._remap_input(name, path, *args, **kw) 332 return self._remap_output(name, original(path, *args, **kw)) 333 return original(path, *args, **kw) [all...] |
extension.py | 35 def __init__(self, name, sources, *args, **kw): 38 self.py_limited_api = kw.pop("py_limited_api", False) 39 _Extension.__init__(self, name, sources, *args, **kw)
|