Lines Matching defs:s1
737 dtrace_strncmp(char *s1, char *s2, size_t limit)
742 if (s1 == s2 || limit == 0)
748 if (s1 == NULL)
751 c1 = dtrace_load8((uintptr_t)s1++);
820 uint8_t *s1 = dst;
823 if (s1 <= s2) {
825 *s1++ = dtrace_load8((uintptr_t)s2++);
829 s1 += len;
832 *--s1 = dtrace_load8((uintptr_t)--s2);
849 uint8_t *s1 = dst, c;
853 *s1++ = c = dtrace_load8((uintptr_t)s2++);
876 * Compare s1 to s2 using safe memory accesses. The s1 data is assumed to be
881 dtrace_bcmp(const void *s1, const void *s2, size_t len)
887 if (s1 == s2)
890 if (s1 == NULL || s2 == NULL)
893 if (s1 != s2 && len != 0) {
894 const uint8_t *ps1 = s1;
3870 uintptr_t s1 = tupregs[0].dttk_value;
3888 if ((d[i++] = dtrace_load8(s1++)) == '\0') {
6430 char s1, c;
6441 s1 = *s++;
6447 return (s1 == '\0');
6454 if (s1 == '\0')
6473 if (s1 < lc || s1 > c)
6477 } else if (lc <= s1 && s1 <= c)
6486 if (s1 != c)
6490 } else if (s1 == c)
6510 if (c != s1)
6515 if (s1 != '\0')