Home
last modified time | relevance | path

Searched refs:GetSize (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dstringbuffertest.cpp23 EXPECT_EQ(0u, buffer.GetSize()); in TEST()
31 EXPECT_EQ(1u, buffer.GetSize()); in TEST()
42 EXPECT_EQ(0u, buffer.GetSize()); in TEST()
50 EXPECT_EQ(5u, buffer.GetSize()); in TEST()
54 EXPECT_EQ(5u + 65536u, buffer.GetSize()); in TEST()
66 EXPECT_EQ(2u, buffer.GetSize()); in TEST()
116 EXPECT_EQ(4u, x.GetSize()); in TEST()
121 EXPECT_EQ(0u, x.GetSize()); in TEST()
122 EXPECT_EQ(4u, y.GetSize()); in TEST()
127 EXPECT_EQ(0u, y.GetSize()); in TEST()
[all …]
Ddocumenttest.cpp152 EXPECT_EQ(bos.GetSize(), bos2.GetSize()); in TEST()
153 EXPECT_EQ(0, memcmp(bos.GetString(), bos2.GetString(), bos2.GetSize())); in TEST()
191 EXPECT_EQ(bos.GetSize(), bos2.GetSize()); in TEST()
192 EXPECT_EQ(0, memcmp(bos.GetString(), bos2.GetString(), bos2.GetSize())); in TEST()
Dencodedstreamtest.cpp191 EXPECT_TRUE(CompareBufferFile(mb.GetBuffer(), mb.GetSize(), expectedFilename)); in TestEncodedOutputStream()
225 EXPECT_TRUE(CompareBufferFile(mb.GetBuffer(), mb.GetSize(), expectedFilename)); in TestAutoUTFOutputStream()
Dnamespacetest.cpp58 EXPECT_EQ(sizeof(json)-1, buffer.GetSize()); in TEST()
Dwritertest.cpp32 EXPECT_EQ(77u, buffer.GetSize()); in TEST()
Dpointertest.cpp424 Pointer p2(s2.GetString(), s2.GetSize()); in TEST()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dstack.h105 Resize(GetSize()); in ShrinkToFit()
123 RAPIDJSON_ASSERT(GetSize() >= count * sizeof(T)); in Pop()
130 RAPIDJSON_ASSERT(GetSize() >= sizeof(T)); in Top()
146 size_t GetSize() const { return static_cast<size_t>(stackTop_ - stack_); } in GetSize() function
162 size_t newSize = GetSize() + sizeof(T) * count; in Expand()
170 const size_t size = GetSize(); // Backup the current size in Resize()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dprettywriter.h95 RAPIDJSON_ASSERT(Base::level_stack_.GetSize() >= sizeof(typename Base::Level));
119 RAPIDJSON_ASSERT(Base::level_stack_.GetSize() >= sizeof(typename Base::Level));
148 if (Base::level_stack_.GetSize() != 0) { // this value is not at root in PrettyPrefix()
188 … size_t count = (Base::level_stack_.GetSize() / sizeof(typename Base::Level)) * indentCharCount_; in WriteIndent()
Dmemorybuffer.h54 size_t GetSize() const { return stack_.GetSize(); } in GetSize() function
Dstringbuffer.h71 size_t GetSize() const { return stack_.GetSize(); } in GetSize() function
Dwriter.h144 RAPIDJSON_ASSERT(level_stack_.GetSize() >= sizeof(Level));
161 RAPIDJSON_ASSERT(level_stack_.GetSize() >= sizeof(Level));
319 if (level_stack_.GetSize() != 0) { // this value is not at root in Prefix()
Ddocument.h1895 … RAPIDJSON_ASSERT(stack_.GetSize() == sizeof(ValueType)); // Got one and only one root object
2059 …while (stack_.GetSize() > 0) // Here assumes all elements in stack array are GenericValue (Memb…
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Dmisctest.cpp801 length += sb.GetSize(); in itoa_Writer_StringBuffer()
868 length += sb.GetSize(); in itoa64_Writer_StringBuffer()