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)
Dprofile.py598 globs = {
603 runctx(code, globs, None, options.outfile, options.sort)
/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.py174 globs = {
183 globs = {
189 runctx(code, globs, None, options.outfile, options.sort)
Dtrace.py722 globs = {
737 globs = {
743 t.runctx(code, globs, globs)
Dprofile.py594 globs = {
603 globs = {
609 runctx(code, globs, None, options.outfile, options.sort)
/external/tensorflow/tensorflow/python/keras/layers/
Dserialization.py90 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,
Dcore.py992 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/
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/tensorflow/tensorflow/python/autograph/pyct/
Dparser_test.py67 globs = {}
68 exec(code, globs) # pylint:disable=exec-used
69 return globs[name]
Dinspect_utils_test.py266 globs = six.get_function_globals(test_fn)
268 self.assertFalse(globs['free_function'] is free_function)
/external/tensorflow/tensorflow/python/ops/
Drnn_cell_wrapper_impl.py468 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/
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.rst395 ``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.gitignore10 # globs
/external/tensorflow/tensorflow/python/keras/utils/
Dgeneric_utils.py429 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/
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/python/cpython3/Lib/test/
Dtest_parser.py795 globs = {}
796 exec(code, globs)
797 self.assertEqual(globs['y'], 5)

12