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 228 of file ImportAUP.cpp.

230{
231 if (lhs.length() != rhsLower.length())
232 return false;
233
234 for (size_t i = 0; i < lhs.length(); ++i)
235 if (std::tolower(lhs[i]) != rhsLower[i])
236 return false;
237
238 return true;
239}

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

Here is the caller graph for this function: