/external/grpc-grpc/tools/mkowners/ |
D | mkowners.py | 78 directive = Directive(who='*', globs=[]) 80 (who, globs) = line.split(' ', 1) 81 globs_list = [glob for glob in globs.split(' ') if glob] 82 directive = Directive(who=who, globs=globs_list) 84 directive = Directive(who=line, globs=[]) 150 globs = collections.OrderedDict() 153 for glob in directive.globs or ['**']: 154 if glob not in globs: 155 globs[glob] = [] 156 if directive.who not in globs[glob]: [all …]
|
/external/python/cpython2/Lib/ |
D | doctest.py | 178 def _extract_future_flags(globs): argument 185 feature = globs.get(fname, None) 523 def __init__(self, examples, globs, name, filename, lineno, docstring): argument 532 self.globs = globs.copy() 553 self.globs == other.globs and \ 662 def get_doctest(self, string, globs, name, filename, lineno): argument 671 return DocTest(self.get_examples(string, name), globs, 841 def find(self, obj, name=None, module=None, globs=None, extraglobs=None): argument 912 if globs is None: 914 globs = {} [all …]
|
D | cProfile.py | 187 globs = { 192 runctx(code, globs, None, options.outfile, options.sort)
|
D | Android.bp | 37 // TODO(nanzhang): make exclude_srcs support globs.
|
D | trace.py | 801 globs = { 807 t.runctx(code, globs, globs)
|
D | profile.py | 598 globs = { 603 runctx(code, globs, None, options.outfile, options.sort)
|
/external/python/cpython3/Lib/ |
D | doctest.py | 183 def _extract_future_flags(globs): argument 190 feature = globs.get(fname, None) 521 def __init__(self, examples, globs, name, filename, lineno, docstring): argument 530 self.globs = globs.copy() 552 self.globs == other.globs and \ 659 def get_doctest(self, string, globs, name, filename, lineno): argument 668 return DocTest(self.get_examples(string, name), globs, 838 def find(self, obj, name=None, module=None, globs=None, extraglobs=None): argument 918 if globs is None: 920 globs = {} [all …]
|
D | cProfile.py | 174 globs = { 183 globs = { 189 runctx(code, globs, None, options.outfile, options.sort)
|
D | trace.py | 722 globs = { 737 globs = { 743 t.runctx(code, globs, globs)
|
D | profile.py | 594 globs = { 603 globs = { 609 runctx(code, globs, None, options.outfile, options.sort)
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | serialization.py | 90 globs = globals() # All layers. 91 globs['Network'] = models.Network 92 globs['Model'] = models.Model 93 globs['Sequential'] = models.Sequential 94 globs['LinearModel'] = LinearModel 95 globs['WideDeepModel'] = WideDeepModel 98 globs['DenseFeatures'] = dense_features.DenseFeatures 99 globs['SequenceFeatures'] = sfc.SequenceFeatures 107 module_objects=globs,
|
D | core.py | 992 globs = globals() 995 globs.update(sys.modules[module].__dict__) 1002 globs.update(custom_objects) 1013 config[func_attr_name], globs=globs)
|
/external/swiftshader/third_party/subzero/pydir/ |
D | targets.py | 19 globs = glob.glob('/usr/mipsel-linux-gnu/include/c++/*/mipsel-linux-gnu') 20 return globs[-1] if globs else '/invalid/mips/include/path'
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | parser_test.py | 67 globs = {} 68 exec(code, globs) # pylint:disable=exec-used 69 return globs[name]
|
D | inspect_utils_test.py | 266 globs = six.get_function_globals(test_fn) 268 self.assertFalse(globs['free_function'] is free_function)
|
/external/tensorflow/tensorflow/python/ops/ |
D | rnn_cell_wrapper_impl.py | 468 globs = globals() 471 globs.update(sys.modules[module].__dict__) 477 globs.update(custom_objects) 488 config[func_attr_name], globs=globs)
|
/external/python/cpython2/Doc/library/ |
D | doctest.rst | 410 ``globs=your_dict`` to :func:`testmod` or :func:`testfile` instead. 846 .. function:: testfile(filename[, module_relative][, name][, package][, globs][, verbose][, report]… 877 Optional argument *globs* gives a dict to be used as the globals when executing 883 execute examples. This works like :meth:`dict.update`: if *globs* and 920 .. function:: testmod([m][, name][, globs][, verbose][, report][, optionflags][, extraglobs][, rais… 949 *raise_on_error*, and *globs* are the same as for function :func:`testfile` 950 above, except that *globs* defaults to ``m.__dict__``. 962 .. function:: run_docstring_examples(f, globs[, verbose][, name][, compileflags][, optionflags]) 967 A shallow copy of dictionary argument *globs* is used for the execution context. 977 flags are deduced corresponding to the set of future features found in *globs*. [all …]
|
/external/python/cpython3/Doc/library/ |
D | doctest.rst | 395 ``globs=your_dict`` to :func:`testmod` or :func:`testfile` instead. 841 .. function:: testfile(filename, module_relative=True, name=None, package=None, globs=None, verbose… 872 Optional argument *globs* gives a dict to be used as the globals when executing 878 execute examples. This works like :meth:`dict.update`: if *globs* and 911 .. function:: testmod(m=None, name=None, globs=None, verbose=None, report=True, optionflags=0, extr… 940 *raise_on_error*, and *globs* are the same as for function :func:`testfile` 941 above, except that *globs* defaults to ``m.__dict__``. 944 .. function:: run_docstring_examples(f, globs, verbose=False, name="NoName", compileflags=None, opt… 949 A shallow copy of dictionary argument *globs* is used for the execution context. 959 flags are deduced corresponding to the set of future features found in *globs*. [all …]
|
/external/grpc-grpc/examples/csharp/HelloworldXamarin/ |
D | .gitignore | 10 # globs
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | generic_utils.py | 429 def func_load(code, defaults=None, closure=None, globs=None): argument 472 if globs is None: 473 globs = globals() 475 code, globs, name=code.co_name, argdefs=defaults, closure=closure)
|
/external/python/cpython2/Lib/test/ |
D | test_parser.py | 632 globs = {} 633 exec code in globs 634 self.assertEqual(globs['y'], 5)
|
/external/autotest/server/site_tests/brillo_Gtests/ |
D | control | 16 --args='filter="*glob* *test*"' # Only run tests matching the globs.
|
/external/python/cpython2/Lib/distutils/command/ |
D | build_py.py | 124 globs = (self.package_data.get('', []) 127 for pattern in globs:
|
/external/python/cpython3/Lib/distutils/command/ |
D | build_py.py | 123 globs = (self.package_data.get('', []) 126 for pattern in globs:
|
/external/python/cpython3/Lib/test/ |
D | test_parser.py | 795 globs = {} 796 exec(code, globs) 797 self.assertEqual(globs['y'], 5)
|