Home
last modified time | relevance | path

Searched refs:typeId (Results 1 – 25 of 135) sorted by relevance

123456

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/
DTypeSerializer.java79 public WritableTypeId typeId(Object value, JsonToken valueShape) { in typeId() method in TypeSerializer
106 public WritableTypeId typeId(Object value, JsonToken valueShape, in typeId() method in TypeSerializer
108 WritableTypeId typeId = typeId(value, valueShape); in typeId() local
109 typeId.id = id; in typeId()
110 return typeId; in typeId()
113 public WritableTypeId typeId(Object value, Class<?> typeForId, in typeId() method in TypeSerializer
115 WritableTypeId typeId = typeId(value, valueShape); in typeId() local
116 typeId.forValueType = typeForId; in typeId()
117 return typeId; in typeId()
137 WritableTypeId typeId) throws IOException; in writeTypePrefix() argument
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DWriteTypeIdTest.java38 WritableTypeId typeId = new WritableTypeId(data, JsonToken.START_OBJECT, "typeId"); in testBasicTypeIdWriteForObject() local
39 typeId.include = WritableTypeId.Inclusion.METADATA_PROPERTY; in testBasicTypeIdWriteForObject()
40 typeId.asProperty = "type"; in testBasicTypeIdWriteForObject()
44 gen.writeTypePrefix(typeId); in testBasicTypeIdWriteForObject()
46 gen.writeTypeSuffix(typeId); in testBasicTypeIdWriteForObject()
51 typeId = new WritableTypeId(data, JsonToken.START_OBJECT, "typeId"); in testBasicTypeIdWriteForObject()
52 typeId.include = WritableTypeId.Inclusion.WRAPPER_ARRAY; in testBasicTypeIdWriteForObject()
55 gen.writeTypePrefix(typeId); in testBasicTypeIdWriteForObject()
57 gen.writeTypeSuffix(typeId); in testBasicTypeIdWriteForObject()
63 typeId = new WritableTypeId(data, JsonToken.START_OBJECT, "typeId"); in testBasicTypeIdWriteForObject()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
DSpvBuilder.h195 Op getTypeClass(Id typeId) const { return getOpCode(typeId); } in getTypeClass() argument
196 Op getMostBasicTypeClass(Id typeId) const;
198 int getNumTypeConstituents(Id typeId) const;
199 int getNumTypeComponents(Id typeId) const { return getNumTypeConstituents(typeId); } in getNumTypeComponents() argument
200 Id getScalarTypeId(Id typeId) const;
201 Id getContainedTypeId(Id typeId) const;
202 Id getContainedTypeId(Id typeId, int) const;
203 StorageClass getTypeStorageClass(Id typeId) const { return module.getStorageClass(typeId); } in getTypeStorageClass() argument
204 ImageFormat getImageTypeFormat(Id typeId) const in getImageTypeFormat() argument
205 { return (ImageFormat)module.getInstruction(typeId)->getImmediateOperand(6); } in getImageTypeFormat()
[all …]
DSpvPostProcess.cpp63 void Builder::postProcessType(const Instruction& inst, Id typeId) in postProcessType() argument
66 Id basicTypeOp = getMostBasicTypeClass(typeId); in postProcessType()
69 width = getScalarTypeWidth(typeId); in postProcessType()
76 if (containsType(typeId, OpTypeInt, 8)) in postProcessType()
78 if (containsType(typeId, OpTypeInt, 16)) in postProcessType()
80 if (containsType(typeId, OpTypeFloat, 16)) in postProcessType()
121 if (containsType(typeId, OpTypeFloat, 16) || containsType(typeId, OpTypeInt, 16)) { in postProcessType()
134 if (containsType(typeId, OpTypeFloat, 16)) in postProcessType()
136 if (containsType(typeId, OpTypeInt, 16)) in postProcessType()
140 if (containsType(typeId, OpTypeInt, 8)) { in postProcessType()
[all …]
DSpvBuilder.cpp670 Id typeId = getTypeId(resultId); in getDerefTypeId() local
671 assert(isPointerType(typeId)); in getDerefTypeId()
673 return module.getInstruction(typeId)->getIdOperand(1); in getDerefTypeId()
676 Op Builder::getMostBasicTypeClass(Id typeId) const in getMostBasicTypeClass()
678 Instruction* instr = module.getInstruction(typeId); in getMostBasicTypeClass()
695 int Builder::getNumTypeConstituents(Id typeId) const in getNumTypeConstituents()
697 Instruction* instr = module.getInstruction(typeId); in getNumTypeConstituents()
728 Id Builder::getScalarTypeId(Id typeId) const in getScalarTypeId()
730 Instruction* instr = module.getInstruction(typeId); in getScalarTypeId()
746 return getScalarTypeId(getContainedTypeId(typeId)); in getScalarTypeId()
[all …]
/external/deqp-deps/glslang/SPIRV/
DSpvBuilder.h195 Op getTypeClass(Id typeId) const { return getOpCode(typeId); } in getTypeClass() argument
196 Op getMostBasicTypeClass(Id typeId) const;
198 int getNumTypeConstituents(Id typeId) const;
199 int getNumTypeComponents(Id typeId) const { return getNumTypeConstituents(typeId); } in getNumTypeComponents() argument
200 Id getScalarTypeId(Id typeId) const;
201 Id getContainedTypeId(Id typeId) const;
202 Id getContainedTypeId(Id typeId, int) const;
203 StorageClass getTypeStorageClass(Id typeId) const { return module.getStorageClass(typeId); } in getTypeStorageClass() argument
204 ImageFormat getImageTypeFormat(Id typeId) const in getImageTypeFormat() argument
205 { return (ImageFormat)module.getInstruction(typeId)->getImmediateOperand(6); } in getImageTypeFormat()
[all …]
DSpvPostProcess.cpp63 void Builder::postProcessType(const Instruction& inst, Id typeId) in postProcessType() argument
66 Id basicTypeOp = getMostBasicTypeClass(typeId); in postProcessType()
69 width = getScalarTypeWidth(typeId); in postProcessType()
76 if (containsType(typeId, OpTypeInt, 8)) in postProcessType()
78 if (containsType(typeId, OpTypeInt, 16)) in postProcessType()
80 if (containsType(typeId, OpTypeFloat, 16)) in postProcessType()
121 if (containsType(typeId, OpTypeFloat, 16) || containsType(typeId, OpTypeInt, 16)) { in postProcessType()
134 if (containsType(typeId, OpTypeFloat, 16)) in postProcessType()
136 if (containsType(typeId, OpTypeInt, 16)) in postProcessType()
140 if (containsType(typeId, OpTypeInt, 8)) { in postProcessType()
[all …]
DSpvBuilder.cpp670 Id typeId = getTypeId(resultId); in getDerefTypeId() local
671 assert(isPointerType(typeId)); in getDerefTypeId()
673 return module.getInstruction(typeId)->getIdOperand(1); in getDerefTypeId()
676 Op Builder::getMostBasicTypeClass(Id typeId) const in getMostBasicTypeClass()
678 Instruction* instr = module.getInstruction(typeId); in getMostBasicTypeClass()
695 int Builder::getNumTypeConstituents(Id typeId) const in getNumTypeConstituents()
697 Instruction* instr = module.getInstruction(typeId); in getNumTypeConstituents()
728 Id Builder::getScalarTypeId(Id typeId) const in getScalarTypeId()
730 Instruction* instr = module.getInstruction(typeId); in getScalarTypeId()
746 return getScalarTypeId(getContainedTypeId(typeId)); in getScalarTypeId()
[all …]
/external/python/pyasn1/pyasn1/codec/native/
Ddecoder.py99 univ.Integer.typeId: AbstractScalarDecoder(),
100 univ.Boolean.typeId: AbstractScalarDecoder(),
101 univ.BitString.typeId: BitStringDecoder(),
102 univ.OctetString.typeId: AbstractScalarDecoder(),
103 univ.Null.typeId: AbstractScalarDecoder(),
104 univ.ObjectIdentifier.typeId: AbstractScalarDecoder(),
105 univ.Enumerated.typeId: AbstractScalarDecoder(),
106 univ.Real.typeId: AbstractScalarDecoder(),
108 univ.Set.typeId: SequenceOrSetDecoder(),
109 univ.SetOf.typeId: SequenceOfOrSetOfDecoder(),
[all …]
Dencoder.py144 univ.Boolean.typeId: BooleanEncoder(),
145 univ.Integer.typeId: IntegerEncoder(),
146 univ.BitString.typeId: BitStringEncoder(),
147 univ.OctetString.typeId: OctetStringEncoder(),
148 univ.Null.typeId: NullEncoder(),
149 univ.ObjectIdentifier.typeId: ObjectIdentifierEncoder(),
150 univ.Enumerated.typeId: IntegerEncoder(),
151 univ.Real.typeId: RealEncoder(),
153 univ.Set.typeId: SetEncoder(),
154 univ.SetOf.typeId: SequenceOfEncoder(),
[all …]
/external/python/pyasn1/pyasn1/codec/ber/
Dencoder.py568 if wrapType.typeId in (
569 univ.SetOf.typeId, univ.SequenceOf.typeId):
619 if componentSpec.typeId in (
620 univ.SetOf.typeId, univ.SequenceOf.typeId):
743 univ.Boolean.typeId: BooleanEncoder(),
744 univ.Integer.typeId: IntegerEncoder(),
745 univ.BitString.typeId: BitStringEncoder(),
746 univ.OctetString.typeId: OctetStringEncoder(),
747 univ.Null.typeId: NullEncoder(),
748 univ.ObjectIdentifier.typeId: ObjectIdentifierEncoder(),
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/
DAsExternalTypeSerializer.java61 …protected final void _writeScalarSuffix(Object value, JsonGenerator g, String typeId) throws IOExc… in _writeScalarSuffix() argument
62 if (typeId != null) { in _writeScalarSuffix()
63 g.writeStringField(_typePropertyName, typeId); in _writeScalarSuffix()
67 …protected final void _writeObjectSuffix(Object value, JsonGenerator g, String typeId) throws IOExc… in _writeObjectSuffix() argument
69 if (typeId != null) { in _writeObjectSuffix()
70 g.writeStringField(_typePropertyName, typeId); in _writeObjectSuffix()
74 …protected final void _writeArraySuffix(Object value, JsonGenerator g, String typeId) throws IOExce… in _writeArraySuffix() argument
76 if (typeId != null) { in _writeArraySuffix()
77 g.writeStringField(_typePropertyName, typeId); in _writeArraySuffix()
DTypeDeserializerBase.java145 String typeId) throws IOException in _findDeserializer() argument
147 JsonDeserializer<Object> deser = _deserializers.get(typeId); in _findDeserializer()
154 JavaType type = _idResolver.typeFromId(ctxt, typeId); in _findDeserializer()
160 JavaType actual = _handleUnknownTypeId(ctxt, typeId); in _findDeserializer()
194 throw ctxt.invalidTypeIdException(_baseType, typeId, e.getMessage()); in _findDeserializer()
200 _deserializers.put(typeId, deser); in _findDeserializer()
249 …ected Object _deserializeWithNativeTypeId(JsonParser p, DeserializationContext ctxt, Object typeId) in _deserializeWithNativeTypeId() argument
253 if (typeId == null) { in _deserializeWithNativeTypeId()
262 … String typeIdStr = (typeId instanceof String) ? (String) typeId : String.valueOf(typeId); in _deserializeWithNativeTypeId()
281 protected JavaType _handleUnknownTypeId(DeserializationContext ctxt, String typeId) in _handleUnknownTypeId() argument
[all …]
DAsWrapperTypeSerializer.java46 protected String _validTypeId(String typeId) { in _validTypeId() argument
47 return ClassUtil.nonNullString(typeId); in _validTypeId()
51 protected final void _writeTypeId(JsonGenerator g, String typeId) throws IOException in _writeTypeId() argument
53 if (typeId != null) { in _writeTypeId()
54 g.writeTypeId(typeId); in _writeTypeId()
DAsWrapperTypeDeserializer.java86 Object typeId = p.getTypeId(); in _deserialize() local
87 if (typeId != null) { in _deserialize()
88 return _deserializeWithNativeTypeId(p, ctxt, typeId); in _deserialize()
103 final String typeId = p.getText(); in _deserialize() local
104 JsonDeserializer<Object> deser = _findDeserializer(ctxt, typeId); in _deserialize()
113 tb.writeString(typeId); in _deserialize()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/
DExternalTypeHandler.java89 final String typeId = p.getText(); in handleTypePropertyValue() local
95 typeId, index.intValue())) { in handleTypePropertyValue()
102 typeId, ((Integer) ob).intValue()); in handleTypePropertyValue()
106 String propName, Object bean, String typeId, int index) in _handleTypePropertyValue() argument
117 _deserializeAndSet(p, ctxt, bean, index, typeId); in _handleTypePropertyValue()
121 _typeIds[index] = typeId; in _handleTypePropertyValue()
151 String typeId = p.getText(); in handlePropertyValue() local
153 _typeIds[index] = typeId; in handlePropertyValue()
155 _typeIds[it.next()] = typeId; in handlePropertyValue()
188 String typeId = _typeIds[index]; in handlePropertyValue() local
[all …]
/external/python/pyasn1/pyasn1/type/
Dchar.py172 typeId = AbstractCharacterString.getTypeId() variable in NumericString
187 typeId = AbstractCharacterString.getTypeId() variable in PrintableString
202 typeId = AbstractCharacterString.getTypeId() variable in TeletexString
209 typeId = AbstractCharacterString.getTypeId() variable in T61String
224 typeId = AbstractCharacterString.getTypeId() variable in VideotexString
239 typeId = AbstractCharacterString.getTypeId() variable in IA5String
254 typeId = AbstractCharacterString.getTypeId() variable in GraphicString
269 typeId = AbstractCharacterString.getTypeId() variable in VisibleString
276 typeId = AbstractCharacterString.getTypeId() variable in ISO646String
290 typeId = AbstractCharacterString.getTypeId() variable in GeneralString
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DJsonValueSerializer.java209 typeSer0.typeId(bean, JsonToken.VALUE_STRING)); in serializeWithType()
378 WritableTypeId typeId) throws IOException { in writeTypePrefix() argument
380 typeId.forValue = _forObject; in writeTypePrefix()
381 return _typeSerializer.writeTypePrefix(g, typeId); in writeTypePrefix()
386 WritableTypeId typeId) throws IOException { in writeTypeSuffix() argument
388 return _typeSerializer.writeTypeSuffix(g, typeId); in writeTypeSuffix()
455 public void writeCustomTypePrefixForScalar(Object value, JsonGenerator gen, String typeId) in writeCustomTypePrefixForScalar() argument
457 _typeSerializer.writeCustomTypePrefixForScalar(_forObject, gen, typeId); in writeCustomTypePrefixForScalar()
462 …public void writeCustomTypePrefixForObject(Object value, JsonGenerator gen, String typeId) throws … in writeCustomTypePrefixForObject() argument
463 _typeSerializer.writeCustomTypePrefixForObject(_forObject, gen, typeId); in writeCustomTypePrefixForObject()
[all …]
/external/angle/src/compiler/translator/
DBuildSPIRV.cpp626 spirv::IdRef SPIRVBuilder::getTypePointerId(spirv::IdRef typeId, spv::StorageClass storageClass) in getTypePointerId() argument
628 SpirvIdAndStorageClass key{typeId, storageClass}; in getTypePointerId()
635 spirv::WriteTypePointer(&mSpirvTypePointerDecls, typePointerId, storageClass, typeId); in getTypePointerId()
731 spirv::IdRef typeId; in declareType() local
751 typeId = getNewId({}); in declareType()
752 spirv::WriteTypeRuntimeArray(&mSpirvTypeAndConstantDecls, typeId, subTypeId); in declareType()
757 typeId = getNewId({}); in declareType()
758 spirv::WriteTypeArray(&mSpirvTypeAndConstantDecls, typeId, subTypeId, lengthId); in declareType()
780 typeId = getNewId({}); in declareType()
781 spirv::WriteTypeStruct(&mSpirvTypeAndConstantDecls, typeId, fieldTypeIds); in declareType()
[all …]
/external/python/pyasn1/pyasn1/codec/der/
Ddecoder.py35 typeId = typeDecoder.protoComponent.__class__.typeId variable
36 if typeId is not None and typeId not in typeMap:
37 typeMap[typeId] = typeDecoder
/external/python/pyasn1/pyasn1/codec/cer/
Dencoder.py155 if asn1Spec.typeId == univ.Choice.typeId and not asn1Spec.tagSet:
245 univ.Sequence.typeId: SequenceEncoder()
250 univ.Boolean.typeId: BooleanEncoder(),
251 univ.Real.typeId: RealEncoder(),
252 useful.GeneralizedTime.typeId: GeneralizedTimeEncoder(),
253 useful.UTCTime.typeId: UTCTimeEncoder(),
255 univ.Set.typeId: SetEncoder(),
256 univ.SetOf.typeId: SetOfEncoder(),
257 univ.Sequence.typeId: SequenceEncoder(),
258 univ.SequenceOf.typeId: SequenceOfEncoder()
Ddecoder.py55 typeId = typeDecoder.protoComponent.__class__.typeId variable
56 if typeId is not None and typeId not in typeMap:
57 typeMap[typeId] = typeDecoder
/external/angle/src/libANGLE/renderer/
Dglslang_wrapper_utils.cpp1097 void visitTypePointer(spirv::IdResult id, spv::StorageClass storageClass, spirv::IdRef typeId);
1101 SpirvVariableType visitVariable(spirv::IdResultType typeId,
1107 void visitTypeHelper(spirv::IdResult id, spirv::IdRef typeId);
1113 bool isPerVertex(spirv::IdRef typeId) const in isPerVertex()
1115 return typeId == mOutputPerVertex.typeId || typeId == mInputPerVertex.typeId; in isPerVertex()
1117 uint32_t getPerVertexMaxActiveMember(spirv::IdRef typeId) const in getPerVertexMaxActiveMember()
1119 ASSERT(isPerVertex(typeId)); in getPerVertexMaxActiveMember()
1120 return typeId == mOutputPerVertex.typeId ? mOutputPerVertex.maxActiveMember in getPerVertexMaxActiveMember()
1156 spirv::IdRef typeId; member
1232 if (!mOutputPerVertex.typeId.valid() || id == mOutputPerVertex.typeId) in visitMemberName()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/exc/
DInvalidTypeIdException.java34 JavaType baseType, String typeId) in InvalidTypeIdException() argument
38 _typeId = typeId; in InvalidTypeIdException()
42 JavaType baseType, String typeId) { in from() argument
43 return new InvalidTypeIdException(p, msg, baseType, typeId); in from()
/external/google-fruit/include/fruit/impl/data_structures/
Dfixed_size_allocator.defn.h46 inline void FixedSizeAllocator::FixedSizeAllocatorData::addType(TypeId typeId) { in addType() argument
48 types[typeId]++; in addType()
50 if (!typeId.type_info->isTriviallyDestructible()) { in addType()
53 total_size += maximumRequiredSpace(typeId); in addType()
56 inline void FixedSizeAllocator::FixedSizeAllocatorData::addExternallyAllocatedType(TypeId typeId) { in addExternallyAllocatedType() argument
57 (void)typeId; in addExternallyAllocatedType()

123456