| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| strtok_r.c | 45 strtok_r(char *s1, const char *s2, char **lasts) 49 if (s1 == NULL) 50 s1 = *lasts; 51 while(*s1 && strchr(s2, *s1)) 52 ++s1; 53 if(*s1 == '\0') 55 ret = s1; 56 while(*s1 && !strchr(s2, *s1)) [all...] |
| strcasecmp.c | 46 strcasecmp(const char *s1, const char *s2) 48 while(toupper((unsigned char)*s1) == toupper((unsigned char)*s2)) { 49 if(*s1 == '\0') 51 s1++; 54 return toupper((unsigned char)*s1) - toupper((unsigned char)*s2);
|
| strncasecmp.c | 45 strncasecmp(const char *s1, const char *s2, size_t n) 48 && toupper((unsigned char)*s1) == toupper((unsigned char)*s2)) 50 if(*s1 == '\0') 52 s1++; 58 return toupper((unsigned char)*s1) - toupper((unsigned char)*s2);
|
| /src/external/bsd/openpam/dist/lib/libpam/ |
| openpam_strlcmp.h | 36 /* like strcmp(3), but verifies that the entirety of s1 was matched */ 38 strlcmp(const char *s1, const char *s2, size_t len) 41 for (; len && *s1 && *s2; --len, ++s1, ++s2) 42 if (*s1 != *s2) 43 return ((unsigned char)*s1 - (unsigned char)*s2); 44 return ((unsigned char)*s1);
|
| /src/bin/sh/ |
| mystring.h | 45 #define equal(s1, s2) (strcmp(s1, s2) == 0) 46 #define scopy(s1, s2) ((void)strcpy(s2, s1))
|
| /src/lib/libc/string/ |
| Lint_strcmp.c | 12 strcmp(const char *s1, const char *s2)
|
| wcscmp.c | 52 wcscmp(const wchar_t *s1, const wchar_t *s2) 55 _DIAGASSERT(s1 != NULL); 58 while (*s1 == *s2++) 59 if (*s1++ == 0) 62 return (*(const __nbrune_t *)s1 - *(const __nbrune_t *)--s2);
|
| /src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
| fstrcmp.h | 23 /* Fuzzy compare of S1 and S2. Return a measure for the similarity of S1 24 and S1. The higher the result, the more similar the strings are. */ 25 extern double fstrcmp (const char *s1, const char *s2);
|
| /src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/ |
| fstrcmp.h | 23 /* Fuzzy compare of S1 and S2. Return a measure for the similarity of S1 24 and S1. The higher the result, the more similar the strings are. */ 25 extern double fstrcmp (const char *s1, const char *s2);
|
| /src/external/gpl2/gettext/dist/gnulib-local/lib/ |
| fstrcmp.h | 23 /* Fuzzy compare of S1 and S2. Return a measure for the similarity of S1 24 and S1. The higher the result, the more similar the strings are. */ 25 extern double fstrcmp (const char *s1, const char *s2);
|
| /src/external/bsd/ntp/dist/sntp/libpkgver/ |
| colcomp.c | 39 colcomp (s1, s2) 40 register char *s1; 45 while (*s1 && *s2) 47 if ( MyIsDigit(*s1) 50 hilo = (*s1 < *s2) ? -1 : (*s1 > *s2) ? 1 : 0; 51 ++s1; 53 while (MyIsDigit(*s1) 57 hilo = (*s1 < *s2) ? -1 : (*s1 > *s2) ? 1 : 0 [all...] |
| /src/external/gpl3/binutils/dist/libiberty/ |
| memcmp.c | 25 register const unsigned char *s1 = (const unsigned char*)str1; local 30 if (*s1++ != *s2++) 31 return s1[-1] < s2[-1] ? -1 : 1;
|
| memmove.c | 22 memmove (void *s1, const void *s2, size_t n) 24 bcopy (s2, s1, n); 25 return s1;
|
| /src/external/gpl3/binutils.old/dist/libiberty/ |
| memcmp.c | 25 register const unsigned char *s1 = (const unsigned char*)str1; local 30 if (*s1++ != *s2++) 31 return s1[-1] < s2[-1] ? -1 : 1;
|
| memmove.c | 22 memmove (void *s1, const void *s2, size_t n) 24 bcopy (s2, s1, n); 25 return s1;
|
| /src/external/gpl3/gcc/dist/libgcc/ |
| memcmp.c | 7 const unsigned char *s1 = str1; local 12 if (*s1++ != *s2++) 13 return s1[-1] < s2[-1] ? -1 : 1;
|
| /src/external/gpl3/gcc/dist/libiberty/ |
| memcmp.c | 25 register const unsigned char *s1 = (const unsigned char*)str1; local 30 if (*s1++ != *s2++) 31 return s1[-1] < s2[-1] ? -1 : 1;
|
| memmove.c | 22 memmove (void *s1, const void *s2, size_t n) 24 bcopy (s2, s1, n); 25 return s1;
|
| /src/external/gpl3/gcc.old/dist/libgcc/ |
| memcmp.c | 7 const unsigned char *s1 = str1; local 12 if (*s1++ != *s2++) 13 return s1[-1] < s2[-1] ? -1 : 1;
|
| /src/external/gpl3/gcc.old/dist/libiberty/ |
| memcmp.c | 25 register const unsigned char *s1 = (const unsigned char*)str1; local 30 if (*s1++ != *s2++) 31 return s1[-1] < s2[-1] ? -1 : 1;
|
| memmove.c | 22 memmove (PTR s1, const PTR s2, size_t n) 24 bcopy (s2, s1, n); 25 return s1;
|
| /src/external/gpl3/gdb/dist/libiberty/ |
| memcmp.c | 25 register const unsigned char *s1 = (const unsigned char*)str1; local 30 if (*s1++ != *s2++) 31 return s1[-1] < s2[-1] ? -1 : 1;
|
| memmove.c | 22 memmove (void *s1, const void *s2, size_t n) 24 bcopy (s2, s1, n); 25 return s1;
|
| /src/external/gpl3/gdb.old/dist/libiberty/ |
| memcmp.c | 25 register const unsigned char *s1 = (const unsigned char*)str1; local 30 if (*s1++ != *s2++) 31 return s1[-1] < s2[-1] ? -1 : 1;
|
| memmove.c | 22 memmove (void *s1, const void *s2, size_t n) 24 bcopy (s2, s1, n); 25 return s1;
|