/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
H A D | javascript.js | 26 function kw(type) {return {type: type, style: "keyword"};} 27 var A = kw("keyword a"), B = kw("keyword b"), C = kw("keyword c"); 28 var operator = kw("operator"), atom = {type: "atom", style: "atom"}; 31 "if": kw("if"), "while": A, "with": A, "else": B, "do": B, "try": B, "finally": B, 33 "var": kw("var"), "const": kw("var"), "let": kw("var"), 34 "function": kw("functio [all...] |
/external/chromium_org/tools/gyp/test/lib/ |
H A D | 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...] |
H A D | TestCommon.py | 213 def __init__(self, **kw): 218 apply(TestCmd.__init__, [self], kw) 440 **kw): 446 options = kw.pop('options', None) 456 kw) 474 def finish(self, popen, stdout = None, stderr = '', status = 0, **kw): 492 apply(TestCmd.finish, (self, popen,), kw) 493 match = kw.get('match', self.match) 498 stdout = None, stderr = '', status = 0, **kw): 528 kw['argument [all...] |
H A D | TestCmd.py | 595 def __init__(self, command, **kw): 653 def __init__(self, command, **kw): 654 if kw.get('stderr') == 'STDOUT': 661 def wait(self, *args, **kw): 662 resultcode = apply(popen2.Popen3.wait, (self,)+args, kw) 1030 def diff(self, a, b, name, *args, **kw): 1036 def diff(self, a, b, name, *args, **kw): 1039 lines = apply(self.diff_function, args, kw) 1149 **kw): 1167 stdin = kw [all...] |
/external/chromium_org/build/android/pylib/device/ |
H A D | 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 [all...] |
/external/chromium_org/third_party/cython/src/Cython/Distutils/ |
H A D | 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/yasm/source/patched-yasm/tools/python-yasm/pyxelator/ |
H A D | 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...] |
H A D | lexer.py | 25 def __init__(self,s="",verbose=0,**kw): 42 for key in kw.keys(): 43 self.__dict__[key] = kw[key]
|
H A D | node.py | 17 def __init__(self,*items,**kw): 22 for key in kw.keys(): 23 self.__dict__[key] = kw[key]
|
/external/chromium_org/third_party/jinja2/ |
H A D | defaults.py | 35 'dict': lambda **kw: kw,
|
/external/chromium_org/third_party/simplejson/ |
H A D | __init__.py | 150 **kw): 224 and not bigint_as_string and not item_sort_key and not kw): 238 **kw).iterencode(obj) 250 **kw): 320 and not item_sort_key and not kw): 334 **kw).encode(obj) 344 **kw): 395 use_decimal=use_decimal, **kw) 400 use_decimal=False, **kw): 450 and not use_decimal and not kw) [all...] |
/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/ |
H A D | 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
|
/external/chromium_org/third_party/cython/src/Cython/Debugger/ |
H A D | DebugWriter.py | 69 kw = {} 71 kw['pretty_print'] = True 74 et.write(os.path.join(self.output_dir, fn), encoding="UTF-8", **kw)
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/ |
H A D | 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 271 keyword *kw; local [all...] |
/external/chromium_org/tools/gyp/test/analyzer/ |
H A D | gyptest-analyzer.py | 48 def run_analyzer(*args, **kw): 51 test.run_gyp('test.gyp', *args, **kw) 54 def run_analyzer2(*args, **kw): 57 test.run_gyp('test2.gyp', *args, **kw) 60 def run_analyzer3(*args, **kw): 63 test.run_gyp('test3.gyp', *args, **kw) 66 def run_analyzer4(*args, **kw): 69 test.run_gyp('test4.gyp', *args, **kw)
|
/external/llvm/utils/emacs/ |
H A D | tablegen-mode.el | 15 (let ((kw (regexp-opt '("class" "defm" "def" "field" "include" "in" 18 (type-kw (regexp-opt '("bit" "bits" "code" "dag" "int" "list" "string") 37 (cons (concat kw "[ \n\t(]") 1) 40 (cons (concat type-kw "[ \n\t(]") 1)
|
/external/chromium_org/tools/gyp/pylib/gyp/ |
H A D | __init__.py | 243 def add_option(self, *args, **kw): 255 env_name = kw.pop('env_name', None) 256 if 'dest' in kw and kw.pop('regenerate', True): 257 dest = kw['dest'] 261 type = kw.get('type') 263 kw['type'] = 'string' 266 'action': kw.get('action'), 272 optparse.OptionParser.add_option(self, *args, **kw)
|
/external/chromium_org/chrome/tools/build/win/ |
H A D | syzygy_reorder.py | 26 def _Shell(*cmd, **kw): 29 prog = subprocess.Popen(cmd, **kw)
|
H A D | syzygy_instrument.py | 29 def _Shell(*cmd, **kw): 32 prog = subprocess.Popen(cmd, **kw)
|
/external/chromium_org/third_party/cython/src/Cython/Utility/ |
H A D | CythonFunction.c | 560 static PyObject * __Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) { argument 568 if (likely(kw == NULL) || PyDict_Size(kw) == 0) 572 return (*(PyCFunctionWithKeywords)meth)(self, arg, kw); 574 if (likely(kw == NULL) || PyDict_Size(kw) == 0) { 585 if (likely(kw == NULL) || PyDict_Size(kw) == 0) { 607 static PyObject * __Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) { argument 608 return PyCFunction_Call(func, arg, kw); 929 __pyx_FusedFunction_callfunction(PyObject *func, PyObject *args, PyObject *kw) argument 973 __pyx_FusedFunction_call(PyObject *func, PyObject *args, PyObject *kw) argument [all...] |
/external/chromium_org/third_party/cython/src/Cython/Tempita/ |
H A D | _tempita.py | 23 ``string.Template``) you can call the ``tmpl.substitute(**kw)`` 26 ``sub(content, **kw)`` substitutes the template immediately. You 162 def substitute(self, *args, **kw): 164 if kw: 174 kw = args[0] 175 ns = kw 380 def sub(content, delimeters=None, **kw): 381 name = kw.get('__name') 383 return tmpl.substitute(kw) 393 def __init__(self, **kw) [all...] |
/external/chromium_org/build/win/importlibs/ |
H A D | create_importlib_win.py | 58 def _Shell(self, cmd, **kw): 59 ret = subprocess.call(cmd, **kw)
|
/external/chromium_org/third_party/cython/src/Cython/Compiler/ |
H A D | UtilityCode.py | 8 def __init__(self, prefix, *args, **kw): 11 Symtab.ModuleScope.__init__(self, *args, **kw)
|
/external/chromium_org/tools/grit/grit/ |
H A D | util.py | 301 def FixupClosure(*args, **kw): 302 if not param_name in kw: 303 kw[param_name] = param_value 304 return function(*args, **kw)
|
/external/valgrind/main/coregrind/m_gdbserver/ |
H A D | m_gdbserver.c | 1308 HChar* kw; /* current keyword, its length, its position */ local 1332 for (kw = VG_(strtok_r) (kwds, " ", &kwdssaveptr); 1333 kw != NULL; 1334 kw = VG_(strtok_r) (NULL, " ", &kwdssaveptr)) { 1335 kwl = VG_(strlen) (kw); 1341 if (VG_(strcmp) (kw, iw) == 0) { 1344 VG_(gdb_printf) (" %s", kw); 1351 if (VG_(strncmp) (iw, kw, il) == 0) { 1354 VG_(gdb_printf) (" %s", kw);
|