Searched refs:GetSize (Results 1 – 13 of 13) sorted by relevance
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | stringbuffertest.cpp | 23 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 …]
|
D | documenttest.cpp | 152 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()
|
D | encodedstreamtest.cpp | 191 EXPECT_TRUE(CompareBufferFile(mb.GetBuffer(), mb.GetSize(), expectedFilename)); in TestEncodedOutputStream() 225 EXPECT_TRUE(CompareBufferFile(mb.GetBuffer(), mb.GetSize(), expectedFilename)); in TestAutoUTFOutputStream()
|
D | namespacetest.cpp | 58 EXPECT_EQ(sizeof(json)-1, buffer.GetSize()); in TEST()
|
D | writertest.cpp | 32 EXPECT_EQ(77u, buffer.GetSize()); in TEST()
|
D | pointertest.cpp | 424 Pointer p2(s2.GetString(), s2.GetSize()); in TEST()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
D | stack.h | 105 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/ |
D | prettywriter.h | 95 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()
|
D | memorybuffer.h | 54 size_t GetSize() const { return stack_.GetSize(); } in GetSize() function
|
D | stringbuffer.h | 71 size_t GetSize() const { return stack_.GetSize(); } in GetSize() function
|
D | writer.h | 144 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()
|
D | document.h | 1895 … 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/ |
D | misctest.cpp | 801 length += sb.GetSize(); in itoa_Writer_StringBuffer() 868 length += sb.GetSize(); in itoa64_Writer_StringBuffer()
|