/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)
|
/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 | 151 globs = { 160 globs = { 166 runctx(code, globs, None, options.outfile, options.sort)
|
D | trace.py | 706 globs = { 712 t.runctx(code, globs, globs)
|
D | profile.py | 577 globs = { 583 runctx(code, globs, None, options.outfile, options.sort)
|
/external/v8/tools/testrunner/testproc/ |
D | filter.py | 72 for s, globs in self._globs.iteritems(): 73 if not globs or '*' in globs: 77 globs = self._globs.get(test.suite.name, []) 78 for g in globs:
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | serialization.py | 67 globs = globals() # All layers. 68 globs['Network'] = models.Network 69 globs['Model'] = models.Model 70 globs['Sequential'] = models.Sequential 74 module_objects=globs,
|
D | core.py | 832 globs = globals() 835 globs.update(sys.modules[module].__dict__) 842 globs.update(custom_objects) 852 function = generic_utils.func_load(config['function'], globs=globs) 858 globs.update(sys.modules[output_shape_module].__dict__) 874 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/v8/tools/testrunner/local/ |
D | testsuite.py | 189 globs = [] 197 globs.append(path) 200 for g in globs:
|
/external/v8/tools/release/ |
D | filter_build_files.py | 76 def add_files_from_globs(globs): argument 77 list_of_files.extend(itertools.chain(*map(glob.iglob, globs)))
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | generic_utils.py | 242 def func_load(code, defaults=None, closure=None, globs=None): argument 285 if globs is None: 286 globs = globals() 288 code, globs, name=code.co_name, argdefs=defaults, closure=closure)
|
/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 | 397 ``globs=your_dict`` to :func:`testmod` or :func:`testfile` instead. 839 .. function:: testfile(filename, module_relative=True, name=None, package=None, globs=None, verbose… 870 Optional argument *globs* gives a dict to be used as the globals when executing 876 execute examples. This works like :meth:`dict.update`: if *globs* and 909 .. function:: testmod(m=None, name=None, globs=None, verbose=None, report=True, optionflags=0, extr… 938 *raise_on_error*, and *globs* are the same as for function :func:`testfile` 939 above, except that *globs* defaults to ``m.__dict__``. 942 .. function:: run_docstring_examples(f, globs, verbose=False, name="NoName", compileflags=None, opt… 947 A shallow copy of dictionary argument *globs* is used for the execution context. 957 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/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/tensorflow/tensorflow/python/autograph/pyct/ |
D | inspect_utils_test.py | 147 globs = six.get_function_globals(test_fn) 149 self.assertFalse(globs['free_function'] is free_function)
|
/external/python/cpython3/Lib/test/ |
D | test_parser.py | 725 globs = {} 726 exec(code, globs) 727 self.assertEqual(globs['y'], 5)
|