/macosx-10.10/xnu-2782.1.97/libsyscall/wrappers/string/ |
H A D | strcmp.c | 40 strcmp(const char *s1, const char *s2) argument 42 while (*s1 == *s2++) 43 if (*s1++ == '\0') 45 return (*(const unsigned char *)s1 - *(const unsigned char *)(s2 - 1));
|
/macosx-10.10/Heimdal-398.1.2/lib/roken/ |
H A D | strtok_r.c | 43 strtok_r(char *s1, const char *s2, char **lasts) argument 47 if (s1 == NULL) 48 s1 = *lasts; 49 while(*s1 && strchr(s2, *s1)) 50 ++s1; 51 if(*s1 == '\0') 53 ret = s1; 54 while(*s1 && !strchr(s2, *s1)) [all...] |
H A D | strcasecmp.c | 44 strcasecmp(const char *s1, const char *s2) argument 46 while(toupper((unsigned char)*s1) == toupper((unsigned char)*s2)) { 47 if(*s1 == '\0') 49 s1++; 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)) 48 if(*s1 == '\0') 50 s1++; 56 return toupper((unsigned char)*s1) - toupper((unsigned char)*s2);
|
/macosx-10.10/BerkeleyDB-21/db/clib/ |
H A D | strncmp.c | 46 strncmp(s1, s2, n) 47 const char *s1, *s2; 54 if (*s1 != *s2++) 55 return (*(const unsigned char *)s1 - 57 if (*s1++ == 0)
|
H A D | memcmp.c | 49 memcmp(s1, s2, n) 50 const void *s1, *s2; 54 unsigned char *p1 = (unsigned char *)s1,
|
H A D | strcasecmp.c | 49 strcasecmp(s1, s2) 50 const char *s1, *s2; 55 s1ch = *s1++; 78 strncasecmp(s1, s2, n) 79 const char *s1, *s2; 85 s1ch = *s1++;
|
/macosx-10.10/curl-83.1.2/curl/src/ |
H A D | tool_bname.c | 32 char *s1; local 35 s1 = strrchr(path, '/'); 38 if(s1 && s2) { 39 path = (s1 > s2) ? s1 + 1 : s2 + 1; 41 else if(s1) 42 path = s1 + 1;
|
/macosx-10.10/Libc-1044.1.2/string/FreeBSD/ |
H A D | wcscmp.c | 48 wcscmp(const wchar_t *s1, const wchar_t *s2) argument 51 while (*s1 == *s2++) 52 if (*s1++ == '\0') 55 return (*(const unsigned int *)s1 - *(const unsigned int *)--s2);
|
H A D | wcsncmp.c | 42 wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n) argument 48 if (*s1 != *s2++) { 50 return (*(const unsigned int *)s1 - 53 if (*s1++ == 0)
|
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; 49 s1++;
|
H A D | wcscasecmp.c | 36 wcscasecmp_l(const wchar_t *s1, const wchar_t *s2, locale_t loc) argument 40 for (; *s1; s1++, s2++) { 41 c1 = towlower_l(*s1, loc); 50 wcscasecmp(const wchar_t *s1, const wchar_t *s2) { argument 51 return wcscasecmp_l(s1, s2, __current_locale());
|
H A D | wcsncasecmp.c | 36 wcsncasecmp_l(const wchar_t *s1, const wchar_t *s2, size_t n, locale_t loc) argument 42 for (; *s1; s1++, s2++) { 43 c1 = towlower_l(*s1, loc); 54 wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n) { argument 55 return wcsncasecmp_l(s1, s2, n, __current_locale());
|
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/ |
H A D | memcmp.c | 27 const unsigned char *s1=v1, *s2=v2; local 29 if (*s1++ != *s2++) return *--s1 - *--s2;
|
/macosx-10.10/cxxfilt-11/cxxfilt/libiberty/ |
H A D | memcmp.c | 24 register const unsigned char *s1 = (const unsigned char*)str1; local 29 if (*s1++ != *s2++) 30 return s1[-1] < s2[-1] ? -1 : 1;
|
H A D | memmove.c | 21 memmove (PTR s1, const PTR s2, size_t n) argument 23 bcopy (s2, s1, n); 24 return s1;
|
H A D | bcmp.c | 23 bcmp (const void *s1, const void *s2, size_t count) argument 25 return memcmp (s1, s2, count);
|
/macosx-10.10/libiconv-42/libiconv/srclib/ |
H A D | streq.h | 28 streq9 (const char *s1, const char *s2) argument 30 return strcmp (s1 + 9, s2 + 9) == 0; 34 streq8 (const char *s1, const char *s2, char s28) argument 36 if (s1[8] == s28) 41 return streq9 (s1, s2); 48 streq7 (const char *s1, const char *s2, char s27, char s28) argument 50 if (s1[7] == s27) 55 return streq8 (s1, s2, s28); 62 streq6 (const char *s1, const char *s2, char s26, char s27, char s28) argument 64 if (s1[ 76 streq5(const char *s1, const char *s2, char s25, char s26, char s27, char s28) argument 90 streq4(const char *s1, const char *s2, char s24, char s25, char s26, char s27, char s28) argument 104 streq3(const char *s1, const char *s2, char s23, char s24, char s25, char s26, char s27, char s28) argument 118 streq2(const char *s1, const char *s2, char s22, char s23, char s24, char s25, char s26, char s27, char s28) argument 132 streq1(const char *s1, const char *s2, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) argument 146 streq0(const char *s1, const char *s2, char s20, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) argument [all...] |
/macosx-10.10/ksh-23/ksh/src/lib/libast/comp/ |
H A D | memcpy.c | 39 memcpy(void* s1, void* s2, size_t n) 41 bcopy(s2, s1, n); 42 return(s1); 50 register char* s1 = (char*)as1; 54 *s1++ = *s2++;
|
H A D | memccpy.c | 33 * Copy s2 to s1, stopping if character c is copied. Copy no more than n bytes. 41 register char* s1 = (char*)as1; 46 if ((*s1++ = *s2++) == c) 47 return(s1);
|
/macosx-10.10/bash-94.1.2/bash-3.2/lib/sh/ |
H A D | strcasecmp.c | 37 register const char *s1; local 44 s1 = string1; 48 if ((r = TOLOWER ((unsigned char) *s1) - TOLOWER ((unsigned char) *s2)) != 0) 50 if (*s1++ == '\0') 65 register const char *s1; local 69 s1 = string1; 72 if (s1 == s2) 75 while ((r = TOLOWER ((unsigned char)*s1) - TOLOWER ((unsigned char)*s2)) == 0) 77 if (*s1++ == '\0')
|
H A D | strindex.c | 30 /* Determine if s2 occurs in s1. If so, return a pointer to the 31 match in s1. The compare is case insensitive. This is a 34 strindex (s1, s2) 35 const char *s1; 41 len = strlen (s1); 44 if ((TOLOWER ((unsigned char)s1[i]) == c) && (strncasecmp (s1 + i, s2, l) == 0)) 45 return ((char *)s1 + i);
|
/macosx-10.10/tcl-105/tcl_ext/mk4tcl/metakit/tests/ |
H A D | tformat.cpp | 13 c4_Storage s1("f01a", 1); 14 s1.SetStructure("a[p1:I]"); 16 c4_View v1 = s1.View("a"); 18 s1.Commit(); 20 c4_View v2 = s1.GetAs("b[p2:I]"); 25 s1.Commit(); 28 c4_Storage s1("f01a", 0); 30 c4_View v1 = s1.View("a"); 34 c4_View v2 = s1.View("b"); 49 c4_Storage s1("f02 [all...] |
H A D | tstore1.cpp | 10 c4_Storage s1("s00a", 1); 11 s1.SetStructure("a[p1:I]"); 12 s1.Commit(); 21 c4_Storage s1("s01a", 1); 22 s1.SetStructure("a[p1:I]"); 23 c4_View v1 = s1.View("a"); 28 s1.Commit(); 39 c4_Storage s1("s02a", 1); 40 s1.SetStructure("a[p1:F]"); 41 c4_View v1 = s1 [all...] |
/macosx-10.10/ruby-106/ruby/test/ruby/ |
H A D | test_m17n_comb.rb | 117 def assert_str_enc_propagation(t, s1, s2) 118 if !s1.ascii_only? 119 assert_equal(s1.encoding, t.encoding) 123 assert([s1.encoding, s2.encoding].include?(t.encoding)) 155 combination(STRINGS, STRINGS) {|s1, s2| 159 yield s1, Regexp.new(Regexp.escape(s2)) 161 combination(STRINGS, STRINGS, 0..2) {|s1, s2, nth| 165 yield s1, Regexp.new(Regexp.escape(s2)), nth 205 combination(STRINGS, STRINGS) {|s1, s2| 206 if s1 [all...] |