Home
last modified time | relevance | path

Searched refs:mapValue (Results 1 – 17 of 17) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DSoftCache.java51 Object mapValue = map.get(key); in getInstance() local
52 if(mapValue != null) { in getInstance()
53 if(!(mapValue instanceof CacheValue)) { in getInstance()
55 return (V)mapValue; in getInstance()
57 CacheValue<V> cv = (CacheValue<V>)mapValue; in getInstance()
72 mapValue = (value != null && CacheValue.futureInstancesWillBeStrong()) ? in getInstance()
74 mapValue = map.putIfAbsent(key, mapValue); in getInstance()
75 if(mapValue == null) { in getInstance()
82 if(!(mapValue instanceof CacheValue)) { in getInstance()
84 return (V)mapValue; in getInstance()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DSoftCache.java49 Object mapValue = map.get(key); in getInstance() local
50 if(mapValue != null) { in getInstance()
51 if(!(mapValue instanceof CacheValue)) { in getInstance()
53 return (V)mapValue; in getInstance()
55 CacheValue<V> cv = (CacheValue<V>)mapValue; in getInstance()
70 mapValue = (value != null && CacheValue.futureInstancesWillBeStrong()) ? in getInstance()
72 mapValue = map.putIfAbsent(key, mapValue); in getInstance()
73 if(mapValue == null) { in getInstance()
80 if(!(mapValue instanceof CacheValue)) { in getInstance()
82 return (V)mapValue; in getInstance()
[all …]
/external/jarjar/src/test/com/tonicsystems/jarjar/
DPackageRemapperTest.java46 assertEquals("[Lfoo.example.Object;", remapper.mapValue("[Lorg.example.Object;")); in testMapValue()
47 assertEquals("foo.example.Object", remapper.mapValue("org.example.Object")); in testMapValue()
48 assertEquals("foo/example/Object", remapper.mapValue("org/example/Object")); in testMapValue()
49 assertEquals("foo/example.Object", remapper.mapValue("org/example.Object")); // path match in testMapValue()
51 assertEquals("foo.example.package-info", remapper.mapValue("org.example.package-info")); in testMapValue()
52 assertEquals("foo/example/package-info", remapper.mapValue("org/example/package-info")); in testMapValue()
53 assertEquals("foo/example.package-info", remapper.mapValue("org/example.package-info")); in testMapValue()
57 assertEquals(value, remapper.mapValue(value)); in assertUnchangedValue()
/external/llvm/unittests/Transforms/Utils/
DValueMapperTest.cpp182 EXPECT_EQ(nullptr, ValueMapper(VM, Flags).mapValue(*F)); in TEST()
309 EXPECT_EQ(N0AV, ValueMapper(VM).mapValue(*MAV)); in TEST()
310 EXPECT_EQ(nullptr, ValueMapper(VM, RF_IgnoreMissingLocals).mapValue(*MAV)); in TEST()
316 EXPECT_EQ(MAV, ValueMapper(VM).mapValue(*MAV)); in TEST()
317 EXPECT_EQ(MAV, ValueMapper(VM, RF_IgnoreMissingLocals).mapValue(*MAV)); in TEST()
322 EXPECT_EQ(&A, ValueMapper(VM).mapValue(*MAV)); in TEST()
323 EXPECT_EQ(&A, ValueMapper(VM, RF_IgnoreMissingLocals).mapValue(*MAV)); in TEST()
346 EXPECT_EQ(&C, ValueMapper(VM).mapValue(A)); in TEST()
347 EXPECT_EQ(MDC, ValueMapper(VM).mapValue(*MDA)); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DValueMapper.cpp144 Value *mapValue(const Value *V);
149 return cast_or_null<Constant>(mapValue(C)); in mapConstant()
339 Value *Mapper::mapValue(const Value *V) { in mapValue() function in Mapper
383 if (Value *LV = mapValue(LAM->getValue())) { in mapValue()
419 auto Mapped = mapValue(V); in mapValue()
491 Function *F = cast<Function>(mapValue(BA.getFunction())); in mapBlockAddress()
501 BB = cast_or_null<BasicBlock>(mapValue(BA.getBasicBlock())); in mapBlockAddress()
795 return wrapConstantAsMetadata(*CMD, mapValue(CMD->getValue())); in mapSimpleMetadata()
847 BasicBlock *BB = cast_or_null<BasicBlock>(mapValue(DBB.OldBB)); in flush()
855 Value *V = mapValue(Op); in remapInstruction()
[all …]
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp133 Value *mapValue(const Value *V);
138 return cast_or_null<Constant>(mapValue(C)); in mapConstant()
339 Value *Mapper::mapValue(const Value *V) { in mapValue() function in Mapper
383 if (Value *LV = mapValue(LAM->getValue())) { in mapValue()
419 auto Mapped = mapValue(V); in mapValue()
491 Function *F = cast<Function>(mapValue(BA.getFunction())); in mapBlockAddress()
501 BB = cast_or_null<BasicBlock>(mapValue(BA.getBasicBlock())); in mapBlockAddress()
798 return wrapConstantAsMetadata(*CMD, mapValue(CMD->getValue())); in mapSimpleMetadata()
849 BasicBlock *BB = cast_or_null<BasicBlock>(mapValue(DBB.OldBB)); in flush()
857 Value *V = mapValue(Op); in remapInstruction()
[all …]
/external/aac/libSYS/src/
Dsyslib_channelMapDescr.cpp163 UCHAR mapValue = chIdx; /* Pass through by default. */ in FDK_chMapDescr_getMapValue() local
172 mapValue = pMapDescr->pMapInfoTab[mapIdx].pChannelMap[chIdx]; in FDK_chMapDescr_getMapValue()
175 return mapValue; in FDK_chMapDescr_getMapValue()
/external/jarjar/src/main/com/tonicsystems/jarjar/
DKeepProcessor.java87 public Object mapValue(Object value) { in mapValue() method in KeepProcessor
97 return super.mapValue(value); in mapValue()
DPackageRemapper.java85 public Object mapValue(Object value) { in mapValue() method in PackageRemapper
116 return super.mapValue(value); in mapValue()
/external/llvm/include/llvm/Transforms/Utils/
DValueMapper.h164 Value *mapValue(const Value &V);
202 return ValueMapper(VM, Flags, TypeMapper, Materializer).mapValue(*V);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DValueMapper.h171 Value *mapValue(const Value &V);
210 return ValueMapper(VM, Flags, TypeMapper, Materializer).mapValue(*V);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieMapTest.java243 Integer mapValue = mapEntry.getValue(); in checkContents() local
245 if (!mapValue.equals(trieValue)) { in checkContents()
246 assertEquals(style + "\tValues match", mapValue, trieValue); in checkContents()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieMapTest.java240 Integer mapValue = mapEntry.getValue(); in checkContents() local
242 if (!mapValue.equals(trieValue)) { in checkContents()
243 assertEquals(style + "\tValues match", mapValue, trieValue); in checkContents()
/external/aac/libAACdec/src/
Daacdecoder_lib.cpp1717 UCHAR mapValue = FDK_chMapDescr_getMapValue( in aacDecoder_DecodeFrame() local
1719 if (mapValue < (8)) reverseInChannelMap[mapValue] = ch; in aacDecoder_DecodeFrame()
1722 UCHAR mapValue = FDK_chMapDescr_getMapValue( in aacDecoder_DecodeFrame() local
1724 if (mapValue < (8)) reverseOutChannelMap[mapValue] = ch; in aacDecoder_DecodeFrame()
Daacdecoder.cpp3600 int mapValue; in CAacDecoder_DecodeFrame() local
3609 mapValue = in CAacDecoder_DecodeFrame()
3611 self->channelType[mapValue] = types[c]; in CAacDecoder_DecodeFrame()
3612 self->channelIndices[mapValue] = idx[c]; in CAacDecoder_DecodeFrame()
/external/llvm/lib/Linker/
DIRMover.cpp1240 Mapper.mapValue(*GV); in run()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DIRMover.cpp1465 Mapper.mapValue(*GV); in run()