Home
last modified time | relevance | path

Searched refs:stack_ (Results 1 – 25 of 28) 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/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/openfst/src/include/fst/extensions/pdt/
Dexpand.h90 stack_(opts.stack ? opts.stack: new PdtStack<StateId, Label>(parens)), in ExpandFstImpl()
107 stack_(new PdtStack<StateId, Label>(*impl.stack_)), in ExpandFstImpl()
120 delete stack_; in ~ExpandFstImpl() local
181 StackId stack_id = stack_->Find(tuple.stack_id, arc.ilabel); in ExpandState()
197 const PdtStack<StackId, Label> &GetStack() const { return *stack_; } in GetStack()
206 PdtStack<StackId, Label> *stack_; variable
356 stack_(parens),
358 ExpandFstOptions<Arc>(opts, true, &stack_, &state_table_)),
359 queue_(state_table_, stack_, stack_length_, distance_, fdistance_) {
396 : state_table_(st), stack_(s), stack_length_(sl), in StackCompare()
[all …]
Dcompose.h303 stack_(parens_), in filter_()
325 stack_(filter.parens_),
338 ssize_t paren_id = stack_.Top(f.GetState2().GetState()); in SetState()
398 StackId stack_id = stack_.Find(f2.GetState(), label); in FilterParen()
411 mutable ParenStack stack_; variable
/external/v8/src/x87/
Dlithium-codegen-x87.h387 stack_[i] = other.stack_[i]; in X87Stack()
393 if (!stack_[i].is(other.stack_[i])) return false;
400 stack_[i] = other.stack_[i];
421 stack_[stack_depth_] = reg; in push()
432 X87Register stack_[X87Register::kMaxNumAllocatableRegisters]; variable
Dlithium-codegen-x87.cc526 layout |= (stack_[stack_depth_ - 1 - i].code() << ((i + 1) * 3)); in GetLayout()
540 X87Register other = stack_[other_i]; in Fxch()
541 stack_[other_i] = reg; in Fxch()
542 stack_[i] = other; in Fxch()
563 if (stack_[i].is(reg)) return i; in ArrayIndex()
572 if (stack_[i].is(reg)) return true; in Contains()
586 stack_[i] = stack_[tos_i]; in Free()
663 stack_[stack_depth_] = reg; in PrepareToWrite()
670 DCHECK(!Contains(reg) && stack_[stack_depth_].is(reg) && in CommitWrite()
691 X87Register reg = stack_[i]; in FlushIfNecessary()
/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/v8/src/
Djson-stringifier.h159 Handle<JSArray> stack_; variable
250 stack_ = factory_->NewJSArray(8); in BasicJsonStringifier()
367 int length = Smi::cast(stack_->length())->value(); in StackPush()
370 FixedArray* elements = FixedArray::cast(stack_->elements()); in StackPush()
382 JSArray::EnsureSize(stack_, length + 1); in StackPush()
383 FixedArray::cast(stack_->elements())->set(length, *object); in StackPush()
384 stack_->set_length(Smi::FromInt(length + 1)); in StackPush()
390 int length = Smi::cast(stack_->length())->value(); in StackPop()
391 stack_->set_length(Smi::FromInt(length - 1)); in StackPop()
/external/icu/icu4c/source/common/unicode/
Dbytestrie.h339 UVector32 *stack_; variable
Ducharstrie.h357 UVector32 *stack_; variable
/external/v8/src/mips/
Dsimulator-mips.h354 char* stack_; variable
Dsimulator-mips.cc958 stack_ = reinterpret_cast<char*>(malloc(stack_size_)); in Simulator()
978 registers_[sp] = reinterpret_cast<int32_t>(stack_) + stack_size_ - 64; in Simulator()
1481 return reinterpret_cast<uintptr_t>(stack_) + 1024; in StackLimit()
/external/v8/src/arm/
Dsimulator-arm.h387 char* stack_; variable
Dsimulator-arm.cc727 stack_ = reinterpret_cast<char*>(malloc(stack_size)); in Simulator()
766 registers_[sp] = reinterpret_cast<int32_t>(stack_) + stack_size - 64; in Simulator()
1215 return reinterpret_cast<uintptr_t>(stack_) + 1024; in StackLimit()
/external/v8/src/mips64/
Dsimulator-mips64.h404 char* stack_; variable
Dsimulator-mips64.cc889 stack_ = reinterpret_cast<char*>(malloc(stack_size_)); in Simulator()
909 registers_[sp] = reinterpret_cast<int64_t>(stack_) + stack_size_ - 64; in Simulator()
1549 return reinterpret_cast<uintptr_t>(stack_) + 1024; in StackLimit()
/external/v8/src/arm64/
Dsimulator-arm64.cc381 stack_ = reinterpret_cast<uintptr_t>(new byte[stack_size_]); in Init()
382 stack_limit_ = stack_ + stack_protection_size_; in Init()
383 uintptr_t tos = stack_ + stack_size_ - stack_protection_size_; in Init()
421 delete[] reinterpret_cast<byte*>(stack_); in ~Simulator()
Dsimulator-arm64.h845 uintptr_t stack_;

12