Home
last modified time | relevance | path

Searched refs:_warn (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/llvm/utils/
Dupdate_mca_test_checks.py31 def _warn(msg): function
81 _warn('unexpected binary name: {}'.format(args.llvm_mca_binary))
93 _warn('could not split tool and filecheck commands: {}'.format(run_line))
100 _warn('skipping non-{} RUN line: {}'.format(tool_basename, run_line))
104 _warn('skipping non-FileCheck RUN line: {}'.format(run_line))
165 _warn('multiple lines not disambiguated by prefixes:\n{}\n'
196 _warn('Multiple prefixes common to all RUN lines: {}'.format(
370 _warn('Multiple prefixes generating same output: {} '
405 _warn('not writing for prefix {0} due to presence of "{0}-NOT:" '
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_config.py197 cls.orig_warn = config._warn
198 config._warn = Func()
202 config._warn = cls.orig_warn
328 with mock.patch('idlelib.config._warn') as _warn:
332 eq(_warn.call_count, 4)
792 config._warn('warning', 'key')
796 config._warn('warning', 'key')
799 config._warn('warn2', 'yek')
/external/python/cpython3/Lib/idlelib/
Dconfig.py237 _warn(warning, configType, section, option)
251 _warn(warning, configType, section, option)
352 _warn(warning, 'highlight', themeName, element)
669 _warn(warning, 'keys', keySetName)
684 _warn(warning, 'keys', keySetName, event)
769 def _warn(msg, *key): function
/external/python/cpython3/Lib/asyncio/
Dwindows_utils.py110 def __del__(self, _warn=warnings.warn): argument
112 _warn(f"unclosed {self!r}", ResourceWarning, source=self)
Dbase_subprocess.py123 def __del__(self, _warn=warnings.warn): argument
125 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
Dunix_events.py538 def __del__(self, _warn=warnings.warn): argument
540 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
737 def __del__(self, _warn=warnings.warn): argument
739 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
1362 def __del__(self, _warn=warnings.warn): argument
1366 _warn(f"{self.__class__} has registered but not finished child processes",
Dsslproto.py318 def __del__(self, _warn=warnings.warn): argument
320 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
Dproactor_events.py113 def __del__(self, _warn=warnings.warn): argument
115 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
Dselector_events.py702 def __del__(self, _warn=warnings.warn): argument
704 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
Dbase_events.py679 def __del__(self, _warn=warnings.warn): argument
681 _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self)
/external/python/cpython3/Lib/
Drandom.py48 from warnings import warn as _warn unknown
158 _warn('Seeding based on hashing is deprecated\n'
257 _warn("Underlying random() generator does not supply \n"
364 _warn('The *random* parameter to shuffle() has been deprecated\n'
428 _warn('Sampling from a set deprecated\n'
Dsubprocess.py1041 def __del__(self, _maxsize=sys.maxsize, _warn=warnings.warn): argument
1048 _warn("subprocess %s is still running" % self.pid,
/external/python/cpython2/Lib/distutils/tests/
Dtest_dist.py166 def _warn(msg): function
170 warnings.warn = _warn
/external/python/cpython3/Lib/distutils/tests/
Dtest_dist.py177 def _warn(msg): function
181 warnings.warn = _warn
/external/python/cpython2/Lib/
Drandom.py43 from warnings import warn as _warn unknown
269 _warn("Underlying random() generator does not supply \n"
/external/tensorflow/tensorflow/python/keras/layers/
Dcore.py953 self._warn(textwrap.dedent(
964 def _warn(self, msg): member in Lambda
1395 self._warn(textwrap.dedent(
1406 def _warn(self, msg): member in TFOpLambda
Dcore_test.py366 layer._warn = patched_warn
/external/bazelbuild-rules_android/rules/
Dutils.bzl226 def _warn(msg):
446 warn = _warn,
/external/python/cpython3/Lib/multiprocessing/
Dpool.py263 def __del__(self, _warn=warnings.warn, RUN=RUN): argument
265 _warn(f"unclosed running multiprocessing pool {self!r}",
/external/mesa3d/src/compiler/glsl/
Dglsl_parser_extras.cpp623 &_mesa_glsl_parse_state::NAME##_warn }
628 &_mesa_glsl_parse_state::NAME##_warn }