Searched refs:json_ (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | filestreamtest.cpp | 24 FileStreamTest() : filename_(), json_(), length_() {} in FileStreamTest() 47 json_ = (char*)malloc(length_ + 1); in SetUp() 48 size_t readLength = fread(json_, 1, length_, fp); in SetUp() 49 json_[readLength] = '\0'; in SetUp() 54 free(json_); in TearDown() 55 json_ = 0; in TearDown() 64 char *json_; member in FileStreamTest 75 EXPECT_EQ(json_[i], s.Peek()); in TEST_F() 76 EXPECT_EQ(json_[i], s.Peek()); // 2nd time should be the same in TEST_F() 77 EXPECT_EQ(json_[i], s.Take()); in TEST_F() [all …]
|
D | encodedstreamtest.cpp | 27 EncodedStreamTest() : json_(), length_() {} in EncodedStreamTest() 30 json_ = ReadFile("utf8.json", true, &length_); in SetUp() 34 free(json_); in TearDown() 35 json_ = 0; in TearDown() 88 StringStream s(json_); in TestEncodedInputStream() 106 StringStream s(json_); in TestEncodedInputStream() 129 StringStream s(json_); in TestAutoUTFInputStream() 147 StringStream s(json_); in TestAutoUTFInputStream() 170 StringStream s(json_); in TestEncodedOutputStream() 185 StringStream s(json_); in TestEncodedOutputStream() [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
D | rapidjsontest.cpp | 48 EXPECT_FALSE(doc_.Parse(json_).IsNull()); in SetUp() 67 memcpy(temp_, json_, length_ + 1); in TEST_F() 77 memcpy(temp_, json_, length_ + 1); in TEST_F() 87 StringStream s(json_); in TEST_F() 96 StringStream s(json_); in TEST_F() 105 StringStream s(json_); in TEST_F() 114 memcpy(temp_, json_, length_ + 1); in TEST_F() 124 StringStream s(json_); in TEST_F() 133 memcpy(temp_, json_, length_ + 1); in TEST_F() 142 memcpy(temp_, json_, length_ + 1); in TEST_F() [all …]
|
D | perftest.h | 65 PerfTest() : filename_(), json_(), length_(), whitespace_(), whitespace_length_() {} in PerfTest() 87 json_ = (char*)malloc(length_ + 1); in SetUp() 88 ASSERT_EQ(length_, fread(json_, 1, length_, fp)); in SetUp() 89 json_[length_] = '\0'; in SetUp() 109 free(json_); in TearDown() 111 json_ = 0; in TearDown() 121 char *json_; variable
|
D | platformtest.cpp | 44 memcpy(temp_, json_, length_); in SetUp() 72 size_t l = strlen(json_); in TEST_F() 79 EXPECT_EQ(0, memcmp(temp_, json_, length_)); in TEST_F()
|
D | misctest.cpp | 78 EXPECT_TRUE(IsUTF8((unsigned char*)json_)); in TEST_F()
|