Home
last modified time | relevance | path

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

/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/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/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/spirv-llvm/lib/SPIRV/
DSPIRVReader.cpp419 Value *mapValue(SPIRVValue *BV, Value *V) { in mapValue() function in SPIRV::SPIRVToLLVM
1337 return mapValue(BV, ConstantInt::get(LT, BConst->getZExtIntValue(), in transValueWithoutDecoration()
1354 return mapValue(BV, ConstantFP::get(*Context, APFloat(*FS, in transValueWithoutDecoration()
1364 return mapValue(BV, ConstantInt::getTrue(*Context)); in transValueWithoutDecoration()
1367 return mapValue(BV, ConstantInt::getFalse(*Context)); in transValueWithoutDecoration()
1371 return mapValue(BV, Constant::getNullValue(LT)); in transValueWithoutDecoration()
1381 return mapValue(BV, ConstantVector::get(CV)); in transValueWithoutDecoration()
1383 return mapValue(BV, ConstantArray::get( in transValueWithoutDecoration()
1403 return mapValue(BV, ConstantStruct::get( in transValueWithoutDecoration()
1414 return mapValue(BV, oclTransConstantSampler(BCS)); in transValueWithoutDecoration()
[all …]
DSPIRVWriter.cpp240 SPIRVValue *mapValue(Value *V, SPIRVValue *BV) { in mapValue() function in SPIRV::LLVMToSPIRV
642 SPIRVFunction *BF = static_cast<SPIRVFunction *>(mapValue(F, in transFunctionDecl()
866 BB = static_cast<SPIRVBasicBlock *>(mapValue(V, BM->addBasicBlock(BF))); in transValueWithoutDecoration()
885 return mapValue(V, BV); in transValueWithoutDecoration()
903 mapValue(V, BVar); in transValueWithoutDecoration()
914 return mapValue(V, BV); in transValueWithoutDecoration()
921 return mapValue(V, BF->getArgument(ArgNo)); in transValueWithoutDecoration()
925 return mapValue(V, BM->addForward(transType(V->getType()))); in transValueWithoutDecoration()
939 return mapValue(V, BM->addStoreInst( in transValueWithoutDecoration()
957 return mapValue(V, BM->addLoadInst( in transValueWithoutDecoration()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DValueMapper.cpp145 Value *mapValue(const Value *V);
150 return cast_or_null<Constant>(mapValue(C)); in mapConstant()
340 Value *Mapper::mapValue(const Value *V) { in mapValue() function in Mapper
384 if (Value *LV = mapValue(LAM->getValue())) { in mapValue()
420 auto Mapped = mapValue(V); in mapValue()
492 Function *F = cast<Function>(mapValue(BA.getFunction())); in mapBlockAddress()
502 BB = cast_or_null<BasicBlock>(mapValue(BA.getBasicBlock())); in mapBlockAddress()
813 return wrapConstantAsMetadata(*CMD, mapValue(CMD->getValue())); in mapSimpleMetadata()
865 BasicBlock *BB = cast_or_null<BasicBlock>(mapValue(DBB.OldBB)); in flush()
873 Value *V = mapValue(Op); in remapInstruction()
[all …]
/external/swiftshader/third_party/llvm-7.0/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/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/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-7.0/llvm/include/llvm/Transforms/Utils/
DValueMapper.h172 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.cpp1696 UCHAR mapValue = FDK_chMapDescr_getMapValue( in aacDecoder_DecodeFrame() local
1698 if (mapValue < (8)) reverseInChannelMap[mapValue] = ch; in aacDecoder_DecodeFrame()
1701 UCHAR mapValue = FDK_chMapDescr_getMapValue( in aacDecoder_DecodeFrame() local
1703 if (mapValue < (8)) reverseOutChannelMap[mapValue] = ch; in aacDecoder_DecodeFrame()
Daacdecoder.cpp3434 int mapValue; in CAacDecoder_DecodeFrame() local
3443 mapValue = in CAacDecoder_DecodeFrame()
3445 self->channelType[mapValue] = types[c]; in CAacDecoder_DecodeFrame()
3446 self->channelIndices[mapValue] = idx[c]; in CAacDecoder_DecodeFrame()
/external/llvm/lib/Linker/
DIRMover.cpp1240 Mapper.mapValue(*GV); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/
DIRMover.cpp1355 Mapper.mapValue(*GV); in run()