/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
D | LevelTest.java | 22 import java.util.logging.Level; 112 assertSame(Level.SEVERE, Level.parse("SEVERE")); in testParse_PredefinedConstStrings() 113 assertSame(Level.WARNING, Level.parse("WARNING")); in testParse_PredefinedConstStrings() 114 assertSame(Level.INFO, Level.parse("INFO")); in testParse_PredefinedConstStrings() 115 assertSame(Level.CONFIG, Level.parse("CONFIG")); in testParse_PredefinedConstStrings() 116 assertSame(Level.FINE, Level.parse("FINE")); in testParse_PredefinedConstStrings() 117 assertSame(Level.FINER, Level.parse("FINER")); in testParse_PredefinedConstStrings() 118 assertSame(Level.FINEST, Level.parse("FINEST")); in testParse_PredefinedConstStrings() 119 assertSame(Level.OFF, Level.parse("OFF")); in testParse_PredefinedConstStrings() 120 assertSame(Level.ALL, Level.parse("ALL")); in testParse_PredefinedConstStrings() [all …]
|
D | MemoryHandlerTest.java | 29 import java.util.logging.Level; 111 assertEquals(handler.getLevel(), Level.OFF); in testClose() 112 assertEquals(handler.getPushLevel(), Level.WARNING); in testClose() 113 assertFalse(handler.isLoggable(new LogRecord(Level.SEVERE, "test"))); in testClose() 126 assertEquals(handler.getLevel(), Level.FINE); in testFlush() 127 assertEquals(handler.getPushLevel(), Level.WARNING); in testFlush() 128 assertTrue(handler.isLoggable(new LogRecord(Level.SEVERE, "test"))); in testFlush() 138 LogRecord record = new LogRecord(Level.FINER, "MSG1"); in testIsLoggable() 141 record = new LogRecord(Level.FINE, "MSG2"); in testIsLoggable() 144 record = new LogRecord(Level.CONFIG, "MSG3"); in testIsLoggable() [all …]
|
D | LoggerTest.java | 32 import java.util.logging.Level; 255 assertSame(Level.ALL, log.getLevel()); in testGetLogger_Normal() 320 assertSame(Level.INFO, log.getLevel()); in testGetLogger_Empty() 337 pLog.setLevel(Level.CONFIG); in testGetLogger_WithParentNormal() 395 assertSame(Level.ALL, log.getLevel()); in testGetLoggerWithRes_Normal() 520 assertSame(Level.INFO, log.getLevel()); in testGetLoggerWithRes_Empty() 537 pLog.setLevel(Level.CONFIG); in testGetLoggerWithRes_WithParentNormal() 742 log.setLevel(Level.CONFIG); in testGetSetLevel_NamedLoggerSufficientPrivilege() 743 assertSame(Level.CONFIG, log.getLevel()); in testGetSetLevel_NamedLoggerSufficientPrivilege() 755 log.setLevel(Level.CONFIG); in testGetSetLevel_Null() [all …]
|
D | StreamHandlerTest.java | 35 import java.util.logging.Level; 103 assertSame(Level.INFO, h.getLevel()); in testConstructor_NoParameter_NoProperties() 129 assertSame(h.getLevel(), Level.parse("FINE")); in testConstructor_NoParameter_ValidProperties() 154 assertSame(Level.INFO, h.getLevel()); in testConstructor_NoParameter_InvalidProperties() 158 h.publish(new LogRecord(Level.SEVERE, "test")); in testConstructor_NoParameter_InvalidProperties() 179 assertSame(Level.INFO, h.getLevel()); in testConstructor_HasParameters_NoProperties() 207 assertSame(h.getLevel(), Level.parse("FINE")); in testConstructor_HasParameters_ValidProperties() 233 assertSame(Level.INFO, h.getLevel()); in testConstructor_HasParameters_InvalidProperties() 302 h.publish(new LogRecord(Level.SEVERE, in testClose_SufficientPrivilege_NormalClose() 322 h.publish(new LogRecord(Level.SEVERE, in testClose_SufficientPrivilege_Exception() [all …]
|
D | ConsoleHandlerTest.java | 30 import java.util.logging.Level; 89 assertSame(h.getLevel(), Level.INFO); in testConstructor_NoProperties() 114 assertSame(h.getLevel(), Level.parse("FINE")); in testConstructor_ValidProperties() 138 assertSame(h.getLevel(), Level.INFO); in testConstructor_InvalidProperties() 142 h.publish(new LogRecord(Level.SEVERE, "test")); in testConstructor_InvalidProperties() 157 h.publish(new LogRecord(Level.SEVERE, in testClose_SufficientPrivilege_NormalClose() 178 h.publish(new LogRecord(Level.SEVERE, in testClose_SufficientPrivilege_Exception() 214 LogRecord r = new LogRecord(Level.INFO, "testPublish_NoFilter"); in testPublish_NoFilter() 215 h.setLevel(Level.INFO); in testPublish_NoFilter() 221 h.setLevel(Level.WARNING); in testPublish_NoFilter() [all …]
|
D | SocketHandlerTest.java | 32 import java.util.logging.Level; 175 assertSame(h.getLevel(), Level.ALL); in testConstructor_NoProperties() 209 assertSame(h.getLevel(), Level.ALL); in testConstructor_NoBasicProperties() 246 assertSame(h.getLevel(), Level.parse("FINE")); in testConstructor_ValidProperties() 260 assertSame(h.getLevel(), Level.parse("FINE")); in testConstructor_ValidProperties() 290 assertSame(h.getLevel(), Level.ALL); in testConstructor_InvalidBasicProperties() 294 h.publish(new LogRecord(Level.SEVERE, "test")); in testConstructor_InvalidBasicProperties() 306 assertSame(h.getLevel(), Level.ALL); in testConstructor_InvalidBasicProperties() 310 h.publish(new LogRecord(Level.SEVERE, "test")); in testConstructor_InvalidBasicProperties() 425 h.publish(new LogRecord(Level.SEVERE, in testClose_SufficientPrivilege_NormalClose() [all …]
|
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/ |
D | Level.java | 40 public class Level extends Priority implements Serializable { class 54 final static public Level OFF = new Level(OFF_INT, "OFF", 0); 60 final static public Level FATAL = new Level(FATAL_INT, "FATAL", 0); 65 final static public Level ERROR = new Level(ERROR_INT, "ERROR", 3); 70 final static public Level WARN = new Level(WARN_INT, "WARN", 4); 76 final static public Level INFO = new Level(INFO_INT, "INFO", 6); 82 final static public Level DEBUG = new Level(DEBUG_INT, "DEBUG", 7); 89 public static final Level TRACE = new Level(TRACE_INT, "TRACE", 7); 94 final static public Level ALL = new Level(ALL_INT, "ALL", 7); 104 protected Level(int level, String levelStr, int syslogEquivalent) { in Level() method in Level [all …]
|
D | Priority.java | 46 final static public Priority FATAL = new Level(FATAL_INT, "FATAL", 0); 51 final static public Priority ERROR = new Level(ERROR_INT, "ERROR", 3); 56 final static public Priority WARN = new Level(WARN_INT, "WARN", 4); 61 final static public Priority INFO = new Level(INFO_INT, "INFO", 6); 66 final static public Priority DEBUG = new Level(DEBUG_INT, "DEBUG", 7); 126 …return new Priority[] { Priority.FATAL, Priority.ERROR, Level.WARN, Priority.INFO, Priority.DEBUG … in getAllPossiblePriorities() 147 return Level.toLevel(sArg); in toPriority() 161 return Level.toLevel(val, (Level) defaultPriority); in toPriority() 168 return Level.toLevel(sArg, (Level) defaultPriority); in toPriority()
|
D | Category.java | 100 public Level getEffectiveLevel() { in getEffectiveLevel() 102 return Level.TRACE; in getEffectiveLevel() 105 return Level.DEBUG; in getEffectiveLevel() 108 return Level.INFO; in getEffectiveLevel() 111 return Level.WARN; in getEffectiveLevel() 113 return Level.ERROR; in getEffectiveLevel() 122 final public Level getLevel() { in getLevel() 129 final public Level getPriority() { in getPriority() 173 case Level.TRACE_INT: in isEnabledFor() 175 case Level.DEBUG_INT: in isEnabledFor() [all …]
|
/external/slf4j/slf4j-jdk14/src/main/java/org/slf4j/impl/ |
D | JDK14LoggerAdapter.java | 27 import java.util.logging.Level; 65 return logger.isLoggable(Level.FINEST); in isTraceEnabled() 75 if (logger.isLoggable(Level.FINEST)) { in trace() 76 log(SELF, Level.FINEST, msg, null); in trace() 95 if (logger.isLoggable(Level.FINEST)) { in trace() 97 log(SELF, Level.FINEST, ft.getMessage(), ft.getThrowable()); in trace() 118 if (logger.isLoggable(Level.FINEST)) { in trace() 120 log(SELF, Level.FINEST, ft.getMessage(), ft.getThrowable()); in trace() 139 if (logger.isLoggable(Level.FINEST)) { in trace() 141 log(SELF, Level.FINEST, ft.getMessage(), ft.getThrowable()); in trace() [all …]
|
/external/slf4j/slf4j-log4j12/src/main/java/org/slf4j/impl/ |
D | Log4jLoggerAdapter.java | 29 import org.apache.log4j.Level; 109 logger.log(FQCN, traceCapable ? Level.TRACE : Level.DEBUG, msg, null); in trace() 129 … logger.log(FQCN, traceCapable ? Level.TRACE : Level.DEBUG, ft.getMessage(), ft.getThrowable()); in trace() 152 … logger.log(FQCN, traceCapable ? Level.TRACE : Level.DEBUG, ft.getMessage(), ft.getThrowable()); in trace() 173 … logger.log(FQCN, traceCapable ? Level.TRACE : Level.DEBUG, ft.getMessage(), ft.getThrowable()); in trace() 186 logger.log(FQCN, traceCapable ? Level.TRACE : Level.DEBUG, msg, t); in trace() 205 logger.log(FQCN, Level.DEBUG, msg, null); in debug() 225 logger.log(FQCN, Level.DEBUG, ft.getMessage(), ft.getThrowable()); in debug() 248 logger.log(FQCN, Level.DEBUG, ft.getMessage(), ft.getThrowable()); in debug() 268 logger.log(FQCN, Level.DEBUG, ft.getMessage(), ft.getThrowable()); in debug() [all …]
|
/external/apache-http/src/org/apache/commons/logging/impl/ |
D | Jdk14Logger.java | 22 import java.util.logging.Level; 52 protected static final Level dummyLevel = Level.FINE; 87 private void log( Level level, String msg, Throwable ex ) { in log() 118 log(Level.FINE, String.valueOf(message), null); in debug() 130 log(Level.FINE, String.valueOf(message), exception); in debug() 141 log(Level.SEVERE, String.valueOf(message), null); in error() 153 log(Level.SEVERE, String.valueOf(message), exception); in error() 164 log(Level.SEVERE, String.valueOf(message), null); in fatal() 176 log(Level.SEVERE, String.valueOf(message), exception); in fatal() 198 log(Level.INFO, String.valueOf(message), null); in info() [all …]
|
/external/clang/include/clang/Frontend/ |
D | DiagnosticRenderer.h | 68 DiagnosticsEngine::Level LastLevel; 76 DiagnosticsEngine::Level Level, 83 DiagnosticsEngine::Level Level, 88 DiagnosticsEngine::Level Level, 103 DiagnosticsEngine::Level Level) {} in beginDiagnostic() argument 105 DiagnosticsEngine::Level Level) {} in endDiagnostic() argument 111 DiagnosticsEngine::Level Level, const SourceManager &SM); 117 void emitCaret(SourceLocation Loc, DiagnosticsEngine::Level Level, 121 DiagnosticsEngine::Level Level, 142 void emitDiagnostic(SourceLocation Loc, DiagnosticsEngine::Level Level,
|
D | TextDiagnostic.h | 53 DiagnosticsEngine::Level Level, 79 DiagnosticsEngine::Level Level, 86 DiagnosticsEngine::Level Level, 91 DiagnosticsEngine::Level Level, in emitCodeContext() argument 95 emitSnippetAndCaret(Loc, Level, Ranges, Hints, SM); in emitCodeContext() 110 void emitSnippetAndCaret(SourceLocation Loc, DiagnosticsEngine::Level Level,
|
/external/llvm/lib/Support/ |
D | IntervalMap.cpp | 25 NodeRef Path::getLeftSibling(unsigned Level) const { in getLeftSibling() 27 if (Level == 0) in getLeftSibling() 31 unsigned l = Level - 1; in getLeftSibling() 43 for (++l; l != Level; ++l) in getLeftSibling() 48 void Path::moveLeft(unsigned Level) { in moveLeft() argument 49 assert(Level != 0 && "Cannot move the root node"); in moveLeft() 54 l = Level - 1; in moveLeft() 59 } else if (height() < Level) in moveLeft() 61 path.resize(Level + 1, Entry(nullptr, 0, 0)); in moveLeft() 68 for (++l; l != Level; ++l) { in moveLeft() [all …]
|
/external/webrtc/src/modules/audio_processing/ |
D | level_estimator_impl.cc | 26 class Level { class 30 Level() in Level() function in webrtc::__anon912d72770111::Level 33 ~Level() {} in ~Level() 98 Level* level = static_cast<Level*>(handle(0)); in ProcessStream() 129 Level* level = static_cast<Level*>(handle(0)); in RMS() 141 return new Level; in CreateHandle() 146 Level* level = static_cast<Level*>(handle); in DestroyHandle() 153 Level* level = static_cast<Level*>(handle); in InitializeHandle()
|
/external/jmonkeyengine/engine/src/android/com/jme3/util/ |
D | AndroidLogHandler.java | 5 import java.util.logging.Level; 25 Level level = record.getLevel(); in publish() 29 if (level == Level.INFO) { in publish() 31 } else if (level == Level.SEVERE) { in publish() 33 } else if (level == Level.WARNING) { in publish() 35 } else if (level == Level.CONFIG) { in publish() 37 } else if (level == Level.FINE || level == Level.FINER || level == Level.FINEST) { in publish()
|
/external/clang/lib/Frontend/ |
D | TextDiagnosticPrinter.cpp | 55 DiagnosticsEngine::Level Level, in printDiagnosticOptions() argument 75 if (Level == DiagnosticsEngine::Error && in printDiagnosticOptions() 85 << (Level == DiagnosticsEngine::Remark ? "-R" : "-W") << Opt; in printDiagnosticOptions() 112 void TextDiagnosticPrinter::HandleDiagnostic(DiagnosticsEngine::Level Level, in HandleDiagnostic() argument 115 DiagnosticConsumer::HandleDiagnostic(Level, Info); in HandleDiagnostic() 123 printDiagnosticOptions(DiagMessageStream, Level, Info, *DiagOpts); in HandleDiagnostic() 139 TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, in HandleDiagnostic() 141 TextDiagnostic::printDiagnosticMessage(OS, Level, DiagMessageStream.str(), in HandleDiagnostic() 155 TextDiag->emitDiagnostic(Info.getLocation(), Level, DiagMessageStream.str(), in HandleDiagnostic()
|
/external/llvm/include/llvm/CodeGen/ |
D | SchedulerRegistry.h | 37 CodeGenOpt::Level); 69 CodeGenOpt::Level OptLevel); 74 CodeGenOpt::Level OptLevel); 81 CodeGenOpt::Level); 88 CodeGenOpt::Level); 93 CodeGenOpt::Level OptLevel); 99 CodeGenOpt::Level OptLevel); 103 CodeGenOpt::Level OptLevel); 108 CodeGenOpt::Level OptLevel);
|
/external/jetty/src/java/org/eclipse/jetty/util/log/ |
D | JavaUtilLog.java | 21 import java.util.logging.Level; 35 private Level configuredLevel; 48 _logger.setLevel(Level.FINE); in JavaUtilLog() 60 _logger.log(Level.WARNING, format(msg, args)); in warn() 70 _logger.log(Level.WARNING, msg, thrown); in warn() 75 _logger.log(Level.INFO, format(msg, args)); in info() 85 _logger.log(Level.INFO, msg, thrown); in info() 90 return _logger.isLoggable(Level.FINE); in isDebugEnabled() 98 _logger.setLevel(Level.FINE); in setDebugEnabled() 108 _logger.log(Level.FINE, format(msg, args)); in debug() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | IntervalMap.h | 792 template <typename NodeT> NodeT &node(unsigned Level) const { in node() argument 793 return *reinterpret_cast<NodeT*>(path[Level].node); in node() 795 unsigned size(unsigned Level) const { return path[Level].size; } in size() argument 796 unsigned offset(unsigned Level) const { return path[Level].offset; } in offset() argument 797 unsigned &offset(unsigned Level) { return path[Level].offset; } in offset() argument 819 NodeRef &subtree(unsigned Level) const { in subtree() argument 820 return path[Level].subtree(path[Level].offset); in subtree() 825 void reset(unsigned Level) { in reset() argument 826 path[Level] = Entry(subtree(Level - 1), offset(Level)); in reset() 845 void setSize(unsigned Level, unsigned Size) { in setSize() argument [all …]
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/system/ |
D | JmeDesktopSystem.java | 45 import java.util.logging.Level; 136 logger.log(Level.SEVERE, "Failed to create context", ex); in newContextLwjgl() 138 logger.log(Level.SEVERE, "Failed to create context", ex); in newContextLwjgl() 140 logger.log(Level.SEVERE, "CRITICAL ERROR: Context class is missing!\n" in newContextLwjgl() 163 logger.log(Level.SEVERE, "Failed to create context", ex); in newContextJogl() 165 logger.log(Level.SEVERE, "Failed to create context", ex); in newContextJogl() 167 logger.log(Level.SEVERE, "CRITICAL ERROR: Context class is missing!\n" in newContextJogl() 182 logger.log(Level.SEVERE, "Failed to create context", ex); in newContextCustom() 184 logger.log(Level.SEVERE, "Failed to create context", ex); in newContextCustom() 186 logger.log(Level.SEVERE, "CRITICAL ERROR: Context class is missing!", ex); in newContextCustom() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | DependenceAnalysis.h | 153 virtual unsigned getDirection(unsigned Level) const { return DVEntry::ALL; } in getDirection() argument 157 virtual const SCEV *getDistance(unsigned Level) const { return nullptr; } in getDistance() argument 161 virtual bool isPeelFirst(unsigned Level) const { return false; } in isPeelFirst() argument 165 virtual bool isPeelLast(unsigned Level) const { return false; } in isPeelLast() argument 169 virtual bool isSplitable(unsigned Level) const { return false; } in isSplitable() argument 174 virtual bool isScalar(unsigned Level) const; 243 unsigned getDirection(unsigned Level) const override; 247 const SCEV *getDistance(unsigned Level) const override; 251 bool isPeelFirst(unsigned Level) const override; 255 bool isPeelLast(unsigned Level) const override; [all …]
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/ |
D | LwjglCanvas.java | 41 import java.util.logging.Level; 91 logger.log(Level.INFO, "EDT: Creating OGL thread."); in addNotify() 104 logger.log(Level.INFO, "EDT: Telling OGL to create display .."); in addNotify() 122 logger.log(Level.INFO, "EDT: Application is stopped. Not restoring canvas."); in removeNotify() 129 logger.log(Level.INFO, "EDT: Telling OGL to destroy display .."); in removeNotify() 143 logger.log(Level.INFO, "EDT: Acknowledged receipt of canvas death"); in removeNotify() 162 logger.log(Level.INFO, "MAIN: Creating OGL thread."); in create() 193 logger.log(Level.INFO, "OGL: Creating display .."); in runLoop() 199 logger.log(Level.INFO, "OGL: Destroying display .."); in runLoop() 252 logger.log(Level.INFO, "OGL: Waiting for canvas to become displayable.."); in restoreCanvas() [all …]
|
/external/slf4j/jul-to-slf4j/src/test/java/org/slf4j/bridge/ |
D | SLF4JBridgeHandlerTest.java | 29 import java.util.logging.Level; 53 log4jRoot.setLevel(org.apache.log4j.Level.TRACE); in setUp() 84 julLogger.setLevel(Level.ALL); in testLevels() 95 assertLevel(i++, org.apache.log4j.Level.TRACE); in testLevels() 96 assertLevel(i++, org.apache.log4j.Level.DEBUG); in testLevels() 97 assertLevel(i++, org.apache.log4j.Level.DEBUG); in testLevels() 98 assertLevel(i++, org.apache.log4j.Level.INFO); in testLevels() 99 assertLevel(i++, org.apache.log4j.Level.WARN); in testLevels() 100 assertLevel(i++, org.apache.log4j.Level.ERROR); in testLevels() 136 julResourceBundleLogger.log(Level.INFO, resourceKey2, params2); // 2nd log in testLogWithResourceBundleWithParameters() [all …]
|