Home
last modified time | relevance | path

Searched refs:globs (Results 1 – 25 of 43) sorted by relevance

12

/external/grpc-grpc/tools/mkowners/
Dmkowners.py78 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/
Ddoctest.py178 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 …]
DcProfile.py187 globs = {
192 runctx(code, globs, None, options.outfile, options.sort)
DAndroid.bp37 // TODO(nanzhang): make exclude_srcs support globs.
Dtrace.py801 globs = {
807 t.runctx(code, globs, globs)
/external/python/cpython3/Lib/
Ddoctest.py183 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 …]
DcProfile.py151 globs = {
160 globs = {
166 runctx(code, globs, None, options.outfile, options.sort)
Dtrace.py706 globs = {
712 t.runctx(code, globs, globs)
Dprofile.py577 globs = {
583 runctx(code, globs, None, options.outfile, options.sort)
/external/v8/tools/testrunner/testproc/
Dfilter.py72 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/
Dserialization.py67 globs = globals() # All layers.
68 globs['Network'] = models.Network
69 globs['Model'] = models.Model
70 globs['Sequential'] = models.Sequential
74 module_objects=globs,
Dcore.py832 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/
Dtargets.py19 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/
Dtestsuite.py189 globs = []
197 globs.append(path)
200 for g in globs:
/external/v8/tools/release/
Dfilter_build_files.py76 def add_files_from_globs(globs): argument
77 list_of_files.extend(itertools.chain(*map(glob.iglob, globs)))
/external/tensorflow/tensorflow/python/keras/utils/
Dgeneric_utils.py242 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/
Ddoctest.rst410 ``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/
Ddoctest.rst397 ``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.gitignore10 # globs
/external/python/cpython2/Lib/test/
Dtest_parser.py632 globs = {}
633 exec code in globs
634 self.assertEqual(globs['y'], 5)
/external/autotest/server/site_tests/brillo_Gtests/
Dcontrol16 --args='filter="*glob* *test*"' # Only run tests matching the globs.
/external/python/cpython2/Lib/distutils/command/
Dbuild_py.py124 globs = (self.package_data.get('', [])
127 for pattern in globs:
/external/python/cpython3/Lib/distutils/command/
Dbuild_py.py123 globs = (self.package_data.get('', [])
126 for pattern in globs:
/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils_test.py147 globs = six.get_function_globals(test_fn)
149 self.assertFalse(globs['free_function'] is free_function)
/external/python/cpython3/Lib/test/
Dtest_parser.py725 globs = {}
726 exec(code, globs)
727 self.assertEqual(globs['y'], 5)

12