Home
last modified time | relevance | path

Searched refs:ArrayType (Results 1 – 25 of 746) sorted by relevance

12345678910>>...30

/external/eigen/unsupported/test/
Dspecial_functions.cpp27 template<typename ArrayType> void array_special_functions() in array_special_functions()
31 typedef typename ArrayType::Scalar Scalar; in array_special_functions()
42 ArrayType m1 = ArrayType::Random(rows,cols); in array_special_functions()
58 ArrayType m1 = ArrayType::Random(rows,cols); in array_special_functions()
59 ArrayType m2 = ArrayType::Random(rows,cols); in array_special_functions()
67 ArrayType a = m1.abs() + 2; in array_special_functions()
68 ArrayType x = m2.abs() + 2; in array_special_functions()
69 ArrayType zero = ArrayType::Zero(rows, cols); in array_special_functions()
70 ArrayType one = ArrayType::Constant(rows, cols, Scalar(1.0)); in array_special_functions()
71 ArrayType a_m1 = a - one; in array_special_functions()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DArrayType.java12 public final class ArrayType class
29 protected ArrayType(JavaType componentType, TypeBindings bindings, Object emptyInstance, in ArrayType() method in ArrayType
40 public static ArrayType construct(JavaType componentType, TypeBindings bindings) { in construct()
44 public static ArrayType construct(JavaType componentType, TypeBindings bindings, in construct()
48 … return new ArrayType(componentType, bindings, emptyInstance, valueHandler, typeHandler, false); in construct()
54 return new ArrayType(contentType, _bindings, emptyInstance, in withContentType()
59 public ArrayType withTypeHandler(Object h) in withTypeHandler()
64 return new ArrayType(_componentType, _bindings, _emptyArray, _valueHandler, h, _asStatic); in withTypeHandler()
68 public ArrayType withContentTypeHandler(Object h) in withContentTypeHandler()
73 return new ArrayType(_componentType.withTypeHandler(h), _bindings, _emptyArray, in withContentTypeHandler()
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/type/
DArrayTypeTest.java44 ArrayType arrayType1 = fieldDeclaration.getVariable(0).getType().asArrayType(); in getFieldDeclarationWithArrays()
45 ArrayType arrayType2 = arrayType1.getComponentType().asArrayType(); in getFieldDeclarationWithArrays()
46 ArrayType arrayType3 = arrayType2.getComponentType().asArrayType(); in getFieldDeclarationWithArrays()
47 ArrayType arrayType4 = arrayType3.getComponentType().asArrayType(); in getFieldDeclarationWithArrays()
66 ArrayType arrayType1 = variableDeclarationExpr.getVariable(0).getType().asArrayType(); in getVariableDeclarationWithArrays()
67 ArrayType arrayType2 = arrayType1.getComponentType().asArrayType(); in getVariableDeclarationWithArrays()
68 ArrayType arrayType3 = arrayType2.getComponentType().asArrayType(); in getVariableDeclarationWithArrays()
69 ArrayType arrayType4 = arrayType3.getComponentType().asArrayType(); in getVariableDeclarationWithArrays()
87 ArrayType arrayType1 = methodDeclaration.getType().asArrayType(); in getMethodDeclarationWithArrays()
88 ArrayType arrayType2 = arrayType1.getComponentType().asArrayType(); in getMethodDeclarationWithArrays()
[all …]
/external/eigen/test/
Darray.cpp12 template<typename ArrayType> void array(const ArrayType& m) in array()
14 typedef typename ArrayType::Index Index; in array()
15 typedef typename ArrayType::Scalar Scalar; in array()
16 typedef typename ArrayType::RealScalar RealScalar; in array()
17 typedef Array<Scalar, ArrayType::RowsAtCompileTime, 1> ColVectorType; in array()
18 typedef Array<Scalar, 1, ArrayType::ColsAtCompileTime> RowVectorType; in array()
23 ArrayType m1 = ArrayType::Random(rows, cols), in array()
24 m2 = ArrayType::Random(rows, cols), in array()
26 ArrayType m4 = m1; // copy constructor in array()
37 VERIFY_IS_APPROX(m1 + s1, ArrayType::Constant(rows,cols,s1) + m1); in array()
[all …]
Dvectorwiseop.cpp16 template<typename ArrayType> void vectorwiseop_array(const ArrayType& m) in vectorwiseop_array()
18 typedef typename ArrayType::Index Index; in vectorwiseop_array()
19 typedef typename ArrayType::Scalar Scalar; in vectorwiseop_array()
20 typedef Array<Scalar, ArrayType::RowsAtCompileTime, 1> ColVectorType; in vectorwiseop_array()
21 typedef Array<Scalar, 1, ArrayType::ColsAtCompileTime> RowVectorType; in vectorwiseop_array()
28 ArrayType m1 = ArrayType::Random(rows, cols), in vectorwiseop_array()
111 if(ArrayType::RowsAtCompileTime>2 || ArrayType::RowsAtCompileTime==Dynamic) in vectorwiseop_array()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DArrayType.java27 public final class ArrayType extends ReferenceType { class
38 public ArrayType(final byte type, final int dimensions) { in ArrayType() method in ArrayType
48 public ArrayType(final String class_name, final int dimensions) { in ArrayType() method in ArrayType
58 public ArrayType(final Type type, final int dimensions) { in ArrayType() method in ArrayType
65 final ArrayType array = (ArrayType) type; in ArrayType()
100 return new ArrayType(basic_type, dimensions - 1); in getElementType()
123 if (_type instanceof ArrayType) { in equals()
124 final ArrayType array = (ArrayType) _type; in equals()
DReferenceType.java130 if (this instanceof ArrayType) { in isAssignmentCompatibleWith()
141 if (T instanceof ArrayType) { in isAssignmentCompatibleWith()
144 final Type sc = ((ArrayType) this).getElementType(); in isAssignmentCompatibleWith()
145 final Type tc = ((ArrayType) T).getElementType(); in isAssignmentCompatibleWith()
211 if ((this instanceof ArrayType) && (t instanceof ArrayType)) { in getFirstCommonSuperclass()
212 final ArrayType arrType1 = (ArrayType) this; in getFirstCommonSuperclass()
213 final ArrayType arrType2 = (ArrayType) t; in getFirstCommonSuperclass()
217 return new ArrayType(((ObjectType) arrType1.getBasicType()) in getFirstCommonSuperclass()
222 if ((this instanceof ArrayType) || (t instanceof ArrayType)) { in getFirstCommonSuperclass()
294 if ((this instanceof ArrayType) || (t instanceof ArrayType)) { in firstCommonSuperclass()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/type/
DArrayType.java19 public class ArrayType extends ReferenceType<ArrayType> implements NodeWithAnnotations<ArrayType> { class
22 public ArrayType(Type componentType, List<AnnotationExpr> annotations) { in ArrayType() method in ArrayType
27 public ArrayType(Range range, Type componentType, List<AnnotationExpr> annotations) { in ArrayType() method in ArrayType
45 public ArrayType setComponentType(final Type type) { in setComponentType()
61 type = new ArrayType(type, arrayBracketPairList.get(j).getAnnotations()); in wrapInArrayTypes()
75 while (type instanceof ArrayType) { in unwrapArrayTypes()
76 ArrayType arrayType = (ArrayType) type; in unwrapArrayTypes()
83 public static ArrayType arrayOf(Type type, AnnotationExpr... annotations) { in arrayOf()
84 return new ArrayType(type, Arrays.asList(annotations)); in arrayOf()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
DArrayType.java49 public class ArrayType extends ReferenceType implements NodeWithAnnotations<ArrayType> { class
76 public ArrayType(Type componentType, Origin origin, NodeList<AnnotationExpr> annotations) { in ArrayType() method in ArrayType
80 public ArrayType(Type type, AnnotationExpr... annotations) { in ArrayType() method in ArrayType
88 …public ArrayType(TokenRange tokenRange, Type componentType, Origin origin, NodeList<AnnotationExpr… in ArrayType() method in ArrayType
113 public ArrayType setComponentType(final Type componentType) { in setComponentType()
116 return (ArrayType) this; in setComponentType()
142 type = new ArrayType(tokenRange, type, pair.getOrigin(), pair.getAnnotations()); in wrapInArrayTypes()
159 while (type instanceof ArrayType) { in unwrapArrayTypes()
160 ArrayType arrayType = (ArrayType) type; in unwrapArrayTypes()
214 public ArrayType setAnnotations(NodeList<AnnotationExpr> annotations) { in setAnnotations()
[all …]
DType.java101 if (this instanceof ArrayType) { in getElementType()
102 return ((ArrayType) this).getComponentType().getElementType(); in getElementType()
108 if (this instanceof ArrayType) { in getArrayLevel()
109 return 1 + ((ArrayType) this).getComponentType().getArrayLevel(); in getArrayLevel()
163 public ArrayType asArrayType() { in asArrayType()
258 public void ifArrayType(Consumer<ArrayType> action) { in ifArrayType()
301 public Optional<ArrayType> toArrayType() { in toArrayType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/
DArrayType.java28 public class ArrayType implements Type { class
32 public ArrayType(Type baseType) { in ArrayType() method in ArrayType
45 ArrayType that = (ArrayType) o; in equals()
67 public ArrayType asArrayType() { in asArrayType()
104 return new ArrayType(baseTypeReplaced); in replaceTypeVariables()
/external/eigen/Eigen/src/Core/
DNumTraits.h196 typedef Array<Scalar, Rows, Cols, Options, MaxRows, MaxCols> ArrayType;
201 typedef ArrayType & Nested;
209 …ReadCost = ArrayType::SizeAtCompileTime==Dynamic ? HugeCost : ArrayType::SizeAtCompileTime * NumTr…
210 …AddCost = ArrayType::SizeAtCompileTime==Dynamic ? HugeCost : ArrayType::SizeAtCompileTime * NumTr…
211 …MulCost = ArrayType::SizeAtCompileTime==Dynamic ? HugeCost : ArrayType::SizeAtCompileTime * NumTr…
/external/python/cffi/testing/cffi0/
Dtest_model.py56 ptr_type = ConstPointerType(ArrayType(PrimitiveType("int"), 5))
76 a_type = ArrayType(PrimitiveType("int"), None)
82 a_type = ArrayType(unknown_type("foo_t"), 5)
86 a_type = ArrayType(unknown_ptr_type("foo_p"), None)
90 a_type = ArrayType(ConstPointerType(PrimitiveType("int")), None)
95 a_type = ArrayType(fn_type, 5)
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DDebugSymbolRVASubsection.h28 using ArrayType = FixedStreamArray<support::ulittle32_t>;
36 ArrayType::Iterator begin() const { return RVAs.begin(); } in begin()
37 ArrayType::Iterator end() const { return RVAs.end(); } in end()
42 ArrayType RVAs;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DDebugSymbolRVASubsection.h28 using ArrayType = FixedStreamArray<support::ulittle32_t>;
36 ArrayType::Iterator begin() const { return RVAs.begin(); } in begin()
37 ArrayType::Iterator end() const { return RVAs.end(); } in end()
42 ArrayType RVAs;
/external/llvm-project/clang/lib/CodeGen/
DCGVTT.cpp45 llvm::ArrayType *ArrayType = in EmitVTTDefinition() local
46 llvm::ArrayType::get(CGM.Int8PtrTy, Builder.getVTTComponents().size()); in EmitVTTDefinition()
90 llvm::Constant *Init = llvm::ConstantArray::get(ArrayType, VTTComponents); in EmitVTTDefinition()
118 llvm::ArrayType *ArrayType = in GetAddrOfVTT() local
119 llvm::ArrayType::get(CGM.Int8PtrTy, Builder.getVTTComponents().size()); in GetAddrOfVTT()
123 Name, ArrayType, llvm::GlobalValue::ExternalLinkage, Align); in GetAddrOfVTT()
/external/clang/lib/CodeGen/
DCGVTT.cpp48 llvm::ArrayType *ArrayType = in EmitVTTDefinition() local
49 llvm::ArrayType::get(Int8PtrTy, Builder.getVTTComponents().size()); in EmitVTTDefinition()
90 llvm::Constant *Init = llvm::ConstantArray::get(ArrayType, VTTComponents); in EmitVTTDefinition()
118 llvm::ArrayType *ArrayType = in GetAddrOfVTT() local
119 llvm::ArrayType::get(CGM.Int8PtrTy, Builder.getVTTComponents().size()); in GetAddrOfVTT()
122 CGM.CreateOrReplaceCXXRuntimeVariable(Name, ArrayType, in GetAddrOfVTT()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder.cpp79 mSimd16VectorTy = ArrayType::get(mSimd16FP32Ty, 4); in Builder()
80 mSimd16VectorTRTy = ArrayType::get(mSimd16FP32Ty, 5); in Builder()
110 mSimdVectorTy = ArrayType::get(mSimdFP32Ty, 4); in SetTargetWidth()
111 mSimdVectorIntTy = ArrayType::get(mSimdInt32Ty, 4); in SetTargetWidth()
112 mSimdVectorTRTy = ArrayType::get(mSimdFP32Ty, 5); in SetTargetWidth()
113 mSimdVectorTRIntTy = ArrayType::get(mSimdInt32Ty, 5); in SetTargetWidth()
189 Type* pVecType = ArrayType::get(pVecArrayType, arraySize); in GetVectorType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_type_ArrayType.txt1 …Line 23) setComponentType(componentType) ==> com.github.javaparser.ast.type.ArrayType.setComponent…
3 …Line 29) setComponentType(componentType) ==> com.github.javaparser.ast.type.ArrayType.setComponent…
5 …com.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javaparser.ast.type.ArrayType, A)
6 …=> com.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javaparser.ast.type.ArrayType, A)
13 …Line 78) arrayType.getComponentType() ==> com.github.javaparser.ast.type.ArrayType.getComponentTyp…
/external/llvm-project/llvm/lib/Transforms/Utils/
DSanitizerStats.cpp25 StatTy = ArrayType::get(Type::getInt8PtrTy(M->getContext()), 2); in SanitizerStatReport()
32 ArrayType *SanitizerStatReport::makeModuleStatsArrayTy() { in makeModuleStatsArrayTy()
33 return ArrayType::get(StatTy, Inits.size()); in makeModuleStatsArrayTy()
47 ArrayType *StatTy = ArrayType::get(Int8PtrTy, 2); in create()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSanitizerStats.cpp25 StatTy = ArrayType::get(Type::getInt8PtrTy(M->getContext()), 2); in SanitizerStatReport()
32 ArrayType *SanitizerStatReport::makeModuleStatsArrayTy() { in makeModuleStatsArrayTy()
33 return ArrayType::get(StatTy, Inits.size()); in makeModuleStatsArrayTy()
47 ArrayType *StatTy = ArrayType::get(Int8PtrTy, 2); in create()
/external/llvm/lib/Transforms/Utils/
DSanitizerStats.cpp26 StatTy = ArrayType::get(Type::getInt8PtrTy(M->getContext()), 2); in SanitizerStatReport()
33 ArrayType *SanitizerStatReport::makeModuleStatsArrayTy() { in makeModuleStatsArrayTy()
34 return ArrayType::get(StatTy, Inits.size()); in makeModuleStatsArrayTy()
48 ArrayType *StatTy = ArrayType::get(Int8PtrTy, 2); in create()
/external/llvm/include/llvm/DebugInfo/CodeView/
DByteStream.h27 ArrayRef<uint8_t>>::type ArrayType; typedef
31 explicit ByteStream(ArrayType Data) : Data(Data) {} in ByteStream()
49 ArrayType Data;
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DDerivedTypes.h345 class ArrayType : public SequentialType {
346 ArrayType(Type *ElType, uint64_t NumEl);
349 ArrayType(const ArrayType &) = delete;
350 ArrayType &operator=(const ArrayType &) = delete;
353 static ArrayType *get(Type *ElementType, uint64_t NumElements);
365 return cast<ArrayType>(this)->getNumElements(); in getArrayNumElements()
/external/llvm/include/llvm/IR/
DDerivedTypes.h338 class ArrayType : public SequentialType {
341 ArrayType(const ArrayType &) = delete;
342 const ArrayType &operator=(const ArrayType &) = delete;
343 ArrayType(Type *ElType, uint64_t NumEl);
347 static ArrayType *get(Type *ElementType, uint64_t NumElements);
361 return cast<ArrayType>(this)->getNumElements(); in getArrayNumElements()

12345678910>>...30