Searched refs:stack_ (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
D | stack.h | 35 …ocator, size_t stackCapacity) : allocator_(allocator), ownAllocator_(0), stack_(0), stackTop_(0), … in Stack() 43 stack_(rhs.stack_), in Stack() 50 rhs.stack_ = 0; in Stack() 69 stack_ = rhs.stack_; 76 rhs.stack_ = 0; 88 internal::Swap(stack_, rhs.stack_); in Swap() 94 void Clear() { stackTop_ = stack_; } in Clear() 99 Allocator::Free(stack_); in ShrinkToFit() 100 stack_ = 0; in ShrinkToFit() 135 T* Bottom() { return (T*)stack_; } in Bottom() [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | stringbuffer.h | 39 …GenericStringBuffer(Allocator* allocator = 0, size_t capacity = kDefaultCapacity) : stack_(allocat… in stack_() function 42 GenericStringBuffer(GenericStringBuffer&& rhs) : stack_(std::move(rhs.stack_)) {} in GenericStringBuffer() 45 stack_ = std::move(rhs.stack_); 50 void Put(Ch c) { *stack_.template Push<Ch>() = c; } in Put() 53 void Clear() { stack_.Clear(); } in Clear() 56 *stack_.template Push<Ch>() = '\0'; in ShrinkToFit() 57 stack_.ShrinkToFit(); in ShrinkToFit() 58 stack_.template Pop<Ch>(1); in ShrinkToFit() 60 Ch* Push(size_t count) { return stack_.template Push<Ch>(count); } in Push() 61 void Pop(size_t count) { stack_.template Pop<Ch>(count); } in Pop() [all …]
|
D | memorybuffer.h | 40 …GenericMemoryBuffer(Allocator* allocator = 0, size_t capacity = kDefaultCapacity) : stack_(allocat… in stack_() function 42 void Put(Ch c) { *stack_.template Push<Ch>() = c; } in Put() 45 void Clear() { stack_.Clear(); } in Clear() 46 void ShrinkToFit() { stack_.ShrinkToFit(); } in ShrinkToFit() 47 Ch* Push(size_t count) { return stack_.template Push<Ch>(count); } in Push() 48 void Pop(size_t count) { stack_.template Pop<Ch>(count); } in Pop() 51 return stack_.template Bottom<Ch>(); in GetBuffer() 54 size_t GetSize() const { return stack_.GetSize(); } in GetSize() 57 mutable internal::Stack<Allocator> stack_; member 65 std::memset(memoryBuffer.stack_.Push<char>(n), c, n * sizeof(c)); in PutN()
|
D | document.h | 1786 …GenericValue<Encoding, Allocator>(type), allocator_(allocator), ownAllocator_(0), stack_(stackAll… 1799 … allocator_(allocator), ownAllocator_(0), stack_(stackAllocator, stackCapacity), parseResult_() 1811 stack_(std::move(rhs.stack_)), 1837 stack_ = std::move(rhs.stack_); 1856 stack_.Swap(rhs.stack_); 1891 stack_.HasAllocator() ? &stack_.GetAllocator() : 0); 1895 … RAPIDJSON_ASSERT(stack_.GetSize() == sizeof(ValueType)); // Got one and only one root object 1896 … this->RawAssign(*stack_.template Pop<ValueType>(1)); // Add this-> to prevent issue 13. 1999 size_t GetStackCapacity() const { return stack_.GetCapacity(); } 2017 bool Null() { new (stack_.template Push<ValueType>()) ValueType(); return true; } [all …]
|
D | reader.h | 382 …tor* stackAllocator = 0, size_t stackCapacity = kDefaultStackCapacity) : stack_(stackAllocator, st… in stack_() function 453 void ClearStack() { stack_.Clear(); } in ClearStack() 617 StackStream(internal::Stack<StackAllocator>& stack) : stack_(stack), length_(0) {} in StackStream() 619 *stack_.template Push<Ch>() = c; in Put() 624 return stack_.template Pop<Ch>(length_); in Pop() 631 internal::Stack<StackAllocator>& stack_; variable 652 StackStream<typename TargetEncoding::Ch> stackStream(stack_); 752 …der, InputStream& is) : NumberStream<InputStream, false>(reader, is), stackStream(reader.stack_) {} in NumberStream() 1259 *stack_.template Push<SizeType>(1) = n; in Transit() 1261 *stack_.template Push<SizeType>(1) = 0; in Transit() [all …]
|