Home
last modified time | relevance | path

Searched refs:MDC (Results 1 – 25 of 54) sorted by relevance

123

/external/slf4j/slf4j-log4j12/src/test/java/org/slf4j/
DInvocationTest.java143 MDC.put("k", "v"); in testMDC()
144 assertNotNull(MDC.get("k")); in testMDC()
145 assertEquals("v", MDC.get("k")); in testMDC()
147 MDC.remove("k"); in testMDC()
148 assertNull(MDC.get("k")); in testMDC()
150 MDC.put("k1", "v1"); in testMDC()
151 assertEquals("v1", MDC.get("k1")); in testMDC()
152 MDC.clear(); in testMDC()
153 assertNull(MDC.get("k1")); in testMDC()
156 MDC.put(null, "x"); in testMDC()
[all …]
/external/slf4j/slf4j-nop/src/test/java/org/slf4j/
DInvocationTest.java113 MDC.put("k", "v"); in testMDC()
114 assertNull(MDC.get("k")); in testMDC()
115 MDC.remove("k"); in testMDC()
116 assertNull(MDC.get("k")); in testMDC()
117 MDC.clear(); in testMDC()
121 MDC.MDCCloseable closeable = MDC.putCloseable("k", "v"); in testMDCCloseable()
122 assertNull(MDC.get("k")); in testMDCCloseable()
124 assertNull(MDC.get("k")); in testMDCCloseable()
125 MDC.clear(); in testMDCCloseable()
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/
DNDC.java19 import org.slf4j.MDC;
37 MDC.remove(key); in clear()
57 String val = MDC.get(PREFIX + i); in getDepth()
74 String val = MDC.get(key); in pop()
75 MDC.remove(key); in pop()
86 String val = MDC.get(key); in peek()
92 MDC.put(PREFIX + next, message); in push()
DMDC.java22 public class MDC { class
25 org.slf4j.MDC.put(key, value); in put()
37 return org.slf4j.MDC.get(key); in get()
41 org.slf4j.MDC.remove(key); in remove()
45 org.slf4j.MDC.clear(); in clear()
56 Map map = org.slf4j.MDC.getCopyOfContextMap(); in getContext()
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/dummyExt/
DEventLoggerTest.java35 import org.slf4j.MDC;
62 MDC.put("ipAddress", "192.168.1.110"); in setUp()
63 MDC.put("login", "TestUSer"); in setUp()
64 MDC.put("hostname", "localhost"); in setUp()
65 MDC.put("productName", "SLF4J"); in setUp()
66 MDC.put("locale", Locale.getDefault().getDisplayName()); in setUp()
67 MDC.put("timezone", TimeZone.getDefault().getDisplayName()); in setUp()
73 MDC.clear(); in tearDown()
DMDCStrLookupTest.java29 import org.slf4j.MDC;
47 MDC.put("key", "value"); in testLookup()
48 MDC.put("number", "2"); in testLookup()
/external/slf4j/slf4j-log4j12/src/main/java/org/slf4j/impl/
DLog4jMDCAdapter.java37 Map map = org.apache.log4j.MDC.getContext(); in clear()
44 return (String) org.apache.log4j.MDC.get(key); in get()
60 org.apache.log4j.MDC.put(key, val); in put()
64 org.apache.log4j.MDC.remove(key); in remove()
69 Map old = org.apache.log4j.MDC.getContext(); in getCopyOfContextMap()
79 Map old = org.apache.log4j.MDC.getContext(); in setContextMap()
84 org.apache.log4j.MDC.put((String) mapEntry.getKey(), mapEntry.getValue()); in setContextMap()
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/
DInvocationTest.java147 MDC.put("k", "v"); in testMDC()
148 assertNotNull(MDC.get("k")); in testMDC()
149 assertEquals("v", MDC.get("k")); in testMDC()
151 MDC.remove("k"); in testMDC()
152 assertNull(MDC.get("k")); in testMDC()
154 MDC.put("k1", "v1"); in testMDC()
155 assertEquals("v1", MDC.get("k1")); in testMDC()
156 MDC.clear(); in testMDC()
157 assertNull(MDC.get("k1")); in testMDC()
160 MDC.put(null, "x"); in testMDC()
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/
DNDC.java27 import org.slf4j.MDC;
35 String val = MDC.get(PREFIX + i); in size()
47 MDC.put(PREFIX + next, val); in push()
57 String val = MDC.get(key); in pop()
58 MDC.remove(key); in pop()
/external/slf4j/log4j-over-slf4j/compatibility/src/main/java/test/
DLog4j13Calls.java16 import org.apache.log4j.MDC;
31 MDC.put("key", "value1"); in testLog()
42 MDC.remove("key"); in testLog()
44 MDC.clear(); in testLog()
DLog4j12Calls.java15 import org.apache.log4j.MDC;
29 MDC.put("key", "value1"); in testLog()
37 MDC.remove("key"); in testLog()
/external/slf4j/slf4j-jcl/src/test/java/org/slf4j/
DInvocationTest.java119 MDC.put("k", "v"); in testMDC()
120 assertNull(MDC.get("k")); in testMDC()
121 MDC.remove("k"); in testMDC()
122 assertNull(MDC.get("k")); in testMDC()
123 MDC.clear(); in testMDC()
/external/slf4j/slf4j-simple/src/test/java/org/slf4j/
DInvocationTest.java125 MDC.put("k", "v"); in testMDC()
126 assertNull(MDC.get("k")); in testMDC()
127 MDC.remove("k"); in testMDC()
128 assertNull(MDC.get("k")); in testMDC()
129 MDC.clear(); in testMDC()
/external/slf4j/slf4j-api/src/main/java/org/slf4j/
DMDC.java64 public class MDC { class
81 MDC.remove(this.key); in close()
85 private MDC() { in MDC() method in MDC
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/
DMDCStrLookup.java28 import org.slf4j.MDC;
47 return MDC.get(key); in lookup()
/external/slf4j/slf4j-api/src/test/java/org/slf4j/
DNoBindingTest.java45 MDC.put("k" + diff, "v"); in testMDC()
46 assertNull(MDC.get("k")); in testMDC()
/external/syslinux/gpxe/src/drivers/net/
Dsis900.c518 outl(MDIO | MDDIR | MDC, mdio_addr); in sis900_mdio_idle()
529 outl(MDDIR | MDIO | MDC, mdio_addr); in sis900_mdio_reset()
549 outl(dataval | MDC, mdio_addr); in sis900_mdio_read()
558 outl(MDC, mdio_addr); in sis900_mdio_read()
580 outb(dataval | MDC, mdio_addr);
590 outl(dataval | MDC, mdio_addr);
599 outb(MDC, mdio_addr);
Dsis900.h71 MDC = 0x00000040, enumerator
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/
DNDCTest.java33 MDC.clear(); in setUp()
/external/llvm/unittests/Transforms/Utils/
DValueMapperTest.cpp343 auto *MDC = MetadataAsValue::get(Context, ValueAsMetadata::get(&C)); in TEST() local
345 EXPECT_TRUE(isa<ConstantAsMetadata>(MDC->getMetadata())); in TEST()
347 EXPECT_EQ(MDC, ValueMapper(VM).mapValue(*MDA)); in TEST()
/external/icu/icu4c/source/data/curr/
Dzh_Hant.txt646 MDC{
647 "MDC",
1780 MDC{
Dzh.txt641 MDC{
642 "MDC",
1758 MDC{
Dyue_Hans.txt646 MDC{
647 "MDC",
1783 MDC{
Dyue.txt645 MDC{
646 "MDC",
1782 MDC{
Dja.txt645 MDC{
646 "MDC",
1784 MDC{

123