Lines Matching refs:stack_

2514 …GenericValue<Encoding, Allocator>(type),  allocator_(allocator), ownAllocator_(0), stack_(stackAll…
2527 … allocator_(allocator), ownAllocator_(0), stack_(stackAllocator, stackCapacity), parseResult_()
2539 stack_(std::move(rhs.stack_)),
2572 stack_ = std::move(rhs.stack_);
2591 stack_.Swap(rhs.stack_);
2625 … RAPIDJSON_ASSERT(stack_.GetSize() == sizeof(ValueType)); // Got one and only one root object
2626 … ValueType::operator=(*stack_.template Pop<ValueType>(1));// Move value from stack to document
2644 stack_.HasAllocator() ? &stack_.GetAllocator() : 0);
2648 … RAPIDJSON_ASSERT(stack_.GetSize() == sizeof(ValueType)); // Got one and only one root object
2649 … ValueType::operator=(*stack_.template Pop<ValueType>(1));// Move value from stack to document
2801 size_t GetStackCapacity() const { return stack_.GetCapacity(); }
2820 bool Null() { new (stack_.template Push<ValueType>()) ValueType(); return true; }
2821 bool Bool(bool b) { new (stack_.template Push<ValueType>()) ValueType(b); return true; }
2822 bool Int(int i) { new (stack_.template Push<ValueType>()) ValueType(i); return true; }
2823 bool Uint(unsigned i) { new (stack_.template Push<ValueType>()) ValueType(i); return true; }
2824 bool Int64(int64_t i) { new (stack_.template Push<ValueType>()) ValueType(i); return true; }
2825 bool Uint64(uint64_t i) { new (stack_.template Push<ValueType>()) ValueType(i); return true; }
2826 bool Double(double d) { new (stack_.template Push<ValueType>()) ValueType(d); return true; }
2830 new (stack_.template Push<ValueType>()) ValueType(str, length, GetAllocator());
2832 new (stack_.template Push<ValueType>()) ValueType(str, length);
2838 new (stack_.template Push<ValueType>()) ValueType(str, length, GetAllocator());
2840 new (stack_.template Push<ValueType>()) ValueType(str, length);
2844 …bool StartObject() { new (stack_.template Push<ValueType>()) ValueType(kObjectType); return true; }
2849 …typename ValueType::Member* members = stack_.template Pop<typename ValueType::Member>(memberCount);
2850 stack_.template Top<ValueType>()->SetObjectRaw(members, memberCount, GetAllocator());
2854 … bool StartArray() { new (stack_.template Push<ValueType>()) ValueType(kArrayType); return true; }
2857 ValueType* elements = stack_.template Pop<ValueType>(elementCount);
2858 stack_.template Top<ValueType>()->SetArrayRaw(elements, elementCount, GetAllocator());
2870 …while (stack_.GetSize() > 0) // Here assumes all elements in stack array are GenericValue (Memb…
2871 (stack_.template Pop<ValueType>(1))->~ValueType();
2873 stack_.Clear();
2874 stack_.ShrinkToFit();
2884 internal::Stack<StackAllocator> stack_;