Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/third_party/externals/icu/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 …]
/third_party/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 …]
/third_party/node/deps/icu-small/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 …]
/third_party/skia/third_party/externals/icu/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 …]
/third_party/skia/third_party/externals/tint/src/
Dscope_stack.h33 stack_.push_back({}); in ScopeStack()
40 void Push() { stack_.push_back({}); } in Push()
44 if (stack_.size() > 1) { in Pop()
45 stack_.pop_back(); in Pop()
55 std::swap(val, stack_.back()[symbol]); in Set()
63 for (auto iter = stack_.rbegin(); iter != stack_.rend(); ++iter) { in Get()
75 std::vector<std::unordered_map<Symbol, T>> stack_;
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
Dgraphcycles.cc355 Vec<int32_t> stack_; // Emulates recursion stack for depth-first searches member
536 r->stack_.clear(); in ForwardDFS()
537 r->stack_.push_back(n); in ForwardDFS()
538 while (!r->stack_.empty()) { in ForwardDFS()
539 n = r->stack_.back(); in ForwardDFS()
540 r->stack_.pop_back(); in ForwardDFS()
553 r->stack_.push_back(w); in ForwardDFS()
562 r->stack_.clear(); in BackwardDFS()
563 r->stack_.push_back(n); in BackwardDFS()
564 while (!r->stack_.empty()) { in BackwardDFS()
[all …]
/third_party/protobuf/src/google/protobuf/util/internal/
Djson_stream_parser.cc143 stack_(), in JsonStreamParser()
162 stack_.push(VALUE); in JsonStreamParser()
200 if (stack_.empty() && leftover_.empty()) { in FinishParse()
252 if (stack_.empty()) { in ParseChunk()
263 while (!stack_.empty()) { in RunParser()
264 ParseType type = stack_.top(); in RunParser()
266 stack_.pop(); in RunParser()
302 stack_.push(type); in RunParser()
654 stack_.push(ENTRY); in HandleBeginObject()
673 stack_.push(ENTRY); in ParseObjectMid()
[all …]
Ddefault_value_objectwriter.cc522 stack_.push(current_); in StartObject()
528 if (stack_.empty()) { in EndObject()
533 current_ = stack_.top(); in EndObject()
534 stack_.pop(); in EndObject()
562 stack_.push(current_); in StartList()
574 if (stack_.empty()) { in EndList()
578 current_ = stack_.top(); in EndList()
579 stack_.pop(); in EndList()
Djson_stream_parser.h230 std::stack<ParseType> stack_; variable
Ddefault_value_objectwriter.h305 std::stack<Node*> stack_; variable
/third_party/flatbuffers/include/flatbuffers/
Dflexbuffers.h929 stack_.clear(); in Clear()
941 void Null() { stack_.push_back(Value()); } in Null()
947 void Int(int64_t i) { stack_.push_back(Value(i, FBT_INT, WidthI(i))); } in Int()
953 void UInt(uint64_t u) { stack_.push_back(Value(u, FBT_UINT, WidthU(u))); } in UInt()
959 void Float(float f) { stack_.push_back(Value(f)); } in Float()
965 void Double(double f) { stack_.push_back(Value(f)); } in Double()
971 void Bool(bool b) { stack_.push_back(Value(b)); } in Bool()
1021 stack_.push_back(Value(static_cast<uint64_t>(sloc), FBT_KEY, BIT_WIDTH_8)); in Key()
1039 stack_.back().u_ = sloc; in String()
1078 size_t StartVector() { return stack_.size(); } in StartVector()
[all …]
/third_party/gn/src/gn/
Dcommand_format.cc230 int margin() const { return stack_.back().margin; } in margin()
257 std::vector<IndentState> stack_; member in commands::__anon032d97dc0111::Printer
282 stack_.push_back(IndentState()); in Printer()
356 stack_.push_back(IndentState(CurrentColumn(), false, false)); in PrintSuffixComments()
358 stack_.pop_back(); in PrintSuffixComments()
367 stack_.push_back(IndentState(CurrentColumn(), false, false)); in FlushComments()
369 stack_.pop_back(); in FlushComments()
752 if (binop->op().value() == "&&" && stack_.back().parent_is_boolean_or) { in Expr()
786 if (stack_.back().continuation_requires_indent) in Expr()
789 stack_.push_back(IndentState(indent_column, in Expr()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/
Dscc.h80 std::vector<const Descriptor*> stack_; variable
98 stack_.push_back(descriptor); in DFS()
119 const Descriptor* scc_desc = stack_.back(); in DFS()
122 stack_.pop_back(); in DFS()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DBytesTrie.java577 stack_.clear(); in reset()
585 public boolean hasNext() /*const*/ { return pos_>=0 || !stack_.isEmpty(); } in hasNext()
601 if(stack_.isEmpty()) { in next()
606 long top=stack_.remove(stack_.size()-1); in next()
681stack_.add(((long)skipDelta(bytes_, pos)<<32)|((length-(length>>1))<<16)|entry_.length); in branchNext()
693 stack_.add(((long)pos<<32)|((length-1)<<16)|entry_.length); in branchNext()
720 private ArrayList<Long> stack_=new ArrayList<>(); local
DCharsTrie.java501 stack_.clear(); in reset()
509 public boolean hasNext() /*const*/ { return pos_>=0 || !stack_.isEmpty(); } in hasNext()
525 if(stack_.isEmpty()) { in next()
530 long top=stack_.remove(stack_.size()-1); in next()
624stack_.add(((long)skipDelta(chars_, pos)<<32)|((length-(length>>1))<<16)|str_.length()); in branchNext()
636 stack_.add(((long)pos<<32)|((length-1)<<16)|str_.length()); in branchNext()
666 private ArrayList<Long> stack_=new ArrayList<>(); field in CharsTrie.Iterator
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java609 stack_.clear(); in reset()
618 public boolean hasNext() /*const*/ { return pos_>=0 || !stack_.isEmpty(); } in hasNext()
635 if(stack_.isEmpty()) { in next()
640 long top=stack_.remove(stack_.size()-1); in next()
716stack_.add(((long)skipDelta(bytes_, pos)<<32)|((length-(length>>1))<<16)|entry_.length); in branchNext()
728 stack_.add(((long)pos<<32)|((length-1)<<16)|entry_.length); in branchNext()
755 private ArrayList<Long> stack_=new ArrayList<>(); local
DCharsTrie.java525 stack_.clear(); in reset()
534 public boolean hasNext() /*const*/ { return pos_>=0 || !stack_.isEmpty(); } in hasNext()
551 if(stack_.isEmpty()) { in next()
556 long top=stack_.remove(stack_.size()-1); in next()
651stack_.add(((long)skipDelta(chars_, pos)<<32)|((length-(length>>1))<<16)|str_.length()); in branchNext()
663 stack_.add(((long)pos<<32)|((length-1)<<16)|str_.length()); in branchNext()
693 private ArrayList<Long> stack_=new ArrayList<>(); field in CharsTrie.Iterator
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcordz_info.cc328 memcpy(stack, src->stack_, src->stack_depth_ * sizeof(void*)); in FillParentStack()
335 stack_depth_(absl::GetStackTrace(stack_, /*max_depth=*/kMaxStackDepth, in CordzInfo()
422 return absl::MakeConstSpan(stack_, stack_depth_); in GetStack()
Dcordz_info.h245 void* stack_[kMaxStackDepth]; variable
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Dbytestrie.h340 UVector32 *stack_; variable
/third_party/icu/icu4c/source/common/unicode/
Dbytestrie.h378 UVector32 *stack_; variable

12