Searched refs:stack_ (Results 1 – 6 of 6) sorted by relevance
/lvgl-latest/src/libs/thorvg/rapidjson/ |
D | stringbuffer.h | 45 …GenericStringBuffer(Allocator* allocator = 0, size_t capacity = kDefaultCapacity) : stack_(allocat… in stack_() function 48 GenericStringBuffer(GenericStringBuffer&& rhs) : stack_(std::move(rhs.stack_)) {} in GenericStringBuffer() 51 stack_ = std::move(rhs.stack_); 56 void Put(Ch c) { *stack_.template Push<Ch>() = c; } in Put() 57 void PutUnsafe(Ch c) { *stack_.template PushUnsafe<Ch>() = c; } in PutUnsafe() 60 void Clear() { stack_.Clear(); } in Clear() 63 *stack_.template Push<Ch>() = '\0'; in ShrinkToFit() 64 stack_.ShrinkToFit(); in ShrinkToFit() 65 stack_.template Pop<Ch>(1); in ShrinkToFit() 68 void Reserve(size_t count) { stack_.template Reserve<Ch>(count); } in Reserve() [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 | 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 [all …]
|
D | reader.h | 548 stack_(stackAllocator, stackCapacity), parseResult_(), state_(IterativeParsingStartState) {} in stack_() function 664 stack_.Clear(); in IterativeParseNext() 698 void ClearStack() { stack_.Clear(); } in ClearStack() 932 StackStream(internal::Stack<StackAllocator>& stack) : stack_(stack), length_(0) {} in StackStream() 934 *stack_.template Push<Ch>() = c; in Put() 940 return stack_.template Push<Ch>(count); in Push() 946 return stack_.template Pop<Ch>(length_); in Pop() 953 internal::Stack<StackAllocator>& stack_; variable 977 StackStream<typename TargetEncoding::Ch> stackStream(stack_); 1436 …umberStream(GenericReader& reader, InputStream& s) : Base(reader, s), stackStream(reader.stack_) {} in NumberStream() [all …]
|
D | schema.h | 340 …Hasher(Allocator* allocator = 0, size_t stackCapacity = kDefaultSize) : stack_(allocator, stackCap… in stack_() function 370 uint64_t* kv = stack_.template Pop<uint64_t>(memberCount * 2); in EndObject() 373 *stack_.template Push<uint64_t>() = h; in EndObject() 380 uint64_t* e = stack_.template Pop<uint64_t>(elementCount); in EndArray() 383 *stack_.template Push<uint64_t>() = h; in EndArray() 387 bool IsValid() const { return stack_.GetSize() == sizeof(uint64_t); } in IsValid() 391 return *stack_.template Top<uint64_t>(); in GetHashCode() 414 *stack_.template Push<uint64_t>() = h; in WriteBuffer() 425 Stack<Allocator> stack_; variable
|
/lvgl-latest/src/libs/thorvg/rapidjson/internal/ |
D | stack.h | 41 …ocator, size_t stackCapacity) : allocator_(allocator), ownAllocator_(0), stack_(0), stackTop_(0), … in Stack() 48 stack_(rhs.stack_), in Stack() 55 rhs.stack_ = 0; in Stack() 74 stack_ = rhs.stack_; 81 rhs.stack_ = 0; 93 internal::Swap(stack_, rhs.stack_); in Swap() 99 void Clear() { stackTop_ = stack_; } in Clear() 104 Allocator::Free(stack_); // NOLINT (+clang-analyzer-unix.Malloc) in ShrinkToFit() 105 stack_ = 0; in ShrinkToFit() 163 T* Bottom() { return reinterpret_cast<T*>(stack_); } in Bottom() [all …]
|