/arkcompiler/runtime_core/libpandabase/serializer/ |
D | tuple_to_struct.h | 23 template <typename Struct, size_t... Is, typename Tuple> 24 Struct TupleToStructImpl([[maybe_unused]] std::index_sequence<Is...> is, Tuple &&tup) in TupleToStructImpl() 26 return {std::get<Is>(std::forward<Tuple>(tup))...}; in TupleToStructImpl() 29 template <typename Struct, typename Tuple> 30 Struct TupleToStruct(Tuple &&tup) in TupleToStruct() 32 using T = std::remove_reference_t<Tuple>; in TupleToStruct() 35 return TupleToStructImpl<Struct>(sequence, std::forward<Tuple>(tup)); in TupleToStruct()
|
D | for_each_tuple.h | 23 template <typename Tuple, typename F, size_t... Index> 24 void ForEachTupleImpl(Tuple &&tuple, F &&f, std::index_sequence<Index...> /* unused */) in ForEachTupleImpl() 26 …[[maybe_unused]] auto unused = {true, (f(std::get<Index>(std::forward<Tuple>(tuple))), void(), tru… in ForEachTupleImpl() 29 template <typename Tuple, typename F> 30 void ForEachTuple(Tuple &&tuple, F &&f) in ForEachTuple() 32 using T = std::remove_reference_t<Tuple>; in ForEachTuple() 35 ForEachTupleImpl(std::forward<Tuple>(tuple), std::forward<F>(f), sequence); in ForEachTuple()
|
/arkcompiler/runtime_core/libpandabase/os/ |
D | thread.h | 86 template <class Func, typename Tuple, size_t... I> 87 static void CallFunc(Func &func, Tuple &args, Seq<I...> /* unused */) 92 template <class Func, typename Tuple, size_t N> 93 static void CallFunc(Func &func, Tuple &args) 98 template <typename Func, typename Tuple, size_t N> 103 Tuple args_tuple; 105 auto args_ptr = static_cast<SharedPtrStruct<Tuple> *>(args); 106 SharedPtrToSharedPtrStruct<Tuple> local; 113 CallFunc<Func, Tuple, N>(*func, args_tuple);
|
/arkcompiler/ets_runtime/ecmascript/ |
D | vtable.h | 35 class Tuple { 43 explicit Tuple(const CVector<JSHandle<JSTaggedValue>> &vec) : items_(std::move(vec)) {} in Tuple() function 59 static Tuple CreateTuple(const JSThread *thread, JSTaggedValue phc, 80 Tuple GetTuple(const JSThread *thread, uint32_t tupleIdx) const; 82 void SetByIndex(const JSThread *thread, uint32_t idx, const VTable::Tuple &tuple);
|
D | vtable.cpp | 19 VTable::Tuple VTable::CreateTuple(const JSThread *thread, JSTaggedValue phc, in CreateTuple() 45 return VTable::Tuple(vec); in CreateTuple() 48 VTable::Tuple VTable::GetTuple(const JSThread *thread, uint32_t tupleIdx) const in GetTuple() 55 return Tuple(vec); in GetTuple() 58 void VTable::SetByIndex(const JSThread *thread, uint32_t idx, const VTable::Tuple &tuple) in SetByIndex()
|
D | subtyping_operator.cpp | 165 VTable::Tuple tuple = eVTable->GetTuple(thread, index); in GenVTable() 170 VTable::Tuple tuple = VTable::CreateTuple(thread, phcHandle.GetTaggedValue(), owner, index); in GenVTable()
|
/arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
D | test-tuple-type2-expected.txt | 1 SyntaxError: Tuple members must all have or haven't names [test-tuple-type2.ts:17:17]
|
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/ |
D | arrayDestructuring32-expected.txt | 86 TypeError: Tuple type [] of length 0 has no element at index 0. [arrayDestructuring32.ts:17:1]
|
D | arrayDestructuring1-expected.txt | 88 TypeError: Tuple type [] of length 0 has no element at index 0. [arrayDestructuring1.ts:17:5]
|
D | arrayDestructuring21-expected.txt | 147 TypeError: Tuple type [number] of length 1 has no element at index 1. [arrayDestructuring21.ts:17:6]
|
D | arrayDestructuring29-expected.txt | 143 TypeError: Tuple type [] of length 0 has no element at index 0. [arrayDestructuring29.ts:18:1]
|
D | arrayDestructuring25-expected.txt | 173 TypeError: Tuple type [number] of length 1 has no element at index 1. [arrayDestructuring25.ts:17:1…
|
D | arrayDestructuring38-expected.txt | 173 TypeError: Tuple type [] of length 0 has no element at index 0. [arrayDestructuring38.ts:18:2]
|
D | arrayDestructuring15-expected.txt | 174 TypeError: Tuple type [number] of length 1 has no element at index 1. [arrayDestructuring15.ts:18:5]
|
D | arrayDestructuring7-expected.txt | 202 TypeError: Tuple type [boolean[]] of length 1 has no element at index 1. [arrayDestructuring7.ts:17…
|
D | arrayDestructuring30-expected.txt | 241 TypeError: Tuple type [] of length 0 has no element at index 1. [arrayDestructuring30.ts:19:1]
|
D | arrayDestructuring39-expected.txt | 271 TypeError: Tuple type [] of length 0 has no element at index 1. [arrayDestructuring39.ts:19:2]
|
D | arrayDestructuring27-expected.txt | 296 TypeError: Tuple type [number, number | string] of length 2 has no element at index 2. [arrayDestru…
|
D | arrayDestructuring17-expected.txt | 371 TypeError: Tuple type [number, string] of length 2 has no element at index 2. [arrayDestructuring17…
|
/arkcompiler/ets_frontend/legacy_bin/api8/src/ |
D | index.js | 2 …Tuple",W[W.Anonymous=16]="Anonymous",W[W.Mapped=32]="Mapped",W[W.Instantiated=64]="Instantiated",W…
|