/external/chromium_org/tools/gyp/test/lib/ |
TestGyp.py | 105 def __init__(self, gyp=None, *args, **kw): 123 kw.setdefault('match', TestCommon.match_exact) 127 workdir = os.path.join('out', kw.get('workdir', 'testworkarea')) 132 kw['workdir'] = tempfile.mktemp(prefix='testgyp.', dir=workdir) 134 formats = kw.pop('formats', []) 136 super(TestGypBase, self).__init__(*args, **kw) 160 def built_file_must_exist(self, name, type=None, **kw): 164 return self.must_exist(self.built_file_path(name, type, **kw)) 166 def built_file_must_not_exist(self, name, type=None, **kw): 170 return self.must_not_exist(self.built_file_path(name, type, **kw)) [all...] |
/external/chromium_org/build/android/pylib/device/ |
decorators.py | 74 get_timeout = lambda *a, **kw: kw['timeout'] 75 get_retries = lambda *a, **kw: kw['retries'] 93 get_timeout = lambda *a, **kw: timeout 94 get_retries = lambda *a, **kw: retries 116 get_timeout = lambda *a, **kw: kw.get('timeout', default_timeout) 117 get_retries = lambda *a, **kw: kw.get('retries', default_retries [all...] |
/system/core/init/ |
ueventd_parser.c | 53 #define kw_is(kw, type) (keyword_info[kw].flags & (type)) 54 #define kw_nargs(kw) (keyword_info[kw].nargs) 132 int kw; local 138 kw = lookup_keyword(args[0]); 139 switch (kw) { 162 static void parse_new_section(struct parse_state *state, int kw, 168 switch(kw) { 182 int kw = lookup_keyword(args[0]) local [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/ |
genpyx.py | 20 # XX use this Context class instead of all those kw dicts !! XX 23 def __init__( self, **kw ): 24 for key, value in kw.items(): 75 def pyxstr(self,toks=None,indent=0,**kw): 83 x.pyxstr(toks, indent, **kw) 102 def pyxstr(self,toks=None,indent=0,**kw): 113 def pyxstr(self,toks=None,indent=0,**kw): 127 def pyxstr(self,toks=None,indent=0,**kw): 138 def pyxstr(self,toks=None,indent=0,cprefix="",**kw): 143 x.pyxstr(toks, indent, cprefix=cprefix, **kw) [all...] |
/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)
|
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/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...] |
Tix.py | 108 def tix_configure(self, cnf=None, **kw): 120 if kw: 121 cnf = _cnfmerge((cnf, kw)) 239 def config(self, cnf={}, **kw): 240 self.tk.call('tixForm', self._w, *self._options(cnf, kw)) 294 static_options=None, cnf={}, kw={}): 296 if kw: 297 cnf = _cnfmerge((cnf, kw)) 399 def image_create(self, imgtype, cnf={}, master=None, **kw): 404 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 | 411 def tk_setPalette(self, *args, **kw): 423 + _flatten(args) + _flatten(kw.items())) 565 def clipboard_get(self, **kw): 580 if 'type' not in kw and self._windowingsystem == 'x11': 582 kw['type'] = 'UTF8_STRING' 583 return self.tk.call(('clipboard', 'get') + self._options(kw)) 585 del kw['type'] 586 return self.tk.call(('clipboard', 'get') + self._options(kw)) 588 def clipboard_clear(self, **kw): 593 if 'displayof' not in kw: kw['displayof'] = self._ [all...] |
tkSimpleDialog.py | 251 def askinteger(title, prompt, **kw): 258 **kw -- see SimpleDialog class 262 d = _QueryInteger(title, prompt, **kw) 270 def askfloat(title, prompt, **kw): 277 **kw -- see SimpleDialog class 281 d = _QueryFloat(title, prompt, **kw) 285 def __init__(self, *args, **kw): 286 if "show" in kw: 287 self.__show = kw["show"] 288 del kw["show" [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...] |
Tix.py | 108 def tix_configure(self, cnf=None, **kw): 120 if kw: 121 cnf = _cnfmerge((cnf, kw)) 239 def config(self, cnf={}, **kw): 240 self.tk.call('tixForm', self._w, *self._options(cnf, kw)) 294 static_options=None, cnf={}, kw={}): 296 if kw: 297 cnf = _cnfmerge((cnf, kw)) 399 def image_create(self, imgtype, cnf={}, master=None, **kw): 404 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 | 411 def tk_setPalette(self, *args, **kw): 423 + _flatten(args) + _flatten(kw.items())) 565 def clipboard_get(self, **kw): 580 if 'type' not in kw and self._windowingsystem == 'x11': 582 kw['type'] = 'UTF8_STRING' 583 return self.tk.call(('clipboard', 'get') + self._options(kw)) 585 del kw['type'] 586 return self.tk.call(('clipboard', 'get') + self._options(kw)) 588 def clipboard_clear(self, **kw): 593 if 'displayof' not in kw: kw['displayof'] = self._ [all...] |
tkSimpleDialog.py | 251 def askinteger(title, prompt, **kw): 258 **kw -- see SimpleDialog class 262 d = _QueryInteger(title, prompt, **kw) 270 def askfloat(title, prompt, **kw): 277 **kw -- see SimpleDialog class 281 d = _QueryFloat(title, prompt, **kw) 285 def __init__(self, *args, **kw): 286 if "show" in kw: 287 self.__show = kw["show"] 288 del kw["show" [all...] |
/external/chromium_org/third_party/cython/src/Cython/Distutils/ |
extension.py | 44 **kw): 48 for key in kw.keys(): 51 kw['cython' + key[5:]] = kw.pop(key) 69 **kw) 87 **kw)
|
/external/chromium_org/third_party/jinja2/ |
defaults.py | 35 'dict': lambda **kw: kw,
|
/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/ |
getargs.pxd | 10 int PyArg_ParseTupleAndKeywords(object args, object kw, char *format, char *keywords[], ...) except 0 11 int PyArg_VaParseTupleAndKeywords(object args, object kw, char *format, char *keywords[], va_list vargs) except 0
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
_threading_local.py | 61 ... def __init__(self, **kw): 65 ... self.__dict__.update(kw) 151 def __new__(cls, *args, **kw): 155 object.__setattr__(self, '_local__args', (args, kw)) 158 if (args or kw) and (cls.__init__ is object.__init__): 181 args, kw = object.__getattribute__(self, '_local__args') 182 cls.__init__(self, *args, **kw)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
_threading_local.py | 61 ... def __init__(self, **kw): 65 ... self.__dict__.update(kw) 151 def __new__(cls, *args, **kw): 155 object.__setattr__(self, '_local__args', (args, kw)) 158 if (args or kw) and (cls.__init__ is object.__init__): 181 args, kw = object.__getattribute__(self, '_local__args') 182 cls.__init__(self, *args, **kw)
|