Home
last modified time | relevance | path

Searched refs:mapType (Results 1 – 8 of 8) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DUtil.java52 public static TypeMirror getProvidedValueTypeOfMap(DeclaredType mapType) { in getProvidedValueTypeOfMap() argument
53 checkState(MoreTypes.isTypeOf(Map.class, mapType), "%s is not a Map.", mapType); in getProvidedValueTypeOfMap() local
54 return asDeclared(mapType.getTypeArguments().get(1)).getTypeArguments().get(0); in getProvidedValueTypeOfMap()
61 public static TypeMirror getValueTypeOfMap(DeclaredType mapType) { in getValueTypeOfMap() argument
62 checkState(MoreTypes.isTypeOf(Map.class, mapType), "%s is not a Map.", mapType); in getValueTypeOfMap() local
63 return mapType.getTypeArguments().get(1); in getValueTypeOfMap()
69 public static TypeMirror getKeyTypeOfMap(DeclaredType mapType) { in getKeyTypeOfMap() argument
70 checkState(MoreTypes.isTypeOf(Map.class, mapType), "%s is not a Map.", mapType); in getKeyTypeOfMap() local
71 return mapType.getTypeArguments().get(0); in getKeyTypeOfMap()
DKey.java357 TypeMirror mapType = types.getDeclaredType(getMapElement(), keyType, wrappedType);
360 MoreTypes.equivalence().wrap(mapType)));
DAbstractComponentWriter.java1118 DeclaredType mapType = asDeclared(firstBinding.key().type()); in initializeMapBinding() local
1120 if (isMapWithNonProvidedValues(mapType)) { in initializeMapBinding()
1131 TypeNames.forTypeMirror(getKeyTypeOfMap(mapType)), in initializeMapBinding()
1132 TypeNames.forTypeMirror(getProvidedValueTypeOfMap(mapType)), // V of Map<K, Provider<V>> in initializeMapBinding()
/external/spirv-llvm/lib/SPIRV/
DSPIRVWriter.cpp233 SPIRVType *mapType(Type *T, SPIRVType *BT) { in mapType() function in SPIRV::LLVMToSPIRV
449 return mapType(T, BM->addVoidType()); in transType()
452 return mapType(T, BM->addBoolType()); in transType()
455 return mapType(T, BM->addIntegerType(T->getIntegerBitWidth())); in transType()
458 return mapType(T, BM->addFloatType(T->getPrimitiveSizeInBits())); in transType()
492 return mapType(T, PipeT); in transType()
496 return mapType(T, transSPIRVOpaqueType(SPIRVImageTy)); in transType()
502 return mapType(T, BM->addOpaqueGenericType(OpCode)); in transType()
504 return mapType(T, BM->addPipeType()); in transType()
506 return mapType(T, BM->addDeviceEventType()); in transType()
[all …]
DSPIRVReader.cpp410 Type *mapType(SPIRVType *BT, Type *T) { in mapType() function in SPIRV::SPIRVToLLVM
687 return mapType(T, Type::getVoidTy(*Context)); in transType()
689 return mapType(T, Type::getInt1Ty(*Context)); in transType()
691 return mapType(T, Type::getIntNTy(*Context, T->getIntegerBitWidth())); in transType()
693 return mapType(T, transFPType(T)); in transType()
695 return mapType(T, ArrayType::get(transType(T->getArrayElementType()), in transType()
698 return mapType(T, PointerType::get(transType( in transType()
702 return mapType(T, VectorType::get(transType(T->getVectorComponentType()), in transType()
705 return mapType(T, StructType::create(*Context, T->getName())); in transType()
712 return mapType(T, FunctionType::get(RT, PT, false)); in transType()
[all …]
/external/skia/gm/
Dlightingshader.cpp92 void drawRect(SkCanvas* canvas, const SkRect& r, NormalMap mapType) { in drawRect() argument
104 sk_sp<SkShader> normalMap = SkShader::MakeBitmapShader(fNormalMaps[mapType], in drawRect()
/external/desugar/java/com/google/devtools/build/android/desugar/
DCoreLibraryRewriter.java197 newEntries[i++] = t instanceof String ? remapper.mapType((String) t) : t; in createMethodRemapper()
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenResolutionTest.java395 assertEquals(Map.class, mapType().getRawType());
492 private static TypeToken<Map<Object, Object>> mapType() {