Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/googletest/googletest/samples/
H A Dsample2_unittest.cc69 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 Dsample2.h72 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 Dprimer.md195 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 Drope2366 insert(const iterator& __p, const _CharT* c_string)
2368 insert(__p.index(), c_string);