Home
last modified time | relevance | path

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

123

/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/rust/crates/grpcio-sys/grpc/tools/mkowners/
Dmkowners.py77 directive = Directive(who='*', globs=[])
79 (who, globs) = line.split(' ', 1)
80 globs_list = [glob for glob in globs.split(' ') if glob]
81 directive = Directive(who=who, globs=globs_list)
83 directive = Directive(who=line, globs=[])
147 globs = collections.OrderedDict()
150 for glob in directive.globs or ['**']:
151 if glob not in globs:
152 globs[glob] = []
153 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)
/external/python/cpython3/Lib/
Ddoctest.py183 def _extract_future_flags(globs): argument
190 feature = globs.get(fname, None)
528 def __init__(self, examples, globs, name, filename, lineno, docstring): argument
537 self.globs = globs.copy()
559 self.globs == other.globs and \
666 def get_doctest(self, string, globs, name, filename, lineno): argument
675 return DocTest(self.get_examples(string, name), globs,
845 def find(self, obj, name=None, module=None, globs=None, extraglobs=None): argument
925 if globs is None:
927 globs = {}
[all …]
DcProfile.py163 globs = {
172 globs = {
178 runctx(code, globs, None, options.outfile, options.sort)
Dprofile.py583 globs = {
592 globs = {
598 runctx(code, globs, None, options.outfile, options.sort)
Dtrace.py707 globs = {
722 globs = {
728 t.runctx(code, globs, globs)
/external/tensorflow/tensorflow/python/keras/
Dactivations.py533 globs = globals()
538 if key not in globs:
539 globs[key] = val
543 module_objects=globs,
/external/python/pyfakefs/pyfakefs/
Dfake_filesystem_unittest.py145 globs = _patcher.replace_globs(vars(module))
147 globs=globs,
595 doctester.globs = self.replace_globs(doctester.globs)
638 globs = globs_.copy()
642 if name in globs:
643 globs[name] = self._fake_module_classes[name](self.fs)
644 return globs
/external/tensorflow/tensorflow/python/keras/layers/legacy_rnn/
Drnn_cell_wrapper_impl.py471 globs = globals()
474 globs.update(sys.modules[module].__dict__)
480 globs.update(custom_objects)
491 config[func_attr_name], globs=globs)
/external/deqp-deps/amber/tools/
Dcheck_language.py171 globs = ['*']
173 for glob in globs:
/external/pigweed/pw_trace_tokenized/py/pw_trace_tokenized/
Dget_trace.py46 def _expand_globs(globs: Iterable[str]) -> Iterator[Path]:
47 for pattern in globs:
/external/pigweed/pw_hdlc/py/pw_hdlc/
Drpc_console.py83 def _expand_globs(globs: Iterable[str]) -> Iterator[Path]:
84 for pattern in globs:
/external/tensorflow/tensorflow/python/autograph/pyct/
Dparser_test.py244 globs = {}
245 exec(code, globs) # pylint:disable=exec-used
246 return globs[name]
/external/grpc-grpc/examples/csharp/HelloworldXamarin/
D.gitignore10 # 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/python/cpython2/Lib/test/
Dtest_parser.py632 globs = {}
633 exec code in globs
634 self.assertEqual(globs['y'], 5)
/external/tensorflow/tensorflow/python/keras/utils/
Dgeneric_utils.py698 def func_load(code, defaults=None, closure=None, globs=None): argument
741 if globs is None:
742 globs = globals()
744 code, globs, name=code.co_name, argdefs=defaults, closure=closure)
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dllvmlibc-restrict-system-libc-headers.rst29 the two wildcard characters are `*` and `-`, to include and exclude globs,
/external/python/cpython2/Lib/distutils/command/
Dbuild_py.py124 globs = (self.package_data.get('', [])
127 for pattern in globs:
/external/pigweed/pw_env_setup/py/pw_env_setup/
Denv_setup.py140 def _process_globs(globs): argument
142 for pat in globs:
156 if globs and not files:
/external/llvm-project/clang-tools-extra/docs/clang-tidy/
Dindex.rst38 negative (prefixed with ``-``) globs. Positive globs add subsets of checks,
39 negative globs remove them. For example,
126 Comma-separated list of globs with optional '-'
130 set, globs with the '-' prefix remove checks
/external/python/cpython3/Lib/distutils/command/
Dbuild_py.py123 globs = (self.package_data.get('', [])
126 for pattern in globs:

123