Lines Matching refs:s2
64 NJ_INT16 nj_strcmp(NJ_CHAR *s1, NJ_CHAR *s2) { in nj_strcmp() argument
66 while (*s1 == *s2) { in nj_strcmp()
71 s2++; in nj_strcmp()
73 return NJ_CHAR_DIFF(s1, s2); in nj_strcmp()
76 NJ_INT16 nj_strncmp(NJ_CHAR *s1, NJ_CHAR *s2, NJ_UINT16 n) { in nj_strncmp() argument
79 if (*s1 != *s2++) { in nj_strncmp()
80 return NJ_CHAR_DIFF(s1, (s2 - 1)); in nj_strncmp()
102 NJ_INT16 nj_charncmp(NJ_CHAR *s1, NJ_CHAR *s2, NJ_UINT16 n) { in nj_charncmp() argument
108 if (*s1 != *s2) { in nj_charncmp()
109 return NJ_CHAR_DIFF(s1, s2); in nj_charncmp()
115 s2++; in nj_charncmp()