Home
last modified time | relevance | path

Searched refs:contextMap (Results 1 – 18 of 18) sorted by relevance

/external/kotlinx.coroutines/integration/kotlinx-coroutines-slf4j/src/
DMDCContext.kt82 public val contextMap: MDCContextMap = MDC.getCopyOfContextMap() constant in kotlinx.coroutines.slf4j.MDCContext
92 setCurrent(contextMap) in updateThreadContext()
101 private fun setCurrent(contextMap: MDCContextMap) { in setCurrent()
102 if (contextMap == null) { in setCurrent()
105 MDC.setContextMap(contextMap) in setCurrent()
/external/slf4j/slf4j-reload4j/src/main/java/org/slf4j/reload4j/
DReload4jMDCAdapter.java86 public void setContextMap(Map<String, String> contextMap) { in setContextMap() argument
90 if (contextMap == null) { in setContextMap()
98 for (Map.Entry<String, String> mapEntry : contextMap.entrySet()) { in setContextMap()
103 old.putAll(contextMap); in setContextMap()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-slf4j/test/
DMDCContextTest.kt102 assertEquals("myValue", coroutineContext[MDCContext]?.contextMap?.get("myKey")) in <lambda>()
126 val contextMap = withContext(MDCContext()) { in <lambda>() constant
139 MDC.setContextMap(contextMap) in <lambda>()
/external/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/
DBasicMDCAdapter.java144 public void setContextMap(Map<String, String> contextMap) { in setContextMap() argument
146 if (contextMap != null) { in setContextMap()
147 copy = new HashMap<>(contextMap); in setContextMap()
DNOPMDCAdapter.java60 public void setContextMap(Map<String, String> contextMap) { in setContextMap() argument
/external/slf4j/slf4j-api/src/main/java/org/slf4j/
DMDC.java242 public static void setContextMap(Map<String, String> contextMap) { in setContextMap() argument
246 mdcAdapter.setContextMap(contextMap); in setContextMap()
/external/brotli/java/org/brotli/dec/
DDecode.java616 private static int decodeContextMap(int contextMapSize, byte[] contextMap, State s) { in decodeContextMap() argument
621 Utils.fillBytesWithZeroes(contextMap, 0, contextMapSize); in decodeContextMap()
642 contextMap[i] = 0; in decodeContextMap()
651 contextMap[i] = 0; in decodeContextMap()
656 contextMap[i] = (byte) (code - maxRunLengthPrefix); in decodeContextMap()
662 inverseMoveToFrontTransform(contextMap, contextMapSize); in decodeContextMap()
693 s.literalTreeIdx = s.contextMap[s.contextMapSlice] & 0xFF; in decodeLiteralBlockSwitch()
847 s.contextMap = new byte[s.numLiteralBlockTypes << LITERAL_CONTEXT_BITS]; in readMetablockHuffmanCodesAndContextMaps()
849 s.contextMap, s); in readMetablockHuffmanCodesAndContextMaps()
852 if (s.contextMap[j] != j >> LITERAL_CONTEXT_BITS) { in readMetablockHuffmanCodesAndContextMaps()
[all …]
DState.java14 byte[] contextMap; field in State
/external/brotli/csharp/org/brotli/dec/
DDecode.cs349 …private static int DecodeContextMap(int contextMapSize, byte[] contextMap, Org.Brotli.Dec.BitReade… in DecodeContextMap() argument
355 Org.Brotli.Dec.Utils.FillWithZeroes(contextMap, 0, contextMapSize); in DecodeContextMap()
373 contextMap[i] = 0; in DecodeContextMap()
386 contextMap[i] = 0; in DecodeContextMap()
393 contextMap[i] = unchecked((byte)(code - maxRunLengthPrefix)); in DecodeContextMap()
399 InverseMoveToFrontTransform(contextMap, contextMapSize); in DecodeContextMap()
437 state.literalTreeIndex = state.contextMap[state.contextMapSlice] & unchecked((int)(0xFF)); in DecodeLiteralBlockSwitch()
578 state.contextMap = new byte[state.numBlockTypes[0] << LiteralContextBits]; in ReadMetablockHuffmanCodesAndContextMaps()
579 …iteralTrees = DecodeContextMap(state.numBlockTypes[0] << LiteralContextBits, state.contextMap, br); in ReadMetablockHuffmanCodesAndContextMaps()
583 if (state.contextMap[j] != j >> LiteralContextBits) in ReadMetablockHuffmanCodesAndContextMaps()
[all …]
DState.cs62 internal byte[] contextMap; field in Org.Brotli.Dec.State
/external/angle/src/libANGLE/
DDisplay.cpp722 for (auto context = contextMap.begin(); context != contextMap.end(); context++) in notifyDeviceLost()
1011 for (auto context : mState.contextMap) in onSubjectStateChange()
1248 mState.contextMap.size() + mInvalidContextMap.size(); in terminate()
1253 for (auto context : mState.contextMap) in terminate()
1273 mState.contextMap = std::move(contextsStillCurrent); in terminate()
1278 mState.contextMap.size() + mInvalidContextMap.size()); in terminate()
1280 if (!mState.contextMap.empty()) in terminate()
1665 mState.contextMap.insert(std::pair(context->id().value, context)); in createContext()
1790 for (ContextMap::iterator ctx = mState.contextMap.begin(); ctx != mState.contextMap.end(); in restoreLostDevice()
1864 uniqueContextPtr = eraseContextImpl(context, &mState.contextMap); in releaseContext()
[all …]
DDisplay.h84 ContextMap contextMap; member
/external/slf4j/slf4j-api/src/main/java/org/slf4j/spi/
DMDCAdapter.java93 public void setContextMap(Map<String, String> contextMap); in setContextMap() argument
/external/brotli/js/
Ddecode.js557 function decodeContextMap(contextMapSize, contextMap, s) { argument
563 contextMap.fill(0, 0, contextMapSize);
590 contextMap[i] = 0;
602 contextMap[i] = 0;
607 contextMap[i] = (code - maxRunLengthPrefix);
616 inverseMoveToFrontTransform(contextMap, contextMapSize);
657 s.literalTreeIdx = s.contextMap[s.contextMapSlice] & 0xFF;
827 s.contextMap = new Int8Array(s.numLiteralBlockTypes << 6);
828 …var /** number */ numLiteralTrees = decodeContextMap(s.numLiteralBlockTypes << 6, s.contextMap, s);
831 if (s.contextMap[j] != j >> 6) {
[all …]
/external/brotli/research/
Dbrotlidump.py1610 numberOfTrees[blockType] = self.contextMap(blockType)
1721 def contextMap(self, kind): member in Layout
/external/angle/src/libANGLE/renderer/gl/cgl/
DDisplayCGL.mm532 for (auto context : mState.contextMap)
/external/angle/src/libANGLE/capture/
DFrameCapture.h1190 for (const auto &contextIter : display->getState().contextMap) in CaptureEGLCallToFrameCapture()
/external/angle/src/libANGLE/renderer/metal/
DDisplayMtl.mm332 for (auto context : mState.contextMap)