MCPcopy Create free account
hub / github.com/carbonengine/trinity / EqualsCaseInsensitive

Function EqualsCaseInsensitive

shadercompiler/InlineString.h:118–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116};
117
118inline bool EqualsCaseInsensitive( const InlineString& str0, const InlineString& str1 )
119{
120 size_t len0 = str0.end - str0.start;
121 size_t len1 = str1.end - str1.start;
122 if( len0 != len1 )
123 {
124 return false;
125 }
126 return _strnicmp( str0.start, str1.start, len0 ) == 0;
127}
128
129inline bool EqualsCaseInsensitive( const InlineString& str0, const char* str1 )
130{

Callers 3

CompileEffectMethod · 0.85
CompileEffectMethod · 0.85
ParseRtShaderNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected