Symbol: s2
bin/csh/exec.c
642
Char *cmd, *s0, *s1, *s2;
bin/csh/exec.c
663
s1 = s2 = sp->word;
bin/csh/exec.c
664
while (*s2)
bin/csh/exec.c
665
switch (*s2) {
bin/csh/exec.c
668
qc = *s2++;
bin/csh/exec.c
669
while (*s2 && *s2 != qc)
bin/csh/exec.c
670
*s1++ = (Char)(*s2++ | QUOTE);
bin/csh/exec.c
671
if (*s2)
bin/csh/exec.c
672
s2++;
bin/csh/exec.c
675
if (*++s2)
bin/csh/exec.c
676
*s1++ = (Char)(*s2++ | QUOTE);
bin/csh/exec.c
679
*s1++ = *s2++;
bin/csh/glob.c
888
Gcat(Char *s1, Char *s2)
bin/csh/glob.c
895
for (q = s2; *q++;)
bin/csh/glob.c
897
n = (p - s1) + (q - s2) - 1;
bin/csh/glob.c
906
for (p--, q = s2; (*p++ = *q++) != '\0';)
bin/ksh/c_test.c
399
int s2;
bin/ksh/c_test.c
404
&& (((s2 = stat(opnd2, &b2)) == 0
bin/ksh/c_test.c
406
|| s2 == -1);
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
168
s2[0] = c2;
bin/sh/expand.c
169
s2[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/string/bcmp.c
112
c2 = (const unsigned char *)s2;
common/lib/libc/string/bcmp.c
87
bcmp(const void *s1, const void *s2, size_t n)
common/lib/libc/string/bcmp.c
95
b2 = s2;
common/lib/libc/string/bcopy.c
161
memcpy(void *s1, const void *s2, size_t n)
common/lib/libc/string/bcopy.c
163
const char *f = s2;
common/lib/libc/string/bcopy.c
175
memmove(void *s1, const void *s2, size_t n)
common/lib/libc/string/bcopy.c
177
const char *f = s2;
common/lib/libc/string/bcopy.c
196
bcopy(const void *s2, void *s1, size_t n)
common/lib/libc/string/bcopy.c
198
const char *f = s2;
common/lib/libc/string/memcmp.c
114
c2 = (const unsigned char *)s2;
common/lib/libc/string/memcmp.c
87
memcmp(const void *s1, const void *s2, size_t n)
common/lib/libc/string/memcmp.c
95
b2 = s2;
common/lib/libc/string/strcasecmp.c
60
strcasecmp(const char *s1, const char *s2)
common/lib/libc/string/strcasecmp.c
63
*us2 = (const unsigned char *)s2;
common/lib/libc/string/strcasecmp.c
66
_DIAGASSERT(s2 != 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
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
64
_DIAGASSERT(s2 != NULL);
common/lib/libc/string/strncasecmp.c
68
*us2 = (const unsigned char *)s2;
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
57
*(const unsigned char *)--s2);
distrib/utils/libhack/multibyte.c
296
wmemcpy(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n)
distrib/utils/libhack/multibyte.c
301
*p++ = *s2++;
distrib/utils/libhack/strcasecmp.c
14
strcasecmp(const char *s1, const char *s2)
distrib/utils/libhack/strcasecmp.c
20
c2 = *s2++;
games/gomoku/main.c
477
spot_index s, s1, s2;
games/gomoku/main.c
548
parse_spot(&str, &s2) &&
games/gomoku/main.c
552
+ board[s2].s_frame[r2];
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
253
frame_index b = board[s2].s_frame[r];
games/gomoku/makemove.c
329
spot_index s2 = s1 - d;
games/gomoku/makemove.c
330
for (int off = f + 1; off < 6; off++, s2 -= d) {
games/gomoku/makemove.c
331
if (board[s2].s_occ == BORDER)
games/gomoku/makemove.c
333
if (is_blocked(&board[s2], r))
games/gomoku/makemove.c
336
update_overlap_same_direction(s1, s2, a, d, off - f, r);
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
126
int32_t s2;
lib/libc/cdb/cdbw.c
103
uint8_t s2)
lib/libc/cdb/cdbw.c
108
return (t + ((v - t) >> s1)) >> s2;
lib/libc/cdb/cdbw.c
113
uint8_t s2)
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
98
*s2 = (l == 0) ? 0 : (uint8_t)(l - 1);
lib/libc/gdtoa/dtoa.c
121
j, jj1, k, k0, k_check, leftright, m2, m5, s2, s5,
lib/libc/gdtoa/dtoa.c
275
s2 = j;
lib/libc/gdtoa/dtoa.c
279
s2 = 0;
lib/libc/gdtoa/dtoa.c
284
s2 += k;
lib/libc/gdtoa/dtoa.c
516
s2 += i;
lib/libc/gdtoa/dtoa.c
521
if (m2 > 0 && s2 > 0) {
lib/libc/gdtoa/dtoa.c
522
i = m2 < s2 ? m2 : s2;
lib/libc/gdtoa/dtoa.c
525
s2 -= i;
lib/libc/gdtoa/dtoa.c
575
s2 += Log2P;
lib/libc/gdtoa/dtoa.c
588
if (( i = ((s5 ? 32 - hi0bits(S->x[S->wds-1]) : 1) + s2) & 0x1f )!=0)
lib/libc/gdtoa/dtoa.c
591
if (( i = ((s5 ? 32 - hi0bits(S->x[S->wds-1]) : 1) + s2) & 0xf )!=0)
lib/libc/gdtoa/dtoa.c
598
s2 += i;
lib/libc/gdtoa/dtoa.c
604
s2 += i;
lib/libc/gdtoa/dtoa.c
611
if (s2 > 0) {
lib/libc/gdtoa/dtoa.c
612
S = lshift(S, s2);
lib/libc/gdtoa/gdtoa.c
164
int rdir, s2, s5, spec_case, try_quick;
lib/libc/gdtoa/gdtoa.c
274
s2 = j;
lib/libc/gdtoa/gdtoa.c
278
s2 = 0;
lib/libc/gdtoa/gdtoa.c
283
s2 += k;
lib/libc/gdtoa/gdtoa.c
541
s2 += i;
lib/libc/gdtoa/gdtoa.c
544
if (m2 > 0 && s2 > 0) {
lib/libc/gdtoa/gdtoa.c
545
i = m2 < s2 ? m2 : s2;
lib/libc/gdtoa/gdtoa.c
548
s2 -= i;
lib/libc/gdtoa/gdtoa.c
590
s2++;
lib/libc/gdtoa/gdtoa.c
602
i = ((s5 ? hi0bits(S->x[S->wds-1]) : ULbits - 1) - s2 - 4) & kmask;
lib/libc/gdtoa/gdtoa.c
609
if ((s2 += i) > 0) {
lib/libc/gdtoa/gdtoa.c
610
S = lshift(S, s2);
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
189
s2 = 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
52
len = wcslen(s2);
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/net/rcmd.c
281
int s2 = rresvport_af(&lport, r->ai_family), s3;
lib/libc/net/rcmd.c
284
if (s2 < 0)
lib/libc/net/rcmd.c
286
listen(s2, 1);
lib/libc/net/rcmd.c
291
(void)close(s2);
lib/libc/net/rcmd.c
296
reads[1].fd = s2;
lib/libc/net/rcmd.c
306
(void)close(s2);
lib/libc/net/rcmd.c
309
s3 = accept(s2, (struct sockaddr *)(void *)&from, &len);
lib/libc/net/rcmd.c
310
(void)close(s2);
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
1157
s2[0] = c2;
lib/libc/regex/regcomp.c
1158
s2[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
1165
s2[0] = (char)c2;
lib/libc/regex/regcomp.c
1166
s2[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
260
error->re_lb.s2 = (int32_t)acpt_stat;
lib/libc/rpc/rpc_prot.c
282
error->re_lb.s2 = (int32_t)rjct_stat;
lib/libc/stdio/vfscanf.c
121
static char s1[2], s2[2];
lib/libc/stdio/vfscanf.c
124
s2[0] = c2;
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
67
_DIAGASSERT(s2 != 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
37
_DIAGASSERT(s2);
lib/libc/string/wcscasecmp.c
41
lc2 = towlower_l(*s2, loc);
lib/libc/string/wcscasecmp.c
51
++s2;
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
47
_DIAGASSERT(s2 != NULL);
lib/libc/string/wcscat.c
53
r = s2;
lib/libc/string/wcscmp.c
52
wcscmp(const wchar_t *s1, const wchar_t *s2)
lib/libc/string/wcscmp.c
56
_DIAGASSERT(s2 != NULL);
lib/libc/string/wcscmp.c
58
while (*s1 == *s2++)
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
45
_DIAGASSERT(s2 != NULL);
lib/libc/string/wcscpy.c
47
for (p = s1; (*p = *s2) != L'\0'; ++p, ++s2);
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
37
_DIAGASSERT(s2);
lib/libc/string/wcsncasecmp.c
41
lc2 = towlower_l(*s2, loc);
lib/libc/string/wcsncasecmp.c
51
++s2;
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
47
_DIAGASSERT(s2 != NULL);
lib/libc/string/wcsncat.c
53
r = s2;
lib/libc/string/wcsncmp.c
46
wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wcsncmp.c
50
_DIAGASSERT(s2 != NULL);
lib/libc/string/wcsncmp.c
55
if (*s1 != *s2++) {
lib/libc/string/wcsncmp.c
58
*(const __nbrune_t *)--s2);
lib/libc/string/wcsncpy.c
40
wcsncpy(wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wcsncpy.c
45
_DIAGASSERT(s2 != NULL);
lib/libc/string/wcsncpy.c
48
while (n && *s2) {
lib/libc/string/wcsncpy.c
49
*p++ = *s2++;
lib/libc/string/wmemcmp.c
41
wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wmemcmp.c
46
_DIAGASSERT(s2 != NULL);
lib/libc/string/wmemcmp.c
49
if (*s1 != *s2) {
lib/libc/string/wmemcmp.c
52
*(const __nbrune_t *)s2 ? 1 : -1;
lib/libc/string/wmemcmp.c
55
s2++;
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/4.3/rexec.c
117
int s2;
lib/libcompat/4.3/rexec.c
121
s2 = socket(AF_INET, SOCK_STREAM, 0);
lib/libcompat/4.3/rexec.c
122
if (s2 == -1) {
lib/libcompat/4.3/rexec.c
127
listen(s2, 1);
lib/libcompat/4.3/rexec.c
129
if (getsockname(s2, (struct sockaddr *)(void *)&sin2,
lib/libcompat/4.3/rexec.c
132
(void)close(s2);
lib/libcompat/4.3/rexec.c
140
s3 = accept(s2, (struct sockaddr *)(void *)&from, &fromlen);
lib/libcompat/4.3/rexec.c
141
(void)close(s2);
lib/libcompat/regexp/regexp.c
1313
strcspn(s1, s2)
lib/libcompat/regexp/regexp.c
1315
char *s2;
lib/libcompat/regexp/regexp.c
1323
for (scan2 = s2; *scan2 != '\0';) /* ++ moved down. */
lib/libedit/filecomplete.c
529
const char *s2 = ((const char * const *)i2)[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
137
s2 = 5.43673188699937239808255378293820020e-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/ld128/e_powl.c
150
long double s2, s_h, s_l, t_h, t_l;
lib/libm/ld128/e_powl.c
330
s2 = s * s;
lib/libm/ld128/e_powl.c
331
u = LN[0] + s2 * (LN[1] + s2 * (LN[2] + s2 * (LN[3] + s2 * LN[4])));
lib/libm/ld128/e_powl.c
332
v = LD[0] + s2 * (LD[1] + s2 * (LD[2] + s2 * (LD[3] + s2 * (LD[4] + s2))));
lib/libm/ld128/e_powl.c
333
r = s2 * s2 * u / v;
lib/libm/ld128/e_powl.c
335
s2 = s_h * s_h;
lib/libm/ld128/e_powl.c
336
t_h = 3.0 + s2 + r;
lib/libm/ld128/e_powl.c
341
t_l = r - ((t_h - 3.0) - s2);
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
137
s2 = 3.25778796408930981787e-01, /* 0x3FD4D98F, 0x4F139F59 */
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
73
s2 = 3.2577878237e-01, /* 0x3ea6cc7a */
lib/libm/src/e_pow.c
210
double ss,s2,s_h,s_l,t_h,t_l;
lib/libm/src/e_pow.c
236
s2 = ss*ss;
lib/libm/src/e_pow.c
237
r = s2*s2*(L1+s2*(L2+s2*(L3+s2*(L4+s2*(L5+s2*L6)))));
lib/libm/src/e_pow.c
239
s2 = s_h*s_h;
lib/libm/src/e_pow.c
240
t_h = 3.0+s2+r;
lib/libm/src/e_pow.c
242
t_l = r-((t_h-3.0)-s2);
lib/libm/src/e_powf.c
152
float s2,s_h,s_l,t_h,t_l;
lib/libm/src/e_powf.c
179
s2 = s*s;
lib/libm/src/e_powf.c
180
r = s2*s2*(L1+s2*(L2+s2*(L3+s2*(L4+s2*(L5+s2*L6)))));
lib/libm/src/e_powf.c
182
s2 = s_h*s_h;
lib/libm/src/e_powf.c
183
t_h = (float)3.0+s2+r;
lib/libm/src/e_powf.c
186
t_l = r-((t_h-(float)3.0)-s2);
lib/libm/src/s_atan.c
125
s2 = w*(aT[1]+w*(aT[3]+w*(aT[5]+w*(aT[7]+w*aT[9]))));
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
101
s2 = w*(aT[1]+w*(aT[3]+w*(aT[5]+w*(aT[7]+w*aT[9]))));
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
98
s2 = w*T_odd(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
62
c2 = *s2;
lib/libtelnet/genget.c
67
c2 = *++s2;
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
766
l2 = strlen(s2);
libexec/ftpd/conf.c
774
if (strcmp(start, s2) == 0) {
libexec/ftpd/ftpcmd.y
1827
char s1[NI_MAXHOST], s2[NI_MAXHOST];
libexec/ftpd/ftpcmd.y
1860
h2, sizeof(h2), s2, sizeof(s2), niflags))
libexec/httpd/cgi-bozo.c
512
const char *s2;
libexec/httpd/cgi-bozo.c
519
for (s2 = headp->h_header; *s2; t++, s2++)
libexec/httpd/cgi-bozo.c
520
if (islower((unsigned char)*s2))
libexec/httpd/cgi-bozo.c
521
*t = toupper((unsigned char)*s2);
libexec/httpd/cgi-bozo.c
522
else if (*s2 == '-')
libexec/httpd/cgi-bozo.c
525
*t = *s2;
libexec/rpc.rstatd/rstat_proc.c
136
stats_all.s2.if_opackets = stats_all.s3.if_opackets;
libexec/rpc.rstatd/rstat_proc.c
137
return (&stats_all.s2);
libexec/rpc.rstatd/rstat_proc.c
96
struct statsswtch s2;
sbin/fdisk/fdisk.c
1629
unsigned int c1, h1, s1, c2, h2, s2;
sbin/fdisk/fdisk.c
1668
if (get_mapping(j, &c2, &h2, &s2, &a2) < 0)
sbin/fdisk/fdisk.c
1670
a2 -= s2;
sbin/gpt/show.c
466
char s1[128], s2[128], *p;
sbin/gpt/show.c
488
gpt_uuid_snprintf(s2, sizeof(s2), "%d", ent->ent_guid);
sbin/gpt/show.c
489
printf("GUID: %s\n", s2);
sbin/gpt/show.c
492
gpt_uuid_snprintf(s2, sizeof(s2), "%d", ent->ent_type);
sbin/gpt/show.c
493
printf("TypeID: %s\n", s2);
sbin/gpt/show.c
494
if (strcmp(s1, s2) != 0)
sbin/gpt/show.c
497
if (strcmp(s1, s2) != 0)
sbin/gpt/show.c
522
char s1[128], s2[128];
sbin/gpt/show.c
542
gpt_uuid_snprintf(s2, sizeof(s2), "%d", ent->ent_type);
sbin/gpt/show.c
543
if (strcmp(s1, s2) == 0)
sbin/gpt/show.c
545
printf("Type: %s (%s)\n", s1, s2);
sbin/gpt/show.c
547
gpt_uuid_snprintf(s2, sizeof(s2), "%d", ent->ent_guid);
sbin/gpt/show.c
548
printf("GUID: %s\n", s2);
sbin/gpt/show.c
570
char s1[128], s2[128];
sbin/gpt/show.c
608
gpt_uuid_snprintf(s2, sizeof(s2), "%d", ent->ent_type);
sbin/gpt/show.c
609
if (strcmp(s1, s2) == 0)
sbin/gpt/show.c
629
gpt_uuid_snprintf(s2, sizeof(s2), "%d",
sbin/gpt/show.c
632
printf("%*s TypeID: %s\n", width, "", s2);
sbin/gpt/show.c
633
printf("%*s GUID: %s\n", width, "", s2);
sbin/gpt/show.c
635
printf("%*s TypeID: %s\n", width, "", s2);
sbin/gpt/show.c
636
gpt_uuid_snprintf(s2, sizeof(s2), "%d",
sbin/gpt/show.c
638
printf("%*s GUID: %s\n", width, "", s2);
sbin/ldconfig/shlib.c
200
concat(const char *s1, const char *s2, const char *s3)
sbin/ldconfig/shlib.c
203
len2 = strlen(s2),
sbin/ldconfig/shlib.c
209
strcpy(result + len1, s2);
sbin/newfs/newfs.c
251
char *s2;
sbin/newfs/newfs.c
533
s2 = mp->f_mntfromname;
sbin/newfs/newfs.c
534
if (strncmp(_PATH_DEV, s2, len) == 0) {
sbin/newfs/newfs.c
535
s2 += len - 1;
sbin/newfs/newfs.c
536
*s2 = 'r';
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
130
char *s2;
sbin/newfs_ext2fs/newfs_ext2fs.c
143
inodesize = (uint16_t)strtol(optarg, &s2, 0);
sbin/newfs_ext2fs/newfs_ext2fs.c
144
if (*s2 || (inodesize != 128 && inodesize != 256))
sbin/newfs_ext2fs/newfs_ext2fs.c
276
s2 = mp->f_mntfromname;
sbin/newfs_ext2fs/newfs_ext2fs.c
277
if (strncmp(_PATH_DEV, s2, len) == 0) {
sbin/newfs_ext2fs/newfs_ext2fs.c
278
s2 += len - 1;
sbin/newfs_ext2fs/newfs_ext2fs.c
279
*s2 = 'r';
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
793
s2 = mp->f_mntfromname;
sbin/newfs_msdos/mkfs_msdos.c
794
if (!strncmp(s2, _PATH_DEV, len))
sbin/newfs_msdos/mkfs_msdos.c
795
s2 += len;
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
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
840
s2 = NULL;
sbin/newfs_msdos/mkfs_msdos.c
842
while (isdigit((unsigned char)*++s2));
sbin/newfs_msdos/mkfs_msdos.c
843
s1 = s2;
sbin/newfs_msdos/mkfs_msdos.c
851
if (s2 && *s2 >= 'a' && *s2 <= 'a' + maxpartitions - 1) {
sbin/newfs_msdos/mkfs_msdos.c
852
part = *s2++ - 'a';
sbin/routed/rtquery/rtquery.c
556
u_char *s2, c;
sbin/routed/rtquery/rtquery.c
562
for (s2 = s+1; s2 < &s[len]; s2++) {
sbin/routed/rtquery/rtquery.c
563
if (*s2 != '\0')
sbin/routed/rtquery/rtquery.c
566
if (s2 >= &s[len])
sbin/routed/trace.c
72
u_char *s2, c;
sbin/routed/trace.c
78
for (s2 = s+1; s2 < &s[len]; s2++) {
sbin/routed/trace.c
79
if (*s2 != '\0')
sbin/routed/trace.c
82
if (s2 >= &s[len])
sys/arch/alpha/alpha/db_interface.c
126
DBREG(s2, FRAME_S2),
sys/arch/amiga/dev/mfc.c
1045
int s1, s2, ovfl;
sys/arch/amiga/dev/mfc.c
1067
s2 = splser();
sys/arch/amiga/dev/mfc.c
1075
splx(s2);
sys/arch/amiga/dev/ser.c
288
int unit, error, s, s2;
sys/arch/amiga/dev/ser.c
317
s2 = splser();
sys/arch/amiga/dev/ser.c
323
splx(s2);
sys/arch/amiga/dev/ser.c
346
s2 = splser();
sys/arch/amiga/dev/ser.c
351
splx(s2);
sys/arch/amiga/dev/ser.c
535
int s1, s2, ovfl;
sys/arch/amiga/dev/ser.c
555
s2 = splser();
sys/arch/amiga/dev/ser.c
563
splx(s2);
sys/arch/amiga/dev/ser.c
568
s2 = splser();
sys/arch/amiga/dev/ser.c
571
splx(s2);
sys/arch/arc/dti/btl.c
799
struct scsi_sense_data *s1, *s2;
sys/arch/arc/dti/btl.c
842
s2 = &xs->sense.scsi_sense;
sys/arch/arc/dti/btl.c
843
*s2 = *s1;
sys/arch/arm/at91/at91dbgu.c
465
int s, s2;
sys/arch/arm/at91/at91dbgu.c
499
s2 = splserial();
sys/arch/arm/at91/at91dbgu.c
503
splx(s2);
sys/arch/arm/at91/at91dbgu.c
529
splx(s2);
sys/arch/arm/at91/at91dbgu.c
558
s2 = splserial();
sys/arch/arm/at91/at91dbgu.c
571
splx(s2);
sys/arch/arm/clps711x/clpscom.c
574
int error, s, s2;
sys/arch/arm/clps711x/clpscom.c
638
s2 = splserial();
sys/arch/arm/clps711x/clpscom.c
645
splx(s2);
sys/arch/arm/ep93xx/epcom.c
466
int s, s2;
sys/arch/arm/ep93xx/epcom.c
500
s2 = splserial();
sys/arch/arm/ep93xx/epcom.c
504
splx(s2);
sys/arch/arm/ep93xx/epcom.c
530
splx(s2);
sys/arch/arm/ep93xx/epcom.c
559
s2 = splserial();
sys/arch/arm/ep93xx/epcom.c
572
splx(s2);
sys/arch/arm/ixp12x0/ixp12x0_com.c
468
int s, s2;
sys/arch/arm/ixp12x0/ixp12x0_com.c
502
s2 = splserial();
sys/arch/arm/ixp12x0/ixp12x0_com.c
508
splx(s2);
sys/arch/arm/ixp12x0/ixp12x0_com.c
535
splx(s2);
sys/arch/arm/ixp12x0/ixp12x0_com.c
564
s2 = splserial();
sys/arch/arm/ixp12x0/ixp12x0_com.c
579
splx(s2);
sys/arch/arm/s3c2xx0/sscom.c
606
int s, s2;
sys/arch/arm/s3c2xx0/sscom.c
640
s2 = splserial();
sys/arch/arm/s3c2xx0/sscom.c
656
splx(s2);
sys/arch/arm/s3c2xx0/sscom.c
685
s2 = splserial();
sys/arch/arm/s3c2xx0/sscom.c
708
splx(s2);
sys/arch/arm/sa11x0/sa11x0_com.c
494
int s, s2;
sys/arch/arm/sa11x0/sa11x0_com.c
520
s2 = splserial();
sys/arch/arm/sa11x0/sa11x0_com.c
526
splx(s2);
sys/arch/arm/sa11x0/sa11x0_com.c
542
splx(s2);
sys/arch/arm/sa11x0/sa11x0_com.c
571
s2 = splserial();
sys/arch/arm/sa11x0/sa11x0_com.c
596
splx(s2);
sys/arch/atari/dev/ser.c
380
int s, s2;
sys/arch/atari/dev/ser.c
444
s2 = splhigh();
sys/arch/atari/dev/ser.c
465
splx(s2);
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
272
strncpy(s2, newname, 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/atari/stand/tostools/chg_pid/chg_pid.c
275
gp->p_id[0] = s2[0]; gp->p_id[1] = s2[1]; gp->p_id[2] = s2[2];
sys/arch/dreamcast/dev/gdrom.c
163
uint8_t s1, s2, s3;
sys/arch/dreamcast/dev/gdrom.c
168
s2 = GDROM_STAT;
sys/arch/dreamcast/dev/gdrom.c
172
if (s1 == s2)
sys/arch/dreamcast/dev/gdrom.c
174
else if (s2 == s3)
sys/arch/dreamcast/dev/gdrom.c
175
return s2;
sys/arch/epoc32/windermere/wmcom.c
460
int error, s, s2;
sys/arch/epoc32/windermere/wmcom.c
526
s2 = splserial();
sys/arch/epoc32/windermere/wmcom.c
533
splx(s2);
sys/arch/evbppc/nintendo/dev/hwaes.c
482
uint32_t s0, s1, s2, s3;
sys/arch/evbppc/nintendo/dev/hwaes.c
486
s2 = *t2 >> 31;
sys/arch/evbppc/nintendo/dev/hwaes.c
491
*t3 = (*t3 << 1) ^ s2;
sys/arch/evbppc/virtex/dev/xlcom.c
601
int s1, s2;
sys/arch/evbppc/virtex/dev/xlcom.c
622
s2 = splserial();
sys/arch/evbppc/virtex/dev/xlcom.c
626
splx(s2);
sys/arch/hp300/dev/ppi.c
299
int s, s2, len, cnt;
sys/arch/hp300/dev/ppi.c
335
s2 = splbio();
sys/arch/hp300/dev/ppi.c
342
splx(s2);
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
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
55
_DIAGASSERT(s2 != NULL);
sys/arch/ia64/stand/common/strspn.c
62
for (spanp = s2; (sc = *spanp++) != 0;)
sys/arch/mips/sibyte/dev/sbjcn.c
502
int s, s2;
sys/arch/mips/sibyte/dev/sbjcn.c
536
s2 = splserial();
sys/arch/mips/sibyte/dev/sbjcn.c
544
splx(s2);
sys/arch/mips/sibyte/dev/sbjcn.c
573
s2 = splserial();
sys/arch/mips/sibyte/dev/sbjcn.c
596
splx(s2);
sys/arch/mips/sibyte/dev/sbscn.c
554
int s, s2;
sys/arch/mips/sibyte/dev/sbscn.c
587
s2 = splserial();
sys/arch/mips/sibyte/dev/sbscn.c
600
splx(s2);
sys/arch/mips/sibyte/dev/sbscn.c
629
s2 = splserial();
sys/arch/mips/sibyte/dev/sbscn.c
652
splx(s2);
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/ibm4xx/pmap.c
894
int s2 = splhigh();
sys/arch/powerpc/ibm4xx/pmap.c
896
splx(s2);
sys/arch/powerpc/pci/pchb.c
186
const char *s1, *s2;
sys/arch/powerpc/pci/pchb.c
198
s2 = " (normal operation)";
sys/arch/powerpc/pci/pchb.c
200
s2 = " (miss updates inhibited)";
sys/arch/powerpc/pci/pchb.c
203
s2 = "";
sys/arch/powerpc/pci/pchb.c
210
s2 = "";
sys/arch/powerpc/pci/pchb.c
214
s1, s2);
sys/arch/sh3/dev/sci.c
619
int s, s2;
sys/arch/sh3/dev/sci.c
653
s2 = splserial();
sys/arch/sh3/dev/sci.c
658
splx(s2);
sys/arch/sh3/dev/sci.c
687
s2 = splserial();
sys/arch/sh3/dev/sci.c
701
splx(s2);
sys/arch/sh3/dev/scif.c
723
int s, s2;
sys/arch/sh3/dev/scif.c
757
s2 = splserial();
sys/arch/sh3/dev/scif.c
762
splx(s2);
sys/arch/sh3/dev/scif.c
791
s2 = splserial();
sys/arch/sh3/dev/scif.c
805
splx(s2);
sys/arch/sparc/dev/kd.c
347
int s1, s2;
sys/arch/sparc/dev/kd.c
350
s2 = spltty();
sys/arch/sparc/dev/kd.c
358
splx(s2);
sys/arch/sparc/dev/kd.c
360
s2 = spltty();
sys/arch/sparc/dev/kd.c
368
splx(s2);
sys/arch/sparc64/dev/kd.c
319
int s1, s2;
sys/arch/sparc64/dev/kd.c
322
s2 = spltty();
sys/arch/sparc64/dev/kd.c
332
splx(s2);
sys/arch/sparc64/dev/kd.c
334
s2 = spltty();
sys/arch/sparc64/dev/kd.c
352
splx(s2);
sys/arch/sun2/dev/kd.c
365
int s1, s2;
sys/arch/sun2/dev/kd.c
368
s2 = spltty();
sys/arch/sun2/dev/kd.c
378
splx(s2);
sys/arch/sun2/dev/kd.c
380
s2 = spltty();
sys/arch/sun2/dev/kd.c
397
splx(s2);
sys/arch/sun3/dev/kd.c
293
int s1, s2;
sys/arch/sun3/dev/kd.c
296
s2 = spltty();
sys/arch/sun3/dev/kd.c
306
splx(s2);
sys/arch/sun3/dev/kd.c
308
s2 = spltty();
sys/arch/sun3/dev/kd.c
325
splx(s2);
sys/crypto/adiantum/adiantum.c
299
uint32_t s0, s1, s2, s3, s4; /* h - (2^130 - 5) */
sys/crypto/adiantum/adiantum.c
317
s2 = h2 + c; c = s2 >> 26; s2 &= 0x03ffffff;
sys/crypto/adiantum/adiantum.c
328
h2 = (m & h2) | (~m & s2);
sys/crypto/aes/aes_bear.c
347
uint32_t s0, s1, s2, s3;
sys/crypto/aes/aes_bear.c
351
s2 = *t2 >> 31;
sys/crypto/aes/aes_bear.c
356
*t3 = (*t3 << 1) ^ s2;
sys/crypto/aes/aes_bear64.c
396
uint32_t s0, s1, s2, s3;
sys/crypto/aes/aes_bear64.c
400
s2 = *t2 >> 31;
sys/crypto/aes/aes_bear64.c
405
*t3 = (*t3 << 1) ^ s2;
sys/crypto/aes/aes_ct.c
205
s2 = t55 ^ ~t67;
sys/crypto/aes/aes_ct.c
209
q[5] = s2;
sys/crypto/aes/aes_ct.c
67
uint32_t s0, s1, s2, s3, s4, s5, s6, s7;
sys/crypto/aes/aes_ct64.c
220
s2 = t55 ^ ~t67;
sys/crypto/aes/aes_ct64.c
224
q[5] = s2;
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
205
s2 = t55 ^ ~t67;
sys/crypto/aes/arch/x86/aes_sse2_4x32.c
209
q[5] = s2;
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
456
s2 = *t2 >> 31;
sys/crypto/aes/arch/x86/aes_via.c
461
*t3 = (*t3 << 1) ^ s2;
sys/crypto/des/des_locl.h
174
unsigned int u1,u2,s1,s2; \
sys/crypto/des/des_locl.h
183
s2=(int)(u>>24L); \
sys/crypto/des/des_locl.h
185
s2&=0xfc; \
sys/crypto/des/des_locl.h
187
LL^= *(const DES_LONG *)(des_SP+0x600+s2); \
sys/crypto/des/des_locl.h
194
s2=(int)(t>>24L); \
sys/crypto/des/des_locl.h
196
s2&=0xfc; \
sys/crypto/des/des_locl.h
198
LL^= *(const DES_LONG *)(des_SP+0x600+s2); \
sys/crypto/des/des_locl.h
205
s2=(int)(t>>24L); \
sys/crypto/des/des_locl.h
207
s2&=0xfc; \
sys/crypto/des/des_locl.h
209
LL^= *(const DES_LONG *)(des_SP+0x700+s2); }
sys/crypto/des/des_locl.h
259
unsigned int u1,u2,s1,s2; \
sys/crypto/des/des_locl.h
269
s2=(int)u>>24L; \
sys/crypto/des/des_locl.h
271
s2&=0x3f; \
sys/crypto/des/des_locl.h
273
LL^=des_SPtrans[6][s2]; \
sys/crypto/des/des_locl.h
280
s2=(int)t>>24L; \
sys/crypto/des/des_locl.h
282
s2&=0x3f; \
sys/crypto/des/des_locl.h
284
LL^=des_SPtrans[7][s2]; }
sys/dev/eisa/ahb.c
532
struct scsi_sense_data *s1, *s2;
sys/dev/eisa/ahb.c
582
s2 = &xs->sense.scsi_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
325
s2 = splbio();
sys/dev/gpib/ppi.c
333
splx(s2);
sys/dev/ic/adv.c
853
struct scsi_sense_data *s1, *s2;
sys/dev/ic/adv.c
929
s2 = &xs->sense.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
1076
s2 = &xs->sense.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
714
s2 = &xs->sense.scsi_sense;
sys/dev/ic/aha.c
715
*s2 = *s1;
sys/dev/ic/atwvar.h
334
} s2;
sys/dev/ic/atwvar.h
343
#define atw_ihdr u.s2.ihdr
sys/dev/ic/uha.c
318
struct scsi_sense_data *s1, *s2;
sys/dev/ic/uha.c
363
s2 = &xs->sense.scsi_sense;
sys/dev/ic/uha.c
364
*s2 = *s1;
sys/dev/ipmi.c
1775
struct sdrtype2 *s2 = (struct sdrtype2 *)psdr;
sys/dev/ipmi.c
1786
ipmi_sensor_name(name, sizeof(name), s2->typelen, s2->name);
sys/dev/ipmi.c
1787
rc = add_child_sensors(sc, psdr, s2->share1 & 0xF,
sys/dev/ipmi.c
1788
s2->sensor_num, s2->sensor_type, s2->event_code,
sys/dev/ipmi.c
1789
s2->share2 & 0x7F, s2->entity_id, name);
sys/dev/isa/gus.c
742
u_char s1, s2;
sys/dev/isa/gus.c
781
s2 = guspeek(iot, ioh2, 1L);
sys/dev/isa/gus.c
790
guspoke(iot, ioh2, 1L, s2);
sys/dev/pci/qat/qat_hw17reg.h
161
} s2;
sys/dev/pci/qat/qat_hw17reg.h
2030
} s2;
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
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
597
s2 = pg_src[2];
sys/dev/raidframe/rf_dagfuncs.c
601
pg_dest[2] = d2 ^ s2;
sys/dev/raidframe/rf_nwayxor.c
77
unsigned long d0, d1, d2, d3, s0, s1, s2, s3;
sys/dev/raidframe/rf_nwayxor.c
87
s2 = src[2];
sys/dev/raidframe/rf_nwayxor.c
91
dest[2] = d2 ^ s2;
sys/dev/sbus/p9100.c
1733
int s0, s1, s2, s3, ps, crtcline;
sys/dev/sbus/p9100.c
1785
s2 = upper_bit(bits);
sys/dev/sbus/p9100.c
1786
if (s2 > 0) {
sys/dev/sbus/p9100.c
1787
bits &= ~(1 << s2);
sys/dev/sbus/p9100.c
1788
s2 -= 4;
sys/dev/sbus/p9100.c
1790
s2 = 0;
sys/dev/sbus/p9100.c
1806
s2, s3, bits);
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
1368
p2 = s2; \
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/kern_softint.c
812
int s2 = splhigh();
sys/kern/kern_softint.c
817
cpu_index(curcpu()), s, s2, onproc, onproc->l_stat,
sys/kern/kern_softint.c
822
splx(s2);
sys/kern/subr_asan.c
487
kasan_strcmp(const char *s1, const char *s2)
sys/kern/subr_asan.c
491
kasan_shadow_check((unsigned long)s2, 1, false, __RET_ADDR);
sys/kern/subr_asan.c
492
if (*s1 != *s2)
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
300
kcsan_access((uintptr_t)s2, 1, false, false, __RET_ADDR);
sys/kern/subr_csan.c
301
if (*s1 != *s2)
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
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
167
c2 = *s2++;
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/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
5673
const Bytef* s2;
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
5851
unsigned long s2 = (adler >> 16) & 0xffff;
sys/net/zlib.c
5866
s2 += s1;
sys/net/zlib.c
5869
s2 %= 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
4851
(in_print(s2, sizeof(s2), &sin2->sin_addr), s2));
sys/netipsec/key.c
4861
(in_print(s2, sizeof(s2), &sin2->sin_addr), s2),
sys/rump/net/lib/libsockin/sockin_user.c
499
rumpcomp_sockin_accept(int s, struct sockaddr *name, int *lenp, int *s2)
sys/rump/net/lib/libsockin/sockin_user.c
509
*s2 = accept(s, name, (socklen_t *)lenp);
sys/rump/net/lib/libsockin/sockin_user.c
510
seterror(*s2);
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
118
s2 = rump_sys_socket(AF_LOCAL, SOCK_STREAM, 0);
tests/include/sys/t_socket.c
119
if (s2 == -1)
tests/include/sys/t_socket.c
121
if (rump_sys_connect(s2, (struct sockaddr *)&sun, SUN_LEN(&sun)) == -1)
tests/include/sys/t_socket.c
150
if (rump_sys_sendmsg(s2, &msg, 0) == -1)
tests/include/sys/t_socket.c
89
int s1, s2, sgot;
tests/kernel/t_kauth_pr_47598.c
105
int old_curtain, s, s2, err;
tests/kernel/t_kauth_pr_47598.c
138
s2 = socket(PF_INET, SOCK_STREAM|SOCK_NONBLOCK, 0);
tests/kernel/t_kauth_pr_47598.c
139
ATF_REQUIRE_MSG(s2 != -1, "socket: %d", errno);
tests/kernel/t_kauth_pr_47598.c
141
err = connect(s2, (struct sockaddr *)&sa, sizeof(sa));
tests/kernel/t_kauth_pr_47598.c
155
close(s2);
tests/lib/libc/regex/t_exhaust.c
118
char *d, *s1, *s2;
tests/lib/libc/regex/t_exhaust.c
120
s2 = concat(s1, ")");
tests/lib/libc/regex/t_exhaust.c
122
d = concat("(", s2);
tests/lib/libc/regex/t_exhaust.c
123
free(s2);
tests/lib/libc/regex/t_exhaust.c
130
char *d, *s1, *s2, *s3;
tests/lib/libc/regex/t_exhaust.c
132
s2 = mkstr("(.*)", len);
tests/lib/libc/regex/t_exhaust.c
133
s3 = concat(s1, s2);
tests/lib/libc/regex/t_exhaust.c
134
free(s2);
tests/lib/libc/regex/t_exhaust.c
146
char *d, *s1, *s2, *s3;
tests/lib/libc/regex/t_exhaust.c
148
s2 = mkstr(s, len);
tests/lib/libc/regex/t_exhaust.c
149
s3 = concat(s1, s2);
tests/lib/libc/regex/t_exhaust.c
150
free(s2);
tests/lib/libc/regex/t_exhaust.c
184
char *d, *s1, *s2;
tests/lib/libc/regex/t_exhaust.c
186
s2 = concat(s1, "(.*)");
tests/lib/libc/regex/t_exhaust.c
189
d = concat(s2, s1);
tests/lib/libc/regex/t_exhaust.c
191
free(s2);
tests/lib/libprop/t_proplib.c
342
prop_number_t s1, s2, u1, u2, u3, u4;
tests/lib/libprop/t_proplib.c
356
s2 = prop_number_create_signed(INTMAX_MAX);
tests/lib/libprop/t_proplib.c
357
ATF_REQUIRE(s2 == s1);
tests/lib/libprop/t_proplib.c
358
ATF_REQUIRE(prop_number_unsigned(s2) == false);
tests/lib/libprop/t_proplib.c
384
prop_object_release(s2);
tests/lib/libprop/t_proplib.c
737
prop_string_t s1, s2, s3;
tests/lib/libprop/t_proplib.c
748
s2 = prop_string_create_copy(const_string1);
tests/lib/libprop/t_proplib.c
749
ATF_REQUIRE(s2 != NULL);
tests/lib/libprop/t_proplib.c
750
ATF_REQUIRE(s2 == s1);
tests/lib/libprop/t_proplib.c
753
prop_object_release(s2);
tests/lib/libprop/t_proplib.c
757
s2 = prop_string_create_nocopy(const_string1);
tests/lib/libprop/t_proplib.c
758
ATF_REQUIRE(s2 != NULL);
tests/lib/libprop/t_proplib.c
759
ATF_REQUIRE(s2 == s1);
tests/lib/libprop/t_proplib.c
762
prop_object_release(s2);
tests/lib/libprop/t_proplib.c
772
s2 = prop_string_create_nocopy(const_string2);
tests/lib/libprop/t_proplib.c
773
ATF_REQUIRE(s2 != NULL);
tests/lib/libprop/t_proplib.c
775
ATF_REQUIRE(prop_string_size(s2) == strlen(const_string2));
tests/lib/libprop/t_proplib.c
777
ATF_REQUIRE(!prop_string_copy_value(s2, buf, sizeof(buf)));
tests/lib/libprop/t_proplib.c
779
prop_object_release(s2);
tests/lib/libprop/t_proplib.c
783
s2 = prop_string_create_copy("b");
tests/lib/libprop/t_proplib.c
784
ATF_REQUIRE(s2 != NULL);
tests/lib/libprop/t_proplib.c
785
s3 = prop_string_copy(s2);
tests/lib/libprop/t_proplib.c
787
ATF_REQUIRE(s3 == s2);
tests/lib/libprop/t_proplib.c
790
ATF_REQUIRE(!prop_string_equals(s1, s2));
tests/lib/libprop/t_proplib.c
791
ATF_REQUIRE(prop_string_equals(s2, s3));
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
794
ATF_REQUIRE(prop_string_compare(s2, s3) == 0);
tests/lib/libprop/t_proplib.c
796
ATF_REQUIRE(prop_string_compare_string(s2, "a") > 0);
tests/lib/libprop/t_proplib.c
802
prop_object_release(s2);
tests/lib/libpthread/t_fpu.c
120
pthread_t s2;
tests/lib/libpthread/t_fpu.c
121
PTHREAD_REQUIRE(pthread_create(&s2, 0, bar, 0));
tests/lib/librt/t_sched.c
51
struct sched_param s1, s2;
tests/lib/librt/t_sched.c
59
ATF_REQUIRE(sched_getparam(p, &s2) == 0);
tests/lib/librt/t_sched.c
61
ATF_CHECK_EQ(s1.sched_priority, s2.sched_priority);
tests/lib/librumpclient/h_exec.c
108
sprintf(buf, "%d", s2);
tests/lib/librumpclient/h_exec.c
51
int s1, s2;
tests/lib/librumpclient/h_exec.c
63
s2 = atoi(argv[2]);
tests/lib/librumpclient/h_exec.c
66
rump_sys_accept(s2, (struct sockaddr *)&sin, &slen);
tests/lib/librumpclient/h_exec.c
73
if ((s2 = rump_sys_socket(PF_INET, SOCK_STREAM, 0)) == -1)
tests/lib/librumpclient/h_exec.c
84
if (rump_sys_bind(s2, (struct sockaddr *)&sin, sizeof(sin)) == -1)
tests/lib/librumpclient/h_exec.c
89
if (rump_sys_listen(s2, 1) == -1)
tests/lib/librumpclient/h_exec.c
99
rump_sys_accept(s2, (struct sockaddr *)&sin, &slen);
tests/net/can/t_can.c
411
int s2, rv2;
tests/net/can/t_can.c
432
s2 = can_socket_with_own();
tests/net/can/t_can.c
434
can_bind(s2, ifname);
tests/net/can/t_can.c
441
if (rump_sys_write(s2, &cf_send, sizeof(cf_send)) < 0) {
tests/net/can/t_can.c
445
if (can_read(s2, &cf_receive2, &rv2) < 0) {
tests/net/can/t_can.c
473
int s2, rv2;
tests/net/can/t_can.c
497
s2 = can_socket_with_own();
tests/net/can/t_can.c
499
ifindex = can_bind(s2, ifname);
tests/net/can/t_can.c
501
if (rump_sys_write(s2, &cf_send, sizeof(cf_send)) < 0) {
tests/net/can/t_can.c
505
if (can_read(s2, &cf_receive2, &rv2) < 0) {
tests/net/can/t_can.c
538
int s2, rv2;
tests/net/can/t_can.c
562
s2 = can_socket_with_own();
tests/net/can/t_can.c
564
ifindex2 = can_bind(s2, ifname2);
tests/net/can/t_can.c
566
if (rump_sys_write(s2, &cf_send, sizeof(cf_send)) < 0) {
tests/net/can/t_can.c
570
if (can_read(s2, &cf_receive2, &rv2) < 0) {
tests/net/can/t_can.c
605
int s2, rv2;
tests/net/can/t_can.c
645
s2 = can_socket_with_own();
tests/net/can/t_can.c
657
FD_SET(s2, &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
696
if (FD_ISSET(s2, &rfds)) {
tests/net/can/t_can.c
697
if (( rv2 = rump_sys_recvfrom(s2, &cf_receive2,
tests/usr.bin/indent/lsym_preprocessing.c
113
int s2 ;
tests/usr.bin/indent/lsym_preprocessing.c
130
int s2;
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/init.c
77
struct incomplete_struct s2 = {
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
1514
addmsf(u_int *m, u_int *s, u_int *f, u_int m2, u_int s2, u_int f2)
usr.bin/cdplay/cdplay.c
1522
*s += s2;
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
694
tr2 = m2 = s2 = f2 = f1 = 0;
usr.bin/cdplay/cdplay.c
696
&s1, &f1, &tr2, &m2, &s2, &f2))
usr.bin/cdplay/cdplay.c
699
tr2 = m2 = s2 = f2 = f1 = 0;
usr.bin/cdplay/cdplay.c
701
&tr2, &m2, &s2, &f2))
usr.bin/cdplay/cdplay.c
704
tr2 = m2 = s2 = f2 = f1 = 0;
usr.bin/cdplay/cdplay.c
706
&f1, &tr2, &m2, &s2))
usr.bin/cdplay/cdplay.c
709
tr2 = m2 = s2 = f2 = f1 = 0;
usr.bin/cdplay/cdplay.c
711
&f1, &m2, &s2, &f2))
usr.bin/cdplay/cdplay.c
714
tr2 = m2 = s2 = f2 = f1 = 0;
usr.bin/cdplay/cdplay.c
716
&m2, &s2))
usr.bin/cdplay/cdplay.c
719
tr2 = m2 = s2 = f2 = f1 = 0;
usr.bin/cdplay/cdplay.c
721
&s2, &f2))
usr.bin/cdplay/cdplay.c
724
tr2 = m2 = s2 = f2 = f1 = 0;
usr.bin/cdplay/cdplay.c
729
tr2 = m2 = s2 = f2 = f1 = 0;
usr.bin/cdplay/cdplay.c
731
&m2, &s2))
usr.bin/cdplay/cdplay.c
734
tr2 = m2 = s2 = f2 = f1 = 0;
usr.bin/cdplay/cdplay.c
736
&s2))
usr.bin/cdplay/cdplay.c
739
tr2 = m2 = s2 = f2 = f1 = 0;
usr.bin/cdplay/cdplay.c
745
tr2 = m2 = s2 = f2 = f1 = 0;
usr.bin/cdplay/cdplay.c
750
tr2 = m2 = s2 = f2 = f1 = 0;
usr.bin/cdplay/cdplay.c
754
tr2 = m2 = s2 = f2 = f1 = 0;
usr.bin/cdplay/cdplay.c
758
tr2 = m2 = s2 = f2 = f1 = 0;
usr.bin/cdplay/cdplay.c
762
tr2 = m2 = s2 = f2 = f1 = 0;
usr.bin/cdplay/cdplay.c
788
addmsf(&m2, &s2, &f2, m1, s1, f1);
usr.bin/cdplay/cdplay.c
792
toc2msf(n, &m2, &s2, &f2);
usr.bin/cdplay/cdplay.c
797
m2 = s2 = f2 = 0;
usr.bin/cdplay/cdplay.c
803
addmsf(&m2, &s2, &f2, tm, ts, tf);
usr.bin/cdplay/cdplay.c
809
if ((tr2 < n) && ((m2 > tm) || ((m2 == tm) && ((s2 > ts) ||
usr.bin/cdplay/cdplay.c
810
((s2 == ts) && (f2 > tf)))))) {
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
825
4 != sscanf(arg, "%d:%d%d:%d", &m1, &s1, &m2, &s2) &&
usr.bin/cdplay/cdplay.c
832
s2 = toc_buffer[n].addr.msf.second;
usr.bin/cdplay/cdplay.c
837
s2 = ts;
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/finger/lprint.c
379
char visout[5], *s2;
usr.bin/finger/lprint.c
387
for (s2 = visout; *s2; s2++)
usr.bin/finger/lprint.c
388
(void)putchar(*s2);
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/hexdump/display.c
128
int16_t s2;
usr.bin/hexdump/display.c
166
memmove(&s2, bp, sizeof(s2));
usr.bin/hexdump/display.c
167
(void)printf(pr->fmt, (int64_t)s2);
usr.bin/iconv/iconv.c
69
const char * const *s2 = v2;
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/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
310
ch = *s2;
usr.bin/look/look.c
317
++s2; /* Ignore character in comparison. */
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/mail/complete.c
638
int s2;
usr.bin/mail/complete.c
648
s2 = 1;
usr.bin/mail/complete.c
653
s2++;
usr.bin/mail/complete.c
657
ap = salloc(MAX(s1, s2) * sizeof(*ap));
usr.bin/mail/lex.c
571
const char *s2;
usr.bin/mail/lex.c
574
s2 = as2;
usr.bin/mail/lex.c
575
while (*s1++ == *s2)
usr.bin/mail/lex.c
576
if (*s2++ == '\0')
usr.bin/mail/support.c
666
copy(char *s1, char *s2)
usr.bin/mail/support.c
669
while ((*s2++ = *s1++) != '\0')
usr.bin/mail/support.c
671
return s2 - 1;
usr.bin/make/str.c
101
memcpy(result + len1, s2, len2);
usr.bin/make/str.c
82
str_concat2(const char *s1, const char *s2)
usr.bin/make/str.c
85
size_t len2 = strlen(s2);
usr.bin/make/str.c
88
memcpy(result + len1, s2, len2 + 1);
usr.bin/make/str.c
94
str_concat3(const char *s1, const char *s2, const char *s3)
usr.bin/make/str.c
97
size_t len2 = strlen(s2);
usr.bin/netstat/mroute.c
273
char s0[256*3], s1[256], s2[256], s3[256];
usr.bin/netstat/mroute.c
295
snprintf(s2, sizeof s2, "%llu",
usr.bin/netstat/mroute.c
298
snprintf(s2, sizeof s2, "?");
usr.bin/netstat/mroute.c
302
s1, s2);
usr.bin/netstat/mroute.c
320
snprintf(s2, sizeof s2, "%llu",
usr.bin/netstat/mroute.c
323
snprintf(s2, sizeof s2, "?");
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
542
while ((*s++ = *s2++ & TRIM) != 0)
usr.bin/rdist/expand.c
566
char *s1, *s2, *s3;
usr.bin/rdist/expand.c
574
s2 = homedir;
usr.bin/rdist/expand.c
577
s2 = homedir;
usr.bin/rdist/expand.c
597
s2 = pw->pw_dir;
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
603
s2++;
usr.bin/rdist/expand.c
607
return(s2);
usr.bin/sdiff/sdiff.c
162
*tmp1, *tmp2, *s1, *s2;
usr.bin/sdiff/sdiff.c
352
s2 = xfgets(file2);
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
451
if (s2 != NULL)
usr.bin/sdiff/sdiff.c
452
fprintf(outfile, "%s\n", s2);
usr.bin/sdiff/sdiff.c
499
println(const char *s1, const char divc, const char *s2)
usr.bin/sdiff/sdiff.c
512
if (divc == ' ' && !s2) {
usr.bin/sdiff/sdiff.c
525
if (!s2) {
usr.bin/sdiff/sdiff.c
533
printcol(s2, &col, line_width);
usr.bin/sdiff/sdiff.c
668
char *s1, *s2;
usr.bin/sdiff/sdiff.c
672
if (!(s2 = xfgets(file2)))
usr.bin/sdiff/sdiff.c
677
free(s2);
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
174
if (*s2 == '\n' || s2 == back)
usr.bin/spell/spellprog/look.c
176
else if (isupper(*s2))
usr.bin/spell/spellprog/look.c
177
ch = _tolower(*s2);
usr.bin/spell/spellprog/look.c
179
ch = *s2;
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
163
s1++, s2++;
usr.bin/systat/df.c
115
humanize_number(s2, FREELEN, bavail*bsize,
usr.bin/systat/df.c
118
snprintf(s, sizeof(s), "%*s", FREELEN, s2);
usr.bin/systat/df.c
80
char s2[MNAMELEN];
usr.bin/systat/syscall.c
125
getinfo(&s2, SHOW_COUNTS | SHOW_TIMES);
usr.bin/systat/syscall.c
126
s1 = s2;
usr.bin/systat/syscall.c
300
s1 = s2;
usr.bin/systat/syscall.c
62
} s, s1, s2;
usr.bin/systat/vmstat.c
243
allocinfo(&s2);
usr.bin/systat/vmstat.c
246
getinfo(&s2);
usr.bin/systat/vmstat.c
247
copyinfo(&s2, &s1);
usr.bin/systat/vmstat.c
685
copyinfo(&s1, &s2);
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
926
if (any(c, s2))
usr.bin/tr/tr.c
184
s2 = str_create(2, argv[1]);
usr.bin/tr/tr.c
187
if (!next(s2, &ch2))
usr.bin/tr/tr.c
232
(void)next(s2, &ch2);
usr.bin/tr/tr.c
255
str_destroy(s2);
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
212
if (strcmp(s1, s2) == 0)
usr.bin/tsort/tsort.c
215
n2 = get_node(s2);
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
85
s2++;
usr.bin/vgrind/regexp.c
91
if (*s2 - *s1)
usr.bin/vgrind/regexp.c
92
return *s2 - *s1;
usr.bin/vgrind/regexp.c
94
s2++;
usr.bin/videoctl/videoctl.c
517
char *buf, *s, *s2 = NULL;
usr.bin/videoctl/videoctl.c
528
s2 = strtok(NULL, ".");
usr.bin/videoctl/videoctl.c
530
found = video_print_caps(s2);
usr.bin/videoctl/videoctl.c
533
found = video_print_formats(s2);
usr.bin/videoctl/videoctl.c
536
found = video_print_inputs(s2);
usr.bin/videoctl/videoctl.c
539
found = video_print_audios(s2);
usr.bin/videoctl/videoctl.c
542
found = video_print_standards(s2);
usr.bin/videoctl/videoctl.c
545
found = video_print_tuners(s2);
usr.bin/videoctl/videoctl.c
550
s2 = strtok(NULL, ".");
usr.bin/videoctl/videoctl.c
554
else if (s && !s2)
usr.bin/xargs/strnsubst.c
40
char *s1, *s2, *this;
usr.bin/xargs/strnsubst.c
57
s2 = calloc(maxsize, 1);
usr.bin/xargs/strnsubst.c
58
if (s2 == NULL)
usr.bin/xargs/strnsubst.c
65
(void)strlcpy(s2, s1, maxsize);
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
79
(void)strcat(s2, replstr);
usr.bin/xargs/strnsubst.c
82
(void)strcat(s2, s1);
usr.bin/xargs/strnsubst.c
84
*str = s2;
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
5272
while (s1->len + s2->len + 1 > 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
5276
free(s2->data);
usr.bin/xlint/lint1/tree.c
5278
s1->len += s2->len;
usr.bin/xlint/lint1/tree.c
5279
free(s2);
usr.bin/xlint/xlint/xlint.c
164
concat2(const char *s1, const char *s2)
usr.bin/xlint/xlint/xlint.c
168
size_t len2 = strlen(s2);
usr.bin/xlint/xlint/xlint.c
171
memcpy(s + len1, s2, len2 + 1);
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
404
return (strcmp(s1, s2) == 0);
usr.sbin/altq/libaltq/quip_server.c
408
if (strncmp(s1, s2, prefixlen) != 0)
usr.sbin/altq/libaltq/quip_server.c
410
s2 += prefixlen;
usr.sbin/altq/libaltq/quip_server.c
420
if ((s2 = strstr(s2, sub)) == NULL)
usr.sbin/altq/libaltq/quip_server.c
423
s2 += sublen;
usr.sbin/altq/libaltq/quip_server.c
428
return (strcmp(ap+1, s2+strlen(s2)-strlen(ap+1)) == 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
89
if (s2 == NULL)
usr.sbin/autofs/common.c
90
s2 = "";
usr.sbin/autofs/common.c
97
s2first = s2[0];
usr.sbin/bad144/bad144.c
444
blkcopy(int f, daddr_t s1, daddr_t s2)
usr.sbin/bad144/bad144.c
466
if (lseek(f, (off_t)(dp->d_secsize * s2), SEEK_SET) < 0)
usr.sbin/bad144/bad144.c
469
printf("copying %lld to %lld\n", (long long)s1, (long long)s2);
usr.sbin/bad144/bad144.c
471
warn("can't write replacement sector, %lld", (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
1570
dst = &((struct sockaddr_in *)s2)->sin_addr;
usr.sbin/mountd/mountd.c
1576
dst = &((struct sockaddr_in6 *)s2)->sin6_addr;
usr.sbin/mountd/mountd.c
1578
((struct sockaddr_in6 *)s2)->sin6_scope_id)
usr.sbin/mrouted/defs.h
57
#define EQUAL(s1, s2) (strcmp((s1), (s2)) == 0)
usr.sbin/pstat/pstat.c
750
const char *s2 = (const char *)p2;
usr.sbin/pstat/pstat.c
752
const struct vnode *v2 = (const struct vnode *)(s2 + 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
569
while (*s2) {
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
570
if (!strcasecmp(s1, s2))
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
572
s2++;
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
86
scramble(char *s1, char *s2)
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
89
*s2++ = (*s1 ^ zchar) & 0x7f;
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
92
*s2 = 0;
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
100
scramble(char *s1, char *s2)
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
104
*s2++ = (*s1 ^ zchar) & 0x7f;
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
107
*s2 = 0;
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
564
const char *s2;
usr.sbin/sysinst/arch/mac68k/md.c
570
c2 = tolower((unsigned char)*s2++);
usr.sbin/sysinst/mbr.c
2478
int c1, h1, s1, c2, h2, s2;
usr.sbin/sysinst/mbr.c
2490
if (get_mapping(parts, j, &c2, &h2, &s2, &a2) < 0)
usr.sbin/sysinst/mbr.c
2492
a2 -= s2;
usr.sbin/tprof/ksyms.c
53
const struct sym *s2 = *(const struct sym * const *)p2;
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);