Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/common/
Ducharstrieiterator.cpp30 maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
40 stack_=new UVector32(errorCode); in Iterator()
41 if(stack_==NULL) { in Iterator()
52 maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
56 stack_=new UVector32(errorCode); in Iterator()
60 if(stack_==NULL) { in Iterator()
78 delete stack_; in ~Iterator()
93 stack_->setSize(0); in reset()
98 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
107 if(stack_->isEmpty()) { in next()
[all …]
Dbytestrieiterator.cpp30 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
41 stack_=new UVector32(errorCode); in Iterator()
42 if(U_SUCCESS(errorCode) && (str_==NULL || stack_==NULL)) { in Iterator()
52 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
57 stack_=new UVector32(errorCode); in Iterator()
61 if(str_==NULL || stack_==NULL) { in Iterator()
80 delete stack_; in ~Iterator()
94 stack_->setSize(0); in reset()
99 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
108 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/protobuf/src/google/protobuf/util/internal/
Djson_stream_parser.cc99 stack_(), in JsonStreamParser()
112 stack_.push(VALUE); in JsonStreamParser()
150 if (stack_.empty() && leftover_.empty()) { in FinishParse()
197 if (stack_.empty()) { in ParseChunk()
208 while (!stack_.empty()) { in RunParser()
209 ParseType type = stack_.top(); in RunParser()
211 stack_.pop(); in RunParser()
246 stack_.push(type); in RunParser()
569 stack_.push(ENTRY); in HandleBeginObject()
587 stack_.push(ENTRY); in ParseObjectMid()
[all …]
Ddefault_value_objectwriter.cc491 stack_.push(current_); in StartObject()
497 if (stack_.empty()) { in EndObject()
502 current_ = stack_.top(); in EndObject()
503 stack_.pop(); in EndObject()
528 stack_.push(current_); in StartList()
540 if (stack_.empty()) { in EndList()
544 current_ = stack_.top(); in EndList()
545 stack_.pop(); in EndList()
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h747 void Null() { stack_.push_back(Value()); } in Null()
750 void Int(int64_t i) { stack_.push_back(Value(i, TYPE_INT, WidthI(i))); } in Int()
753 void UInt(uint64_t u) { stack_.push_back(Value(u, TYPE_UINT, WidthU(u))); } in UInt()
756 void Float(float f) { stack_.push_back(Value(f)); } in Float()
759 void Double(double f) { stack_.push_back(Value(f)); } in Double()
811 stack_.push_back(Value(static_cast<uint64_t>(sloc), TYPE_KEY, BIT_WIDTH_8)); in Key()
829 stack_.back().u_ = sloc; in String()
870 size_t StartVector() { return stack_.size(); } in StartVector()
871 size_t StartVector(const char *key) { Key(key); return stack_.size(); } in StartVector()
872 size_t StartMap() { return stack_.size(); } in StartMap()
[all …]
/external/v8/src/compiler/
Dgraph-reducer.cc34 stack_(zone) { in GraphReducer()
49 DCHECK(stack_.empty()); in ReduceNode()
53 if (!stack_.empty()) { in ReduceNode()
74 DCHECK(stack_.empty()); in ReduceNode()
112 NodeState& entry = stack_.top(); in ReduceTop()
260 Node* node = stack_.top().node; in Pop()
262 stack_.pop(); in Pop()
269 stack_.push({node, 0}); in Push()
Dsimd-scalar-lowering.cc28 stack_(zone), in SimdScalarLowering()
41 stack_.push_back({graph()->end(), 0}); in LowerGraph()
45 while (!stack_.empty()) { in LowerGraph()
46 NodeState& top = stack_.back(); in LowerGraph()
49 stack_.pop_back(); in LowerGraph()
61 stack_.push_front({input, 0}); in LowerGraph()
64 stack_.push_front({input, 0}); in LowerGraph()
66 stack_.push_back({input, 0}); in LowerGraph()
Dint64-lowering.cc31 stack_(zone), in Int64Lowering()
46 stack_.push_back({graph()->end(), 0}); in LowerGraph()
49 while (!stack_.empty()) { in LowerGraph()
50 NodeState& top = stack_.back(); in LowerGraph()
53 stack_.pop_back(); in LowerGraph()
64 stack_.push_front({input, 0}); in LowerGraph()
67 stack_.push_front({input, 0}); in LowerGraph()
69 stack_.push_back({input, 0}); in LowerGraph()
Dstate-values-utils.cc308 stack_[current_depth_] = in iterator()
316 return &(stack_[current_depth_]); in Top()
322 stack_[current_depth_] = in Push()
/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/libchrome/base/
Dat_exit.cc61 g_top_manager->stack_.push(std::move(task)); in RegisterTask()
77 tasks.swap(g_top_manager->stack_); in ProcessCallbacksNow()
88 DCHECK(g_top_manager->stack_.empty()); in ProcessCallbacksNow()
Dat_exit.h61 std::stack<base::Closure> stack_; variable
/external/v8/src/wasm/
Dwasm-interpreter.cc925 stack_(zone), in ThreadImpl()
939 frames_.push_back({code, 0, 0, stack_.size()}); in PushFrame()
941 stack_.push_back(args[i]); in PushFrame()
945 {0, stack_.size(), frames_.size(), in PushFrame()
977 stack_.clear(); in Reset()
1005 CHECK_LT(static_cast<size_t>(index), stack_.size()); in GetReturnValue()
1006 return stack_[index]; in GetReturnValue()
1042 ZoneVector<WasmVal> stack_; member in v8::internal::wasm::__anon86b361180111::ThreadImpl
1070 DCHECK_GE(stack_.size(), arity); in PushFrame()
1072 frames_.push_back({code, 0, 0, stack_.size() - arity}); in PushFrame()
[all …]
Dfunction-body-decoder.cc535 stack_.clear(); in Decode()
590 stack_(zone), in WasmFullDecoder()
606 ZoneVector<Value> stack_; // stack of values. member in v8::internal::wasm::WasmFullDecoder
675 if (stack_.size() < kMaxIndent / 2) { in indentation()
676 bytes[stack_.size() * 2] = 0; in indentation()
785 stack_.resize(c->stack_depth); in DecodeFunctionBody()
848 stack_.resize(c->stack_depth); in DecodeFunctionBody()
873 if (!c->unreachable && stack_.size() != c->stack_depth) { in DecodeFunctionBody()
875 stack_.resize(c->stack_depth); in DecodeFunctionBody()
1302 for (size_t i = 0; i < stack_.size(); ++i) { in DecodeFunctionBody()
[all …]
/external/boringssl/src/include/openssl/
Dstack.h222 typedef int (*stack_##name##_cmp_func)(constptrtype *a, constptrtype *b); \
225 sk_##name##_new(stack_##name##_cmp_func comp) { \
308 static inline OPENSSL_UNUSED stack_##name##_cmp_func \
310 stack_##name##_cmp_func comp) { \
311 return (stack_##name##_cmp_func)sk_set_cmp_func((_STACK *)sk, \
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.h361 stack_[i] = other.stack_[i]; in X87Stack()
367 if (!stack_[i].is(other.stack_[i])) return false;
374 stack_[i] = other.stack_[i];
396 stack_[stack_depth_] = reg; in push()
407 X87Register stack_[X87Register::kMaxNumAllocatableRegisters]; variable
/external/bison/data/
Dstack.hh100 : stack_ (stack)
109 return stack_[range_ - i];
113 const S& stack_;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java560 stack_.clear(); in reset()
569 public boolean hasNext() /*const*/ { return pos_>=0 || !stack_.isEmpty(); } in hasNext()
586 if(stack_.isEmpty()) { in next()
591 long top=stack_.remove(stack_.size()-1); in next()
667stack_.add(((long)skipDelta(bytes_, pos)<<32)|((length-(length>>1))<<16)|entry_.length); in branchNext()
679 stack_.add(((long)pos<<32)|((length-1)<<16)|entry_.length); in branchNext()
706 private ArrayList<Long> stack_=new ArrayList<Long>(); local
DCharsTrie.java476 stack_.clear(); in reset()
485 public boolean hasNext() /*const*/ { return pos_>=0 || !stack_.isEmpty(); } in hasNext()
502 if(stack_.isEmpty()) { in next()
507 long top=stack_.remove(stack_.size()-1); in next()
602stack_.add(((long)skipDelta(chars_, pos)<<32)|((length-(length>>1))<<16)|str_.length()); in branchNext()
614 stack_.add(((long)pos<<32)|((length-1)<<16)|str_.length()); in branchNext()
644 private ArrayList<Long> stack_=new ArrayList<Long>(); field in CharsTrie.Iterator
/external/icu/android_icu4j/src/main/java/android/icu/util/
DBytesTrie.java528 stack_.clear(); in reset()
536 public boolean hasNext() /*const*/ { return pos_>=0 || !stack_.isEmpty(); } in hasNext()
552 if(stack_.isEmpty()) { in next()
557 long top=stack_.remove(stack_.size()-1); in next()
632stack_.add(((long)skipDelta(bytes_, pos)<<32)|((length-(length>>1))<<16)|entry_.length); in branchNext()
644 stack_.add(((long)pos<<32)|((length-1)<<16)|entry_.length); in branchNext()
671 private ArrayList<Long> stack_=new ArrayList<Long>(); local
DCharsTrie.java453 stack_.clear(); in reset()
461 public boolean hasNext() /*const*/ { return pos_>=0 || !stack_.isEmpty(); } in hasNext()
477 if(stack_.isEmpty()) { in next()
482 long top=stack_.remove(stack_.size()-1); in next()
576stack_.add(((long)skipDelta(chars_, pos)<<32)|((length-(length>>1))<<16)|str_.length()); in branchNext()
588 stack_.add(((long)pos<<32)|((length-1)<<16)|str_.length()); in branchNext()
618 private ArrayList<Long> stack_=new ArrayList<Long>(); field in CharsTrie.Iterator
/external/v8/src/
Djson-stringifier.cc87 stack_ = factory()->NewJSArray(8); in JsonStringifier()
228 int length = Smi::cast(stack_->length())->value(); in CurrentHolder()
236 FixedArray* elements = FixedArray::cast(stack_->elements()); in CurrentHolder()
249 int length = Smi::cast(stack_->length())->value(); in StackPush()
252 FixedArray* elements = FixedArray::cast(stack_->elements()); in StackPush()
263 JSArray::SetLength(stack_, length + 1); in StackPush()
264 FixedArray::cast(stack_->elements())->set(length, *object); in StackPush()
269 int length = Smi::cast(stack_->length())->value(); in StackPop()
270 stack_->set_length(Smi::FromInt(length - 1)); in StackPop()

123