bin/csh/exec.c
642
Char *cmd, *s0, *s1, *s2;
bin/csh/exec.c
663
s1 = s2 = sp->word;
bin/csh/exec.c
670
*s1++ = (Char)(*s2++ | QUOTE);
bin/csh/exec.c
676
*s1++ = (Char)(*s2++ | QUOTE);
bin/csh/exec.c
679
*s1++ = *s2++;
bin/csh/exec.c
681
*s1 = '\0';
bin/csh/exec.c
723
s1 = Strspl(*pv, STRslash);
bin/csh/exec.c
724
sp->word = Strspl(s1, sp->word);
bin/csh/exec.c
725
free(s1);
bin/csh/glob.c
888
Gcat(Char *s1, Char *s2)
bin/csh/glob.c
893
for (p = s1; *p++;)
bin/csh/glob.c
897
n = (p - s1) + (q - s2) - 1;
bin/csh/glob.c
904
for (q = s1; (*p++ = *q++) != '\0';)
bin/ksh/c_test.c
410
int s1;
bin/ksh/c_test.c
415
&& (((s1 = stat(opnd1, &b1)) == 0
bin/ksh/c_test.c
417
|| s1 == -1);
bin/ksh/history.c
349
char *s, *s1;
bin/ksh/history.c
358
for (s = *hp; (s1 = strstr(s, pat))
bin/ksh/history.c
359
&& (!any_subst || globalv) ; s = s1 + pat_len)
bin/ksh/history.c
362
len = s1 - s;
bin/ksh/sh.h
152
# define FILECMP(s1, s2) strcmp(s1, s2)
bin/ksh/sh.h
153
# define FILENCMP(s1, s2, n) strncmp(s1, s2, n)
bin/sh/expand.c
164
wchar_t s1[2], s2[2];
bin/sh/expand.c
166
s1[0] = c1;
bin/sh/expand.c
167
s1[1] = L'\0';
bin/sh/expand.c
170
return (wcscoll(s1, s2));
bin/sh/mystring.h
45
#define equal(s1, s2) (strcmp(s1, s2) == 0)
bin/sh/mystring.h
46
#define scopy(s1, s2) ((void)strcpy(s2, s1))
common/dist/zlib/zutil.c
164
int ZLIB_INTERNAL zmemcmp(const void FAR *s1, const void FAR *s2, z_size_t n) {
common/dist/zlib/zutil.c
165
const uchf *p = s1, *q = s2;
common/lib/libc/cdb/cdbr.c
85
#define fast_divide32_prepare(d,m,s1,s2) (void)0
common/lib/libc/cdb/cdbr.c
86
#define fast_remainder32(v,d,m,s1,s2) (v%d)
common/lib/libc/hash/sha2/sha2.c
299
s1 = W256[(j+14)&0x0f]; \
common/lib/libc/hash/sha2/sha2.c
300
s1 = sigma1_256(s1); \
common/lib/libc/hash/sha2/sha2.c
302
(W256[j&0x0f] += s1 + W256[(j+9)&0x0f] + s0); \
common/lib/libc/hash/sha2/sha2.c
310
uint32_t a, b, c, d, e, f, g, h, s0, s1;
common/lib/libc/hash/sha2/sha2.c
370
uint32_t a, b, c, d, e, f, g, h, s0, s1;
common/lib/libc/hash/sha2/sha2.c
409
s1 = W256[(j+14)&0x0f];
common/lib/libc/hash/sha2/sha2.c
410
s1 = sigma1_256(s1);
common/lib/libc/hash/sha2/sha2.c
414
(W256[j&0x0f] += s1 + W256[(j+9)&0x0f] + s0);
common/lib/libc/hash/sha2/sha2.c
645
s1 = W512[(j+14)&0x0f]; \
common/lib/libc/hash/sha2/sha2.c
646
s1 = sigma1_512(s1); \
common/lib/libc/hash/sha2/sha2.c
648
(W512[j&0x0f] += s1 + W512[(j+9)&0x0f] + s0); \
common/lib/libc/hash/sha2/sha2.c
656
uint64_t a, b, c, d, e, f, g, h, s0, s1;
common/lib/libc/hash/sha2/sha2.c
713
uint64_t a, b, c, d, e, f, g, h, s0, s1;
common/lib/libc/hash/sha2/sha2.c
750
s1 = W512[(j+14)&0x0f];
common/lib/libc/hash/sha2/sha2.c
751
s1 = sigma1_512(s1);
common/lib/libc/hash/sha2/sha2.c
755
(W512[j&0x0f] += s1 + W512[(j+9)&0x0f] + s0);
common/lib/libc/string/bcmp.c
111
c1 = (const unsigned char *)s1;
common/lib/libc/string/bcmp.c
87
bcmp(const void *s1, const void *s2, size_t n)
common/lib/libc/string/bcmp.c
94
b1 = s1;
common/lib/libc/string/bcopy.c
161
memcpy(void *s1, const void *s2, size_t n)
common/lib/libc/string/bcopy.c
164
char *t = s1;
common/lib/libc/string/bcopy.c
168
return s1;
common/lib/libc/string/bcopy.c
175
memmove(void *s1, const void *s2, size_t n)
common/lib/libc/string/bcopy.c
178
char *t = s1;
common/lib/libc/string/bcopy.c
189
return s1;
common/lib/libc/string/bcopy.c
196
bcopy(const void *s2, void *s1, size_t n)
common/lib/libc/string/bcopy.c
199
char *t = s1;
common/lib/libc/string/memcmp.c
113
c1 = (const unsigned char *)s1;
common/lib/libc/string/memcmp.c
87
memcmp(const void *s1, const void *s2, size_t n)
common/lib/libc/string/memcmp.c
94
b1 = s1;
common/lib/libc/string/strcasecmp.c
60
strcasecmp(const char *s1, const char *s2)
common/lib/libc/string/strcasecmp.c
62
const unsigned char *us1 = (const unsigned char *)s1,
common/lib/libc/string/strcasecmp.c
65
_DIAGASSERT(s1 != NULL);
common/lib/libc/string/strcmp.c
57
strcmp(const char *s1, const char *s2)
common/lib/libc/string/strcmp.c
60
while (*s1 == *s2++)
common/lib/libc/string/strcmp.c
61
if (*s1++ == 0)
common/lib/libc/string/strcmp.c
63
return (*(const unsigned char *)s1 - *(const unsigned char *)--s2);
common/lib/libc/string/strncasecmp.c
60
strncasecmp(const char *s1, const char *s2, size_t n)
common/lib/libc/string/strncasecmp.c
63
_DIAGASSERT(s1 != NULL);
common/lib/libc/string/strncasecmp.c
67
const unsigned char *us1 = (const unsigned char *)s1,
common/lib/libc/string/strncmp.c
49
strncmp(const char *s1, const char *s2, size_t n)
common/lib/libc/string/strncmp.c
55
if (*s1 != *s2++)
common/lib/libc/string/strncmp.c
56
return (*(const unsigned char *)s1 -
common/lib/libc/string/strncmp.c
58
if (*s1++ == 0)
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
370
s1 = W256[(j+14)&0x0f]; \
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
371
s1 = sigma1_256(s1); \
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
373
(W256[j&0x0f] += s1 + W256[(j+9)&0x0f] + s0); \
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
379
sha2_word32 a, b, c, d, e, f, g, h, s0, s1;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
437
sha2_word32 a, b, c, d, e, f, g, h, s0, s1;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
481
s1 = W256[(j+14)&0x0f];
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
482
s1 = sigma1_256(s1);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
486
(W256[j&0x0f] += s1 + W256[(j+9)&0x0f] + s0);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
697
s1 = W512[(j+14)&0x0f]; \
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
698
s1 = sigma1_512(s1); \
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
700
(W512[j&0x0f] += s1 + W512[(j+9)&0x0f] + s0); \
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
706
sha2_word64 a, b, c, d, e, f, g, h, s0, s1;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
761
sha2_word64 a, b, c, d, e, f, g, h, s0, s1;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
803
s1 = W512[(j+14)&0x0f];
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
804
s1 = sigma1_512(s1);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
808
(W512[j&0x0f] += s1 + W512[(j+9)&0x0f] + s0);
distrib/utils/libhack/multibyte.c
296
wmemcpy(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n)
distrib/utils/libhack/multibyte.c
300
for (p = s1; n > 0; n--)
distrib/utils/libhack/multibyte.c
303
return s1;
distrib/utils/libhack/strcasecmp.c
14
strcasecmp(const char *s1, const char *s2)
distrib/utils/libhack/strcasecmp.c
19
c1 = *s1++;
games/gomoku/main.c
477
spot_index s, s1, s2;
games/gomoku/main.c
545
parse_spot(&str, &s1) &&
games/gomoku/main.c
551
n = board[s1].s_frame[r1] * FAREA
games/gomoku/main.c
554
stoc(s1), pdir[r1], stoc(s2), pdir[r2],
games/gomoku/makemove.c
235
update_overlap_same_direction(spot_index s1, spot_index s2,
games/gomoku/makemove.c
244
spot_index s = s1;
games/gomoku/makemove.c
311
spot_index s1 = os;
games/gomoku/makemove.c
314
for (int f = 0; f < 6; f++, s1 -= d) {
games/gomoku/makemove.c
315
if (board[s1].s_occ == BORDER)
games/gomoku/makemove.c
317
if (is_blocked(&board[s1], r))
games/gomoku/makemove.c
327
frame_index a = board[s1].s_frame[r];
games/gomoku/makemove.c
329
spot_index s2 = s1 - d;
games/gomoku/makemove.c
336
update_overlap_same_direction(s1, s2, a, d, off - f, r);
games/monop/getinp.c
104
comp(const char *s1)
games/monop/getinp.c
110
for (sp = buf, tsp = s1; *sp; ) {
games/monop/getinp.c
116
else if (*s1 != '\0')
games/phantasia/map.c
134
char s1[2];
games/phantasia/map.c
139
s1[0] = *s++;
games/phantasia/map.c
140
s1[1] = '\0';
games/phantasia/map.c
141
label(s1);
games/phantasia/map.c
151
char s1[2];
games/phantasia/map.c
156
s1[0] = *s++;
games/phantasia/map.c
157
s1[1] = '\0';
games/phantasia/map.c
158
label(s1);
games/robots/score.c
213
cmp_sc(const void *s1, const void *s2)
games/robots/score.c
215
return ((const SCORE *)s2)->s_score - ((const SCORE *)s1)->s_score;
games/snake/snake/snake.c
81
#define same(s1, s2) ((s1)->line == (s2)->line && (s1)->col == (s2)->col)
games/warp/warp.h
145
#define strNE(s1,s2) (strcmp(s1,s2))
games/warp/warp.h
146
#define strEQ(s1,s2) (!strcmp(s1,s2))
games/warp/warp.h
147
#define strnNE(s1,s2,l) (strncmp(s1,s2,l))
games/warp/warp.h
148
#define strnEQ(s1,s2,l) (!strncmp(s1,s2,l))
include/rpc/clnt.h
125
int32_t s1;
lib/libc/cdb/cdbw.c
102
fast_divide32(uint32_t v, uint32_t div, uint32_t m, uint8_t s1,
lib/libc/cdb/cdbw.c
108
return (t + ((v - t) >> s1)) >> s2;
lib/libc/cdb/cdbw.c
112
fast_remainder32(uint32_t v, uint32_t div, uint32_t m, uint8_t s1,
lib/libc/cdb/cdbw.c
116
return v - div * fast_divide32(v, div, m, s1, s2);
lib/libc/cdb/cdbw.c
89
uint8_t *s1, uint8_t *s2)
lib/libc/cdb/cdbw.c
97
*s1 = (l > 1) ? 1U : (uint8_t)l;
lib/libc/citrus/modules/citrus_euc.c
212
const char *s0, *s1 = NULL;
lib/libc/citrus/modules/citrus_euc.c
263
s1 = &psenc->ch[1];
lib/libc/citrus/modules/citrus_euc.c
268
s1 = &psenc->ch[0];
lib/libc/citrus/modules/citrus_euc.c
275
wchar = (wchar << 8) | (*s1++ & 0xff);
lib/libc/citrus/modules/citrus_gbk2k.c
172
const char *s0, *s1;
lib/libc/citrus/modules/citrus_gbk2k.c
243
s1 = &psenc->ch[0];
lib/libc/citrus/modules/citrus_gbk2k.c
246
wc = (wc << 8) | (*s1++ & 0xff);
lib/libc/gdtoa/gethex.c
108
s1 = s;
lib/libc/gdtoa/gethex.c
121
s = s1;
lib/libc/gdtoa/gethex.c
185
n = (int)(s1 - s0) - 1;
lib/libc/gdtoa/gethex.c
197
while(s1 > s0) {
lib/libc/gdtoa/gethex.c
199
if (*--s1 == decimalpoint[i]) {
lib/libc/gdtoa/gethex.c
200
s1 -= i;
lib/libc/gdtoa/gethex.c
204
if (*--s1 == '.')
lib/libc/gdtoa/gethex.c
212
L |= (unsigned int)(hexdig[(unsigned char)*s1] & 0x0f) << n;
lib/libc/gdtoa/gethex.c
44
CONST char *decpt, *s, *s0, *s1;
lib/libc/gdtoa/strtod.c
101
CONST char *s, *s0, *s1;
lib/libc/gdtoa/strtod.c
266
s1 = s;
lib/libc/gdtoa/strtod.c
269
if (s - s1 > 8 || L > 19999)
lib/libc/gdtoa/strtodg.c
336
CONST char *s, *s0, *s1;
lib/libc/gdtoa/strtodg.c
473
s1 = s;
lib/libc/gdtoa/strtodg.c
476
if (s - s1 > 8 || L > 19999)
lib/libc/gdtoa/test/Qtest.c
111
u.bits[_0] = (ULong)strtoul(s1 = s+1, &se, 16);
lib/libc/gdtoa/test/Qtest.c
112
if (se > s1) {
lib/libc/gdtoa/test/Qtest.c
113
u.bits[_1] = (ULong)strtoul(s1 = se, &se, 16);
lib/libc/gdtoa/test/Qtest.c
114
if (se > s1) {
lib/libc/gdtoa/test/Qtest.c
115
u.bits[_2] = (ULong)strtoul(s1 = se, &se, 16);
lib/libc/gdtoa/test/Qtest.c
116
if (se > s1)
lib/libc/gdtoa/test/Qtest.c
117
u.bits[_3] = (ULong)strtoul(s1 = se, &se, 16);
lib/libc/gdtoa/test/Qtest.c
83
char *s, *s1, *se, *se1;
lib/libc/gdtoa/test/ddtest.c
119
for(s1 = s; *s1 > ' '; s1++){};
lib/libc/gdtoa/test/ddtest.c
120
while(*s1 <= ' ' && *s1) s1++;
lib/libc/gdtoa/test/ddtest.c
121
if (!*s1) {
lib/libc/gdtoa/test/ddtest.c
80
char *s, *s1, *se, *se1;
lib/libc/gdtoa/test/dt.c
191
char *fmt, *s, *s1, *se;
lib/libc/gdtoa/test/dt.c
209
x = (ULong)strtoul(s1 = buf+1, &se, 16);
lib/libc/gdtoa/test/dt.c
210
if (se > s1) {
lib/libc/gdtoa/test/dt.c
211
y = (ULong)strtoul(s1 = se, &se, 16);
lib/libc/gdtoa/test/dt.c
212
if (se > s1)
lib/libc/gdtoa/test/strtodt.c
59
char *s, *s1, *se;
lib/libc/gdtoa/test/strtodt.c
75
if ((a.L[0] = (ULong)strtoul(s, &s1,16), s1 <= s)
lib/libc/gdtoa/test/strtodt.c
76
|| (a.L[1] = (ULong)strtoul(s1,&se,16), se <= s1)) {
lib/libc/gdtoa/test/xLtest.c
105
u.bits[_0] = (ULong)strtoul(s1 = s+1, &se, 16);
lib/libc/gdtoa/test/xLtest.c
106
if (se > s1) {
lib/libc/gdtoa/test/xLtest.c
107
u.bits[_1] = (ULong)strtoul(s1=se, &se, 16);
lib/libc/gdtoa/test/xLtest.c
108
if (se > s1)
lib/libc/gdtoa/test/xLtest.c
109
u.bits[_2] = (ULong)strtoul(s1=se, &se, 16);
lib/libc/gdtoa/test/xLtest.c
82
char *s, *s1, *se, *se1;
lib/libc/gen/getnetgrent.c
588
_ng_makekey(const char *s1, const char *s2, size_t len)
lib/libc/gen/getnetgrent.c
597
(void)snprintf(buf, len, "%s.%s", _NG_STAR(s1), _NG_STAR(s2));
lib/libc/gen/humanize_number.c
188
s1 = b / 10;
lib/libc/gen/humanize_number.c
191
sign * s1, localeconv()->decimal_point, s2,
lib/libc/gen/humanize_number.c
51
int b, i, r, s1, s2, sign;
lib/libc/locale/wcscoll.c
45
wcscoll_l(const wchar_t *s1, const wchar_t *s2, locale_t loc)
lib/libc/locale/wcscoll.c
49
return (wcscmp(s1, s2));
lib/libc/locale/wcscoll.c
53
wcscoll(const wchar_t *s1, const wchar_t *s2)
lib/libc/locale/wcscoll.c
55
return wcscoll_l(s1, s2, _current_locale());
lib/libc/locale/wcsxfrm.c
45
wcsxfrm_l(wchar_t *s1, const wchar_t *s2, size_t n, locale_t loc)
lib/libc/locale/wcsxfrm.c
54
wcscpy(s1, s2);
lib/libc/locale/wcsxfrm.c
68
wcsxfrm(wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/locale/wcsxfrm.c
70
return wcsxfrm_l(s1, s2, n, _current_locale());
lib/libc/regex/engine.c
149
#define AT(t, p1, p2, s1, s2) at(m, t, p1, p2, s1, s2)
lib/libc/regex/engine.c
153
#define AT(t, p1, p2, s1, s2) /* nothing */
lib/libc/regex/regcomp.c
1153
wchar_t s1[2], s2[2];
lib/libc/regex/regcomp.c
1155
s1[0] = c1;
lib/libc/regex/regcomp.c
1156
s1[1] = L'\0';
lib/libc/regex/regcomp.c
1159
return wcscoll(s1, s2);
lib/libc/regex/regcomp.c
1161
char s1[2], s2[2];
lib/libc/regex/regcomp.c
1163
s1[0] = (char)c1;
lib/libc/regex/regcomp.c
1164
s1[1] = '\0';
lib/libc/regex/regcomp.c
1167
return strcoll(s1, s2);
lib/libc/rpc/clnt_perror.c
173
e.re_lb.s1, e.re_lb.s2);
lib/libc/rpc/rpc_prot.c
259
error->re_lb.s1 = (int32_t)MSG_ACCEPTED;
lib/libc/rpc/rpc_prot.c
281
error->re_lb.s1 = (int32_t)MSG_DENIED;
lib/libc/rpc/rpc_prot.c
312
error->re_lb.s1 = (int32_t)(msg->rm_reply.rp_stat);
lib/libc/stdio/vfscanf.c
121
static char s1[2], s2[2];
lib/libc/stdio/vfscanf.c
123
s1[0] = c1;
lib/libc/stdio/vfscanf.c
125
return strcoll_l(s1, s2, loc);
lib/libc/string/Lint_strcmp.c
12
strcmp(const char *s1, const char *s2)
lib/libc/string/Lint_strncmp.c
12
strncmp(const char *s1, const char *s2, size_t len)
lib/libc/string/strcoll.c
57
strcoll(const char *s1, const char *s2)
lib/libc/string/strcoll.c
60
return strcoll_l(s1, s2, _current_locale());
lib/libc/string/strcoll.c
64
strcoll_l(const char *s1, const char *s2, locale_t loc)
lib/libc/string/strcoll.c
66
_DIAGASSERT(s1 != NULL);
lib/libc/string/strcoll.c
71
return (strcmp(s1, s2));
lib/libc/string/wcscasecmp.c
30
wcscasecmp_l(const wchar_t *s1, const wchar_t *s2, locale_t loc)
lib/libc/string/wcscasecmp.c
36
_DIAGASSERT(s1);
lib/libc/string/wcscasecmp.c
40
lc1 = towlower_l(*s1, loc);
lib/libc/string/wcscasecmp.c
50
++s1;
lib/libc/string/wcscasecmp.c
56
wcscasecmp(const wchar_t *s1, const wchar_t *s2)
lib/libc/string/wcscasecmp.c
58
return wcscasecmp_l(s1, s2, _current_locale());
lib/libc/string/wcscat.c
40
wcscat(wchar_t *s1, const wchar_t *s2)
lib/libc/string/wcscat.c
46
_DIAGASSERT(s1 != NULL);
lib/libc/string/wcscat.c
49
p = s1;
lib/libc/string/wcscat.c
57
return s1;
lib/libc/string/wcscmp.c
52
wcscmp(const wchar_t *s1, const wchar_t *s2)
lib/libc/string/wcscmp.c
55
_DIAGASSERT(s1 != NULL);
lib/libc/string/wcscmp.c
58
while (*s1 == *s2++)
lib/libc/string/wcscmp.c
59
if (*s1++ == 0)
lib/libc/string/wcscmp.c
62
return (*(const __nbrune_t *)s1 - *(const __nbrune_t *)--s2);
lib/libc/string/wcscpy.c
40
wcscpy(wchar_t *s1, const wchar_t *s2)
lib/libc/string/wcscpy.c
44
_DIAGASSERT(s1 != NULL);
lib/libc/string/wcscpy.c
47
for (p = s1; (*p = *s2) != L'\0'; ++p, ++s2);
lib/libc/string/wcscpy.c
49
return s1;
lib/libc/string/wcsncasecmp.c
30
wcsncasecmp_l(const wchar_t *s1, const wchar_t *s2, size_t n, locale_t loc)
lib/libc/string/wcsncasecmp.c
36
_DIAGASSERT(s1);
lib/libc/string/wcsncasecmp.c
40
lc1 = towlower_l(*s1, loc);
lib/libc/string/wcsncasecmp.c
50
++s1;
lib/libc/string/wcsncasecmp.c
58
wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wcsncasecmp.c
60
return wcsncasecmp_l(s1, s2, n, _current_locale());
lib/libc/string/wcsncat.c
40
wcsncat(wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wcsncat.c
46
_DIAGASSERT(s1 != NULL);
lib/libc/string/wcsncat.c
49
p = s1;
lib/libc/string/wcsncat.c
59
return s1;
lib/libc/string/wcsncmp.c
46
wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wcsncmp.c
49
_DIAGASSERT(s1 != NULL);
lib/libc/string/wcsncmp.c
55
if (*s1 != *s2++) {
lib/libc/string/wcsncmp.c
57
return (*(const __nbrune_t *)s1 -
lib/libc/string/wcsncmp.c
60
if (*s1++ == 0)
lib/libc/string/wcsncpy.c
40
wcsncpy(wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wcsncpy.c
44
_DIAGASSERT(s1 != NULL);
lib/libc/string/wcsncpy.c
47
p = s1;
lib/libc/string/wcsncpy.c
57
return s1;
lib/libc/string/wmemcmp.c
41
wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wmemcmp.c
45
_DIAGASSERT(s1 != NULL);
lib/libc/string/wmemcmp.c
49
if (*s1 != *s2) {
lib/libc/string/wmemcmp.c
51
return *(const __nbrune_t *)s1 >
lib/libc/string/wmemcmp.c
54
s1++;
lib/libc/time/private.h
869
mempcpy(void *restrict s1, void const *restrict s2, size_t n)
lib/libc/time/private.h
871
char *p = memcpy(s1, s2, n);
lib/libcompat/regexp/regexp.c
1313
strcspn(s1, s2)
lib/libcompat/regexp/regexp.c
1314
char *s1;
lib/libcompat/regexp/regexp.c
1322
for (scan1 = s1; *scan1 != '\0'; scan1++) {
lib/libcrypt/crypt.c
258
#define LOADREG(d,d0,d1,s,s0,s1) d0 = s0, d1 = s1
lib/libcrypt/crypt.c
260
#define STORE(s,s0,s1,bl) (bl).b32.i0 = s0, (bl).b32.i1 = s1
lib/libedit/filecomplete.c
528
const char *s1 = ((const char * const *)i1)[0];
lib/libedit/filecomplete.c
531
return strcasecmp(s1, s2);
lib/libedit/readline.c
2476
_rl_qsort_string_compare(char **s1, char **s2)
lib/libedit/readline.c
2478
return strcoll(*s1, *s2);
lib/libm/ld128/e_lgammal_r.c
136
s1 = 1.23221687850916448903914170805852253e-01L,
lib/libm/ld128/e_lgammal_r.c
300
p = y*(s0+y*(s1+y*(s2+y*(s3+y*(s4+y*(s5+y*(s6+y*(s7+y*(s8+
lib/libm/ld80/e_lgammal_r.c
328
p = y*(s0+y*(s1+y*(s2+y*(s3+y*(s4+y*(s5+y*s6))))));
lib/libm/noieee_src/n_lgamma.c
229
q = s0+z*(s1+z*(s2+z*(s3+z*s4)));
lib/libm/src/e_lgamma_r.c
136
s1 = 2.14982415960608852501e-01, /* 0x3FCB848B, 0x36E20878 */
lib/libm/src/e_lgamma_r.c
274
p = y*(s0+y*(s1+y*(s2+y*(s3+y*(s4+y*(s5+y*s6))))));
lib/libm/src/e_lgammaf_r.c
210
p = y*(s0+y*(s1+y*(s2+y*(s3+y*(s4+y*(s5+y*s6))))));
lib/libm/src/e_lgammaf_r.c
72
s1 = 2.1498242021e-01, /* 0x3e5c245a */
lib/libm/src/e_sqrt.c
137
q = q1 = s0 = s1 = 0; /* [q,q1] = sqrt(x) */
lib/libm/src/e_sqrt.c
154
t1 = s1+r;
lib/libm/src/e_sqrt.c
157
s1 = t1+r;
lib/libm/src/e_sqrt.c
158
if(((t1&sign)==(u_int32_t)sign)&&(s1&sign)==0) s0 += 1;
lib/libm/src/e_sqrt.c
99
u_int32_t r,t1,s1,ix1,q1;
lib/libm/src/s_atan.c
124
s1 = z*(aT[0]+w*(aT[2]+w*(aT[4]+w*(aT[6]+w*(aT[8]+w*aT[10])))));
lib/libm/src/s_atan.c
126
if (id<0) return x - x*(s1+s2);
lib/libm/src/s_atan.c
128
z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
lib/libm/src/s_atan.c
87
double w,s1,s2,z;
lib/libm/src/s_atanf.c
100
s1 = z*(aT[0]+w*(aT[2]+w*(aT[4]+w*(aT[6]+w*(aT[8]+w*aT[10])))));
lib/libm/src/s_atanf.c
102
if (id<0) return x - x*(s1+s2);
lib/libm/src/s_atanf.c
104
z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
lib/libm/src/s_atanf.c
66
float w,s1,s2,z;
lib/libm/src/s_atanl.c
101
z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
lib/libm/src/s_atanl.c
55
long double w,s1,s2,z;
lib/libm/src/s_atanl.c
97
s1 = z*T_even(w);
lib/libm/src/s_atanl.c
99
if (id<0) return x - x*(s1+s2);
lib/libtelnet/genget.c
53
isprefix(const char *s1, const char *s2)
lib/libtelnet/genget.c
58
if (*s1 == '\0')
lib/libtelnet/genget.c
60
os1 = s1;
lib/libtelnet/genget.c
61
c1 = *s1;
lib/libtelnet/genget.c
66
c1 = *++s1;
lib/libtelnet/genget.c
69
return(*s1 ? 0 : (*s2 ? (s1 - os1) : (os1 - s1)));
libexec/ftpd/conf.c
758
strend(const char *s1, char *s2)
libexec/ftpd/conf.c
765
l1 = strlen(s1);
libexec/ftpd/conf.c
771
strlcpy(buf, s1, sizeof(buf));
libexec/ftpd/ftpcmd.y
1827
char s1[NI_MAXHOST], s2[NI_MAXHOST];
libexec/ftpd/ftpcmd.y
1857
h1, sizeof(h1), s1, sizeof(s1), niflags))
libexec/ftpd/ftpcmd.y
1863
if (atoi(s1) < IPPORT_RESERVED || strcmp(h1, h2) != 0)
libexec/httpd/cgi-bozo.c
356
char *s1 = bozomalloc(httpd, strlen(env) + strlen(val) + 2);
libexec/httpd/cgi-bozo.c
358
strcpy(s1, env);
libexec/httpd/cgi-bozo.c
359
strcat(s1, "=");
libexec/httpd/cgi-bozo.c
360
strcat(s1, val);
libexec/httpd/cgi-bozo.c
361
debug((httpd, DEBUG_OBESE, "bozo_setenv: %s", s1));
libexec/httpd/cgi-bozo.c
362
*envp = s1;
libexec/rpc.rstatd/rstat_proc.c
146
stats_all.s1.if_opackets = stats_all.s3.if_opackets;
libexec/rpc.rstatd/rstat_proc.c
147
return (&stats_all.s1);
libexec/rpc.rstatd/rstat_proc.c
95
struct stats s1;
sbin/fdisk/fdisk.c
1629
unsigned int c1, h1, s1, c2, h2, s2;
sbin/fdisk/fdisk.c
1664
if (get_mapping(i, &c1, &h1, &s1, &a1) < 0)
sbin/fdisk/fdisk.c
1666
a1 -= s1;
sbin/fdisk/fdisk.c
1706
if (get_mapping(i, &c1, &h1, &s1, &a1) < 0)
sbin/fdisk/fdisk.c
1710
if (xsectors * (c1 * xheads + h1) + s1 != a1)
sbin/gpt/show.c
466
char s1[128], s2[128], *p;
sbin/gpt/show.c
482
get_gpt_hdr_guid(s1, sizeof(s1), m->map_data);
sbin/gpt/show.c
483
printf("GUID: %s\n", s1);
sbin/gpt/show.c
491
gpt_uuid_snprintf(s1, sizeof(s1), "%s", ent->ent_type);
sbin/gpt/show.c
494
if (strcmp(s1, s2) != 0)
sbin/gpt/show.c
495
printf("Type: %s\n", s1);
sbin/gpt/show.c
496
gpt_uuid_snprintf(s1, sizeof(s1), "%l", ent->ent_type);
sbin/gpt/show.c
497
if (strcmp(s1, s2) != 0)
sbin/gpt/show.c
498
printf("Long_Type: %s\n", s1);
sbin/gpt/show.c
522
char s1[128], s2[128];
sbin/gpt/show.c
541
gpt_uuid_snprintf(s1, sizeof(s1), "%s", ent->ent_type);
sbin/gpt/show.c
543
if (strcmp(s1, s2) == 0)
sbin/gpt/show.c
544
strlcpy(s1, "unknown", sizeof(s1));
sbin/gpt/show.c
545
printf("Type: %s (%s)\n", s1, s2);
sbin/gpt/show.c
570
char s1[128], s2[128];
sbin/gpt/show.c
607
gpt_uuid_snprintf(s1, sizeof(s1), "%s", ent->ent_type);
sbin/gpt/show.c
609
if (strcmp(s1, s2) == 0)
sbin/gpt/show.c
610
strlcpy(s1, "unknown", sizeof(s1));
sbin/gpt/show.c
611
printf("%*s Type: %s\n", width, "", s1);
sbin/gpt/show.c
656
s1, sizeof s1);
sbin/gpt/show.c
684
xshow | SHOW_NOSHOW, s1, sizeof s1);
sbin/gpt/show.c
707
get_gpt_hdr_guid(s1, sizeof(s1),
sbin/gpt/show.c
712
get_mbr_sig(s1, sizeof(s1), m->map_data));
sbin/ldconfig/shlib.c
200
concat(const char *s1, const char *s2, const char *s3)
sbin/ldconfig/shlib.c
202
int len1 = strlen(s1),
sbin/ldconfig/shlib.c
208
strcpy(result, s1);
sbin/newfs/newfs.c
250
const char *s1, *special;
sbin/newfs/newfs.c
528
s1 = special;
sbin/newfs/newfs.c
529
if (strncmp(_PATH_DEV, s1, len) == 0)
sbin/newfs/newfs.c
530
s1 += len;
sbin/newfs/newfs.c
538
if (strcmp(s1, s2) == 0 ||
sbin/newfs/newfs.c
539
strcmp(s1, &s2[1]) == 0)
sbin/newfs_ext2fs/newfs_ext2fs.c
129
const char *s1, *special;
sbin/newfs_ext2fs/newfs_ext2fs.c
271
s1 = special;
sbin/newfs_ext2fs/newfs_ext2fs.c
272
if (strncmp(_PATH_DEV, s1, len) == 0)
sbin/newfs_ext2fs/newfs_ext2fs.c
273
s1 += len;
sbin/newfs_ext2fs/newfs_ext2fs.c
281
if (strcmp(s1, s2) == 0 ||
sbin/newfs_ext2fs/newfs_ext2fs.c
282
strcmp(s1, &s2[1]) == 0)
sbin/newfs_msdos/mkfs_msdos.c
779
const char *s1, *s2;
sbin/newfs_msdos/mkfs_msdos.c
788
s1 = fname;
sbin/newfs_msdos/mkfs_msdos.c
789
if (!strncmp(s1, _PATH_DEV, len))
sbin/newfs_msdos/mkfs_msdos.c
790
s1 += len;
sbin/newfs_msdos/mkfs_msdos.c
791
r = S_ISCHR(mode) && s1 != fname && *s1 == 'r';
sbin/newfs_msdos/mkfs_msdos.c
796
if ((r && s2 != mp->f_mntfromname && !strcmp(s1 + 1, s2)) ||
sbin/newfs_msdos/mkfs_msdos.c
797
!strcmp(s1, s2)) {
sbin/newfs_msdos/mkfs_msdos.c
831
const char *s1, *s2;
sbin/newfs_msdos/mkfs_msdos.c
835
s1 = fname;
sbin/newfs_msdos/mkfs_msdos.c
836
if ((s2 = strrchr(s1, '/')))
sbin/newfs_msdos/mkfs_msdos.c
837
s1 = s2 + 1;
sbin/newfs_msdos/mkfs_msdos.c
838
for (s2 = s1; *s2 && !isdigit((unsigned char)*s2); s2++);
sbin/newfs_msdos/mkfs_msdos.c
839
if (!*s2 || s2 == s1)
sbin/newfs_msdos/mkfs_msdos.c
843
s1 = s2;
sys/arch/alpha/alpha/db_interface.c
125
DBREG(s1, FRAME_S1),
sys/arch/amiga/dev/mfc.c
1045
int s1, s2, ovfl;
sys/arch/amiga/dev/mfc.c
1053
s1 = spltty();
sys/arch/amiga/dev/mfc.c
1083
splx(s1);
sys/arch/amiga/dev/ser.c
535
int s1, s2, ovfl;
sys/arch/amiga/dev/ser.c
542
s1 = spltty();
sys/arch/amiga/dev/ser.c
572
splx(s1);
sys/arch/arc/dti/btl.c
799
struct scsi_sense_data *s1, *s2;
sys/arch/arc/dti/btl.c
841
s1 = &ccb->scsi_sense;
sys/arch/arc/dti/btl.c
843
*s2 = *s1;
sys/arch/atari/stand/tostools/chg_pid/chg_pid.c
269
char s1[4], s2[4];
sys/arch/atari/stand/tostools/chg_pid/chg_pid.c
271
strncpy(s1, gp->p_id, 3);
sys/arch/atari/stand/tostools/chg_pid/chg_pid.c
273
s1[3] = s2[3] = '\0';
sys/arch/atari/stand/tostools/chg_pid/chg_pid.c
274
eprintf("Changing partition %d: %s -> %s ...", pno, s1, s2);
sys/arch/dreamcast/dev/gdrom.c
163
uint8_t s1, s2, s3;
sys/arch/dreamcast/dev/gdrom.c
167
s1 = GDROM_STAT;
sys/arch/dreamcast/dev/gdrom.c
172
if (s1 == s2)
sys/arch/dreamcast/dev/gdrom.c
173
return s1;
sys/arch/evbppc/nintendo/dev/hwaes.c
482
uint32_t s0, s1, s2, s3;
sys/arch/evbppc/nintendo/dev/hwaes.c
485
s1 = *t1 >> 31;
sys/arch/evbppc/nintendo/dev/hwaes.c
490
*t2 = (*t2 << 1) ^ s1;
sys/arch/evbppc/virtex/dev/xlcom.c
601
int s1, s2;
sys/arch/evbppc/virtex/dev/xlcom.c
607
s1 = spltty();
sys/arch/evbppc/virtex/dev/xlcom.c
610
splx(s1);
sys/arch/evbppc/virtex/dev/xlcom.c
615
splx(s1);
sys/arch/evbppc/virtex/dev/xlcom.c
620
splx(s1);
sys/arch/hpc/stand/libsa/stricmp.cpp
40
stricmp(const char *s1, const char *s2)
sys/arch/hpc/stand/libsa/stricmp.cpp
43
while (libsa::tolower(*s1) == libsa::tolower(*s2++))
sys/arch/hpc/stand/libsa/stricmp.cpp
44
if (*s1++ == '\0')
sys/arch/hpc/stand/libsa/stricmp.cpp
47
return libsa::tolower(*s1) - libsa::tolower(*--s2);
sys/arch/ia64/stand/common/bootstrap.h
339
size_t strspn(const char *s1, const char *s2);
sys/arch/ia64/stand/common/strspn.c
49
strspn(const char *s1, const char *s2)
sys/arch/ia64/stand/common/strspn.c
51
const char *p = s1, *spanp;
sys/arch/ia64/stand/common/strspn.c
54
_DIAGASSERT(s1 != NULL);
sys/arch/ia64/stand/common/strspn.c
65
return (p - 1 - s1);
sys/arch/m68k/fpe/fpu_cordic.c
157
struct fpn *s1;
sys/arch/m68k/fpe/fpu_cordic.c
184
s1 = fpu_mul(fe);
sys/arch/m68k/fpe/fpu_cordic.c
185
s1->fp_sign ^= 1;
sys/arch/m68k/fpe/fpu_cordic.c
186
CPYFPN(&fe->fe_f1, s1);
sys/arch/m68k/fpe/fpu_cordic.c
189
CPYFPN(&s0, s1);
sys/arch/m68k/fpe/fpu_cordic.c
193
s1 = fpu_div(fe);
sys/arch/m68k/fpe/fpu_cordic.c
196
if (ISZERO(s1))
sys/arch/m68k/fpe/fpu_cordic.c
198
if (res.fp_exp - s1->fp_exp >= FP_NMANT)
sys/arch/m68k/fpe/fpu_cordic.c
202
CPYFPN(&fe->fe_f2, s1);
sys/arch/m68k/fpe/fpu_exp.c
59
struct fpn *s1;
sys/arch/m68k/fpe/fpu_exp.c
80
s1 = fpu_div(fe);
sys/arch/m68k/fpe/fpu_exp.c
83
if (ISZERO(s1))
sys/arch/m68k/fpe/fpu_exp.c
85
if (res.fp_exp - s1->fp_exp >= EXT_FRACBITS)
sys/arch/m68k/fpe/fpu_exp.c
89
CPYFPN(&s0, s1);
sys/arch/m68k/fpe/fpu_exp.c
92
CPYFPN(&fe->fe_f2, s1);
sys/arch/mac68k/mac68k/machdep.c
905
const char *s1;
sys/arch/mac68k/mac68k/machdep.c
910
for (s1 = str; *s1 && *s && *s != '='; s1++, s++) {
sys/arch/mac68k/mac68k/machdep.c
911
if (toupper(*s1) != toupper(*s)) {
sys/arch/mac68k/mac68k/machdep.c
915
if (*s1) { /* No match */
sys/arch/mips/cavium/dev/octeon_pkovar.h
91
octpko_cmd_word0(int sz1, int sz0, int s1, int reg1, int s0, int reg0,
sys/arch/mips/cavium/dev/octeon_pkovar.h
98
__SHIFTIN(s1, PKO_CMD_WORD0_S1) |
sys/arch/mipsco/include/prom.h
129
int (*prom_strcmp)(char *s1, char *s2);
sys/arch/mipsco/include/prom.h
131
char * (*prom_strcpy)(char *s1, char *s2);
sys/arch/mipsco/include/prom.h
132
char * (*prom_strcat)(char *s1, char *s2);
sys/arch/powerpc/pci/pchb.c
102
aprint_normal("%s, ", s1);
sys/arch/powerpc/pci/pchb.c
105
s1 = "uniprocessor/none";
sys/arch/powerpc/pci/pchb.c
108
s1 = "write-through";
sys/arch/powerpc/pci/pchb.c
111
s1 = "write-back";
sys/arch/powerpc/pci/pchb.c
114
s1 = "multiprocessor";
sys/arch/powerpc/pci/pchb.c
117
aprint_normal("%s mode\n", s1);
sys/arch/powerpc/pci/pchb.c
124
const char *s1;
sys/arch/powerpc/pci/pchb.c
132
s1 = "256K";
sys/arch/powerpc/pci/pchb.c
135
s1 = "512K";
sys/arch/powerpc/pci/pchb.c
138
s1 = "1M";
sys/arch/powerpc/pci/pchb.c
141
s1 = "reserved size";
sys/arch/powerpc/pci/pchb.c
145
aprint_normal("%s, ", s1);
sys/arch/powerpc/pci/pchb.c
150
s1 = "uniprocessor/none";
sys/arch/powerpc/pci/pchb.c
153
s1 = "internally controlled write-through";
sys/arch/powerpc/pci/pchb.c
156
s1 = "internally controlled write-back";
sys/arch/powerpc/pci/pchb.c
159
s1 = "multiprocessor/none";
sys/arch/powerpc/pci/pchb.c
166
s1 = "uniprocessor/external";
sys/arch/powerpc/pci/pchb.c
169
s1 = "multiprocessors/external";
sys/arch/powerpc/pci/pchb.c
172
s1 = "reserved";
sys/arch/powerpc/pci/pchb.c
176
aprint_normal("%s mode\n", s1);
sys/arch/powerpc/pci/pchb.c
186
const char *s1, *s2;
sys/arch/powerpc/pci/pchb.c
194
s1 = "internal enabled";
sys/arch/powerpc/pci/pchb.c
196
s1 = "enabled";
sys/arch/powerpc/pci/pchb.c
202
s1 = "disabled";
sys/arch/powerpc/pci/pchb.c
207
s1 = "enabled";
sys/arch/powerpc/pci/pchb.c
209
s1 = "disabled";
sys/arch/powerpc/pci/pchb.c
214
s1, s2);
sys/arch/powerpc/pci/pchb.c
81
const char *s1;
sys/arch/powerpc/pci/pchb.c
89
s1 = "256K";
sys/arch/powerpc/pci/pchb.c
92
s1 = "512K";
sys/arch/powerpc/pci/pchb.c
95
s1 = "1M";
sys/arch/powerpc/pci/pchb.c
98
s1 = "reserved size";
sys/arch/sparc/dev/kd.c
347
int s1, s2;
sys/arch/sparc/dev/kd.c
349
s1 = splsoftclock();
sys/arch/sparc/dev/kd.c
356
if ((s1 & PSR_PIL) == 0) {
sys/arch/sparc/dev/kd.c
369
splx(s1);
sys/arch/sparc64/dev/kd.c
319
int s1, s2;
sys/arch/sparc64/dev/kd.c
321
s1 = splsoftclock();
sys/arch/sparc64/dev/kd.c
330
if (s1 == 0) {
sys/arch/sparc64/dev/kd.c
353
splx(s1);
sys/arch/sparc64/dev/sab.c
677
int s, s1;
sys/arch/sparc64/dev/sab.c
715
s1 = splhigh();
sys/arch/sparc64/dev/sab.c
729
splx(s1);
sys/arch/sun2/dev/kd.c
365
int s1, s2;
sys/arch/sun2/dev/kd.c
367
s1 = splsoftclock();
sys/arch/sun2/dev/kd.c
376
if (is_spl0(s1)) {
sys/arch/sun2/dev/kd.c
398
splx(s1);
sys/arch/sun3/dev/kd.c
293
int s1, s2;
sys/arch/sun3/dev/kd.c
295
s1 = splsoftclock();
sys/arch/sun3/dev/kd.c
304
if ((s1 & PSL_IPL) == 0) {
sys/arch/sun3/dev/kd.c
326
splx(s1);
sys/crypto/adiantum/adiantum.c
299
uint32_t s0, s1, s2, s3, s4; /* h - (2^130 - 5) */
sys/crypto/adiantum/adiantum.c
316
s1 = h1 + c; c = s1 >> 26; s1 &= 0x03ffffff;
sys/crypto/adiantum/adiantum.c
327
h1 = (m & h1) | (~m & s1);
sys/crypto/aes/aes_bear.c
347
uint32_t s0, s1, s2, s3;
sys/crypto/aes/aes_bear.c
350
s1 = *t1 >> 31;
sys/crypto/aes/aes_bear.c
355
*t2 = (*t2 << 1) ^ s1;
sys/crypto/aes/aes_bear64.c
396
uint32_t s0, s1, s2, s3;
sys/crypto/aes/aes_bear64.c
399
s1 = *t1 >> 31;
sys/crypto/aes/aes_bear64.c
404
*t2 = (*t2 << 1) ^ s1;
sys/crypto/aes/aes_ct.c
204
s1 = t64 ^ ~s3;
sys/crypto/aes/aes_ct.c
208
q[6] = s1;
sys/crypto/aes/aes_ct.c
67
uint32_t s0, s1, s2, s3, s4, s5, s6, s7;
sys/crypto/aes/aes_ct64.c
219
s1 = t64 ^ ~s3;
sys/crypto/aes/aes_ct64.c
223
q[6] = s1;
sys/crypto/aes/aes_ct64.c
82
uint64_t s0, s1, s2, s3, s4, s5, s6, s7;
sys/crypto/aes/arch/x86/aes_sse2_4x32.c
204
s1 = t64 ^ ~s3;
sys/crypto/aes/arch/x86/aes_sse2_4x32.c
208
q[6] = s1;
sys/crypto/aes/arch/x86/aes_sse2_4x32.c
67
__m128i s0, s1, s2, s3, s4, s5, s6, s7;
sys/crypto/aes/arch/x86/aes_via.c
452
uint32_t s0, s1, s2, s3;
sys/crypto/aes/arch/x86/aes_via.c
455
s1 = *t1 >> 31;
sys/crypto/aes/arch/x86/aes_via.c
460
*t2 = (*t2 << 1) ^ s1;
sys/crypto/des/des_locl.h
174
unsigned int u1,u2,s1,s2; \
sys/crypto/des/des_locl.h
182
s1=(int)(u>>16L); \
sys/crypto/des/des_locl.h
184
s1&=0xfc; \
sys/crypto/des/des_locl.h
186
LL^= *(const DES_LONG *)(des_SP+0x400+s1); \
sys/crypto/des/des_locl.h
193
s1=(int)(t>>16L); \
sys/crypto/des/des_locl.h
195
s1&=0xfc; \
sys/crypto/des/des_locl.h
197
LL^= *(const DES_LONG *)(des_SP+0x400+s1); \
sys/crypto/des/des_locl.h
204
s1=(int)(t>>16L); \
sys/crypto/des/des_locl.h
206
s1&=0xfc; \
sys/crypto/des/des_locl.h
208
LL^= *(const DES_LONG *)(des_SP+0x500+s1); \
sys/crypto/des/des_locl.h
259
unsigned int u1,u2,s1,s2; \
sys/crypto/des/des_locl.h
268
s1=(int)u>>16L; \
sys/crypto/des/des_locl.h
270
s1&=0x3f; \
sys/crypto/des/des_locl.h
272
LL^=des_SPtrans[4][s1]; \
sys/crypto/des/des_locl.h
279
s1=(int)t>>16; \
sys/crypto/des/des_locl.h
281
s1&=0x3f; \
sys/crypto/des/des_locl.h
283
LL^=des_SPtrans[5][s1]; \
sys/dev/eisa/ahb.c
532
struct scsi_sense_data *s1, *s2;
sys/dev/eisa/ahb.c
581
s1 = &ecb->ecb_sense;
sys/dev/eisa/ahb.c
583
*s2 = *s1;
sys/dev/gpib/ppi.c
291
int s1, s2, len, cnt;
sys/dev/gpib/ppi.c
324
s1 = splsoftclock();
sys/dev/gpib/ppi.c
342
splx(s1);
sys/dev/gpib/ppi.c
345
splx(s1);
sys/dev/gpib/ppi.c
355
s1 = splbio();
sys/dev/gpib/ppi.c
360
splx(s1);
sys/dev/gpib/ppi.c
375
s1 = splsoftclock();
sys/dev/gpib/ppi.c
381
splx(s1);
sys/dev/gpib/ppi.c
393
splx(s1);
sys/dev/gpib/ppi.c
397
splx(s1);
sys/dev/gpib/ppi.c
409
s1 = splsoftclock();
sys/dev/gpib/ppi.c
418
splx(s1);
sys/dev/ic/adv.c
853
struct scsi_sense_data *s1, *s2;
sys/dev/ic/adv.c
928
s1 = &ccb->scsi_sense;
sys/dev/ic/adv.c
930
*s2 = *s1;
sys/dev/ic/adw.c
1027
struct scsi_sense_data *s1, *s2;
sys/dev/ic/adw.c
1075
s1 = &ccb->scsi_sense;
sys/dev/ic/adw.c
1077
*s2 = *s1;
sys/dev/ic/aha.c
661
struct scsi_sense_data *s1, *s2;
sys/dev/ic/aha.c
711
s1 = (struct scsi_sense_data *)
sys/dev/ic/aha.c
715
*s2 = *s1;
sys/dev/ic/atwvar.h
330
} s1;
sys/dev/ic/atwvar.h
338
#define atw_hdrctl u.s1.hdrctl
sys/dev/ic/atwvar.h
339
#define atw_fragthr u.s1.fragthr
sys/dev/ic/atwvar.h
340
#define atw_fragnum u.s1.fragnum
sys/dev/ic/atwvar.h
341
#define atw_rtylmt u.s1.rtylmt
sys/dev/ic/atwvar.h
342
#define atw_keyid u.s1.keyid
sys/dev/ic/uha.c
318
struct scsi_sense_data *s1, *s2;
sys/dev/ic/uha.c
362
s1 = &mscp->mscp_sense;
sys/dev/ic/uha.c
364
*s2 = *s1;
sys/dev/ipmi.c
1427
ipmi_convert(uint8_t v, struct sdrtype1 *s1, long adj)
sys/dev/ipmi.c
1432
int sign = (s1->units1 >> 6) & 0x3;
sys/dev/ipmi.c
1439
M = signextend((((short)(s1->m_tolerance & 0xC0)) << 2) + s1->m, 10);
sys/dev/ipmi.c
1440
B = signextend((((short)(s1->b_accuracy & 0xC0)) << 2) + s1->b, 10);
sys/dev/ipmi.c
1441
K1 = signextend(s1->rbexp & 0xF, 4);
sys/dev/ipmi.c
1442
K2 = signextend(s1->rbexp >> 4, 4);
sys/dev/ipmi.c
1457
switch (s1->linear & 0x7f) {
sys/dev/ipmi.c
1478
struct sdrtype1 *s1 = (struct sdrtype1 *)psensor->i_sdr;
sys/dev/ipmi.c
1483
val = ipmi_convert(reading[0], s1, 6) + 273150000;
sys/dev/ipmi.c
1487
val = ipmi_convert(reading[0], s1, 6);
sys/dev/ipmi.c
1491
val = ipmi_convert(reading[0], s1, 0);
sys/dev/ipmi.c
1492
if (((s1->units1>>3)&0x7) == 0x3)
sys/dev/ipmi.c
1559
struct sdrtype1 *s1 = (struct sdrtype1 *)psensor->i_sdr;
sys/dev/ipmi.c
1570
ipmi_sendcmd(sc, s1->owner_id, s1->owner_lun,
sys/dev/ipmi.c
1581
switch (s1->linear & 0x7f) {
sys/dev/ipmi.c
1710
struct sdrtype1 *s1 = (struct sdrtype1 *) psensor->i_sdr;
sys/dev/ipmi.c
1719
if (ipmi_sendcmd(sc, s1->owner_id, s1->owner_lun, SE_NETFN,
sys/dev/ipmi.c
1728
"rbexp=%u, linear=%d\n", s1->m, s1->m_tolerance, s1->b,
sys/dev/ipmi.c
1729
s1->b_accuracy, s1->rbexp, s1->linear);
sys/dev/ipmi.c
1774
struct sdrtype1 *s1 = (struct sdrtype1 *)psdr;
sys/dev/ipmi.c
1778
switch (s1->sdrhdr.record_type) {
sys/dev/ipmi.c
1780
ipmi_sensor_name(name, sizeof(name), s1->typelen, s1->name);
sys/dev/ipmi.c
1781
rc = add_child_sensors(sc, psdr, 1, s1->sensor_num,
sys/dev/ipmi.c
1782
s1->sensor_type, s1->event_code, 0, s1->entity_id, name);
sys/dev/ipmi.c
1820
struct sdrtype1 *s1 = (struct sdrtype1 *)psdr;
sys/dev/ipmi.c
1880
s1->sdrhdr.record_id, s1->sensor_type,
sys/dev/ipmi.c
1881
typ, s1->entity_id, s1->entity_instance,
sys/dev/isa/gus.c
742
u_char s1, s2;
sys/dev/isa/gus.c
780
s1 = guspeek(iot, ioh2, 0L);
sys/dev/isa/gus.c
789
guspoke(iot, ioh2, 0L, s1);
sys/dev/pci/qat/qat_hw15reg.h
203
} s1;
sys/dev/pci/qat/qat_hw17.c
246
resp.init_resp_pars.u.s1.version_patch_num);
sys/dev/pci/qat/qat_hw17reg.h
1552
} s1;
sys/dev/pci/qat/qat_hw17reg.h
157
} s1;
sys/dev/pci/qat/qat_hw17reg.h
2019
} s1;
sys/dev/pci/qat/qat_hw17reg.h
308
} s1;
sys/dev/pci/qat/qat_hw17reg.h
477
} s1;
sys/dev/pci/veritefb_ucode.h
128
#define VRISC_INT(op, d, s2, s1) \
sys/dev/pci/veritefb_ucode.h
130
((uint32_t)(s2) << 8) | ((uint32_t)(s1) & 0xff))
sys/dev/pci/veritefb_ucode.h
131
#define VRISC_LD(op, d, off8, s1) \
sys/dev/pci/veritefb_ucode.h
133
(((uint32_t)(off8) & 0xff) << 8) | ((uint32_t)(s1)))
sys/dev/pci/veritefb_ucode.h
134
#define VRISC_ST(op, off8, s2, s1) \
sys/dev/pci/veritefb_ucode.h
136
((uint32_t)(s2) << 8) | ((uint32_t)(s1)))
sys/dev/raidframe/rf_dagfuncs.c
576
unsigned long d0, d1, d2, d3, s0, s1, s2, s3; /* temps */
sys/dev/raidframe/rf_dagfuncs.c
596
s1 = pg_src[1];
sys/dev/raidframe/rf_dagfuncs.c
600
pg_dest[1] = d1 ^ s1;
sys/dev/raidframe/rf_nwayxor.c
77
unsigned long d0, d1, d2, d3, s0, s1, s2, s3;
sys/dev/raidframe/rf_nwayxor.c
86
s1 = src[1];
sys/dev/raidframe/rf_nwayxor.c
90
dest[1] = d1 ^ s1;
sys/dev/sbus/p9100.c
1733
int s0, s1, s2, s3, ps, crtcline;
sys/dev/sbus/p9100.c
1791
s1 = upper_bit(bits);
sys/dev/sbus/p9100.c
1792
if (s1 > 0) {
sys/dev/sbus/p9100.c
1793
bits &= ~(1 << s1);
sys/dev/sbus/p9100.c
1794
s1 -= 4;
sys/dev/sbus/p9100.c
1796
s1 = 0;
sys/dev/sbus/p9100.c
1805
DPRINTF("sls: %x sh: %d %d %d %d leftover: %x\n", new_sls, s0, s1,
sys/dev/sbus/p9100.c
1813
scr = (s0 << SHIFT_0) | (s1 << SHIFT_1) | (s2 << SHIFT_2) |
sys/dev/stbi/stb_image.c
1366
#define IDCT_1D(s0,s1,s2,s3,s4,s5,s6,s7) \
sys/dev/stbi/stb_image.c
1384
t3 = s1; \
sys/fs/adosfs/adlookup.c
47
#define strmatch(s1, l1, s2, l2, i) \
sys/fs/adosfs/adlookup.c
48
((l1) == (l2) && memcmp((s1), (s2), (l1)) == 0)
sys/fs/adosfs/adlookup.c
50
#define strmatch(s1, l1, s2, l2, i) \
sys/fs/adosfs/adlookup.c
51
((l1) == (l2) && adoscaseequ((s1), (s2), (l1), (i)))
sys/kern/subr_asan.c
487
kasan_strcmp(const char *s1, const char *s2)
sys/kern/subr_asan.c
490
kasan_shadow_check((unsigned long)s1, 1, false, __RET_ADDR);
sys/kern/subr_asan.c
492
if (*s1 != *s2)
sys/kern/subr_asan.c
494
if (*s1 == '\0')
sys/kern/subr_asan.c
496
s1++, s2++;
sys/kern/subr_asan.c
499
return (*(const unsigned char *)s1 - *(const unsigned char *)s2);
sys/kern/subr_autoconf.c
261
#define STREQ(s1, s2) \
sys/kern/subr_autoconf.c
262
(*(s1) == *(s2) && strcmp((s1), (s2)) == 0)
sys/kern/subr_autoconf.c
3077
match_strcmp(const char * const s1, const char * const s2)
sys/kern/subr_autoconf.c
3079
return strcmp(s1, s2) == 0;
sys/kern/subr_autoconf.c
3083
match_pmatch(const char * const s1, const char * const s2)
sys/kern/subr_autoconf.c
3085
return pmatch(s1, s2, NULL) == 2;
sys/kern/subr_csan.c
296
kcsan_strcmp(const char *s1, const char *s2)
sys/kern/subr_csan.c
299
kcsan_access((uintptr_t)s1, 1, false, false, __RET_ADDR);
sys/kern/subr_csan.c
301
if (*s1 != *s2)
sys/kern/subr_csan.c
303
if (*s1 == '\0')
sys/kern/subr_csan.c
305
s1++, s2++;
sys/kern/subr_csan.c
308
return (*(const unsigned char *)s1 - *(const unsigned char *)s2);
sys/kern/subr_msan.c
730
kmsan_strcmp(const char *s1, const char *s2)
sys/kern/subr_msan.c
732
const char *_s1 = s1, *_s2 = s2;
sys/kern/subr_msan.c
735
kmsan_check_arg(sizeof(s1) + sizeof(s2), "strcmp():args");
sys/kern/subr_msan.c
740
if (*s1 != *s2)
sys/kern/subr_msan.c
742
if (*s1 == '\0') {
sys/kern/subr_msan.c
747
s1++, s2++;
sys/kern/subr_msan.c
753
return (*(const unsigned char *)s1 - *(const unsigned char *)s2);
sys/lib/libkern/strlist.c
185
match_strcmp(const char * const s1, const char * const s2)
sys/lib/libkern/strlist.c
187
return strcmp(s1, s2) == 0;
sys/lib/libkern/strlist.c
192
match_pmatch(const char * const s1, const char * const s2)
sys/lib/libkern/strlist.c
194
return pmatch(s1, s2, NULL) == 2;
sys/lib/libsa/dosfs.c
159
#define strcasecmp(s1, s2) dos_strcasecmp(s1, s2)
sys/lib/libsa/dosfs.c
161
strcasecmp(const char *s1, const char *s2)
sys/lib/libsa/dosfs.c
166
c1 = *s1++;
sys/net/agr/ieee8023ad_lacp_sm.h
32
#define LACP_STATE_EQ(s1, s2, mask) \
sys/net/agr/ieee8023ad_lacp_sm.h
33
((((s1) ^ (s2)) & (mask)) == 0)
sys/net/lagg/if_lagg_lacp.c
1294
int bound, s0, s1;
sys/net/lagg/if_lagg_lacp.c
1310
s1 = pserialize_read_enter();
sys/net/lagg/if_lagg_lacp.c
1313
pserialize_read_exit(s1);
sys/net/lagg/if_lagg_lacp.c
1321
pserialize_read_exit(s1);
sys/net/zlib.c
247
extern int zmemcmp(const Bytef* s1, const Bytef* s2, uInt len);
sys/net/zlib.c
5671
int zmemcmp(s1, s2, len)
sys/net/zlib.c
5672
const Bytef* s1;
sys/net/zlib.c
5679
if (s1[j] != s2[j]) return 2*(s1[j] > s2[j])-1;
sys/net/zlib.c
5841
#define DO1(buf,i) {s1 += buf[i]; s2 += s1;}
sys/net/zlib.c
5850
unsigned long s1 = adler & 0xffff;
sys/net/zlib.c
5865
s1 += *buf++;
sys/net/zlib.c
5866
s2 += s1;
sys/net/zlib.c
5868
s1 %= BASE;
sys/net/zlib.c
5871
return (s2 << 16) | s1;
sys/netipsec/key.c
4827
char s1[IPSEC_ADDRSTRLEN], s2[IPSEC_ADDRSTRLEN];
sys/netipsec/key.c
4850
(in_print(s1, sizeof(s1), &sin1->sin_addr), s1),
sys/netipsec/key.c
4859
(in_print(s1, sizeof(s1), &sin1->sin_addr), s1),
sys/sys/sigtypes.h
76
#define __sigsetequal(s1,s2) ((s1)->__bits[0] == (s2)->__bits[0] && \
sys/sys/sigtypes.h
77
(s1)->__bits[1] == (s2)->__bits[1] && \
sys/sys/sigtypes.h
78
(s1)->__bits[2] == (s2)->__bits[2] && \
sys/sys/sigtypes.h
79
(s1)->__bits[3] == (s2)->__bits[3])
tests/compat/linux/h_linux.h
68
#define strcmp(s1, s2) __builtin_strcmp(s1, s2)
tests/include/sys/t_bitops.c
117
uint8_t i, s1, s2;
tests/include/sys/t_bitops.c
122
fast_divide32_prepare(b, &m, &s1, &s2);
tests/include/sys/t_bitops.c
124
q = fast_divide32(a, b, m, s1, s2);
tests/include/sys/t_bitops.c
125
r = fast_remainder32(a, b, m, s1, s2);
tests/include/sys/t_bitops.c
130
q, a, b, a / b, m, s1, s2);
tests/include/sys/t_bitops.c
134
q, a, b, a % b, m, s1, s2);
tests/include/sys/t_bitops.c
141
fast_divide32_prepare(b, &m, &s1, &s2);
tests/include/sys/t_bitops.c
143
q = fast_divide32(a, b, m, s1, s2);
tests/include/sys/t_bitops.c
144
r = fast_remainder32(a, b, m, s1, s2);
tests/include/sys/t_bitops.c
149
q, a, b, a / b, m, s1, s2);
tests/include/sys/t_bitops.c
153
q, a, b, a % b, m, s1, s2);
tests/include/sys/t_socket.c
102
s1 = rump_sys_socket(AF_LOCAL, SOCK_STREAM, 0);
tests/include/sys/t_socket.c
103
if (s1 == -1)
tests/include/sys/t_socket.c
105
if (rump_sys_bind(s1, (struct sockaddr *)&sun, SUN_LEN(&sun)) == -1)
tests/include/sys/t_socket.c
107
if (rump_sys_listen(s1, 1) == -1)
tests/include/sys/t_socket.c
165
sgot = rump_sys_accept(s1, (struct sockaddr *)&sun, &sl);
tests/include/sys/t_socket.c
89
int s1, s2, sgot;
tests/kernel/arch/x86/sig_fpu.c
118
struct save87 s, s1;
tests/kernel/arch/x86/sig_fpu.c
167
: /*out*/ [ready]"=m"(*ready), [s1]"=m"(s1)
tests/kernel/arch/x86/sig_fpu.c
175
if (memcmp(s.s87_ac, s1.s87_ac, sizeof(s.s87_ac)) != 0) {
tests/kernel/arch/x86/sig_fpu.c
179
if (memcmp(&s.s87_ac[i], &s1.s87_ac[i],
tests/kernel/arch/x86/sig_fpu.c
185
s1.s87_ac[i].f87_exp_sign,
tests/kernel/arch/x86/sig_fpu.c
186
s1.s87_ac[i].f87_mantissa,
tests/kernel/arch/x86/sig_fpu.c
192
if ((s1.s87_cw & (X87_CW_RC | X87_CW_PC | X87_CW_SW_EXC)) !=
tests/kernel/arch/x86/sig_fpu.c
196
s1.s87_cw, s.s87_cw,
tests/kernel/arch/x86/sig_fpu.c
197
(uint32_t)((s1.s87_cw ^ s.s87_cw) &
tests/kernel/arch/x86/sig_fpu.c
201
if ((s1.s87_sw & X87_CW_SW_EXC) !=
tests/kernel/arch/x86/sig_fpu.c
205
s1.s87_sw, s.s87_sw,
tests/kernel/arch/x86/sig_fpu.c
206
(uint32_t)((s1.s87_sw ^ s.s87_sw) &
tests/lib/libc/regex/t_exhaust.c
118
char *d, *s1, *s2;
tests/lib/libc/regex/t_exhaust.c
119
s1 = mkstr("\\(", len);
tests/lib/libc/regex/t_exhaust.c
120
s2 = concat(s1, ")");
tests/lib/libc/regex/t_exhaust.c
121
free(s1);
tests/lib/libc/regex/t_exhaust.c
130
char *d, *s1, *s2, *s3;
tests/lib/libc/regex/t_exhaust.c
131
s1 = mkstr("\\(", 60);
tests/lib/libc/regex/t_exhaust.c
133
s3 = concat(s1, s2);
tests/lib/libc/regex/t_exhaust.c
135
free(s1);
tests/lib/libc/regex/t_exhaust.c
136
s1 = concat(s3, ")");
tests/lib/libc/regex/t_exhaust.c
138
d = concat("(", s1);
tests/lib/libc/regex/t_exhaust.c
139
free(s1);
tests/lib/libc/regex/t_exhaust.c
146
char *d, *s1, *s2, *s3;
tests/lib/libc/regex/t_exhaust.c
147
s1 = mkstr(m, len);
tests/lib/libc/regex/t_exhaust.c
149
s3 = concat(s1, s2);
tests/lib/libc/regex/t_exhaust.c
151
free(s1);
tests/lib/libc/regex/t_exhaust.c
184
char *d, *s1, *s2;
tests/lib/libc/regex/t_exhaust.c
185
s1 = mkstr("(?:(.*)|", len);
tests/lib/libc/regex/t_exhaust.c
186
s2 = concat(s1, "(.*)");
tests/lib/libc/regex/t_exhaust.c
187
free(s1);
tests/lib/libc/regex/t_exhaust.c
188
s1 = mkstr(")", len);
tests/lib/libc/regex/t_exhaust.c
189
d = concat(s2, s1);
tests/lib/libc/regex/t_exhaust.c
190
free(s1);
tests/lib/libprop/t_proplib.c
342
prop_number_t s1, s2, u1, u2, u3, u4;
tests/lib/libprop/t_proplib.c
349
s1 = prop_number_create_signed(INTMAX_MAX);
tests/lib/libprop/t_proplib.c
350
ATF_REQUIRE(s1 != NULL);
tests/lib/libprop/t_proplib.c
351
ATF_REQUIRE(prop_number_unsigned(s1) == false);
tests/lib/libprop/t_proplib.c
352
ATF_REQUIRE(prop_number_signed_value(s1) == INTMAX_MAX);
tests/lib/libprop/t_proplib.c
353
ATF_REQUIRE(prop_number_unsigned_value(s1) == INTMAX_MAX);
tests/lib/libprop/t_proplib.c
354
ATF_REQUIRE(prop_number_equals_signed(s1, INTMAX_MAX) == true);
tests/lib/libprop/t_proplib.c
357
ATF_REQUIRE(s2 == s1);
tests/lib/libprop/t_proplib.c
379
ATF_REQUIRE(u4 != s1);
tests/lib/libprop/t_proplib.c
383
prop_object_release(s1);
tests/lib/libprop/t_proplib.c
737
prop_string_t s1, s2, s3;
tests/lib/libprop/t_proplib.c
746
s1 = prop_string_create_nocopy(const_string1);
tests/lib/libprop/t_proplib.c
747
ATF_REQUIRE(s1 != NULL);
tests/lib/libprop/t_proplib.c
750
ATF_REQUIRE(s2 == s1);
tests/lib/libprop/t_proplib.c
751
ATF_REQUIRE(prop_string_value(s1) == const_string1);
tests/lib/libprop/t_proplib.c
752
prop_object_release(s1);
tests/lib/libprop/t_proplib.c
755
s1 = prop_string_create_copy(const_string1);
tests/lib/libprop/t_proplib.c
756
ATF_REQUIRE(s1 != NULL);
tests/lib/libprop/t_proplib.c
759
ATF_REQUIRE(s2 == s1);
tests/lib/libprop/t_proplib.c
760
ATF_REQUIRE(prop_string_value(s1) != const_string1);
tests/lib/libprop/t_proplib.c
761
prop_object_release(s1);
tests/lib/libprop/t_proplib.c
764
s1 = prop_string_create_format("%d-%d", 12345, 67890);
tests/lib/libprop/t_proplib.c
765
ATF_REQUIRE(s1 != NULL);
tests/lib/libprop/t_proplib.c
766
ATF_REQUIRE(strcmp(prop_string_value(s1), "12345-67890") == 0);
tests/lib/libprop/t_proplib.c
767
ATF_REQUIRE(prop_string_equals_string(s1, "12345-67890"));
tests/lib/libprop/t_proplib.c
768
prop_object_release(s1);
tests/lib/libprop/t_proplib.c
770
s1 = prop_string_create_nocopy(const_string1);
tests/lib/libprop/t_proplib.c
771
ATF_REQUIRE(s1 != NULL);
tests/lib/libprop/t_proplib.c
774
ATF_REQUIRE(prop_string_size(s1) == strlen(const_string1));
tests/lib/libprop/t_proplib.c
776
ATF_REQUIRE(prop_string_copy_value(s1, buf, sizeof(buf)));
tests/lib/libprop/t_proplib.c
778
prop_object_release(s1);
tests/lib/libprop/t_proplib.c
781
s1 = prop_string_create_copy("a");
tests/lib/libprop/t_proplib.c
782
ATF_REQUIRE(s1 != NULL);
tests/lib/libprop/t_proplib.c
790
ATF_REQUIRE(!prop_string_equals(s1, s2));
tests/lib/libprop/t_proplib.c
792
ATF_REQUIRE(prop_string_compare(s1, s2) < 0);
tests/lib/libprop/t_proplib.c
793
ATF_REQUIRE(prop_string_compare(s2, s1) > 0);
tests/lib/libprop/t_proplib.c
795
ATF_REQUIRE(prop_string_compare_string(s1, "b") < 0);
tests/lib/libprop/t_proplib.c
798
ATF_REQUIRE(prop_string_compare(s1, (prop_string_t)num) != 0);
tests/lib/libprop/t_proplib.c
799
ATF_REQUIRE(prop_string_compare((prop_string_t)num, s1) != 0);
tests/lib/libprop/t_proplib.c
801
prop_object_release(s1);
tests/lib/librt/t_sched.c
51
struct sched_param s1, s2;
tests/lib/librt/t_sched.c
58
ATF_REQUIRE(sched_getparam(0, &s1) == 0);
tests/lib/librt/t_sched.c
61
ATF_CHECK_EQ(s1.sched_priority, s2.sched_priority);
tests/lib/librt/t_sched.c
67
ATF_REQUIRE(sched_getparam(-1, &s1) != 0);
tests/lib/librumpclient/h_exec.c
103
if (rump_sys_fcntl(s1, F_SETFD, FD_CLOEXEC) == -1) {
tests/lib/librumpclient/h_exec.c
51
int s1, s2;
tests/lib/librumpclient/h_exec.c
71
if ((s1 = rump_sys_socket(PF_INET, SOCK_STREAM, 0)) == -1)
tests/lib/librumpclient/h_exec.c
81
if (rump_sys_bind(s1, (struct sockaddr *)&sin, sizeof(sin)) == -1)
tests/lib/librumpclient/h_exec.c
87
if (rump_sys_listen(s1, 1) == -1)
tests/net/can/t_can.c
410
int s1, rv1;
tests/net/can/t_can.c
426
if ((s1 = rump_sys_socket(AF_CAN, SOCK_RAW, CAN_RAW)) < 0) {
tests/net/can/t_can.c
453
if (can_read(s1, &cf_receive1, &rv1) < 0) {
tests/net/can/t_can.c
472
int s1, rv1;
tests/net/can/t_can.c
490
s1 = -1;
tests/net/can/t_can.c
491
if ((s1 = rump_sys_socket(AF_CAN, SOCK_RAW, CAN_RAW)) < 0) {
tests/net/can/t_can.c
514
if (can_recvfrom(s1, &cf_receive1, &rv1, &sa) < 0) {
tests/net/can/t_can.c
537
int s1, rv1;
tests/net/can/t_can.c
556
s1 = can_socket_with_own();
tests/net/can/t_can.c
558
can_bind(s1, ifname);
tests/net/can/t_can.c
578
if (can_recvfrom(s1, &cf_receive1, &rv1, &sa) < 0) {
tests/net/can/t_can.c
604
int s1, rv1;
tests/net/can/t_can.c
627
s1 = can_socket_with_own();
tests/net/can/t_can.c
629
if (rump_sys_setsockopt(s1, SOL_CAN_RAW, CAN_RAW_LOOPBACK,
tests/net/can/t_can.c
635
if (rump_sys_getsockopt(s1, SOL_CAN_RAW, CAN_RAW_LOOPBACK,
tests/net/can/t_can.c
642
ifindex = can_bind(s1, ifname);
tests/net/can/t_can.c
647
if (rump_sys_write(s1, &cf_send, sizeof(cf_send)) < 0) {
tests/net/can/t_can.c
656
FD_SET(s1, &rfds);
tests/net/can/t_can.c
661
rv1 = rump_sys_select(MAX(s1,s2) + 1, &rfds, NULL, NULL, &tmout);
tests/net/can/t_can.c
672
ATF_CHECK_MSG(FD_ISSET(s1, &rfds) || FD_ISSET(s2, &rfds),
tests/net/can/t_can.c
674
if (FD_ISSET(s1, &rfds)) {
tests/net/can/t_can.c
675
if (( rv1 = rump_sys_recvfrom(s1, &cf_receive1,
tests/usr.bin/indent/lsym_preprocessing.c
111
int s1 ;
tests/usr.bin/indent/lsym_preprocessing.c
128
int s1;
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
166
str_equal_bad(const char *s1, const char *s2)
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
170
return !strcmp(s1, s2);
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
174
str_equal_good(const char *s1, const char *s2)
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
176
return strcmp(s1, s2) == 0;
tests/usr.bin/xlint/lint1/decl.c
256
unsigned int off_plain:(unsigned long)&((s1 *)0)->plain;
tests/usr.bin/xlint/lint1/decl.c
257
unsigned int off_arr:(unsigned long)&((s1 *)0)->arr;
tests/usr.bin/xlint/lint1/decl.c
258
unsigned int off_arr_0:(unsigned long)&((s1 *)0)->arr[0];
tests/usr.bin/xlint/lint1/decl.c
259
unsigned int off_arr_3:(unsigned long)&((s1 *)0)->arr[3];
tests/usr.bin/xlint/lint1/decl.c
264
typedef int off_plain[-(int)(unsigned long)&((s1 *)0)->plain];
tests/usr.bin/xlint/lint1/decl.c
266
typedef int off_arr[-(int)(unsigned long)&((s1 *)0)->arr];
tests/usr.bin/xlint/lint1/decl.c
268
typedef int off_arr_0[-(int)(unsigned long)&((s1 *)0)->arr[0]];
tests/usr.bin/xlint/lint1/decl.c
270
typedef int off_arr_3[-(int)(unsigned long)&((s1 *)0)->arr[3]];
tests/usr.bin/xlint/lint1/init.c
71
struct incomplete_struct s1 = {
tools/m4/bootstrap/tokenizer.c
1812
static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
tools/m4/bootstrap/tokenizer.c
1816
s1[i] = s2[i];
usr.bin/cdplay/cdplay.c
645
u_int n, tr1, tr2, m1, m2, s1, s2, f1, f2, tm, ts, tf;
usr.bin/cdplay/cdplay.c
696
&s1, &f1, &tr2, &m2, &s2, &f2))
usr.bin/cdplay/cdplay.c
700
if (7 == sscanf(arg, "%u %u:%u %u %u:%u.%u", &tr1, &m1, &s1,
usr.bin/cdplay/cdplay.c
705
if (7 == sscanf(arg, "%u %u:%u.%u %u %u:%u", &tr1, &m1, &s1,
usr.bin/cdplay/cdplay.c
710
if (7 == sscanf(arg, "%u %u:%u.%u %u:%u.%u", &tr1, &m1, &s1,
usr.bin/cdplay/cdplay.c
715
if (6 == sscanf(arg, "%u %u:%u.%u %u:%u", &tr1, &m1, &s1, &f1,
usr.bin/cdplay/cdplay.c
720
if (6 == sscanf(arg, "%u %u:%u %u:%u.%u", &tr1, &m1, &s1, &m2,
usr.bin/cdplay/cdplay.c
725
if (6 == sscanf(arg, "%u %u:%u.%u %u %u", &tr1, &m1, &s1, &f1,
usr.bin/cdplay/cdplay.c
730
if (6 == sscanf(arg, "%u %u:%u %u %u:%u", &tr1, &m1, &s1, &tr2,
usr.bin/cdplay/cdplay.c
735
if (5 == sscanf(arg, "%u %u:%u %u:%u", &tr1, &m1, &s1, &m2,
usr.bin/cdplay/cdplay.c
740
if (5 == sscanf(arg, "%u %u:%u %u %u", &tr1, &m1, &s1, &tr2,
usr.bin/cdplay/cdplay.c
746
if (5 == sscanf(arg, "%u %u:%u.%u %u", &tr1, &m1, &s1, &f1,
usr.bin/cdplay/cdplay.c
751
if (4 == sscanf(arg, "%u %u:%u %u", &tr1, &m1, &s1, &tr2))
usr.bin/cdplay/cdplay.c
755
if (4 == sscanf(arg, "%u %u:%u.%u", &tr1, &m1, &s1, &f1))
usr.bin/cdplay/cdplay.c
759
if (3 == sscanf(arg, "%u %u:%u", &tr1, &m1, &s1))
usr.bin/cdplay/cdplay.c
772
addmsf(&m1, &s1, &f1, tm, ts, tf);
usr.bin/cdplay/cdplay.c
776
if ((m1 > tm) || ((m1 == tm) && ((s1 > ts) || ((s1 == ts) &&
usr.bin/cdplay/cdplay.c
788
addmsf(&m2, &s2, &f2, m1, s1, f1);
usr.bin/cdplay/cdplay.c
815
return play_msf(m1, s1, f1, m2, s2, f2);
usr.bin/cdplay/cdplay.c
821
&m1, &s1, &f1, &m2, &s2, &f2) &&
usr.bin/cdplay/cdplay.c
822
5 != sscanf(arg, "%d:%d.%d%d:%d", &m1, &s1, &f1, &m2, &s2) &&
usr.bin/cdplay/cdplay.c
823
5 != sscanf(arg, "%d:%d%d:%d.%d", &m1, &s1, &m2, &s2, &f2) &&
usr.bin/cdplay/cdplay.c
824
3 != sscanf(arg, "%d:%d.%d", &m1, &s1, &f1) &&
usr.bin/cdplay/cdplay.c
825
4 != sscanf(arg, "%d:%d%d:%d", &m1, &s1, &m2, &s2) &&
usr.bin/cdplay/cdplay.c
826
2 != sscanf(arg, "%d:%d", &m1, &s1))
usr.bin/cdplay/cdplay.c
841
return play_msf(m1, s1, f1, m2, s2, f2);
usr.bin/checknr/checknr.c
523
eq(const char *s1, const char *s2)
usr.bin/checknr/checknr.c
525
return strcmp(s1, s2) == 0;
usr.bin/fmt/fmt.c
551
ispref(const wchar_t *s1, const wchar_t *s2)
usr.bin/fmt/fmt.c
554
while (*s1++ == *s2)
usr.bin/fmt/fmt.c
556
return *s1 == '\0';
usr.bin/iconv/iconv.c
68
const char * const *s1 = v1;
usr.bin/iconv/iconv.c
71
return strcasecmp(*s1, *s2);
usr.bin/kdump/kdump.c
95
#define eqs(s1, s2) (strcmp((s1), (s2)) == 0)
usr.bin/locale/locale.c
330
scmp(const void *s1, const void *s2)
usr.bin/locale/locale.c
332
return strcmp(*(const char **)s1, *(const char **)s2);
usr.bin/lock/lock.c
109
char hostname[MAXHOSTNAMELEN + 1], s[BUFSIZ], s1[BUFSIZ];
usr.bin/lock/lock.c
204
(void)fgets(s1, sizeof(s1), stdin);
usr.bin/lock/lock.c
206
if (strcmp(s1, s)) {
usr.bin/lock/lock.c
213
mypw = s1;
usr.bin/lock/lock.c
283
if (!strcmp(s, s1))
usr.bin/look/look.c
305
compare(char *s1, char *s2, char *back)
usr.bin/look/look.c
309
for (; *s1 && s2 < back && *s2 != '\n'; ++s1, ++s2) {
usr.bin/look/look.c
320
if (*s1 != ch)
usr.bin/look/look.c
321
return (*s1 < ch ? LESS : GREATER);
usr.bin/look/look.c
323
return (*s1 ? GREATER : EQUAL);
usr.bin/m4/misc.c
356
xreallocarray(void *old, size_t s1, size_t s2, const char *fmt, ...)
usr.bin/m4/misc.c
358
void *p = reallocarray(old, s1, s2);
usr.bin/m4/misc.c
73
doindex(const char *s1, const char *s2)
usr.bin/m4/misc.c
77
t = strstr(s1, s2);
usr.bin/m4/misc.c
81
return (t - s1);
usr.bin/mail/complete.c
637
int s1;
usr.bin/mail/complete.c
647
s1 = 1;
usr.bin/mail/complete.c
651
s1++;
usr.bin/mail/complete.c
657
ap = salloc(MAX(s1, s2) * sizeof(*ap));
usr.bin/mail/lex.c
570
char *s1;
usr.bin/mail/lex.c
573
s1 = as1;
usr.bin/mail/lex.c
575
while (*s1++ == *s2)
usr.bin/mail/lex.c
578
return *--s1 == '\0';
usr.bin/mail/support.c
666
copy(char *s1, char *s2)
usr.bin/mail/support.c
669
while ((*s2++ = *s1++) != '\0')
usr.bin/make/str.c
100
memcpy(result, s1, len1);
usr.bin/make/str.c
82
str_concat2(const char *s1, const char *s2)
usr.bin/make/str.c
84
size_t len1 = strlen(s1);
usr.bin/make/str.c
87
memcpy(result, s1, len1);
usr.bin/make/str.c
94
str_concat3(const char *s1, const char *s2, const char *s3)
usr.bin/make/str.c
96
size_t len1 = strlen(s1);
usr.bin/netstat/mroute.c
273
char s0[256*3], s1[256], s2[256], s3[256];
usr.bin/netstat/mroute.c
290
snprintf(s1, sizeof s1, "%llu",
usr.bin/netstat/mroute.c
293
snprintf(s1, sizeof s1, "?");
usr.bin/netstat/mroute.c
302
s1, s2);
usr.bin/netstat/mroute.c
315
snprintf(s1, sizeof s1, "%llu",
usr.bin/netstat/mroute.c
318
snprintf(s1, sizeof s1, "?");
usr.bin/netstat/mroute.c
327
s1, s2);
usr.bin/patch/common.h
61
#define strNE(s1,s2) (strcmp(s1, s2))
usr.bin/patch/common.h
62
#define strEQ(s1,s2) (!strcmp(s1, s2))
usr.bin/patch/common.h
63
#define strnNE(s1,s2,l) (strncmp(s1, s2, l))
usr.bin/patch/common.h
64
#define strnEQ(s1,s2,l) (!strncmp(s1, s2, l))
usr.bin/rdist/expand.c
527
Cat(const char *s1, const char *s2)
usr.bin/rdist/expand.c
529
int len = strlen(s1) + strlen(s2) + 1;
usr.bin/rdist/expand.c
539
while ((*s++ = *s1++ & TRIM) != 0)
usr.bin/rdist/expand.c
566
char *s1, *s2, *s3;
usr.bin/rdist/expand.c
599
for (s1 = expbuf; (*s1++ = *s2++) != 0; )
usr.bin/rdist/expand.c
601
s2 = --s1;
usr.bin/rdist/expand.c
604
while ((*s1++ = *s3++) != 0)
usr.bin/sdiff/sdiff.c
162
*tmp1, *tmp2, *s1, *s2;
usr.bin/sdiff/sdiff.c
347
while ((s1 = xfgets(file1)))
usr.bin/sdiff/sdiff.c
348
enqueue(s1, ' ', NULL);
usr.bin/sdiff/sdiff.c
351
s1 = xfgets(file1);
usr.bin/sdiff/sdiff.c
353
if (s1 || s2)
usr.bin/sdiff/sdiff.c
354
enqueue(s1, ' ', s2);
usr.bin/sdiff/sdiff.c
414
prompt(const char *s1, const char *s2)
usr.bin/sdiff/sdiff.c
434
if (eparse(p, s1, s2) == -1)
usr.bin/sdiff/sdiff.c
440
if (s1 != NULL)
usr.bin/sdiff/sdiff.c
441
fprintf(outfile, "%s\n", s1);
usr.bin/sdiff/sdiff.c
499
println(const char *s1, const char divc, const char *s2)
usr.bin/sdiff/sdiff.c
505
if (s1) {
usr.bin/sdiff/sdiff.c
507
printcol(s1, &col, width);
usr.bin/sdiff/sdiff.c
668
char *s1, *s2;
usr.bin/sdiff/sdiff.c
670
if (!(s1 = xfgets(file1)))
usr.bin/sdiff/sdiff.c
686
enqueue(s1, '(', NULL);
usr.bin/sdiff/sdiff.c
688
enqueue(s1, ' ', NULL);
usr.bin/sdiff/sdiff.c
690
enqueue(s1, ' ', s2);
usr.bin/spell/spellprog/look.c
168
compare(u_char *s1, u_char *s2, u_char *back)
usr.bin/spell/spellprog/look.c
173
for (;; ++s1, ++s2) {
usr.bin/spell/spellprog/look.c
180
if (*s1 != ch)
usr.bin/spell/spellprog/look.c
181
return (*s1 - ch);
usr.bin/systat/cmds.c
157
prefix(const char *s1, const char *s2)
usr.bin/systat/cmds.c
160
while (*s1 == *s2) {
usr.bin/systat/cmds.c
161
if (*s1 == '\0')
usr.bin/systat/cmds.c
163
s1++, s2++;
usr.bin/systat/cmds.c
165
return (*s1 == '\0');
usr.bin/systat/syscall.c
126
s1 = s2;
usr.bin/systat/syscall.c
203
show_vmstat_top(&s.Total, &s.uvmexp, &s1.uvmexp);
usr.bin/systat/syscall.c
210
v = s.counts[i] - s1.counts[i];
usr.bin/systat/syscall.c
213
v = s.times[i] - s1.times[i];
usr.bin/systat/syscall.c
216
v = s.counts[i] - s1.counts[i];
usr.bin/systat/syscall.c
217
v = v ? (s.times[i] - s1.times[i]) / v : 0;
usr.bin/systat/syscall.c
281
memcpy(s1.counts, s.counts, sizeof s1.counts);
usr.bin/systat/syscall.c
282
memcpy(s1.times, s.times, sizeof s1.times);
usr.bin/systat/syscall.c
293
memset(&s1, 0, sizeof s1);
usr.bin/systat/syscall.c
300
s1 = s2;
usr.bin/systat/syscall.c
313
s1 = s;
usr.bin/systat/syscall.c
62
} s, s1, s2;
usr.bin/systat/vmstat.c
242
allocinfo(&s1);
usr.bin/systat/vmstat.c
247
copyinfo(&s2, &s1);
usr.bin/systat/vmstat.c
404
#define X(s, s1, fld) {temp = (s).fld[i]; (s).fld[i] -= (s1).fld[i]; \
usr.bin/systat/vmstat.c
405
if (display_mode == TIME) (s1).fld[i] = temp;}
usr.bin/systat/vmstat.c
406
#define Z(s, s1, fld) {temp = (s).nchstats.fld; \
usr.bin/systat/vmstat.c
407
(s).nchstats.fld -= (s1).nchstats.fld; \
usr.bin/systat/vmstat.c
408
if (display_mode == TIME) (s1).nchstats.fld = temp;}
usr.bin/systat/vmstat.c
409
#define PUTRATE(s, s1, fld, l, c, w) \
usr.bin/systat/vmstat.c
410
{temp = (s).fld; (s).fld -= (s1).fld; \
usr.bin/systat/vmstat.c
411
if (display_mode == TIME) (s1).fld = temp; \
usr.bin/systat/vmstat.c
497
show_vmstat_top(&s.Total, &s.uvmexp, &s1.uvmexp);
usr.bin/systat/vmstat.c
555
Z(s, s1, ncs_goodhits); Z(s, s1, ncs_badhits); Z(s, s1, ncs_miss);
usr.bin/systat/vmstat.c
556
Z(s, s1, ncs_long); Z(s, s1, ncs_pass2); Z(s, s1, ncs_2passes);
usr.bin/systat/vmstat.c
561
s1.nchcount = s.nchcount;
usr.bin/systat/vmstat.c
632
X(s, s1, intrcnt);
usr.bin/systat/vmstat.c
647
X(s, s1, evcnt);
usr.bin/systat/vmstat.c
654
PUTRATE(s, s1, uvmexp.forks, VMSTATROW + 0, VMSTATCOL + 3, 6);
usr.bin/systat/vmstat.c
655
PUTRATE(s, s1, uvmexp.forks_ppwait, VMSTATROW + 1, VMSTATCOL + 3, 6);
usr.bin/systat/vmstat.c
656
PUTRATE(s, s1, uvmexp.forks_sharevm, VMSTATROW + 2, VMSTATCOL + 3, 6);
usr.bin/systat/vmstat.c
657
PUTRATE(s, s1, uvmexp.fltpgwait, VMSTATROW + 3, VMSTATCOL + 4, 5);
usr.bin/systat/vmstat.c
658
PUTRATE(s, s1, uvmexp.fltrelck, VMSTATROW + 4, VMSTATCOL + 3, 6);
usr.bin/systat/vmstat.c
659
PUTRATE(s, s1, uvmexp.fltrelckok, VMSTATROW + 5, VMSTATCOL + 3, 6);
usr.bin/systat/vmstat.c
660
PUTRATE(s, s1, uvmexp.fltnoram, VMSTATROW + 6, VMSTATCOL + 3, 6);
usr.bin/systat/vmstat.c
661
PUTRATE(s, s1, uvmexp.fltamcopy, VMSTATROW + 7, VMSTATCOL + 3, 6);
usr.bin/systat/vmstat.c
662
PUTRATE(s, s1, uvmexp.flt_prcopy, VMSTATROW + 8, VMSTATCOL + 3, 6);
usr.bin/systat/vmstat.c
663
PUTRATE(s, s1, uvmexp.flt_przero, VMSTATROW + 9, VMSTATCOL + 3, 6);
usr.bin/systat/vmstat.c
664
PUTRATE(s, s1, uvmexp.flt_acow, VMSTATROW + 10, VMSTATCOL, 9);
usr.bin/systat/vmstat.c
669
PUTRATE(s, s1, uvmexp.pdfreed, VMSTATROW + 15, VMSTATCOL, 9);
usr.bin/systat/vmstat.c
671
PUTRATE(s, s1, uvmexp.pdscans, VMSTATROW + 16, VMSTATCOL, 9);
usr.bin/systat/vmstat.c
678
copyinfo(&z, &s1);
usr.bin/systat/vmstat.c
685
copyinfo(&s1, &s2);
usr.bin/systat/vmstat.c
699
getinfo(&s1);
usr.bin/systat/vmstat.c
70
} s, s1, s2, z;
usr.bin/telnet/commands.c
1921
EncryptHelp(char *s1, char *s2)
usr.bin/tip/aculib/v3451.c
199
prefix(const char *s1, char *s2)
usr.bin/tip/aculib/v3451.c
203
while ((c = *s1++) == *s2++)
usr.bin/tip/cmds.c
921
anyof(char *s1, const char *s2)
usr.bin/tip/cmds.c
925
while ((c = *s1++) != '\0')
usr.bin/tr/tr.c
173
s1 = NULL; /* for safety */
usr.bin/tr/tr.c
178
s1 = str_create(1, argv[0]);
usr.bin/tr/tr.c
214
if (!next(s1, &ch)) {
usr.bin/tr/tr.c
252
if (s1 != NULL) {
usr.bin/tr/tr.c
253
str_destroy(s1);
usr.bin/tr/tr.c
65
STR *s1, *s2;
usr.bin/tsort/tsort.c
204
add_arc(const char *s1, const char *s2)
usr.bin/tsort/tsort.c
210
n1 = get_node(s1);
usr.bin/tsort/tsort.c
212
if (strcmp(s1, s2) == 0)
usr.bin/vgrind/regexp.c
361
char *ptr,*s1; /* temporary pointer */
usr.bin/vgrind/regexp.c
451
s1 = s;
usr.bin/vgrind/regexp.c
453
ptr = expmatch(s1, MNEXT(cs), mstring);
usr.bin/vgrind/regexp.c
454
if (ptr != NULL && s1 != s) {
usr.bin/vgrind/regexp.c
457
strncpy(mstring, s, (size_t)(s1 - s));
usr.bin/vgrind/regexp.c
458
mstring[s1 - s] = '\0';
usr.bin/vgrind/regexp.c
469
if (!isalnum((unsigned char)*s1) && *s1 != '_')
usr.bin/vgrind/regexp.c
471
if (*s1 == '\\')
usr.bin/vgrind/regexp.c
475
} while (*s1++);
usr.bin/vgrind/regexp.c
485
s1 = s;
usr.bin/vgrind/regexp.c
487
ptr = expmatch(s1, MNEXT(cs), mstring);
usr.bin/vgrind/regexp.c
488
if (ptr != NULL && s1 != s) {
usr.bin/vgrind/regexp.c
501
if (*s1 == '\\')
usr.bin/vgrind/regexp.c
505
} while (*s1++);
usr.bin/vgrind/regexp.c
78
STRNCMP(char *s1, char *s2, int len)
usr.bin/vgrind/regexp.c
82
if (*s2 - makelower(*s1))
usr.bin/vgrind/regexp.c
83
return *s2 - makelower(*s1);
usr.bin/vgrind/regexp.c
86
s1++;
usr.bin/vgrind/regexp.c
91
if (*s2 - *s1)
usr.bin/vgrind/regexp.c
92
return *s2 - *s1;
usr.bin/vgrind/regexp.c
95
s1++;
usr.bin/xargs/strnsubst.c
40
char *s1, *s2, *this;
usr.bin/xargs/strnsubst.c
42
s1 = *str;
usr.bin/xargs/strnsubst.c
43
if (s1 == NULL)
usr.bin/xargs/strnsubst.c
55
maxsize = strlen(s1) + 1;
usr.bin/xargs/strnsubst.c
64
if (match == NULL || replstr == NULL || maxsize == strlen(s1)) {
usr.bin/xargs/strnsubst.c
65
(void)strlcpy(s2, s1, maxsize);
usr.bin/xargs/strnsubst.c
70
this = strstr(s1, match);
usr.bin/xargs/strnsubst.c
73
if ((strlen(s2) + strlen(s1) + strlen(replstr) -
usr.bin/xargs/strnsubst.c
75
(void)strlcat(s2, s1, maxsize);
usr.bin/xargs/strnsubst.c
78
(void)strncat(s2, s1, (uintptr_t)this - (uintptr_t)s1);
usr.bin/xargs/strnsubst.c
80
s1 = this + strlen(match);
usr.bin/xargs/strnsubst.c
82
(void)strcat(s2, s1);
usr.bin/xlint/lint1/tree.c
5262
cat_strings(buffer *s1, buffer *s2)
usr.bin/xlint/lint1/tree.c
5265
if ((s1->data != NULL) != (s2->data != NULL)) {
usr.bin/xlint/lint1/tree.c
5268
return s1;
usr.bin/xlint/lint1/tree.c
5271
if (s1->data != NULL) {
usr.bin/xlint/lint1/tree.c
5272
while (s1->len + s2->len + 1 > s1->cap)
usr.bin/xlint/lint1/tree.c
5273
s1->cap *= 2;
usr.bin/xlint/lint1/tree.c
5274
s1->data = xrealloc(s1->data, s1->cap);
usr.bin/xlint/lint1/tree.c
5275
memcpy(s1->data + s1->len, s2->data, s2->len + 1);
usr.bin/xlint/lint1/tree.c
5278
s1->len += s2->len;
usr.bin/xlint/lint1/tree.c
5281
return s1;
usr.bin/xlint/xlint/xlint.c
164
concat2(const char *s1, const char *s2)
usr.bin/xlint/xlint/xlint.c
167
size_t len1 = strlen(s1);
usr.bin/xlint/xlint/xlint.c
170
memcpy(s, s1, len1);
usr.sbin/altq/libaltq/parser.c
89
#define EQUAL(s1, s2) (strcmp((s1), (s2)) == 0)
usr.sbin/altq/libaltq/qop_blue.c
81
#define EQUAL(s1, s2) (strcmp((s1), (s2)) == 0)
usr.sbin/altq/libaltq/qop_cbq.c
107
#define EQUAL(s1, s2) (strcmp((s1), (s2)) == 0)
usr.sbin/altq/libaltq/qop_dummy.c
69
#define EQUAL(s1, s2) (strcmp((s1), (s2)) == 0)
usr.sbin/altq/libaltq/qop_fifoq.c
81
#define EQUAL(s1, s2) (strcmp((s1), (s2)) == 0)
usr.sbin/altq/libaltq/qop_hfsc.c
100
#define EQUAL(s1, s2) (strcmp((s1), (s2)) == 0)
usr.sbin/altq/libaltq/qop_jobs.c
145
#define EQUAL(s1, s2) (strcmp((s1), (s2)) == 0)
usr.sbin/altq/libaltq/qop_priq.c
86
#define EQUAL(s1, s2) (strcmp((s1), (s2)) == 0)
usr.sbin/altq/libaltq/qop_red.c
81
#define EQUAL(s1, s2) (strcmp((s1), (s2)) == 0)
usr.sbin/altq/libaltq/qop_rio.c
82
#define EQUAL(s1, s2) (strcmp((s1), (s2)) == 0)
usr.sbin/altq/libaltq/qop_wfq.c
81
#define EQUAL(s1, s2) (strcmp((s1), (s2)) == 0)
usr.sbin/altq/libaltq/quip_server.c
397
string_match(const char *s1, const char *s2)
usr.sbin/altq/libaltq/quip_server.c
403
if ((ap = strchr(s1, '*')) == NULL)
usr.sbin/altq/libaltq/quip_server.c
404
return (strcmp(s1, s2) == 0);
usr.sbin/altq/libaltq/quip_server.c
407
prefixlen = ap - s1;
usr.sbin/altq/libaltq/quip_server.c
408
if (strncmp(s1, s2, prefixlen) != 0)
usr.sbin/altq/libaltq/quip_server.c
54
#define EQUAL(s1, s2) (strcmp((s1), (s2)) == 0)
usr.sbin/autofs/common.c
105
ret = asprintf(&result, "%s%s", s1, s2 + 1);
usr.sbin/autofs/common.c
107
s1[0] == '\0' || s2[0] == '\0') {
usr.sbin/autofs/common.c
108
ret = asprintf(&result, "%s%s", s1, s2);
usr.sbin/autofs/common.c
110
ret = asprintf(&result, "%s%c%s", s1, separator, s2);
usr.sbin/autofs/common.c
116
log_debugx("%s: got %s and %s, returning %s", __func__, s1, s2, result);
usr.sbin/autofs/common.c
81
concat(const char *s1, char separator, const char *s2)
usr.sbin/autofs/common.c
87
if (s1 == NULL)
usr.sbin/autofs/common.c
88
s1 = "";
usr.sbin/autofs/common.c
92
if (s1[0] == '\0')
usr.sbin/autofs/common.c
95
s1last = s1[strlen(s1) - 1];
usr.sbin/bad144/bad144.c
444
blkcopy(int f, daddr_t s1, daddr_t s2)
usr.sbin/bad144/bad144.c
454
if (lseek(f, (off_t)(dp->d_secsize * s1), SEEK_SET) < 0)
usr.sbin/bad144/bad144.c
461
err(4, "can't read sector, %lld", (long long)s1);
usr.sbin/bad144/bad144.c
463
errx(4, "can't read sector, %lld", (long long)s1);
usr.sbin/bad144/bad144.c
469
printf("copying %lld to %lld\n", (long long)s1, (long long)s2);
usr.sbin/mountd/mountd.c
1560
netpartcmp(struct sockaddr *s1, struct sockaddr *s2, int bitlen)
usr.sbin/mountd/mountd.c
1564
if (s1->sa_family != s2->sa_family)
usr.sbin/mountd/mountd.c
1567
switch (s1->sa_family) {
usr.sbin/mountd/mountd.c
1569
src = &((struct sockaddr_in *)s1)->sin_addr;
usr.sbin/mountd/mountd.c
1571
if (bitlen > (int)sizeof(((struct sockaddr_in *)s1)->sin_addr) * 8)
usr.sbin/mountd/mountd.c
1575
src = &((struct sockaddr_in6 *)s1)->sin6_addr;
usr.sbin/mountd/mountd.c
1577
if (((struct sockaddr_in6 *)s1)->sin6_scope_id !=
usr.sbin/mountd/mountd.c
1580
if (bitlen > (int)sizeof(((struct sockaddr_in6 *)s1)->sin6_addr) * 8)
usr.sbin/mrouted/defs.h
57
#define EQUAL(s1, s2) (strcmp((s1), (s2)) == 0)
usr.sbin/mtrace/mtrace.c
1051
char *s1;
usr.sbin/mtrace/mtrace.c
1066
s1 = inet_fmt(qsrc);
usr.sbin/mtrace/mtrace.c
1068
((b->tr_inaddr & smask) == (qsrc & smask)) ? s1 : " * * * ",
usr.sbin/mtrace/mtrace.c
1069
inet_fmt(basep->qhdr.tr_raddr), s1);
usr.sbin/pstat/pstat.c
749
const char *s1 = (const char *)p1;
usr.sbin/pstat/pstat.c
751
const struct vnode *v1 = (const struct vnode *)(s1 + VPTRSZ);
usr.sbin/rbootd/defs.h
73
#define STREQN(s1,s2) ((*s1 == *s2) && (strcmp(s1,s2) == 0))
usr.sbin/rbootd/defs.h
74
#define STRNEQN(s1,s2,n) ((*s1 == *s2) && (strncmp(s1,s2,n) == 0))
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
567
strembedded(const char *s1, const char *s2)
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
570
if (!strcasecmp(s1, s2))
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
86
scramble(char *s1, char *s2)
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
88
while (*s1) {
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
89
*s2++ = (*s1 ^ zchar) & 0x7f;
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
90
s1++;
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
100
scramble(char *s1, char *s2)
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
102
while (*s1)
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
104
*s2++ = (*s1 ^ zchar) & 0x7f;
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
105
s1++;
usr.sbin/sa/main.c
392
cmp_comm(const char *s1, const char *s2)
usr.sbin/sa/main.c
396
rv = strcmp(s1, s2);
usr.sbin/sysinst/arch/mac68k/md.c
562
stricmp(s1, s2)
usr.sbin/sysinst/arch/mac68k/md.c
563
const char *s1;
usr.sbin/sysinst/arch/mac68k/md.c
569
c1 = tolower((unsigned char)*s1++);
usr.sbin/sysinst/mbr.c
2478
int c1, h1, s1, c2, h2, s2;
usr.sbin/sysinst/mbr.c
2486
if (get_mapping(parts, i, &c1, &h1, &s1, &a1) < 0)
usr.sbin/sysinst/mbr.c
2488
a1 -= s1;
usr.sbin/sysinst/mbr.c
2523
if (get_mapping(parts, i, &c1, &h1, &s1, &a1) < 0)
usr.sbin/sysinst/mbr.c
2528
if (xsectors * (c1 * xheads + h1) + s1 != a1)
usr.sbin/tprof/ksyms.c
52
const struct sym *s1 = *(const struct sym * const *)p1;
usr.sbin/tprof/ksyms.c
55
if (s1->value > s2->value) {
usr.sbin/tprof/ksyms.c
57
} else if (s1->value < s2->value) {
usr.sbin/tprof/ksyms.c
64
if (s1->size > s2->size) {
usr.sbin/tprof/ksyms.c
66
} else if (s1->size < s2->size) {
usr.sbin/tprof/ksyms.c
69
return strcmp(s1->name, s2->name);