| /arkcompiler/ets_frontend/ets2panda/checker/types/ts/ |
| D | arrayType.cpp | 22 void ArrayType::ToString(std::stringstream &ss, bool precise) const in ToString() 35 void ArrayType::Identical(TypeRelation *relation, Type *other) in Identical() 42 void ArrayType::AssignmentTarget(TypeRelation *relation, Type *source) in AssignmentTarget() 57 TypeFacts ArrayType::GetTypeFacts() const in GetTypeFacts() 62 Type *ArrayType::Instantiate(ArenaAllocator *allocator, TypeRelation *relation, GlobalTypesHolder *… in Instantiate() 64 return allocator->New<ArrayType>(element_->Instantiate(allocator, relation, globalTypes)); in Instantiate()
|
| D | arrayType.h | 22 class ArrayType : public Type { 24 explicit ArrayType(Type *elementType) : Type(TypeFlag::ARRAY), element_(elementType) {} in ArrayType() function
|
| D | tupleType.cpp | 30 return checker->Allocator()->New<ArrayType>(arrayType); in ConvertToArrayType()
|
| /arkcompiler/ets_frontend/es2panda/typescript/types/ |
| D | arrayType.cpp | 23 void ArrayType::ToString(std::stringstream &ss) const in ToString() 36 void ArrayType::Identical(TypeRelation *relation, Type *other) in Identical() 43 void ArrayType::AssignmentTarget(TypeRelation *relation, Type *source) in AssignmentTarget() 58 TypeFacts ArrayType::GetTypeFacts() const in GetTypeFacts() 63 Type *ArrayType::Instantiate(ArenaAllocator *allocator, TypeRelation *relation, GlobalTypesHolder *… in Instantiate() 65 return allocator->New<ArrayType>(element_->Instantiate(allocator, relation, globalTypes)); in Instantiate()
|
| D | arrayType.h | 23 class ArrayType : public Type { 25 explicit ArrayType(Type *elementType) : Type(TypeFlag::ARRAY), element_(elementType) {} in ArrayType() function
|
| D | typeMapping.h | 22 _(TypeFlag::ARRAY, ArrayType) \
|
| D | tupleType.cpp | 31 return checker->Allocator()->New<ArrayType>(arrayType); in ConvertToArrayType()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Type.sts | 210 return ArrayType.getInstance(td) 435 return ArrayType.getInstance(TypeAPIGetTypeDescriptor(v), ValueTypeDesc.BOOLEAN) 446 return ArrayType.getInstance(TypeAPIGetTypeDescriptor(v), ValueTypeDesc.CHAR) 457 return ArrayType.getInstance(TypeAPIGetTypeDescriptor(v), ValueTypeDesc.BYTE) 468 return ArrayType.getInstance(TypeAPIGetTypeDescriptor(v), ValueTypeDesc.SHORT) 479 return ArrayType.getInstance(TypeAPIGetTypeDescriptor(v), ValueTypeDesc.INT) 490 return ArrayType.getInstance(TypeAPIGetTypeDescriptor(v), ValueTypeDesc.LONG) 501 return ArrayType.getInstance(TypeAPIGetTypeDescriptor(v), ValueTypeDesc.FLOAT) 512 return ArrayType.getInstance(TypeAPIGetTypeDescriptor(v), ValueTypeDesc.DOUBLE) 525 return ArrayType.getInstance(TypeAPIGetTypeDescriptor(v)) [all …]
|
| D | Value.sts | 244 } else if (t instanceof ArrayType) { 245 return new ArrayValue(t as ArrayType, o!) 266 return new ArrayValue(ArrayType.BOOLEAN_VAL, v) 270 return new ArrayValue(ArrayType.CHAR_VAL, v) 274 return new ArrayValue(ArrayType.BYTE_VAL, v) 278 return new ArrayValue(ArrayType.SHORT_VAL, v) 282 return new ArrayValue(ArrayType.INT_VAL, v) 286 return new ArrayValue(ArrayType.LONG_VAL, v) 290 return new ArrayValue(ArrayType.FLOAT_VAL, v) 294 return new ArrayValue(ArrayType.DOUBLE_VAL, v) [all …]
|
| D | Object.sts | 131 } else if (t instanceof ArrayType) { 204 } else if (t instanceof ArrayType) { 276 } else if (t instanceof ArrayType) { 323 if (t instanceof StringType || t instanceof ArrayType) { 388 if (t instanceof ArrayType) {
|
| /arkcompiler/ets_frontend/es2panda/ir/ts/ |
| D | tsArrayType.cpp | 43 …return checker->Allocator()->New<checker::ArrayType>(elementType_->AsTypeNode()->GetType(checker)); in GetType()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/ |
| D | test_core_type_array_type.j2 | 21 let arrayType : ArrayType; 28 arrayType = Type.of(arrayVar) as ArrayType;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | Reflect.sts | 49 } else if (t instanceof ArrayType) { 97 if (t instanceof ArrayType) { 156 if (vt instanceof ArrayType) { 206 … } else if (t instanceof StringType || t instanceof ArrayType || t instanceof LambdaType) {
|
| D | json.sts | 459 } else if (typ instanceof ArrayType) { 460 let et = (typ as ArrayType).getElementType() 501 …private static readonly STD_CORE_INTEROP_JSVALUE_TYPE = (Type.of([] as JSValue[]) as ArrayType).ge… 561 } else if (objType instanceof ArrayType) { 562 this.writeArrayValue(Value.of(obj) as ArrayValue, objType as ArrayType) 698 private writeArrayValue(arrayValue: ArrayValue, arrayType: ArrayType): void { 1108 } else if (value instanceof JSONArray && typ instanceof ArrayType) { 1109 return this.parseArray(value as JSONArray, typ as ArrayType) 1171 private parseArray(jVal: JSONArray, aType: ArrayType): Object | null {
|
| /arkcompiler/ets_frontend/ets2panda/ir/ts/ |
| D | tsArrayType.cpp | 69 return checker->Allocator()->New<checker::ArrayType>(elementType_->GetType(checker)); in GetType()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/litecg/ |
| D | lmir_builder.h | 74 using ArrayType = MIRArrayType; variable 273 ArrayType *CreateArrayType(Type *elemType, std::vector<uint32_t> &dimSize); 596 ArrayConstBuilder(LMIRBuilder &builder_, ArrayType *type_) : builder(builder_) in ArrayConstBuilder() 634 ArrayConstBuilder CreateArrayConst(ArrayType *type) in CreateArrayConst() 740 ArrayConst &CreateArrayConstInternal(ArrayType *type);
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/ |
| D | ark_gvn.cpp | 75 auto arrayType = llvm::ArrayType::get(builder.getInt64Ty(), 0); in CreateCallBuiltin() 152 auto arrayType = llvm::ArrayType::get(builder.getInt64Ty(), 0); in RunOnBasicBlock()
|
| D | panda_runtime_lowering.cpp | 130 auto arrayType = llvm::ArrayType::get(builder->getInt64Ty(), 0); in GetMethodOrResolverPtr()
|
| D | intrinsics_lowering.cpp | 194 auto arrayType = llvm::ArrayType::get(builder.getInt64Ty(), 0); in HandleFRem()
|
| /arkcompiler/ets_frontend/ets2panda/checker/types/ |
| D | typeMapping.h | 23 _(TypeFlag::ARRAY, ArrayType) \
|
| /arkcompiler/ets_frontend/es2panda/ir/expressions/ |
| D | arrayExpression.cpp | 269 return checker->Allocator()->New<checker::ArrayType>(arrayElementType); in Check() 288 … elementType = checker->Allocator()->New<checker::ArrayType>(checker->GlobalAnyType()); in CheckPattern()
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/transforms/ |
| D | runtime_calls.cpp | 43 auto arrayType = llvm::ArrayType::get(builder->getInt64Ty(), 0); in GetPandaRuntimeFunctionCallee()
|
| D | builtins.cpp | 103 auto arrayType = llvm::ArrayType::get(builder->getInt64Ty(), 0); in SlowClassLoadingHelper() 358 auto arrayType = llvm::ArrayType::get(builder->getInt64Ty(), 0); in LowerLoadString()
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/tools/generate-es-checked/templates/ |
| D | template.sts.erb | 57 if (!(Type.of(a) instanceof ArrayType)) {
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/litecg/ |
| D | lmir_builder.cpp | 179 ArrayType *LMIRBuilder::CreateArrayType(Type *elemType, std::vector<uint32_t> &dimSize) in CreateArrayType() 183 return static_cast<ArrayType *>(type); in CreateArrayType() 213 ArrayConst &LMIRBuilder::CreateArrayConstInternal(ArrayType *type) in CreateArrayConstInternal()
|