Home
last modified time | relevance | path

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

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dreadertest.cpp449 ParseStringHandler() : str_(0), length_(0), copy_() {} in ParseStringHandler()
450 …~ParseStringHandler() { EXPECT_TRUE(str_ != 0); if (copy_) free(const_cast<typename Encoding::Ch*>… in ~ParseStringHandler()
457 EXPECT_EQ(0, str_); in String()
459 str_ = (typename Encoding::Ch*)malloc((length + 1) * sizeof(typename Encoding::Ch)); in String()
460 …memcpy(const_cast<typename Encoding::Ch*>(str_), str, (length + 1) * sizeof(typename Encoding::Ch)… in String()
463 str_ = str; in String()
469 const typename Encoding::Ch* str_; member
482 EXPECT_EQ(0, StrCmp<Encoding::Ch>(e, h.str_)); \ in TEST()
489 EXPECT_EQ(0, StrCmp<Encoding::Ch>(e, h2.str_)); \ in TEST()
554 EXPECT_EQ(0, memcmp(e, h.str_, h.length_ + 1)); in TEST()
[all …]