/arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2ets/templates/ |
D | test.template.ts | 28 static field1: TYPE; 32 export let GLOB: TYPE; 35 export function func(arg: TYPE): TYPE { 40 func2(arg: TYPE, arg2: unknown): TYPE { 47 field3: Generic<TYPE>; 49 field4: TYPE[]; 51 field5: TYPE[] & Generic<TYPE> & TYPE & undefined; 53 field6: TYPE[] | Generic<TYPE> | TYPE | undefined;
|
D | model.template.d.ts | 26 static field1: TYPE; 28 let GLOB: TYPE; 29 function func(arg: TYPE): TYPE; 31 func2(arg: TYPE, arg2: JSValue): TYPE; 34 field3: Generic<TYPE>; 35 field4: TYPE[]; 37 field6: TYPE[] | Generic<TYPE> | TYPE | JSValue;
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/ |
D | x64_isa_tbl.h | 62 #define DEF_X64_SET_MAPPING_INT(OPCODE, TYPE) \ argument 66 x64::MOP_##TYPE##_r, x64::MOP_begin, x64::MOP_##TYPE##_m, x64::MOP_begin \ 97 #define DEF_X64_CMOV_MAPPING_INT(OPCODE, TYPE) \ argument 101 x64::MOP_begin, x64::MOP_##TYPE##w_r_r, x64::MOP_##TYPE##l_r_r, x64::MOP_##TYPE##q_r_r \
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
D | ets_type_comptime_traits.h | 26 template <EtsType TYPE> 74 template <EtsType TYPE> 123 template <EtsType TYPE> 124 using EtsTypeEnumToCppType = typename detail::EtsTypeEnumToCppTypeT<TYPE>::Type; 126 template <EtsType TYPE> 127 using EtsTypeEnumToEtsArrayType = typename detail::EtsTypeEnumToEtsArrayTypeT<TYPE>::Type;
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | builtin_type_id.h | 86 #define TS_BUILTIN_TYPE_ENUM_ITEM(TYPE) TYPE, argument 113 #define TS_BUILTIN_TYPE_SWITCH_CASE(TYPE) \ in ToString() argument 114 case BuiltinTypeId::TYPE: \ in ToString() 115 return #TYPE; in ToString()
|
D | ts_type_accessor.h | 114 #define GET_TSTYPE(NAME, TYPE) \ argument 115 inline TYPE Get##NAME##Type() const \ 119 return TYPE(tsType); \
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
D | graph_cloner.h | 133 template <UnrollType TYPE> 139 … auto unrollData = PrepareLoopToUnroll(loop, (TYPE & UnrollType::UNROLL_WITHOUT_SIDE_EXITS) == 0); in UnrollLoopBody() 146 if constexpr ((TYPE & UnrollType::UNROLL_WITHOUT_SIDE_EXITS) != 0) { in UnrollLoopBody() 157 if constexpr ((TYPE & UnrollType::UNROLL_REMOVE_BACK_EDGE) != 0) { in UnrollLoopBody() 161 if constexpr (TYPE == UnrollType::UNROLL_CONSTANT_ITERATIONS) { in UnrollLoopBody() 203 template <InstCloneType TYPE, bool SKIP_SAFEPOINTS> 214 CloneInstructions<TYPE, SKIP_SAFEPOINTS>(block, clone, &instCount); in CloneBlocksAndInstructions() 310 template <InstCloneType TYPE, bool SKIP_SAFEPOINTS> 319 if constexpr (TYPE != InstCloneType::CLONE_ALL) { // NOLINT in CloneInstructions() 328 if constexpr (TYPE == InstCloneType::CLONE_ALL) { // NOLINT in CloneInstructions()
|
/arkcompiler/runtime_core/static_core/compiler/tests/ |
D | codegen_test.cpp | 181 constexpr DataType::Type TYPE = VixlExecModule::GetType<T>(); in CheckStoreArray() local 196 auto storeValue = graph->AddNewParameter(2U, TYPE); in CheckStoreArray() 201 storeValue->SetLocationData(graph->GetDataForNativeParam(TYPE)); in CheckStoreArray() 205 stArr->SetType(TYPE); in CheckStoreArray() 227 auto defaultValue = CutValue<T>(0U, TYPE); in CheckStoreArray() 233 auto param3 = CutValue<T>(10U, TYPE); in CheckStoreArray() 255 constexpr DataType::Type TYPE = VixlExecModule::GetType<T>(); in CheckLoadArray() local 277 ldArr->SetType(TYPE); in CheckLoadArray() 281 ret->SetType(TYPE); in CheckLoadArray() 300 arrayData[i] = CutValue<T>((-i), TYPE); in CheckLoadArray() [all …]
|
/arkcompiler/runtime_core/static_core/assembler/ |
D | annotation.h | 438 template <Value::Type TYPE> 439 using ValueTypeHelperT = typename ValueTypeHelper<TYPE>::Type; 443 template <Value::Type TYPE> 446 static ScalarValue Create(ValueTypeHelperT<TYPE> value) in Create() 449 using T = ValueTypeHelperT<TYPE>; in Create() 454 return ScalarValue(TYPE, static_cast<uint64_t>(value)); in Create() 460 return ScalarValue(TYPE, value); in Create()
|
D | meta.cpp | 132 template <Value::Type TYPE, class T = ValueTypeHelperT<TYPE>> 146 return ScalarValue::Create<TYPE>(converted); in CreatePrimitiveValue()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_thread_hclass_entries.h | 32 #define TS_BUILTIN_TYPE_ITEM(TYPE) BuiltinTypeId::TYPE, argument
|
D | vtable.h | 26 TYPE, enumerator 76 TypeKind type = static_cast<TypeKind>(GetTupleItem(tupleIdx, TupleItem::TYPE).GetInt()); in IsAccessor()
|
D | ecma_macros.h | 477 #define DECL_CAST(TYPE) \ argument 478 static TYPE *Cast(TaggedObject *object) \ 480 ASSERT(JSTaggedValue(object).Is##TYPE()); \ 481 return reinterpret_cast<TYPE *>(object); \
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | mcr_gate_meta_data.cpp | 166 #define VALUE_TYPE_NAME_MAP(TYPE) { ValueType::TYPE, #TYPE }, in Str() argument
|
D | type.h | 36 #define DECLARE_VALUE_TYPE(TYPE) TYPE, argument
|
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/interop/js/ |
D | JSRuntime.ets | 24 // newJSValue<TYPE>() 67 // getValue<TYPE>() 111 // getProperty<TYPE>() 154 // setProperty<TYPE>() 224 // getElement<TYPE>() 263 // setElement<TYPE>()
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
D | thread.h | 52 template <class TYPE> 54 template <class TYPE> 56 template <class TYPE>
|
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/ |
D | etsObjectType.h | 435 template <PropertyType TYPE> 439 auto found = properties_[static_cast<size_t>(TYPE)].find(name); in GetOwnProperty() 440 if (found != properties_[static_cast<size_t>(TYPE)].end()) { in GetOwnProperty() 446 template <PropertyType TYPE> 449 properties_[static_cast<size_t>(TYPE)].emplace(prop->Name(), prop); in AddProperty()
|
D | etsFunctionType.cpp | 47 if (callSignatures_.size() == 1 && callSignatures_[0]->HasSignatureFlag(SignatureFlags::TYPE)) { in Identical() 140 … ASSERT(callSignatures_.size() == 1 && callSignatures_[0]->HasSignatureFlag(SignatureFlags::TYPE)); in AssignmentTarget()
|
/arkcompiler/ets_frontend/es2panda/ |
D | es2panda.h | 105 TYPE, enumerator 130 case ErrorType::TYPE: in TypeString()
|
/arkcompiler/ets_frontend/ets2panda/ |
D | es2panda.h | 121 TYPE, enumerator 149 case ErrorType::TYPE: in TypeString()
|
/arkcompiler/ets_frontend/ets2panda/checker/types/ |
D | signature.h | 76 TYPE = 1U << 10U, enumerator 87 FUNCTIONAL_INTERFACE_SIGNATURE = VIRTUAL | ABSTRACT | CALL | PUBLIC | TYPE
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
D | isel.cpp | 82 #define DEF_EXTEND_MAPPING_TBL(TYPE) \ argument 84 return isSigned ? abstract::MOP_sext_rr_##TYPE : abstract::MOP_zext_rr_##TYPE; \ 124 #define DEF_MOPERATOR_MAPPING_FUNC(TYPE) \ argument 127 constexpr static std::array<MOperator, kBitIndexEnd> fastMapping_##TYPE = { \ 128 abstract::MOP_##TYPE##_8, abstract::MOP_##TYPE##_16, abstract::MOP_##TYPE##_32, \ 129 abstract::MOP_##TYPE##_64}; \ 130 return fastMapping_##TYPE[GetBitIndex(bitSize)]; \ 133 #define DEF_FLOAT_MOPERATOR_MAPPING_FUNC(TYPE) \ argument 136 constexpr static std::array<MOperator, kBitIndexEnd> fastMapping_f_##TYPE = { \ 137 abstract::MOP_##TYPE##_f_8, abstract::MOP_##TYPE##_f_16, abstract::MOP_##TYPE##_f_32, \ [all …]
|
/arkcompiler/ets_frontend/es2panda/typescript/ |
D | checker.cpp | 82 throw Error {ErrorType::TYPE, message, loc.line, loc.col}; in ThrowTypeError()
|
/arkcompiler/runtime_core/static_core/libpandabase/os/ |
D | mem.h | 179 template <class T, MapPtrType TYPE> 211 std::conditional_t<TYPE == MapPtrType::CONST, const T *, T *> Get() const in Get()
|