Home
last modified time | relevance | path

Searched refs:elementType (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/external/llvm-project/mlir/lib/IR/
DBuiltinTypes.cpp27 ComplexType ComplexType::get(Type elementType) { in get() argument
28 return Base::get(elementType.getContext(), elementType); in get()
31 ComplexType ComplexType::getChecked(Type elementType, Location location) { in getChecked() argument
32 return Base::getChecked(location, elementType); in getChecked()
37 Type elementType) { in verifyConstructionInvariants() argument
38 if (!elementType.isIntOrFloat()) in verifyConstructionInvariants()
43 Type ComplexType::getElementType() { return getImpl()->elementType; } in getElementType()
197 return static_cast<ImplType *>(impl)->elementType; in getElementType()
242 auto elementType = getElementType(); in getSizeInBits() local
243 if (elementType.isIntOrFloat()) in getSizeInBits()
[all …]
DTypeDetail.h126 ShapedTypeStorage(Type elementTy) : elementType(elementTy) {} in ShapedTypeStorage()
130 bool operator==(const KeyTy &key) const { return key == elementType; }
132 Type elementType; member
145 return key == KeyTy(getShape(), elementType);
176 return key == KeyTy(getShape(), elementType);
211 BaseMemRefTypeStorage(Type elementType, unsigned memorySpace) in BaseMemRefTypeStorage()
212 : ShapedTypeStorage(elementType), memorySpace(memorySpace) {} in BaseMemRefTypeStorage()
219 MemRefTypeStorage(unsigned shapeSize, Type elementType, in MemRefTypeStorage()
222 : BaseMemRefTypeStorage(elementType, memorySpace), in MemRefTypeStorage()
232 return key == KeyTy(getShape(), elementType, getAffineMaps(), memorySpace);
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/
DVariableDeclarationExpr.java57 private Type elementType; field in VariableDeclarationExpr
66 public VariableDeclarationExpr(final Type elementType, String variableName) { in VariableDeclarationExpr() argument
67 setElementType(elementType); in VariableDeclarationExpr()
71 public VariableDeclarationExpr(final Type elementType, VariableDeclarator var) { in VariableDeclarationExpr() argument
72 setElementType(elementType); in VariableDeclarationExpr()
76 …public VariableDeclarationExpr(final Type elementType, String variableName, Modifier... modifiers)… in VariableDeclarationExpr() argument
77 setElementType(elementType); in VariableDeclarationExpr()
83 …public VariableDeclarationExpr(final Type elementType, VariableDeclarator var, Modifier... modifie… in VariableDeclarationExpr() argument
84 setElementType(elementType); in VariableDeclarationExpr()
90 … public VariableDeclarationExpr(final Type elementType, final List<VariableDeclarator> variables) { in VariableDeclarationExpr() argument
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DArrayCreationExpr.java56 private Type elementType; field in ArrayCreationExpr
66 …public ArrayCreationExpr(Type elementType, NodeList<ArrayCreationLevel> levels, ArrayInitializerEx… in ArrayCreationExpr() argument
67 this(null, elementType, levels, initializer); in ArrayCreationExpr()
70 public ArrayCreationExpr(Type elementType) { in ArrayCreationExpr() argument
71 this(null, elementType, new NodeList<>(), new ArrayInitializerExpr()); in ArrayCreationExpr()
78 …public ArrayCreationExpr(TokenRange tokenRange, Type elementType, NodeList<ArrayCreationLevel> lev… in ArrayCreationExpr() argument
80 setElementType(elementType); in ArrayCreationExpr()
105 return elementType; in getElementType()
128 public ArrayCreationExpr setElementType(final Type elementType) { in setElementType() argument
129 assertNotNull(elementType); in setElementType()
[all …]
/external/llvm-project/mlir/include/mlir/Interfaces/
DInferTypeOpInterface.h40 ShapedTypeComponents() : ranked(false), elementType(nullptr), attr(nullptr){}; in ShapedTypeComponents()
41 ShapedTypeComponents(Type elementType) in ShapedTypeComponents() argument
42 : ranked(false), elementType(elementType), attr(nullptr) {} in ShapedTypeComponents()
45 ShapedTypeComponents(Arg &&arg, Type elementType = nullptr,
47 : dims(std::forward<Arg>(arg)), ranked(true), elementType(elementType), in dims()
49 ShapedTypeComponents(ArrayRef<int64_t> vec, Type elementType = nullptr,
51 : dims(vec.begin(), vec.end()), ranked(true), elementType(elementType),
65 Type getElementType() const { return elementType; }; in getElementType()
73 Type elementType; variable
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DHTMLSchema.java35 elementType("<pcdata>", M_EMPTY, M_PCDATA, 0); in HTMLSchema()
36 elementType("<root>", M_ROOT, M_EMPTY, 0); in HTMLSchema()
37 elementType("a", M_PCDATA|M_NOLINK, M_INLINE, 0); in HTMLSchema()
38 elementType("abbr", M_PCDATA|M_INLINE, M_INLINE|M_NOLINK, F_RESTART); in HTMLSchema()
39 elementType("acronym", M_PCDATA|M_INLINE, M_INLINE|M_NOLINK, F_RESTART); in HTMLSchema()
40 elementType("address", M_PCDATA|M_INLINE|M_P, M_BLOCK, 0); in HTMLSchema()
41 elementType("applet", M_PCDATA|M_PARAM|M_INLINE|M_BLOCK, M_INLINE|M_NOLINK, 0); in HTMLSchema()
42 elementType("area", M_EMPTY, M_AREA, 0); in HTMLSchema()
43 elementType("b", M_PCDATA|M_INLINE, M_INLINE|M_NOLINK, F_RESTART); in HTMLSchema()
44 elementType("base", M_EMPTY, M_HEAD, 0); in HTMLSchema()
[all …]
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMTypes.cpp199 LLVMType LLVMType::getArrayTy(LLVMType elementType, uint64_t numElements) { in getArrayTy() argument
200 return LLVMArrayType::get(elementType, numElements); in getArrayTy()
213 LLVMType LLVMType::getVectorTy(LLVMType elementType, unsigned numElements) { in getVectorTy() argument
214 return LLVMFixedVectorType::get(elementType, numElements); in getVectorTy()
266 LLVMArrayType LLVMArrayType::get(LLVMType elementType, unsigned numElements) { in get() argument
267 assert(elementType && "expected non-null subtype"); in get()
268 return Base::get(elementType.getContext(), elementType, numElements); in get()
271 LLVMArrayType LLVMArrayType::getChecked(Location loc, LLVMType elementType, in getChecked() argument
273 assert(elementType && "expected non-null subtype"); in getChecked()
274 return Base::getChecked(loc, elementType, numElements); in getChecked()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DParameter.java52 private Type elementType; field in Parameter
67 public Parameter(Type elementType, VariableDeclaratorId id) { in Parameter() argument
69 setElementType(elementType); in Parameter()
81 public static Parameter create(Type elementType, String name) { in create() argument
82 return new Parameter(elementType, new VariableDeclaratorId(name)); in create()
85 public Parameter(EnumSet<Modifier> modifiers, Type elementType, VariableDeclaratorId id) { in Parameter() argument
88 setElementType(elementType); in Parameter()
94 Type elementType, in Parameter() argument
102 setElementType(elementType); in Parameter()
119 return wrapInArrayTypes(elementType, in getType()
[all …]
DFieldDeclaration.java60 private Type elementType; field in FieldDeclaration
69 …public FieldDeclaration(EnumSet<Modifier> modifiers, Type elementType, VariableDeclarator variable… in FieldDeclaration() argument
71 setElementType(elementType); in FieldDeclaration()
77 …public FieldDeclaration(EnumSet<Modifier> modifiers, Type elementType, List<VariableDeclarator> va… in FieldDeclaration() argument
79 setElementType(elementType); in FieldDeclaration()
83 …on(EnumSet<Modifier> modifiers, List<AnnotationExpr> annotations, Type elementType, List<ArrayBrac… in FieldDeclaration() argument
87 setElementType(elementType); in FieldDeclaration()
92 …ation(Range range, EnumSet<Modifier> modifiers, List<AnnotationExpr> annotations, Type elementType, in FieldDeclaration() argument
96 setElementType(elementType); in FieldDeclaration()
253 return elementType; in getElementType()
[all …]
DMethodDeclaration.java71 private Type elementType; field in MethodDeclaration
90 …public MethodDeclaration(final EnumSet<Modifier> modifiers, final Type elementType, final String n… in MethodDeclaration() argument
92 setElementType(elementType); in MethodDeclaration()
96 …public MethodDeclaration(final EnumSet<Modifier> modifiers, final Type elementType, final String n… in MethodDeclaration() argument
99 setElementType(elementType); in MethodDeclaration()
107 final Type elementType, in MethodDeclaration() argument
117 setElementType(elementType); in MethodDeclaration()
130 final Type elementType, in MethodDeclaration() argument
140 setElementType(elementType); in MethodDeclaration()
205 return elementType; in getElementType()
[all …]
/external/llvm-project/mlir/lib/CAPI/IR/
DBuiltinTypes.cpp112 MlirType mlirComplexTypeGet(MlirType elementType) { in mlirComplexTypeGet() argument
113 return wrap(ComplexType::get(unwrap(elementType))); in mlirComplexTypeGet()
166 MlirType elementType) { in mlirVectorTypeGet() argument
169 unwrap(elementType))); in mlirVectorTypeGet()
173 MlirType elementType, MlirLocation loc) { in mlirVectorTypeGetChecked() argument
175 llvm::makeArrayRef(shape, static_cast<size_t>(rank)), unwrap(elementType), in mlirVectorTypeGetChecked()
194 MlirType elementType) { in mlirRankedTensorTypeGet() argument
197 unwrap(elementType))); in mlirRankedTensorTypeGet()
201 MlirType elementType, in mlirRankedTensorTypeGetChecked() argument
204 llvm::makeArrayRef(shape, static_cast<size_t>(rank)), unwrap(elementType), in mlirRankedTensorTypeGetChecked()
[all …]
/external/llvm-project/mlir/include/mlir/IR/
DBuiltinTypes.h61 static ComplexType get(Type elementType);
66 static ComplexType getChecked(Type elementType, Location location);
70 Type elementType);
415 static VectorType get(ArrayRef<int64_t> shape, Type elementType);
421 static VectorType getChecked(ArrayRef<int64_t> shape, Type elementType,
427 Type elementType);
469 static RankedTensorType get(ArrayRef<int64_t> shape, Type elementType);
475 static RankedTensorType getChecked(ArrayRef<int64_t> shape, Type elementType,
481 Type elementType);
499 static UnrankedTensorType get(Type elementType);
[all …]
/external/llvm-project/mlir/lib/Parser/
DTypeParser.cpp118 auto elementType = parseType(); in parseComplexType() local
119 if (!elementType || in parseComplexType()
122 if (!elementType.isa<FloatType>() && !elementType.isa<IntegerType>()) in parseComplexType()
126 return ComplexType::get(elementType); in parseComplexType()
215 auto elementType = parseType(); in parseMemRefType() local
216 if (!elementType) in parseMemRefType()
220 if (!elementType.isIntOrIndexOrFloat() && in parseMemRefType()
221 !elementType.isa<VectorType, ComplexType>()) in parseMemRefType()
288 return UnrankedMemRefType::get(elementType, memorySpace.getValueOr(0)); in parseMemRefType()
290 return MemRefType::get(dimensions, elementType, affineMapComposition, in parseMemRefType()
[all …]
/external/llvm-project/mlir/include/mlir-c/
DBuiltinTypes.h118 MLIR_CAPI_EXPORTED MlirType mlirComplexTypeGet(MlirType elementType);
169 MlirType elementType);
175 MlirType elementType,
195 MlirType elementType);
201 MlirType elementType,
206 MLIR_CAPI_EXPORTED MlirType mlirUnrankedTensorTypeGet(MlirType elementType);
211 mlirUnrankedTensorTypeGetChecked(MlirType elementType, MlirLocation loc);
227 MlirType elementType, intptr_t rank, const int64_t *shape, intptr_t numMaps,
234 MLIR_CAPI_EXPORTED MlirType mlirMemRefTypeContiguousGet(MlirType elementType,
242 MlirType elementType, intptr_t rank, const int64_t *shape,
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DArrayProto.java48 protected final String elementType; field in ArrayProto
65 elementType = type.substring(i); in ArrayProto()
70 @Nonnull @Override public String getType() { return makeArrayType(elementType, dimensions); } in getType()
77 @Nonnull public String getElementType() { return elementType; } in getElementType()
85 return makeArrayType(elementType, dimensions-1); in getImmediateElementType()
87 return elementType; in getImmediateElementType()
112 TypeProto thisClass = classPath.getClass(elementType); in getCommonSuperclass()
113 TypeProto otherClass = classPath.getClass(((ArrayProto)other).elementType); in getCommonSuperclass()
148 private static String makeArrayType(@Nonnull String elementType, int dimensions) { in makeArrayType() argument
149 return BRACKETS.substring(0, dimensions) + elementType; in makeArrayType()
/external/autotest/client/site_tests/webrtc_PausePlayPeerConnections/
Dpause-play.js22 addPeerConnection(elementType) { argument
23 const element = document.createElement(elementType);
27 if (elementType === 'video') {
29 } else if (elementType === 'audio') {
93 let elementType; variable
100 testRunner.addPeerConnection(elementType);
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
DCoverageNodeImpl.java23 private final ElementType elementType; field in CoverageNodeImpl
53 public CoverageNodeImpl(final ElementType elementType, final String name) { in CoverageNodeImpl() argument
54 this.elementType = elementType; in CoverageNodeImpl()
97 return elementType; in getElementType()
151 final CoverageNodeImpl copy = new CoverageNodeImpl(elementType, name); in getPlainCopy()
164 sb.append(name).append(" [").append(elementType).append("]"); in toString()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVTypes.cpp113 return key == KeyTy(elementType, elementCount, stride); in operator ==()
117 : elementType(std::get<0>(key)), elementCount(std::get<1>(key)), in ArrayTypeStorage()
120 Type elementType; member
125 ArrayType ArrayType::get(Type elementType, unsigned elementCount) { in get() argument
127 return Base::get(elementType.getContext(), elementType, elementCount, in get()
131 ArrayType ArrayType::get(Type elementType, unsigned elementCount, in get() argument
134 return Base::get(elementType.getContext(), elementType, elementCount, stride); in get()
139 Type ArrayType::getElementType() const { return getImpl()->elementType; } in getElementType()
155 auto elementType = getElementType().cast<SPIRVType>(); in getSizeInBytes() local
156 Optional<int64_t> size = elementType.getSizeInBytes(); in getSizeInBytes()
[all …]
/external/guice/core/src/com/google/inject/util/
DTypes.java95 public static ParameterizedType listOf(Type elementType) { in listOf() argument
96 return newParameterizedType(List.class, elementType); in listOf()
104 public static ParameterizedType collectionOf(Type elementType) { in collectionOf() argument
105 return newParameterizedType(Collection.class, elementType); in collectionOf()
113 public static ParameterizedType setOf(Type elementType) { in setOf() argument
114 return newParameterizedType(Set.class, elementType); in setOf()
/external/smali/smalidea/src/main/java/org/jf/smalidea/
DPsiBuilderTokenStream.java97 SmaliLexicalElementType elementType = (SmaliLexicalElementType)element; in buildCurrentToken() local
98 currentToken = new CommonToken(elementType.tokenId, psiBuilder.getTokenText()); in buildCurrentToken()
110 IElementType elementType = psiBuilder.lookAhead(i-1); in LA() local
111 if (elementType == null) { in LA()
113 } else if (elementType instanceof SmaliLexicalElementType) { in LA()
114 return ((SmaliLexicalElementType)elementType).tokenId; in LA()
115 } else if (elementType == TokenType.BAD_CHARACTER) { in LA()
/external/libchrome/mojo/public/js/lib/
Dvalidator.js383 offset, elementSize, elementType, nullable, expectedDimensionSizes, argument
393 return this.validateArray(arrayOffset, elementSize, elementType,
500 function (offset, elementSize, elementType, expectedDimensionSizes, argument
513 var elementsTotalSize = (elementType === internal.PackedBool) ?
530 var nullable = isNullable(elementType);
532 if (isHandleClass(elementType))
534 if (isInterfaceClass(elementType))
537 if (isInterfaceRequestClass(elementType))
540 if (isAssociatedInterfaceClass(elementType))
543 if (isAssociatedInterfaceRequestClass(elementType))
[all …]
/external/llvm-project/mlir/lib/Dialect/
DTraits.cpp107 Type elementType) { in getBroadcastedType() argument
110 if (!elementType) { in getBroadcastedType()
111 elementType = getElementTypeOrSelf(type1); in getBroadcastedType()
112 if (elementType != getElementTypeOrSelf(type2)) in getBroadcastedType()
121 return UnrankedTensorType::get(elementType); in getBroadcastedType()
155 return VectorType::get(resultShape, elementType); in getBroadcastedType()
157 return RankedTensorType::get(resultShape, elementType); in getBroadcastedType()
158 return elementType; in getBroadcastedType()
/external/deqp/framework/opengl/
DgluVarType.cpp49 VarType::VarType (const VarType& elementType, int arraySize) in VarType() argument
54 m_data.array.elementType = new VarType(elementType); in VarType()
66 delete m_data.array.elementType; in ~VarType()
74 VarType *oldElementType = m_type == VARTYPE_ARRAY ? m_data.array.elementType : DE_NULL; in operator =()
81 m_data.array.elementType = new VarType(*other.m_data.array.elementType); in operator =()
97 case VARTYPE_ARRAY: return m_data.array.elementType->getScalarSize()*m_data.array.size; in getScalarSize()
125 return *m_data.array.elementType == *other.m_data.array.elementType && in operator ==()
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/
DPropertyInfo.java82 public PropertyInfo elementType; field in PropertyInfo
101 return elementType; in getElementType()
108 public void setElementType(PropertyInfo elementType) in setElementType() argument
110 this.elementType = elementType; in setElementType()
DSppPropertyInfo.java82 public PropertyInfo elementType; field in SppPropertyInfo
101 return elementType; in getElementType()
108 public void setElementType(PropertyInfo elementType) in setElementType() argument
110 this.elementType = elementType; in setElementType()

12345678910>>...13