/arkcompiler/ets_frontend/ |
D | README_zh.md | 70 <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 …]
|
D | README.md | 70 <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/ |
D | using-the-toolchain.md | 24 <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 …]
|
D | README_zh.md | 214 <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 …]
|
D | development-example.md | 151 <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/ |
D | js_api_stack.cpp | 36 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/ |
D | generic-set.ets | 27 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/ |
D | test_intrins.ets | 28 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/ |
D | free_object_list.cpp | 191 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 …]
|
D | allocator-inl.h | 43 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()
|
D | linear_space.cpp | 82 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()
|
D | allocator.h | 47 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/ |
D | class_operations.ets | 26 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/ |
D | gc_queue.cpp | 41 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/ |
D | scope1.ets | 24 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
|
D | shadowing1.ets | 18 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
|
D | shadowing2.ets | 18 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
|
D | shadowing3.ets | 18 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
|
D | scope2.ets | 26 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/ |
D | dropframe_manager.cpp | 173 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/ |
D | test.ets | 24 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/ |
D | 13_modules.rst | 111 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/ |
D | containers_stack_stub_builder.h | 32 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/ |
D | abstract_typed_value_test.cpp | 40 auto top = Type::Top(); in TEST_F() local 70 EXPECT_EQ(t7, top); in TEST_F()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | scheduler.cpp | 159 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()
|