Searched refs:s1 (Results 1 - 25 of 626) sorted by relevance

1234567891011>>

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/unsorted/
H A Dfoo.c2 main (s1, s2)
3 int *s1; int *s2;
5 while ((*s1++ = *s2++) != '\0')
7 return s1 - 1;
H A Ds.c5 } 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 Dstrcmp.c34 strcmp(const char *s1, const char *s2) argument
36 while(*s1 && *s2 && *s1 == *s2)
37 s1++, s2++;
38 return *s1 - *s2;
H A Dstrncmp.c34 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 Dmemset.c38 memset(void *s1, int c, size_t n) argument
40 char *p = s1;
44 return s1;
H A Dstrncpy.c34 strncpy(char *s1, const char *s2, size_t n) argument
36 char *p = s1;
38 while (n-- && (*s1++ = *s2++) != '\0')
H A Dmemcpy.c42 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 D900407_01.C27 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 Dstrcmp.c41 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 Dstrncmp.c35 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 Dwcscmp.c43 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 Dwcsncmp.c37 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 Dstrcoll.c40 strcoll(const char *s1, const char *s2) argument
43 return (strcmp(s1, s2));
H A Dstrpbrk.c34 * 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 Dstrcmp.c41 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 Dstrncmp.c35 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 Dproxy-constants7 sub s1 {
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D921203-2.c4 } 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 Dstring-opt-8.c14 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 Dsort.cc68 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 Dpartition.cc44 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 Dmemcmp.c24 register const unsigned char *s1 = (const unsigned char*)str1; local
29 if (*s1++ != *s2++)
30 return s1[-1] < s2[-1] ? -1 : 1;
H A Dmemmove.c21 memmove (PTR s1, const PTR s2, size_t n) argument
23 bcopy (s2, s1, n);
24 return s1;
H A Dbcmp.c23 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 Dmemcmp.c7 const unsigned char *s1 = str1; local
12 if (*s1++ != *s2++)
13 return s1[-1] < s2[-1] ? -1 : 1;

Completed in 148 milliseconds

1234567891011>>