MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / toupperw

Function toupperw

Libraries/unrar/unicode.cpp:522–533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520
521
522int toupperw(int ch)
523{
524#if defined(_WIN_ALL)
525 // CharUpper is more reliable than towupper in Windows, which seems to be
526 // C locale dependent even in Unicode version. For example, towupper failed
527 // to convert lowercase Russian characters. Use 0xffff mask to prevent crash
528 // if value larger than 0xffff is passed to this function.
529 return (int)(INT_PTR)CharUpper((wchar *)(INT_PTR)(ch&0xffff));
530#else
531 return towupper(ch);
532#endif
533}
534
535
536int tolowerw(int ch)

Callers 12

etoupperwFunction · 0.85
ParseArgMethod · 0.85
ParseDoneMethod · 0.85
ReadConfigMethod · 0.85
ProcessSwitchMethod · 0.85
GetExclAttrMethod · 0.85
SetTimeFiltersMethod · 0.85
SetStoreTimeModeMethod · 0.85
AskFunction · 0.85
touppercwFunction · 0.85
GenArcNameFunction · 0.85
ExtrPrepareNameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected