Lines Matching defs:s2
44 * Often, programmers call functions like strcmp(s1,s2), and pass
194 * @param s1 and s2 both point to unichar strings
195 * @return 0 if they match, -1 if s1<s2; 1 if s1>s2
197 PRInt32 nsCRT::strcmp(const PRUnichar* s1, const PRUnichar* s2) {
198 if(s1 && s2) {
201 PRUnichar c2 = *s2++;
210 if (s1) // s2 must have been null
212 if (s2) // s1 must have been null
224 * @param s1 and s2 both point to unichar strings
225 * @return 0 if they match, -1 if s1<s2; 1 if s1>s2
227 PRInt32 nsCRT::strncmp(const PRUnichar* s1, const PRUnichar* s2, PRUint32 n) {
228 if(s1 && s2) {
232 PRUnichar c2 = *s2++;