/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/unsorted/ |
H A D | foo.c | 2 main (s1, s2) 3 int *s1; int *s2; 5 while ((*s1++ = *s2++) != '\0') 7 return s1 - 1;
|
H A D | s.c | 5 } s1, s2; variable in typeref:struct:foo 8 structret (s1, i1, i2, s2) 9 struct foo s1, s2; 15 return s1; 21 s2.c = s1.c; 22 s2.d = s1.d;
|
/openbsd-current/sys/lib/libsa/ |
H A D | strcmp.c | 34 strcmp(const char *s1, const char *s2) argument 36 while(*s1 && *s2 && *s1 == *s2) 37 s1++, s2++; 38 return *s1 - *s2;
|
H A D | strncmp.c | 34 strncmp(const char *s1, const char *s2, size_t len) argument 39 while (*s1 && *s2 && len-- && *s1 == *s2) 40 s1++, s2++; 41 return *s1 - *s2;
|
H A D | memset.c | 38 memset(void *s1, int c, size_t n) argument 40 char *p = s1; 44 return s1;
|
H A D | strncpy.c | 34 strncpy(char *s1, const char *s2, size_t n) argument 36 char *p = s1; 38 while (n-- && (*s1++ = *s2++) != '\0')
|
H A D | memcpy.c | 42 memcpy(void *s1, const void *s2, size_t n) argument 45 char *t = s1; 49 return s1;
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.bugs/ |
H A D | 900407_01.C | 27 struct s1 : public s0 { struct in inherits:s0 30 s1 (); 33 s1::s1() : () { // ERROR - anachronism used function in class:s1
|
/openbsd-current/lib/libc/string/ |
H A D | strcmp.c | 41 strcmp(const char *s1, const char *s2) argument 43 while (*s1 == *s2++) 44 if (*s1++ == 0) 46 return (*(unsigned char *)s1 - *(unsigned char *)--s2);
|
H A D | strncmp.c | 35 strncmp(const char *s1, const char *s2, size_t n) argument 41 if (*s1 != *s2++) 42 return (*(unsigned char *)s1 - *(unsigned char *)--s2); 43 if (*s1++ == 0)
|
H A D | wcscmp.c | 43 wcscmp(const wchar_t *s1, const wchar_t *s2) argument 46 while (*s1 == *s2++) 47 if (*s1++ == 0) 50 return (*(const rune_t *)s1 - *(const rune_t *)--s2);
|
H A D | wcsncmp.c | 37 wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n) argument 43 if (*s1 != *s2++) { 45 return (*(const rune_t *)s1 - 48 if (*s1++ == 0)
|
H A D | strcoll.c | 40 strcoll(const char *s1, const char *s2) argument 43 return (strcmp(s1, s2));
|
H A D | strpbrk.c | 34 * Find the first occurrence in s1 of a character in s2 (excluding NUL). 37 strpbrk(const char *s1, const char *s2) argument 42 while ((c = *s1++) != 0) { 45 return ((char *)(s1 - 1));
|
/openbsd-current/sys/lib/libkern/ |
H A D | strcmp.c | 41 strcmp(const char *s1, const char *s2) argument 43 while (*s1 == *s2++) 44 if (*s1++ == 0) 46 return (*(unsigned char *)s1 - *(unsigned char *)--s2);
|
H A D | strncmp.c | 35 strncmp(const char *s1, const char *s2, size_t n) argument 41 if (*s1 != *s2++) 42 return (*(unsigned char *)s1 - *(unsigned char *)--s2); 43 if (*s1++ == 0)
|
/openbsd-current/gnu/usr.bin/perl/lib/perl5db/t/ |
H A D | proxy-constants | 7 sub s1 {
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921203-2.c | 4 } s1; typedef in typeref:struct:__anon6884 6 s1 f (int arg0,...) 9 s1 back;
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | string-opt-8.c | 14 const char *const s1 = "hello world"; local 18 if (strncmp (s1, "hello world", 12) != 0) 20 if (strncmp ("hello world", s1, 12) != 0) 28 if (strncmp (s1+10, "d", 100) != 0) 30 if (strncmp (10+s1, "d", 100) != 0) 32 if (strncmp ("d", s1+10, 1) != 0) 34 if (strncmp ("d", 10+s1, 1) != 0) 45 s2 = s1; s3 = s1+4; 46 if (strncmp (++s2, ++s3, 0) != 0 || s2 != s1 235 strncmp(const char *s1, const char *s2, size_t n) argument [all...] |
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/25_algorithms/ |
H A D | sort.cc | 68 int s1[N]; local 69 std::copy(B, B + N, s1); 70 VERIFY(std::equal(s1, s1 + N, B)); 72 std::sort(s1, s1 + N); 73 VERIFY(std::equal(s1, s1 + N, A)); 77 std::sort(s1, s1 85 int s1[N]; local 106 int s1[N]; local 125 int s1[N]; local 148 int s1[N]; local [all...] |
H A D | partition.cc | 44 int s1[N]; local 45 std::copy(A, A + N, s1); 48 int* m = partition(s1, s1 + N, pred); 49 for (const int* i = s1; i < m; ++i) VERIFY(pred(*i)); 50 for (const int* i = m; i < s1 + N; ++i) VERIFY(!pred(*i)); 59 int s1[N]; local 60 std::copy(A, A + N, s1); 62 stable_partition(s1, s1 [all...] |
/openbsd-current/gnu/lib/libiberty/src/ |
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);
|
/openbsd-current/gnu/gcc/gcc/config/ |
H A D | memcmp.c | 7 const unsigned char *s1 = str1; local 12 if (*s1++ != *s2++) 13 return s1[-1] < s2[-1] ? -1 : 1;
|