/external/bcc/tests/python/ |
D | utils.py | 18 def __init__(self, nsname, *argv, **kwarg): argument 21 super(NSPopenWithCheck, self).__init__(nsname, *argv, **kwarg)
|
/external/scapy/scapy/ |
D | asn1fields.py | 280 for kwarg in ["context", "implicit_tag", 282 if kwarg in kwargs: 283 setattr(self, kwarg, kwargs[kwarg]) 285 setattr(self, kwarg, None) 443 for kwarg in ["context", "explicit_tag"]: 444 if kwarg in kwargs: 445 setattr(self, kwarg, kwargs[kwarg]) 447 setattr(self, kwarg, None)
|
/external/python/cpython3/Lib/test/ |
D | test_keywordonlyarg.py | 8 def posonly_sum(pos_arg1, *arg, **kwarg): argument 9 return pos_arg1 + sum(arg) + sum(kwarg.values()) 14 def keywordonly_and_kwarg_sum(*, k1, k2, **kwarg): argument 15 return k1 + k2 + sum(kwarg.values())
|
/external/tensorflow/tensorflow/contrib/opt/python/training/ |
D | external_optimizer.py | 388 for kwarg in minimize_kwargs: 389 if kwarg in optimizer_kwargs: 390 if kwarg == 'bounds': 397 'automatically and cannot be injected manually'.format(kwarg))
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_Cumprod.pbtxt | 39 By setting the `exclusive` kwarg to `True`, an exclusive cumprod is 46 By setting the `reverse` kwarg to `True`, the cumprod is performed in the
|
D | api_def_Cumsum.pbtxt | 39 By setting the `exclusive` kwarg to `True`, an exclusive cumsum is 46 By setting the `reverse` kwarg to `True`, the cumsum is performed in the
|
/external/python/mock/mock/tests/ |
D | testpatch.py | 1711 for kwarg in ('spec', 'spec_set', 'autospec'): 1713 **{kwarg: True}) 1718 p = patch(MODNAME, create=True, **{kwarg: True}) 1725 for kwarg in ('spec', 'spec_set'): 1726 p = patch(MODNAME, autospec=0, **{kwarg: 0}) 1730 for kwarg in ('spec', 'autospec'): 1731 p = patch(MODNAME, spec_set=0, **{kwarg: 0}) 1735 for kwarg in ('spec_set', 'autospec'): 1736 p = patch(MODNAME, spec=0, **{kwarg: 0}) 1753 for kwarg in ('spec', 'autospec', 'spec_set'): [all …]
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testpatch.py | 1730 for kwarg in ('spec', 'spec_set', 'autospec'): 1732 **{kwarg: True}) 1737 p = patch(MODNAME, create=True, **{kwarg: True}) 1744 for kwarg in ('spec', 'spec_set'): 1745 p = patch(MODNAME, autospec=0, **{kwarg: 0}) 1749 for kwarg in ('spec', 'autospec'): 1750 p = patch(MODNAME, spec_set=0, **{kwarg: 0}) 1754 for kwarg in ('spec_set', 'autospec'): 1755 p = patch(MODNAME, spec=0, **{kwarg: 0}) 1772 for kwarg in ('spec', 'autospec', 'spec_set'): [all …]
|
/external/tensorflow/tensorflow/python/layers/ |
D | base.py | 359 for kwarg in kwargs: 360 if kwarg != 'experimental_autocast': 361 raise TypeError('Unknown keyword argument:', kwarg)
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | pretty_printer_test.py | 44 kwarg=None,
|
D | compiler_test.py | 79 kwarg=None,
|
/external/tensorflow/tensorflow/python/util/ |
D | tf_inspect_test.py | 219 def func(m, n, **kwarg): argument 220 return m * n + len(kwarg) 425 def func(m, n, **kwarg): argument 426 return m * n + len(kwarg)
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | base_layer.py | 134 for kwarg in kwargs: 135 if kwarg not in allowed_kwargs: 136 raise TypeError('Keyword argument not understood:', kwarg) 317 for kwarg in kwargs: 318 if kwarg not in ['getter', 'collections', 'experimental_autocast']: 319 raise TypeError('Unknown keyword argument:', kwarg)
|
/external/tensorflow/tensorflow/tools/compatibility/ |
D | ast_edits.py | 289 for (kwarg, arg), (level, warning) in sorted(arg_warnings.items()): 290 present, _ = get_arg_value(node, kwarg, arg) 296 (full_name or name, kwarg, warning_message))
|
/external/python/cpython3/Tools/parser/ |
D | unparse.py | 634 if t.kwarg: 637 self.write("**"+t.kwarg.arg) 638 if t.kwarg.annotation: 640 self.dispatch(t.kwarg.annotation)
|
/external/autotest/client/bin/net/ |
D | net_utils_mock.py | 12 def os_open(*args, **kwarg): argument
|
/external/libchrome/third_party/jinja2/ |
D | compiler.py | 419 for kwarg in chain((x.key for x in node.kwargs), extra_kwargs or ()): 420 if is_python_keyword(kwarg): 429 for kwarg in node.kwargs: 431 self.visit(kwarg, frame) 444 for kwarg in node.kwargs: 445 self.write('%r: ' % kwarg.key) 446 self.visit(kwarg.value, frame)
|
/external/python/cpython3/Lib/ |
D | inspect.py | 1377 for kwarg in kwonlyargs: 1378 if kwarg not in arg2value: 1379 if kwonlydefaults and kwarg in kwonlydefaults: 1380 arg2value[kwarg] = kwonlydefaults[kwarg] 2077 if f.args.kwarg: 2079 p(f.args.kwarg, empty)
|
/external/tensorflow/tensorflow/python/autograph/pyct/common_transformers/ |
D | anf_test.py | 162 call_something(a + b, y * z, kwarg=c + d, *(e + f), **(g + h + i)) 171 call_something(tmp_1002, tmp_1003, kwarg=tmp_1005, *tmp_1004, **tmp_1006)
|
/external/python/cpython3/Python/ |
D | symtable.c | 1566 if (a->kwarg && a->kwarg->annotation) in symtable_visit_annotations() 1567 VISIT(st, expr, a->kwarg->annotation); in symtable_visit_annotations() 1590 if (a->kwarg) { in symtable_visit_arguments() 1591 if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM)) in symtable_visit_arguments()
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/ |
D | experiment_test.py | 130 for kwarg in kwargs: 131 if kwarg not in supported_args: 133 'Argument `{}` is not supported in method {}.'.format(kwarg, method))
|
/external/tensorflow/tensorflow/tools/docs/ |
D | parser.py | 680 for kwarg in (func.keywords or []): 681 if kwarg in (argspec.args or []): 682 i = argspec_args.index(kwarg)
|
/external/python/cpython2/Parser/ |
D | Python.asdl | 108 identifier? kwarg, expr* defaults)
|
/external/python/cpython2/Demo/parser/ |
D | unparse.py | 548 if t.kwarg: 551 self.write("**"+t.kwarg)
|
/external/python/cpython2/Lib/lib2to3/tests/data/ |
D | py3_test_grammar.py | 283 def pos2key2dict(p1, p2, *, k1=100, k2, **kwarg): return p1,p2,k1,k2,kwarg argument
|