Home
last modified time | relevance | path

Searched refs:Level (Results 1 – 25 of 596) sorted by relevance

12345678910>>...24

/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLevelTest.java22 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 …]
DMemoryHandlerTest.java29 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 …]
DLoggerTest.java32 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 …]
DStreamHandlerTest.java35 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 …]
DConsoleHandlerTest.java30 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 …]
DSocketHandlerTest.java32 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 …]
DHandlerTest.java29 import java.util.logging.Level;
74 assertSame(h.getLevel(), Level.ALL); in testConstructor()
101 assertSame(h.getLevel(), Level.ALL); in testConstructor_Properties()
254 Level f = Level.CONFIG; in testGetSetLevel_Normal()
273 h.setLevel(Level.CONFIG); in testGetSetLevel_Null()
285 LogRecord r = new LogRecord(Level.CONFIG, null); in testIsLoggable_NoFilter()
288 h.setLevel(Level.CONFIG); in testIsLoggable_NoFilter()
291 h.setLevel(Level.SEVERE); in testIsLoggable_NoFilter()
294 r.setLevel(Level.OFF); in testIsLoggable_NoFilter()
295 h.setLevel(Level.OFF); in testIsLoggable_NoFilter()
[all …]
/external/apache-http/src/org/apache/commons/logging/impl/
DJdk14Logger.java22 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/
DDiagnosticRenderer.h68 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,
DTextDiagnostic.h53 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/
DIntervalMap.cpp25 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/
Dlevel_estimator_impl.cc26 class Level { class
30 Level() in Level() function in webrtc::__anone951cdce0111::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/clang/lib/Frontend/
DTextDiagnosticPrinter.cpp55 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()
DSerializedDiagnosticPrinter.cpp64 DiagnosticsEngine::Level Level,
71 DiagnosticsEngine::Level Level, in emitDiagnosticLoc() argument
79 DiagnosticsEngine::Level Level,
85 DiagnosticsEngine::Level Level) override;
87 DiagnosticsEngine::Level Level) override;
108 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
136 DiagnosticsEngine::Level Level,
153 unsigned getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel,
492 unsigned SDiagsWriter::getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel, in getEmitDiagnosticFlag()
521 void SDiagsWriter::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic()
[all …]
/external/llvm/include/llvm/CodeGen/
DSchedulerRegistry.h37 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/llvm/include/llvm/ADT/
DIntervalMap.h791 template <typename NodeT> NodeT &node(unsigned Level) const { in node() argument
792 return *reinterpret_cast<NodeT*>(path[Level].node); in node()
794 unsigned size(unsigned Level) const { return path[Level].size; } in size() argument
795 unsigned offset(unsigned Level) const { return path[Level].offset; } in offset() argument
796 unsigned &offset(unsigned Level) { return path[Level].offset; } in offset() argument
818 NodeRef &subtree(unsigned Level) const { in subtree() argument
819 return path[Level].subtree(path[Level].offset); in subtree()
824 void reset(unsigned Level) { in reset() argument
825 path[Level] = Entry(subtree(Level - 1), offset(Level)); in reset()
844 void setSize(unsigned Level, unsigned Size) { in setSize() argument
[all …]
/external/llvm/include/llvm/Analysis/
DDependenceAnalysis.h153 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;
247 unsigned getDirection(unsigned Level) const override;
251 const SCEV *getDistance(unsigned Level) const override;
255 bool isPeelFirst(unsigned Level) const override;
259 bool isPeelLast(unsigned Level) const override;
[all …]
/external/llvm/include/llvm/MC/
DMCCodeGenInfo.h33 CodeGenOpt::Level OptLevel;
38 CodeGenOpt::Level OL = CodeGenOpt::Default);
44 CodeGenOpt::Level getOptLevel() const { return OptLevel; } in getOptLevel()
47 void setOptLevel(CodeGenOpt::Level Level) { OptLevel = Level; } in setOptLevel() argument
/external/smack/src/com/kenai/jbosh/
DServiceLib.java27 import java.util.logging.Level;
75 if (LOG.isLoggable(Level.FINEST)) { in loadService()
124 LOG.log(Level.WARNING, in loadServicesImplementations()
147 if (LOG.isLoggable(Level.FINEST)) { in attemptLoad()
150 Level level; in attemptLoad()
155 if (LOG.isLoggable(Level.WARNING)) { in attemptLoad()
163 level = Level.FINEST; in attemptLoad()
166 level = Level.WARNING; in attemptLoad()
169 level = Level.WARNING; in attemptLoad()
190 LOG.log(Level.FINEST, "Could not close: " + closeMe, iox); in finalClose()
/external/clang/tools/diagtool/
DShowEnabledWarnings.cpp30 DiagnosticsEngine::Level Level; member
32 PrettyDiag(StringRef name, StringRef flag, DiagnosticsEngine::Level level) in PrettyDiag()
33 : Name(name), Flag(flag), Level(level) {} in PrettyDiag()
43 static char getCharForLevel(DiagnosticsEngine::Level Level) { in getCharForLevel() argument
44 switch (Level) { in getCharForLevel()
127 DiagnosticsEngine::Level DiagLevel = in run()
140 Out << getCharForLevel(I->Level) << " "; in run()
/external/llvm/lib/Analysis/
DDependenceAnalysis.cpp168 for (unsigned Level = 1; Level <= D->getLevels(); Level++) { in dumpExampleDependence() local
169 if (D->isSplitable(Level)) { in dumpExampleDependence()
170 OS << "da analyze - split level = " << Level; in dumpExampleDependence()
171 OS << ", iteration = " << *DA->getSplitIteration(D, Level); in dumpExampleDependence()
243 unsigned FullDependence::getDirection(unsigned Level) const { in getDirection()
244 assert(0 < Level && Level <= Levels && "Level out of range"); in getDirection()
245 return DV[Level - 1].Direction; in getDirection()
250 const SCEV *FullDependence::getDistance(unsigned Level) const { in getDistance()
251 assert(0 < Level && Level <= Levels && "Level out of range"); in getDistance()
252 return DV[Level - 1].Distance; in getDistance()
[all …]
/external/chromium_org/chrome/test/chromedriver/
Dlogging.h32 static bool NameToLevel(const std::string& name, Level* out_level);
35 WebDriverLog(const std::string& type, Level min_level);
50 Level level,
55 void set_min_level(Level min_level);
56 Level min_level() const;
60 Level min_level_; // Minimum level of entries to store.
Dlogging.cc30 Log::Level g_log_level = Log::kWarning;
44 const char* LevelToName(Log::Level level) { in LevelToName()
53 Log::Level level;
65 Log::Level GetLevelFromSeverity(int severity) { in GetLevelFromSeverity()
89 Log::Level session_level = session_log ? session_log->min_level() : Log::kOff; in InternalIsVLogOn()
90 Log::Level level = g_log_level < session_level ? g_log_level : session_level; in InternalIsVLogOn()
99 Log::Level level = GetLevelFromSeverity(severity); in HandleLogMessage()
128 bool WebDriverLog::NameToLevel(const std::string& name, Log::Level* out_level) { in NameToLevel()
138 WebDriverLog::WebDriverLog(const std::string& type, Log::Level min_level) in WebDriverLog()
174 Log::Level level, in AddEntryTimestamped()
[all …]
/external/chromium_org/third_party/skia/src/core/
DSkMipMap.h20 struct Level { struct
27 bool extractLevel(SkScalar scale, Level*) const; argument
33 Level* fLevels;
37 SkMipMap(Level* levels, int count, size_t size);
40 static Level* AllocLevels(int levelCount, size_t pixelSize);
/external/skia/src/core/
DSkMipMap.h20 struct Level { struct
27 bool extractLevel(SkScalar scale, Level*) const; argument
33 Level* fLevels;
37 SkMipMap(Level* levels, int count, size_t size);
40 static Level* AllocLevels(int levelCount, size_t pixelSize);

12345678910>>...24