Home
last modified time | relevance | path

Searched refs:kwarg (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dpyparser.py213 if node.args.kwarg:
214 kwargnames.append(arg_stringname(node.args.kwarg))
223 self.listener.kwargs = node.args.kwarg
D_ast_util.py407 if node.kwarg is not None:
409 self.write('**' + arg_stringname(node.kwarg))
/external/autotest/client/bin/net/
Dnet_utils_mock.py12 def os_open(*args, **kwarg): argument
/external/trappy/trappy/
Dftrace.py418 def apply_callbacks(self, fn_map, *kwarg): argument
461 if kwarg:
462 fn_map[event_name](event_dict, kwarg)
/external/libmojo/third_party/jinja2/
Dcompiler.py529 for kwarg in chain((x.key for x in node.kwargs), extra_kwargs or ()):
530 if is_python_keyword(kwarg):
539 for kwarg in node.kwargs:
541 self.visit(kwarg, frame)
554 for kwarg in node.kwargs:
555 self.write('%r: ' % kwarg.key)
556 self.visit(kwarg.value, frame)
/external/python/cpython2/Parser/
DPython.asdl108 identifier? kwarg, expr* defaults)
/external/python/cpython2/Demo/parser/
Dunparse.py548 if t.kwarg:
551 self.write("**"+t.kwarg)
/external/python/cpython2/Lib/lib2to3/tests/data/
Dpy3_test_grammar.py283 def pos2key2dict(p1, p2, *, k1=100, k2, **kwarg): return p1,p2,k1,k2,kwarg argument
/external/python/cpython2/Python/
Dast.c671 identifier vararg = NULL, kwarg = NULL; in ast_for_arguments() local
787 kwarg = NEW_IDENTIFIER(CHILD(n, i+1)); in ast_for_arguments()
788 if (!kwarg) in ast_for_arguments()
800 return arguments(args, vararg, kwarg, defaults, c->c_arena); in ast_for_arguments()
1989 expr_ty vararg = NULL, kwarg = NULL; in ast_for_call() local
2102 kwarg = ast_for_expr(c, CHILD(n, i+1)); in ast_for_call()
2103 if (!kwarg) in ast_for_call()
2109 return Call(func, args, keywords, vararg, kwarg, func->lineno, in ast_for_call()
Dsymtable.c1374 if (a->kwarg) { in symtable_visit_arguments()
1375 if (!symtable_add_def(st, a->kwarg, DEF_PARAM)) in symtable_visit_arguments()
DPython-ast.c2079 arguments(asdl_seq * args, identifier vararg, identifier kwarg, asdl_seq * in arguments() argument
2088 p->kwarg = kwarg; in arguments()
3243 value = ast2obj_identifier(o->kwarg); in ast2obj_arguments()
6593 identifier kwarg; in obj2ast_arguments() local
6640 res = obj2ast_identifier(tmp, &kwarg, arena); in obj2ast_arguments()
6645 kwarg = NULL; in obj2ast_arguments()
6676 *out = arguments(args, vararg, kwarg, defaults, arena); in obj2ast_arguments()
/external/python/cpython2/Include/
DPython-ast.h360 identifier kwarg; member
527 kwarg, asdl_seq * defaults, PyArena *arena);
/external/python/cpython2/Doc/library/
Djson.rst184 *cls* kwarg; otherwise :class:`JSONEncoder` is used.
261 kwarg; otherwise :class:`JSONDecoder` is used. Additional keyword arguments
Dfunctions.rst291 .. class:: dict(**kwarg)
292 dict(mapping, **kwarg)
293 dict(iterable, **kwarg)
Dstdtypes.rst2049 .. class:: dict(**kwarg)
2050 dict(mapping, **kwarg)
2051 dict(iterable, **kwarg)
/external/python/cpython2/Doc/tutorial/
Dcontrolflow.rst408 of the form ``kwarg=value``. For instance, the following function::