| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/ |
| D | ptr_list_ref.h | 232 explicit PtrListRef(pointer value) : first(value), last(value) {} in PtrListRef() 234 PtrListRef(pointer first, pointer last) : first(first), last(last == nullptr ? first : last) {} in PtrListRef() argument 255 return iterator(this->last == nullptr ? nullptr : this->last->GetNext()); in end() 260 return const_iterator(this->last == nullptr ? nullptr : this->last->GetNext()); in end() 265 return const_iterator(this->last == nullptr ? nullptr : this->last->GetNext()); in cend() 270 return reverse_iterator(iterator(this->last)); in rbegin() 275 return const_reverse_iterator(const_iterator(this->last)); in rbegin() 280 return const_reverse_iterator(const_iterator(this->last)); in crbegin() 305 return *(this->last); in back() 315 return *(this->last); in back() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/11.tuple_types_conversion/decl_var/ |
| D | decl-var.sts | 26 … %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = [{% for t in c['values'] %}{{t.exp… 27 …assert {% for t in c['values'] %}v[{{loop.index0}}] {{t.eq}} {{t.expr|safe}}{% if not loop.last %}… 30 … let v2: [{% for t in c['values'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = v 31 … c['values'] %}v2[{{loop.index0}}] {{t.eq}} {{t.expr|safe}}{% if not loop.last %} && {% endif %}{%… 34 … %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = [{% for t in c['values'] %}{{t.exp… 35 …assert {% for t in c['values'] %}c[{{loop.index0}}] {{t.eq}} {{t.expr|safe}}{% if not loop.last %}… 38 …const c2: [{% for t in c['values'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = c 39 … c['values'] %}c2[{{loop.index0}}] {{t.eq}} {{t.expr|safe}}{% if not loop.last %} && {% endif %}{%… 42 … let v3: [{% for t in c['values'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = c2 43 … c['values'] %}v3[{{loop.index0}}] {{t.eq}} {{t.expr|safe}}{% if not loop.last %} && {% endif %}{%… [all …]
|
| D | decl-var_n.sts | 25 …] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = [{% for t in c['from'] %}{{t.expr… 29 …] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = [{% for t in c['from'] %}{{t.expr… 32 let v2: [{% for t in c['to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = s 35 …] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = [{% for t in c['from'] %}{{t.expr… 38 const c2: [{% for t in c['to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = s
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/11.tuple_types_conversion/call_lmbd/ |
| D | call-lmbd_n.sts | 25 …] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = [{% for t in c['from'] %}{{t.expr… 28 let res1: [{% for t in c['to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = 29 …last %}, {% endif %}{% endfor %}]): [{% for t in c['to'] %}{{t.type}}{% if not loop.last %}, {% en… 30 let res2: [{% for t in c['to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = 31 …to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}]): [{% for t in c['to'] %}{{t.typ…
|
| D | call-lmbd.sts | 25 let res: [{% for t in c['values'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = 26 …last %}, {% endif %}{% endfor %}]): [{% for t in c['values'] %}{{t.type}}{% if not loop.last %}, {… 27 …c['values'] %}res[{{loop.index0}}] {{t.eq}} {{t.expr|safe}}{% if not loop.last %} && {% endif %}{%…
|
| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_deque.cpp | 33 uint32_t last = deque->GetLast(); in InsertFront() local 35 if ((first + capacity - 1) % capacity == last) { in InsertFront() 36 elements = GrowCapacity(thread, deque, capacity, first, last); in InsertFront() 54 uint32_t last = deque->GetLast(); in InsertEnd() local 56 if (first == (last + 1) % capacity) { in InsertEnd() 57 elements = GrowCapacity(thread, deque, capacity, first, last); in InsertEnd() 60 last = capacity - 1; in InsertEnd() 62 elements->Set(thread, last, value); in InsertEnd() 65 last = (last + 1) % capacity; in InsertEnd() 66 deque->SetLast(last); in InsertEnd() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/ast_verifier/ |
| D | sequenceExpressionHasLastType.cpp | 27 const auto *last = expr->Sequence().back(); in operator ()() local 32 if (last->TsType() == nullptr) { in operator ()() 33 ctx.AddCheckMessage("Sequence expression last type is null", *last, last->Start()); in operator ()() 36 if (expr->TsType() != last->TsType()) { in operator ()() 37 …ctx.AddCheckMessage("Sequence expression type and last expression type are not the same", *expr, e… in operator ()()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/11.tuple_types_conversion/assn_var/ |
| D | assn-var.sts | 24 let v: [{% for t in c['values'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}]; 25 let v2: [{% for t in c['values'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}]; 26 let v3: [{% for t in c['values'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}]; 27 … %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = [{% for t in c['values'] %}{{t.exp… 31 v = [{% for t in c['values'] %}{{t.expr|safe}}{% if not loop.last %}, {% endif %}{% endfor %}] 32 …assert {% for t in c['values'] %}v[{{loop.index0}}] {{t.eq}} {{t.expr|safe}}{% if not loop.last %}… 36 … c['values'] %}v2[{{loop.index0}}] {{t.eq}} {{t.expr|safe}}{% if not loop.last %} && {% endif %}{%… 40 … c['values'] %}v3[{{loop.index0}}] {{t.eq}} {{t.expr|safe}}{% if not loop.last %} && {% endif %}{%…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/11.tuple_types_conversion/call_func/ |
| D | call-func_n.sts | 25 …] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = [{% for t in c['from'] %}{{t.expr… 27 …to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}]): [{% for t in c['to'] %}{{t.typ… 32 …%}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = zoo([{% for t in c['from'] %}{{t.ex… 33 …let res2: [{% for t in c['to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = zoo(…
|
| D | call-func2_n.sts | 25 …] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = [{% for t in c['from'] %}{{t.expr… 27 …to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}]): [{% for t in c['to'] %}{{t.typ… 32 …%}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = zoo([{% for t in c['from'] %}{{t.ex… 33 …let res2: [{% for t in c['to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = zoo(…
|
| D | call-func.sts | 24 …'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}]): [{% for t in c['values'] %}{{t.t… 29 …}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = zoo([{% for t in c['values'] %}{{t.e… 30 …c['values'] %}res[{{loop.index0}}] {{t.eq}} {{t.expr|safe}}{% if not loop.last %} && {% endif %}{%…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/11.tuple_types_conversion/call_meth/ |
| D | call-meth_n.sts | 25 …] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = [{% for t in c['from'] %}{{t.expr… 28 …to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}]): [{% for t in c['to'] %}{{t.typ… 34 ….type}}{% if not loop.last %}, {% endif %}{% endfor %}] = new Z().meth([{% for t in c['from'] %}{{… 35 …let res2: [{% for t in c['to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = new …
|
| D | call-meth2_n.sts | 25 …] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = [{% for t in c['from'] %}{{t.expr… 28 …to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}]): [{% for t in c['to'] %}{{t.typ… 34 ….type}}{% if not loop.last %}, {% endif %}{% endfor %}] = new Z().meth([{% for t in c['from'] %}{{… 35 …let res2: [{% for t in c['to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = new …
|
| D | call-meth.sts | 25 …'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}]): [{% for t in c['values'] %}{{t.t… 31 …type}}{% if not loop.last %}, {% endif %}{% endfor %}] = new Z().meth([{% for t in c['values'] %}{… 32 …c['values'] %}res[{{loop.index0}}] {{t.eq}} {{t.expr|safe}}{% if not loop.last %} && {% endif %}{%…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/01.assignment-like_contexts/ |
| D | null_call.sts | 28 p{{loop.index}}: {{t|safe}}{{ ", " if not loop.last }} 33 p{{loop.index}} == null {{ ("&&" if not loop.last) | safe}} 42 p{{loop.index}}: {{t|safe}}{{ ", " if not loop.last }} 47 p{{loop.index}} == null {{ ("&&" if not loop.last) | safe}} 58 let c: A = new A({% for t in c['types'] %}null{{ ", " if not loop.last }}{% endfor %}); 59 return c.foo({% for t in c['types'] %}null{{ ", " if not loop.last }}{% endfor %});
|
| D | unboxing2_call.sts | 27 …public constructor({% for v in c['values'] %}p{{loop.index}}: {{c.type}}{{ ", " if not loop.last }… 33 …public foo({% for v in c['values'] %}p{{loop.index}}: {{c.type}}{{ ", " if not loop.last }}{% endf… 36 this.fld_{{loop.index}} != p{{loop.index}}{{ " ||" if not loop.last }} 51 …let c: A = new A({% for v in c['values'] %}v{{loop.index}}{{ ", " if not loop.last }}{% endfor %}); 52 return c.foo({% for v in c['values'] %}v{{loop.index}}{{ ", " if not loop.last }}{% endfor %});
|
| D | boxing2_call.sts | 27 …public constructor({% for v in c['values'] %}p{{loop.index}}: {{c.type}}{{ ", " if not loop.last }… 33 …public foo({% for v in c['values'] %}p{{loop.index}}: {{c.type}}{{ ", " if not loop.last }}{% endf… 36 this.fld_{{loop.index}} == null {{ " ||" if not loop.last }} 51 …let c: A = new A({% for v in c['values'] %}v{{loop.index}}{{ ", " if not loop.last }}{% endfor %}); 52 return c.foo({% for v in c['values'] %}v{{loop.index}}{{ ", " if not loop.last }}{% endfor %});
|
| D | unboxing_call.sts | 27 …public constructor({% for v in c['values'] %}p{{loop.index}}: {{c.type}}{{ ", " if not loop.last }… 33 …public foo({% for v in c['values'] %}p{{loop.index}}: {{c.type}}{{ ", " if not loop.last }}{% endf… 36 this.fld_{{loop.index}} != p{{loop.index}}{{ " ||" if not loop.last }} 51 …let c: A = new A({% for v in c['values'] %}v{{loop.index}}{{ ", " if not loop.last }}{% endfor %}); 52 return c.foo({% for v in c['values'] %}v{{loop.index}}{{ ", " if not loop.last }}{% endfor %});
|
| D | boxing_call.sts | 27 …public constructor({% for v in c['values'] %}p{{loop.index}}: {{c.type}}{{ ", " if not loop.last }… 33 …public foo({% for v in c['values'] %}p{{loop.index}}: {{c.type}}{{ ", " if not loop.last }}{% endf… 36 this.fld_{{loop.index}}.unboxed() != p{{loop.index}}.unboxed(){{ " ||" if not loop.last }} 51 …let c: A = new A({% for v in c['values'] %}v{{loop.index}}{{ ", " if not loop.last }}{% endfor %}); 52 return c.foo({% for v in c['values'] %}v{{loop.index}}{{ ", " if not loop.last }}{% endfor %});
|
| D | identity_call.sts | 34 p{{loop.index}}: {{t.type|safe}}{{ ", " if not loop.last }} 44 p{{loop.index}}: {{t.type|safe}}{{ ", " if not loop.last }} 49 this.fld_{{loop.index}} {{t.op}} p{{loop.index}}{{ " ||" if not loop.last }} 60 let c: A = new A({% for t in c['types'] %}{{t.expr|safe}}{{ ", " if not loop.last }}{% endfor %}); 61 …return c.foo({% for t in c['types'] %}c.fld_{{loop.index}}{{ ", " if not loop.last }}{% endfor %});
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/ |
| D | get_intrinsics.inl.erb | 25 extern "C" void <%= intrinsic.impl.rpartition('::').last %>Bridge(); 26 extern "C" void <%= intrinsic.impl.rpartition('::').last %>RuntimeCallChecker(); 30 extern "C" void <%= impl.rpartition('::').last %>(); 32 extern "C" void <%= impl.rpartition('::').last %>Bridge(); 34 extern "C" void <%= impl.rpartition('::').last %>RuntimeCallChecker(); 82 …sic.respond_to?(:fast_path) ? intrinsic.fast_path : "#{intrinsic.impl.rpartition('::').last}Bridge" 88 …untime_call ? reinterpret_cast<uintptr_t>(<%= "#{intrinsic.impl.rpartition('::').last}Bridge" %>) : 92 … reinterpret_cast<uintptr_t>(<%= intrinsic.impl.rpartition('::').last %>RuntimeCallChecker); 100 reinterpret_cast<uintptr_t>(<%= impl.rpartition('::').last %>RuntimeCallChecker);
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/11.tuple_types_conversion/decl_field/ |
| D | decl-field_n.sts | 25 …] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = [{% for t in c['from'] %}{{t.expr… 28 …] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = [{% for t in c['from'] %}{{t.expr… 29 fld2: [{% for t in c['to'] %}{{t.type}}{% if not loop.last %}, {% endif %}{% endfor %}] = s
|
| /arkcompiler/ets_runtime/test/moduletest/regexpflagd/ |
| D | regexpflagd.js | 22 var regexpNames = /姓氏:(?<first>.+),名字:(?<last>.+)/gmd; 31 print(result.indices.groups.last); 33 print(result.groups.last); 40 print(result.indices.groups.last); 42 print(result.groups.last);
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | StringFasta.sts | 42 static last : int = 42; 47 last = (last * A + C) % M; 48 return max * last / M; 53 let last : Char = null; 56 if (last != null) { 57 table.put(c, entry.getValue() + table.get(last)); 59 last = c;
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/ |
| D | StringFasta.sts | 42 static last : int = 42; 47 last = (last * A + C) % M; 48 return max * last / M; 53 let last : Char = null; 56 if (last != null) { 57 table.put(c, entry.getValue() + table.get(last)); 59 last = c;
|