Home
last modified time | relevance | path

Searched refs:elemType (Results 1 – 25 of 52) sorted by relevance

123

/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dwhile_loop_outline.cc77 auto elemType = getElementTypeOrSelf(type); in IsCompatibleTypeWithTFLCastOp() local
79 if (elemType.isBF16() || elemType.isF32()) return true; in IsCompatibleTypeWithTFLCastOp()
82 if (elemType.isInteger(1) || elemType.isInteger(16) || in IsCompatibleTypeWithTFLCastOp()
83 elemType.isInteger(32) || elemType.isInteger(64)) in IsCompatibleTypeWithTFLCastOp()
87 if (elemType.isa<ComplexType>() && in IsCompatibleTypeWithTFLCastOp()
88 elemType.cast<ComplexType>().getElementType().isF32()) in IsCompatibleTypeWithTFLCastOp()
92 if (elemType.isa<TF::Quint8Type>() || in IsCompatibleTypeWithTFLCastOp()
93 (elemType.isInteger(8) && elemType.cast<IntegerType>().isUnsigned())) in IsCompatibleTypeWithTFLCastOp()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DRealObjectValidator.java65 TypeMirror elemType = elem.asType(); in visitVariable() local
66 if (!types.isAssignable(impClass, elemType)) { in visitVariable()
67 error("@RealObject with type <" + elemType + ">; expected <" + impClass + '>'); in visitVariable()
69 typeVisitor.visit(elemType, elem); in visitVariable()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DCollectionSerializer.java39 public CollectionSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, in CollectionSerializer() argument
41 super(Collection.class, elemType, staticTyping, vts, valueSerializer); in CollectionSerializer()
48 public CollectionSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, in CollectionSerializer() argument
51 this(elemType, staticTyping, vts, valueSerializer); in CollectionSerializer()
DEnumSetSerializer.java17 public EnumSetSerializer(JavaType elemType) { in EnumSetSerializer() argument
18 super(EnumSet.class, elemType, true, null, null); in EnumSetSerializer()
DIterableSerializer.java17 public IterableSerializer(JavaType elemType, boolean staticTyping, in IterableSerializer() argument
19 super(Iterable.class, elemType, staticTyping, vts, null); in IterableSerializer()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DASTParser.stg75 <listLabelElem(elem=label,elemType=labelType,...)>
81 <listLabelElem(elem=label,elemType=labelType,...)>
87 <listLabelElem(elem=label,elemType=labelType,...)>
143 <listLabelElem(elem={<label>.Tree},elemType=ASTLabelType,...)>
149 <listLabelElem(elem={<label>.Tree},elemType=ASTLabelType,...)>
155 <listLabelElem(elem={<label>.Tree},elemType=ASTLabelType,...)>
DAST.stg130 <listLabelElem(elem=label,elemType=labelType,...)>
142 <listLabelElem(elem=label,elemType=labelType,...)>
154 <listLabelElem(elem={<label>.Tree},elemType=ASTLabelType,...)>
166 <listLabelElem(elem={<label>.Tree},elemType=ASTLabelType,...)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DASTParser.stg80 <listLabelElem(elem=label,elemType=labelType,...)>
86 <listLabelElem(elem=label,elemType=labelType,...)>
92 <listLabelElem(elem=label,elemType=labelType,...)>
150 <listLabelElem(elem={<label>.Tree},elemType=ASTLabelType,...)>
156 <listLabelElem(elem={<label>.Tree},elemType=ASTLabelType,...)>
162 <listLabelElem(elem={<label>.Tree},elemType=ASTLabelType,...)>
/external/angle/src/libANGLE/renderer/metal/
DBufferMtl.h64 gl::DrawElementsType elemType,
68 const gl::DrawElementsType elemType; member
154 gl::DrawElementsType elemType,
DBufferMtl.mm64 elemType(elemTypeIn),
349 gl::DrawElementsType elemType,
355 if (buffer.elemType == elemType && buffer.offset == offset &&
362 mIndexConversionBuffers.emplace_back(context, elemType, primitiveRestartEnabled, offset);
/external/clang/lib/StaticAnalyzer/Checkers/
DArrayBoundCheckerV2.cpp278 QualType elemType = elemReg->getElementType(); in computeOffset() local
281 if (elemType->isIncompleteType()) in computeOffset()
289 astContext.getTypeSizeInChars(elemType), in computeOffset()
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DDeprecatedAPIChecker.java466 String elemType = null; in toTypeNameList() local
469 elemType = tName.substring(dimension + 1, tName.length() - 1); in toTypeNameList()
474 elemType = PRIMITIVES[i]; in toTypeNameList()
480 if (elemType == null) { in toTypeNameList()
484 s.append(elemType); in toTypeNameList()
/external/flatbuffers/java/com/google/flatbuffers/
DFlexBuffers.java988 private final int elemType; field in FlexBuffers.TypedVector
990 TypedVector(ReadBuf bb, int end, int byteWidth, int elemType) { in TypedVector() argument
992 this.elemType = elemType; in TypedVector()
1014 return elemType; in getElemType()
1028 return new Reference(bb, childPos, byteWidth, 1, elemType); in get()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DIteratorSerializer.java18 public IteratorSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts) { in IteratorSerializer() argument
19 super(Iterator.class, elemType, staticTyping, vts, null); in IteratorSerializer()
DIndexedListSerializer.java24 public IndexedListSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, in IndexedListSerializer() argument
27 super(List.class, elemType, staticTyping, vts, valueSerializer); in IndexedListSerializer()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSpecConstantTests.cpp1764 std::string generateArrayConstructorString (const glu::DataType elemType, in generateArrayConstructorString() argument
1771 const bool doCast = (!isDataTypeScalar(elemType)); in generateArrayConstructorString()
1784 …arrayCtorExpr << (iterNdx != 0 ? ",\n" + padding : "") << glu::getDataTypeName(elemType) << "[" <<… in generateArrayConstructorString()
1787 …arrayCtorExpr << generateInitializerListWithSpecConstant(elemType, doCast, idxBegin, idxEnd, specC… in generateArrayConstructorString()
1799 …arrayCtorExpr << generateInitializerListWithSpecConstant(elemType, doCast, 0, size1, specConstName… in generateArrayConstructorString()
1861 std::string generateShaderChecksumComputationCode (const glu::DataType elemType, in generateShaderChecksumComputationCode() argument
1883 << varName << combNdx << "[i][j]" << getFirstDataElementSubscriptString(elemType) << ");\n"; in generateShaderChecksumComputationCode()
1893 << varName << combNdx << "[i]" << getFirstDataElementSubscriptString(elemType) << ");\n"; in generateShaderChecksumComputationCode()
1965 CaseDefinition makeArrayCompositeCaseDefinition (const glu::DataType elemType, const int size1, con… in makeArrayCompositeCaseDefinition() argument
1975 const std::string elemTypeName (glu::getDataTypeName(elemType)); in makeArrayCompositeCaseDefinition()
[all …]
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DArrayBoundCheckerV2.cpp329 QualType elemType = elemReg->getElementType(); in computeOffset() local
332 if (elemType->isIncompleteType()) in computeOffset()
340 astContext.getTypeSizeInChars(elemType), in computeOffset()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DTestTypeFactory.java123 Class<?> elemType = clz.getComponentType(); in testArrays() local
124 assertSame(clz, tf.constructArrayType(elemType).getRawClass()); in testArrays()
313 JavaType elemType = ((CollectionType) t).getContentType(); in testCollections() local
314 assertNotNull(elemType); in testCollections()
315 assertSame(SimpleType.class, elemType.getClass()); in testCollections()
316 assertSame(String.class, elemType.getRawClass()); in testCollections()
/external/jackson-databind/attic/
DContainerBuilder.java140 public <T> Object[] finishArray(int prevStart, Class<T> elemType) in finishArray() argument
144 T[] result = (T[]) Array.newInstance(elemType, size); in finishArray()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp514 const VarType& elemType = type.getElementType(); in computeReferenceLayout() local
516 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
519 const glu::DataType elemBasicType = elemType.getBasicType(); in computeReferenceLayout()
537 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
540 const glu::DataType elemBasicType = elemType.getBasicType(); in computeReferenceLayout()
564 DE_ASSERT(elemType.isStructType() || elemType.isArrayType()); in computeReferenceLayout()
599 const VarType& elemType = varType.getElementType(); in computeReferenceLayout() local
601 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
604 const glu::DataType elemBasicType = elemType.getBasicType(); in computeReferenceLayout()
623 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp530 const VarType& elemType = type.getElementType(); in computeReferenceLayout() local
532 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
535 const glu::DataType elemBasicType = elemType.getBasicType(); in computeReferenceLayout()
553 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
556 const glu::DataType elemBasicType = elemType.getBasicType(); in computeReferenceLayout()
583 DE_ASSERT(elemType.isStructType() || elemType.isArrayType()); in computeReferenceLayout()
621 const VarType& elemType = varType.getElementType(); in computeReferenceLayout() local
623 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
626 const glu::DataType elemBasicType = elemType.getBasicType(); in computeReferenceLayout()
648 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp587 const glu::DataType elemType = glu::getDataTypeScalarType(basicType); in computeXfbLayout() local
588 const int stride = getDataTypeArrayStride(glu::getDataTypeVector(elemType, vecSize)); in computeXfbLayout()
589 … strideForLocation = getDataTypeArrayStrideForLocation(glu::getDataTypeVector(elemType, vecSize)); in computeXfbLayout()
613 const VarType& elemType = type.getElementType(); in computeXfbLayout() local
615 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeXfbLayout()
618 const glu::DataType elemBasicType = elemType.getBasicType(); in computeXfbLayout()
640 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeXfbLayout()
643 const glu::DataType elemBasicType = elemType.getBasicType(); in computeXfbLayout()
670 DE_ASSERT(elemType.isStructType() || elemType.isArrayType()); in computeXfbLayout()
/external/skia/modules/svg/src/
DSkSVGDOM.cpp332 const SkDOM::Type elemType = dom.getType(xmlNode); in construct_svg_node() local
334 if (elemType == SkDOM::kText_Type) { in construct_svg_node()
344 SkASSERT(elemType == SkDOM::kElement_Type); in construct_svg_node()
/external/skqp/experimental/svg/model/
DSkSVGDOM.cpp419 const SkDOM::Type elemType = dom.getType(xmlNode); in construct_svg_node() local
421 if (elemType == SkDOM::kText_Type) { in construct_svg_node()
427 SkASSERT(elemType == SkDOM::kElement_Type); in construct_svg_node()
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp508 const VarType& elemType = type.getElementType(); in computeStd140Layout() local
510 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeStd140Layout()
513 glu::DataType elemBasicType = elemType.getBasicType(); in computeStd140Layout()
529 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeStd140Layout()
532 glu::DataType elemBasicType = elemType.getBasicType(); in computeStd140Layout()
533 …bool isRowMajor = !!(((elemType.getFlags() & (LAYOUT_ROW_MAJOR | LAYOUT_COLUMN_MAJOR) ? elemTy… in computeStd140Layout()
556 DE_ASSERT(elemType.isStructType() || elemType.isArrayType()); in computeStd140Layout()

123