Home
last modified time | relevance | path

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

/external/kotlinx.coroutines/integration/kotlinx-coroutines-slf4j/src/
DMDCContext.kt46 public val contextMap: MDCContextMap = MDC.getCopyOfContextMap() constant in kotlinx.coroutines.slf4j.MDCContext
56 setCurrent(contextMap) in updateThreadContext()
65 private fun setCurrent(contextMap: MDCContextMap) { in setCurrent()
66 if (contextMap == null) { in setCurrent()
69 MDC.setContextMap(contextMap) in setCurrent()
/external/slf4j/slf4j-log4j12/src/main/java/org/slf4j/impl/
DLog4jMDCAdapter.java78 public void setContextMap(Map contextMap) { in setContextMap() argument
81 Iterator entrySetIterator = contextMap.entrySet().iterator(); in setContextMap()
88 old.putAll(contextMap); in setContextMap()
/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/opencensus-java/contrib/log_correlation/log4j2/src/main/java/io/opencensus/contrib/logcorrelation/log4j2/
DContextDataUtils.java115 Map<String, String> contextMap = ThreadContext.getImmutableContext(); in getNonShareableContextData() local
116 return contextMap.isEmpty() in getNonShareableContextData()
118 : new UnmodifiableReadOnlyStringMap(contextMap); in getNonShareableContextData()
/external/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/
DBasicMDCAdapter.java156 public void setContextMap(Map<String, String> contextMap) { in setContextMap() argument
157 …tring> map = Collections.<String, String> synchronizedMap(new HashMap<String, String>(contextMap)); in setContextMap()
DNOPMDCAdapter.java59 public void setContextMap(Map<String, String> contextMap) { in setContextMap() argument
/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/slf4j/slf4j-api/src/main/java/org/slf4j/spi/
DMDCAdapter.java90 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