Home
last modified time | relevance | path

Searched refs:stack_ (Results 1 – 25 of 38) sorted by relevance

12

/external/icu/icu4c/source/common/
Ducharstrieiterator.cpp28 maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
38 stack_=new UVector32(errorCode); in Iterator()
39 if(stack_==NULL) { in Iterator()
50 maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
54 stack_=new UVector32(errorCode); in Iterator()
58 if(stack_==NULL) { in Iterator()
76 delete stack_; in ~Iterator()
91 stack_->setSize(0); in reset()
96 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
105 if(stack_->isEmpty()) { in next()
[all …]
Dbytestrieiterator.cpp28 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
39 stack_=new UVector32(errorCode); in Iterator()
40 if(U_SUCCESS(errorCode) && (str_==NULL || stack_==NULL)) { in Iterator()
50 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
55 stack_=new UVector32(errorCode); in Iterator()
59 if(str_==NULL || stack_==NULL) { in Iterator()
78 delete stack_; in ~Iterator()
92 stack_->setSize(0); in reset()
97 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
106 if(stack_->isEmpty()) { in next()
[all …]
/external/regex-re2/re2/
Dwalker-inl.h89 stack<WalkState<T> >* stack_;
133 stack_ = new stack<WalkState<T> >; in Walker()
139 delete stack_; in ~Walker() local
146 if (stack_ && stack_->size() > 0) { in Reset()
148 while (stack_->size() > 0) { in Reset()
149 delete stack_->top().child_args; in Reset()
150 stack_->pop(); in Reset()
164 stack_->push(WalkState<T>(re, top_arg)); in WalkInternal()
169 s = &stack_->top(); in WalkInternal()
200 stack_->push(WalkState<T>(sub[s->n], s->pre_arg)); in WalkInternal()
[all …]
/external/google-breakpad/src/processor/
Dpostfix_evaluator-inl.h61 explicit AutoStackClearer(vector<string> *stack) : stack_(stack) {} in AutoStackClearer()
62 ~AutoStackClearer() { stack_->clear(); } in ~AutoStackClearer()
65 vector<string> *stack_;
199 stack_.push_back(token); in EvaluateToken()
237 AutoStackClearer clearer(&stack_); in Evaluate()
245 if (stack_.empty()) in Evaluate()
256 AutoStackClearer clearer(&stack_); in EvaluateForValue()
262 if (stack_.size() != 1) { in EvaluateForValue()
276 if (!stack_.size()) in PopValueOrIdentifier()
279 string token = stack_.back(); in PopValueOrIdentifier()
[all …]
Dpostfix_evaluator.h99 : dictionary_(dictionary), memory_(memory), stack_() {} in PostfixEvaluator()
173 vector<string> stack_; variable
/external/libchrome/base/
Dat_exit.cc58 g_top_manager->stack_.push(task); in RegisterTask()
70 while (!g_top_manager->stack_.empty()) { in ProcessCallbacksNow()
71 base::Closure task = g_top_manager->stack_.top(); in ProcessCallbacksNow()
73 g_top_manager->stack_.pop(); in ProcessCallbacksNow()
Dat_exit.h61 std::stack<base::Closure> stack_; variable
/external/v8/src/compiler/
Dgraph-reducer.cc35 stack_(zone) {} in GraphReducer()
47 DCHECK(stack_.empty()); in ReduceNode()
51 if (!stack_.empty()) { in ReduceNode()
72 DCHECK(stack_.empty()); in ReduceNode()
110 NodeState& entry = stack_.top(); in ReduceTop()
241 Node* node = stack_.top().node; in Pop()
243 stack_.pop(); in Pop()
250 stack_.push({node, 0}); in Push()
Dstate-values-utils.cc206 stack_[current_depth_].node = node; in iterator()
207 stack_[current_depth_].index = -1; in iterator()
215 return &(stack_[current_depth_]); in Top()
222 stack_[current_depth_].node = node; in Push()
223 stack_[current_depth_].index = 0; in Push()
Dscheduler.cc609 stack_(zone), in SpecialRPONumberer()
738 stack_.resize(schedule_->BasicBlockCount() - previous_block_count_); in ComputeAndInsertSpecialRPO()
740 int stack_depth = Push(stack_, 0, entry, kBlockUnvisited1); in ComputeAndInsertSpecialRPO()
745 SpecialRPOStackFrame* frame = &stack_[current]; in ComputeAndInsertSpecialRPO()
762 stack_depth = Push(stack_, stack_depth, succ, kBlockUnvisited1); in ComputeAndInsertSpecialRPO()
776 ComputeLoopInfo(stack_, num_loops, &backedges_); in ComputeAndInsertSpecialRPO()
787 stack_depth = Push(stack_, 0, entry, kBlockUnvisited2); in ComputeAndInsertSpecialRPO()
789 SpecialRPOStackFrame* frame = &stack_[stack_depth - 1]; in ComputeAndInsertSpecialRPO()
834 stack_depth = Push(stack_, stack_depth, succ, kBlockUnvisited2); in ComputeAndInsertSpecialRPO()
1077 ZoneVector<SpecialRPOStackFrame> stack_; member in v8::internal::compiler::SpecialRPONumberer
Dstate-values-utils.h102 StatePos stack_[kMaxInlineDepth]; variable
Dgraph-reducer.h176 ZoneStack<NodeState> stack_; variable
/external/bison/examples/calc++/
Dstack.hh112 : stack_ (stack) in slice()
121 return stack_[range_ - i]; in operator []()
125 const S& stack_; member in yy::slice
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.h364 stack_[i] = other.stack_[i]; in X87Stack()
370 if (!stack_[i].is(other.stack_[i])) return false;
377 stack_[i] = other.stack_[i];
399 stack_[stack_depth_] = reg; in push()
410 X87Register stack_[X87Register::kMaxNumAllocatableRegisters]; variable
/external/bison/data/
Dstack.hh100 : stack_ (stack)
109 return stack_[range_ - i];
113 const S& stack_;
/external/v8/test/mjsunit/tools/
Dprofile.js62 this.stack_ = []; property in ProfileTestDriver
90 this.stack_.unshift(this.funcAddrs_[funcName]);
91 this.profile.recordTick(this.stack_);
96 this.profile.recordTick(this.stack_);
101 this.stack_.shift();
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java557 stack_.clear(); in reset()
565 public boolean hasNext() /*const*/ { return pos_>=0 || !stack_.isEmpty(); } in hasNext()
581 if(stack_.isEmpty()) { in next()
586 long top=stack_.remove(stack_.size()-1); in next()
661stack_.add(((long)skipDelta(bytes_, pos)<<32)|((length-(length>>1))<<16)|entry_.length); in branchNext()
673 stack_.add(((long)pos<<32)|((length-1)<<16)|entry_.length); in branchNext()
700 private ArrayList<Long> stack_=new ArrayList<Long>(); local
DCharsTrie.java473 stack_.clear(); in reset()
481 public boolean hasNext() /*const*/ { return pos_>=0 || !stack_.isEmpty(); } in hasNext()
497 if(stack_.isEmpty()) { in next()
502 long top=stack_.remove(stack_.size()-1); in next()
596stack_.add(((long)skipDelta(chars_, pos)<<32)|((length-(length>>1))<<16)|str_.length()); in branchNext()
608 stack_.add(((long)pos<<32)|((length-1)<<16)|str_.length()); in branchNext()
638 private ArrayList<Long> stack_=new ArrayList<Long>(); field in CharsTrie.Iterator
/external/icu/android_icu4j/src/main/java/android/icu/util/
DBytesTrie.java525 stack_.clear(); in reset()
532 public boolean hasNext() /*const*/ { return pos_>=0 || !stack_.isEmpty(); } in hasNext()
547 if(stack_.isEmpty()) { in next()
552 long top=stack_.remove(stack_.size()-1); in next()
626stack_.add(((long)skipDelta(bytes_, pos)<<32)|((length-(length>>1))<<16)|entry_.length); in branchNext()
638 stack_.add(((long)pos<<32)|((length-1)<<16)|entry_.length); in branchNext()
665 private ArrayList<Long> stack_=new ArrayList<Long>(); local
DCharsTrie.java450 stack_.clear(); in reset()
457 public boolean hasNext() /*const*/ { return pos_>=0 || !stack_.isEmpty(); } in hasNext()
472 if(stack_.isEmpty()) { in next()
477 long top=stack_.remove(stack_.size()-1); in next()
570stack_.add(((long)skipDelta(chars_, pos)<<32)|((length-(length>>1))<<16)|str_.length()); in branchNext()
582 stack_.add(((long)pos<<32)|((length-1)<<16)|str_.length()); in branchNext()
612 private ArrayList<Long> stack_=new ArrayList<Long>(); field in CharsTrie.Iterator
/external/v8/src/
Djson-stringifier.h109 Handle<JSArray> stack_; variable
188 stack_ = factory()->NewJSArray(8); in BasicJsonStringifier()
270 int length = Smi::cast(stack_->length())->value(); in StackPush()
273 FixedArray* elements = FixedArray::cast(stack_->elements()); in StackPush()
284 JSArray::SetLength(stack_, length + 1); in StackPush()
285 FixedArray::cast(stack_->elements())->set(length, *object); in StackPush()
291 int length = Smi::cast(stack_->length())->value(); in StackPop()
292 stack_->set_length(Smi::FromInt(length - 1)); in StackPop()
/external/v8/src/wasm/
Dast-decoder.cc109 stack_(zone), in LR_WasmDecoder()
120 stack_.clear(); in Decode()
139 if (stack_.size() > 0) { in Decode()
140 error(stack_.back().pc(), end, "fell off end of code"); in Decode()
178 ZoneVector<Production> stack_; member in v8::internal::wasm::LR_WasmDecoder
263 stack_.push_back({tree, 0}); in Shift()
269 if (stack_.size() == 0) { in Reduce()
273 Production* p = &stack_.back(); in Reduce()
278 stack_.pop_back(); in Reduce()
290 if (stack_.size() < kMaxIndent / 2) { in indentation()
[all …]
/external/icu/icu4c/source/common/unicode/
Dbytestrie.h339 UVector32 *stack_; variable
Ducharstrie.h357 UVector32 *stack_; variable
/external/v8/src/ppc/
Dsimulator-ppc.h365 char* stack_; variable

12