unrarsrc  6.1.7
About: unrar extracts, views and tests the contents of archives created with the RAR archiver.
  Fossies Dox: unrarsrc-6.1.7.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

match.cpp File Reference
#include "rar.hpp"
Include dependency graph for match.cpp:

Go to the source code of this file.

Functions

static bool match (const wchar *pattern, const wchar *string, bool ForceCase)
 
static int mwcsicompc (const wchar *Str1, const wchar *Str2, bool ForceCase)
 
static int mwcsnicompc (const wchar *Str1, const wchar *Str2, size_t N, bool ForceCase)
 
uint touppercw (uint ch, bool ForceCase)
 
bool CmpName (const wchar *Wildcard, const wchar *Name, int CmpMode)
 

Function Documentation

◆ CmpName()

◆ match()

bool match ( const wchar pattern,
const wchar string,
bool  ForceCase 
)
static

Definition at line 79 of file match.cpp.

References match(), mwcsicompc(), and touppercw().

Referenced by CmpName(), and match().

◆ mwcsicompc()

int mwcsicompc ( const wchar Str1,
const wchar Str2,
bool  ForceCase 
)
static

Definition at line 130 of file match.cpp.

References wcsicompc().

Referenced by CmpName(), and match().

◆ mwcsnicompc()

int mwcsnicompc ( const wchar Str1,
const wchar Str2,
size_t  N,
bool  ForceCase 
)
static

Definition at line 138 of file match.cpp.

References wcsnicomp().

Referenced by CmpName().

◆ touppercw()

uint touppercw ( uint  ch,
bool  ForceCase 
)
inline

Definition at line 7 of file match.cpp.

References toupperw().

Referenced by match().