Lines Matching refs:NULL

89   // is NULL.
92 if (stream_ != NULL)
104 bool IsInterested() const { return stream_ != NULL; }
171 // that 'listener' is not NULL. This helps to simplify a matcher's
175 // listener->stream() may be NULL.
230 DummyMatchResultListener() : MatchResultListener(NULL) {}
680 if (explanation != "" && os != NULL) {
697 // 'listener' must not be NULL.
976 // pointer that is NULL.
985 return GetRawPointer(p) == NULL;
989 void DescribeTo(::std::ostream* os) const { *os << "is NULL"; }
991 *os << "isn't NULL";
996 // pointer that is not NULL.
1005 return GetRawPointer(p) != NULL;
1009 void DescribeTo(::std::ostream* os) const { *os << "isn't NULL"; }
1011 *os << "is NULL";
1139 if (s == NULL) {
1199 return s != NULL && MatchAndExplain(StringType(s), listener);
1246 return s != NULL && MatchAndExplain(StringType(s), listener);
1292 return s != NULL && MatchAndExplain(StringType(s), listener);
1338 return s != NULL && MatchAndExplain(internal::string(s), listener);
2083 if (GetRawPointer(pointer) == NULL)
2104 // If To is a pointer and the cast fails, the inner matcher will receive NULL.
2170 if (to == NULL) {
2217 if (p == NULL)
2288 if (p == NULL)
2325 GTEST_CHECK_(f != NULL)
2326 << "NULL function pointer is passed into ResultOf().";
2559 if (os != NULL) {
3794 // Creates a polymorphic matcher that matches any NULL pointer.
3799 // Creates a polymorphic matcher that matches any non-NULL pointer.
3800 // This is convenient as Not(NULL) doesn't compile (the compiler
3880 // If To is a pointer and the cast fails, the inner matcher will receive NULL.