Home
last modified time | relevance | path

Searched refs:valueType (Results 1 – 25 of 35) sorted by relevance

12

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DEncodedValue.java45 int valueType = valueArgType & 0x1f; in annotateEncodedValue() local
47 switch (valueType) { in annotateEncodedValue()
49 out.annotate(1, "valueArg = %d, valueType = 0x%x: byte", valueArg, valueType); in annotateEncodedValue()
54 out.annotate(1, "valueArg = %d, valueType = 0x%x: short", valueArg, valueType); in annotateEncodedValue()
59 out.annotate(1, "valueArg = %d, valueType = 0x%x: char", valueArg, valueType); in annotateEncodedValue()
64 out.annotate(1, "valueArg = %d, valueType = 0x%x: int", valueArg, valueType); in annotateEncodedValue()
69 out.annotate(1, "valueArg = %d, valueType = 0x%x: long", valueArg, valueType); in annotateEncodedValue()
74 out.annotate(1, "valueArg = %d, valueType = 0x%x: float", valueArg, valueType); in annotateEncodedValue()
79 out.annotate(1, "valueArg = %d, valueType = 0x%x: double", valueArg, valueType); in annotateEncodedValue()
84 out.annotate(1, "valueArg = %d, valueType = 0x%x: string", valueArg, valueType); in annotateEncodedValue()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexDataWriter.java161 public void writeEncodedValueHeader(int valueType, int valueArg) throws IOException { in writeEncodedValueHeader() argument
162 write(valueType | (valueArg << 5)); in writeEncodedValueHeader()
165 public void writeEncodedInt(int valueType, int value) throws IOException { in writeEncodedInt() argument
179 writeEncodedValueHeader(valueType, index-1); in writeEncodedInt()
183 public void writeEncodedLong(int valueType, long value) throws IOException { in writeEncodedLong() argument
197 writeEncodedValueHeader(valueType, index-1); in writeEncodedLong()
201 public void writeEncodedUint(int valueType, int value) throws IOException { in writeEncodedUint() argument
207 writeEncodedValueHeader(valueType, index-1); in writeEncodedUint()
211 public void writeEncodedFloat(int valueType, float value) throws IOException { in writeEncodedFloat() argument
212 writeRightZeroExtendedInt(valueType, Float.floatToRawIntBits(value)); in writeEncodedFloat()
[all …]
/external/guava/guava/src/com/google/common/collect/
DEnumBiMap.java47 private transient Class<V> valueType; field in EnumBiMap
57 create(Class<K> keyType, Class<V> valueType) { in create() argument
58 return new EnumBiMap<K, V>(keyType, valueType); in create()
78 private EnumBiMap(Class<K> keyType, Class<V> valueType) { in EnumBiMap() argument
80 WellBehavedMap.wrap(new EnumMap<V, K>(valueType))); in EnumBiMap()
82 this.valueType = valueType; in EnumBiMap()
98 return ((EnumBiMap<?, V>) map).valueType; in inferValueType()
110 public Class<V> valueType() { in valueType() method in EnumBiMap
111 return valueType; in valueType()
132 stream.writeObject(valueType); in writeObject()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DEnumBiMap.java43 private transient Class<V> valueType; field in EnumBiMap
53 create(Class<K> keyType, Class<V> valueType) { in create() argument
54 return new EnumBiMap<K, V>(keyType, valueType); in create()
74 private EnumBiMap(Class<K> keyType, Class<V> valueType) { in EnumBiMap() argument
76 WellBehavedMap.wrap(new EnumMap<V, K>(valueType))); in EnumBiMap()
78 this.valueType = valueType; in EnumBiMap()
94 return ((EnumBiMap<?, V>) map).valueType; in inferValueType()
106 public Class<V> valueType() { in valueType() method in EnumBiMap
107 return valueType; in valueType()
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
DMapBinder.java144 TypeLiteral<K> keyType, TypeLiteral<V> valueType) { in newMapBinder() argument
146 return newRealMapBinder(binder, keyType, valueType, Key.get(mapOf(keyType, valueType)), in newMapBinder()
147 Multibinder.newSetBinder(binder, entryOfProviderOf(keyType, valueType))); in newMapBinder()
155 Class<K> keyType, Class<V> valueType) { in newMapBinder() argument
156 return newMapBinder(binder, TypeLiteral.get(keyType), TypeLiteral.get(valueType)); in newMapBinder()
164 TypeLiteral<K> keyType, TypeLiteral<V> valueType, Annotation annotation) { in newMapBinder() argument
166 return newRealMapBinder(binder, keyType, valueType, in newMapBinder()
167 Key.get(mapOf(keyType, valueType), annotation), in newMapBinder()
168 Multibinder.newSetBinder(binder, entryOfProviderOf(keyType, valueType), annotation)); in newMapBinder()
176 Class<K> keyType, Class<V> valueType, Annotation annotation) { in newMapBinder() argument
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
DUBJsonReader.java108 byte valueType = 0; in parseArray()
110 valueType = din.readByte(); in parseArray()
118 type = valueType == 0 ? din.readByte() : valueType; in parseArray()
135 type = valueType == 0 ? din.readByte() : valueType; in parseArray()
143 byte valueType = 0; in parseObject()
145 valueType = din.readByte(); in parseObject()
159 final JsonValue child = parse(din, valueType == 0 ? din.readByte() : valueType); in parseObject()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/value/
DDexBackedEncodedValue.java50 int valueType = b & 0x1f; in readFrom() local
53 switch (valueType) { in readFrom()
105 throw new ExceptionWithContext("Invalid encoded_value type: 0x%x", valueType); in readFrom()
117 int valueType = b & 0x1f; in skipFrom() local
119 switch (valueType) { in skipFrom()
147 throw new ExceptionWithContext("Invalid encoded_value type: 0x%x", valueType); in skipFrom()
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp135 DataType getTransportType (DataType valueType) in getTransportType() argument
137 if (isDataTypeBoolOrBVec(valueType)) in getTransportType()
138 return glu::getDataTypeUintVec(getDataTypeScalarSize(valueType)); in getTransportType()
140 return valueType; in getTransportType()
143 int getNumTransportLocations (DataType valueType) in getNumTransportLocations() argument
145 return isDataTypeMatrix(valueType) ? getDataTypeMatrixNumColumns(valueType) : 1; in getNumTransportLocations()
169 const DataType valueType = val.type.getBasicType(); in genVertexShader() local
170 const DataType transportType = getTransportType(valueType); in genVertexShader()
172 const int numLocs = getNumTransportLocations(valueType); in genVertexShader()
175 …putLoc << ") flat out " << transportTypeStr << " " << (transportType != valueType ? "v_" : "") << … in genVertexShader()
[all …]
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DSpiUtils.java110 static <T> void assertMapVisitor(Key<T> mapKey, TypeLiteral<?> keyType, TypeLiteral<?> valueType, in assertMapVisitor() argument
118 mapInjectorTest(mapKey, keyType, valueType, modules, allowDuplicates, expectedMapBindings, in assertMapVisitor()
123 mapModuleTest(mapKey, keyType, valueType, modules, allowDuplicates, expectedMapBindings, in assertMapVisitor()
130 TypeLiteral<?> valueType, Iterable<? extends Module> modules, boolean allowDuplicates, in mapInjectorTest() argument
138 assertEquals(valueType, mapbinder.getValueTypeLiteral()); in mapInjectorTest()
168 Key<?> mapOfJavaxProvider = mapKey.ofType(mapOfJavaxProviderOf(keyType, valueType)); in mapInjectorTest()
169 Key<?> mapOfProvider = mapKey.ofType(mapOfProviderOf(keyType, valueType)); in mapInjectorTest()
170 Key<?> mapOfSetOfProvider = mapKey.ofType(mapOfSetOfProviderOf(keyType, valueType)); in mapInjectorTest()
171 Key<?> mapOfSet = mapKey.ofType(mapOf(keyType, setOf(valueType))); in mapInjectorTest()
172 Key<?> setOfEntry = mapKey.ofType(setOf(entryOfProviderOf(keyType, valueType))); in mapInjectorTest()
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/json/
DImmutableMultimapTypeAdapterFactory.java50 TypeToken<V> valueType = (TypeToken<V>) TypeToken.of(rawType.getActualTypeArguments()[1]); in getMapOfListsToken() local
53 .where(new TypeParameter<V>() {}, valueType); in getMapOfListsToken()
62 TypeToken<V> valueType = (TypeToken<V>) TypeToken.of(rawType.getActualTypeArguments()[1]); in getMapOfSetsToken() local
65 .where(new TypeParameter<V>() {}, valueType); in getMapOfSetsToken()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DThrowingProviderBinder.java142 private final Type valueType; field in ThrowingProviderBinder.SecondaryBinder
151 public SecondaryBinder(Class<P> interfaceType, Type valueType) { in SecondaryBinder() argument
153 this.valueType = checkNotNull(valueType, "valueType"); in SecondaryBinder()
441 if(!checkArgument(genericThrowingProvider.getActualTypeArguments()[0].equals(valueType),
443 interfaceType, genericThrowingProvider.getActualTypeArguments()[0], valueType)) {
502 interfaceType.getEnclosingClass(), interfaceType, valueType);
/external/dexmaker/src/test/java/com/google/dexmaker/
DDexMakerTest.java692 TypeId<T> valueType = TypeId.get(source); in notMethod() local
693 MethodId<?, T> methodId = GENERATED.getMethod(valueType, "call", valueType); in notMethod()
695 Local<T> localSource = code.getParameter(0, valueType); in notMethod()
733 TypeId<T> valueType = TypeId.get(source); in negateMethod() local
734 MethodId<?, T> methodId = GENERATED.getMethod(valueType, "call", valueType); in negateMethod()
736 Local<T> localSource = code.getParameter(0, valueType); in negateMethod()
971 TypeId<V> valueType = TypeId.get(valueClass); in instanceSwapMethod() local
973 FieldId<Instance, V> fieldId = objectType.getField(valueType, fieldName); in instanceSwapMethod()
974 MethodId<?, V> methodId = GENERATED.getMethod(valueType, "call", objectType, valueType); in instanceSwapMethod()
977 Local<V> localNewValue = code.getParameter(1, valueType); in instanceSwapMethod()
[all …]
/external/guice/core/src/com/google/inject/util/
DTypes.java119 public static ParameterizedType mapOf(Type keyType, Type valueType) { in mapOf() argument
120 return newParameterizedType(Map.class, keyType, valueType); in mapOf()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/nodes/
DMappingNode.java70 public void setTypes(Class<? extends Object> keyType, Class<? extends Object> valueType) { in setTypes() argument
72 nodes.getValueNode().setType(valueType); in setTypes()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPMetaImpl.java662 protected XMPProperty getProperty(String schemaNS, String propName, int valueType)
673 if (valueType != VALUE_STRING && propNode.getOptions().isCompositeProperty())
679 final Object value = evaluateNodeValue(valueType, propNode);
729 protected Object getPropertyObject(String schemaNS, String propName, int valueType)
740 if (valueType != VALUE_STRING && propNode.getOptions().isCompositeProperty())
746 return evaluateNodeValue(valueType, propNode);
1385 private Object evaluateNodeValue(int valueType, final XMPNode propNode) throws XMPException
1389 switch (valueType)
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenResolutionTest.java261 Type valueType = Map.class.getTypeParameters()[1];
266 TypeToken.of(context).resolveType(valueType).getType());
270 assertEquals(valueType, TypeToken.of(valueType).resolveType(valueType).getType());
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DOdexedFieldInstructionMapper.java249 Integer valueType = opcodeValueTypeMap.get(opcode); in isCompatible() local
250 if (valueType == null) { in isCompatible()
253 return valueType == getValueType(type); in isCompatible()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
DRepresenter.java212 Class<?> valueType = arguments[1]; in checkGlobalTag() local
216 resetTag(valueType, tuple.getValueNode()); in checkGlobalTag()
/external/proguard/src/proguard/optimize/peephole/
DInstructionSequenceReplacer.java377 int valueType, in argumentAsString() argument
380 switch (valueType) in argumentAsString()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp614 QualType valueType = cast<AtomicType>(Ty)->getValueType(); in ConvertType() local
615 ResultType = ConvertTypeForMem(valueType); in ConvertType()
618 uint64_t valueSize = Context.getTypeSize(valueType); in ConvertType()
DCGExprAgg.cpp624 QualType valueType = E->getType(); in VisitCastExpr() local
625 if (isToAtomic) std::swap(atomicType, valueType); in VisitCastExpr()
628 assert(CGF.getContext().hasSameUnqualifiedType(valueType, in VisitCastExpr()
683 return EmitFinalDestCopy(valueType, rvalue); in VisitCastExpr()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DKey.java279 ExecutableElement method, TypeMirror valueType, TypeElement factoryType) {
281 TypeMirror mapValueFactoryType = types.getDeclaredType(factoryType, valueType);
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderOperatorTests.cpp304 : valueType (valueType_) in Value()
310 ValueType valueType; member
1882 const bool isUnaryOp = (funcInfo.input1.valueType == VALUE_NONE); in init()
1916 if (v.valueType == VALUE_NONE) in init()
1919 const int prevInScalarSize = isScalarType(prevV.valueType) ? 1 : inScalarSize; in init()
1920 … const DataType prevInDataType = isFloatType(prevV.valueType) ? s_floatTypes[prevInScalarSize - 1] in init()
1921 : isIntType(prevV.valueType) ? s_intTypes[prevInScalarSize - 1] in init()
1922 : isUintType(prevV.valueType) ? s_uintTypes[prevInScalarSize - 1] in init()
1923 : isBoolType(prevV.valueType) ? s_boolTypes[prevInScalarSize - 1] in init()
1926 const int curInScalarSize = isScalarType(v.valueType) ? 1 : inScalarSize; in init()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderOperatorTests.cpp418 : valueType (valueType_) in Value()
424 ValueType valueType; member
1924 bool isUnaryOp = (funcInfo.input1.valueType == VALUE_NONE); in init()
1957 if (v.valueType == VALUE_NONE) in init()
1960 int prevInScalarSize = isScalarType(prevV.valueType) ? 1 : inScalarSize; in init()
1961 … DataType prevInDataType = isFloatType(prevV.valueType) ? s_floatTypes[prevInScalarSize - 1] in init()
1962 : isIntType(prevV.valueType) ? s_intTypes[prevInScalarSize - 1] in init()
1963 : isUintType(prevV.valueType) ? s_uintTypes[prevInScalarSize - 1] in init()
1964 : isBoolType(prevV.valueType) ? s_boolTypes[prevInScalarSize - 1] in init()
1967 int curInScalarSize = isScalarType(v.valueType) ? 1 : inScalarSize; in init()
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderOperatorTests.cpp237 : valueType (valueType_) in Value()
243 ValueType valueType; member
1239 …bool isIntCase = (funcInfo.input0.valueType & (VALUE_INT | VALUE_INT_VEC | VALUE_INT_GENTYPE)… in init()
1286 bool isUnaryOp = (funcInfo.input1.valueType == VALUE_NONE); in init()
1317 if (v.valueType == VALUE_NONE) in init()
1320 int curInScalarSize = isScalarType(v.valueType) ? 1 : inScalarSize; in init()
1333 …if (inputNdx == 0 || isScalarType(prevV.valueType) != isScalarType(v.valueType)) // \note Only wri… in init()

12