Audacity 3.2.0
Functions
anonymous_namespace{ImportAUP.cpp} Namespace Reference

Functions

bool CaseInsensitiveEquals (const std::string_view &lhs, const std::string_view &rhsLower)
 

Function Documentation

◆ CaseInsensitiveEquals()

bool anonymous_namespace{ImportAUP.cpp}::CaseInsensitiveEquals ( const std::string_view &  lhs,
const std::string_view &  rhsLower 
)

Definition at line 222 of file ImportAUP.cpp.

224{
225 if (lhs.length() != rhsLower.length())
226 return false;
227
228 for (size_t i = 0; i < lhs.length(); ++i)
229 if (std::tolower(lhs[i]) != rhsLower[i])
230 return false;
231
232 return true;
233}

Referenced by AUPImportFileHandle::HandlePCMAliasBlockFile(), and AUPImportFileHandle::HandleSimpleBlockFile().

Here is the caller graph for this function: