/external/webkit/Tools/Scripts/webkitpy/common/system/ |
D | stack_utils.py | 35 def log_thread_state(logger, name, thread_id, msg=''): argument 39 logger("") 40 logger("%s (tid %d) %s" % (name, thread_id, msg)) 41 _log_stack(logger, stack) 42 logger("") 54 def _log_stack(logger, stack): argument 57 logger('File: "%s", line %d, in %s' % (filename, lineno, name)) 59 logger(' %s' % line.strip()) 62 def log_traceback(logger, tb): argument 67 logger(" %s" % line)
|
D | logutils_unittest.py | 39 logger = logutils.get_logger(__file__) 40 self.assertEquals(logger.name, "webkitpy.common.system.logutils_unittest") 49 logger = logutils.get_logger("/Tools/Scripts/test-webkitpy") 50 self.assertEquals(logger.name, "test-webkitpy") 52 logger = logutils.get_logger("/Tools/Scripts/test-webkitpy.py") 53 self.assertEquals(logger.name, "test-webkitpy") 70 logger = logging.getLogger("unittest") 76 logger.propagate = False 80 logger=logger, 82 self._log = logger [all …]
|
D | logutils.py | 158 def configure_logging(logging_level=None, logger=None, stream=None, argument 193 if logger is None: 194 logger = logging.getLogger() 200 logger.setLevel(logging_level) 203 logger.addHandler(handler)
|
D | stack_utils_unittest.py | 54 def logger(msg): function 58 stack_utils.log_thread_state(logger, "test-thread", thread_id, 65 def logger(msg): function 71 stack_utils.log_traceback(logger, sys.exc_info()[2])
|
D | logtesting.py | 158 logger = LogTesting._getLogger() 159 logger.addHandler(handler) 173 logger = LogTesting._getLogger() 174 logger.removeHandler(self._handler)
|
/external/android-mock/src/com/google/android/testing/mocking/ |
D | UsesMocksProcessor.java | 64 ProcessorLogger logger; field in UsesMocksProcessor 78 logger.printMessage(Kind.ERROR, e); in process() 80 logger.close(); in process() 94 logger.printMessage(Kind.NOTE, "Found " + classesToMock.size() + " classes to mock"); in getMocksFor() 98 logger.printMessage(Kind.NOTE, "Regenerating Framework Mocks on Request"); in getMocksFor() 102 logger.printMessage(Kind.NOTE, "Found " + mockedClassesSet.size() in getMocksFor() 113 logger.printMessage(Kind.NOTE, "Start Processing Annotations"); in getClassesToMock() 121 if (logger == null) { in prepareLogger() 122 logger = new ProcessorLogger(processingEnv.getOptions().get(LOGFILE), processingEnv); in prepareLogger() 134 logger.printMessage(Kind.NOTE, "Processing " + annotatedElements); in findClassesToMock() [all …]
|
/external/webkit/Tools/Scripts/webkitpy/test/ |
D | skip_unittest.py | 32 self.logger = logging.getLogger(__name__) 34 self.old_level = self.logger.level 35 self.logger.setLevel(logging.INFO) 37 self.old_propagate = self.logger.propagate 38 self.logger.propagate = False 42 self.logger.addHandler(self.handler) 47 self.logger.removeHandler(self.handler) 49 self.logger.setLevel(self.old_level) 65 …s = skip_if(self.create_fixture_class(), False, 'Should not see this message.', logger=self.logger) 71 … klass = skip_if(self.create_fixture_class(), True, 'Should see this message.', logger=self.logger)
|
D | skip.py | 28 def skip_if(klass, condition, message=None, logger=None): argument 31 if not logger: 32 logger = _log 41 setattr(klass, name, _skipped_method(attr, message, logger)) 46 def _skipped_method(method, message, logger): argument 51 logger.info('Skipping %s.%s: %s' % (method.__module__, method.im_class.__name__, message))
|
/external/dhcpcd/ |
D | client.c | 206 logger(LOG_ERR,"pipe: %s", strerror(errno)); in daemonise() 210 logger(LOG_DEBUG, "forking to background"); in daemonise() 213 logger(LOG_ERR, "fork: %s", strerror(errno)); in daemonise() 221 logger(LOG_ERR, "write: %s", strerror(errno)); in daemonise() 231 logger(LOG_ERR, "read: %s", strerror(errno)); in daemonise() 377 logger(LOG_WARNING, "lease of %u would overflow, " in get_lease() 401 logger(LOG_ERR, "stat: %s", strerror(errno)); in get_old_lease() 405 logger(LOG_INFO, "trying to use old lease in `%s'", in get_old_lease() 408 logger(LOG_INFO, "read_lease: %s", strerror(errno)); in get_old_lease() 426 logger(LOG_ERR, "gettimeofday: %s", strerror(errno)); in get_old_lease() [all …]
|
/external/apache-http/src/org/apache/commons/logging/impl/ |
D | Jdk14Logger.java | 60 logger = getLogger(); in Jdk14Logger() 71 protected transient Logger logger = null; field in Jdk14Logger 84 Logger logger = getLogger(); in log() local 85 if (logger.isLoggable(level)) { in log() 98 logger.logp( level, cname, method, msg ); in log() 100 logger.logp( level, cname, method, msg, ex ); in log() 179 if (logger == null) { in getLogger() 180 logger = Logger.getLogger(name); in getLogger() 182 return (logger); in getLogger()
|
/external/markdown/bin/ |
D | markdown | 37 logger = logging.getLogger('MARKDOWN') variable 38 logger.setLevel(COMMAND_LINE_LOGGING_LEVEL) 39 logger.addHandler(logging.StreamHandler())
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
D | LogRecordTest.java | 139 Logger logger = Logger.global; in testGetSourceDefaultValue() local 141 logger.addHandler(handler); in testGetSourceDefaultValue() 142 logger.log(Level.SEVERE, MSG); in testGetSourceDefaultValue() 149 logger.log(lr); in testGetSourceDefaultValue() 156 logger.log(lr); in testGetSourceDefaultValue() 164 logger.log(lr); in testGetSourceDefaultValue() 170 logger.log(RecordFactory.getDefaultRecord()); in testGetSourceDefaultValue() 177 RecordFactory.log(logger, lr); in testGetSourceDefaultValue() 186 RecordFactory.log(logger, lr); in testGetSourceDefaultValue() 209 logger.removeHandler(handler); in testGetSourceDefaultValue() [all …]
|
/external/bluetooth/bluez/scripts/ |
D | bluetooth_serial | 11 logger "$0: setserial or hciattach not executable, cannot start $DEVNAME" 19 /usr/sbin/hciattach $DEVNAME $HCIOPTS 2>&1 | logger -t hciattach 37 logger "Unknown action received $0: $ACTION"
|
/external/guava/src/com/google/common/base/ |
D | FinalizableReferenceQueue.java | 92 private static final Logger logger field in FinalizableReferenceQueue 132 logger.log(Level.INFO, "Failed to start reference finalizer thread." in FinalizableReferenceQueue() 163 logger.log(Level.SEVERE, "Error cleaning up after reference.", t); in cleanUp() 209 logger.info("Not allowed to access system class loader."); in loadFinalizer() 257 logger.log(Level.WARNING, LOADING_ERROR, e); in loadFinalizer()
|
/external/srec/portable/src/ |
D | plog.c | 124 static ESR_ReturnCode createPFileLogger(PFile* fp, PLogger** logger) in createPFileLogger() argument 139 *logger = &fileLogger->base; in createPFileLogger() 153 ESR_ReturnCode PLogInit(PLogger *logger, unsigned int logLevel) in PLogInit() argument 167 if (logger != NULL) in PLogInit() 168 Glogger = logger; in PLogInit() 511 ESR_ReturnCode PLogCreateFileLogger(PFile* file, PLogger **logger) in PLogCreateFileLogger() argument 513 if (logger == NULL || file == NULL) in PLogCreateFileLogger() 516 return createPFileLogger(file, logger); in PLogCreateFileLogger() 528 PLogger **logger) in PLogCreateCircularFileLogger() argument
|
/external/guava/src/com/google/common/io/ |
D | Flushables.java | 31 private static final Logger logger field in Flushables 55 logger.log(Level.WARNING, in flush() 73 logger.log(Level.SEVERE, "IOException should not have been thrown.", e); in flushQuietly()
|
D | Closeables.java | 33 private static final Logger logger field in Closeables 79 logger.log(Level.WARNING, in close() 97 logger.log(Level.SEVERE, "IOException should not have been thrown.", e); in closeQuietly()
|
/external/qemu/android/utils/ |
D | assert.c | 62 void android_assert_registerLog( AAssertLogFunc logger ) in android_assert_registerLog() argument 64 if (logger == NULL) in android_assert_registerLog() 67 _assert_log = logger; in android_assert_registerLog()
|
/external/guava/src/com/google/common/base/internal/ |
D | Finalizer.java | 51 private static final Logger logger field in Finalizer 111 logger.log(Level.INFO, "Failed to clear thread local values inherited" in Finalizer() 156 logger.log(Level.SEVERE, "Error cleaning up after reference.", t); in cleanUp() 197 logger.log(Level.INFO, "Couldn't access Thread.inheritableThreadLocals." in getInheritableThreadLocalsField()
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/ |
D | DHParametersHelper.java | 14 private static final Logger logger = Logger.getLogger(DHParametersHelper.class.getName()); field in DHParametersHelper 28 logger.info("Generating safe primes. This may take a long time."); in generateSafePrimes() 53 logger.info("Generated safe primes: " + tries + " tries took " + duration + "ms"); in generateSafePrimes()
|
/external/llvm/utils/ |
D | llvmbuild | 337 self.logger.debug("[" + prefix + "] " + "env " + str(env) + " " 349 self.logger.info("[" + prefix + "] " 362 self.logger.debug(command) 371 self.logger.debug(line) 373 self.logger.debug("Stop Gather") 378 self.logger.debug("Start Gather") 383 self.logger.debug(includes) 402 self.logger = logging.getLogger(prefix) 404 self.logger.debug(self.install_prefix) 640 self.logger.info("Configuring " + component + " in " + builddir) [all …]
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
D | metered_stream_unittest.py | 101 logger = logging.getLogger() 103 logger.addHandler(handler) 105 logger.handlers.remove(handler)
|
/external/v8/src/ |
D | cpu-profiler.cc | 504 saved_logging_nesting_ = isolate->logger()->logging_nesting_; in StartProcessorIfNotStarted() 505 isolate->logger()->logging_nesting_ = 0; in StartProcessorIfNotStarted() 515 isolate->logger()->LogCodeObjects(); in StartProcessorIfNotStarted() 518 isolate->logger()->LogCompiledFunctions(); in StartProcessorIfNotStarted() 519 isolate->logger()->LogAccessorCallbacks(); in StartProcessorIfNotStarted() 522 Sampler* sampler = reinterpret_cast<Sampler*>(isolate->logger()->ticker_); in StartProcessorIfNotStarted() 562 Logger* logger = Isolate::Current()->logger(); in StopProcessor() local 563 Sampler* sampler = reinterpret_cast<Sampler*>(logger->ticker_); in StopProcessor() 576 logger->logging_nesting_ = saved_logging_nesting_; in StopProcessor()
|
/external/chromium/base/memory/ |
D | scoped_ptr_unittest.cc | 79 ConDecLogger* logger = new ConDecLogger(&constructed); in TEST() local 80 scoper1.reset(logger); in TEST() 81 EXPECT_EQ(logger, scoper1.get()); in TEST() 87 EXPECT_EQ(logger, scoper2.get()); in TEST()
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
D | MockWebServer.java | 61 private static final Logger logger = Logger.getLogger(MockWebServer.class.getName()); field in MockWebServer 187 logger.log(Level.WARNING, "MockWebServer connection failed", e); in play() 197 logger.log(Level.WARNING, "MockWebServer server socket close failed", e); in play() 204 logger.log(Level.WARNING, "MockWebServer socket close failed", e); in play() 210 logger.log(Level.WARNING, "MockWebServer executor shutdown failed", e); in play() 250 logger.log(Level.WARNING, "MockWebServer connection failed", e); in serveConnection() 275 logger.warning("MockWebServer connection didn't make a request"); in serveConnection()
|