Home
last modified time | relevance | path

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

12345678910>>...23

/third_party/python/Lib/tkinter/
Dttk.py113 def _format_elemcreate(etype, script=False, *args, **kw): argument
135 opts = _format_optdict(kw, script)
372 def configure(self, style, query_opt=None, **kw): argument
379 kw[query_opt] = None
380 result = _val_or_dict(self.tk, kw, self._name, "configure", style)
385 def map(self, style, query_opt=None, **kw): argument
397 result = self.tk.call(self._name, "map", style, *_format_mapdict(kw))
457 def element_create(self, elementname, etype, *args, **kw): argument
459 spec, opts = _format_elemcreate(etype, False, *args, **kw)
528 def __init__(self, master, widgetname, kw=None): argument
[all …]
Dtix.py108 def tix_configure(self, cnf=None, **kw): argument
120 if kw:
121 cnf = _cnfmerge((cnf, kw))
235 def config(self, cnf={}, **kw): argument
236 self.tk.call('tixForm', self._w, *self._options(cnf, kw))
290 static_options=None, cnf={}, kw={}): argument
292 if kw:
293 cnf = _cnfmerge((cnf, kw))
395 def image_create(self, imgtype, cnf={}, master=None, **kw): argument
398 if kw and cnf: cnf = _cnfmerge((cnf, kw))
[all …]
D__init__.py693 def tk_setPalette(self, *args, **kw): argument
705 + _flatten(args) + _flatten(list(kw.items())))
883 def clipboard_get(self, **kw): argument
898 if 'type' not in kw and self._windowingsystem == 'x11':
900 kw['type'] = 'UTF8_STRING'
901 return self.tk.call(('clipboard', 'get') + self._options(kw))
903 del kw['type']
904 return self.tk.call(('clipboard', 'get') + self._options(kw))
906 def clipboard_clear(self, **kw): argument
911 if 'displayof' not in kw: kw['displayof'] = self._w
[all …]
Dsimpledialog.py344 def askinteger(title, prompt, **kw): argument
355 d = _QueryInteger(title, prompt, **kw)
366 def askfloat(title, prompt, **kw): argument
377 d = _QueryFloat(title, prompt, **kw)
382 def __init__(self, *args, **kw): argument
383 if "show" in kw:
384 self.__show = kw["show"]
385 del kw["show"]
388 _QueryDialog.__init__(self, *args, **kw)
400 def askstring(title, prompt, **kw): argument
[all …]
Dscrolledtext.py21 def __init__(self, master=None, **kw): argument
26 kw.update({'yscrollcommand': self.vbar.set})
27 Text.__init__(self, self.frame, **kw)
/third_party/python/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 …]
/third_party/python/Lib/email/
Dheaderregistry.py313 def init(self, *args, **kw): argument
314 self._datetime = kw.pop('datetime')
315 super().init(*args, **kw)
365 def init(self, *args, **kw): argument
366 self._groups = tuple(kw.pop('groups'))
368 super().init(*args, **kw)
420 def init(self, *args, **kw): argument
421 self._version = kw.pop('version')
422 self._major = kw.pop('major')
423 self._minor = kw.pop('minor')
[all …]
Dmessage.py1093 def get_content(self, *args, content_manager=None, **kw): argument
1096 return content_manager.get_content(self, *args, **kw)
1098 def set_content(self, *args, content_manager=None, **kw): argument
1101 content_manager.set_content(self, *args, **kw)
1139 def _add_multipart(self, _subtype, *args, _disp=None, **kw): argument
1144 part.set_content(*args, **kw)
1149 def add_related(self, *args, **kw): argument
1150 self._add_multipart('related', *args, _disp='inline', **kw)
1152 def add_alternative(self, *args, **kw): argument
1153 self._add_multipart('alternative', *args, **kw)
[all …]
/third_party/python/Modules/
D_functoolsmodule.c39 PyObject *kw; member
61 partial_new(PyTypeObject *type, PyObject *args, PyObject *kw) in partial_new() argument
82 pkw = part->kw; in partial_new()
121 if (kw == NULL) { in partial_new()
122 pto->kw = PyDict_New(); in partial_new()
124 else if (Py_REFCNT(kw) == 1) { in partial_new()
125 Py_INCREF(kw); in partial_new()
126 pto->kw = kw; in partial_new()
129 pto->kw = PyDict_Copy(kw); in partial_new()
133 pto->kw = PyDict_Copy(pkw); in partial_new()
[all …]
Dxxsubtype.c47 spamlist_specialmeth(PyObject *self, PyObject *args, PyObject *kw) in spamlist_specialmeth() argument
54 if (kw == NULL) in spamlist_specialmeth()
55 kw = Py_None; in spamlist_specialmeth()
60 Py_INCREF(kw); in spamlist_specialmeth()
61 PyTuple_SET_ITEM(result, 2, kw); in spamlist_specialmeth()
/third_party/python/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)
Dtest_message.py500 def get_content(self, msg, *args, **kw): argument
501 return msg, args, kw
502 def set_content(self, msg, *args, **kw): argument
505 self.kw = kw
511 msg, args, kw = m.get_content('foo', content_manager=cm, bar=1, k=2)
514 self.assertEqual(kw, dict(bar=1, k=2))
520 msg, args, kw = m.get_content('foo', bar=1, k=2)
523 self.assertEqual(kw, dict(bar=1, k=2))
531 self.assertEqual(cm.kw, {})
535 self.assertEqual(cm.kw, dict(bar=1, k=2))
[all …]
/third_party/python/Lib/
D_threading_local.py197 args, kw = impl.localargs
198 self.__init__(*args, **kw)
207 def __new__(cls, /, *args, **kw): argument
208 if (args or kw) and (cls.__init__ is object.__init__):
212 impl.localargs = (args, kw)
/third_party/skia/third_party/externals/icu/source/data/translit/
DLatn_Cans.txt30 kwê ↔ ᑴ ;
31 kwî ↔ ᑸ ;
33 kwô ↔ ᑼ ;
35 kwâ ↔ ᒀ ;
124 kw ↔ ᒄ ;
/third_party/icu/icu4c/source/data/translit/
DLatn_Cans.txt30 kwê ↔ ᑴ ;
31 kwî ↔ ᑸ ;
33 kwô ↔ ᑼ ;
35 kwâ ↔ ᒀ ;
124 kw ↔ ᒄ ;
/third_party/skia/third_party/externals/icu/source/data/lang/
Dig.txt124 kw{"Kọnịsh"}
256 Armn{"Mkpụrụ ọkwụ Armenịan"}
257 Beng{"Mkpụrụ ọkwụ Bangla"}
258 Bopo{"Mkpụrụ ọkwụ Bopomofo"}
261 Deva{"Mkpụrụ ọkwụ Devangarị"}
262 Ethi{"Mkpụrụ ọkwụ Etọpịa"}
263 Geor{"Mkpụrụ ọkwụ Geọjịan"}
264 Grek{"Mkpụrụ ọkwụ grịk"}
265 Gujr{"Mkpụrụ ọkwụ Gụjaratị"}
266 Guru{"Mkpụrụ ọkwụ Gụrmụkị"}
[all …]
/third_party/python/Lib/test/
Dtest_utf8_mode.py30 def get_output(self, *args, failure=False, **kw): argument
31 kw = dict(self.DEFAULT_ENV, **kw)
33 out = assert_python_failure(*args, **kw)
36 out = assert_python_ok(*args, **kw)
220 def check(utf8_opt, expected, **kw): argument
221 out = self.get_output('-X', utf8_opt, '-c', code, arg, **kw)
Dtest_dict_version.py24 def check_version_changed(self, mydict, method, *args, **kw): argument
25 result = method(*args, **kw)
29 def check_version_dont_change(self, mydict, method, *args, **kw): argument
33 result = method(*args, **kw)
40 def new_dict(self, *args, **kw): argument
41 d = self.type2test(*args, **kw)
Dtest_webbrowser.py27 def _test(self, meth, *, args=[URL], kw={}, options, arguments): argument
41 getattr(browser, meth)(*args, **kw)
81 self._test('open', kw=dict(autoraise=False),
106 self._test('open', kw=dict(autoraise=False),
131 self._test('open', kw=dict(autoraise=False),
156 self._test('open', kw=dict(autoraise=False),
181 self._test('open', kw=dict(autoraise=False),
Dtest_repl.py11 def spawn_repl(*args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, **kw): argument
30 env = kw.setdefault('env', dict(os.environ))
37 **kw)
/third_party/python/Lib/ctypes/
D__init__.py76 def CFUNCTYPE(restype, *argtypes, **kw): argument
93 if kw.pop("use_errno", False):
95 if kw.pop("use_last_error", False):
97 if kw:
98 raise ValueError("unexpected keyword argument(s) %s" % kw.keys())
114 def WINFUNCTYPE(restype, *argtypes, **kw): argument
117 if kw.pop("use_errno", False):
119 if kw.pop("use_last_error", False):
121 if kw:
122 raise ValueError("unexpected keyword argument(s) %s" % kw.keys())
/third_party/python/Tools/scripts/
Dpindent.py171 kw = 'end'
183 kw = m.group('kw')
184 if kw in start:
186 stack.append((kw, kw))
189 if kw in next and stack:
192 stack[-1] = kwa, kw
220 kw = m.group('kw')
221 if kw in start:
/third_party/node/tools/gyp/pylib/gyp/
D__init__.py291 def add_argument(self, *args, **kw): argument
303 env_name = kw.pop("env_name", None)
304 if "dest" in kw and kw.pop("regenerate", True):
305 dest = kw["dest"]
309 type = kw.get("type")
311 kw["type"] = str
314 "action": kw.get("action"),
320 argparse.ArgumentParser.add_argument(self, *args, **kw)
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
D__init__.py292 def add_argument(self, *args, **kw): argument
304 env_name = kw.pop("env_name", None)
305 if "dest" in kw and kw.pop("regenerate", True):
306 dest = kw["dest"]
310 type = kw.get("type")
312 kw["type"] = str
315 "action": kw.get("action"),
321 argparse.ArgumentParser.add_argument(self, *args, **kw)
/third_party/python/Tools/c-analyzer/c_parser/preprocessor/
Dcommon.py38 kw = dict(locals())
39 kw.pop('argv')
40 kw.pop('kwargs')
41 kwargs.update(kw)

12345678910>>...23