/external/chromium_org/tools/gyp/test/lib/ |
TestGyp.py | 84 def __init__(self, gyp=None, *args, **kw): 99 kw.setdefault('match', TestCommon.match_exact) 103 workdir = os.path.join('out', kw.get('workdir', 'testworkarea')) 108 kw['workdir'] = tempfile.mktemp(prefix='testgyp.', dir=workdir) 110 formats = kw.pop('formats', []) 112 super(TestGypBase, self).__init__(*args, **kw) 132 def built_file_must_exist(self, name, type=None, **kw): 136 return self.must_exist(self.built_file_path(name, type, **kw)) 138 def built_file_must_not_exist(self, name, type=None, **kw): 142 return self.must_not_exist(self.built_file_path(name, type, **kw)) [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...] |
/external/chromium_org/third_party/jinja2/ |
defaults.py | 32 'dict': lambda **kw: 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)
|
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...] |
ScrolledText.py | 20 def __init__(self, master=None, **kw): 25 kw.update({'yscrollcommand': self.vbar.set}) 26 Text.__init__(self, self.frame, **kw)
|
/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...] |
ScrolledText.py | 20 def __init__(self, master=None, **kw): 25 kw.update({'yscrollcommand': self.vbar.set}) 26 Text.__init__(self, self.frame, **kw)
|
/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)
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/ |
genperf.c | 168 keyword *kw; local 186 STAILQ_FOREACH(kw, kws, link) { 189 k->name_k = yasm__xstrdup(kw->name); 190 k->len_k = (ub4)strlen(kw->name); 211 STAILQ_FOREACH(kw, kws, link) { 212 if (strcmp(kw->name, tabh[i].key_h->name_k) == 0) 215 if (!kw) { 220 fprintf(out, "#line %u \"%s\"\n", kw->line, filename); 221 fprintf(out, " {\"%s\"%s}", kw->name, kw->args) 271 keyword *kw; local [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/ |
named_params.hpp | 132 res_type operator[]( keyword<typename NP::id,true> kw ) const { return m_param[kw]; } 133 res_type operator[]( keyword<typename NP::id,false> kw ) const { return m_param[kw]; } 136 bool has( keyword<typename NP::id,false> kw ) const { return m_param.has( kw ); } 139 void erase( keyword<typename NP::id,false> kw ) const { m_param.erase( kw ); }
|