/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
cache.py | 78 def get_or_create(self, key, creation_function, **kw): 82 return self._ctx_get_or_create(key, creation_function, None, **kw) 84 def _ctx_get_or_create(self, key, creation_function, context, **kw): 94 **self._get_cache_kw(kw, context)) 96 def set(self, key, value, **kw): 101 :param \**kw: cache configuration arguments. 105 self.impl.set(key, value, **self._get_cache_kw(kw, None)) 114 def get(self, key, **kw): 118 :param \**kw: cache configuration arguments. The 124 return self.impl.get(key, **self._get_cache_kw(kw, None) [all...] |
/external/python/cpython2/Modules/ |
_functoolsmodule.c | 96 PyObject *kw; member in struct:__anon30228 104 partial_new(PyTypeObject *type, PyObject *args, PyObject *kw) 134 pto->kw = (kw != NULL) ? PyDict_Copy(kw) : PyDict_New(); 135 if (pto->kw == NULL) { 151 Py_XDECREF(pto->kw); 157 partial_call(partialobject *pto, PyObject *args, PyObject *kw) 164 assert (PyDict_Check(pto->kw)); 179 if (PyDict_Size(pto->kw) == 0) 287 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...] |
/external/libmojo/third_party/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:__anon5756 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:__anon5446 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)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/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)
|
/prebuilts/gdb/linux-x86/lib/python2.7/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)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/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)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
reperf.py | 11 def timefunc(n, func, *args, **kw): 15 result = func(*args, **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...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/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) 380 def configure(self, style, query_opt=None, **kw): 384 Each key in kw is an option and each value is either a string or 387 kw[query_opt] = None 388 return _val_or_dict(kw, self.tk.call, 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 404 self.tk.call(self._name, "map", style, *(_format_mapdict(kw)))) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/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) 380 def configure(self, style, query_opt=None, **kw): 384 Each key in kw is an option and each value is either a string or 387 kw[query_opt] = None 388 return _val_or_dict(kw, self.tk.call, 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 404 self.tk.call(self._name, "map", style, *(_format_mapdict(kw)))) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/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) 380 def configure(self, style, query_opt=None, **kw): 384 Each key in kw is an option and each value is either a string or 387 kw[query_opt] = None 388 return _val_or_dict(kw, self.tk.call, 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 404 self.tk.call(self._name, "map", style, *(_format_mapdict(kw)))) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/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) 380 def configure(self, style, query_opt=None, **kw): 384 Each key in kw is an option and each value is either a string or 387 kw[query_opt] = None 388 return _val_or_dict(kw, self.tk.call, 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 404 self.tk.call(self._name, "map", style, *(_format_mapdict(kw)))) [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)
|