Home
last modified time | relevance | path

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

1234

/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/guice/core/src/com/google/inject/multibindings/
DMapBinder.java101 Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType) { in newMapBinder() argument
103 newMapRealBinder(binder.skipSources(MapBinder.class), keyType, valueType)); in newMapBinder()
111 Binder binder, Class<K> keyType, Class<V> valueType) { in newMapBinder() argument
112 return newMapBinder(binder, TypeLiteral.get(keyType), TypeLiteral.get(valueType)); in newMapBinder()
120 Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Annotation annotation) { in newMapBinder() argument
122 newRealMapBinder(binder.skipSources(MapBinder.class), keyType, valueType, annotation)); in newMapBinder()
130 Binder binder, Class<K> keyType, Class<V> valueType, Annotation annotation) { in newMapBinder() argument
131 return newMapBinder(binder, TypeLiteral.get(keyType), TypeLiteral.get(valueType), annotation); in newMapBinder()
141 TypeLiteral<V> valueType, in newMapBinder() argument
144 newRealMapBinder(binder.skipSources(MapBinder.class), keyType, valueType, annotationType)); in newMapBinder()
[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/protobuf/java/core/src/main/java/com/google/protobuf/
DMapEntryLite.java49 public final WireFormat.FieldType valueType; field in MapEntryLite.Metadata
54 WireFormat.FieldType valueType) { in Metadata() argument
57 this.valueType = valueType; in Metadata()
80 WireFormat.FieldType valueType, V defaultValue) { in MapEntryLite() argument
81 this.metadata = new Metadata<K, V>(this, keyType, valueType); in MapEntryLite()
111 WireFormat.FieldType valueType, V defaultValue) { in newDefaultInstance() argument
113 keyType, defaultKey, valueType, defaultValue); in newDefaultInstance()
119 writeField(VALUE_FIELD_NUMBER, metadata.valueType, value, output); in writeTo()
137 size += getFieldSize(VALUE_FIELD_NUMBER, metadata.valueType, value); in getSerializedSize()
167 VALUE_FIELD_NUMBER, metadata.valueType.getWireType())) { in MapEntryLite()
[all …]
DMapEntry.java84 WireFormat.FieldType valueType, V defaultValue) { in MapEntry() argument
86 keyType, defaultKey, valueType, defaultValue); in MapEntry()
105 WireFormat.FieldType valueType, V defaultValue) { in newDefaultInstance() argument
107 descriptor, keyType, defaultKey, valueType, defaultValue); in newDefaultInstance()
/external/guice/core/src/com/google/inject/internal/
DRealMapBinder.java73 Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType) { in newMapRealBinder() argument
78 valueType, in newMapRealBinder()
79 Key.get(mapOf(keyType, valueType)), in newMapRealBinder()
80 RealMultibinder.newRealSetBinder(binder, Key.get(entryOfProviderOf(keyType, valueType)))); in newMapRealBinder()
88 Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Annotation annotation) { in newRealMapBinder() argument
93 valueType, in newRealMapBinder()
94 Key.get(mapOf(keyType, valueType), annotation), in newRealMapBinder()
96 binder, Key.get(entryOfProviderOf(keyType, valueType), annotation))); in newRealMapBinder()
106 TypeLiteral<V> valueType, in newRealMapBinder() argument
112 valueType, in newRealMapBinder()
[all …]
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMap.java108 this.valueType = Utils.rubyToFieldType(args[1]); in initialize()
125 if (needTypeclass(this.valueType) && args.length > 2) { in initialize()
127 Utils.validateTypeClass(context, this.valueType, this.valueTypeClass); in initialize()
152 Utils.checkType(context, valueType, value, (RubyModule) valueTypeClass); in indexSet()
154 if (valueType == Descriptors.FieldDescriptor.Type.ENUM && in indexSet()
349 switch (valueType) { in deepCopy()
399 this.valueType == other.valueType && in typeCompatible()
405 if (needTypeclass(valueType)) { in newThisType()
408 Utils.fieldTypeToRuby(context, valueType), in newThisType()
413 Utils.fieldTypeToRuby(context, valueType), in newThisType()
[all …]
/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/bcc/src/cc/frontends/p4/compiler/
Dtarget.py38 isHash, keyType, valueType, size): argument
43 assert isinstance(valueType, str)
65 self.tableValueAttribute, valueType)
126 isHash, keyType, valueType, size): argument
131 assert isinstance(valueType, str)
141 kind, keyType, valueType, tableName, size)
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DInternalNano.java396 int valueType, in mergeMapEntry() argument
412 if (valueType == TYPE_MESSAGE) { in mergeMapEntry()
415 value = (V) input.readPrimitiveField(valueType); in mergeMapEntry()
433 value = (V) primitiveDefaultValue(valueType); in mergeMapEntry()
442 Map<K, V> map, int number, int keyType, int valueType) in serializeMapField() argument
453 CodedOutputByteBufferNano.computeFieldSize(2, valueType, value); in serializeMapField()
457 output.writeField(2, valueType, value); in serializeMapField()
462 Map<K, V> map, int number, int keyType, int valueType) { in computeMapFieldSize() argument
474 CodedOutputByteBufferNano.computeFieldSize(2, valueType, value); in computeMapFieldSize()
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp138 DataType getTransportType (DataType valueType) in getTransportType() argument
140 if (isDataTypeBoolOrBVec(valueType)) in getTransportType()
141 return glu::getDataTypeUintVec(getDataTypeScalarSize(valueType)); in getTransportType()
143 return valueType; in getTransportType()
146 int getNumTransportLocations (DataType valueType) in getNumTransportLocations() argument
148 return isDataTypeMatrix(valueType) ? getDataTypeMatrixNumColumns(valueType) : 1; in getNumTransportLocations()
172 const DataType valueType = val.type.getBasicType(); in genVertexShader() local
173 const DataType transportType = getTransportType(valueType); in genVertexShader()
175 const int numLocs = getNumTransportLocations(valueType); in genVertexShader()
178 …putLoc << ") flat out " << transportTypeStr << " " << (transportType != valueType ? "v_" : "") << … in genVertexShader()
[all …]
/external/guice/core/test/com/google/inject/internal/
DSpiUtils.java123 TypeLiteral<?> valueType, in assertMapVisitor() argument
135 mapKey, keyType, valueType, modules, allowDuplicates, expectedMapBindings, results); in assertMapVisitor()
140 mapKey, keyType, valueType, modules, allowDuplicates, expectedMapBindings, results); in assertMapVisitor()
148 TypeLiteral<?> valueType, in mapInjectorTest() argument
159 assertEquals(valueType, mapbinder.getValueTypeLiteral()); in mapInjectorTest()
192 Key<?> mapOfJavaxProvider = mapKey.ofType(mapOfJavaxProviderOf(keyType, valueType)); in mapInjectorTest()
193 Key<?> mapOfProvider = mapKey.ofType(mapOfProviderOf(keyType, valueType)); in mapInjectorTest()
194 Key<?> mapOfSetOfProvider = mapKey.ofType(mapOfSetOfProviderOf(keyType, valueType)); in mapInjectorTest()
195 Key<?> mapOfSetOfJavaxProvider = mapKey.ofType(mapOfSetOfJavaxProviderOf(keyType, valueType)); in mapInjectorTest()
197 mapKey.ofType(mapOfCollectionOfProviderOf(keyType, valueType)); in mapInjectorTest()
[all …]
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DProviderChecker.java20 Class<P> interfaceType, Optional<? extends Type> valueType) { in checkInterface() argument
59 if (valueType.isPresent()) { in checkInterface()
61 genericThrowingProvider.getActualTypeArguments()[0].equals(valueType.get()), in checkInterface()
65 valueType.get()); in checkInterface()
DThrowingProviderBinder.java137 private final Type valueType; field in ThrowingProviderBinder.SecondaryBinder
146 public SecondaryBinder(Class<P> interfaceType, Type valueType) { in SecondaryBinder() argument
148 this.valueType = checkNotNull(valueType, "valueType"); in SecondaryBinder()
402 ProviderChecker.checkInterface(interfaceType, Optional.of(valueType));
416 interfaceType.getEnclosingClass(), interfaceType, valueType);
/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/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DDexMakerTest.java799 TypeId<T> valueType = TypeId.get(source); in notMethod() local
800 MethodId<?, T> methodId = GENERATED.getMethod(valueType, "call", valueType); in notMethod()
802 Local<T> localSource = code.getParameter(0, valueType); in notMethod()
841 TypeId<T> valueType = TypeId.get(source); in negateMethod() local
842 MethodId<?, T> methodId = GENERATED.getMethod(valueType, "call", valueType); in negateMethod()
844 Local<T> localSource = code.getParameter(0, valueType); in negateMethod()
1084 TypeId<V> valueType = TypeId.get(valueClass); in instanceSwapMethod() local
1086 FieldId<Instance, V> fieldId = objectType.getField(valueType, fieldName); in instanceSwapMethod()
1087 MethodId<?, V> methodId = GENERATED.getMethod(valueType, "call", objectType, valueType); in instanceSwapMethod()
1090 Local<V> localNewValue = code.getParameter(1, valueType); in instanceSwapMethod()
[all …]
/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/guice/core/src/com/google/inject/util/
DTypes.java123 public static ParameterizedType mapOf(Type keyType, Type valueType) { in mapOf() argument
124 return newParameterizedType(Map.class, keyType, valueType); in mapOf()
/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/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DLocaleValidityChecker.java154 ValueType valueType = null; in isValidU() local
181 valueType = KeyTypeData.getValueType(key); in isValidU()
191 switch (valueType) { in isValidU()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleValidityChecker.java149 ValueType valueType = null; in isValidU() local
176 valueType = KeyTypeData.getValueType(key); in isValidU()
186 switch (valueType) { in isValidU()

1234