Home
last modified time | relevance | path

Searched refs:level_stack_ (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dwriter.h65 os_(&os), level_stack_(stackAllocator, levelDepth * sizeof(Level)), hasRoot_(false) {}
69 os_(0), level_stack_(allocator, levelDepth * sizeof(Level)), hasRoot_(false) {}
92 level_stack_.Clear(); in Reset()
100 return hasRoot_ && level_stack_.Empty(); in IsComplete()
136 new (level_stack_.template Push<Level>()) Level(false); in StartObject()
144 RAPIDJSON_ASSERT(level_stack_.GetSize() >= sizeof(Level));
145 RAPIDJSON_ASSERT(!level_stack_.template Top<Level>()->inArray);
146 level_stack_.template Pop<Level>(1);
148 if (level_stack_.Empty()) // end of json text
155 new (level_stack_.template Push<Level>()) Level(true); in StartArray()
[all …]
Dprettywriter.h87 new (Base::level_stack_.template Push<typename Base::Level>()) typename Base::Level(false); in StartObject()
95 RAPIDJSON_ASSERT(Base::level_stack_.GetSize() >= sizeof(typename Base::Level));
96 RAPIDJSON_ASSERT(!Base::level_stack_.template Top<typename Base::Level>()->inArray);
97 bool empty = Base::level_stack_.template Pop<typename Base::Level>(1)->valueCount == 0;
106 if (Base::level_stack_.Empty()) // end of json text
113 new (Base::level_stack_.template Push<typename Base::Level>()) typename Base::Level(true); in StartArray()
119 RAPIDJSON_ASSERT(Base::level_stack_.GetSize() >= sizeof(typename Base::Level));
120 RAPIDJSON_ASSERT(Base::level_stack_.template Top<typename Base::Level>()->inArray);
121 bool empty = Base::level_stack_.template Pop<typename Base::Level>(1)->valueCount == 0;
130 if (Base::level_stack_.Empty()) // end of json text
[all …]