Lines Matching defs:top
35 int top = static_cast<int>(stack->GetTop());
36 JSHandle<TaggedArray> elements = GrowCapacity(thread, stack, top + 1);
39 elements->Set(thread, top + 1, value);
40 stack->SetTop(++top);
46 int top = this->GetTop();
47 if (top == -1) {
53 return elements->Get(top);
58 int top = this->GetTop();
59 if (top == -1) {
64 this->SetTop(--top);
65 return elements->Get(top + 1);
70 int top = this->GetTop();
73 for (int i = 0; i <= top; i++) {
119 int top = static_cast<int>(GetTop());
120 if (top == -1) {
124 for (int i = 0; i < top + 1; i++) {