Home
last modified time | relevance | path

Searched refs:_log (Results 1 – 25 of 48) sorted by relevance

12

/external/python/cpython2/Lib/distutils/
Dlog.py19 def _log(self, level, msg, args): member in Log
34 self._log(level, msg, args)
37 self._log(DEBUG, msg, args)
40 self._log(INFO, msg, args)
43 self._log(WARN, msg, args)
46 self._log(ERROR, msg, args)
49 self._log(FATAL, msg, args)
/external/python/cpython3/Lib/distutils/
Dlog.py19 def _log(self, level, msg, args): member in Log
40 self._log(level, msg, args)
43 self._log(DEBUG, msg, args)
46 self._log(INFO, msg, args)
49 self._log(WARN, msg, args)
52 self._log(ERROR, msg, args)
55 self._log(FATAL, msg, args)
/external/autotest/server/cros/chaos_lib/
Dchaos_capture_analyzer.py404 self._log = logger
497 self._log.log_to_output_file(msg)
510 self._log.log_to_output_file(msg)
521 self._log.log_to_output_file(msg)
535 self._log.log_to_output_file(msg)
554 self._log.log_to_output_file(msg)
562 self._log.log_to_output_file(msg)
590 self._log.log_to_output_file("State Machine completed!")
598 self._log.log_to_output_file(msg)
609 self._log = logger
[all …]
Dchaos_log_analyzer.py27 self._log = logger
87 self._log.log_start_section("Extracted Messages Log")
92 self._log.log_to_output_file(lines)
95 self._log.log_start_section("Extracted Net Log")
109 self._log.log_to_output_file(lines)
/external/zstd/contrib/freestanding_lib/
Dfreestanding.py96 def _log(self, *args, **kwargs): member in PartialPreprocessor
248 self._log(f"\tHardwiring {macro}")
250 self._log(f"\t\t {self._inlines[start_idx - 1][:-1]}")
252 self._log(f"\t\t- {self._inlines[x][:-1]}")
254 self._log(f"\t\t+ {line[:-1]}")
256 self._log(f"\t\t {self._inlines[idx][:-1]}")
386 self._log(f"\tHardwiring partially resolved {macro}")
387 self._log(f"\t\t- {line[:-1]}")
388 self._log(f"\t\t+ {newline[:-1]}")
457 def _log(self, *args, **kwargs): member in Freestanding
[all …]
/external/emma/core/java12/com/vladium/logging/
DLogger.java184 _log (WARNING, null, msg, false); in warning()
195 _log (INFO, null, msg, false); in info()
206 _log (VERBOSE, null, msg, false); in verbose()
218 _log (TRACE1, method, msg, true); in trace1()
229 _log (TRACE2, method, msg, true); in trace2()
240 _log (TRACE3, method, msg, true); in trace3()
252 _log (level, null, msg, logCaller); in log()
265 _log (level, method, msg, logCaller); in log()
279 _log (level, null, msg, throwable); in log()
294 _log (level, method, msg, throwable); in log()
[all …]
/external/python/cpython2/Lib/
Drandom.py45 from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil unknown
60 LOG4 = _log(4.0)
61 SG_MAGICCONST = 1.0 + _log(4.5)
246 def _randbelow(self, n, _log=_log, _int=int, _maxwidth=1L<<BPF, argument
263 k = _int(1.00001 + _log(n-1, 2.0)) # 2**k > n-1 > 2**(k-2)
331 setsize += 4 ** _ceil(_log(k * 3, 4)) # table size for big sets
407 if zz <= -_log(u2):
440 return -_log(1.0 - self.random())/lambd
528 v = _log(u1/(1.0-u1))/ainv
532 if r + SG_MAGICCONST - 4.5*z >= 0.0 or r >= _log(z):
[all …]
/external/python/cpython3/Lib/
Drandom.py49 from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil unknown
94 LOG4 = _log(4.0)
95 SG_MAGICCONST = 1.0 + _log(4.5)
453 setsize += 4 ** _ceil(_log(k * 3, 4)) # table size for big sets
544 if zz <= -_log(u2):
580 g2rad = _sqrt(-2.0 * _log(1.0 - random()))
611 return -_log(1.0 - self.random()) / lambd
690 v = _log(u1 / (1.0 - u1)) / ainv
694 if r + SG_MAGICCONST - 4.5 * z >= 0.0 or r >= _log(z):
699 return -_log(1.0 - random()) * beta
[all …]
/external/python/cpython2/Lib/distutils/tests/
Dsupport.py32 self._old_log = log.Log._log
33 log.Log._log = self._log
38 log.Log._log = self._old_log
41 def _log(self, level, msg, args): member in LoggingSilencer
Dtest_dir_util.py17 def _log(self, msg, *args): member in DirUtilTestCase
31 log.info = self._log
Dtest_file_util.py18 def _log(self, msg, *args): member in FileUtilTestCase
28 log.info = self._log
/external/python/cpython3/Lib/distutils/tests/
Dsupport.py24 self._old_log = log.Log._log
25 log.Log._log = self._log
30 log.Log._log = self._old_log
33 def _log(self, level, msg, args): member in LoggingSilencer
Dtest_dir_util.py19 def _log(self, msg, *args): member in DirUtilTestCase
33 log.info = self._log
Dtest_file_util.py15 def _log(self, msg, *args): member in FileUtilTestCase
25 log.info = self._log
/external/autotest/site_utils/admin_audit/
Dmain.py136 _log("START", action)
144 _log("END_GOOD", action)
146 _log("END_FAIL", action, err)
150 def _log(status, action, err=None): function
/external/bazelbuild-rules_android/rules/
Dcommon.bzl18 load(":utils.bzl", "get_android_sdk", "get_android_toolchain", _log = "log")
31 _log.error("%s: does not have constraint '%s'" % (target.label, constraint))
40 _log.error("Missing _java_toolchain attr")
45 _log.error("Missing _host_javabase attr")
/external/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/
Dpopen_spawn.py97 self._log(r, 'read')
108 self._log(e, 'read')
138 self._log(s, 'send')
Dpty_spawn.py543 self._log(s, 'send')
561 self._log(s, 'send')
811 self._log(data, 'read')
823 self._log(data, 'send')
826 self._log(data, 'send')
/external/slf4j/slf4j-android/src/main/java/org/slf4j/impl/
DAndroidLoggerAdapter.java533 _log(priority, ft.getMessage(), ft.getThrowable()); in formatAndLog()
539 _log(priority, message, throwable); in log()
547 private void _log(int priority, String message, Throwable throwable) { in _log() method in AndroidLoggerAdapter
/external/python/setuptools/setuptools/tests/
Dtest_manifest.py328 self._old_log = log.Log._log
329 log.Log._log = self._log
334 log.Log._log = self._old_log
337 def _log(self, level, msg, args): member in TestFileListTest
/external/python/cpython2/Lib/test/
Dtest_random.py285 def test_randbelow_logic(self, _log=log, int=int): argument
292 k = int(1.00001 + _log(n, 2))
297 k = int(1.00001 + _log(n, 2))
302 k = int(1.00001 + _log(n, 2))
467 def test_randbelow_logic(self, _log=log, int=int): argument
474 k = int(1.00001 + _log(n, 2))
479 k = int(1.00001 + _log(n, 2))
484 k = int(1.00001 + _log(n, 2))
/external/tensorflow/tensorflow/tools/compatibility/
Dast_edits.py251 self._log = [] # Holds 4-tuples: severity, line, col, msg.
262 return [log for log in self._log if log[0] == ERROR]
266 return [log for log in self._log if log[0] == WARNING]
270 return [log for log in self._log if log[0] in (WARNING, ERROR)]
274 return [log for log in self._log if log[0] == INFO]
278 return self._log
281 self._log.append((severity, lineno, col, msg))
295 self._log.extend(logs)
/external/pigweed/pw_env_setup/py/pw_env_setup/
Denv_setup.py275 def _log(self, *args, **kwargs): member in EnvSetup
305 self._log(
330 self._log(' Setting up {name:.<{width}}...'.format(
344 self._log(result.status_str())
354 self._log('')
/external/python/cpython3/Lib/test/
Dtest_random.py504 def test_randbelow_logic(self, _log=log, int=int): argument
511 k = int(1.00001 + _log(n, 2))
516 k = int(1.00001 + _log(n, 2))
521 k = int(1.00001 + _log(n, 2))
741 def test_randbelow_logic(self, _log=log, int=int): argument
748 k = int(1.00001 + _log(n, 2))
753 k = int(1.00001 + _log(n, 2))
758 k = int(1.00001 + _log(n, 2))
1082 _log = random._log
/external/python/cpython3/Lib/logging/
D__init__.py1422 self._log(DEBUG, msg, args, **kwargs)
1434 self._log(INFO, msg, args, **kwargs)
1446 self._log(WARNING, msg, args, **kwargs)
1463 self._log(ERROR, msg, args, **kwargs)
1481 self._log(CRITICAL, msg, args, **kwargs)
1500 self._log(level, msg, args, **kwargs)
1553 def _log(self, level, msg, args, exc_info=None, extra=None, stack_info=False, member in Logger
1858 def _log(self, level, msg, args, exc_info=None, extra=None, stack_info=False): member in LoggerAdapter
1862 return self.logger._log(

12