Lines Matching refs:string2
63 int rsc_strnicmp( const char *string1, const char *string2, size_t count ) in rsc_strnicmp() argument
67 for( i = 0; ( i < count ) && string1[ i ] && string2[ i ] ; i++ ) in rsc_strnicmp()
69 if( tolower( string1[ i ] ) < tolower( string2[ i ] ) ) in rsc_strnicmp()
71 else if( tolower( string1[ i ] ) > tolower( string2[ i ] ) ) in rsc_strnicmp()
76 else if( tolower( string1[ i ] ) < tolower( string2[ i ] ) ) in rsc_strnicmp()
78 else if( tolower( string1[ i ] ) > tolower( string2[ i ] ) ) in rsc_strnicmp()
92 int rsc_stricmp( const char *string1, const char *string2 ){ in rsc_stricmp() argument
95 for( i = 0; string1[ i ] && string2[ i ]; i++ ){ in rsc_stricmp()
96 if( tolower( string1[ i ] ) < tolower( string2[ i ] ) ) in rsc_stricmp()
98 else if( tolower( string1[ i ] ) > tolower( string2[ i ] ) ) in rsc_stricmp()
101 if( tolower( string1[ i ] ) < tolower( string2[ i ] ) ) in rsc_stricmp()
103 else if( tolower( string1[ i ] ) > tolower( string2[ i ] ) ) in rsc_stricmp()