Lines Matching defs:lhs
894 bool String::CStringEquals(const char * lhs, const char * rhs) {
895 if ( lhs == NULL ) return rhs == NULL;
899 return strcmp(lhs, rhs) == 0;
1394 const FloatingPoint<RawType> lhs(val1), rhs(val2);
1395 if (lhs.AlmostEquals(rhs)) {
1439 BiggestInt lhs,
1441 if (lhs == rhs) {
1447 FormatForComparisonFailureMessage(lhs, rhs),
1448 FormatForComparisonFailureMessage(rhs, lhs),
1489 const char* lhs,
1491 if (String::CStringEquals(lhs, rhs)) {
1497 PrintToString(lhs),
1505 const char* lhs,
1507 if (String::CaseInsensitiveCStringEquals(lhs, rhs)) {
1513 PrintToString(lhs),
1860 bool String::WideCStringEquals(const wchar_t * lhs, const wchar_t * rhs) {
1861 if (lhs == NULL) return rhs == NULL;
1865 return wcscmp(lhs, rhs) == 0;
1871 const wchar_t* lhs,
1873 if (String::WideCStringEquals(lhs, rhs)) {
1879 PrintToString(lhs),
1905 bool String::CaseInsensitiveCStringEquals(const char * lhs, const char * rhs) {
1906 if (lhs == NULL)
1910 return posix::StrCaseCmp(lhs, rhs) == 0;
1925 bool String::CaseInsensitiveWideCStringEquals(const wchar_t* lhs,
1927 if (lhs == NULL) return rhs == NULL;
1932 return _wcsicmp(lhs, rhs) == 0;
1934 return wcscasecmp(lhs, rhs) == 0;
1940 left = towlower(*lhs++);