Searched refs:str2 (Results 1 – 2 of 2) sorted by relevance
51 static bool is_end_with(const char * str1, const char * str2);708 static bool is_end_with(const char * str1, const char * str2) in is_end_with() argument710 if(str1 == NULL || str2 == NULL) in is_end_with()714 size_t len2 = lv_strlen(str2); in is_end_with()719 if(str2[len2 - 1] != str1[len1 - 1]) in is_end_with()
2475 const Ch* const str2 = rhs.GetString();2476 if(str1 == str2) { return true; } // fast path for constant string2478 return (std::memcmp(str1, str2, sizeof(Ch) * len1) == 0);