Home
last modified time | relevance | path

Searched refs:top (Results 1 – 25 of 124) sorted by relevance

12345

/arkcompiler/ets_frontend/
DREADME_zh.md70 <table><thead align="left"><tr id="row535415467591"><th class="cellrowborder" valign="top" width="1…
72 <th class="cellrowborder" valign="top" width="19.33806619338066%" id="mcps1.1.6.1.3"><p id="p157281…
74 <th class="cellrowborder" valign="top" width="25.82741725827417%" id="mcps1.1.6.1.4"><p id="p103276…
76 <th class="cellrowborder" valign="top" width="35.066493350664935%" id="mcps1.1.6.1.5"><p id="p18354…
80 <tbody><tr id="row1435412465598"><td class="cellrowborder" valign="top" width="12.898710128987101%"…
82 <td class="cellrowborder" valign="top" width="19.33806619338066%" headers="mcps1.1.6.1.3 "><p id="p…
84 <td class="cellrowborder" valign="top" width="25.82741725827417%" headers="mcps1.1.6.1.4 "><p id="p…
86 <td class="cellrowborder" valign="top" width="35.066493350664935%" headers="mcps1.1.6.1.5 "><p id="…
89 <tr id="row1435412465598"><td class="cellrowborder" valign="top" width="12.898710128987101%" header…
91 <td class="cellrowborder" valign="top" width="19.33806619338066%" headers="mcps1.1.6.1.3 "><p id="p…
[all …]
DREADME.md70 <table><thead align="left"><tr id="row535415467591"><th class="cellrowborder" valign="top" width="1…
72 <th class="cellrowborder" valign="top" width="19.33806619338066%" id="mcps1.1.6.1.3"><p id="p157281…
74 <th class="cellrowborder" valign="top" width="25.82741725827417%" id="mcps1.1.6.1.4"><p id="p103276…
76 <th class="cellrowborder" valign="top" width="35.066493350664935%" id="mcps1.1.6.1.5"><p id="p18354…
80 <tbody><tr id="row1435412465598"><td class="cellrowborder" valign="top" width="12.898710128987101%"…
82 <td class="cellrowborder" valign="top" width="19.33806619338066%" headers="mcps1.1.6.1.3 "><p id="p…
84 <td class="cellrowborder" valign="top" width="25.82741725827417%" headers="mcps1.1.6.1.4 "><p id="p…
86 <td class="cellrowborder" valign="top" width="35.066493350664935%" headers="mcps1.1.6.1.5 "><p id="…
89 <tr id="row1435412465598"><td class="cellrowborder" valign="top" width="12.898710128987101%" header…
91 <td class="cellrowborder" valign="top" width="19.33806619338066%" headers="mcps1.1.6.1.3 "><p id="p…
[all …]
/arkcompiler/ets_runtime/docs/
Dusing-the-toolchain.md24 <table><thead align="left"><tr id="row535415467591"><th class="cellrowborder" valign="top" width="1…
26 <th class="cellrowborder" valign="top" width="19.33806619338066%" id="mcps1.1.6.1.3"><p id="p157281…
28 <th class="cellrowborder" valign="top" width="25.82741725827417%" id="mcps1.1.6.1.4"><p id="p103276…
30 <th class="cellrowborder" valign="top" width="35.066493350664935%" id="mcps1.1.6.1.5"><p id="p18354…
34 <tbody><tr id="row1435412465598"><td class="cellrowborder" valign="top" width="12.898710128987101%"…
36 <td class="cellrowborder" valign="top" width="19.33806619338066%" headers="mcps1.1.6.1.3 "><p id="p…
38 <td class="cellrowborder" valign="top" width="25.82741725827417%" headers="mcps1.1.6.1.4 "><p id="p…
40 <td class="cellrowborder" valign="top" width="35.066493350664935%" headers="mcps1.1.6.1.5 "><p id="…
43 <tr id="row1435412465598"><td class="cellrowborder" valign="top" width="12.898710128987101%" header…
45 <td class="cellrowborder" valign="top" width="19.33806619338066%" headers="mcps1.1.6.1.3 "><p id="p…
[all …]
DREADME_zh.md214 <table><thead align="left"><tr id="row101462717303"><th class="cellrowborder" valign="top" width="5…
216 <th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p11592710304"><a name=…
220 <tbody><tr id="row2015172763014"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.…
222 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p13151527133011"…
225 <tr id="row1015527173015"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1…
227 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p9556101593120">…
230 <tr id="row1015112763020"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1…
232 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1615627173019">…
235 <tr id="row131515277307"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 …
237 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1655718513105">…
[all …]
Ddevelopment-example.md151 <table><thead align="left"><tr id="row101462717303"><th class="cellrowborder" valign="top" width="5…
153 <th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p11592710304"><a name=…
157 <tbody><tr id="row2015172763014"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.…
159 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p13151527133011"…
162 <tr id="row1015527173015"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1…
164 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p9556101593120">…
167 <tr id="row1015112763020"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1…
169 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1615627173019">…
172 <tr id="row131515277307"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 …
174 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1820821404711">…
[all …]
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_stack.cpp36 int top = static_cast<int>(stack->GetTop()); in Push() local
37 JSHandle<TaggedArray> elements = GrowCapacity(thread, stack, top + 1); in Push()
40 elements->Set(thread, top + 1, value); in Push()
41 stack->SetTop(++top); in Push()
47 int top = this->GetTop(); in Peek() local
48 if (top == -1) { in Peek()
54 return elements->Get(top); in Peek()
59 int top = this->GetTop(); in Pop() local
60 if (top == -1) { in Pop()
65 this->SetTop(--top); in Pop()
[all …]
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
Dgeneric-set.ets27 private top : int = -1;
32 this.top = -1;
40 if (this.top == -1) {
43 return this.container[this.top];
47 if (this.top == -1) {
50 return this.container[this.top--];
54 this.container[++this.top] = item;
58 return (this.top == -1);
62 return (this.top + 1);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_intrins/
Dtest_intrins.ets28 native static void$(top: JSValue, qname: String): void;
29 native static void$a(top: JSValue, qname: String, v0: JSValue): void;
30 native static void$an(top: JSValue, qname: String, a0: JSValue, a1: double): void;
31 native static void$n(top: JSValue, qname: String, v0: double): void;
32 native static void$s(top: JSValue, qname: String, v0: String): void;
34 native static bool$a(top: JSValue, qname: String, v0: JSValue): boolean;
36 native static num$a(top: JSValue, qname: String, v0: JSValue): double
37 native static num$an(top: JSValue, qname: String, a0: JSValue, a1: double): double;
38 native static num$ann(top: JSValue, qname: String, a0: JSValue, a1: double, a2: double): double;
39 native static num$nn(top: JSValue, qname: String, a0: double, a1: double): double;
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/
Dfree_object_list.cpp191 FreeObjectSet *top = sets_[type]; in AddSet() local
192 if (set == top) { in AddSet()
195 if (top != nullptr) { in AddSet()
196 top->prev_ = set; in AddSet()
199 set->next_ = top; in AddSet()
218 FreeObjectSet *top = sets_[type]; in RemoveSet() local
220 if (top == set) { in RemoveSet()
221 sets_[type] = top->next_; in RemoveSet()
248 FreeObjectSet *top = sets_[type]; in Merge() local
249 if (top == nullptr) { in Merge()
[all …]
Dallocator-inl.h43 void BumpPointerAllocator::Reset(uintptr_t begin, uintptr_t end, uintptr_t top) in Reset() argument
46 top_ = top; in Reset()
51 void BumpPointerAllocator::ResetTopPointer(uintptr_t top) in ResetTopPointer() argument
53 top_ = top; in ResetTopPointer()
144 void FreeListAllocator::ResetBumpPointer(uintptr_t begin, uintptr_t end, uintptr_t top) in ResetBumpPointer() argument
146 bpAllocator_.Reset(begin, end, top); in ResetBumpPointer()
149 void FreeListAllocator::ResetTopPointer(uintptr_t top) in ResetTopPointer() argument
151 bpAllocator_.ResetTopPointer(top); in ResetTopPointer()
Dlinear_space.cpp82 uintptr_t top = allocator_.GetTop(); in Expand() local
88 … currentRegion->GetAllocatedBytes(top) - currentRegion->GetAllocatedBytes(waterLine_); in Expand()
90 allocateAfterLastGC_ += currentRegion->GetAllocatedBytes(top); in Expand()
94 survivalObjectSize_ += currentRegion->GetAllocatedBytes(top); in Expand()
96 currentRegion->SetHighWaterMark(top); in Expand()
127 auto top = allocator_.GetTop(); in IterateOverObjects() local
128 endPtr = curPtr + region->GetAllocatedBytes(top); in IterateOverObjects()
299 size_t SemiSpace::GetAllocatedSizeSinceGC(uintptr_t top) const in GetAllocatedSizeSinceGC()
304 currentRegionSize = currentRegion->GetAllocatedBytes(top); in GetAllocatedSizeSinceGC()
Dallocator.h47 inline void Reset(uintptr_t begin, uintptr_t end, uintptr_t top);
48 inline void ResetTopPointer(uintptr_t top);
109 inline void ResetBumpPointer(uintptr_t begin, uintptr_t end, uintptr_t top);
110 inline void ResetTopPointer(uintptr_t top);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/class_operations/
Dclass_operations.ets26 native static void$(top: JSValue, qname: String): void;
27 native static num$(top: JSValue, qname: String): double;
28 native static any$(top: JSValue, qname: String): JSValue;
29 native static any$(top: JSValue, qname: String, v0: JSValue): JSValue;
30 native static any$(top: JSValue, qname: String, v0: String): JSValue;
31 native static any$(top: JSValue, qname: String, v0: double, v1: String): JSValue;
32 native static any$(top: JSValue, qname: String, v0: int[], v1: int): JSValue;
34 native static any$a(top: JSValue, qname: String, v0: JSValue): JSValue;
36 native static str$(top: JSValue, qname: String): String;
37 native static str$(top: JSValue, qname: String, v0: String): String;
[all …]
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dgc_queue.cpp41 GCTask *task = queue_.top().get(); in GetTask()
49 task = queue_.top().get(); in GetTask()
52 …daUniquePtr<GCTask> returnedTask = std::move(*const_cast<PandaUniquePtr<GCTask> *>(&queue_.top())); in GetTask()
65 auto *lastElem = queue_.top().get(); in AddTask()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/08.function_declarations/05.shadowing_parameters/
Dscope1.ets24 let q: int = 1; // top-level scope
27 return q; // returns top-level q
31 q = q + 10; // top-level scope, no shadowing
36 let q: int; // function foo scope, top-level q is shadowed
42 let q: int; // function main scope, top-level q is shadowed
Dshadowing1.ets18 If the name of the parameter is identical to the name of the top-level variable
21 shadows the name of the top-level variable.
26 function bar(q: int): int { // q shadows top-level q
Dshadowing2.ets18 If the name of the parameter is identical to the name of the top-level variable
21 shadows the name of the top-level variable.
27 let q: int = 10 // local q shadows top-level q
Dshadowing3.ets18 If the name of the parameter is identical to the name of the top-level variable
21 shadows the name of the top-level variable.
31 let q: int = 10 // function local q shadows top-level q
Dscope2.ets26 return q; // returns top-level q
30 q = p; // top-level q
33 function bar(q: int): int { // q is shadowing top-level q
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddropframe_manager.cpp173 for (const auto &item : modifiedLexVar_.top()) { in EmplaceLexModifyRecord()
182 modifiedLexVar_.top().emplace_back(envHandle, slot, valueHandle); in EmplaceLexModifyRecord()
196 return modifiedLexVar_.top(); in GetLexModifyRecordOfTopFrame()
205 for (const auto &item : modifiedLexVar_.top()) { in RemoveLexModifyRecordOfTopFrame()
221 lexModifyRecord = modifiedLexVar_.top(); in MergeLexModifyRecordOfTopFrame()
230 for (const auto &itemLast : modifiedLexVar_.top()) { in MergeLexModifyRecordOfTopFrame()
243 modifiedLexVar_.top().emplace_back(envHandle, slot, valueHandle); in MergeLexModifyRecordOfTopFrame()
258 return promiseQueueSizeRecord_.top(); in GetPromiseQueueSizeRecordOfTopFrame()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/perf/
Dtest.ets24 native static void$(top: JSValue, qname: String): void;
26 …native static void$10s(top: JSValue, qname: String, v0: String, v1: String, v2: String, v3: String…
28 …native static void$10d(top: JSValue, qname: String, v0: double, v1: double, v2: double, v3: double…
30 native static str$(top: JSValue, qname: String): String;
31 native static any$(top: JSValue, qname: String): JSValue;
32 native static num$(top: JSValue, qname: String): double;
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D13_modules.rst111 top-level declaration
112 top-level statement
573 *import type* is that the first form imports all top-level declarations
770 *Top-level type declarations* declare top-level types (*class*,
771 *interface*, or *enum*), top-level variables, constants, or
793 top-level type declaration
794 top-level type
826 In addition, only one top-level declaration can be exported by using the default
829 occurs if more than one top-level declaration is marked as *default*.
838 top-level declaration
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dcontainers_stack_stub_builder.h32 GateRef top = Load(VariableType::INT32(), obj, IntPtr(JSAPIStack::TOP_OFFSET)); in GetSize() local
33 return Int32Add(top, Int32(1)); in GetSize()
/arkcompiler/runtime_core/static_core/verification/value/tests/
Dabstract_typed_value_test.cpp40 auto top = Type::Top(); in TEST_F() local
70 EXPECT_EQ(t7, top); in TEST_F()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dscheduler.cpp159 auto &curState = dfsStack.top(); in Run()
269 auto &rootState = dfsStack.top(); in CalculateSchedulingUpperBound()
274 auto &curState = dfsStack.top(); in CalculateSchedulingUpperBound()
308 auto &newState = dfsStack.top(); in CalculateSchedulingUpperBound()
367 auto &rootState = dfsVisitStack.top(); in CalculateSchedulingLowerBound()
371 auto &curState = dfsVisitStack.top(); in CalculateSchedulingLowerBound()
386 auto &newState = dfsVisitStack.top(); in CalculateSchedulingLowerBound()
402 auto &rootState = dfsFinishStack.top(); in CalculateSchedulingLowerBound()
407 auto &curState = dfsFinishStack.top(); in CalculateSchedulingLowerBound()
443 auto &newState = dfsFinishStack.top(); in CalculateSchedulingLowerBound()

12345