/external/python/cpython2/Lib/lib-tk/ |
D | ttk.py | 117 def _format_elemcreate(etype, script=False, *args, **kw): argument 139 opts = _format_optdict(kw, script) 378 def configure(self, style, query_opt=None, **kw): argument 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): argument 403 self.tk.call(self._name, "map", style, *_format_mapdict(kw)), 462 def element_create(self, elementname, etype, *args, **kw): argument 464 spec, opts = _format_elemcreate(etype, False, *args, **kw) 531 def __init__(self, master, widgetname, kw=None): argument [all …]
|
D | Tix.py | 109 def tix_configure(self, cnf=None, **kw): argument 121 if kw: 122 cnf = _cnfmerge((cnf, kw)) 236 def config(self, cnf={}, **kw): argument 237 self.tk.call('tixForm', self._w, *self._options(cnf, kw)) 291 static_options=None, cnf={}, kw={}): argument 293 if kw: 294 cnf = _cnfmerge((cnf, kw)) 396 def image_create(self, imgtype, cnf={}, master=None, **kw): argument 401 if kw and cnf: cnf = _cnfmerge((cnf, kw)) [all …]
|
D | Tkinter.py | 469 def tk_setPalette(self, *args, **kw): argument 481 + _flatten(args) + _flatten(kw.items())) 627 def clipboard_get(self, **kw): argument 642 if 'type' not in kw and self._windowingsystem == 'x11': 644 kw['type'] = 'UTF8_STRING' 645 return self.tk.call(('clipboard', 'get') + self._options(kw)) 647 del kw['type'] 648 return self.tk.call(('clipboard', 'get') + self._options(kw)) 650 def clipboard_clear(self, **kw): argument 655 if 'displayof' not in kw: kw['displayof'] = self._w [all …]
|
D | Canvas.py | 14 def __init__(self, canvas, itemType, *args, **kw): argument 16 self.id = canvas._create(itemType, args, kw) 57 def config(self, cnf={}, **kw): argument 58 return self.canvas.itemconfig(self.id, _cnfmerge((cnf, kw))) 90 def __init__(self, canvas, *args, **kw): argument 91 CanvasItem.__init__(self, canvas, 'arc', *args, **kw) 94 def __init__(self, canvas, *args, **kw): argument 95 CanvasItem.__init__(self, canvas, 'bitmap', *args, **kw) 98 def __init__(self, canvas, *args, **kw): argument 99 CanvasItem.__init__(self, canvas, 'image', *args, **kw) [all …]
|
D | tkSimpleDialog.py | 251 def askinteger(title, prompt, **kw): argument 262 d = _QueryInteger(title, prompt, **kw) 270 def askfloat(title, prompt, **kw): argument 281 d = _QueryFloat(title, prompt, **kw) 285 def __init__(self, *args, **kw): argument 286 if "show" in kw: 287 self.__show = kw["show"] 288 del kw["show"] 291 _QueryDialog.__init__(self, *args, **kw) 302 def askstring(title, prompt, **kw): argument [all …]
|
/external/python/cpython3/Lib/tkinter/ |
D | ttk.py | 117 def _format_elemcreate(etype, script=False, *args, **kw): argument 139 opts = _format_optdict(kw, script) 378 def configure(self, style, query_opt=None, **kw): argument 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): argument 405 self.tk.call(self._name, "map", style, *_format_mapdict(kw)), 464 def element_create(self, elementname, etype, *args, **kw): argument 466 spec, opts = _format_elemcreate(etype, False, *args, **kw) 535 def __init__(self, master, widgetname, kw=None): argument [all …]
|
D | tix.py | 101 def tix_configure(self, cnf=None, **kw): argument 113 if kw: 114 cnf = _cnfmerge((cnf, kw)) 228 def config(self, cnf={}, **kw): argument 229 self.tk.call('tixForm', self._w, *self._options(cnf, kw)) 283 static_options=None, cnf={}, kw={}): argument 285 if kw: 286 cnf = _cnfmerge((cnf, kw)) 388 def image_create(self, imgtype, cnf={}, master=None, **kw): argument 393 if kw and cnf: cnf = _cnfmerge((cnf, kw)) [all …]
|
D | __init__.py | 613 def tk_setPalette(self, *args, **kw): argument 625 + _flatten(args) + _flatten(list(kw.items()))) 780 def clipboard_get(self, **kw): argument 795 if 'type' not in kw and self._windowingsystem == 'x11': 797 kw['type'] = 'UTF8_STRING' 798 return self.tk.call(('clipboard', 'get') + self._options(kw)) 800 del kw['type'] 801 return self.tk.call(('clipboard', 'get') + self._options(kw)) 803 def clipboard_clear(self, **kw): argument 808 if 'displayof' not in kw: kw['displayof'] = self._w [all …]
|
D | simpledialog.py | 330 def askinteger(title, prompt, **kw): argument 341 d = _QueryInteger(title, prompt, **kw) 349 def askfloat(title, prompt, **kw): argument 360 d = _QueryFloat(title, prompt, **kw) 364 def __init__(self, *args, **kw): argument 365 if "show" in kw: 366 self.__show = kw["show"] 367 del kw["show"] 370 _QueryDialog.__init__(self, *args, **kw) 381 def askstring(title, prompt, **kw): argument [all …]
|
/external/python/cpython2/Modules/ |
D | _functoolsmodule.c | 96 PyObject *kw; member 104 partial_new(PyTypeObject *type, PyObject *args, PyObject *kw) in partial_new() argument 134 pto->kw = (kw != NULL) ? PyDict_Copy(kw) : PyDict_New(); in partial_new() 135 if (pto->kw == NULL) { in partial_new() 151 Py_XDECREF(pto->kw); in partial_dealloc() 157 partial_call(partialobject *pto, PyObject *args, PyObject *kw) in partial_call() argument 164 assert (PyDict_Check(pto->kw)); in partial_call() 179 if (PyDict_Size(pto->kw) == 0) { in partial_call() 180 kwappl = kw; in partial_call() 183 kwappl = PyDict_Copy(pto->kw); in partial_call() [all …]
|
D | _bisectmodule.c | 44 bisect_right(PyObject *self, PyObject *args, PyObject *kw) in bisect_right() argument 52 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|nn:bisect_right", in bisect_right() 75 insort_right(PyObject *self, PyObject *args, PyObject *kw) in insort_right() argument 83 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|nn:insort_right", in insort_right() 150 bisect_left(PyObject *self, PyObject *args, PyObject *kw) in bisect_left() argument 158 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|nn:bisect_left", in bisect_left() 180 insort_left(PyObject *self, PyObject *args, PyObject *kw) in insort_left() argument 188 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|nn:insort_left", in insort_left()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
D | cache.py | 78 def get_or_create(self, key, creation_function, **kw): argument 82 return self._ctx_get_or_create(key, creation_function, None, **kw) 84 def _ctx_get_or_create(self, key, creation_function, context, **kw): argument 94 **self._get_cache_kw(kw, context)) 96 def set(self, key, value, **kw): argument 105 self.impl.set(key, value, **self._get_cache_kw(kw, None)) 114 def get(self, key, **kw): argument 124 return self.impl.get(key, **self._get_cache_kw(kw, None)) 126 def invalidate(self, key, **kw): argument 136 self.impl.invalidate(key, **self._get_cache_kw(kw, None)) [all …]
|
/external/python/cpython2/Lib/json/ |
D | __init__.py | 124 encoding='utf-8', default=None, sort_keys=False, **kw): argument 178 encoding == 'utf-8' and default is None and not sort_keys and not kw): 186 default=default, sort_keys=sort_keys, **kw).iterencode(obj) 195 encoding='utf-8', default=None, sort_keys=False, **kw): argument 243 encoding == 'utf-8' and default is None and not sort_keys and not kw): 251 sort_keys=sort_keys, **kw).encode(obj) 259 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw): argument 291 **kw) 295 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw): argument 338 parse_constant is None and object_pairs_hook is None and not kw): [all …]
|
/external/python/cpython3/Lib/json/ |
D | __init__.py | 122 default=None, sort_keys=False, **kw): argument 168 default is None and not sort_keys and not kw): 176 default=default, sort_keys=sort_keys, **kw).iterencode(obj) 185 default=None, sort_keys=False, **kw): argument 230 default is None and not sort_keys and not kw): 238 **kw).encode(obj) 275 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw): argument 299 parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) 303 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw): argument 353 parse_constant is None and object_pairs_hook is None and not kw): [all …]
|
/external/tensorflow/tensorflow/contrib/specs/python/ |
D | specs_lib.py | 56 def get_positional(args, kw, kw_overrides=False): argument 71 new_kw = {k: v for k, v in kw.items() if k[0] != "_"} 72 if len(new_kw) == len(kw): 73 return args, kw 75 for key, value in kw.items(): 106 return Function(lambda x, *args, **kw: x) 151 def __init__(self, f, *args, **kw): argument 156 self.kw = kw 158 def __call__(self, *args, **kw): argument 160 new_kw = self.kw.copy() [all …]
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
D | decorators.py | 77 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/devil/devil/android/ |
D | decorators.py | 77 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/python/cpython2/Mac/Modules/ |
D | Nav.c | 448 nav_NavGetFile(PyObject *self, PyObject *args, PyObject *kw) in nav_NavGetFile() argument 460 if ( kw && PyObject_IsTrue(kw) ) { in nav_NavGetFile() 463 dict = kw; in nav_NavGetFile() 483 nav_NavPutFile(PyObject *self, PyObject *args, PyObject *kw) in nav_NavPutFile() argument 494 if ( kw && PyObject_IsTrue(kw) ) { in nav_NavPutFile() 497 dict = kw; in nav_NavPutFile() 518 nav_NavAskSaveChanges(PyObject *self, PyObject *args, PyObject *kw) in nav_NavAskSaveChanges() argument 527 if ( kw && PyObject_IsTrue(kw) ) { in nav_NavAskSaveChanges() 530 dict = kw; in nav_NavAskSaveChanges() 548 nav_NavCustomAskSaveChanges(PyObject *self, PyObject *args, PyObject *kw) in nav_NavCustomAskSaveChanges() argument [all …]
|
/external/python/cpython3/Modules/ |
D | _functoolsmodule.c | 18 PyObject *kw; member 26 partial_new(PyTypeObject *type, PyObject *args, PyObject *kw) in partial_new() argument 43 pkw = part->kw; in partial_new() 88 if (kw == NULL) { in partial_new() 89 pto->kw = PyDict_New(); in partial_new() 91 else if (Py_REFCNT(kw) == 1) { in partial_new() 92 Py_INCREF(kw); in partial_new() 93 pto->kw = kw; in partial_new() 96 pto->kw = PyDict_Copy(kw); in partial_new() 100 pto->kw = PyDict_Copy(pkw); in partial_new() [all …]
|
D | parsermodule.c | 412 parser_st2tuple(PyST_Object *self, PyObject *args, PyObject *kw) in parser_st2tuple() argument 422 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|pp:st2tuple", keywords, in parser_st2tuple() 427 ok = PyArg_ParseTupleAndKeywords(args, kw, "|pp:totuple", &keywords[1], in parser_st2tuple() 448 parser_st2list(PyST_Object *self, PyObject *args, PyObject *kw) in parser_st2list() argument 458 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|pp:st2list", keywords, in parser_st2list() 462 ok = PyArg_ParseTupleAndKeywords(args, kw, "|pp:tolist", &keywords[1], in parser_st2list() 483 parser_compilest(PyST_Object *self, PyObject *args, PyObject *kw) in parser_compilest() argument 494 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|O&:compilest", keywords, in parser_compilest() 498 ok = PyArg_ParseTupleAndKeywords(args, kw, "|O&:compile", &keywords[1], in parser_compilest() 536 parser_isexpr(PyST_Object *self, PyObject *args, PyObject *kw) in parser_isexpr() argument [all …]
|
D | _bisectmodule.c | 48 bisect_right(PyObject *self, PyObject *args, PyObject *kw) in bisect_right() argument 56 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|nn:bisect_right", in bisect_right() 78 insort_right(PyObject *self, PyObject *args, PyObject *kw) in insort_right() argument 86 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|nn:insort_right", in insort_right() 152 bisect_left(PyObject *self, PyObject *args, PyObject *kw) in bisect_left() argument 160 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|nn:bisect_left", in bisect_left() 182 insort_left(PyObject *self, PyObject *args, PyObject *kw) in insort_left() argument 190 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|nn:insort_left", in insort_left()
|
/external/python/cpython3/Lib/email/ |
D | headerregistry.py | 308 def init(self, *args, **kw): argument 309 self._datetime = kw.pop('datetime') 310 super().init(*args, **kw) 360 def init(self, *args, **kw): argument 361 self._groups = tuple(kw.pop('groups')) 363 super().init(*args, **kw) 415 def init(self, *args, **kw): argument 416 self._version = kw.pop('version') 417 self._major = kw.pop('major') 418 self._minor = kw.pop('minor') [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | xsmm_conv2d_test.cc | 46 int kw; member 130 int kw = param->kw; in naive_conv_fp() local 140 LIBXSMM_VLA_DECL(4, const float, filter_t, filter, nIfm, kh, kw); in naive_conv_fp() 151 for (ki = 0; ki < kw; ++ki) { in naive_conv_fp() 158 kw); in naive_conv_fp() 196 int kw = 3; /* filter width, "S" */ in TEST_F() local 213 int ofw = (ifw + 2 * pad_w - kw) / stride_w + 1; in TEST_F() 227 nOfm * nIfm * kh * kw * sizeof(float), 2097152); in TEST_F() 231 init_buf(naive_filter, nOfm * nIfm * kh * kw, 0, 0); in TEST_F() 235 Tensor filter(DT_FLOAT, {kh, kw, nIfm, nOfm}); in TEST_F() [all …]
|
/external/python/cpython2/Demo/metaclasses/ |
D | Trace.py | 46 def __call__(self, *args, **kw): argument 53 apply(init, args, kw) 87 def __call__(self, *args, **kw): argument 88 return apply(self.func, (self.inst,) + args, kw) 91 def __call__(self, *args, **kw): argument 94 self.__name__, self.inst, args, kw) 96 rv = apply(self.func, (self.inst,) + args, kw)
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_parser.py | 91 def message_from_file(s, *args, **kw): argument 93 return email.message_from_file(f, *args, **kw) 98 def message_from_bytes(s, *args, **kw): argument 99 return email.message_from_bytes(s.encode(), *args, **kw) 101 def message_from_binary_file(s, *args, **kw): argument 103 return email.message_from_binary_file(f, *args, **kw)
|