/freebsd-10-stable/sys/boot/arm/at91/libat91/ |
H A D | strcmp.c | 32 strcmp(const char *s1, const char *s2) argument 34 for (; *s1 == *s2 && *s1; s1++, s2++); 35 return (unsigned char)*s1 - (unsigned char)*s2;
|
/freebsd-10-stable/contrib/openpam/lib/libpam/ |
H A D | openpam_strlcmp.h | 38 strlcmp(const char *s1, const char *s2, size_t len) argument 41 for (; len && *s1 && *s2; --len, ++s1, ++s2) 42 if (*s1 != *s2) 43 return ((unsigned char)*s1 - (unsigned char)*s2);
|
/freebsd-10-stable/sys/libkern/ |
H A D | strcmp.c | 42 strcmp(s1, s2) 43 const char *s1, *s2; 45 while (*s1 == *s2++) 48 return (*(const unsigned char *)s1 - *(const unsigned char *)(s2 - 1));
|
H A D | strncmp.c | 36 strncmp(const char *s1, const char *s2, size_t n) argument 42 if (*s1 != *s2++) 44 *(const unsigned char *)(s2 - 1));
|
/freebsd-10-stable/lib/libc/locale/ |
H A D | collcmp.c | 45 char s1[2], s2[2]; local 49 s2[0] = c2; 50 s2[1] = '\0'; 51 return (strcoll(s1, s2)); 56 wchar_t s1[2], s2[2]; local 60 s2[0] = c2; 61 s2[1] = L'\0'; 62 return (wcscoll(s1, s2));
|
/freebsd-10-stable/contrib/sendmail/libsm/ |
H A D | t-strrevcmp.c | 24 char *s2; local 29 s2 = "equal"; 30 SM_TEST(sm_strrevcmp(s1, s2) == 0); 33 s2 = "qual"; 34 SM_TEST(sm_strrevcmp(s1, s2) > 0); 37 s2 = "equal"; 38 SM_TEST(sm_strrevcmp(s1, s2) < 0); 41 s2 = "equal"; 42 SM_TEST(sm_strrevcmp(s1, s2) < 0); 45 s2 [all...] |
/freebsd-10-stable/contrib/ntp/sntp/libpkgver/ |
H A D | colcomp.c | 37 colcomp (s1, s2) 39 register char *s2; 43 while (*s1 && *s2) 46 && MyIsDigit(*s2)) 48 hilo = (*s1 < *s2) ? -1 : (*s1 > *s2) ? 1 : 0; 50 ++s2; 52 && MyIsDigit(*s2)) 55 hilo = (*s1 < *s2) ? -1 : (*s1 > *s2) [all...] |
/freebsd-10-stable/contrib/binutils/libiberty/ |
H A D | memcmp.c | 25 register const unsigned char *s2 = (const unsigned char*)str2; local 29 if (*s1++ != *s2++) 30 return s1[-1] < s2[-1] ? -1 : 1;
|
H A D | bcmp.c | 23 bcmp (const void *s1, const void *s2, size_t count) argument 25 return memcmp (s1, s2, count);
|
H A D | filename_cmp.c | 32 @deftypefn Extension int filename_cmp (const char *@var{s1}, const char *@var{s2}) 34 Return zero if the two file names @var{s1} and @var{s2} are equivalent. 37 is less than @var{s2}, or a positive value if @var{s2} is greater than 38 @var{s2}. 51 filename_cmp (const char *s1, const char *s2) argument 54 return strcmp(s1, s2); 59 int c2 = TOLOWER (*s2); 74 s2++;
|
H A D | strstr.c | 30 strstr (const char *s1, const char *s2) argument 33 const size_t len = strlen (s2); 35 for (; (p = strchr (p, *s2)) != 0; p++) 37 if (strncmp (p, s2, len) == 0)
|
/freebsd-10-stable/contrib/gcc/config/ |
H A D | memcmp.c | 8 const unsigned char *s2 = str2; local 12 if (*s1++ != *s2++) 13 return s1[-1] < s2[-1] ? -1 : 1;
|
/freebsd-10-stable/contrib/gcclibs/libiberty/ |
H A D | memcmp.c | 25 register const unsigned char *s2 = (const unsigned char*)str2; local 29 if (*s1++ != *s2++) 30 return s1[-1] < s2[-1] ? -1 : 1;
|
H A D | bcmp.c | 23 bcmp (const void *s1, const void *s2, size_t count) argument 25 return memcmp (s1, s2, count);
|
H A D | strstr.c | 30 strstr (const char *s1, const char *s2) argument 33 const size_t len = strlen (s2); 35 for (; (p = strchr (p, *s2)) != 0; p++) 37 if (strncmp (p, s2, len) == 0)
|
/freebsd-10-stable/lib/libc/string/ |
H A D | strcmp.c | 45 strcmp(const char *s1, const char *s2) argument 47 while (*s1 == *s2++) 50 return (*(const unsigned char *)s1 - *(const unsigned char *)(s2 - 1));
|
H A D | wcscmp.c | 48 wcscmp(const wchar_t *s1, const wchar_t *s2) argument 51 while (*s1 == *s2++) 55 return (*(const unsigned int *)s1 - *(const unsigned int *)--s2);
|
H A D | wcscasecmp.c | 34 wcscasecmp(const wchar_t *s1, const wchar_t *s2) argument 38 for (; *s1; s1++, s2++) { 40 c2 = towlower(*s2); 44 return (-*s2);
|
H A D | wmemcmp.c | 40 wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n) argument 45 if (*s1 != *s2) { 47 return *s1 > *s2 ? 1 : -1; 50 s2++;
|
/freebsd-10-stable/bin/sh/ |
H A D | mystring.h | 42 #define equal(s1, s2) (strcmp(s1, s2) == 0)
|
/freebsd-10-stable/contrib/diff/lib/ |
H A D | strcase.h | 27 extern int strcasecmp (const char *s1, const char *s2); 33 extern int strncasecmp (const char *s1, const char *s2, size_t n);
|
/freebsd-10-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | adler32.c | 72 apr_uint32_t s2 = checksum >> 16; local 80 s1 += input[0]; s2 += s1; 81 s1 += input[1]; s2 += s1; 82 s1 += input[2]; s2 += s1; 83 s1 += input[3]; s2 += s1; 84 s1 += input[4]; s2 += s1; 85 s1 += input[5]; s2 += s1; 86 s1 += input[6]; s2 += s1; 87 s1 += input[7]; s2 += s1; 96 s2 [all...] |
/freebsd-10-stable/crypto/heimdal/lib/roken/ |
H A D | strcasecmp.c | 44 strcasecmp(const char *s1, const char *s2) argument 46 while(toupper((unsigned char)*s1) == toupper((unsigned char)*s2)) { 50 s2++; 52 return toupper((unsigned char)*s1) - toupper((unsigned char)*s2);
|
H A D | strncasecmp.c | 43 strncasecmp(const char *s1, const char *s2, size_t n) argument 46 && toupper((unsigned char)*s1) == toupper((unsigned char)*s2)) 51 s2++; 56 return toupper((unsigned char)*s1) - toupper((unsigned char)*s2);
|
/freebsd-10-stable/usr.bin/sort/ |
H A D | vsort.h | 35 int vcmp(struct bwstring *s1, struct bwstring *s2);
|