Searched refs:c_string (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12.1/contrib/googletest/googletest/samples/ |
| H A D | sample2_unittest.cc | 69 EXPECT_STREQ(NULL, s.c_string()); in TEST() 79 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString)); in TEST() 88 EXPECT_EQ(0, strcmp(s2.c_string(), kHelloString)); in TEST() 96 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString)); in TEST() 100 s.Set(s.c_string()); in TEST() 101 EXPECT_EQ(0, strcmp(s.c_string(), kHelloString)); in TEST() 105 EXPECT_STREQ(NULL, s.c_string()); in TEST()
|
| H A D | sample2.h | 72 const char* c_string() const { return c_string_; } in c_string() function 79 void Set(const char* c_string);
|
| /freebsd-12.1/contrib/googletest/googletest/docs/ |
| H A D | primer.md | 195 that a C string is `NULL`, use `ASSERT_STREQ(c_string, NULL)`. Consider use 196 `ASSERT_EQ(c_string, nullptr)` if c++11 is supported. To compare two `string`
|
| /freebsd-12.1/contrib/libstdc++/include/ext/ |
| H A D | rope | 2366 insert(const iterator& __p, const _CharT* c_string) 2368 insert(__p.index(), c_string);
|