Home
last modified time | relevance | path

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

12345678910>>...27

/external/python/cpython2/Lib/lib-tk/
Dttk.py117 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 …]
DTix.py105 def tix_configure(self, cnf=None, **kw): argument
117 if kw:
118 cnf = _cnfmerge((cnf, kw))
232 def config(self, cnf={}, **kw): argument
233 self.tk.call('tixForm', self._w, *self._options(cnf, kw))
287 static_options=None, cnf={}, kw={}): argument
289 if kw:
290 cnf = _cnfmerge((cnf, kw))
392 def image_create(self, imgtype, cnf={}, master=None, **kw): argument
397 if kw and cnf: cnf = _cnfmerge((cnf, kw))
[all …]
DTkinter.py472 def tk_setPalette(self, *args, **kw): argument
484 + _flatten(args) + _flatten(kw.items()))
633 def clipboard_get(self, **kw): argument
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): argument
661 if 'displayof' not in kw: kw['displayof'] = self._w
[all …]
DCanvas.py14 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 …]
DtkSimpleDialog.py251 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/
Dttk.py113 def _format_elemcreate(etype, script=False, *args, **kw): argument
135 opts = _format_optdict(kw, script)
377 def configure(self, style, query_opt=None, **kw): argument
384 kw[query_opt] = None
385 result = _val_or_dict(self.tk, kw, self._name, "configure", style)
390 def map(self, style, query_opt=None, **kw): argument
402 result = 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)
533 def __init__(self, master, widgetname, kw=None): argument
[all …]
Dtix.py101 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__.py659 def tk_setPalette(self, *args, **kw): argument
671 + _flatten(args) + _flatten(list(kw.items())))
845 def clipboard_get(self, **kw): argument
860 if 'type' not in kw and self._windowingsystem == 'x11':
862 kw['type'] = 'UTF8_STRING'
863 return self.tk.call(('clipboard', 'get') + self._options(kw))
865 del kw['type']
866 return self.tk.call(('clipboard', 'get') + self._options(kw))
868 def clipboard_clear(self, **kw): argument
873 if 'displayof' not in kw: kw['displayof'] = self._w
[all …]
/external/python/cpython2/Modules/
D_functoolsmodule.c96 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()
152 Py_XDECREF(pto->kw); in partial_dealloc()
158 partial_call(partialobject *pto, PyObject *args, PyObject *kw) in partial_call() argument
165 assert (PyDict_Check(pto->kw)); in partial_call()
180 if (PyDict_Size(pto->kw) == 0) { in partial_call()
181 kwappl = kw; in partial_call()
184 kwappl = PyDict_Copy(pto->kw); in partial_call()
[all …]
D_bisectmodule.c44 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/llvm-project/mlir/include/mlir/Dialect/Linalg/IR/
DLinalgNamedStructuredOpsSpec.tc28 O(w) = std_addf<kw>(std_mulf(I(w + kw), K(kw)));
33 O(n, w, f) = std_addf<kw>(std_mulf(I(n, w + kw, c), K(f, kw, c)));
38 O(n, f, w) = std_addf<kw>(std_mulf(I(n, c, w + kw), K(f, c, kw)));
43 O(h, w) = std_addf<kh, kw>(std_mulf(I(h + kh, w + kw), K(kh, kw)));
48 O(n, h, w, f) = std_addf<kh, kw>(std_mulf(
49 I(n, h + kh, w + kw, c), K(f, kh, kw, c)));
54 O(n, f, h, w) = std_addf<kh, kw>(std_mulf(
55 I(n, c, h + kh, w + kw), K(f, c, kh, kw)));
60 O(d, h, w) = std_addf<kd, kh, kw>(std_mulf(
61 I(d + kd, h + kh, w + kw), K(kd, kh, kw)));
[all …]
/external/python/cpython2/Lib/json/
D__init__.py124 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__.py122 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
296 parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
300 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw): argument
345 parse_constant is None and object_pairs_hook is None and not kw):
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Ddecorators.py88 get_timeout = lambda *a, **kw: kw['timeout'] argument
89 get_retries = lambda *a, **kw: kw['retries'] argument
106 get_timeout = lambda *a, **kw: kw['timeout'] argument
107 get_retries = lambda *a, **kw: kw['retries'] argument
129 get_timeout = lambda *a, **kw: timeout argument
130 get_retries = lambda *a, **kw: retries argument
154 get_timeout = lambda *a, **kw: kw.get('timeout', default_timeout) argument
155 get_retries = lambda *a, **kw: kw.get('retries', default_retries) argument
/external/python/setuptools/setuptools/
Dsandbox.py294 def wrap(self, src, dst, *args, **kw): argument
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): argument
310 path = self._remap_input(name, path, *args, **kw)
311 return original(path, *args, **kw)
329 def wrap(self, path, *args, **kw): argument
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 …]
/external/llvm-project/polly/lib/External/isl/test_inputs/schedule/
Dniewang.sc14 kw = 3 + i2 - w, kc0 = i3] : -3 + i1 <= h <= 3 + i1 and -3 + i2 <=
17 0:223, w = 0:223, c0 = 0:15, kc1 = 0:3, kh = 0:6, kw = 0:6, kc0 = 0:14]
18 -> S_3[h' = h, w' = w, c0' = c0, kc1' = kc1, kh' = kh, kw' = kw, kc0'
20 kw = 0:5, kc0 = 15] -> S_3[h' = h, w' = w, c0' = c0, kc1' = kc1, kh'
21 = kh, kw' = 1 + kw, kc0' = 0]; S_3[h = 0:223, w = 0:223, c0 = 0:15,
22 kc1 = 0:3, kh = 0:5, kw = 6, kc0 = 15] -> S_3[h' = h, w' = w, c0' =
23 c0, kc1' = kc1, kh' = 1 + kh, kw' = 0, kc0' = 0]; S_3[h = 0:223, w =
24 0:223, c0 = 0:15, kc1 = 0:2, kh = 6, kw = 6, kc0 = 15] -> S_3[h' =
25 h, w' = w, c0' = c0, kc1' = 1 + kc1, kh' = 0, kw' = 0, kc0' = 0] }
27 S_3[h = 0:223, w = 0:223, c0 = 0:15, kc1 = i0, kh = 3 + i1 - h, kw =
/external/python/cpython2/Mac/Modules/
DNav.c448 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/tensorflow/tensorflow/python/distribute/
Dvalues_util.py139 assign_fn = lambda var, *a, **kw: var.assign(*a, **kw) argument
150 assign_add_fn = lambda var, *a, **kw: var.assign_add(*a, **kw) argument
161 assign_sub_fn = lambda var, *a, **kw: var.assign_sub(*a, **kw) argument
226 scatter_sub_fn = lambda var, *a, **kw: var.scatter_sub(*a, **kw) argument
235 scatter_add_fn = lambda var, *a, **kw: var.scatter_add(*a, **kw) argument
244 scatter_mul_fn = lambda var, *a, **kw: var.scatter_mul(*a, **kw) argument
253 scatter_div_fn = lambda var, *a, **kw: var.scatter_div(*a, **kw) argument
262 scatter_min_fn = lambda var, *a, **kw: var.scatter_min(*a, **kw) argument
271 scatter_max_fn = lambda var, *a, **kw: var.scatter_max(*a, **kw) argument
280 scatter_update_fn = lambda var, *a, **kw: var.scatter_update(*a, **kw) argument
Dpacked_distributed_variable.py152 assign_sub_fn = lambda var, *a, **kw: var.assign_sub(*a, **kw) argument
161 assign_add_fn = lambda var, *a, **kw: var.assign_add(*a, **kw) argument
170 assign_fn = lambda var, *a, **kw: var.assign(*a, **kw) argument
179 scatter_sub_fn = lambda var, *a, **kw: var.scatter_sub(*a, **kw) argument
187 scatter_add_fn = lambda var, *a, **kw: var.scatter_add(*a, **kw) argument
195 scatter_mul_fn = lambda var, *a, **kw: var.scatter_mul(*a, **kw) argument
203 scatter_div_fn = lambda var, *a, **kw: var.scatter_div(*a, **kw) argument
211 scatter_min_fn = lambda var, *a, **kw: var.scatter_min(*a, **kw) argument
219 scatter_max_fn = lambda var, *a, **kw: var.scatter_max(*a, **kw) argument
227 scatter_update_fn = lambda var, *a, **kw: var.scatter_update(*a, **kw) argument
/external/python/cpython3/Lib/email/
Dheaderregistry.py310 def init(self, *args, **kw): argument
311 self._datetime = kw.pop('datetime')
312 super().init(*args, **kw)
362 def init(self, *args, **kw): argument
363 self._groups = tuple(kw.pop('groups'))
365 super().init(*args, **kw)
417 def init(self, *args, **kw): argument
418 self._version = kw.pop('version')
419 self._major = kw.pop('major')
420 self._minor = kw.pop('minor')
[all …]
/external/python/cpython3/Modules/
D_functoolsmodule.c19 PyObject *kw; member
30 partial_new(PyTypeObject *type, PyObject *args, PyObject *kw) in partial_new() argument
47 pkw = part->kw; in partial_new()
86 if (kw == NULL) { in partial_new()
87 pto->kw = PyDict_New(); in partial_new()
89 else if (Py_REFCNT(kw) == 1) { in partial_new()
90 Py_INCREF(kw); in partial_new()
91 pto->kw = kw; in partial_new()
94 pto->kw = PyDict_Copy(kw); in partial_new()
98 pto->kw = PyDict_Copy(pkw); in partial_new()
[all …]
/external/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/
Dspawnbase.py240 def expect(self, pattern, timeout=-1, searchwindowsize=-1, async_=False, **kw): argument
334 if 'async' in kw:
335 async_ = kw.pop('async')
336 if kw:
337 raise TypeError("Unknown keyword arguments: {}".format(kw))
344 async_=False, **kw): argument
359 if 'async' in kw:
360 async_ = kw.pop('async')
361 if kw:
362 raise TypeError("Unknown keyword arguments: {}".format(kw))
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dxsmm_conv2d_test.cc46 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/
DTrace.py46 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/
Dtest_parser.py91 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)

12345678910>>...27