Symbol: c
bin/csh/char.h
63
#define cmap(c, bits) \
bin/csh/char.h
64
(((c) & QUOTE) ? 0 : (_cmap[(unsigned char)(c)] & (bits)))
bin/csh/char.h
66
#define isglob(c) cmap(c, _GLOB)
bin/csh/char.h
67
#define isspc(c) cmap(c, _SP)
bin/csh/char.h
68
#define ismeta(c) cmap(c, _META)
bin/csh/char.h
69
#define iscmdmeta(c) cmap(c, _CMD)
bin/csh/char.h
70
#define letter(c) (((c) & QUOTE) ? 0 : \
bin/csh/char.h
71
(isalpha((unsigned char) (c)) || (c) == '_'))
bin/csh/char.h
72
#define alnum(c) (((c) & QUOTE) ? 0 : \
bin/csh/char.h
73
(isalnum((unsigned char) (c)) || (c) == '_'))
bin/csh/char.h
75
#define Isspace(c) (((c) & QUOTE) ? 0 : isspace((unsigned char) (c)))
bin/csh/char.h
76
#define Isdigit(c) (((c) & QUOTE) ? 0 : isdigit((unsigned char) (c)))
bin/csh/char.h
77
#define Isalpha(c) (((c) & QUOTE) ? 0 : isalpha((unsigned char) (c)))
bin/csh/char.h
78
#define Islower(c) (((c) & QUOTE) ? 0 : islower((unsigned char) (c)))
bin/csh/char.h
79
#define Isupper(c) (((c) & QUOTE) ? 0 : isupper((unsigned char) (c)))
bin/csh/char.h
80
#define Tolower(c) (((c) & QUOTE) ? 0 : tolower((unsigned char) (c)))
bin/csh/char.h
81
#define Toupper(c) (((c) & QUOTE) ? 0 : toupper((unsigned char) (c)))
bin/csh/char.h
82
#define Isxdigit(c) (((c) & QUOTE) ? 0 : isxdigit((unsigned char) (c)))
bin/csh/char.h
83
#define Isalnum(c) (((c) & QUOTE) ? 0 : isalnum((unsigned char) (c)))
bin/csh/char.h
84
#define Iscntrl(c) (((c) & QUOTE) ? 0 : iscntrl((unsigned char) (c)))
bin/csh/char.h
85
#define Isprint(c) (((c) & QUOTE) ? 0 : isprint((unsigned char) (c)))
bin/csh/char.h
87
#define Isspace(c) cmap(c, _SP|_NL)
bin/csh/char.h
88
#define Isdigit(c) cmap(c, _DIG)
bin/csh/char.h
89
#define Isalpha(c) (cmap(c,_LET) && !(((c) & META) && AsciiOnly))
bin/csh/char.h
90
#define Islower(c) (cmap(c,_LOW) && !(((c) & META) && AsciiOnly))
bin/csh/char.h
91
#define Isupper(c) (cmap(c, _UP) && !(((c) & META) && AsciiOnly))
bin/csh/char.h
92
#define Tolower(c) (_cmap_lower[(unsigned char)(c)])
bin/csh/char.h
93
#define Toupper(c) (_cmap_upper[(unsigned char)(c)])
bin/csh/char.h
94
#define Isxdigit(c) cmap(c, _XD)
bin/csh/char.h
95
#define Isalnum(c) (cmap(c, _DIG|_LET) && !(((c) & META) && AsciiOnly))
bin/csh/char.h
96
#define Iscntrl(c) (cmap(c,_CTR) && !(((c) & META) && AsciiOnly))
bin/csh/char.h
97
#define Isprint(c) (!cmap(c,_CTR) && !(((c) & META) && AsciiOnly))
bin/csh/csh.c
690
int c, i;
bin/csh/csh.c
705
if ((c = *dp) == ':' || c == 0) {
bin/csh/csh.c
708
if (c) {
bin/csh/csh.h
486
#define Strncat(a, b, c) strncat(a, b, c)
bin/csh/csh.h
488
#define Strncpy(a, b, c) strncpy(a, b, c)
bin/csh/csh.h
491
#define Strncmp(a, b, c) strncmp(a, b, c)
bin/csh/csh.h
506
#define Strncat(a, b, c) s_strncat(a, b, c)
bin/csh/csh.h
508
#define Strncpy(a, b, c) s_strncpy(a, b, c)
bin/csh/csh.h
511
#define Strncmp(a, b, c) s_strncmp(a, b, c)
bin/csh/dir.c
273
#define ISDOT(c) (UC(c)[0] == '.' && ((UC(c)[1] == '\0') || (UC(c)[1] == '/')))
bin/csh/dir.c
274
#define ISDOTDOT(c) (UC(c)[0] == '.' && ISDOT(&((c)[1])))
bin/csh/dir.c
420
struct varent *c;
bin/csh/dir.c
441
&& (c = adrof(STRcdpath))) {
bin/csh/dir.c
446
for (cdp = c->vec; *cdp; cdp++) {
bin/csh/dol.c
168
int c;
bin/csh/dol.c
173
c = DgetC(DODOL);
bin/csh/dol.c
174
if (c == '\\') {
bin/csh/dol.c
175
c = DgetC(0);
bin/csh/dol.c
176
if (c == DEOF) {
bin/csh/dol.c
177
unDredc(c);
bin/csh/dol.c
182
if (c == '\n')
bin/csh/dol.c
183
c = ' ';
bin/csh/dol.c
185
c |= QUOTE;
bin/csh/dol.c
187
if (c == DEOF) {
bin/csh/dol.c
188
unDredc(c);
bin/csh/dol.c
193
if (cmap(c, _SP | _NL | _QF | _QB)) { /* sp \t\n'"` */
bin/csh/dol.c
194
unDgetC(c);
bin/csh/dol.c
195
if (cmap(c, QUOTES))
bin/csh/dol.c
203
*wp++ = (Char)c;
bin/csh/dol.c
217
int c, c1;
bin/csh/dol.c
228
c = DgetC(DODOL);
bin/csh/dol.c
229
switch (c) {
bin/csh/dol.c
234
unDredc(c);
bin/csh/dol.c
246
*wp++ = (Char)c, --i;
bin/csh/dol.c
254
c1 = c;
bin/csh/dol.c
257
c = DgetC(dolflg);
bin/csh/dol.c
258
if (c == c1)
bin/csh/dol.c
260
if (c == '\n' || c == DEOF)
bin/csh/dol.c
262
if ((c & (QUOTE | TRIM)) == ('\n' | QUOTE))
bin/csh/dol.c
272
*wp++ = (Char)(c == '`' ? '`' : (c | QUOTE));
bin/csh/dol.c
276
*wp++ = (Char)(c | QUOTE);
bin/csh/dol.c
280
*wp++ = (Char)c;
bin/csh/dol.c
297
c = DgetC(0); /* No $ subst! */
bin/csh/dol.c
298
if (c == '\n' || c == DEOF) {
bin/csh/dol.c
302
c |= QUOTE;
bin/csh/dol.c
308
unDgetC(c);
bin/csh/dol.c
331
int c;
bin/csh/dol.c
333
if ((c = Dpeekc) != '\0') {
bin/csh/dol.c
335
return (c);
bin/csh/dol.c
338
c = *lap++ & (QUOTE | TRIM);
bin/csh/dol.c
339
if (c == 0) {
bin/csh/dol.c
344
if (cmap(c, QUOTES))
bin/csh/dol.c
345
return (c | QUOTE);
bin/csh/dol.c
346
return (c);
bin/csh/dol.c
349
if ((c = *dolp++ & (QUOTE | TRIM)) != '\0')
bin/csh/dol.c
363
c = Dredc();
bin/csh/dol.c
364
if (c == '$' && flag) {
bin/csh/dol.c
368
return (c);
bin/csh/dol.c
394
int c, lwb, sc, subscr, upb;
bin/csh/dol.c
406
c = sc = DgetC(0);
bin/csh/dol.c
407
if (c == '{')
bin/csh/dol.c
408
c = DgetC(0); /* sc is { to take } later */
bin/csh/dol.c
409
if ((c & TRIM) == '#')
bin/csh/dol.c
410
dimen++, c = DgetC(0); /* $# takes dimension */
bin/csh/dol.c
411
else if (c == '?')
bin/csh/dol.c
412
bitset++, c = DgetC(0); /* $? tests existence */
bin/csh/dol.c
413
switch (c) {
bin/csh/dol.c
463
if (Isdigit(c)) {
bin/csh/dol.c
468
subscr = subscr * 10 + c - '0';
bin/csh/dol.c
469
c = DgetC(0);
bin/csh/dol.c
470
} while (Isdigit(c));
bin/csh/dol.c
471
unDredc(c);
bin/csh/dol.c
494
if (!alnum(c))
bin/csh/dol.c
497
*np++ = (Char)c;
bin/csh/dol.c
498
c = DgetC(0);
bin/csh/dol.c
499
if (!alnum(c))
bin/csh/dol.c
505
unDredc(c);
bin/csh/dol.c
521
c = DgetC(0);
bin/csh/dol.c
523
if (dimen == 0 && subscr == 0 && c == '[') {
bin/csh/dol.c
526
c = DgetC(DODOL); /* Allow $ expand within [ ] */
bin/csh/dol.c
527
if (c == ']')
bin/csh/dol.c
529
if (c == '\n' || c == DEOF)
bin/csh/dol.c
533
*np++ = (Char)c;
bin/csh/dol.c
592
unDredc(c);
bin/csh/dol.c
608
c = Dredc();
bin/csh/dol.c
609
if (c != '}')
bin/csh/dol.c
617
int c;
bin/csh/dol.c
619
c = DgetC(0);
bin/csh/dol.c
620
if (c == ':') {
bin/csh/dol.c
622
c = DgetC(0), dolmcnt = 1, dolwcnt = 1;
bin/csh/dol.c
623
if (c == 'g' || c == 'a') {
bin/csh/dol.c
624
if (c == 'g')
bin/csh/dol.c
628
c = DgetC(0);
bin/csh/dol.c
630
if ((c == 'g' && dolmcnt != 10000) ||
bin/csh/dol.c
631
(c == 'a' && dolwcnt != 10000)) {
bin/csh/dol.c
632
if (c == 'g')
bin/csh/dol.c
636
c = DgetC(0);
bin/csh/dol.c
639
if (c == 's') { /* [eichin:19910926.0755EST] */
bin/csh/dol.c
642
dolmod[dolnmod++] = (Char)c;
bin/csh/dol.c
650
while ((c = DgetC(0)) != (-1)) {
bin/csh/dol.c
651
dolmod[dolnmod++] = (Char)c;
bin/csh/dol.c
652
if(c == delim) delimcnt--;
bin/csh/dol.c
661
if (!any("htrqxes", c))
bin/csh/dol.c
662
stderror(ERR_BADMOD, c);
bin/csh/dol.c
663
dolmod[dolnmod++] = (Char)c;
bin/csh/dol.c
664
if (c == 'q')
bin/csh/dol.c
667
while ((c = DgetC(0)) == ':');
bin/csh/dol.c
668
unDredc(c);
bin/csh/dol.c
67
#define unDgetC(c) Dpeekc = c
bin/csh/dol.c
671
unDredc(c);
bin/csh/dol.c
780
unDredc(int c)
bin/csh/dol.c
782
Dpeekrd = c;
bin/csh/dol.c
788
int c;
bin/csh/dol.c
790
if ((c = Dpeekrd) != '\0') {
bin/csh/dol.c
792
return (c);
bin/csh/dol.c
794
if (Dcp && (c = *Dcp++))
bin/csh/dol.c
795
return (c & (QUOTE | TRIM));
bin/csh/dol.c
805
Dtestq(int c)
bin/csh/dol.c
807
if (cmap(c, QUOTES))
bin/csh/dol.c
824
int c, ocnt, lcnt, mcnt;
bin/csh/dol.c
858
c = readc(1); /* 1 -> Want EOF returns */
bin/csh/dol.c
859
if (c < 0 || c == '\n')
bin/csh/dol.c
861
if ((c &= TRIM) != '\0') {
bin/csh/dol.c
862
*lbp++ = (Char)c;
bin/csh/dol.c
874
if (c < 0 || eq(lbuf, term)) {
bin/csh/dol.c
886
for (lbp = lbuf; (c = *lbp++) != '\0';) {
bin/csh/dol.c
887
*obp++ = (Char)c;
bin/csh/dol.c
906
c = DgetC(DODOL);
bin/csh/dol.c
907
if (c == DEOF)
bin/csh/dol.c
909
if ((c &= TRIM) == 0)
bin/csh/dol.c
912
if (c == '\\') {
bin/csh/dol.c
913
c = DgetC(0);
bin/csh/dol.c
914
if (!any("$\\`", c))
bin/csh/dol.c
915
unDgetC(c | QUOTE), c = '\\';
bin/csh/dol.c
917
c |= QUOTE;
bin/csh/dol.c
919
*mbp++ = (Char)c;
bin/csh/exec.c
274
unsigned char c = '\0';
bin/csh/exec.c
292
if (read(fd, (char *)&c, 1) == 1) {
bin/csh/exec.c
293
if (!Isprint(c) && (c != '\n' && c != '\t')) {
bin/csh/exec.c
303
c = '#';
bin/csh/exec.c
318
if (fd != -1 && c != '#')
bin/csh/exec.c
607
dowhich(Char **v, struct command *c)
bin/csh/file.c
168
char c;
bin/csh/file.c
186
for (p = string; (c = (char)*p) != '\0'; p++)
bin/csh/file.c
187
(void)ioctl(SHOUT, TIOCSTI, (ioctl_t) &c);
bin/csh/file.c
213
c = buf[bufidx];
bin/csh/file.c
214
if ((i < len_str) ? c != (char)string[i] :
bin/csh/file.c
215
(i < len_str + onsv) ? c != svchars[i - len_str] : 1) {
bin/csh/file.c
218
svchars[nsv++] = c;
bin/csh/file.c
307
size_t c, columns, i, maxwidth, r, rows;
bin/csh/file.c
321
for (c = 0; c < columns; c++) {
bin/csh/file.c
322
i = c * rows + r;
bin/csh/file.c
328
if (c < columns - 1) { /* last column? */
bin/csh/file.c
623
Char *c, *t;
bin/csh/file.c
625
for (c = check; *c++;)
bin/csh/file.c
632
if (c == check || *--t != *--c)
bin/csh/func.c
1446
char **c;
bin/csh/func.c
1449
ret = progprintf(blklen(v), c = short2blk(v));
bin/csh/func.c
1453
blkfree((Char **)c);
bin/csh/func.c
705
int c, d, found, kwd;
bin/csh/func.c
708
c = readc(1);
bin/csh/func.c
714
while (c == ' ' || c == '\t')
bin/csh/func.c
715
c = readc(1);
bin/csh/func.c
716
if (c == '#')
bin/csh/func.c
718
c = readc(1);
bin/csh/func.c
719
while (c >= 0 && c != '\n');
bin/csh/func.c
720
if (c < 0)
bin/csh/func.c
722
if (c == '\n') {
bin/csh/func.c
727
unreadc(c);
bin/csh/func.c
730
c = readc(1);
bin/csh/func.c
731
if (c == '\\' && (c = readc(1)) == '\n')
bin/csh/func.c
732
c = ' ';
bin/csh/func.c
733
if (c == '\'' || c == '"') {
bin/csh/func.c
735
d = c;
bin/csh/func.c
736
else if (d == c)
bin/csh/func.c
739
if (c < 0)
bin/csh/func.c
742
*wp++ = (Char)c;
bin/csh/func.c
745
} while ((d || (!(kwd = keyword(owp)) && c != ' '
bin/csh/func.c
746
&& c != '\t')) && c != '\n');
bin/csh/func.c
754
unreadc(c);
bin/csh/func.c
900
int c;
bin/csh/func.c
902
while ((c = *cp++) != '\0')
bin/csh/func.c
903
(void)vis_fputc(c | QUOTE, cshout);
bin/csh/glob.c
543
Char *p, c;
bin/csh/glob.c
551
while ((c = *p++) != '\0') {
bin/csh/glob.c
555
if (c == '`') {
bin/csh/glob.c
569
else if (c == '{')
bin/csh/glob.c
571
else if (isglob(c))
bin/csh/glob.c
632
int pvec[2], c, quoted;
bin/csh/glob.c
710
c = 0;
bin/csh/glob.c
726
c = -1;
bin/csh/glob.c
735
c = (*ip++ & TRIM);
bin/csh/glob.c
736
if (c == 0)
bin/csh/glob.c
738
if (c == '\n') {
bin/csh/glob.c
746
if (!quoted && (c == ' ' || c == '\t'))
bin/csh/glob.c
749
psave(c | quoted);
bin/csh/glob.c
757
if (c != -1 && (cnt || literal))
bin/csh/glob.c
760
} while (c >= 0);
bin/csh/glob.c
767
psave(int c)
bin/csh/glob.c
771
*pargcp++ = (Char)c;
bin/csh/glob.c
819
Char patc, namec, c;
bin/csh/glob.c
857
while ((c = *pat++) != ']') {
bin/csh/glob.c
858
c &= TRIM;
bin/csh/glob.c
860
if (c <= namec && namec <= (pat[1] & TRIM))
bin/csh/glob.c
863
} else if (c == namec)
bin/csh/glob.c
865
else if (c == 0)
bin/csh/lex.c
1041
int c, i;
bin/csh/lex.c
1044
c = getC(0);
bin/csh/lex.c
1047
switch (c) {
bin/csh/lex.c
1061
unreadc(c);
bin/csh/lex.c
1085
if (Isdigit(c)) {
bin/csh/lex.c
1087
while (Isdigit(c)) {
bin/csh/lex.c
1088
i = i * 10 + c - '0';
bin/csh/lex.c
1089
c = getC(0);
bin/csh/lex.c
1101
unreadc(c);
bin/csh/lex.c
1105
c = getC(0);
bin/csh/lex.c
1106
unreadc(c);
bin/csh/lex.c
1107
if (any("-$*", c))
bin/csh/lex.c
1124
int c, event;
bin/csh/lex.c
1128
c = sc == HISTSUB ? HIST : getC(0);
bin/csh/lex.c
1129
if (c == HIST) {
bin/csh/lex.c
1135
switch (c) {
bin/csh/lex.c
1141
ungetC(c);
bin/csh/lex.c
1156
c = getC(0);
bin/csh/lex.c
1159
if (any("(=~", c)) {
bin/csh/lex.c
1160
unreadc(c);
bin/csh/lex.c
1166
while (!cmap(c, _ESC | _META | _QF | _QB) && !any("${}:", c)) {
bin/csh/lex.c
1167
if (event != -1 && Isdigit(c))
bin/csh/lex.c
1168
event = event * 10 + c - '0';
bin/csh/lex.c
1172
*np++ = (Char)c;
bin/csh/lex.c
1173
c = getC(0);
bin/csh/lex.c
1175
unreadc(c);
bin/csh/lex.c
1196
c = getC(0);
bin/csh/lex.c
1197
if (c == '\n') {
bin/csh/lex.c
1198
unreadc(c);
bin/csh/lex.c
1201
if (c == '?')
bin/csh/lex.c
1204
*np++ = (Char)c;
bin/csh/lex.c
1294
unreadc(int c)
bin/csh/lex.c
1296
peekread = c;
bin/csh/lex.c
1303
int c;
bin/csh/lex.c
1306
if ((c = peekread) != '\0') {
bin/csh/lex.c
1308
return (c);
bin/csh/lex.c
1314
if ((c = *alvecp++) != '\0')
bin/csh/lex.c
1315
return (c);
bin/csh/lex.c
1336
if ((c = *evalp++) != '\0')
bin/csh/lex.c
1337
return (c);
bin/csh/lex.c
134
#define ungetC(c) peekc = c
bin/csh/lex.c
135
#define ungetD(c) peekd = c
bin/csh/lex.c
1364
if ((c = *arginp++) == 0) {
bin/csh/lex.c
1368
return (c);
bin/csh/lex.c
1371
c = bgetc();
bin/csh/lex.c
1372
if (c < 0) {
bin/csh/lex.c
1408
if (c == '\n' && onelflg)
bin/csh/lex.c
141
int c;
bin/csh/lex.c
1410
} while (c == 0);
bin/csh/lex.c
1411
return (c);
bin/csh/lex.c
1421
ssize_t c, numleft, roomleft;
bin/csh/lex.c
1426
int c, buf, off;
bin/csh/lex.c
1439
c = read(SHIN, tbuf, BUFSIZE);
bin/csh/lex.c
1440
while (c < 0 && errno == EINTR);
bin/csh/lex.c
1441
if (c <= 0)
bin/csh/lex.c
1443
for (i = 0; i < c; i++)
bin/csh/lex.c
1445
feobp += c;
bin/csh/lex.c
1447
c = fbuf[0][fseekp - fbobp];
bin/csh/lex.c
1449
return (int)(c);
bin/csh/lex.c
148
c = readc(0);
bin/csh/lex.c
149
while (c == ' ' || c == '\t');
bin/csh/lex.c
1491
c = numleft ? numleft : tenex(ttyline, BUFSIZE);
bin/csh/lex.c
1492
if (c > roomleft) {
bin/csh/lex.c
1495
numleft = c;
bin/csh/lex.c
1498
if (c > 0)
bin/csh/lex.c
150
if (c == HISTSUB && intty)
bin/csh/lex.c
1500
(size_t)c * sizeof(**fbuf));
bin/csh/lex.c
1505
c = read(SHIN, tbuf, (size_t)roomleft);
bin/csh/lex.c
1506
if (c > 0) {
bin/csh/lex.c
1510
for (i = 0; i < c; i++)
bin/csh/lex.c
1516
if (c >= 0)
bin/csh/lex.c
152
getexcl(c);
bin/csh/lex.c
1528
if (c <= 0)
bin/csh/lex.c
1530
feobp += c;
bin/csh/lex.c
1538
c = fbuf[buf][(int)fseekp % BUFSIZE];
bin/csh/lex.c
154
unreadc(c);
bin/csh/lex.c
1540
return (int)(c);
bin/csh/lex.c
260
int i, c, c1;
bin/csh/lex.c
266
while ((c = getC(DOALL)) == ' ' || c == '\t')
bin/csh/lex.c
268
if (cmap(c, _META | _ESC))
bin/csh/lex.c
269
switch (c) {
bin/csh/lex.c
274
*wp++ = (Char)c;
bin/csh/lex.c
276
if (c1 == c)
bin/csh/lex.c
285
c = 0;
bin/csh/lex.c
287
c1 = c;
bin/csh/lex.c
288
c = getC(0);
bin/csh/lex.c
289
} while (c != '\n');
bin/csh/lex.c
298
*wp++ = (Char)c;
bin/csh/lex.c
302
c = getC(0);
bin/csh/lex.c
303
if (c == '\n') {
bin/csh/lex.c
308
if (c != HIST)
bin/csh/lex.c
310
c |= QUOTE;
bin/csh/lex.c
317
if (c == c1) {
bin/csh/lex.c
321
else if (c == '\\') {
bin/csh/lex.c
322
c = getC(0);
bin/csh/lex.c
323
if (c == HIST)
bin/csh/lex.c
324
c |= QUOTE;
bin/csh/lex.c
326
if (c == '\n')
bin/csh/lex.c
330
c |= QUOTE;
bin/csh/lex.c
331
ungetC(c);
bin/csh/lex.c
332
c = '\\';
bin/csh/lex.c
335
else if (c == '\n') {
bin/csh/lex.c
337
ungetC(c);
bin/csh/lex.c
341
else if (cmap(c, _META | _QF | _QB | _ESC)) {
bin/csh/lex.c
342
if (c == '\\') {
bin/csh/lex.c
343
c = getC(0);
bin/csh/lex.c
344
if (c == '\n') {
bin/csh/lex.c
349
if (c != HIST)
bin/csh/lex.c
351
c |= QUOTE;
bin/csh/lex.c
353
else if (cmap(c, _QF | _QB)) { /* '"` */
bin/csh/lex.c
354
c1 = c;
bin/csh/lex.c
355
dolflg = c == '"' ? DOALL : DOEXCL;
bin/csh/lex.c
357
else if (c != '#' || !intty) {
bin/csh/lex.c
358
ungetC(c);
bin/csh/lex.c
363
*wp++ = (Char)c;
bin/csh/lex.c
364
c = getC(dolflg);
bin/csh/lex.c
380
int c;
bin/csh/lex.c
383
if ((c = peekc) != '\0') {
bin/csh/lex.c
385
return (c);
bin/csh/lex.c
388
if ((c = *lap++) == 0)
bin/csh/lex.c
391
if (cmap(c, _META | _QF | _QB))
bin/csh/lex.c
392
c |= QUOTE;
bin/csh/lex.c
393
return (c);
bin/csh/lex.c
396
if ((c = peekd) != '\0') {
bin/csh/lex.c
398
return (c);
bin/csh/lex.c
401
if ((c = *exclp++) != '\0')
bin/csh/lex.c
402
return (c);
bin/csh/lex.c
419
c = readc(0);
bin/csh/lex.c
420
if (c == '$' && (flag & DODOL)) {
bin/csh/lex.c
424
if (c == HIST && (flag & DOEXCL)) {
bin/csh/lex.c
430
return (c);
bin/csh/lex.c
437
int c, sc;
bin/csh/lex.c
442
c = sc = getC(DOEXCL);
bin/csh/lex.c
443
if (any("\t \n", c)) {
bin/csh/lex.c
444
ungetD(c);
bin/csh/lex.c
448
if (c == '{')
bin/csh/lex.c
449
*np++ = (Char)c, c = getC(DOEXCL);
bin/csh/lex.c
450
if (c == '#' || c == '?')
bin/csh/lex.c
451
special++, *np++ = (Char)c, c = getC(DOEXCL);
bin/csh/lex.c
452
*np++ = (Char)c;
bin/csh/lex.c
453
switch (c) {
bin/csh/lex.c
463
ungetD(c);
bin/csh/lex.c
477
if (Isdigit(c)) {
bin/csh/lex.c
489
while ((c = getC(DOEXCL)) != '\0'){
bin/csh/lex.c
490
if (!Isdigit(c))
bin/csh/lex.c
493
*np++ = (Char)c;
bin/csh/lex.c
498
else if (letter(c)) {
bin/csh/lex.c
502
while ((c = getC(DOEXCL)) != '\0') {
bin/csh/lex.c
504
if (!letter(c) && !Isdigit(c))
bin/csh/lex.c
507
*np++ = (Char)c;
bin/csh/lex.c
526
if (c == '[') {
bin/csh/lex.c
527
*np++ = (Char)c;
bin/csh/lex.c
537
c = getC(DOEXCL | DODOL);
bin/csh/lex.c
538
if (c == '\n') {
bin/csh/lex.c
539
ungetD(c);
bin/csh/lex.c
547
*np++ = (Char)c;
bin/csh/lex.c
548
} while (c != ']');
bin/csh/lex.c
555
c = getC(DOEXCL);
bin/csh/lex.c
560
if (c == ':') {
bin/csh/lex.c
570
*np++ = (Char)c, c = getC(DOEXCL);
bin/csh/lex.c
571
if (c == 'g' || c == 'a') {
bin/csh/lex.c
572
if (c == 'g')
bin/csh/lex.c
576
*np++ = (Char)c; c = getC(DOEXCL);
bin/csh/lex.c
578
if ((c == 'g' && !gmodflag) || (c == 'a' && !amodflag)) {
bin/csh/lex.c
579
if (c == 'g')
bin/csh/lex.c
583
*np++ = (Char)c, c = getC(DOEXCL);
bin/csh/lex.c
585
*np++ = (Char)c;
bin/csh/lex.c
587
if (c == 's') {
bin/csh/lex.c
597
while ((c = getC(0)) != -1) {
bin/csh/lex.c
598
*np++ = (Char)c;
bin/csh/lex.c
599
if(c == delim) delimcnt--;
bin/csh/lex.c
606
c = 's';
bin/csh/lex.c
608
if (!any("htrqxes", c)) {
bin/csh/lex.c
609
if ((amodflag || gmodflag) && c == '\n')
bin/csh/lex.c
611
seterror(ERR_VARMOD, c);
bin/csh/lex.c
617
while ((c = getC(DOEXCL)) == ':');
bin/csh/lex.c
618
ungetD(c);
bin/csh/lex.c
621
ungetD(c);
bin/csh/lex.c
623
c = getC(DOEXCL);
bin/csh/lex.c
624
if (c != '}') {
bin/csh/lex.c
625
ungetD(c);
bin/csh/lex.c
631
*np++ = (Char)c;
bin/csh/lex.c
665
int c, dol, left, right;
bin/csh/lex.c
689
ungetC('s'), unreadc(HISTSUB), c = ':';
bin/csh/lex.c
692
c = getC(0);
bin/csh/lex.c
693
if (!any(":^$*-%", c))
bin/csh/lex.c
696
if (c == ':') {
bin/csh/lex.c
697
c = getC(0);
bin/csh/lex.c
698
unreadc(c);
bin/csh/lex.c
699
if (letter(c) || c == '&') {
bin/csh/lex.c
700
c = ':';
bin/csh/lex.c
706
ungetC(c);
bin/csh/lex.c
709
c = getC(0);
bin/csh/lex.c
710
if (c == '*')
bin/csh/lex.c
711
ungetC(c), c = '-';
bin/csh/lex.c
712
if (c == '-') {
bin/csh/lex.c
715
c = getC(0);
bin/csh/lex.c
721
if (sc == HISTSUB || c == ':') {
bin/csh/lex.c
724
c = getC(0);
bin/csh/lex.c
725
} while (c == ':');
bin/csh/lex.c
727
unreadc(c);
bin/csh/lex.c
729
c = getC(0);
bin/csh/lex.c
730
if (c != '}')
bin/csh/lex.c
741
int c, delim, sc;
bin/csh/lex.c
747
sc = c = getC(0);
bin/csh/lex.c
748
if (c == 'g' || c == 'a') {
bin/csh/lex.c
749
global |= (c == 'g') ? 1 : 2;
bin/csh/lex.c
750
sc = c = getC(0);
bin/csh/lex.c
752
if (((c =='g') && !(global & 1)) || ((c == 'a') && !(global & 2))) {
bin/csh/lex.c
753
global |= (c == 'g') ? 1 : 2;
bin/csh/lex.c
754
sc = c = getC(0);
bin/csh/lex.c
757
switch (c) {
bin/csh/lex.c
793
c = getC(0);
bin/csh/lex.c
794
if (c == '\n') {
bin/csh/lex.c
795
unreadc(c);
bin/csh/lex.c
798
if (c == delim)
bin/csh/lex.c
805
if (c == '\\') {
bin/csh/lex.c
806
c = getC(0);
bin/csh/lex.c
807
if (c != delim && c != '\\')
bin/csh/lex.c
810
*cp++ = (Char)c;
bin/csh/lex.c
821
c = getC(0);
bin/csh/lex.c
822
if (c == '\n') {
bin/csh/lex.c
823
unreadc(c);
bin/csh/lex.c
826
if (c == delim)
bin/csh/lex.c
829
if (c == '~') {
bin/csh/lex.c
842
if (c == '\\') {
bin/csh/lex.c
843
c = getC(0);
bin/csh/lex.c
844
if (c != delim /* && c != '~' */ )
bin/csh/lex.c
847
*cp++ = (Char)c;
bin/csh/lex.c
852
if (c == '\n')
bin/csh/lex.c
853
unreadc(c);
bin/csh/lex.c
854
seterror(ERR_BADBANGMOD, c);
bin/csh/lex.c
861
while ((c = getC(0)) == ':');
bin/csh/lex.c
862
unreadc(c);
bin/csh/lex.c
989
int c;
bin/csh/lex.c
995
for (xp = wp; (c = *xp) != '\0'; xp++)
bin/csh/lex.c
996
if ((c != ' ' && c != '\t') || type == 'q')
bin/csh/misc.c
314
lshift(Char **v, size_t c)
bin/csh/misc.c
318
for (u = v; *u && c-- > 0; u++)
bin/csh/misc.c
55
any(const char *s, int c)
bin/csh/misc.c
60
if (*s++ == c)
bin/csh/parse.c
452
int c, l, n;
bin/csh/parse.c
522
c = p->word[0];
bin/csh/parse.c
523
switch (c) {
bin/csh/set.c
264
Char c, op, *p, *vp;
bin/csh/set.c
300
c = '=';
bin/csh/set.c
304
c = *p++;
bin/csh/set.c
305
if (any("+-", c)) {
bin/csh/set.c
306
if (c != op || *p)
bin/csh/set.c
312
if (c != op)
bin/csh/set.c
314
c = *p++;
bin/csh/set.c
317
if (c != '=')
bin/csh/set.c
344
if (c != '=')
bin/csh/set.c
514
struct varent *c;
bin/csh/set.c
518
while ((c = p->v_link[f]) != NULL) {
bin/csh/set.c
519
if ((f = *name - *c->v_name) == 0 &&
bin/csh/set.c
520
(f = Strcmp(name, c->v_name)) == 0) {
bin/csh/set.c
521
blkfree(c->vec);
bin/csh/set.c
524
p = c;
bin/csh/set.c
527
p->v_link[f] = c = xmalloc(sizeof(*c));
bin/csh/set.c
528
c->v_name = Strsave(name);
bin/csh/set.c
529
c->v_bal = 0;
bin/csh/set.c
530
c->v_left = c->v_right = 0;
bin/csh/set.c
531
c->v_parent = p;
bin/csh/set.c
534
trim(c->vec = vec);
bin/csh/set.c
624
struct varent *c, *pp;
bin/csh/set.c
638
c = p->v_left;
bin/csh/set.c
640
c = p->v_right;
bin/csh/set.c
642
for (c = p->v_left; c->v_right; c = c->v_right)
bin/csh/set.c
644
p->v_name = c->v_name;
bin/csh/set.c
645
p->vec = c->vec;
bin/csh/set.c
646
p = c;
bin/csh/set.c
647
c = p->v_left;
bin/csh/set.c
654
if ((pp->v_link[f] = c) != NULL)
bin/csh/set.c
655
c->v_parent = pp;
bin/csh/set.c
844
struct varent *c;
bin/csh/set.c
873
c = p;
bin/csh/set.c
875
} while (p->v_right == c);
bin/dd/misc.c
204
#define ADDC(c) do { if (enable != 0) buffer_write(&c, 1, 0); } \
bin/ed/cbc.c
192
put_des_char(int c, FILE *fp)
bin/ed/cbc.c
199
return (des_ct >= 0) ? (unsigned char) (des_buf[des_n++] = c) : EOF;
bin/ed/cbc.c
262
hex_to_binary(int c /* char to be converted */,
bin/ed/cbc.c
265
switch(c) {
bin/ed/cbc.c
429
int c; /* used to test for EOF */
bin/ed/cbc.c
438
for (c = 0; c < 8; c++)
bin/ed/cbc.c
439
UCHAR(msgbuf, c) ^= UCHAR(ivec, c);
bin/ed/cbc.c
444
if ((c = fgetc(fp)) == EOF) {
bin/ed/cbc.c
451
(void)ungetc(c, fp);
bin/ed/io.c
125
int c;
bin/ed/io.c
128
while (((c = des ? get_des_char(fp) : getc(fp)) != EOF || (!feof(fp) &&
bin/ed/io.c
129
!ferror(fp))) && c != '\n') {
bin/ed/io.c
131
if (!(sbuf[i++] = c))
bin/ed/io.c
135
if (c == '\n')
bin/ed/io.c
136
sbuf[i++] = c;
bin/ed/io.c
266
int c;
bin/ed/io.c
269
switch (c = getchar()) {
bin/ed/io.c
273
if (!(ibuf[i++] = c)) isbinary = 1;
bin/ed/io.c
274
if (c != '\n')
bin/ed/main.c
115
int c, n;
bin/ed/main.c
122
while ((c = getopt(argc, argv, "p:sxES")) != -1)
bin/ed/main.c
123
switch(c) {
bin/ed/main.c
320
int c;
bin/ed/main.c
324
switch (c = *ibufp) {
bin/ed/main.c
334
addr += (c == '-' || c == '^') ? -n : n;
bin/ed/main.c
335
} else if (!isspace((unsigned char)c))
bin/ed/main.c
336
addr += (c == '-' || c == '^') ? -1 : 1;
bin/ed/main.c
348
addr = (c == '.') ? current_addr : addr_last;
bin/ed/main.c
354
get_compiled_pattern(), c == '/')) < 0)
bin/ed/main.c
356
else if (c == *ibufp)
bin/ed/main.c
371
second_addr = (c == ';') ? current_addr : 1;
bin/ed/main.c
477
int c;
bin/ed/main.c
480
switch(c = *ibufp++) {
bin/ed/main.c
567
else if (build_active_list(c == 'g' || c == 'G') < 0)
bin/ed/main.c
569
else if ((n = (c == 'G' || c == 'V')) != 0)
bin/ed/main.c
612
c = *ibufp++;
bin/ed/main.c
618
if (mark_line_node(get_addressed_line_node(second_addr), (unsigned char)c) < 0)
bin/ed/main.c
673
gflag = (modified && !scripted && c == 'q') ? EMOD : EOF;
bin/ed/main.c
828
(c == 'W') ? "a" : "w", first_addr, second_addr)) < 0)
bin/ed/re.c
134
int c, d;
bin/ed/re.c
142
for (s++, c = *++s; *s != ']' || c != d; s++)
bin/ed/re.c
143
if ((c = *s) == '\n')
bin/ed/sub.c
84
char c;
bin/ed/sub.c
96
if ((c = rhbuf[i++] = *ibufp++) == '\n' && *ibufp == '\0') {
bin/ed/sub.c
99
} else if (c != '\\')
bin/ksh/c_ksh.c
320
int c;
bin/ksh/c_ksh.c
322
while ((c = *s++) != '\0') {
bin/ksh/c_ksh.c
324
if ((flags & PO_EXPAND) && c == '\\') {
bin/ksh/c_ksh.c
327
switch ((c = *s++)) {
bin/ksh/c_ksh.c
332
case 'a': c = '\007'; break;
bin/ksh/c_ksh.c
333
case 'b': c = '\b'; break;
bin/ksh/c_ksh.c
336
case 'f': c = '\f'; break;
bin/ksh/c_ksh.c
337
case 'n': c = '\n'; break;
bin/ksh/c_ksh.c
338
case 'r': c = '\r'; break;
bin/ksh/c_ksh.c
339
case 't': c = '\t'; break;
bin/ksh/c_ksh.c
340
case 'v': c = 0x0B; break;
bin/ksh/c_ksh.c
346
c = 0;
bin/ksh/c_ksh.c
349
c = c*8 + *s++ - '0';
bin/ksh/c_ksh.c
354
case '\0': s--; c = '\\'; break;
bin/ksh/c_ksh.c
360
Xput(xs, xp, c);
bin/ksh/c_sh.c
248
int c = 0;
bin/ksh/c_sh.c
330
if (c == '\n' || c == EOF)
bin/ksh/c_sh.c
333
c = shf_getc(shf);
bin/ksh/c_sh.c
334
if (c == '\0'
bin/ksh/c_sh.c
337
if (c == EOF && shf_error(shf)
bin/ksh/c_sh.c
356
Xput(xs, xp, c);
bin/ksh/c_sh.c
361
if (c == '\n') {
bin/ksh/c_sh.c
362
c = 0;
bin/ksh/c_sh.c
370
} else if (c != EOF)
bin/ksh/c_sh.c
371
Xput(cs, cp, c);
bin/ksh/c_sh.c
374
if (expandv && c == '\\') {
bin/ksh/c_sh.c
378
if (c == '\n' || c == EOF)
bin/ksh/c_sh.c
380
if (ctype(c, C_IFS)) {
bin/ksh/c_sh.c
381
if (Xlength(cs, cp) == 0 && ctype(c, C_IFSWS))
bin/ksh/c_sh.c
386
Xput(cs, cp, c);
bin/ksh/c_sh.c
421
if (c == EOF && !ecode)
bin/ksh/c_sh.c
425
return ecode ? ecode : c == EOF;
bin/ksh/edit.c
161
char c;
bin/ksh/edit.c
164
while ((n = blocking_read(0, &c, 1)) < 0 && errno == EINTR)
bin/ksh/edit.c
172
return (int) (unsigned char) c;
bin/ksh/edit.c
182
x_putc(c)
bin/ksh/edit.c
183
int c;
bin/ksh/edit.c
185
shf_putc(c, shl_out);
bin/ksh/edit.c
712
#define IS_WORDC(c) !( ctype(c, C_LEX1) || (c) == '\'' || (c) == '"' \
bin/ksh/edit.c
713
|| (c) == '`' || (c) == '=' || (c) == ':' )
bin/ksh/edit.h
51
void x_putc ARGS((int c));
bin/ksh/emacs.c
1013
x_del_line(c)
bin/ksh/emacs.c
1014
int c;
bin/ksh/emacs.c
1032
x_mv_end(c)
bin/ksh/emacs.c
1033
int c;
bin/ksh/emacs.c
1040
x_mv_begin(c)
bin/ksh/emacs.c
1041
int c;
bin/ksh/emacs.c
1048
x_draw_line(c)
bin/ksh/emacs.c
1049
int c;
bin/ksh/emacs.c
1117
x_transpose(c)
bin/ksh/emacs.c
1118
int c;
bin/ksh/emacs.c
1170
x_literal(c)
bin/ksh/emacs.c
1171
int c;
bin/ksh/emacs.c
1178
x_meta1(c)
bin/ksh/emacs.c
1179
int c;
bin/ksh/emacs.c
1186
x_meta2(c)
bin/ksh/emacs.c
1187
int c;
bin/ksh/emacs.c
1194
x_kill(c)
bin/ksh/emacs.c
1195
int c;
bin/ksh/emacs.c
1226
x_yank(c)
bin/ksh/emacs.c
1227
int c;
bin/ksh/emacs.c
1245
x_meta_yank(c)
bin/ksh/emacs.c
1246
int c;
bin/ksh/emacs.c
127
static void x_bs ARGS((int c));
bin/ksh/emacs.c
1270
x_abort(c)
bin/ksh/emacs.c
1271
int c;
bin/ksh/emacs.c
1281
x_error(c)
bin/ksh/emacs.c
1282
int c;
bin/ksh/emacs.c
1289
x_stuffreset(c)
bin/ksh/emacs.c
129
static int x_size ARGS((int c));
bin/ksh/emacs.c
1290
int c;
bin/ksh/emacs.c
1293
(void)x_stuff(c);
bin/ksh/emacs.c
1296
x_zotc(c);
bin/ksh/emacs.c
1306
x_stuff(c)
bin/ksh/emacs.c
1307
int c;
bin/ksh/emacs.c
131
static void x_zotc ARGS((int c));
bin/ksh/emacs.c
1310
char ch = c;
bin/ksh/emacs.c
1348
x_mapout(c)
bin/ksh/emacs.c
1349
int c;
bin/ksh/emacs.c
1354
if (iscntrl((unsigned char)c)) {
bin/ksh/emacs.c
1356
*p++ = UNCTRL(c);
bin/ksh/emacs.c
1358
*p++ = c;
bin/ksh/emacs.c
138
static char * x_mapout ARGS((int c));
bin/ksh/emacs.c
141
static void x_e_ungetc ARGS((int c));
bin/ksh/emacs.c
143
static void x_e_putc ARGS((int c));
bin/ksh/emacs.c
145
static int x_comment ARGS((int c));
bin/ksh/emacs.c
146
static int x_fold_case ARGS((int c));
bin/ksh/emacs.c
1540
x_set_mark(c)
bin/ksh/emacs.c
1541
int c;
bin/ksh/emacs.c
1548
x_kill_region(c)
bin/ksh/emacs.c
1549
int c;
bin/ksh/emacs.c
1572
x_xchg_point_mark(c)
bin/ksh/emacs.c
1573
int c;
bin/ksh/emacs.c
1588
x_version(c)
bin/ksh/emacs.c
1589
int c;
bin/ksh/emacs.c
1600
c = x_e_getc();
bin/ksh/emacs.c
1608
if (c < 0)
bin/ksh/emacs.c
1611
if (c != ' ')
bin/ksh/emacs.c
1612
x_e_ungetc(c);
bin/ksh/emacs.c
1618
x_noop(c)
bin/ksh/emacs.c
1619
int c;
bin/ksh/emacs.c
1626
x_game_of_life(c)
bin/ksh/emacs.c
1627
int c;
bin/ksh/emacs.c
1683
x_comp_comm(c)
bin/ksh/emacs.c
1684
int c;
bin/ksh/emacs.c
1690
x_list_comm(c)
bin/ksh/emacs.c
1691
int c;
bin/ksh/emacs.c
1697
x_complete(c)
bin/ksh/emacs.c
1698
int c;
bin/ksh/emacs.c
1704
x_enumerate(c)
bin/ksh/emacs.c
1705
int c;
bin/ksh/emacs.c
1711
x_comp_file(c)
bin/ksh/emacs.c
1712
int c;
bin/ksh/emacs.c
1718
x_list_file(c)
bin/ksh/emacs.c
1719
int c;
bin/ksh/emacs.c
1725
x_comp_list(c)
bin/ksh/emacs.c
1726
int c;
bin/ksh/emacs.c
1732
x_expand(c)
bin/ksh/emacs.c
1733
int c;
bin/ksh/emacs.c
1850
x_e_ungetc(c)
bin/ksh/emacs.c
1851
int c;
bin/ksh/emacs.c
1853
unget_char = c;
bin/ksh/emacs.c
1859
int c;
bin/ksh/emacs.c
1862
c = unget_char;
bin/ksh/emacs.c
1866
c = (unsigned char) *macroptr++;
bin/ksh/emacs.c
1870
c = x_getc();
bin/ksh/emacs.c
1873
return c <= CHARMASK ? c : (c & CHARMASK);
bin/ksh/emacs.c
1877
x_e_putc(c)
bin/ksh/emacs.c
1878
int c;
bin/ksh/emacs.c
1880
if (c == '\r' || c == '\n')
bin/ksh/emacs.c
1884
x_putc(c);
bin/ksh/emacs.c
1885
switch(c)
bin/ksh/emacs.c
1908
x_debug_info(c)
bin/ksh/emacs.c
1909
int c;
bin/ksh/emacs.c
1946
x_set_arg(c)
bin/ksh/emacs.c
1947
int c;
bin/ksh/emacs.c
1952
c &= CHARMASK; /* strip command prefix */
bin/ksh/emacs.c
1953
for (; c >= 0 && isdigit(c); c = x_e_getc(), first = 0)
bin/ksh/emacs.c
1954
n = n * 10 + (c - '0');
bin/ksh/emacs.c
1955
if (c < 0 || first) {
bin/ksh/emacs.c
1960
x_e_ungetc(c);
bin/ksh/emacs.c
1970
x_comment(c)
bin/ksh/emacs.c
1971
int c;
bin/ksh/emacs.c
2007
x_prev_histword(c)
bin/ksh/emacs.c
2008
int c;
bin/ksh/emacs.c
2057
x_fold_upper(c)
bin/ksh/emacs.c
2058
int c;
bin/ksh/emacs.c
2065
x_fold_lower(c)
bin/ksh/emacs.c
2066
int c;
bin/ksh/emacs.c
2073
x_fold_capitalize(c)
bin/ksh/emacs.c
2074
int c;
bin/ksh/emacs.c
2091
x_fold_case(c)
bin/ksh/emacs.c
2092
int c;
bin/ksh/emacs.c
2111
if (c == 'L') { /* lowercase */
bin/ksh/emacs.c
2124
if (c == 'U') { /* uppercase */
bin/ksh/emacs.c
324
int c;
bin/ksh/emacs.c
362
if ((c = x_e_getc()) < 0)
bin/ksh/emacs.c
365
if (ISMETA(c)) {
bin/ksh/emacs.c
366
c = META(c);
bin/ksh/emacs.c
371
: x_tab[x_curprefix][c&CHARMASK];
bin/ksh/emacs.c
379
i = c | (x_curprefix << 8);
bin/ksh/emacs.c
398
x_insert(c)
bin/ksh/emacs.c
399
int c;
bin/ksh/emacs.c
406
if (c == 0) {
bin/ksh/emacs.c
410
str[0] = c;
bin/ksh/emacs.c
418
x_ins_string(c)
bin/ksh/emacs.c
419
int c;
bin/ksh/emacs.c
425
macroptr = x_atab[c>>8][c & CHARMASK];
bin/ksh/emacs.c
44
int (*xf_func) ARGS((int c));
bin/ksh/emacs.c
496
x_del_back(c)
bin/ksh/emacs.c
497
int c;
bin/ksh/emacs.c
513
x_del_char(c)
bin/ksh/emacs.c
514
int c;
bin/ksh/emacs.c
587
x_del_bword(c)
bin/ksh/emacs.c
588
int c;
bin/ksh/emacs.c
595
x_mv_bword(c)
bin/ksh/emacs.c
596
int c;
bin/ksh/emacs.c
603
x_mv_fword(c)
bin/ksh/emacs.c
604
int c;
bin/ksh/emacs.c
611
x_del_fword(c)
bin/ksh/emacs.c
612
int c;
bin/ksh/emacs.c
63
#define is_cfs(c) (c == ' ' || c == '\t' || c == '"' || c == '\'')
bin/ksh/emacs.c
64
#define is_mfs(c) (!(isalnum((unsigned char)c) || c == '_' || c == '$')) /* Separator for motion */
bin/ksh/emacs.c
700
x_bs(c)
bin/ksh/emacs.c
701
int c;
bin/ksh/emacs.c
704
i = x_size(c);
bin/ksh/emacs.c
720
x_size(c)
bin/ksh/emacs.c
721
int c;
bin/ksh/emacs.c
723
if (c=='\t')
bin/ksh/emacs.c
725
if (iscntrl((unsigned char)c)) /* control char */
bin/ksh/emacs.c
742
x_zotc(c)
bin/ksh/emacs.c
743
int c;
bin/ksh/emacs.c
745
if (c == '\t') {
bin/ksh/emacs.c
748
} else if (iscntrl((unsigned char)c)) {
bin/ksh/emacs.c
750
x_e_putc(UNCTRL(c));
bin/ksh/emacs.c
752
x_e_putc(c);
bin/ksh/emacs.c
756
x_mv_back(c)
bin/ksh/emacs.c
757
int c;
bin/ksh/emacs.c
772
x_mv_forw(c)
bin/ksh/emacs.c
773
int c;
bin/ksh/emacs.c
788
x_search_char_forw(c)
bin/ksh/emacs.c
789
int c;
bin/ksh/emacs.c
794
c = x_e_getc();
bin/ksh/emacs.c
796
if (c < 0
bin/ksh/emacs.c
797
|| ((cp = (cp == xep) ? NULL : strchr(cp + 1, c)) == NULL
bin/ksh/emacs.c
798
&& (cp = strchr(xbuf, c)) == NULL))
bin/ksh/emacs.c
809
x_search_char_back(c)
bin/ksh/emacs.c
810
int c;
bin/ksh/emacs.c
814
c = x_e_getc();
bin/ksh/emacs.c
819
if (c < 0 || p == cp) {
bin/ksh/emacs.c
823
if (*p == c)
bin/ksh/emacs.c
831
x_newline(c)
bin/ksh/emacs.c
832
int c;
bin/ksh/emacs.c
842
x_end_of_text(c)
bin/ksh/emacs.c
843
int c;
bin/ksh/emacs.c
848
static int x_beg_hist(c) int c; { x_load_hist(histlist); return KSTD;}
bin/ksh/emacs.c
850
static int x_end_hist(c) int c; { x_load_hist(histptr); return KSTD;}
bin/ksh/emacs.c
852
static int x_prev_com(c) int c; { x_load_hist(x_histp - x_arg); return KSTD;}
bin/ksh/emacs.c
854
static int x_next_com(c) int c; { x_load_hist(x_histp + x_arg); return KSTD;}
bin/ksh/emacs.c
861
x_goto_hist(c)
bin/ksh/emacs.c
862
int c;
bin/ksh/emacs.c
894
x_nl_next_com(c)
bin/ksh/emacs.c
895
int c;
bin/ksh/emacs.c
898
return (x_newline(c));
bin/ksh/emacs.c
902
x_eot_del(c)
bin/ksh/emacs.c
903
int c;
bin/ksh/emacs.c
906
return (x_end_of_text(c));
bin/ksh/emacs.c
908
return (x_del_char(c));
bin/ksh/emacs.c
913
x_search_hist(c)
bin/ksh/emacs.c
914
int c;
bin/ksh/emacs.c
928
if ((c = x_e_getc()) < 0)
bin/ksh/emacs.c
930
f = x_tab[0][c&CHARMASK];
bin/ksh/emacs.c
931
if (c == CTRL('['))
bin/ksh/emacs.c
954
*p++ = c, *p = '\0';
bin/ksh/emacs.c
965
x_e_ungetc(c);
bin/ksh/eval.c
1149
int c = *++p;
bin/ksh/eval.c
1151
if (c == '*' || c == '?')
bin/ksh/eval.c
166
int UNINITIALIZED(c);
bin/ksh/eval.c
217
c = *sp++;
bin/ksh/eval.c
218
switch (c) {
bin/ksh/eval.c
220
c = 0;
bin/ksh/eval.c
223
c = *sp++;
bin/ksh/eval.c
227
c = *sp++;
bin/ksh/eval.c
452
c = *sp++ + 0x80;
bin/ksh/eval.c
457
c = '|';
bin/ksh/eval.c
462
c = /*(*/ ')';
bin/ksh/eval.c
485
if ((c = *x.str++) == 0) {
bin/ksh/eval.c
498
if ((c = *x.str++) == '\0') {
bin/ksh/eval.c
511
c = ifs0;
bin/ksh/eval.c
512
if (c == 0) {
bin/ksh/eval.c
515
c = ' ';
bin/ksh/eval.c
527
c = '\n';
bin/ksh/eval.c
530
while ((c = shf_getc(x.u.shf)) == 0 || c == '\n')
bin/ksh/eval.c
531
if (c == '\n')
bin/ksh/eval.c
533
if (newlines && c != EOF) {
bin/ksh/eval.c
534
shf_ungetc(c, x.u.shf);
bin/ksh/eval.c
535
c = '\n';
bin/ksh/eval.c
539
if (c == EOF) {
bin/ksh/eval.c
553
if (c == 0 || (!quote && (f & DOBLANK) && doblank && !make_magic
bin/ksh/eval.c
554
&& ctype(c, C_IFS)))
bin/ksh/eval.c
568
|| (!ctype(c, C_IFSWS) && (c || word == IFS_NWS)))
bin/ksh/eval.c
591
if (c != 0)
bin/ksh/eval.c
594
if (c == 0)
bin/ksh/eval.c
597
word = ctype(c, C_IFSWS) ? IFS_WS : IFS_NWS;
bin/ksh/eval.c
603
switch (c) {
bin/ksh/eval.c
614
if (c == '[')
bin/ksh/eval.c
630
if ((f & DOBRACE_) && (c == OBRACE
bin/ksh/eval.c
683
} else if (ISMAGIC(c)) {
bin/ksh/eval.c
687
*dp++ = c; /* save output char */
bin/ksh/eval.c
704
int c;
bin/ksh/eval.c
717
if (sp[0] == '#' && (c = sp[1]) != '\0') {
bin/ksh/eval.c
734
c = n; /* ksh88/ksh93 go for number, not max index */
bin/ksh/eval.c
735
} else if (c == '*' || c == '@')
bin/ksh/eval.c
736
c = e->loc->argc;
bin/ksh/eval.c
740
c = strlen(p);
bin/ksh/eval.c
742
if (Flag(FNOUNSET) && c == 0 && !zero_ok)
bin/ksh/eval.c
745
xp->str = str_save(ulton((unsigned long)c, 10), ATEMP);
bin/ksh/eval.c
751
c = word[slen = 0] == CHAR ? word[1] : 0;
bin/ksh/eval.c
752
if (c == ':') {
bin/ksh/eval.c
755
c = word[slen + 0] == CHAR ? word[slen + 1] : 0;
bin/ksh/eval.c
757
if (ctype(c, C_SUBOP1)) {
bin/ksh/eval.c
759
stype |= c;
bin/ksh/eval.c
760
} else if (ctype(c, C_SUBOP2)) { /* Note: ksh88 allows :%, :%%, etc */
bin/ksh/eval.c
762
stype = c;
bin/ksh/eval.c
763
if (word[slen + 0] == CHAR && c == word[slen + 1]) {
bin/ksh/eval.c
774
c = sp[0];
bin/ksh/eval.c
775
if (c == '*' || c == '@') {
bin/ksh/eval.c
785
state = c == '@' ? XNULLSUB : XSUB;
bin/ksh/eval.c
790
xp->split = c == '@'; /* $@ */
bin/ksh/eval.c
832
c = stype&0x7f;
bin/ksh/eval.c
834
if (ctype(c, C_SUBOP2) ||
bin/ksh/eval.c
836
c == '=' || c == '-' || c == '?' : c == '+'))
bin/ksh/eval.c
839
&& (ctype(c, C_SUBOP2) || (state != XBASE && c != '+')))
bin/ksh/eval.c
909
char *p, c;
bin/ksh/eval.c
914
c = *p; *p = '\0';
bin/ksh/eval.c
916
*p = c;
bin/ksh/eval.c
919
*p = c;
bin/ksh/eval.c
924
c = *p; *p = '\0';
bin/ksh/eval.c
926
*p = c;
bin/ksh/eval.c
929
*p = c;
bin/ksh/expand.h
29
#define Xput(xs, xp, c) (*xp++ = (c))
bin/ksh/expr.c
471
int c;
bin/ksh/expr.c
475
for (cp = es->tokp; (c = *cp), isspace((unsigned char)c); cp++)
bin/ksh/expr.c
479
if (c == '\0')
bin/ksh/expr.c
481
else if (letter(c)) {
bin/ksh/expr.c
482
for (; letnum(c); c = *cp)
bin/ksh/expr.c
484
if (c == '[') {
bin/ksh/expr.c
493
else if (c == '(' /*)*/ ) {
bin/ksh/expr.c
510
} else if (digit(c)) {
bin/ksh/expr.c
511
for (; c != '_' && (letnum(c) || c == '#'); c = *cp++)
bin/ksh/expr.c
526
if (c == n0
bin/ksh/history.c
788
char *c, *cp;
bin/ksh/history.c
790
c = str_save(cmd, APERM);
bin/ksh/history.c
791
if ((cp = strchr(c, '\n')) != NULL)
bin/ksh/history.c
795
writehistfile(lno, c);
bin/ksh/history.c
804
*hp = c;
bin/ksh/io.c
194
char c = '\t';
bin/ksh/io.c
197
c, ((const unsigned char *) mem)[i + j]);
bin/ksh/io.c
198
c = ' ';
bin/ksh/jobs.c
573
char c;
bin/ksh/jobs.c
574
while (read(j_sync_pipe[0], &c, 1) == -1
bin/ksh/lex.c
111
int c, state;
bin/ksh/lex.c
1163
int c;
bin/ksh/lex.c
1167
c = *cp++;
bin/ksh/lex.c
1169
c = *cp++;
bin/ksh/lex.c
1192
shf_putc(c, shl_out);
bin/ksh/lex.c
1212
char c;
bin/ksh/lex.c
1216
c = getsc();
bin/ksh/lex.c
1220
if (c == '#') {
bin/ksh/lex.c
1226
if (letter(c))
bin/ksh/lex.c
1228
else if (digit(c))
bin/ksh/lex.c
1230
else if (ctype(c, C_VAR1))
bin/ksh/lex.c
1236
if (!letnum(c)) {
bin/ksh/lex.c
1238
if (c == '[') {
bin/ksh/lex.c
1243
*wp++ = c;
bin/ksh/lex.c
1249
c = getsc(); /* the ] */
bin/ksh/lex.c
1254
if (!digit(c))
bin/ksh/lex.c
1265
ungetsc(c);
bin/ksh/lex.c
1269
*wp++ = c;
bin/ksh/lex.c
1285
char c;
bin/ksh/lex.c
1291
c = getsc();
bin/ksh/lex.c
1293
*wp++ = c;
bin/ksh/lex.c
1294
if (c == '[')
bin/ksh/lex.c
1296
else if (c == ']')
bin/ksh/lex.c
1298
} while (depth > 0 && c && c != '\n');
bin/ksh/lex.c
1308
ungetsc(c)
bin/ksh/lex.c
1309
int c;
bin/ksh/lex.c
1314
if (source->str == null && c == '\0')
bin/ksh/lex.c
1322
s->ugbuf[0] = c; s->ugbuf[1] = '\0';
bin/ksh/lex.c
1335
int c, c2;
bin/ksh/lex.c
1348
c = getsc_();
bin/ksh/lex.c
1349
if (c == '\\') {
bin/ksh/lex.c
1356
return c;
bin/ksh/lex.c
141
while ((c = getsc()) == ' ' || c == '\t')
bin/ksh/lex.c
143
if (c == '#') {
bin/ksh/lex.c
145
while ((c = getsc()) != '\0' && c != '\n')
bin/ksh/lex.c
149
ungetsc(c);
bin/ksh/lex.c
164
while (!((c = getsc()) == 0
bin/ksh/lex.c
166
&& ctype(c, C_LEX1))))
bin/ksh/lex.c
171
if (c == '[' && (cf & (VARASN|ARRAYVAR))) {
bin/ksh/lex.c
179
*wp++ = c;
bin/ksh/lex.c
199
*wp++ = c;
bin/ksh/lex.c
205
if (c == '*' || c == '@' || c == '+' || c == '?'
bin/ksh/lex.c
206
|| c == '!')
bin/ksh/lex.c
211
*wp++ = c;
bin/ksh/lex.c
220
switch (c) {
bin/ksh/lex.c
222
c = getsc();
bin/ksh/lex.c
223
if (c) /* trailing \ is lost */
bin/ksh/lex.c
224
*wp++ = QCHAR, *wp++ = c;
bin/ksh/lex.c
241
switch (c) {
bin/ksh/lex.c
246
c = getsc();
bin/ksh/lex.c
247
switch (c) {
bin/ksh/lex.c
250
*wp++ = QCHAR, *wp++ = c;
bin/ksh/lex.c
254
*wp++ = QCHAR, *wp++ = c;
bin/ksh/lex.c
260
if (c) { /* trailing \ is lost */
bin/ksh/lex.c
262
*wp++ = CHAR, *wp++ = c;
bin/ksh/lex.c
268
c = getsc();
bin/ksh/lex.c
269
if (c == '(') /*)*/ {
bin/ksh/lex.c
270
c = getsc();
bin/ksh/lex.c
271
if (c == '(') /*)*/ {
bin/ksh/lex.c
278
ungetsc(c);
bin/ksh/lex.c
284
} else if (c == '{') /*}*/ {
bin/ksh/lex.c
288
c = getsc();
bin/ksh/lex.c
290
if (c == ':') {
bin/ksh/lex.c
291
*wp++ = CHAR, *wp++ = c;
bin/ksh/lex.c
292
c = getsc();
bin/ksh/lex.c
297
if (c == '#' || c == '%') {
bin/ksh/lex.c
298
ungetsc(c);
bin/ksh/lex.c
301
ungetsc(c);
bin/ksh/lex.c
304
} else if (ctype(c, C_ALPHA)) {
bin/ksh/lex.c
309
*wp++ = c;
bin/ksh/lex.c
310
c = getsc();
bin/ksh/lex.c
311
} while (ctype(c, C_ALPHA|C_DIGIT));
bin/ksh/lex.c
315
ungetsc(c);
bin/ksh/lex.c
316
} else if (ctype(c, C_DIGIT|C_VAR1)) {
bin/ksh/lex.c
320
*wp++ = c;
bin/ksh/lex.c
326
ungetsc(c);
bin/ksh/lex.c
358
*wp++ = CHAR, *wp++ = c;
bin/ksh/lex.c
363
if (c == '\'') {
bin/ksh/lex.c
368
*wp++ = QCHAR, *wp++ = c;
bin/ksh/lex.c
372
if (c == '"') {
bin/ksh/lex.c
387
switch (c) {
bin/ksh/lex.c
413
if (c == '"')
bin/ksh/lex.c
415
else if (c == '\\')
bin/ksh/lex.c
420
if (c == '\'') {
bin/ksh/lex.c
430
*wp++ = c;
bin/ksh/lex.c
437
if (c == '(')
bin/ksh/lex.c
439
else if (c == ')') {
bin/ksh/lex.c
469
*wp++ = c;
bin/ksh/lex.c
474
if (c == '}') {
bin/ksh/lex.c
485
if (c == '}') {
bin/ksh/lex.c
489
} else if (c == '|') {
bin/ksh/lex.c
491
} else if (c == '(') {
bin/ksh/lex.c
500
if (c == '`') {
bin/ksh/lex.c
503
} else if (c == '\\') {
bin/ksh/lex.c
504
switch (c = getsc()) {
bin/ksh/lex.c
507
*wp++ = c;
bin/ksh/lex.c
511
*wp++ = c;
bin/ksh/lex.c
516
if (c) { /* trailing \ is lost */
bin/ksh/lex.c
518
*wp++ = c;
bin/ksh/lex.c
523
*wp++ = c;
bin/ksh/lex.c
532
if (c == ')') {
bin/ksh/lex.c
537
c = 0;
bin/ksh/lex.c
542
} else if (c == '(')
bin/ksh/lex.c
560
if (c == '\\') {
bin/ksh/lex.c
561
c = getsc();
bin/ksh/lex.c
562
if (c) { /* trailing \ is lost */
bin/ksh/lex.c
564
*wp++ = c;
bin/ksh/lex.c
566
} else if (c == '\'') {
bin/ksh/lex.c
570
} else if (c == '"') {
bin/ksh/lex.c
575
*wp++ = c;
bin/ksh/lex.c
580
if (c == '"') {
bin/ksh/lex.c
584
if (c == '\\') {
bin/ksh/lex.c
585
switch (c = getsc()) {
bin/ksh/lex.c
590
if (c) { /* trailing \ lost */
bin/ksh/lex.c
598
*wp++ = c;
bin/ksh/lex.c
603
if ( /*(*/ c == ')') {
bin/ksh/lex.c
606
} else if (c == '|') {
bin/ksh/lex.c
608
} else if (c == '(') {
bin/ksh/lex.c
628
if ((c == '<' || c == '>') && state == SBASE
bin/ksh/lex.c
638
iop->unit = c == '>'; /* 0 for <, 1 for > */
bin/ksh/lex.c
642
if (c == c2 || (c == '<' && c2 == '>')) {
bin/ksh/lex.c
643
iop->flag = c == c2 ?
bin/ksh/lex.c
644
(c == '>' ? IOCAT : IOHERE) : IORDWR;
bin/ksh/lex.c
653
iop->flag = IODUP | (c == '<' ? IORDUP : 0);
bin/ksh/lex.c
655
iop->flag = c == '>' ? IOWRITE : IOREAD;
bin/ksh/lex.c
656
if (c == '>' && c2 == '|')
bin/ksh/lex.c
67
static const char *ungetsc ARGS((int c));
bin/ksh/lex.c
673
switch (c) {
bin/ksh/lex.c
675
return c;
bin/ksh/lex.c
680
if ((c2 = getsc()) == c)
bin/ksh/lex.c
681
c = (c == ';') ? BREAK :
bin/ksh/lex.c
682
(c == '|') ? LOGOR :
bin/ksh/lex.c
683
(c == '&') ? LOGAND :
bin/ksh/lex.c
686
else if (c == '|' && c2 == '&')
bin/ksh/lex.c
687
c = COPROC;
bin/ksh/lex.c
691
return c;
bin/ksh/lex.c
697
return c;
bin/ksh/lex.c
703
c = MDPAREN;
bin/ksh/lex.c
707
return c;
bin/ksh/lex.c
710
return c;
bin/ksh/lex.c
722
ungetsc(c); /* unget terminator */
bin/ksh/lex.c
725
for (sp = yylval.cp, dp = ident; dp < ident+IDENT && (c = *sp++) == CHAR; )
bin/ksh/lex.c
729
if (c != EOS)
bin/ksh/lex.c
783
int c;
bin/ksh/lex.c
802
while ((c = getsc()) != 0) {
bin/ksh/lex.c
804
if (c == '\t')
bin/ksh/lex.c
808
if (c != *eofp)
bin/ksh/lex.c
811
Xput(xs, xp, c);
bin/ksh/lex.c
817
if (*eofp == '\0' && (c == 0 || c == '\n')) {
bin/ksh/lex.c
821
ungetsc(c);
bin/ksh/lex.c
822
while ((c = getsc()) != '\n') {
bin/ksh/lex.c
823
if (c == 0)
bin/ksh/lex.c
826
Xput(xs, xp, c);
bin/ksh/lex.c
829
Xput(xs, xp, c);
bin/ksh/lex.c
888
int c;
bin/ksh/lex.c
890
while ((c = *s->str++) == 0) {
bin/ksh/lex.c
950
c = getsc__();
bin/ksh/lex.c
951
if (c) {
bin/ksh/lex.c
953
s->ugbuf[0] = c; s->ugbuf[1] = '\0';
bin/ksh/lex.c
982
return c;
bin/ksh/misc.c
1006
if (c == '?' || c == ':' || c == ';' || c == ',' || c == '#'
bin/ksh/misc.c
1007
|| !(o = strchr(options, c)))
bin/ksh/misc.c
1010
go->buf[0] = c;
bin/ksh/misc.c
1015
(go->flags & GF_NONAME) ? "" : ": ", c);
bin/ksh/misc.c
1035
go->buf[0] = c;
bin/ksh/misc.c
1041
(go->flags & GF_NONAME) ? "" : ": ", c);
bin/ksh/misc.c
1070
return c;
bin/ksh/misc.c
1122
int r, c;
bin/ksh/misc.c
1147
for (c = 0; c < cols; c++) {
bin/ksh/misc.c
1148
i = c * rows + r;
bin/ksh/misc.c
1153
if (c + 1 < cols)
bin/ksh/misc.c
278
if (goptions[i].c && Flag(i))
bin/ksh/misc.c
279
*cp++ = goptions[i].c;
bin/ksh/misc.c
368
if (goptions[i].c) {
bin/ksh/misc.c
370
*p++ = goptions[i].c;
bin/ksh/misc.c
372
*q++ = goptions[i].c;
bin/ksh/misc.c
436
if (optc == goptions[i].c
bin/ksh/misc.c
50
int c;
bin/ksh/misc.c
52
for (c = 'a'; c <= 'z'; c++)
bin/ksh/misc.c
53
ctypes[c] |= C_ALPHA;
bin/ksh/misc.c
54
for (c = 'A'; c <= 'Z'; c++)
bin/ksh/misc.c
55
ctypes[c] |= C_ALPHA;
bin/ksh/misc.c
573
int c;
bin/ksh/misc.c
581
if ((c = *++p) == '*' || c == '?')
bin/ksh/misc.c
583
else if (c == '[') {
bin/ksh/misc.c
593
} else if (c == ']') {
bin/ksh/misc.c
599
} else if ((c & 0x80) && strchr("*+?@! ", c & 0x7f)) {
bin/ksh/misc.c
605
} else if (c == '|') {
bin/ksh/misc.c
608
} else if (c == /*(*/ ')') {
bin/ksh/misc.c
771
int c, d, not, found = 0;
bin/ksh/misc.c
777
c = *p++;
bin/ksh/misc.c
778
if (ISMAGIC(c)) {
bin/ksh/misc.c
779
c = *p++;
bin/ksh/misc.c
780
if ((c & 0x80) && !ISMAGIC(c)) {
bin/ksh/misc.c
781
c &= 0x7f;/* extended pattern matching: *+?@! */
bin/ksh/misc.c
783
if (c == ' ') /* simile for @: plain (..) */
bin/ksh/misc.c
784
c = '(' /*)*/;
bin/ksh/misc.c
787
if (c == '\0')
bin/ksh/misc.c
801
if (c > d)
bin/ksh/misc.c
804
d = c;
bin/ksh/misc.c
805
if (c == sub || (c <= sub && sub <= d))
bin/ksh/misc.c
853
#define swap3(a, b, c) {\
bin/ksh/misc.c
854
void *t; t = *(a); *(a) = *(c); *(c) = *(b); *(b) = t;\
bin/ksh/misc.c
865
int c;
bin/ksh/misc.c
877
if ((c = (*f)(*i, *lptr)) == 0) {
bin/ksh/misc.c
882
if (c < 0) {
bin/ksh/misc.c
890
if ((c = (*f)(*hptr, *j)) == 0) {
bin/ksh/misc.c
895
if (c > 0) {
bin/ksh/misc.c
980
char c;
bin/ksh/misc.c
983
if (go->p == 0 || (c = argv[go->optind - 1][go->p]) == '\0') {
bin/ksh/misc.c
996
|| (c = arg[1]) == '\0')
bin/ksh/path.c
63
char c = file[1];
bin/ksh/path.c
65
if (c == '.')
bin/ksh/path.c
66
c = file[2];
bin/ksh/path.c
67
if (ISDIRSEP(c) || c == '\0')
bin/ksh/sh.h
147
# define ISDIRSEP(c) ((c) == '/')
bin/ksh/sh.h
151
# define FILECHCONV(c) c
bin/ksh/sh.h
175
#define ISMAGIC(c) ((unsigned char)(c) == MAGIC)
bin/ksh/sh.h
266
char c; /* character flag (if any) */
bin/ksh/sh.h
431
#define ctype(c, t) !!(ctypes[(unsigned char)(c)]&(t))
bin/ksh/sh.h
432
#define letter(c) ctype(c, C_ALPHA)
bin/ksh/sh.h
433
#define digit(c) ctype(c, C_DIGIT)
bin/ksh/sh.h
434
#define letnum(c) ctype(c, C_ALPHA|C_DIGIT)
bin/ksh/shf.c
1011
if (c != 'u') {
bin/ksh/shf.c
1081
style = c;
bin/ksh/shf.c
1096
if (c == 'g') {
bin/ksh/shf.c
1162
if (c == 'g' && !(flags & FL_HASH)) {
bin/ksh/shf.c
1211
numbuf[0] = c;
bin/ksh/shf.c
1249
c = '0';
bin/ksh/shf.c
1251
c = flags & FL_ZERO ? '0' : ' ';
bin/ksh/shf.c
1255
shf_putc(c, shf);
bin/ksh/shf.c
1258
c = ' ';
bin/ksh/shf.c
1270
shf_putc(c, shf);
bin/ksh/shf.c
604
shf_ungetc(c, shf)
bin/ksh/shf.c
605
int c;
bin/ksh/shf.c
611
if ((shf->flags & SHF_ERROR) || c == EOF
bin/ksh/shf.c
624
if (shf->rp[-1] != c)
bin/ksh/shf.c
629
return c;
bin/ksh/shf.c
632
*--(shf->rp) = c;
bin/ksh/shf.c
634
return c;
bin/ksh/shf.c
641
shf_putchar(c, shf)
bin/ksh/shf.c
642
int c;
bin/ksh/shf.c
648
if (c == EOF)
bin/ksh/shf.c
652
char cc = c;
bin/ksh/shf.c
675
*shf->wp++ = c;
bin/ksh/shf.c
678
return c;
bin/ksh/shf.c
868
char c, *s;
bin/ksh/shf.c
894
while ((c = *fmt++)) {
bin/ksh/shf.c
895
if (c != '%') {
bin/ksh/shf.c
896
shf_putc(c, shf);
bin/ksh/shf.c
908
for ( ; (c = *fmt++) ; ) {
bin/ksh/shf.c
909
switch (c) {
bin/ksh/shf.c
954
if (digit(c)) {
bin/ksh/shf.c
955
tmp = c - '0';
bin/ksh/shf.c
956
while (c = *fmt++, digit(c))
bin/ksh/shf.c
957
tmp = tmp * 10 + c - '0';
bin/ksh/shf.c
973
if (!c) /* nasty format */
bin/ksh/shf.c
976
if (c >= 'A' && c <= 'Z') {
bin/ksh/shf.c
978
c = c - 'A' + 'a';
bin/ksh/shf.c
981
switch (c) {
bin/ksh/shf.c
995
lnum = POP_INT(flags, c == 'd', args);
bin/ksh/shf.c
996
switch (c) {
bin/ksh/shf.h
17
#define shf_putc(c, shf) ((shf)->wnleft == 0 ? shf_putchar((c), (shf)) \
bin/ksh/shf.h
18
: ((shf)->wnleft--, *(shf)->wp++ = (c)))
bin/ksh/shf.h
78
int shf_ungetc ARGS((int c, struct shf *shf));
bin/ksh/shf.h
79
int shf_putchar ARGS((int c, struct shf *shf));
bin/ksh/syn.c
109
int c;
bin/ksh/syn.c
113
while ((c = token(0)) == LOGAND || c == LOGOR) {
bin/ksh/syn.c
116
t = block(c == LOGAND? TAND: TOR, t, p, NOWORDS);
bin/ksh/syn.c
128
int c;
bin/ksh/syn.c
136
c = token(0);
bin/ksh/syn.c
138
if (c == '\n' && (multi || inalias(source))) {
bin/ksh/syn.c
143
else if (c == '&' || c == COPROC)
bin/ksh/syn.c
144
p = block(c == '&' ? TASYNC : TCOPROC,
bin/ksh/syn.c
146
else if (c != ';')
bin/ksh/syn.c
187
musthave(c, cf)
bin/ksh/syn.c
188
int c, cf;
bin/ksh/syn.c
190
if ((token(cf)) != c)
bin/ksh/syn.c
213
int c, iopn = 0, syniocf;
bin/ksh/syn.c
224
switch (c = token(cf|KEYWORD|ALIAS|VARASN)) {
bin/ksh/syn.c
27
static void musthave ARGS((int c, int cf));
bin/ksh/syn.c
337
t = newtp((c == FOR) ? TFOR : TSELECT);
bin/ksh/syn.c
341
c == FOR ? "for" : "select");
bin/ksh/syn.c
343
nesting_push(&old_nesting, c);
bin/ksh/syn.c
351
nesting_push(&old_nesting, c);
bin/ksh/syn.c
352
t = newtp((c == WHILE) ? TWHILE : TUNTIL);
bin/ksh/syn.c
362
nesting_push(&old_nesting, c);
bin/ksh/syn.c
368
nesting_push(&old_nesting, c);
bin/ksh/syn.c
428
int c;
bin/ksh/syn.c
431
c = token(CONTIN|KEYWORD|ALIAS);
bin/ksh/syn.c
437
if (c == DO)
bin/ksh/syn.c
438
c = DONE;
bin/ksh/syn.c
439
else if (c == '{')
bin/ksh/syn.c
440
c = '}';
bin/ksh/syn.c
444
musthave(c, KEYWORD|ALIAS);
bin/ksh/syn.c
489
int c;
bin/ksh/syn.c
491
c = token(CONTIN|KEYWORD|ALIAS);
bin/ksh/syn.c
493
if (c == IN)
bin/ksh/syn.c
494
c = ESAC;
bin/ksh/syn.c
495
else if (c == '{')
bin/ksh/syn.c
496
c = '}';
bin/ksh/syn.c
500
while ((tpeek(CONTIN|KEYWORD|ESACONLY)) != c) { /* no ALIAS here */
bin/ksh/syn.c
501
struct op *tc = casepart(c);
bin/ksh/syn.c
507
musthave(c, KEYWORD|ALIAS);
bin/ksh/syn.c
516
int c;
bin/ksh/syn.c
521
c = token(CONTIN|KEYWORD); /* no ALIAS here */
bin/ksh/syn.c
522
if (c != '(')
bin/ksh/syn.c
527
} while ((c = token(0)) == '|');
bin/ksh/syn.c
604
int c;
bin/ksh/syn.c
609
if ((c = token(CONTIN|KEYWORD|ALIAS)) != IN) {
bin/ksh/syn.c
610
if (c != ';') /* non-POSIX, but at&t ksh accepts a ; here */
bin/ksh/syn.c
614
while ((c = token(0)) == LWORD)
bin/ksh/syn.c
616
if (c != '\n' && c != ';')
bin/ksh/syn.c
713
int c;
bin/ksh/syn.c
718
c = token(0);
bin/ksh/syn.c
72
int c;
bin/ksh/syn.c
720
switch (c) {
bin/ksh/syn.c
723
c = nesting.start_token;
bin/ksh/syn.c
742
if (tt->val == c)
bin/ksh/syn.c
747
if (c > 0 && c < 256) {
bin/ksh/syn.c
748
redir[0] = c;
bin/ksh/syn.c
752
"?%d", c);
bin/ksh/syn.c
77
c = tpeek(0);
bin/ksh/syn.c
78
if (c == 0 && !outtree)
bin/ksh/syn.c
80
else if (c != '\n' && c != 0)
bin/ksh/syn.c
818
char c = *s;
bin/ksh/syn.c
822
return (c == 'a' && strcmp(s, "alias") == 0)
bin/ksh/syn.c
823
|| (c == 'e' && strcmp(s, "export") == 0)
bin/ksh/syn.c
824
|| (c == 'r' && strcmp(s, "readonly") == 0)
bin/ksh/syn.c
825
|| (c == 't' && strcmp(s, "typeset") == 0);
bin/ksh/syn.c
868
int c = tpeek(ARRAYVAR | (meta == TM_BINOP ? 0 : CONTIN));
bin/ksh/syn.c
874
uqword = c == LWORD && *ident;
bin/ksh/syn.c
877
ret = c == LOGOR;
bin/ksh/syn.c
879
ret = c == LOGAND;
bin/ksh/syn.c
883
ret = c == '(' /*)*/;
bin/ksh/syn.c
885
ret = c == /*(*/ ')';
bin/ksh/syn.c
887
if (meta == TM_BINOP && c == REDIR
bin/ksh/syn.c
919
int c = tpeek(ARRAYVAR);
bin/ksh/syn.c
921
if (c != LWORD)
bin/ksh/tree.c
17
#define tputc(c, shf) shf_putchar(c, shf);
bin/ksh/tree.c
20
static void tputC ARGS((int c, struct shf *shf));
bin/ksh/tree.c
279
tputC(c, shf)
bin/ksh/tree.c
280
int c;
bin/ksh/tree.c
283
if ((c&0x60) == 0) { /* C0|C1 */
bin/ksh/tree.c
284
tputc((c&0x80) ? '$' : '^', shf);
bin/ksh/tree.c
285
tputc(((c&0x7F)|0x40), shf);
bin/ksh/tree.c
286
} else if ((c&0x7F) == 0x7F) { /* DEL */
bin/ksh/tree.c
287
tputc((c&0x80) ? '$' : '^', shf);
bin/ksh/tree.c
290
tputc(c, shf);
bin/ksh/tree.c
298
int c, quoted=0;
bin/ksh/tree.c
308
switch ((c = *wp++)) {
bin/ksh/tree.c
315
c = *wp++;
bin/ksh/tree.c
316
if (!quoted || (c == '"' || c == '`' || c == '$'))
bin/ksh/tree.c
318
tputC(c, shf);
bin/ksh/tree.c
350
while ((c = *wp++) != 0)
bin/ksh/tree.c
351
tputC(c, shf);
bin/ksh/tree.c
412
int c;
bin/ksh/tree.c
414
while ((c = *fmt++))
bin/ksh/tree.c
415
if (c == '%') {
bin/ksh/tree.c
420
switch ((c = *fmt++)) {
bin/ksh/tree.c
434
n = (c == 'd') ? va_arg(va, int)
bin/ksh/tree.c
436
neg = c=='d' && n<0;
bin/ksh/tree.c
449
if (c == ';')
bin/ksh/tree.c
466
tputc(c, shf);
bin/ksh/tree.c
470
tputc(c, shf);
bin/ksh/tree.c
539
wdscan(wp, c)
bin/ksh/tree.c
541
int c;
bin/ksh/tree.c
568
if (c == CSUBST && nest == 0)
bin/ksh/tree.c
579
if (c == wp[-1] && nest == 0)
bin/ksh/tree.c
601
int c;
bin/ksh/tree.c
611
switch ((c = *wp++)) {
bin/ksh/tree.c
642
while ((c = *wp++) != 0)
bin/ksh/tree.c
643
shf_putchar(c, &shf);
bin/ksh/var.c
1203
int c;
bin/ksh/var.c
1206
while ((c = *s++) && (c != ']' || --depth))
bin/ksh/var.c
1207
if (c == '[')
bin/ksh/var.c
1209
if (!c)
bin/ksh/var.c
179
int c;
bin/ksh/var.c
187
c = n[0];
bin/ksh/var.c
188
if (!letter(c)) {
bin/ksh/var.c
195
*vp->name = c;
bin/ksh/var.c
196
if (digit(c)) {
bin/ksh/var.c
197
for (c = 0; digit(*n); n++)
bin/ksh/var.c
198
c = c*10 + *n-'0';
bin/ksh/var.c
199
if (c <= l->argc)
bin/ksh/var.c
201
setstr(vp, l->argv[c], KSH_RETURN_ERROR);
bin/ksh/var.c
209
switch (c) {
bin/ksh/var.c
441
int c;
bin/ksh/var.c
470
for (c = (unsigned char)*s++; c ; c = (unsigned char)*s++) {
bin/ksh/var.c
471
if (c == '#') {
bin/ksh/var.c
477
} else if (letnum(c)) {
bin/ksh/var.c
478
if (isdigit(c))
bin/ksh/var.c
479
c -= '0';
bin/ksh/var.c
480
else if (islower(c))
bin/ksh/var.c
481
c -= 'a' - 10; /* todo: assumes ascii */
bin/ksh/var.c
482
else if (isupper(c))
bin/ksh/var.c
483
c -= 'A' - 10; /* todo: assumes ascii */
bin/ksh/var.c
485
c = -1; /* _: force error */
bin/ksh/var.c
486
if (c < 0 || c >= base)
bin/ksh/var.c
488
num = num * base + c;
bin/ksh/var.c
826
char c;
bin/ksh/var.c
832
c = p[1];
bin/ksh/var.c
834
if (c == '[')
bin/ksh/var.c
836
else if (c == ']' && --depth == 0) {
bin/ksh/vi.c
1044
#define issp(c) (isspace((unsigned char)(c)) || (c) == '\n')
bin/ksh/vi.c
201
int c;
bin/ksh/vi.c
208
c = *macro.p++;
bin/ksh/vi.c
210
if (!c) {
bin/ksh/vi.c
2127
char_len(c)
bin/ksh/vi.c
2128
int c;
bin/ksh/vi.c
2132
if ((c & 0x80) && Flag(FVISHOW8)) {
bin/ksh/vi.c
2134
c &= 0x7f;
bin/ksh/vi.c
2136
if (c < ' ' || c == 0x7f)
bin/ksh/vi.c
2143
x_vi_zotc(c)
bin/ksh/vi.c
2144
int c;
bin/ksh/vi.c
2146
if (Flag(FVISHOW8) && (c & 0x80)) {
bin/ksh/vi.c
2148
c &= 0x7f;
bin/ksh/vi.c
2150
if (c < ' ' || c == 0x7f) {
bin/ksh/vi.c
2152
c ^= '@';
bin/ksh/vi.c
2154
x_putc(c);
bin/ksh/vi.c
216
c = x_getc();
bin/ksh/vi.c
219
c = x_getc();
bin/ksh/vi.c
221
if (c == -1)
bin/ksh/vi.c
224
if (c == edchars.intr || c == edchars.quit) {
bin/ksh/vi.c
226
x_vi_zotc(c);
bin/ksh/vi.c
228
trapsig(c == edchars.intr ? SIGINT : SIGQUIT);
bin/ksh/vi.c
231
} else if (c == edchars.eof && state != VVERSION) {
bin/ksh/vi.c
234
c = -1;
bin/ksh/vi.c
24
#define Ctrl(c) (c&0x1f)
bin/ksh/vi.c
240
if (vi_hook(c))
bin/ksh/vi.c
247
if (c == -1 || len <= (size_t)es->linelen)
bin/ksh/vi.c
25
#define is_wordch(c) (letnum(c))
bin/ksh/vi.c
85
#define is_bad(c) (classify[(c)&0x7f]&B_)
bin/ksh/vi.c
86
#define is_cmd(c) (classify[(c)&0x7f]&(M_|E_|C_|U_))
bin/ksh/vi.c
87
#define is_move(c) (classify[(c)&0x7f]&M_)
bin/ksh/vi.c
88
#define is_extend(c) (classify[(c)&0x7f]&E_)
bin/ksh/vi.c
89
#define is_long(c) (classify[(c)&0x7f]&X_)
bin/ksh/vi.c
90
#define is_undoable(c) (!(classify[(c)&0x7f]&U_))
bin/ksh/vi.c
91
#define is_srch(c) (classify[(c)&0x7f]&S_)
bin/ksh/vi.c
92
#define is_zerocount(c) (classify[(c)&0x7f]&Z_)
bin/mt/mt.c
295
char c;
bin/mt/mt.c
309
for (; (c = *bits) > 32; bits++)
bin/mt/mt.c
310
putchar(c);
bin/pax/ar_io.c
115
#define rmtread_with_restart(a, b, c) rmtread((a), (b), (c))
bin/pax/ar_io.c
116
#define rmtwrite_with_restart(a, b, c) rmtwrite((a), (b), (c))
bin/pax/ftree.c
345
int i, c = EOF;
bin/pax/ftree.c
351
c = getchar();
bin/pax/ftree.c
352
if (c == EOF)
bin/pax/ftree.c
354
else if (c == sep) {
bin/pax/ftree.c
358
farray[0][i++] = c;
bin/pax/getoldopt.c
41
char c;
bin/pax/getoldopt.c
55
c = '\0';
bin/pax/getoldopt.c
57
c = *key++;
bin/pax/getoldopt.c
58
if (c == '\0') {
bin/pax/getoldopt.c
72
place = strchr(optstring, c);
bin/pax/getoldopt.c
74
if (place == NULL || c == ':') {
bin/pax/getoldopt.c
75
fprintf(stderr, "%s: unknown option %c\n", argv[0], c);
bin/pax/getoldopt.c
86
argv[0], c);
bin/pax/getoldopt.c
91
return c;
bin/pax/options.c
1516
int c;
bin/pax/options.c
1532
while ((c = getoldopt(argc, argv,
bin/pax/options.c
1535
switch(c) {
bin/pax/options.c
281
int c;
bin/pax/options.c
291
while ((c = getopt_long(argc, argv,
bin/pax/options.c
294
switch (c) {
bin/pax/options.c
569
tty_warn(1, "Support for -%c is not compiled in", c);
bin/pax/options.c
871
int c;
bin/pax/options.c
891
while ((c = getoldopt(argc, argv,
bin/pax/options.c
895
switch(c) {
bin/pax/pat_rep.c
1091
char c;
bin/pax/pat_rep.c
1099
while ((dpt < destend) && ((c = *spt++) != '\0')) {
bin/pax/pat_rep.c
1104
if (c == '&') {
bin/pax/pat_rep.c
1106
} else if ((c == '\\') && (*spt >= '1') && (*spt <= '9')) {
bin/pax/pat_rep.c
1117
if ((c == '\\') && ((*spt == '\\') || (*spt == '&')))
bin/pax/pat_rep.c
1118
c = *spt++;
bin/pax/pat_rep.c
1119
*dpt++ = c;
bin/pax/pat_rep.c
516
char c;
bin/pax/pat_rep.c
521
switch (c = *pattern++) {
bin/pax/pat_rep.c
550
c = *pattern;
bin/pax/pat_rep.c
554
while (c == '*')
bin/pax/pat_rep.c
555
c = *++pattern;
bin/pax/pat_rep.c
560
if (c == '\0')
bin/pax/pat_rep.c
585
if (c != *string++)
bin/pax/pat_rep.c
596
char c;
bin/pax/pat_rep.c
604
while ((c = *pattern++) != ']') {
bin/pax/pat_rep.c
608
if (c == '\0')
bin/pax/pat_rep.c
613
if ((c <= test) && (test <= c2))
bin/pax/pat_rep.c
616
} else if (c == test)
bin/ps/fmt.c
52
fmt_putc(int c, int *leftp)
bin/ps/fmt.c
59
putchar(c);
bin/rcp/util.c
105
int c;
bin/rcp/util.c
110
c = *cp;
bin/rcp/util.c
111
if (c & 0200)
bin/rcp/util.c
113
if (!isalpha(c) && !isdigit(c) && c != '_' && c != '-')
bin/sh/arithmetic.c
359
intmax_t c;
bin/sh/arithmetic.c
374
c = cond(token, val, arith_token(), noeval | !!a);
bin/sh/arithmetic.c
376
return a ? b : c;
bin/sh/bltin/bltin.h
72
#define putc(c, file) _RETURN_INT(outc(c, file))
bin/sh/bltin/bltin.h
73
#define putchar(c) _RETURN_INT(out1c(c))
bin/sh/bltin/echo.c
102
c = 0;
bin/sh/bltin/echo.c
105
c = (c << 3) + (*p++ - '0');
bin/sh/bltin/echo.c
113
putchar(c);
bin/sh/bltin/echo.c
66
char c;
bin/sh/bltin/echo.c
88
while ((c = *p++) != '\0') {
bin/sh/bltin/echo.c
89
if (c == '\\' && eflag) {
bin/sh/bltin/echo.c
91
case 'a': c = '\a'; break; /* bell */
bin/sh/bltin/echo.c
92
case 'b': c = '\b'; break;
bin/sh/bltin/echo.c
94
case 'e': c = 033; break; /* escape */
bin/sh/bltin/echo.c
95
case 'f': c = '\f'; break;
bin/sh/bltin/echo.c
96
case 'n': c = '\n'; break;
bin/sh/bltin/echo.c
97
case 'r': c = '\r'; break;
bin/sh/bltin/echo.c
98
case 't': c = '\t'; break;
bin/sh/bltin/echo.c
99
case 'v': c = '\v'; break;
bin/sh/eval.c
842
char *cp, c;
bin/sh/eval.c
858
while ((c = *cp++)) {
bin/sh/eval.c
859
switch (c) {
bin/sh/exec.c
1110
int c;
bin/sh/exec.c
1115
while ((c = nextopt("vVp")) != 0) {
bin/sh/exec.c
1116
switch (c) {
bin/sh/exec.c
282
char c;
bin/sh/exec.c
298
if ((c = *inp++) == '\n')
bin/sh/exec.c
304
STPUTC(c, outp);
bin/sh/exec.c
305
} while (--n >= 0 && (c = *inp++) != ' ' && c != '\t' && c != '\n');
bin/sh/exec.c
403
int c;
bin/sh/exec.c
410
while ((c = nextopt("bcefqrsuv")) != '\0')
bin/sh/exec.c
411
switch (c) {
bin/sh/expand.c
1001
for (; (c = *val) != '\0'; val++) {
bin/sh/expand.c
1002
if (ISCTL(c))
bin/sh/expand.c
1004
STPUTC(c, expdest);
bin/sh/expand.c
1126
if ((c = *p++) == CTLESC)
bin/sh/expand.c
1128
else if (c == CTLNONL)
bin/sh/expand.c
1130
else if (c == CTLBACKQ || c == (CTLBACKQ|CTLQUOTE)) {
bin/sh/expand.c
1133
} else if (c == CTLVAR) {
bin/sh/expand.c
1136
} else if (c == CTLENDVAR) {
bin/sh/expand.c
1527
showchar(char *o, char c, int *l)
bin/sh/expand.c
1529
if (c >= ' ' && c <= '~') {
bin/sh/expand.c
1530
if (c == '\\') {
bin/sh/expand.c
1531
*o++ = c;
bin/sh/expand.c
1534
*o++ = c;
bin/sh/expand.c
1536
if (c == 0) {
bin/sh/expand.c
1541
sprintf(o, "\\x%2.2X", (c & 0xFF));
bin/sh/expand.c
1622
char c;
bin/sh/expand.c
1628
if ((c = *p++) == '\0')
bin/sh/expand.c
1630
if (c == '*' || c == '?' || c == '[' /* || c == '!' */)
bin/sh/expand.c
1989
char c;
bin/sh/expand.c
1999
switch (c = *p++) {
bin/sh/expand.c
2038
c = *p;
bin/sh/expand.c
2039
while (c == CTLQUOTEMARK || c == '*')
bin/sh/expand.c
2040
c = *++p;
bin/sh/expand.c
2041
if (c != CTLESC && !IS_BORING(c) &&
bin/sh/expand.c
2042
c != '?' && c != '*' && c != '[') {
bin/sh/expand.c
2043
while (*q != c) {
bin/sh/expand.c
2045
q[1] == c)
bin/sh/expand.c
2056
if (c == CTLESC && p[1] == '\0') {
bin/sh/expand.c
2111
c = *p++;
bin/sh/expand.c
2113
if (IS_BORING(c))
bin/sh/expand.c
2115
if (c == '\0') {
bin/sh/expand.c
2117
c = '[';
bin/sh/expand.c
2120
if (c == '[' && *p == ':') {
bin/sh/expand.c
2127
if (c == CTLESC || c == '\\')
bin/sh/expand.c
2128
c = *p++;
bin/sh/expand.c
2129
wc = (unsigned char)c;
bin/sh/expand.c
2143
} while ((c = *p++) != ']');
bin/sh/expand.c
2151
if (*q++ == c)
bin/sh/expand.c
253
char c;
bin/sh/expand.c
271
switch (c = *p++) {
bin/sh/expand.c
285
p, (c & 0xff),
bin/sh/expand.c
298
STPUTC(c, expdest);
bin/sh/expand.c
303
STPUTC(c, expdest);
bin/sh/expand.c
315
STPUTC(c, expdest);
bin/sh/expand.c
321
STPUTC(c, expdest);
bin/sh/expand.c
322
c = *p++;
bin/sh/expand.c
323
STPUTC(c, expdest);
bin/sh/expand.c
324
if (c == '\n') /* should not happen, but ... */
bin/sh/expand.c
369
expbackq(argbackq->n, c & CTLQUOTE, flag);
bin/sh/expand.c
393
STPUTC(c, expdest);
bin/sh/expand.c
394
if (flag & ifs_split && strchr(ifs, c) != NULL) {
bin/sh/expand.c
400
if (c == '=') {
bin/sh/expand.c
410
if (c == '\n')
bin/sh/expand.c
412
STPUTC(c, expdest);
bin/sh/expand.c
413
if (flag & ifs_split && strchr(ifs, c) != NULL) {
bin/sh/expand.c
426
char c, last;
bin/sh/expand.c
439
while ((c = *++p) != '\0') {
bin/sh/expand.c
440
switch(c) {
bin/sh/expand.c
461
STPUTC(c, user);
bin/sh/expand.c
502
while ((c = *home++) != '\0') {
bin/sh/expand.c
504
if ((quotes && NEEDESC(c)) || ISCTL(c))
bin/sh/expand.c
506
STPUTC(c, expdest);
bin/sh/expand.c
507
last = c;
bin/sh/expand.c
800
int c = 0;
bin/sh/expand.c
829
c = *loc;
bin/sh/expand.c
833
*loc = c;
bin/sh/expand.c
841
c = *loc;
bin/sh/expand.c
845
*loc = c;
bin/sh/expand.c
888
*loc = c;
bin/sh/expand.c
917
int c;
bin/sh/expand.c
989
for (; (c = *val) != '\0'; val++) {
bin/sh/expand.c
990
if (NEEDESC(c))
bin/sh/expand.c
992
STPUTC(c, expdest);
bin/sh/input.c
145
int c;
bin/sh/input.c
148
c = pgetc_macro();
bin/sh/input.c
149
if (c == PFAKE) /* consecutive PFAKEs is impossible */
bin/sh/input.c
150
c = pgetc_macro();
bin/sh/input.c
151
if (c == PEOF) {
bin/sh/input.c
156
*p++ = c;
bin/sh/input.c
157
if (c == '\n') {
bin/sh/input.c
176
int c;
bin/sh/input.c
178
c = pgetc_macro();
bin/sh/input.c
179
if (c == PFAKE)
bin/sh/input.c
180
c = pgetc_macro();
bin/sh/input.c
181
return c;
bin/sh/jobs.c
1053
int c;
bin/sh/jobs.c
1055
while ((c = nextopt("fgs:")) != 0) {
bin/sh/jobs.c
1056
switch (c) {
bin/sh/jobs.c
2102
char c, cc[2] = " ";
bin/sh/jobs.c
2113
while (nleft > 0 && (c = *p++) != 0) {
bin/sh/jobs.c
2114
switch (c) {
bin/sh/jobs.c
2116
c = '\0';
bin/sh/jobs.c
2119
c = *p++;
bin/sh/jobs.c
2129
c = '"';
bin/sh/jobs.c
2131
c = *str++;
bin/sh/jobs.c
2135
c = '}';
bin/sh/jobs.c
2142
c = '$';
bin/sh/jobs.c
2146
c = '"';
bin/sh/jobs.c
2150
c = '$';
bin/sh/jobs.c
2156
c = ')';
bin/sh/jobs.c
2161
c = '"';
bin/sh/jobs.c
2165
c = '"';
bin/sh/jobs.c
2172
c = ':';
bin/sh/jobs.c
2174
c = *str++; /*{*/
bin/sh/jobs.c
2175
if (c != '}')
bin/sh/jobs.c
2178
c = *str++;
bin/sh/jobs.c
2186
cc[0] = c;
bin/sh/jobs.c
2188
c = '\\';
bin/sh/jobs.c
2193
if (c != '\0') do { /* c == 0 implies nothing in str */
bin/sh/jobs.c
2194
*nextc++ = c;
bin/sh/jobs.c
2195
} while (--nleft > 0 && str && (c = *str++));
bin/sh/memalloc.h
72
#define STPUTC(c, p) (--sstrnleft >= 0? (*p++ = (c)) : (p = growstackstr(), *p++ = (c)))
bin/sh/memalloc.h
74
#define USTPUTC(c, p) (--sstrnleft, *p++ = (c))
bin/sh/miscbltin.c
155
char c;
bin/sh/miscbltin.c
158
while ((len = read(fd, &c, 1)) != 1) {
bin/sh/miscbltin.c
163
return (c & 0xFF);
bin/sh/miscbltin.c
195
char c;
bin/sh/miscbltin.c
201
while ((len = read(fd, &c, 1)) != 1) {
bin/sh/miscbltin.c
206
return (c & 0xFF);
bin/sh/miscbltin.c
221
int c;
bin/sh/miscbltin.c
322
if ((c = next_read_char(0, maxlen + 1)) < 0) {
bin/sh/miscbltin.c
323
if (c <= -2) {
bin/sh/miscbltin.c
330
if (c == '\\' && c != end && !r_flag) {
bin/sh/miscbltin.c
335
if ((c = next_read_char(0, maxlen + 1)) < 0) {
bin/sh/miscbltin.c
336
if (c <= -2) {
bin/sh/miscbltin.c
343
if (c != '\n') /* \ \n is always just removed */
bin/sh/miscbltin.c
349
if (c == end)
bin/sh/miscbltin.c
351
if (c == '\0')
bin/sh/miscbltin.c
353
if (strchr(ifs, c))
bin/sh/miscbltin.c
354
is_ifs = strchr(" \t\n", c) ? 1 : 2;
bin/sh/miscbltin.c
362
STPUTC(c, p);
bin/sh/miscbltin.c
369
STPUTC(c, p);
bin/sh/miscbltin.c
376
if (c == '\0') /* always ignore attempts to input \0 */
bin/sh/miscbltin.c
383
STPUTC(c, p);
bin/sh/miscbltin.c
394
STPUTC(c, p);
bin/sh/miscbltin.c
655
int c;
bin/sh/miscbltin.c
699
while ((c = *p++) >= '0' && c <= '9') {
bin/sh/miscbltin.c
703
if (val >= RLIM_INFINITY - (long)(c - '0'))
bin/sh/miscbltin.c
705
val += (long)(c - '0');
bin/sh/miscbltin.c
707
if (c)
bin/sh/options.c
197
int c;
bin/sh/options.c
203
if ((c = *p++) == '-') {
bin/sh/options.c
216
} else if (c == '+') {
bin/sh/options.c
222
while ((c = *p++) != '\0') {
bin/sh/options.c
223
if (val == 1 && c == 'c' && cmdline) {
bin/sh/options.c
226
} else if (c == 'o') {
bin/sh/options.c
238
} else if (c == 'D') {
bin/sh/options.c
247
} else if (cmdline && c == 'r') {
bin/sh/options.c
252
setoption(c, val);
bin/sh/options.c
580
char c = '?';
bin/sh/options.c
604
c = *p++;
bin/sh/options.c
605
for (q = optstr; *q != c; ) {
bin/sh/options.c
608
s[0] = c;
bin/sh/options.c
612
outfmt(&errout, "Unknown option -%c\n", c);
bin/sh/options.c
615
c = '?';
bin/sh/options.c
625
s[0] = c;
bin/sh/options.c
628
c = ':';
bin/sh/options.c
630
outfmt(&errout, "No arg for -%c option\n", c);
bin/sh/options.c
632
c = '?';
bin/sh/options.c
654
s[0] = c;
bin/sh/options.c
686
char c;
bin/sh/options.c
700
c = *p++;
bin/sh/options.c
701
for (q = optstring ; *q != c ; ) {
bin/sh/options.c
703
error("Unknown option -%c", c);
bin/sh/options.c
709
error("No arg for -%c option", c);
bin/sh/options.c
714
return c;
bin/sh/output.c
156
char c = 0;
bin/sh/output.c
159
outc((c = *p++), file);
bin/sh/output.c
160
if (file == out2 || (file == outx && c == '\n'))
bin/sh/output.c
201
char c;
bin/sh/output.c
235
while ((c = *p++) != '\0') {
bin/sh/output.c
236
if (c != '\'') {
bin/sh/output.c
237
outc(c, file);
bin/sh/output.c
244
outc(c, file);
bin/sh/output.c
415
char c;
bin/sh/output.c
437
while ((c = *f++) != '\0') {
bin/sh/output.c
438
if (c != '%') {
bin/sh/output.c
439
outc(c, dest);
bin/sh/output.c
585
c = va_arg(ap, int);
bin/sh/output.c
586
outc(c, dest);
bin/sh/output.h
103
#define outc(c, file) (--(file)->nleft < 0? (emptyoutbuf(file), *(file)->nextc++ = (c)) : (*(file)->nextc++ = (c)))
bin/sh/output.h
104
#define out1c(c) outc(c, out1)
bin/sh/output.h
105
#define out2c(c) outc(c, out2)
bin/sh/output.h
106
#define outxc(c) outc(c, outx)
bin/sh/parser.c
1095
int c;
bin/sh/parser.c
1111
c = pgetc_macro();
bin/sh/parser.c
1113
c&0xFF, c&0x1FF));
bin/sh/parser.c
1114
switch (c) {
bin/sh/parser.c
1119
while ((c = pgetc()) != '\n' && c != PEOF)
bin/sh/parser.c
1198
return readtoken1(c, BASESYNTAX, 0);
bin/sh/parser.c
1588
parseredir(const char *out, int c)
bin/sh/parser.c
1603
VTRACE(DBG_LEXER, ("parseredir after '%s%c' ", out, c));
bin/sh/parser.c
1604
if (c == '>') {
bin/sh/parser.c
1607
c = pgetc_linecont();
bin/sh/parser.c
1608
VTRACE(DBG_LEXER, ("is '%c'(%#.2x) ", c&0xFF, c&0x1FF));
bin/sh/parser.c
1609
if (c == '>')
bin/sh/parser.c
1611
else if (c == '|')
bin/sh/parser.c
1613
else if (c == '&')
bin/sh/parser.c
1617
VTRACE(DBG_LEXER, ("unwanted ", c));
bin/sh/parser.c
1623
c = pgetc_linecont();
bin/sh/parser.c
1624
VTRACE(DBG_LEXER, ("is '%c'(%#.2x) ", c&0xFF, c&0x1FF));
bin/sh/parser.c
1625
switch (c) {
bin/sh/parser.c
1635
if ((c = pgetc_linecont()) == '-') {
bin/sh/parser.c
1637
c & 0xFF, c & 0x1FF));
bin/sh/parser.c
1655
VTRACE(DBG_LEXER, ("unwanted('%c'0#.2x)", c&0xFF,
bin/sh/parser.c
1656
c&0x1FF));
bin/sh/parser.c
1675
int c, vc, i, n;
bin/sh/parser.c
1678
c = pgetc();
bin/sh/parser.c
1679
VTRACE(DBG_LEXER, ("CSTR(\\%c)(\\%#x)", c&0xFF, c&0x1FF));
bin/sh/parser.c
1680
switch (c) {
bin/sh/parser.c
1696
v = c;
bin/sh/parser.c
1710
v = c - '0';
bin/sh/parser.c
1711
c = pgetc();
bin/sh/parser.c
1712
if (c >= '0' && c <= '7') {
bin/sh/parser.c
1714
v += c - '0';
bin/sh/parser.c
1715
c = pgetc();
bin/sh/parser.c
1716
if (c >= '0' && c <= '7') {
bin/sh/parser.c
1718
v += c - '0';
bin/sh/parser.c
1726
c = pgetc();
bin/sh/parser.c
1727
if (c < 0x3f || c > 0x7a || c == 0x60)
bin/sh/parser.c
1729
if (c == '\\' && pgetc() != '\\')
bin/sh/parser.c
1731
if (c == '?')
bin/sh/parser.c
1734
v = c & 0x1f;
bin/sh/parser.c
1748
c = pgetc();
bin/sh/parser.c
1749
if (c >= '0' && c <= '9')
bin/sh/parser.c
1750
v = (v << 4) + c - '0';
bin/sh/parser.c
1751
else if (c >= 'A' && c <= 'F')
bin/sh/parser.c
1752
v = (v << 4) + c - 'A' + 10;
bin/sh/parser.c
1753
else if (c >= 'a' && c <= 'f')
bin/sh/parser.c
1754
v = (v << 4) + c - 'a' + 10;
bin/sh/parser.c
1781
#define ESC_USTPUTC(c, o) do { \
bin/sh/parser.c
1782
char _ch = (c); \
bin/sh/parser.c
1851
while ((c = pgetc()) != '\'') {
bin/sh/parser.c
1852
if (c == '\\')
bin/sh/parser.c
1853
c = pgetc();
bin/sh/parser.c
1854
if (c == PEOF)
bin/sh/parser.c
1856
if (c == '\n') {
bin/sh/parser.c
1893
int c;
bin/sh/parser.c
1932
for (c = firstc ;; c = pgetc_macro()) { /* until of token */
bin/sh/parser.c
1936
switch (syntax[c]) {
bin/sh/parser.c
1947
USTPUTC(c, out);
bin/sh/parser.c
1965
VTRACE(DBG_LEXER, ("'%c'", c));
bin/sh/parser.c
1966
USTPUTC(c, out);
bin/sh/parser.c
1974
VTRACE(DBG_LEXER, ("'%c'", c));
bin/sh/parser.c
1975
USTPUTC(c, out);
bin/sh/parser.c
1978
c = pgetc();
bin/sh/parser.c
1979
VTRACE(DBG_LEXER, ("\\'%c'(%#.2x)", c&0xFF, c&0x1FF));
bin/sh/parser.c
1980
if (c == PEOF) {
bin/sh/parser.c
1986
if (c == '\n') {
bin/sh/parser.c
1999
if (quoted && c != '\\' && c != '`' &&
bin/sh/parser.c
2000
(c != '}' || varnest == 0) &&
bin/sh/parser.c
2001
c != '$' && (c != '"' || magicq)) {
bin/sh/parser.c
2013
CVTRACE(DBG_LEXER, NEEDESC(c) || !magicq,
bin/sh/parser.c
2014
("%sESC:", NEEDESC(c) ? "+" : "m"));
bin/sh/parser.c
2015
VTRACE(DBG_LEXER, ("'%c'(%#.2x)", c&0xFF, c&0x1FF));
bin/sh/parser.c
2016
if (NEEDESC(c))
bin/sh/parser.c
2020
USTPUTC(c, out);
bin/sh/parser.c
2023
USTPUTC(c, out);
bin/sh/parser.c
2041
USTPUTC(c, out);
bin/sh/parser.c
2055
USTPUTC(c, out);
bin/sh/parser.c
2108
VTRACE(DBG_LEXER, ("'%c'", c));
bin/sh/parser.c
2109
USTPUTC(c, out);
bin/sh/parser.c
2116
USTPUTC(c, out);
bin/sh/parser.c
2120
USTPUTC(c, out);
bin/sh/parser.c
2154
VTRACE(DBG_LEXER, ("['%c'(%#.2x)]", c&0xFF, c&0x1FF));
bin/sh/parser.c
2157
USTPUTC(c, out);
bin/sh/parser.c
2161
VTRACE(DBG_LEXER, (" END TOKEN\n", c&0xFF, c&0x1FF));
bin/sh/parser.c
2185
if ((c == '<' || c == '>')
bin/sh/parser.c
2187
parseredir(out, c);
bin/sh/parser.c
2221
c = pgetc_linecont();
bin/sh/parser.c
2222
VTRACE(DBG_LEXER, ("\"$%c\"(%#.2x)", c&0xFF, c&0x1FF));
bin/sh/parser.c
2223
if (c == '(' /*)*/) { /* $(command) or $((arith)) */
bin/sh/parser.c
2235
} else if (c == OPENBRACE || is_name(c) || is_special(c)) {
bin/sh/parser.c
2242
if (c == OPENBRACE) {
bin/sh/parser.c
2243
c = pgetc_linecont();
bin/sh/parser.c
2244
if (c == '#') {
bin/sh/parser.c
2245
if ((c = pgetc_linecont()) == CLOSEBRACE)
bin/sh/parser.c
2246
c = '#';
bin/sh/parser.c
2247
else if (is_name(c) || is_digit(c))
bin/sh/parser.c
2249
else if (is_special(c)) {
bin/sh/parser.c
2267
cbuf[0] = c; /* so ... */
bin/sh/parser.c
2270
c = '#'; /* ${#:...} */
bin/sh/parser.c
2275
c = '#';
bin/sh/parser.c
2283
if (is_name(c)) {
bin/sh/parser.c
2286
VTRACE(DBG_LEXER, ("%c", c));
bin/sh/parser.c
2287
STPUTC(c, out);
bin/sh/parser.c
2288
c = pgetc_linecont();
bin/sh/parser.c
2289
} while (is_in_name(c));
bin/sh/parser.c
2291
} else if (is_digit(c)) {
bin/sh/parser.c
2293
VTRACE(DBG_LEXER, ("%c", c));
bin/sh/parser.c
2294
STPUTC(c, out);
bin/sh/parser.c
2295
c = pgetc_linecont();
bin/sh/parser.c
2296
} while (subtype != VSNORMAL && is_digit(c));
bin/sh/parser.c
2298
else if (is_special(c)) {
bin/sh/parser.c
2299
VTRACE(DBG_LEXER, ("\"$%c", c));
bin/sh/parser.c
2300
USTPUTC(c, out);
bin/sh/parser.c
2301
c = pgetc_linecont();
bin/sh/parser.c
2304
VTRACE(DBG_LEXER, ("\"$%c(%#.2x)??", c&0xFF, c&0xFF));
bin/sh/parser.c
2310
switch (c) {
bin/sh/parser.c
2313
c = pgetc_linecont();
bin/sh/parser.c
2316
p = strchr(types, c);
bin/sh/parser.c
2337
STPUTC(c, out);
bin/sh/parser.c
2344
int cc = c;
bin/sh/parser.c
2345
subtype = c == '#' ? VSTRIMLEFT :
bin/sh/parser.c
2347
c = pgetc_linecont();
bin/sh/parser.c
2348
if (c == cc)
bin/sh/parser.c
2356
if (subtype == VSLENGTH && c != /*{*/ '}') {
bin/sh/parser.c
2380
} else if (c == '\'' && syntax == BASESYNTAX) {
bin/sh/parser.c
2391
c & 0xFF, c & 0x1FF));
bin/sh/parser.c
2465
char c;
bin/sh/parser.c
2468
while ((c = *p++) != '\0') {
bin/sh/parser.c
2469
if (c == CTLQUOTEMARK || c == CTLQUOTEEND)
bin/sh/parser.c
2471
if (c == CTLESC)
bin/sh/parser.c
2473
else if (ISCTL(c))
bin/sh/parser.c
2596
int c;
bin/sh/parser.c
2598
while ((c = pgetc()) == '\\') {
bin/sh/parser.c
2599
c = pgetc();
bin/sh/parser.c
2600
if (c == '\n') {
bin/sh/parser.c
2616
return (c);
bin/sh/parser.c
826
checkend(int c, char * const eofmark, const int striptabs)
bin/sh/parser.c
830
while (c == '\t')
bin/sh/parser.c
831
c = pgetc();
bin/sh/parser.c
833
if (c == PEOF) {
bin/sh/parser.c
835
return (c);
bin/sh/parser.c
838
if (c == *eofmark) {
bin/sh/parser.c
848
c = PEOF;
bin/sh/parser.c
857
} else if (c == '\n' && *eofmark == '\0') {
bin/sh/parser.c
858
c = PEOF;
bin/sh/parser.c
862
return (c);
bin/sh/parser.c
873
int c;
bin/sh/parser.c
877
c = pgetc();
bin/sh/parser.c
883
if (c == PEOF && *eofmark != '\0')
bin/sh/parser.c
888
while ((c = checkend(c, eofmark, striptabs)) != PEOF) {
bin/sh/parser.c
896
STPUTC(c, out);
bin/sh/parser.c
897
if (c == '\n') {
bin/sh/parser.c
913
if (c == '\\') { /* A backslash */
bin/sh/parser.c
914
STPUTC(c, out);
bin/sh/parser.c
915
c = pgetc(); /* followed by */
bin/sh/parser.c
916
if (c == '\n') { /* a newline? */
bin/sh/parser.c
917
STPUTC(c, out);
bin/sh/parser.c
922
STPUTC(c, out); /* keep the char */
bin/sh/parser.c
923
if (c == '\n') { /* at end of line */
bin/sh/parser.c
927
} while ((c = pgetc()) != PEOF);
bin/sh/parser.c
934
if (c == PEOF || (c = pgetc()) == PEOF)
bin/sh/parser.c
939
c = out - stackblock();
bin/sh/parser.c
941
grabstackblock(c);
bin/sh/parser.c
947
striptabs ? " tab stripped" : "", c, (c > 16 ? 16 : c),
bin/sh/parser.c
948
wordtext, (c > 16 ? "..." : ""), plinno));
bin/sh/redir.c
1001
if (c & FD_CLOEXEC)
bin/sh/redir.c
982
int c, f;
bin/sh/redir.c
990
if ((c = fcntl(fd, F_GETFD)) == -1) {
bin/sh/show.c
1003
case '\n': c = 'n'; goto backslash;
bin/sh/show.c
1004
case '\t': c = 't'; goto backslash;
bin/sh/show.c
1005
case '\r': c = 'r'; goto backslash;
bin/sh/show.c
1006
case '"': c = '"'; goto backslash;
bin/sh/show.c
1007
case '\\': c = '\\'; goto backslash;
bin/sh/show.c
1008
case CTLESC: c = 'e'; goto backslash;
bin/sh/show.c
1009
case CTLVAR: c = 'v'; goto backslash;
bin/sh/show.c
1010
case CTLVAR+CTLQUOTE: c = 'V'; goto backslash;
bin/sh/show.c
1011
case CTLBACKQ: c = 'q'; goto backslash;
bin/sh/show.c
1012
case CTLBACKQ+CTLQUOTE: c = 'Q'; goto backslash;
bin/sh/show.c
1014
trace_putc(c, fp);
bin/sh/show.c
250
trputc(int c)
bin/sh/show.c
254
trace_putc(c, tracetfile);
bin/sh/show.c
801
trace_putc(char c, TFILE *fp)
bin/sh/show.c
805
if (c == '\0')
bin/sh/show.c
814
if ((fp->supr & SUP_NL) && c == '\n')
bin/sh/show.c
816
if ((fp->supr & (SUP_WSP|SUP_SP)) && c == ' ')
bin/sh/show.c
818
if ((fp->supr & SUP_WSP) && c == '\t')
bin/sh/show.c
850
*p++ = c;
bin/sh/show.c
853
if (c != ' ' && c != '\t' && c != '\n') {
bin/sh/show.c
854
fp->lastc = c;
bin/sh/show.c
858
if (c == '\n') {
bin/sh/show.c
866
if (c == '\t')
bin/sh/show.c
917
char c;
bin/sh/show.c
919
while ((c = *s++) != '\0')
bin/sh/show.c
920
trace_putc(c, fp);
bin/sh/show.c
930
char c;
bin/sh/show.c
959
c = ((i = getpid()) == tf->pid) ? ':' : '=';
bin/sh/show.c
963
(void) asprintf(&p, "%5d%c%s\t%4d%c@\t", i, c,
bin/sh/show.c
966
(void) asprintf(&p, "%5d%c%s\t", i, c, indent);
bin/sh/show.c
970
(void) asprintf(&p, "%c%s\t%4d%c@\t", c, indent, lno,
bin/sh/show.c
973
(void) asprintf(&p, "%c%s\t", c, indent);
bin/sh/show.c
976
(void) asprintf(&p, "%c%4d%c@\t", c, lno, parsing?'-':'+');
bin/sh/show.c
994
char c;
bin/sh/syntax.h
82
#define is_digit(c) ((unsigned)((c) - '0') <= 9)
bin/sh/syntax.h
83
#define sh_ctype(c) (is_type+SYNBASE)[(int)(c)]
bin/sh/syntax.h
84
#define is_upper(c) (sh_ctype(c) & ISUPPER)
bin/sh/syntax.h
85
#define is_lower(c) (sh_ctype(c) & ISLOWER)
bin/sh/syntax.h
86
#define is_alpha(c) (sh_ctype(c) & (ISUPPER|ISLOWER))
bin/sh/syntax.h
87
#define is_name(c) (sh_ctype(c) & (ISUPPER|ISLOWER|ISUNDER))
bin/sh/syntax.h
88
#define is_in_name(c) (sh_ctype(c) & (ISUPPER|ISLOWER|ISUNDER|ISDIGIT))
bin/sh/syntax.h
89
#define is_special(c) (sh_ctype(c) & (ISSPECL|ISDIGIT))
bin/sh/syntax.h
90
#define is_space(c) (sh_ctype(c) & ISSPACE)
bin/sh/syntax.h
91
#define digit_val(c) ((c) - '0')
bin/sh/syntax.h
94
#define NEEDESC(c) (SQSYNTAX[(int)(c)] == CCTL || \
bin/sh/syntax.h
95
SQSYNTAX[(int)(c)] == CSBACK)
bin/sh/syntax.h
97
#define ISCTL(c) ((c) >= CTL_FIRST && (c) <= CTL_LAST)
bin/sh/syntax.h
99
#define ISCTL(c) (BASESYNTAX[(int)(c)] == CCTL)
bin/sh/var.c
1036
int c;
bin/sh/var.c
1045
while ((c = nextopt(EXPORT_OPTS)) != '\0') {
bin/sh/var.c
1049
switch (c) {
bin/sh/var.c
1181
int c;
bin/sh/var.c
1188
while ((c = nextopt("INx")) != '\0')
bin/sh/var.c
1189
switch (c) {
bin/stty/print.c
227
ccval(const struct cchar *p, int c)
bin/stty/print.c
232
if (c == _POSIX_VDISABLE)
bin/stty/print.c
236
(void)snprintf(buf, sizeof(buf), "%d", c);
bin/stty/print.c
240
if (c & 0200) {
bin/stty/print.c
243
c &= 0177;
bin/stty/print.c
245
if (c == 0177) {
bin/stty/print.c
249
else if (c < 040) {
bin/stty/print.c
251
*bp++ = c + '@';
bin/stty/print.c
254
*bp++ = c;
common/dist/zlib/deflate.c
143
#define UPDATE_HASH(s,h,c) (h = (((h) << s->hash_shift) ^ (c)) & s->hash_mask)
common/dist/zlib/deflate.h
295
#define put_byte(s, c) {s->pending_buf[s->pending++] = (Bytef)(c);}
common/dist/zlib/deflate.h
341
# define _tr_tally_lit(s, c, flush) \
common/dist/zlib/deflate.h
342
{ uch cc = (c); \
common/dist/zlib/deflate.h
359
# define _tr_tally_lit(s, c, flush) \
common/dist/zlib/deflate.h
360
{ uch cc = (c); \
common/dist/zlib/deflate.h
380
# define _tr_tally_lit(s, c, flush) flush = _tr_tally(s, 0, c)
common/dist/zlib/examples/gzappend.c
104
unsigned c;
common/dist/zlib/examples/gzappend.c
108
c = b;
common/dist/zlib/examples/gzappend.c
109
while (a - c >= c)
common/dist/zlib/examples/gzappend.c
110
c <<= 1;
common/dist/zlib/examples/gzappend.c
111
a -= c;
common/dist/zlib/examples/gzappend.c
114
c = a;
common/dist/zlib/examples/gzappend.c
115
while (b - c >= c)
common/dist/zlib/examples/gzappend.c
116
c <<= 1;
common/dist/zlib/examples/gzappend.c
117
b -= c;
common/dist/zlib/gzread.c
505
int ZEXPORT gzungetc(int c, gzFile file) {
common/dist/zlib/gzread.c
529
if (c < 0)
common/dist/zlib/gzread.c
536
state->x.next[0] = (unsigned char)c;
common/dist/zlib/gzread.c
539
return c;
common/dist/zlib/gzread.c
559
state->x.next[0] = (unsigned char)c;
common/dist/zlib/gzread.c
562
return c;
common/dist/zlib/gzwrite.c
309
int ZEXPORT gzputc(gzFile file, int c) {
common/dist/zlib/gzwrite.c
337
state->in[have] = (unsigned char)c;
common/dist/zlib/gzwrite.c
340
return c & 0xff;
common/dist/zlib/gzwrite.c
345
buf[0] = (unsigned char)c;
common/dist/zlib/gzwrite.c
348
return c & 0xff;
common/dist/zlib/trees.c
241
# define send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len)
common/dist/zlib/trees.c
245
# define send_code(s, c, tree) \
common/dist/zlib/trees.c
246
{ if (z_verbose>2) fprintf(stderr,"\ncd %3d ",(c)); \
common/dist/zlib/trees.c
247
send_bits(s, tree[c].Code, tree[c].Len); }
common/dist/zlib/zlib.h
1609
ZEXTERN int ZEXPORT gzputc(gzFile file, int c);
common/dist/zlib/zlib.h
1632
ZEXTERN int ZEXPORT gzungetc(int c, gzFile file);
common/dist/zlib/zutil.h
239
# define Tracec(c,x) {if (z_verbose>0 && (c)) fprintf x ;}
common/dist/zlib/zutil.h
240
# define Tracecv(c,x) {if (z_verbose>1 && (c)) fprintf x ;}
common/dist/zlib/zutil.h
246
# define Tracec(c,x)
common/dist/zlib/zutil.h
247
# define Tracecv(c,x)
common/lib/libc/gen/radixtree.c
1164
void *c;
common/lib/libc/gen/radixtree.c
1166
c = n->n_ptrs[i];
common/lib/libc/gen/radixtree.c
1167
if (c == NULL) {
common/lib/libc/gen/radixtree.c
1170
radix_tree_dump_node(t, c,
common/lib/libc/gen/radixtree.c
398
unsigned int i, c;
common/lib/libc/gen/radixtree.c
400
for (i = c = 0; i < RADIX_TREE_PTR_PER_NODE; i++) {
common/lib/libc/gen/radixtree.c
401
c += (n->n_ptrs[i] != NULL);
common/lib/libc/gen/radixtree.c
403
return c;
common/lib/libc/gen/radixtree.c
524
struct radix_tree_node *c;
common/lib/libc/gen/radixtree.c
551
c = entry_ptr(entry);
common/lib/libc/gen/radixtree.c
552
if (c == NULL ||
common/lib/libc/gen/radixtree.c
561
c = radix_tree_alloc_node();
common/lib/libc/gen/radixtree.c
562
if (c == NULL) {
common/lib/libc/gen/radixtree.c
565
*vpp = c;
common/lib/libc/gen/radixtree.c
567
n = c;
common/lib/libc/gen/rbtree.c
99
#define rb_tree_check_node(a, b, c, d) true
common/lib/libc/gen/rpst.c
282
struct rpst_node *c;
common/lib/libc/gen/rpst.c
284
c = cur->n_children[i];
common/lib/libc/gen/rpst.c
285
KASSERT(c == NULL || c->n_parent == cur);
common/lib/libc/gen/rpst.c
286
if (selected == NULL || (c != NULL && c->n_y < selected->n_y)) {
common/lib/libc/gen/rpst.c
287
selected = c;
common/lib/libc/hash/rmd160/rmd160.c
101
#define R(a, b, c, d, e, Fj, Kj, sj, rj) \
common/lib/libc/hash/rmd160/rmd160.c
103
a = ROL(sj, a + Fj(b,c,d) + X(rj) + Kj) + e; \
common/lib/libc/hash/rmd160/rmd160.c
104
c = ROL(10, c); \
common/lib/libc/hash/rmd160/rmd160.c
191
uint32_t a, b, c, d, e, aa, bb, cc, dd, ee, t, x[16];
common/lib/libc/hash/rmd160/rmd160.c
204
c = state[2];
common/lib/libc/hash/rmd160/rmd160.c
209
R(a, b, c, d, e, F0, K0, 11, 0);
common/lib/libc/hash/rmd160/rmd160.c
210
R(e, a, b, c, d, F0, K0, 14, 1);
common/lib/libc/hash/rmd160/rmd160.c
211
R(d, e, a, b, c, F0, K0, 15, 2);
common/lib/libc/hash/rmd160/rmd160.c
212
R(c, d, e, a, b, F0, K0, 12, 3);
common/lib/libc/hash/rmd160/rmd160.c
213
R(b, c, d, e, a, F0, K0, 5, 4);
common/lib/libc/hash/rmd160/rmd160.c
214
R(a, b, c, d, e, F0, K0, 8, 5);
common/lib/libc/hash/rmd160/rmd160.c
215
R(e, a, b, c, d, F0, K0, 7, 6);
common/lib/libc/hash/rmd160/rmd160.c
216
R(d, e, a, b, c, F0, K0, 9, 7);
common/lib/libc/hash/rmd160/rmd160.c
217
R(c, d, e, a, b, F0, K0, 11, 8);
common/lib/libc/hash/rmd160/rmd160.c
218
R(b, c, d, e, a, F0, K0, 13, 9);
common/lib/libc/hash/rmd160/rmd160.c
219
R(a, b, c, d, e, F0, K0, 14, 10);
common/lib/libc/hash/rmd160/rmd160.c
220
R(e, a, b, c, d, F0, K0, 15, 11);
common/lib/libc/hash/rmd160/rmd160.c
221
R(d, e, a, b, c, F0, K0, 6, 12);
common/lib/libc/hash/rmd160/rmd160.c
222
R(c, d, e, a, b, F0, K0, 7, 13);
common/lib/libc/hash/rmd160/rmd160.c
223
R(b, c, d, e, a, F0, K0, 9, 14);
common/lib/libc/hash/rmd160/rmd160.c
224
R(a, b, c, d, e, F0, K0, 8, 15); /* #15 */
common/lib/libc/hash/rmd160/rmd160.c
226
R(e, a, b, c, d, F1, K1, 7, 7);
common/lib/libc/hash/rmd160/rmd160.c
227
R(d, e, a, b, c, F1, K1, 6, 4);
common/lib/libc/hash/rmd160/rmd160.c
228
R(c, d, e, a, b, F1, K1, 8, 13);
common/lib/libc/hash/rmd160/rmd160.c
229
R(b, c, d, e, a, F1, K1, 13, 1);
common/lib/libc/hash/rmd160/rmd160.c
230
R(a, b, c, d, e, F1, K1, 11, 10);
common/lib/libc/hash/rmd160/rmd160.c
231
R(e, a, b, c, d, F1, K1, 9, 6);
common/lib/libc/hash/rmd160/rmd160.c
232
R(d, e, a, b, c, F1, K1, 7, 15);
common/lib/libc/hash/rmd160/rmd160.c
233
R(c, d, e, a, b, F1, K1, 15, 3);
common/lib/libc/hash/rmd160/rmd160.c
234
R(b, c, d, e, a, F1, K1, 7, 12);
common/lib/libc/hash/rmd160/rmd160.c
235
R(a, b, c, d, e, F1, K1, 12, 0);
common/lib/libc/hash/rmd160/rmd160.c
236
R(e, a, b, c, d, F1, K1, 15, 9);
common/lib/libc/hash/rmd160/rmd160.c
237
R(d, e, a, b, c, F1, K1, 9, 5);
common/lib/libc/hash/rmd160/rmd160.c
238
R(c, d, e, a, b, F1, K1, 11, 2);
common/lib/libc/hash/rmd160/rmd160.c
239
R(b, c, d, e, a, F1, K1, 7, 14);
common/lib/libc/hash/rmd160/rmd160.c
240
R(a, b, c, d, e, F1, K1, 13, 11);
common/lib/libc/hash/rmd160/rmd160.c
241
R(e, a, b, c, d, F1, K1, 12, 8); /* #31 */
common/lib/libc/hash/rmd160/rmd160.c
243
R(d, e, a, b, c, F2, K2, 11, 3);
common/lib/libc/hash/rmd160/rmd160.c
244
R(c, d, e, a, b, F2, K2, 13, 10);
common/lib/libc/hash/rmd160/rmd160.c
245
R(b, c, d, e, a, F2, K2, 6, 14);
common/lib/libc/hash/rmd160/rmd160.c
246
R(a, b, c, d, e, F2, K2, 7, 4);
common/lib/libc/hash/rmd160/rmd160.c
247
R(e, a, b, c, d, F2, K2, 14, 9);
common/lib/libc/hash/rmd160/rmd160.c
248
R(d, e, a, b, c, F2, K2, 9, 15);
common/lib/libc/hash/rmd160/rmd160.c
249
R(c, d, e, a, b, F2, K2, 13, 8);
common/lib/libc/hash/rmd160/rmd160.c
250
R(b, c, d, e, a, F2, K2, 15, 1);
common/lib/libc/hash/rmd160/rmd160.c
251
R(a, b, c, d, e, F2, K2, 14, 2);
common/lib/libc/hash/rmd160/rmd160.c
252
R(e, a, b, c, d, F2, K2, 8, 7);
common/lib/libc/hash/rmd160/rmd160.c
253
R(d, e, a, b, c, F2, K2, 13, 0);
common/lib/libc/hash/rmd160/rmd160.c
254
R(c, d, e, a, b, F2, K2, 6, 6);
common/lib/libc/hash/rmd160/rmd160.c
255
R(b, c, d, e, a, F2, K2, 5, 13);
common/lib/libc/hash/rmd160/rmd160.c
256
R(a, b, c, d, e, F2, K2, 12, 11);
common/lib/libc/hash/rmd160/rmd160.c
257
R(e, a, b, c, d, F2, K2, 7, 5);
common/lib/libc/hash/rmd160/rmd160.c
258
R(d, e, a, b, c, F2, K2, 5, 12); /* #47 */
common/lib/libc/hash/rmd160/rmd160.c
260
R(c, d, e, a, b, F3, K3, 11, 1);
common/lib/libc/hash/rmd160/rmd160.c
261
R(b, c, d, e, a, F3, K3, 12, 9);
common/lib/libc/hash/rmd160/rmd160.c
262
R(a, b, c, d, e, F3, K3, 14, 11);
common/lib/libc/hash/rmd160/rmd160.c
263
R(e, a, b, c, d, F3, K3, 15, 10);
common/lib/libc/hash/rmd160/rmd160.c
264
R(d, e, a, b, c, F3, K3, 14, 0);
common/lib/libc/hash/rmd160/rmd160.c
265
R(c, d, e, a, b, F3, K3, 15, 8);
common/lib/libc/hash/rmd160/rmd160.c
266
R(b, c, d, e, a, F3, K3, 9, 12);
common/lib/libc/hash/rmd160/rmd160.c
267
R(a, b, c, d, e, F3, K3, 8, 4);
common/lib/libc/hash/rmd160/rmd160.c
268
R(e, a, b, c, d, F3, K3, 9, 13);
common/lib/libc/hash/rmd160/rmd160.c
269
R(d, e, a, b, c, F3, K3, 14, 3);
common/lib/libc/hash/rmd160/rmd160.c
270
R(c, d, e, a, b, F3, K3, 5, 7);
common/lib/libc/hash/rmd160/rmd160.c
271
R(b, c, d, e, a, F3, K3, 6, 15);
common/lib/libc/hash/rmd160/rmd160.c
272
R(a, b, c, d, e, F3, K3, 8, 14);
common/lib/libc/hash/rmd160/rmd160.c
273
R(e, a, b, c, d, F3, K3, 6, 5);
common/lib/libc/hash/rmd160/rmd160.c
274
R(d, e, a, b, c, F3, K3, 5, 6);
common/lib/libc/hash/rmd160/rmd160.c
275
R(c, d, e, a, b, F3, K3, 12, 2); /* #63 */
common/lib/libc/hash/rmd160/rmd160.c
277
R(b, c, d, e, a, F4, K4, 9, 4);
common/lib/libc/hash/rmd160/rmd160.c
278
R(a, b, c, d, e, F4, K4, 15, 0);
common/lib/libc/hash/rmd160/rmd160.c
279
R(e, a, b, c, d, F4, K4, 5, 5);
common/lib/libc/hash/rmd160/rmd160.c
280
R(d, e, a, b, c, F4, K4, 11, 9);
common/lib/libc/hash/rmd160/rmd160.c
281
R(c, d, e, a, b, F4, K4, 6, 7);
common/lib/libc/hash/rmd160/rmd160.c
282
R(b, c, d, e, a, F4, K4, 8, 12);
common/lib/libc/hash/rmd160/rmd160.c
283
R(a, b, c, d, e, F4, K4, 13, 2);
common/lib/libc/hash/rmd160/rmd160.c
284
R(e, a, b, c, d, F4, K4, 12, 10);
common/lib/libc/hash/rmd160/rmd160.c
285
R(d, e, a, b, c, F4, K4, 5, 14);
common/lib/libc/hash/rmd160/rmd160.c
286
R(c, d, e, a, b, F4, K4, 12, 1);
common/lib/libc/hash/rmd160/rmd160.c
287
R(b, c, d, e, a, F4, K4, 13, 3);
common/lib/libc/hash/rmd160/rmd160.c
288
R(a, b, c, d, e, F4, K4, 14, 8);
common/lib/libc/hash/rmd160/rmd160.c
289
R(e, a, b, c, d, F4, K4, 11, 11);
common/lib/libc/hash/rmd160/rmd160.c
290
R(d, e, a, b, c, F4, K4, 8, 6);
common/lib/libc/hash/rmd160/rmd160.c
291
R(c, d, e, a, b, F4, K4, 5, 15);
common/lib/libc/hash/rmd160/rmd160.c
292
R(b, c, d, e, a, F4, K4, 6, 13); /* #79 */
common/lib/libc/hash/rmd160/rmd160.c
294
aa = a ; bb = b; cc = c; dd = d; ee = e;
common/lib/libc/hash/rmd160/rmd160.c
298
c = state[2];
common/lib/libc/hash/rmd160/rmd160.c
303
R(a, b, c, d, e, F4, KK0, 8, 5);
common/lib/libc/hash/rmd160/rmd160.c
304
R(e, a, b, c, d, F4, KK0, 9, 14);
common/lib/libc/hash/rmd160/rmd160.c
305
R(d, e, a, b, c, F4, KK0, 9, 7);
common/lib/libc/hash/rmd160/rmd160.c
306
R(c, d, e, a, b, F4, KK0, 11, 0);
common/lib/libc/hash/rmd160/rmd160.c
307
R(b, c, d, e, a, F4, KK0, 13, 9);
common/lib/libc/hash/rmd160/rmd160.c
308
R(a, b, c, d, e, F4, KK0, 15, 2);
common/lib/libc/hash/rmd160/rmd160.c
309
R(e, a, b, c, d, F4, KK0, 15, 11);
common/lib/libc/hash/rmd160/rmd160.c
310
R(d, e, a, b, c, F4, KK0, 5, 4);
common/lib/libc/hash/rmd160/rmd160.c
311
R(c, d, e, a, b, F4, KK0, 7, 13);
common/lib/libc/hash/rmd160/rmd160.c
312
R(b, c, d, e, a, F4, KK0, 7, 6);
common/lib/libc/hash/rmd160/rmd160.c
313
R(a, b, c, d, e, F4, KK0, 8, 15);
common/lib/libc/hash/rmd160/rmd160.c
314
R(e, a, b, c, d, F4, KK0, 11, 8);
common/lib/libc/hash/rmd160/rmd160.c
315
R(d, e, a, b, c, F4, KK0, 14, 1);
common/lib/libc/hash/rmd160/rmd160.c
316
R(c, d, e, a, b, F4, KK0, 14, 10);
common/lib/libc/hash/rmd160/rmd160.c
317
R(b, c, d, e, a, F4, KK0, 12, 3);
common/lib/libc/hash/rmd160/rmd160.c
318
R(a, b, c, d, e, F4, KK0, 6, 12); /* #15 */
common/lib/libc/hash/rmd160/rmd160.c
320
R(e, a, b, c, d, F3, KK1, 9, 6);
common/lib/libc/hash/rmd160/rmd160.c
321
R(d, e, a, b, c, F3, KK1, 13, 11);
common/lib/libc/hash/rmd160/rmd160.c
322
R(c, d, e, a, b, F3, KK1, 15, 3);
common/lib/libc/hash/rmd160/rmd160.c
323
R(b, c, d, e, a, F3, KK1, 7, 7);
common/lib/libc/hash/rmd160/rmd160.c
324
R(a, b, c, d, e, F3, KK1, 12, 0);
common/lib/libc/hash/rmd160/rmd160.c
325
R(e, a, b, c, d, F3, KK1, 8, 13);
common/lib/libc/hash/rmd160/rmd160.c
326
R(d, e, a, b, c, F3, KK1, 9, 5);
common/lib/libc/hash/rmd160/rmd160.c
327
R(c, d, e, a, b, F3, KK1, 11, 10);
common/lib/libc/hash/rmd160/rmd160.c
328
R(b, c, d, e, a, F3, KK1, 7, 14);
common/lib/libc/hash/rmd160/rmd160.c
329
R(a, b, c, d, e, F3, KK1, 7, 15);
common/lib/libc/hash/rmd160/rmd160.c
330
R(e, a, b, c, d, F3, KK1, 12, 8);
common/lib/libc/hash/rmd160/rmd160.c
331
R(d, e, a, b, c, F3, KK1, 7, 12);
common/lib/libc/hash/rmd160/rmd160.c
332
R(c, d, e, a, b, F3, KK1, 6, 4);
common/lib/libc/hash/rmd160/rmd160.c
333
R(b, c, d, e, a, F3, KK1, 15, 9);
common/lib/libc/hash/rmd160/rmd160.c
334
R(a, b, c, d, e, F3, KK1, 13, 1);
common/lib/libc/hash/rmd160/rmd160.c
335
R(e, a, b, c, d, F3, KK1, 11, 2); /* #31 */
common/lib/libc/hash/rmd160/rmd160.c
337
R(d, e, a, b, c, F2, KK2, 9, 15);
common/lib/libc/hash/rmd160/rmd160.c
338
R(c, d, e, a, b, F2, KK2, 7, 5);
common/lib/libc/hash/rmd160/rmd160.c
339
R(b, c, d, e, a, F2, KK2, 15, 1);
common/lib/libc/hash/rmd160/rmd160.c
340
R(a, b, c, d, e, F2, KK2, 11, 3);
common/lib/libc/hash/rmd160/rmd160.c
341
R(e, a, b, c, d, F2, KK2, 8, 7);
common/lib/libc/hash/rmd160/rmd160.c
342
R(d, e, a, b, c, F2, KK2, 6, 14);
common/lib/libc/hash/rmd160/rmd160.c
343
R(c, d, e, a, b, F2, KK2, 6, 6);
common/lib/libc/hash/rmd160/rmd160.c
344
R(b, c, d, e, a, F2, KK2, 14, 9);
common/lib/libc/hash/rmd160/rmd160.c
345
R(a, b, c, d, e, F2, KK2, 12, 11);
common/lib/libc/hash/rmd160/rmd160.c
346
R(e, a, b, c, d, F2, KK2, 13, 8);
common/lib/libc/hash/rmd160/rmd160.c
347
R(d, e, a, b, c, F2, KK2, 5, 12);
common/lib/libc/hash/rmd160/rmd160.c
348
R(c, d, e, a, b, F2, KK2, 14, 2);
common/lib/libc/hash/rmd160/rmd160.c
349
R(b, c, d, e, a, F2, KK2, 13, 10);
common/lib/libc/hash/rmd160/rmd160.c
350
R(a, b, c, d, e, F2, KK2, 13, 0);
common/lib/libc/hash/rmd160/rmd160.c
351
R(e, a, b, c, d, F2, KK2, 7, 4);
common/lib/libc/hash/rmd160/rmd160.c
352
R(d, e, a, b, c, F2, KK2, 5, 13); /* #47 */
common/lib/libc/hash/rmd160/rmd160.c
354
R(c, d, e, a, b, F1, KK3, 15, 8);
common/lib/libc/hash/rmd160/rmd160.c
355
R(b, c, d, e, a, F1, KK3, 5, 6);
common/lib/libc/hash/rmd160/rmd160.c
356
R(a, b, c, d, e, F1, KK3, 8, 4);
common/lib/libc/hash/rmd160/rmd160.c
357
R(e, a, b, c, d, F1, KK3, 11, 1);
common/lib/libc/hash/rmd160/rmd160.c
358
R(d, e, a, b, c, F1, KK3, 14, 3);
common/lib/libc/hash/rmd160/rmd160.c
359
R(c, d, e, a, b, F1, KK3, 14, 11);
common/lib/libc/hash/rmd160/rmd160.c
360
R(b, c, d, e, a, F1, KK3, 6, 15);
common/lib/libc/hash/rmd160/rmd160.c
361
R(a, b, c, d, e, F1, KK3, 14, 0);
common/lib/libc/hash/rmd160/rmd160.c
362
R(e, a, b, c, d, F1, KK3, 6, 5);
common/lib/libc/hash/rmd160/rmd160.c
363
R(d, e, a, b, c, F1, KK3, 9, 12);
common/lib/libc/hash/rmd160/rmd160.c
364
R(c, d, e, a, b, F1, KK3, 12, 2);
common/lib/libc/hash/rmd160/rmd160.c
365
R(b, c, d, e, a, F1, KK3, 9, 13);
common/lib/libc/hash/rmd160/rmd160.c
366
R(a, b, c, d, e, F1, KK3, 12, 9);
common/lib/libc/hash/rmd160/rmd160.c
367
R(e, a, b, c, d, F1, KK3, 5, 7);
common/lib/libc/hash/rmd160/rmd160.c
368
R(d, e, a, b, c, F1, KK3, 15, 10);
common/lib/libc/hash/rmd160/rmd160.c
369
R(c, d, e, a, b, F1, KK3, 8, 14); /* #63 */
common/lib/libc/hash/rmd160/rmd160.c
371
R(b, c, d, e, a, F0, KK4, 8, 12);
common/lib/libc/hash/rmd160/rmd160.c
372
R(a, b, c, d, e, F0, KK4, 5, 15);
common/lib/libc/hash/rmd160/rmd160.c
373
R(e, a, b, c, d, F0, KK4, 12, 10);
common/lib/libc/hash/rmd160/rmd160.c
374
R(d, e, a, b, c, F0, KK4, 9, 4);
common/lib/libc/hash/rmd160/rmd160.c
375
R(c, d, e, a, b, F0, KK4, 12, 1);
common/lib/libc/hash/rmd160/rmd160.c
376
R(b, c, d, e, a, F0, KK4, 5, 5);
common/lib/libc/hash/rmd160/rmd160.c
377
R(a, b, c, d, e, F0, KK4, 14, 8);
common/lib/libc/hash/rmd160/rmd160.c
378
R(e, a, b, c, d, F0, KK4, 6, 7);
common/lib/libc/hash/rmd160/rmd160.c
379
R(d, e, a, b, c, F0, KK4, 8, 6);
common/lib/libc/hash/rmd160/rmd160.c
380
R(c, d, e, a, b, F0, KK4, 13, 2);
common/lib/libc/hash/rmd160/rmd160.c
381
R(b, c, d, e, a, F0, KK4, 6, 13);
common/lib/libc/hash/rmd160/rmd160.c
382
R(a, b, c, d, e, F0, KK4, 5, 14);
common/lib/libc/hash/rmd160/rmd160.c
383
R(e, a, b, c, d, F0, KK4, 15, 0);
common/lib/libc/hash/rmd160/rmd160.c
384
R(d, e, a, b, c, F0, KK4, 13, 3);
common/lib/libc/hash/rmd160/rmd160.c
385
R(c, d, e, a, b, F0, KK4, 11, 9);
common/lib/libc/hash/rmd160/rmd160.c
386
R(b, c, d, e, a, F0, KK4, 11, 11); /* #79 */
common/lib/libc/hash/rmd160/rmd160.c
392
state[4] = state[0] + bb + c;
common/lib/libc/hash/sha1/sha1.c
107
do_R01(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block)
common/lib/libc/hash/sha1/sha1.c
109
nR0(a,b,c,d,e, 0); nR0(e,a,b,c,d, 1); nR0(d,e,a,b,c, 2); nR0(c,d,e,a,b, 3);
common/lib/libc/hash/sha1/sha1.c
110
nR0(b,c,d,e,a, 4); nR0(a,b,c,d,e, 5); nR0(e,a,b,c,d, 6); nR0(d,e,a,b,c, 7);
common/lib/libc/hash/sha1/sha1.c
111
nR0(c,d,e,a,b, 8); nR0(b,c,d,e,a, 9); nR0(a,b,c,d,e,10); nR0(e,a,b,c,d,11);
common/lib/libc/hash/sha1/sha1.c
112
nR0(d,e,a,b,c,12); nR0(c,d,e,a,b,13); nR0(b,c,d,e,a,14); nR0(a,b,c,d,e,15);
common/lib/libc/hash/sha1/sha1.c
113
nR1(e,a,b,c,d,16); nR1(d,e,a,b,c,17); nR1(c,d,e,a,b,18); nR1(b,c,d,e,a,19);
common/lib/libc/hash/sha1/sha1.c
117
do_R2(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block)
common/lib/libc/hash/sha1/sha1.c
119
nR2(a,b,c,d,e,20); nR2(e,a,b,c,d,21); nR2(d,e,a,b,c,22); nR2(c,d,e,a,b,23);
common/lib/libc/hash/sha1/sha1.c
120
nR2(b,c,d,e,a,24); nR2(a,b,c,d,e,25); nR2(e,a,b,c,d,26); nR2(d,e,a,b,c,27);
common/lib/libc/hash/sha1/sha1.c
121
nR2(c,d,e,a,b,28); nR2(b,c,d,e,a,29); nR2(a,b,c,d,e,30); nR2(e,a,b,c,d,31);
common/lib/libc/hash/sha1/sha1.c
122
nR2(d,e,a,b,c,32); nR2(c,d,e,a,b,33); nR2(b,c,d,e,a,34); nR2(a,b,c,d,e,35);
common/lib/libc/hash/sha1/sha1.c
123
nR2(e,a,b,c,d,36); nR2(d,e,a,b,c,37); nR2(c,d,e,a,b,38); nR2(b,c,d,e,a,39);
common/lib/libc/hash/sha1/sha1.c
127
do_R3(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block)
common/lib/libc/hash/sha1/sha1.c
129
nR3(a,b,c,d,e,40); nR3(e,a,b,c,d,41); nR3(d,e,a,b,c,42); nR3(c,d,e,a,b,43);
common/lib/libc/hash/sha1/sha1.c
130
nR3(b,c,d,e,a,44); nR3(a,b,c,d,e,45); nR3(e,a,b,c,d,46); nR3(d,e,a,b,c,47);
common/lib/libc/hash/sha1/sha1.c
131
nR3(c,d,e,a,b,48); nR3(b,c,d,e,a,49); nR3(a,b,c,d,e,50); nR3(e,a,b,c,d,51);
common/lib/libc/hash/sha1/sha1.c
132
nR3(d,e,a,b,c,52); nR3(c,d,e,a,b,53); nR3(b,c,d,e,a,54); nR3(a,b,c,d,e,55);
common/lib/libc/hash/sha1/sha1.c
133
nR3(e,a,b,c,d,56); nR3(d,e,a,b,c,57); nR3(c,d,e,a,b,58); nR3(b,c,d,e,a,59);
common/lib/libc/hash/sha1/sha1.c
137
do_R4(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block)
common/lib/libc/hash/sha1/sha1.c
139
nR4(a,b,c,d,e,60); nR4(e,a,b,c,d,61); nR4(d,e,a,b,c,62); nR4(c,d,e,a,b,63);
common/lib/libc/hash/sha1/sha1.c
140
nR4(b,c,d,e,a,64); nR4(a,b,c,d,e,65); nR4(e,a,b,c,d,66); nR4(d,e,a,b,c,67);
common/lib/libc/hash/sha1/sha1.c
141
nR4(c,d,e,a,b,68); nR4(b,c,d,e,a,69); nR4(a,b,c,d,e,70); nR4(e,a,b,c,d,71);
common/lib/libc/hash/sha1/sha1.c
142
nR4(d,e,a,b,c,72); nR4(c,d,e,a,b,73); nR4(b,c,d,e,a,74); nR4(a,b,c,d,e,75);
common/lib/libc/hash/sha1/sha1.c
143
nR4(e,a,b,c,d,76); nR4(d,e,a,b,c,77); nR4(c,d,e,a,b,78); nR4(b,c,d,e,a,79);
common/lib/libc/hash/sha1/sha1.c
152
uint32_t a, b, c, d, e;
common/lib/libc/hash/sha1/sha1.c
172
c = state[2];
common/lib/libc/hash/sha1/sha1.c
177
do_R01(&a, &b, &c, &d, &e, block);
common/lib/libc/hash/sha1/sha1.c
178
do_R2(&a, &b, &c, &d, &e, block);
common/lib/libc/hash/sha1/sha1.c
179
do_R3(&a, &b, &c, &d, &e, block);
common/lib/libc/hash/sha1/sha1.c
180
do_R4(&a, &b, &c, &d, &e, block);
common/lib/libc/hash/sha1/sha1.c
183
R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); R0(c,d,e,a,b, 3);
common/lib/libc/hash/sha1/sha1.c
184
R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7);
common/lib/libc/hash/sha1/sha1.c
185
R0(c,d,e,a,b, 8); R0(b,c,d,e,a, 9); R0(a,b,c,d,e,10); R0(e,a,b,c,d,11);
common/lib/libc/hash/sha1/sha1.c
186
R0(d,e,a,b,c,12); R0(c,d,e,a,b,13); R0(b,c,d,e,a,14); R0(a,b,c,d,e,15);
common/lib/libc/hash/sha1/sha1.c
187
R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); R1(c,d,e,a,b,18); R1(b,c,d,e,a,19);
common/lib/libc/hash/sha1/sha1.c
188
R2(a,b,c,d,e,20); R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23);
common/lib/libc/hash/sha1/sha1.c
189
R2(b,c,d,e,a,24); R2(a,b,c,d,e,25); R2(e,a,b,c,d,26); R2(d,e,a,b,c,27);
common/lib/libc/hash/sha1/sha1.c
190
R2(c,d,e,a,b,28); R2(b,c,d,e,a,29); R2(a,b,c,d,e,30); R2(e,a,b,c,d,31);
common/lib/libc/hash/sha1/sha1.c
191
R2(d,e,a,b,c,32); R2(c,d,e,a,b,33); R2(b,c,d,e,a,34); R2(a,b,c,d,e,35);
common/lib/libc/hash/sha1/sha1.c
192
R2(e,a,b,c,d,36); R2(d,e,a,b,c,37); R2(c,d,e,a,b,38); R2(b,c,d,e,a,39);
common/lib/libc/hash/sha1/sha1.c
193
R3(a,b,c,d,e,40); R3(e,a,b,c,d,41); R3(d,e,a,b,c,42); R3(c,d,e,a,b,43);
common/lib/libc/hash/sha1/sha1.c
194
R3(b,c,d,e,a,44); R3(a,b,c,d,e,45); R3(e,a,b,c,d,46); R3(d,e,a,b,c,47);
common/lib/libc/hash/sha1/sha1.c
195
R3(c,d,e,a,b,48); R3(b,c,d,e,a,49); R3(a,b,c,d,e,50); R3(e,a,b,c,d,51);
common/lib/libc/hash/sha1/sha1.c
196
R3(d,e,a,b,c,52); R3(c,d,e,a,b,53); R3(b,c,d,e,a,54); R3(a,b,c,d,e,55);
common/lib/libc/hash/sha1/sha1.c
197
R3(e,a,b,c,d,56); R3(d,e,a,b,c,57); R3(c,d,e,a,b,58); R3(b,c,d,e,a,59);
common/lib/libc/hash/sha1/sha1.c
198
R4(a,b,c,d,e,60); R4(e,a,b,c,d,61); R4(d,e,a,b,c,62); R4(c,d,e,a,b,63);
common/lib/libc/hash/sha1/sha1.c
199
R4(b,c,d,e,a,64); R4(a,b,c,d,e,65); R4(e,a,b,c,d,66); R4(d,e,a,b,c,67);
common/lib/libc/hash/sha1/sha1.c
200
R4(c,d,e,a,b,68); R4(b,c,d,e,a,69); R4(a,b,c,d,e,70); R4(e,a,b,c,d,71);
common/lib/libc/hash/sha1/sha1.c
201
R4(d,e,a,b,c,72); R4(c,d,e,a,b,73); R4(b,c,d,e,a,74); R4(a,b,c,d,e,75);
common/lib/libc/hash/sha1/sha1.c
202
R4(e,a,b,c,d,76); R4(d,e,a,b,c,77); R4(c,d,e,a,b,78); R4(b,c,d,e,a,79);
common/lib/libc/hash/sha1/sha1.c
208
state[2] += c;
common/lib/libc/hash/sha1/sha1.c
213
a = b = c = d = e = 0;
common/lib/libc/hash/sha1/sha1.c
84
uint8_t c[64];
common/lib/libc/hash/sha1/sha1.c
95
void do_R01(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *);
common/lib/libc/hash/sha1/sha1.c
96
void do_R2(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *);
common/lib/libc/hash/sha1/sha1.c
97
void do_R3(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *);
common/lib/libc/hash/sha1/sha1.c
98
void do_R4(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *);
common/lib/libc/hash/sha2/sha2.c
287
#define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \
common/lib/libc/hash/sha2/sha2.c
293
(h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
common/lib/libc/hash/sha2/sha2.c
296
#define ROUND256(a,b,c,d,e,f,g,h) \
common/lib/libc/hash/sha2/sha2.c
304
(h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
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
319
c = context->state[2];
common/lib/libc/hash/sha2/sha2.c
329
ROUND256_0_TO_15(a,b,c,d,e,f,g,h);
common/lib/libc/hash/sha2/sha2.c
330
ROUND256_0_TO_15(h,a,b,c,d,e,f,g);
common/lib/libc/hash/sha2/sha2.c
331
ROUND256_0_TO_15(g,h,a,b,c,d,e,f);
common/lib/libc/hash/sha2/sha2.c
332
ROUND256_0_TO_15(f,g,h,a,b,c,d,e);
common/lib/libc/hash/sha2/sha2.c
333
ROUND256_0_TO_15(e,f,g,h,a,b,c,d);
common/lib/libc/hash/sha2/sha2.c
334
ROUND256_0_TO_15(d,e,f,g,h,a,b,c);
common/lib/libc/hash/sha2/sha2.c
335
ROUND256_0_TO_15(c,d,e,f,g,h,a,b);
common/lib/libc/hash/sha2/sha2.c
336
ROUND256_0_TO_15(b,c,d,e,f,g,h,a);
common/lib/libc/hash/sha2/sha2.c
341
ROUND256(a,b,c,d,e,f,g,h);
common/lib/libc/hash/sha2/sha2.c
342
ROUND256(h,a,b,c,d,e,f,g);
common/lib/libc/hash/sha2/sha2.c
343
ROUND256(g,h,a,b,c,d,e,f);
common/lib/libc/hash/sha2/sha2.c
344
ROUND256(f,g,h,a,b,c,d,e);
common/lib/libc/hash/sha2/sha2.c
345
ROUND256(e,f,g,h,a,b,c,d);
common/lib/libc/hash/sha2/sha2.c
346
ROUND256(d,e,f,g,h,a,b,c);
common/lib/libc/hash/sha2/sha2.c
347
ROUND256(c,d,e,f,g,h,a,b);
common/lib/libc/hash/sha2/sha2.c
348
ROUND256(b,c,d,e,f,g,h,a);
common/lib/libc/hash/sha2/sha2.c
354
context->state[2] += c;
common/lib/libc/hash/sha2/sha2.c
362
a = b = c = d = e = f = g = h = T1 = 0;
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
379
c = context->state[2];
common/lib/libc/hash/sha2/sha2.c
392
T2 = Sigma0_256(a) + Maj(a, b, c);
common/lib/libc/hash/sha2/sha2.c
397
d = c;
common/lib/libc/hash/sha2/sha2.c
398
c = b;
common/lib/libc/hash/sha2/sha2.c
415
T2 = Sigma0_256(a) + Maj(a, b, c);
common/lib/libc/hash/sha2/sha2.c
420
d = c;
common/lib/libc/hash/sha2/sha2.c
421
c = b;
common/lib/libc/hash/sha2/sha2.c
431
context->state[2] += c;
common/lib/libc/hash/sha2/sha2.c
439
a = b = c = d = e = f = g = h = T1 = T2 = 0;
common/lib/libc/hash/sha2/sha2.c
633
#define ROUND512_0_TO_15(a,b,c,d,e,f,g,h) \
common/lib/libc/hash/sha2/sha2.c
639
(h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)), \
common/lib/libc/hash/sha2/sha2.c
642
#define ROUND512(a,b,c,d,e,f,g,h) \
common/lib/libc/hash/sha2/sha2.c
650
(h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)); \
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
663
c = context->state[2];
common/lib/libc/hash/sha2/sha2.c
672
ROUND512_0_TO_15(a,b,c,d,e,f,g,h);
common/lib/libc/hash/sha2/sha2.c
673
ROUND512_0_TO_15(h,a,b,c,d,e,f,g);
common/lib/libc/hash/sha2/sha2.c
674
ROUND512_0_TO_15(g,h,a,b,c,d,e,f);
common/lib/libc/hash/sha2/sha2.c
675
ROUND512_0_TO_15(f,g,h,a,b,c,d,e);
common/lib/libc/hash/sha2/sha2.c
676
ROUND512_0_TO_15(e,f,g,h,a,b,c,d);
common/lib/libc/hash/sha2/sha2.c
677
ROUND512_0_TO_15(d,e,f,g,h,a,b,c);
common/lib/libc/hash/sha2/sha2.c
678
ROUND512_0_TO_15(c,d,e,f,g,h,a,b);
common/lib/libc/hash/sha2/sha2.c
679
ROUND512_0_TO_15(b,c,d,e,f,g,h,a);
common/lib/libc/hash/sha2/sha2.c
684
ROUND512(a,b,c,d,e,f,g,h);
common/lib/libc/hash/sha2/sha2.c
685
ROUND512(h,a,b,c,d,e,f,g);
common/lib/libc/hash/sha2/sha2.c
686
ROUND512(g,h,a,b,c,d,e,f);
common/lib/libc/hash/sha2/sha2.c
687
ROUND512(f,g,h,a,b,c,d,e);
common/lib/libc/hash/sha2/sha2.c
688
ROUND512(e,f,g,h,a,b,c,d);
common/lib/libc/hash/sha2/sha2.c
689
ROUND512(d,e,f,g,h,a,b,c);
common/lib/libc/hash/sha2/sha2.c
690
ROUND512(c,d,e,f,g,h,a,b);
common/lib/libc/hash/sha2/sha2.c
691
ROUND512(b,c,d,e,f,g,h,a);
common/lib/libc/hash/sha2/sha2.c
697
context->state[2] += c;
common/lib/libc/hash/sha2/sha2.c
705
a = b = c = d = e = f = g = h = T1 = 0;
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
720
c = context->state[2];
common/lib/libc/hash/sha2/sha2.c
733
T2 = Sigma0_512(a) + Maj(a, b, c);
common/lib/libc/hash/sha2/sha2.c
738
d = c;
common/lib/libc/hash/sha2/sha2.c
739
c = b;
common/lib/libc/hash/sha2/sha2.c
756
T2 = Sigma0_512(a) + Maj(a, b, c);
common/lib/libc/hash/sha2/sha2.c
761
d = c;
common/lib/libc/hash/sha2/sha2.c
762
c = b;
common/lib/libc/hash/sha2/sha2.c
772
context->state[2] += c;
common/lib/libc/hash/sha2/sha2.c
780
a = b = c = d = e = f = g = h = T1 = T2 = 0;
common/lib/libc/hash/sha3/keccak.c
55
rol64(secret uint64_t v, unsigned c)
common/lib/libc/hash/sha3/keccak.c
58
return ((v << c) | (v >> (64 - c)));
common/lib/libc/inet/inet_addr.c
130
char c;
common/lib/libc/inet/inet_addr.c
135
c = *cp;
common/lib/libc/inet/inet_addr.c
142
if (!isdigit((unsigned char)c))
common/lib/libc/inet/inet_addr.c
145
if (c == '0') {
common/lib/libc/inet/inet_addr.c
146
c = *++cp;
common/lib/libc/inet/inet_addr.c
147
if (c == 'x' || c == 'X')
common/lib/libc/inet/inet_addr.c
148
base = 16, c = *++cp;
common/lib/libc/inet/inet_addr.c
155
if (isascii(c) && isdigit((unsigned char)c)) {
common/lib/libc/inet/inet_addr.c
156
if (base == 8 && (c == '8' || c == '9'))
common/lib/libc/inet/inet_addr.c
158
val = (val * base) + (c - '0');
common/lib/libc/inet/inet_addr.c
159
c = *++cp;
common/lib/libc/inet/inet_addr.c
161
} else if (base == 16 && isascii(c) &&
common/lib/libc/inet/inet_addr.c
162
isxdigit((unsigned char)c)) {
common/lib/libc/inet/inet_addr.c
164
(c + 10 - (islower((unsigned char)c) ? 'a' : 'A'));
common/lib/libc/inet/inet_addr.c
165
c = *++cp;
common/lib/libc/inet/inet_addr.c
170
if (c == '.') {
common/lib/libc/inet/inet_addr.c
180
c = *++cp;
common/lib/libc/inet/inet_addr.c
187
if (c != '\0' && (!isascii(c) || !isspace((unsigned char)c)))
common/lib/libc/md/md4c.c
106
#define FF(a, b, c, d, x, s) { \
common/lib/libc/md/md4c.c
107
(a) += F ((b), (c), (d)) + (x); \
common/lib/libc/md/md4c.c
111
#define GG(a, b, c, d, x, s) { \
common/lib/libc/md/md4c.c
112
(a) += G ((b), (c), (d)) + (x) + (UINT4)0x5a827999; \
common/lib/libc/md/md4c.c
116
#define HH(a, b, c, d, x, s) { \
common/lib/libc/md/md4c.c
117
(a) += H ((b), (c), (d)) + (x) + (UINT4)0x6ed9eba1; \
common/lib/libc/md/md4c.c
226
UINT4 a = state[0], b = state[1], c = state[2], d = state[3], x[16];
common/lib/libc/md/md4c.c
231
FF (a, b, c, d, x[ 0], S11); /* 1 */
common/lib/libc/md/md4c.c
232
FF (d, a, b, c, x[ 1], S12); /* 2 */
common/lib/libc/md/md4c.c
233
FF (c, d, a, b, x[ 2], S13); /* 3 */
common/lib/libc/md/md4c.c
234
FF (b, c, d, a, x[ 3], S14); /* 4 */
common/lib/libc/md/md4c.c
235
FF (a, b, c, d, x[ 4], S11); /* 5 */
common/lib/libc/md/md4c.c
236
FF (d, a, b, c, x[ 5], S12); /* 6 */
common/lib/libc/md/md4c.c
237
FF (c, d, a, b, x[ 6], S13); /* 7 */
common/lib/libc/md/md4c.c
238
FF (b, c, d, a, x[ 7], S14); /* 8 */
common/lib/libc/md/md4c.c
239
FF (a, b, c, d, x[ 8], S11); /* 9 */
common/lib/libc/md/md4c.c
240
FF (d, a, b, c, x[ 9], S12); /* 10 */
common/lib/libc/md/md4c.c
241
FF (c, d, a, b, x[10], S13); /* 11 */
common/lib/libc/md/md4c.c
242
FF (b, c, d, a, x[11], S14); /* 12 */
common/lib/libc/md/md4c.c
243
FF (a, b, c, d, x[12], S11); /* 13 */
common/lib/libc/md/md4c.c
244
FF (d, a, b, c, x[13], S12); /* 14 */
common/lib/libc/md/md4c.c
245
FF (c, d, a, b, x[14], S13); /* 15 */
common/lib/libc/md/md4c.c
246
FF (b, c, d, a, x[15], S14); /* 16 */
common/lib/libc/md/md4c.c
249
GG (a, b, c, d, x[ 0], S21); /* 17 */
common/lib/libc/md/md4c.c
250
GG (d, a, b, c, x[ 4], S22); /* 18 */
common/lib/libc/md/md4c.c
251
GG (c, d, a, b, x[ 8], S23); /* 19 */
common/lib/libc/md/md4c.c
252
GG (b, c, d, a, x[12], S24); /* 20 */
common/lib/libc/md/md4c.c
253
GG (a, b, c, d, x[ 1], S21); /* 21 */
common/lib/libc/md/md4c.c
254
GG (d, a, b, c, x[ 5], S22); /* 22 */
common/lib/libc/md/md4c.c
255
GG (c, d, a, b, x[ 9], S23); /* 23 */
common/lib/libc/md/md4c.c
256
GG (b, c, d, a, x[13], S24); /* 24 */
common/lib/libc/md/md4c.c
257
GG (a, b, c, d, x[ 2], S21); /* 25 */
common/lib/libc/md/md4c.c
258
GG (d, a, b, c, x[ 6], S22); /* 26 */
common/lib/libc/md/md4c.c
259
GG (c, d, a, b, x[10], S23); /* 27 */
common/lib/libc/md/md4c.c
260
GG (b, c, d, a, x[14], S24); /* 28 */
common/lib/libc/md/md4c.c
261
GG (a, b, c, d, x[ 3], S21); /* 29 */
common/lib/libc/md/md4c.c
262
GG (d, a, b, c, x[ 7], S22); /* 30 */
common/lib/libc/md/md4c.c
263
GG (c, d, a, b, x[11], S23); /* 31 */
common/lib/libc/md/md4c.c
264
GG (b, c, d, a, x[15], S24); /* 32 */
common/lib/libc/md/md4c.c
267
HH (a, b, c, d, x[ 0], S31); /* 33 */
common/lib/libc/md/md4c.c
268
HH (d, a, b, c, x[ 8], S32); /* 34 */
common/lib/libc/md/md4c.c
269
HH (c, d, a, b, x[ 4], S33); /* 35 */
common/lib/libc/md/md4c.c
270
HH (b, c, d, a, x[12], S34); /* 36 */
common/lib/libc/md/md4c.c
271
HH (a, b, c, d, x[ 2], S31); /* 37 */
common/lib/libc/md/md4c.c
272
HH (d, a, b, c, x[10], S32); /* 38 */
common/lib/libc/md/md4c.c
273
HH (c, d, a, b, x[ 6], S33); /* 39 */
common/lib/libc/md/md4c.c
274
HH (b, c, d, a, x[14], S34); /* 40 */
common/lib/libc/md/md4c.c
275
HH (a, b, c, d, x[ 1], S31); /* 41 */
common/lib/libc/md/md4c.c
276
HH (d, a, b, c, x[ 9], S32); /* 42 */
common/lib/libc/md/md4c.c
277
HH (c, d, a, b, x[ 5], S33); /* 43 */
common/lib/libc/md/md4c.c
278
HH (b, c, d, a, x[13], S34); /* 44 */
common/lib/libc/md/md4c.c
279
HH (a, b, c, d, x[ 3], S31); /* 45 */
common/lib/libc/md/md4c.c
280
HH (d, a, b, c, x[11], S32); /* 46 */
common/lib/libc/md/md4c.c
281
HH (c, d, a, b, x[ 7], S33); /* 47 */
common/lib/libc/md/md4c.c
282
HH (b, c, d, a, x[15], S34); /* 48 */
common/lib/libc/md/md4c.c
286
state[2] += c;
common/lib/libc/md/md5c.c
150
#define FF(a, b, c, d, x, s, ac) { \
common/lib/libc/md/md5c.c
151
(a) += F ((b), (c), (d)) + (x) + (UINT4)(ac); \
common/lib/libc/md/md5c.c
156
#define GG(a, b, c, d, x, s, ac) { \
common/lib/libc/md/md5c.c
157
(a) += G ((b), (c), (d)) + (x) + (UINT4)(ac); \
common/lib/libc/md/md5c.c
162
#define HH(a, b, c, d, x, s, ac) { \
common/lib/libc/md/md5c.c
163
(a) += H ((b), (c), (d)) + (x) + (UINT4)(ac); \
common/lib/libc/md/md5c.c
168
#define II(a, b, c, d, x, s, ac) { \
common/lib/libc/md/md5c.c
169
(a) += I ((b), (c), (d)) + (x) + (UINT4)(ac); \
common/lib/libc/md/md5c.c
272
UINT4 a = state[0], b = state[1], c = state[2], d = state[3], x[16];
common/lib/libc/md/md5c.c
277
FF (a, b, c, d, x[ 0], S11, 0xd76aa478); /* 1 */
common/lib/libc/md/md5c.c
278
FF (d, a, b, c, x[ 1], S12, 0xe8c7b756); /* 2 */
common/lib/libc/md/md5c.c
279
FF (c, d, a, b, x[ 2], S13, 0x242070db); /* 3 */
common/lib/libc/md/md5c.c
280
FF (b, c, d, a, x[ 3], S14, 0xc1bdceee); /* 4 */
common/lib/libc/md/md5c.c
281
FF (a, b, c, d, x[ 4], S11, 0xf57c0faf); /* 5 */
common/lib/libc/md/md5c.c
282
FF (d, a, b, c, x[ 5], S12, 0x4787c62a); /* 6 */
common/lib/libc/md/md5c.c
283
FF (c, d, a, b, x[ 6], S13, 0xa8304613); /* 7 */
common/lib/libc/md/md5c.c
284
FF (b, c, d, a, x[ 7], S14, 0xfd469501); /* 8 */
common/lib/libc/md/md5c.c
285
FF (a, b, c, d, x[ 8], S11, 0x698098d8); /* 9 */
common/lib/libc/md/md5c.c
286
FF (d, a, b, c, x[ 9], S12, 0x8b44f7af); /* 10 */
common/lib/libc/md/md5c.c
287
FF (c, d, a, b, x[10], S13, 0xffff5bb1); /* 11 */
common/lib/libc/md/md5c.c
288
FF (b, c, d, a, x[11], S14, 0x895cd7be); /* 12 */
common/lib/libc/md/md5c.c
289
FF (a, b, c, d, x[12], S11, 0x6b901122); /* 13 */
common/lib/libc/md/md5c.c
290
FF (d, a, b, c, x[13], S12, 0xfd987193); /* 14 */
common/lib/libc/md/md5c.c
291
FF (c, d, a, b, x[14], S13, 0xa679438e); /* 15 */
common/lib/libc/md/md5c.c
292
FF (b, c, d, a, x[15], S14, 0x49b40821); /* 16 */
common/lib/libc/md/md5c.c
295
GG (a, b, c, d, x[ 1], S21, 0xf61e2562); /* 17 */
common/lib/libc/md/md5c.c
296
GG (d, a, b, c, x[ 6], S22, 0xc040b340); /* 18 */
common/lib/libc/md/md5c.c
297
GG (c, d, a, b, x[11], S23, 0x265e5a51); /* 19 */
common/lib/libc/md/md5c.c
298
GG (b, c, d, a, x[ 0], S24, 0xe9b6c7aa); /* 20 */
common/lib/libc/md/md5c.c
299
GG (a, b, c, d, x[ 5], S21, 0xd62f105d); /* 21 */
common/lib/libc/md/md5c.c
300
GG (d, a, b, c, x[10], S22, 0x2441453); /* 22 */
common/lib/libc/md/md5c.c
301
GG (c, d, a, b, x[15], S23, 0xd8a1e681); /* 23 */
common/lib/libc/md/md5c.c
302
GG (b, c, d, a, x[ 4], S24, 0xe7d3fbc8); /* 24 */
common/lib/libc/md/md5c.c
303
GG (a, b, c, d, x[ 9], S21, 0x21e1cde6); /* 25 */
common/lib/libc/md/md5c.c
304
GG (d, a, b, c, x[14], S22, 0xc33707d6); /* 26 */
common/lib/libc/md/md5c.c
305
GG (c, d, a, b, x[ 3], S23, 0xf4d50d87); /* 27 */
common/lib/libc/md/md5c.c
306
GG (b, c, d, a, x[ 8], S24, 0x455a14ed); /* 28 */
common/lib/libc/md/md5c.c
307
GG (a, b, c, d, x[13], S21, 0xa9e3e905); /* 29 */
common/lib/libc/md/md5c.c
308
GG (d, a, b, c, x[ 2], S22, 0xfcefa3f8); /* 30 */
common/lib/libc/md/md5c.c
309
GG (c, d, a, b, x[ 7], S23, 0x676f02d9); /* 31 */
common/lib/libc/md/md5c.c
310
GG (b, c, d, a, x[12], S24, 0x8d2a4c8a); /* 32 */
common/lib/libc/md/md5c.c
313
HH (a, b, c, d, x[ 5], S31, 0xfffa3942); /* 33 */
common/lib/libc/md/md5c.c
314
HH (d, a, b, c, x[ 8], S32, 0x8771f681); /* 34 */
common/lib/libc/md/md5c.c
315
HH (c, d, a, b, x[11], S33, 0x6d9d6122); /* 35 */
common/lib/libc/md/md5c.c
316
HH (b, c, d, a, x[14], S34, 0xfde5380c); /* 36 */
common/lib/libc/md/md5c.c
317
HH (a, b, c, d, x[ 1], S31, 0xa4beea44); /* 37 */
common/lib/libc/md/md5c.c
318
HH (d, a, b, c, x[ 4], S32, 0x4bdecfa9); /* 38 */
common/lib/libc/md/md5c.c
319
HH (c, d, a, b, x[ 7], S33, 0xf6bb4b60); /* 39 */
common/lib/libc/md/md5c.c
320
HH (b, c, d, a, x[10], S34, 0xbebfbc70); /* 40 */
common/lib/libc/md/md5c.c
321
HH (a, b, c, d, x[13], S31, 0x289b7ec6); /* 41 */
common/lib/libc/md/md5c.c
322
HH (d, a, b, c, x[ 0], S32, 0xeaa127fa); /* 42 */
common/lib/libc/md/md5c.c
323
HH (c, d, a, b, x[ 3], S33, 0xd4ef3085); /* 43 */
common/lib/libc/md/md5c.c
324
HH (b, c, d, a, x[ 6], S34, 0x4881d05); /* 44 */
common/lib/libc/md/md5c.c
325
HH (a, b, c, d, x[ 9], S31, 0xd9d4d039); /* 45 */
common/lib/libc/md/md5c.c
326
HH (d, a, b, c, x[12], S32, 0xe6db99e5); /* 46 */
common/lib/libc/md/md5c.c
327
HH (c, d, a, b, x[15], S33, 0x1fa27cf8); /* 47 */
common/lib/libc/md/md5c.c
328
HH (b, c, d, a, x[ 2], S34, 0xc4ac5665); /* 48 */
common/lib/libc/md/md5c.c
331
II (a, b, c, d, x[ 0], S41, 0xf4292244); /* 49 */
common/lib/libc/md/md5c.c
332
II (d, a, b, c, x[ 7], S42, 0x432aff97); /* 50 */
common/lib/libc/md/md5c.c
333
II (c, d, a, b, x[14], S43, 0xab9423a7); /* 51 */
common/lib/libc/md/md5c.c
334
II (b, c, d, a, x[ 5], S44, 0xfc93a039); /* 52 */
common/lib/libc/md/md5c.c
335
II (a, b, c, d, x[12], S41, 0x655b59c3); /* 53 */
common/lib/libc/md/md5c.c
336
II (d, a, b, c, x[ 3], S42, 0x8f0ccc92); /* 54 */
common/lib/libc/md/md5c.c
337
II (c, d, a, b, x[10], S43, 0xffeff47d); /* 55 */
common/lib/libc/md/md5c.c
338
II (b, c, d, a, x[ 1], S44, 0x85845dd1); /* 56 */
common/lib/libc/md/md5c.c
339
II (a, b, c, d, x[ 8], S41, 0x6fa87e4f); /* 57 */
common/lib/libc/md/md5c.c
340
II (d, a, b, c, x[15], S42, 0xfe2ce6e0); /* 58 */
common/lib/libc/md/md5c.c
341
II (c, d, a, b, x[ 6], S43, 0xa3014314); /* 59 */
common/lib/libc/md/md5c.c
342
II (b, c, d, a, x[13], S44, 0x4e0811a1); /* 60 */
common/lib/libc/md/md5c.c
343
II (a, b, c, d, x[ 4], S41, 0xf7537e82); /* 61 */
common/lib/libc/md/md5c.c
344
II (d, a, b, c, x[11], S42, 0xbd3af235); /* 62 */
common/lib/libc/md/md5c.c
345
II (c, d, a, b, x[ 2], S43, 0x2ad7d2bb); /* 63 */
common/lib/libc/md/md5c.c
346
II (b, c, d, a, x[ 9], S44, 0xeb86d391); /* 64 */
common/lib/libc/md/md5c.c
350
state[2] += c;
common/lib/libc/rpc/xdr_array.c
101
c = *sizep;
common/lib/libc/rpc/xdr_array.c
102
if ((c > maxsize || UINT_MAX/elsize < c) &&
common/lib/libc/rpc/xdr_array.c
105
nodesize = c * elsize;
common/lib/libc/rpc/xdr_array.c
114
if (c == 0)
common/lib/libc/rpc/xdr_array.c
134
for (i = 0; (i < c) && stat; i++) {
common/lib/libc/rpc/xdr_array.c
93
u_int c; /* the actual element count */
common/lib/libc/stdlib/_strtol.h
100
if (c == '+')
common/lib/libc/stdlib/_strtol.h
101
c = *s++;
common/lib/libc/stdlib/_strtol.h
104
c == '0' && (*s == 'x' || *s == 'X') &&
common/lib/libc/stdlib/_strtol.h
108
c = s[1];
common/lib/libc/stdlib/_strtol.h
113
c == '0' && (*s == 'b' || *s == 'B') &&
common/lib/libc/stdlib/_strtol.h
115
c = s[1];
common/lib/libc/stdlib/_strtol.h
120
base = (c == '0' ? 8 : 10);
common/lib/libc/stdlib/_strtol.h
149
for (acc = 0, any = 0;; c = *s++) {
common/lib/libc/stdlib/_strtol.h
150
if (c >= '0' && c <= '9')
common/lib/libc/stdlib/_strtol.h
151
i = c - '0';
common/lib/libc/stdlib/_strtol.h
152
else if (c >= 'a' && c <= 'z')
common/lib/libc/stdlib/_strtol.h
153
i = (c - 'a') + 10;
common/lib/libc/stdlib/_strtol.h
154
else if (c >= 'A' && c <= 'Z')
common/lib/libc/stdlib/_strtol.h
155
i = (c - 'A') + 10;
common/lib/libc/stdlib/_strtol.h
60
unsigned char c;
common/lib/libc/stdlib/_strtol.h
88
c = *s++;
common/lib/libc/stdlib/_strtol.h
89
} while (isspace(c));
common/lib/libc/stdlib/_strtol.h
92
c = *s++;
common/lib/libc/stdlib/_strtol.h
93
} while (isspace_l(c, loc));
common/lib/libc/stdlib/_strtol.h
95
if (c == '-') {
common/lib/libc/stdlib/_strtol.h
97
c = *s++;
common/lib/libc/stdlib/_strtoul.h
100
if (c == '+')
common/lib/libc/stdlib/_strtoul.h
101
c = *s++;
common/lib/libc/stdlib/_strtoul.h
104
c == '0' && (*s == 'x' || *s == 'X') &&
common/lib/libc/stdlib/_strtoul.h
108
c = s[1];
common/lib/libc/stdlib/_strtoul.h
113
c == '0' && (*s == 'b' || *s == 'B') &&
common/lib/libc/stdlib/_strtoul.h
115
c = s[1];
common/lib/libc/stdlib/_strtoul.h
120
base = (c == '0' ? 8 : 10);
common/lib/libc/stdlib/_strtoul.h
127
for (acc = 0, any = 0;; c = *s++) {
common/lib/libc/stdlib/_strtoul.h
128
if (c >= '0' && c <= '9')
common/lib/libc/stdlib/_strtoul.h
129
i = c - '0';
common/lib/libc/stdlib/_strtoul.h
130
else if (c >= 'a' && c <= 'z')
common/lib/libc/stdlib/_strtoul.h
131
i = (c - 'a') + 10;
common/lib/libc/stdlib/_strtoul.h
132
else if (c >= 'A' && c <= 'Z')
common/lib/libc/stdlib/_strtoul.h
133
i = (c - 'A') + 10;
common/lib/libc/stdlib/_strtoul.h
60
unsigned char c;
common/lib/libc/stdlib/_strtoul.h
88
c = *s++;
common/lib/libc/stdlib/_strtoul.h
89
} while (isspace(c));
common/lib/libc/stdlib/_strtoul.h
92
c = *s++;
common/lib/libc/stdlib/_strtoul.h
93
} while (isspace_l(c, loc));
common/lib/libc/stdlib/_strtoul.h
95
if (c == '-') {
common/lib/libc/stdlib/_strtoul.h
97
c = *s++;
common/lib/libc/stdlib/mi_vector_hash.c
103
c += le32dec(k + 8);
common/lib/libc/stdlib/mi_vector_hash.c
104
mix(a, b, c);
common/lib/libc/stdlib/mi_vector_hash.c
108
c += orig_len;
common/lib/libc/stdlib/mi_vector_hash.c
113
c += (uint32_t)k[10] << 24;
common/lib/libc/stdlib/mi_vector_hash.c
116
c += (uint32_t)k[9] << 16;
common/lib/libc/stdlib/mi_vector_hash.c
119
c += (uint32_t)k[8] << 8;
common/lib/libc/stdlib/mi_vector_hash.c
161
c += le32toh(key32[2]);
common/lib/libc/stdlib/mi_vector_hash.c
162
mix(a, b, c);
common/lib/libc/stdlib/mi_vector_hash.c
166
c += orig_len;
common/lib/libc/stdlib/mi_vector_hash.c
169
c += (le32toh(key32[2]) & mask[len - 9]) << 8;
common/lib/libc/stdlib/mi_vector_hash.c
178
mix(a, b, c);
common/lib/libc/stdlib/mi_vector_hash.c
181
hashes[2] = c;
common/lib/libc/stdlib/mi_vector_hash.c
63
#define mix(a, b, c) do { \
common/lib/libc/stdlib/mi_vector_hash.c
64
a -= b; a -= c; a ^= (c >> 13); \
common/lib/libc/stdlib/mi_vector_hash.c
65
b -= c; b -= a; b ^= (a << 8); \
common/lib/libc/stdlib/mi_vector_hash.c
66
c -= a; c -= b; c ^= (b >> 13); \
common/lib/libc/stdlib/mi_vector_hash.c
67
a -= b; a -= c; a ^= (c >> 12); \
common/lib/libc/stdlib/mi_vector_hash.c
68
b -= c; b -= a; b ^= (a << 16); \
common/lib/libc/stdlib/mi_vector_hash.c
69
c -= a; c -= b; c ^= (b >> 5); \
common/lib/libc/stdlib/mi_vector_hash.c
70
a -= b; a -= c; a ^= (c >> 3); \
common/lib/libc/stdlib/mi_vector_hash.c
71
b -= c; b -= a; b ^= (a << 10); \
common/lib/libc/stdlib/mi_vector_hash.c
72
c -= a; c -= b; c ^= (b >> 15); \
common/lib/libc/stdlib/mi_vector_hash.c
90
uint32_t orig_len, a, b, c;
common/lib/libc/stdlib/mi_vector_hash.c
96
c = seed;
common/lib/libc/string/explicit_memset.c
27
explicit_memset(void *b, int c, size_t len)
common/lib/libc/string/explicit_memset.c
30
return (*explicit_memset_impl)(b, c, len);
common/lib/libc/string/memchr.c
52
memchr(const void *s, int c, size_t n)
common/lib/libc/string/memchr.c
57
const unsigned char cmp = c;
common/lib/libc/string/memset.c
105
u_int c;
common/lib/libc/string/memset.c
132
if ((c = (u_char)c0) != 0) { /* Fill the word. */
common/lib/libc/string/memset.c
133
c = (c << 8) | c; /* u_int is 16 bits. */
common/lib/libc/string/memset.c
135
c = (c << 16) | c; /* u_int is 32 bits. */
common/lib/libc/string/memset.c
138
c = (c << 32) | c; /* u_int is 64 bits. */
common/lib/libc/string/memset.c
177
memset(void *dstv, int c, size_t length)
common/lib/libc/string/memset.c
181
*dst++ = c;
common/lib/libc/string/memset.c
77
#define WIDEVAL c
common/lib/libc/string/memset.c
87
__aeabi_memset(void *dst0, size_t length, int c)
common/lib/libc/string/memset.c
89
memset(dst0, c, length);
common/lib/libc/string/memset2.c
101
fill = (unsigned char)c;
common/lib/libc/string/memset2.c
104
fill |= fill << (sizeof(c) < sizeof(fill) ? 32 : 0);
common/lib/libc/string/memset2.c
81
memset(void *addr, int c, size_t len)
common/lib/libc/string/popcount32.c
59
unsigned int c;
common/lib/libc/string/popcount32.c
64
c = (v * 0x01010101U) >> 24;
common/lib/libc/string/popcount32.c
71
return c;
common/lib/libc/string/popcount64.c
67
unsigned int c;
common/lib/libc/string/popcount64.c
74
c = (unsigned int)(v >> 56);
common/lib/libc/string/popcount64.c
76
return c;
common/lib/libc/string/strrchr.c
57
const char c = ch;
common/lib/libc/string/strrchr.c
60
if (*p == c) {
common/lib/libc/string/strsep.c
73
int c, sc;
common/lib/libc/string/strsep.c
82
c = *s++;
common/lib/libc/string/strsep.c
85
if ((sc = *spanp++) == c) {
common/lib/libc/string/strsep.c
86
if (c == 0)
common/lib/libc/string/strstr.c
58
char c, sc;
common/lib/libc/string/strstr.c
61
if ((c = *find++) != 0) {
common/lib/libc/string/strstr.c
67
} while (sc != c);
common/lib/libc/sys/cpuset.c
100
return ((1U << (unsigned int)(i & CPUSET_MASK)) & c->bits[j]) != 0;
common/lib/libc/sys/cpuset.c
104
_cpuset_set(cpuid_t i, cpuset_t *c)
common/lib/libc/sys/cpuset.c
112
c->bits[j] |= 1U << (unsigned int)(i & CPUSET_MASK);
common/lib/libc/sys/cpuset.c
117
_cpuset_clr(cpuid_t i, cpuset_t *c)
common/lib/libc/sys/cpuset.c
125
c->bits[j] &= ~(1U << (unsigned int)(i & CPUSET_MASK));
common/lib/libc/sys/cpuset.c
150
_cpuset_destroy(cpuset_t *c)
common/lib/libc/sys/cpuset.c
153
free(c);
common/lib/libc/sys/cpuset.c
78
_cpuset_size(const cpuset_t *c)
common/lib/libc/sys/cpuset.c
85
_cpuset_zero(cpuset_t *c)
common/lib/libc/sys/cpuset.c
88
memset(c->bits, 0, cpuset_nentries * sizeof(c->bits[0]));
common/lib/libc/sys/cpuset.c
92
_cpuset_isset(cpuid_t i, const cpuset_t *c)
common/lib/libprop/prop_extern.c
54
struct _prop_object_externalize_context *ctx, unsigned char c)
common/lib/libprop/prop_extern.c
72
ctx->poec_buf[ctx->poec_len++] = c;
common/lib/libprop/prop_intern.c
344
unsigned char c;
common/lib/libprop/prop_intern.c
352
c = src[idx + i];
common/lib/libprop/prop_intern.c
353
if (c >= 'A' && c <= 'F') {
common/lib/libprop/prop_intern.c
354
val |= 10 + (c - 'A');
common/lib/libprop/prop_intern.c
355
} else if (c >= 'a' && c <= 'f') {
common/lib/libprop/prop_intern.c
356
val |= 10 + (c - 'a');
common/lib/libprop/prop_intern.c
357
} else if (c >= '0' && c <= '9') {
common/lib/libprop/prop_intern.c
358
val |= c - '0';
common/lib/libprop/prop_intern.c
386
_prop_json_intern_decode_uesc(const char *src, char *c, unsigned int *cszp)
common/lib/libprop/prop_intern.c
438
c[0] = (char)code; /* == (y << 4) | z */
common/lib/libprop/prop_intern.c
441
c[0] = 0xc0 | (x << 2) | (y >> 2);
common/lib/libprop/prop_intern.c
442
c[1] = 0x80 | ((y & 3) << 4) | z;
common/lib/libprop/prop_intern.c
445
c[0] = 0xe0 | w;
common/lib/libprop/prop_intern.c
446
c[1] = 0x80 | (x << 2) | (y >> 2);
common/lib/libprop/prop_intern.c
447
c[2] = 0x80 | ((y & 3) << 4) | z;
common/lib/libprop/prop_intern.c
450
c[0] = 0xf0 | ((u & 1) << 2) | (v >> 2);
common/lib/libprop/prop_intern.c
451
c[1] = 0x80 | ((v & 3) << 4) | w;
common/lib/libprop/prop_intern.c
452
c[2] = 0x80 | (x << 2) | (y >> 2);
common/lib/libprop/prop_intern.c
453
c[3] = 0x80 | ((y & 3) << 4) | z;
common/lib/libprop/prop_intern.c
482
char c[4];
common/lib/libprop/prop_intern.c
497
if ((c[0] = *src) == '\\') {
common/lib/libprop/prop_intern.c
500
switch ((c[0] = src[1])) {
common/lib/libprop/prop_intern.c
508
c[0] = 0x08;
common/lib/libprop/prop_intern.c
512
c[0] = 0x0c;
common/lib/libprop/prop_intern.c
516
c[0] = 0x0a;
common/lib/libprop/prop_intern.c
520
c[0] = 0x0d;
common/lib/libprop/prop_intern.c
524
c[0] = 0x09;
common/lib/libprop/prop_intern.c
529
src, c, &csz);
common/lib/libprop/prop_intern.c
544
ADDCHAR(c[i]);
common/lib/libprop/prop_intern.c
570
char c;
common/lib/libprop/prop_intern.c
583
if ((c = *src) == '&') {
common/lib/libprop/prop_intern.c
588
c = '&';
common/lib/libprop/prop_intern.c
593
c = '<';
common/lib/libprop/prop_intern.c
598
c = '>';
common/lib/libprop/prop_intern.c
605
c = '\'';
common/lib/libprop/prop_intern.c
612
c = '\"';
common/lib/libprop/prop_intern.c
620
ADDCHAR(c);
common/lib/libprop/prop_kern.c
49
#define ioctl(a,b,c) rump_sys_ioctl(a,b,c)
common/lib/libprop/prop_object_impl.h
133
#define _PROP_EOF(c) ((c) == '\0')
common/lib/libprop/prop_object_impl.h
134
#define _PROP_ISSPACE(c) \
common/lib/libprop/prop_object_impl.h
135
((c) == ' ' || (c) == '\t' || (c) == '\n' || (c) == '\r')
common/lib/libutil/snprintb.c
72
store(state *s, char c)
common/lib/libutil/snprintb.c
75
s->buf[s->total_len] = c;
common/lib/libx86emu/x86emu.c
5081
hw_cpuid(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d)
common/lib/libx86emu/x86emu.c
5085
"=c" (*c), "=d" (*d)
common/lib/libx86emu/x86emu.c
5086
: "a" (*a), "c" (*c)
crypto/dist/ipsec-tools/src/libipsec/policy_parse.y
97
#define ATOX(c) \
crypto/dist/ipsec-tools/src/libipsec/policy_parse.y
98
(isdigit(c) ? (c - '0') : (isupper(c) ? (c - 'A' + 10) : (c - 'a' + 10) ))
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1445
cipherInstance c;
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1456
memset(&c, 0, sizeof(c));
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1457
if (rijndael_cipherInit(&c, MODE_CBC, iv->v) < 0){
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1461
if (rijndael_blockEncrypt(&c, &k, data->v, data->l << 3, res->v) < 0){
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1475
cipherInstance c;
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1486
memset(&c, 0, sizeof(c));
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1487
if (rijndael_cipherInit(&c, MODE_CBC, iv->v) < 0){
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1491
if (rijndael_blockDecrypt(&c, &k, data->v, data->l << 3, res->v) < 0){
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1665
HMAC_CTX *c = HMAC_CTX_new();
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1667
HMAC_Init_ex(c, key->v, key->l, md, NULL);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1669
return (caddr_t)c;
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1721
eay_hmacsha2_512_update(caddr_t c, vchar_t *data)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1723
HMAC_Update((HMAC_CTX *)c, (unsigned char *) data->v, data->l);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1730
HMAC_CTX *c = (HMAC_CTX *)cv;
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1736
HMAC_Final(c, (unsigned char *) res->v, &l);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1738
HMAC_CTX_free(c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1766
eay_hmacsha2_384_update(caddr_t c, vchar_t *data)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1768
HMAC_Update((HMAC_CTX *)c, (unsigned char *) data->v, data->l);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1774
HMAC_CTX *c = (HMAC_CTX *)cv;
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1781
HMAC_Final(c, (unsigned char *) res->v, &l);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1783
HMAC_CTX_free(c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1810
eay_hmacsha2_256_update(caddr_t c, vchar_t *data)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1812
HMAC_Update((HMAC_CTX *)c, (unsigned char *) data->v, data->l);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1818
HMAC_CTX *c = (HMAC_CTX *)cv;
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1825
HMAC_Final(c, (unsigned char *) res->v, &l);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1827
HMAC_CTX_free(c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1856
eay_hmacsha1_update(caddr_t c, vchar_t *data)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1858
HMAC_Update((HMAC_CTX *)c, (unsigned char *) data->v, data->l);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1864
HMAC_CTX *c = (HMAC_CTX *)cv;
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1871
HMAC_Final(c, (unsigned char *) res->v, &l);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1873
HMAC_CTX_free(c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1901
eay_hmacmd5_update(caddr_t c, vchar_t *data)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1903
HMAC_Update((HMAC_CTX *)c, (unsigned char *) data->v, data->l);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1909
HMAC_CTX *c = (HMAC_CTX *)cv;
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1916
HMAC_Final(c, (unsigned char *) res->v, &l);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1918
HMAC_CTX_free(c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1937
SHA512_CTX *c = racoon_malloc(sizeof(*c));
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1939
SHA512_Init(c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1941
return((caddr_t)c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1945
eay_sha2_512_update(caddr_t c, vchar_t *data)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1947
SHA512_Update((SHA512_CTX *)c, (unsigned char *) data->v, data->l);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1953
eay_sha2_512_final(caddr_t c)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1960
SHA512_Final((unsigned char *) res->v, (SHA512_CTX *)c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1961
(void)racoon_free(c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1986
SHA384_CTX *c = racoon_malloc(sizeof(*c));
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1988
SHA384_Init(c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1990
return((caddr_t)c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1994
eay_sha2_384_update(caddr_t c, vchar_t *data)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
1996
SHA384_Update((SHA384_CTX *)c, (unsigned char *) data->v, data->l);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2002
eay_sha2_384_final(caddr_t c)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2009
SHA384_Final((unsigned char *) res->v, (SHA384_CTX *)c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2010
(void)racoon_free(c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2035
SHA256_CTX *c = racoon_malloc(sizeof(*c));
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2037
SHA256_Init(c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2039
return((caddr_t)c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2043
eay_sha2_256_update(caddr_t c, vchar_t *data)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2045
SHA256_Update((SHA256_CTX *)c, (unsigned char *) data->v, data->l);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2051
eay_sha2_256_final(caddr_t c)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2058
SHA256_Final((unsigned char *) res->v, (SHA256_CTX *)c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2059
(void)racoon_free(c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2083
SHA_CTX *c = racoon_malloc(sizeof(*c));
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2085
SHA1_Init(c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2087
return((caddr_t)c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2091
eay_sha1_update(caddr_t c, vchar_t *data)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2093
SHA1_Update((SHA_CTX *)c, data->v, data->l);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2099
eay_sha1_final(caddr_t c)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2106
SHA1_Final((unsigned char *) res->v, (SHA_CTX *)c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2107
(void)racoon_free(c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2130
MD5_CTX *c = racoon_malloc(sizeof(*c));
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2132
MD5_Init(c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2134
return((caddr_t)c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2138
eay_md5_update(caddr_t c, vchar_t *data)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2140
MD5_Update((MD5_CTX *)c, data->v, data->l);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2146
eay_md5_final(caddr_t c)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2153
MD5_Final((unsigned char *) res->v, (MD5_CTX *)c);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2154
(void)racoon_free(c);
crypto/dist/ipsec-tools/src/racoon/eaytest.c
362
vchar_t c;
crypto/dist/ipsec-tools/src/racoon/eaytest.c
368
c.v = *certs;
crypto/dist/ipsec-tools/src/racoon/eaytest.c
369
c.l = strlen(*certs);
crypto/dist/ipsec-tools/src/racoon/eaytest.c
372
str = eay_get_x509text(&c);
crypto/dist/ipsec-tools/src/racoon/eaytest.c
377
vstr = eay_get_x509asn1subjectname(&c);
crypto/dist/ipsec-tools/src/racoon/eaytest.c
388
error = eay_get_x509subjectaltname(&c, &str, &type, pos);
crypto/dist/ipsec-tools/src/racoon/eaytest.c
401
error = eay_check_x509cert(&c, certpath, NULL, 1);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2743
safeputchar(c)
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2744
int c;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2748
ch = (unsigned char)(c & 0xff);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2749
if (c < 0x80 && isprint(c))
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2750
return printf("%c", c & 0xff);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2752
return printf("\\%03o", c & 0xff);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
3030
char **c;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
3089
for (c = envp; *c; c++)
crypto/dist/ipsec-tools/src/racoon/isakmp.c
3090
racoon_free(*c);
crypto/dist/ipsec-tools/src/racoon/main.c
167
int c;
crypto/dist/ipsec-tools/src/racoon/main.c
178
while ((c = getopt(ac, av, "dLFp:P:f:l:vVZBC"
crypto/dist/ipsec-tools/src/racoon/main.c
186
switch (c) {
crypto/dist/ipsec-tools/src/racoon/missing/crypto/rijndael/rijndael-alg-fst.c
32
#define bcopy(a, b, c) memcpy((b), (a), (c))
crypto/dist/ipsec-tools/src/racoon/missing/crypto/rijndael/rijndael-api-fst.c
35
#define bcopy(a, b, c) memcpy(b, a, c)
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
347
#define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
352
(h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
358
#define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
362
(h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
367
#define ROUND256(a,b,c,d,e,f,g,h) \
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
375
(h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
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
388
c = context->state[2];
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
398
ROUND256_0_TO_15(a,b,c,d,e,f,g,h);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
399
ROUND256_0_TO_15(h,a,b,c,d,e,f,g);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
400
ROUND256_0_TO_15(g,h,a,b,c,d,e,f);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
401
ROUND256_0_TO_15(f,g,h,a,b,c,d,e);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
402
ROUND256_0_TO_15(e,f,g,h,a,b,c,d);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
403
ROUND256_0_TO_15(d,e,f,g,h,a,b,c);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
404
ROUND256_0_TO_15(c,d,e,f,g,h,a,b);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
405
ROUND256_0_TO_15(b,c,d,e,f,g,h,a);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
410
ROUND256(a,b,c,d,e,f,g,h);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
411
ROUND256(h,a,b,c,d,e,f,g);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
412
ROUND256(g,h,a,b,c,d,e,f);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
413
ROUND256(f,g,h,a,b,c,d,e);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
414
ROUND256(e,f,g,h,a,b,c,d);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
415
ROUND256(d,e,f,g,h,a,b,c);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
416
ROUND256(c,d,e,f,g,h,a,b);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
417
ROUND256(b,c,d,e,f,g,h,a);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
423
context->state[2] += c;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
431
a = b = c = d = e = f = g = h = T1 = 0;
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
446
c = context->state[2];
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
464
T2 = Sigma0_256(a) + Maj(a, b, c);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
469
d = c;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
470
c = b;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
487
T2 = Sigma0_256(a) + Maj(a, b, c);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
492
d = c;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
493
c = b;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
503
context->state[2] += c;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
511
a = b = c = d = e = f = g = h = T1 = T2 = 0;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
55
#define bcopy(a, b, c) memcpy((b), (a), (c))
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
674
#define ROUND512_0_TO_15(a,b,c,d,e,f,g,h) \
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
679
(h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)), \
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
685
#define ROUND512_0_TO_15(a,b,c,d,e,f,g,h) \
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
689
(h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)); \
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
694
#define ROUND512(a,b,c,d,e,f,g,h) \
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
702
(h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)); \
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
713
c = context->state[2];
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
722
ROUND512_0_TO_15(a,b,c,d,e,f,g,h);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
723
ROUND512_0_TO_15(h,a,b,c,d,e,f,g);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
724
ROUND512_0_TO_15(g,h,a,b,c,d,e,f);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
725
ROUND512_0_TO_15(f,g,h,a,b,c,d,e);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
726
ROUND512_0_TO_15(e,f,g,h,a,b,c,d);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
727
ROUND512_0_TO_15(d,e,f,g,h,a,b,c);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
728
ROUND512_0_TO_15(c,d,e,f,g,h,a,b);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
729
ROUND512_0_TO_15(b,c,d,e,f,g,h,a);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
734
ROUND512(a,b,c,d,e,f,g,h);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
735
ROUND512(h,a,b,c,d,e,f,g);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
736
ROUND512(g,h,a,b,c,d,e,f);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
737
ROUND512(f,g,h,a,b,c,d,e);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
738
ROUND512(e,f,g,h,a,b,c,d);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
739
ROUND512(d,e,f,g,h,a,b,c);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
740
ROUND512(c,d,e,f,g,h,a,b);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
741
ROUND512(b,c,d,e,f,g,h,a);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
747
context->state[2] += c;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
755
a = b = c = d = e = f = g = h = T1 = 0;
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
768
c = context->state[2];
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
786
T2 = Sigma0_512(a) + Maj(a, b, c);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
791
d = c;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
792
c = b;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
809
T2 = Sigma0_512(a) + Maj(a, b, c);
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
814
d = c;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
815
c = b;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
825
context->state[2] += c;
crypto/dist/ipsec-tools/src/racoon/missing/crypto/sha2/sha2.c
833
a = b = c = d = e = f = g = h = T1 = T2 = 0;
crypto/dist/ipsec-tools/src/racoon/oakley.c
1948
vchar_t **c;
crypto/dist/ipsec-tools/src/racoon/oakley.c
1966
c = &iph1->cert_p;
crypto/dist/ipsec-tools/src/racoon/oakley.c
1969
c = &iph1->crl_p;
crypto/dist/ipsec-tools/src/racoon/oakley.c
1985
if (*c) {
crypto/dist/ipsec-tools/src/racoon/oakley.c
2041
*c = dump_x509(cert);
crypto/dist/ipsec-tools/src/racoon/oakley.c
2043
if (!*c) {
crypto/dist/ipsec-tools/src/racoon/oakley.c
2056
vfree((*c));
crypto/dist/ipsec-tools/src/racoon/oakley.c
2057
*c = NULL;
crypto/dist/ipsec-tools/src/racoon/oakley.c
2062
char *p = eay_get_x509text(*c);
crypto/dist/ipsec-tools/src/racoon/oakley.c
2064
plogdump(LLV_DEBUG, (*c)->v, (*c)->l);
crypto/dist/ipsec-tools/src/racoon/oakley.c
2073
*c = dump_isakmp_payload(gen);
crypto/dist/ipsec-tools/src/racoon/oakley.c
2074
if (!*c) {
crypto/dist/ipsec-tools/src/racoon/oakley.c
2092
vfree((*c));
crypto/dist/ipsec-tools/src/racoon/oakley.c
2093
*c = NULL;
crypto/dist/ipsec-tools/src/racoon/oakley.c
2098
char *p = eay_get_x509text(*c);
crypto/dist/ipsec-tools/src/racoon/oakley.c
2100
plogdump(LLV_DEBUG, (*c)->v, (*c)->l);
crypto/dist/ipsec-tools/src/racoon/oakley.c
2107
plogdump(LLV_DEBUG, (*c)->v, (*c)->l);
crypto/dist/ipsec-tools/src/racoon/oakley.c
2114
vfree(*c);
crypto/dist/ipsec-tools/src/racoon/oakley.c
2115
*c = NULL;
crypto/dist/ipsec-tools/src/racoon/oakley.c
2130
vchar_t **c;
crypto/dist/ipsec-tools/src/racoon/oakley.c
2144
c = &iph1->cr_p;
crypto/dist/ipsec-tools/src/racoon/oakley.c
2160
if (*c != NULL)
crypto/dist/ipsec-tools/src/racoon/oakley.c
2173
*c = cert;
crypto/dist/ipsec-tools/src/racoon/oakley.c
2179
*c = NULL;
crypto/dist/ipsec-tools/src/racoon/plainrsa-gen.c
231
int c, fd = -1, fdin = -1;
crypto/dist/ipsec-tools/src/racoon/plainrsa-gen.c
234
while ((c = getopt(argc, argv, "e:b:f:i:h")) != -1)
crypto/dist/ipsec-tools/src/racoon/plainrsa-gen.c
235
switch (c) {
crypto/dist/ipsec-tools/src/racoon/privsep.c
1014
for (c = envp; *c; c++) { /* envp */
crypto/dist/ipsec-tools/src/racoon/privsep.c
1015
memcpy(data, *c, msg->bufs.buflen[count]);
crypto/dist/ipsec-tools/src/racoon/privsep.c
937
char *const *c;
crypto/dist/ipsec-tools/src/racoon/privsep.c
966
for (c = envp; *c; c++) /* envp */
crypto/dist/ipsec-tools/src/racoon/privsep.c
988
for (c = envp; *c; c++) { /* envp */
crypto/dist/ipsec-tools/src/racoon/privsep.c
989
msg->bufs.buflen[count] = strlen(*c) + 1;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
255
int c;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
273
while ((c = getopt(ac, av, "lds:")) != -1) {
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
274
switch(c) {
crypto/dist/ipsec-tools/src/racoon/var.h
40
#define MAX3(a, b, c) (a > b ? (a > c ? a : c) : (b > c ? b : c))
crypto/dist/ipsec-tools/src/setkey/parse.y
1609
int a, b, c, d;
crypto/dist/ipsec-tools/src/setkey/parse.y
1630
if (sscanf(spec->buf, "%d.%d.%d.%d", &a, &b, &c, &d) == 4) {
crypto/dist/ipsec-tools/src/setkey/parse.y
1632
sprintf(dp, "%d", (c << 8) + d);
crypto/dist/ipsec-tools/src/setkey/parse.y
65
#define ATOX(c) \
crypto/dist/ipsec-tools/src/setkey/parse.y
66
(isdigit((int)c) ? (c - '0') : \
crypto/dist/ipsec-tools/src/setkey/parse.y
67
(isupper((int)c) ? (c - 'A' + 10) : (c - 'a' + 10)))
crypto/dist/ipsec-tools/src/setkey/setkey.c
171
int c;
crypto/dist/ipsec-tools/src/setkey/setkey.c
179
while ((c = getopt(argc, argv, "acdf:HlnvxDFPphVrk?")) != -1) {
crypto/dist/ipsec-tools/src/setkey/setkey.c
180
switch (c) {
dist/pf/libexec/tftp-proxy/tftp-proxy.c
103
while ((c = getopt(argc, argv, "vw:")) != -1)
dist/pf/libexec/tftp-proxy/tftp-proxy.c
104
switch (c) {
dist/pf/libexec/tftp-proxy/tftp-proxy.c
84
int c, fd = 0, on = 1, out_fd = 0, peer, reqsize = 0;
dist/pf/sbin/pfctl/parse.y
5029
int c, next;
dist/pf/sbin/pfctl/parse.y
5034
c = parsebuf[parseindex++];
dist/pf/sbin/pfctl/parse.y
5035
if (c != '\0')
dist/pf/sbin/pfctl/parse.y
5036
return (c);
dist/pf/sbin/pfctl/parse.y
5045
while ((c = getc(f)) == '\\') {
dist/pf/sbin/pfctl/parse.y
5048
c = next;
dist/pf/sbin/pfctl/parse.y
5054
if (c == '\t' || c == ' ') {
dist/pf/sbin/pfctl/parse.y
5057
c = getc(f);
dist/pf/sbin/pfctl/parse.y
5058
} while (c == '\t' || c == ' ');
dist/pf/sbin/pfctl/parse.y
5059
ungetc(c, f);
dist/pf/sbin/pfctl/parse.y
5060
c = ' ';
dist/pf/sbin/pfctl/parse.y
5063
return (c);
dist/pf/sbin/pfctl/parse.y
5067
lungetc(int c)
dist/pf/sbin/pfctl/parse.y
5069
if (c == EOF)
dist/pf/sbin/pfctl/parse.y
5074
return (c);
dist/pf/sbin/pfctl/parse.y
5077
return (pushback_buffer[pushback_index++] = c);
dist/pf/sbin/pfctl/parse.y
5085
int c;
dist/pf/sbin/pfctl/parse.y
5092
c = lgetc(fin);
dist/pf/sbin/pfctl/parse.y
5093
if (c == '\n') {
dist/pf/sbin/pfctl/parse.y
5097
if (c == EOF)
dist/pf/sbin/pfctl/parse.y
5108
int endc, c, next;
dist/pf/sbin/pfctl/parse.y
5113
while ((c = lgetc(fin)) == ' ')
dist/pf/sbin/pfctl/parse.y
5117
if (c == '#')
dist/pf/sbin/pfctl/parse.y
5118
while ((c = lgetc(fin)) != '\n' && c != EOF)
dist/pf/sbin/pfctl/parse.y
5120
if (c == '$' && parsebuf == NULL) {
dist/pf/sbin/pfctl/parse.y
5122
if ((c = lgetc(fin)) == EOF)
dist/pf/sbin/pfctl/parse.y
5129
if (isalnum(c) || c == '_') {
dist/pf/sbin/pfctl/parse.y
5130
*p++ = (char)c;
dist/pf/sbin/pfctl/parse.y
5134
lungetc(c);
dist/pf/sbin/pfctl/parse.y
5147
switch (c) {
dist/pf/sbin/pfctl/parse.y
5150
endc = c;
dist/pf/sbin/pfctl/parse.y
5152
if ((c = lgetc(fin)) == EOF)
dist/pf/sbin/pfctl/parse.y
5154
if (c == endc) {
dist/pf/sbin/pfctl/parse.y
5158
if (c == '\n') {
dist/pf/sbin/pfctl/parse.y
5166
*p++ = (char)c;
dist/pf/sbin/pfctl/parse.y
5202
if (isalnum(c) || c == ':' || c == '_') {
dist/pf/sbin/pfctl/parse.y
5204
*p++ = c;
dist/pf/sbin/pfctl/parse.y
5209
} while ((c = lgetc(fin)) != EOF && (allowed_in_string(c)));
dist/pf/sbin/pfctl/parse.y
5210
lungetc(c);
dist/pf/sbin/pfctl/parse.y
5217
if (c == '\n') {
dist/pf/sbin/pfctl/parse.y
5221
if (c == EOF)
dist/pf/sbin/pfctl/parse.y
5223
return (c);
distrib/utils/edlabel/edlabel.c
427
int c, i;
distrib/utils/edlabel/edlabel.c
441
c = tmpbuf[0];
distrib/utils/edlabel/edlabel.c
442
if ((c == '\0') || (c == '\n'))
distrib/utils/edlabel/edlabel.c
444
if (c == 'q')
distrib/utils/edlabel/edlabel.c
446
if (c == '@') {
distrib/utils/edlabel/edlabel.c
451
if ((c == 's') && scsi_fict) {
distrib/utils/edlabel/edlabel.c
455
if ((c < 'a') || (c > 'q')) {
distrib/utils/edlabel/edlabel.c
461
edit_partition(dl, c - 'a', 1);
distrib/utils/libhack/multibyte.c
283
wmemchr(const wchar_t *s, wchar_t c, size_t n)
distrib/utils/libhack/multibyte.c
288
while (*s != 0 && *s != c)
distrib/utils/more/ch.c
358
int c;
distrib/utils/more/ch.c
360
c = ch_get();
distrib/utils/more/ch.c
361
if (c != EOI && ++ch_offset >= BUFSIZ) {
distrib/utils/more/ch.c
365
return(c);
distrib/utils/more/command.c
115
cmd_char(c)
distrib/utils/more/command.c
116
int c;
distrib/utils/more/command.c
118
if (c == erase_char)
distrib/utils/more/command.c
121
if (c == werase_char) {
distrib/utils/more/command.c
129
if (c == kill_char) {
distrib/utils/more/command.c
141
*cp++ = c;
distrib/utils/more/command.c
142
if (CONTROL_CHAR(c)) {
distrib/utils/more/command.c
145
c = CARAT_CHAR(c);
distrib/utils/more/command.c
147
putchr(c);
distrib/utils/more/command.c
284
mca_char(c)
distrib/utils/more/command.c
285
int c;
distrib/utils/more/command.c
296
if (!isascii(c) || (!isdigit(c) &&
distrib/utils/more/command.c
297
c != erase_char && c != kill_char && c != werase_char)) {
distrib/utils/more/command.c
315
if (c == '\n' || c == '\r') {
distrib/utils/more/command.c
321
if (cmd_char(c))
distrib/utils/more/command.c
334
int c;
distrib/utils/more/command.c
361
c = getcc();
distrib/utils/more/command.c
372
switch (mca_char(c)) {
distrib/utils/more/command.c
377
c = getcc();
distrib/utils/more/command.c
394
switch (action = cmd_decode(c)) {
distrib/utils/more/command.c
473
c = getcc();
distrib/utils/more/command.c
474
if (c == '!') {
distrib/utils/more/command.c
483
c = getcc();
distrib/utils/more/command.c
514
c = getcc();
distrib/utils/more/command.c
540
c = getcc();
distrib/utils/more/command.c
541
if (c == erase_char || c == kill_char)
distrib/utils/more/command.c
543
setmark(c);
distrib/utils/more/command.c
549
c = getcc();
distrib/utils/more/command.c
550
if (c == erase_char || c == kill_char)
distrib/utils/more/command.c
552
gomark(c);
distrib/utils/more/command.c
562
if (CONTROL_CHAR(c)) {
distrib/utils/more/command.c
564
c = CARAT_CHAR(c);
distrib/utils/more/command.c
566
putchr(c);
distrib/utils/more/command.c
567
c = getcc();
distrib/utils/more/command.c
581
int c;
distrib/utils/more/command.c
594
if (dolinenumber && (c = currline(MIDDLE)))
distrib/utils/more/command.c
595
(void)snprintf(buf, sizeof(buf), "%s +%d %s", editor, c,
distrib/utils/more/decode.c
146
cmd_decode(c)
distrib/utils/more/decode.c
147
int c;
distrib/utils/more/decode.c
154
*kp++ = c;
distrib/utils/more/decode.c
69
#define CONTROL(c) ((c)&037)
distrib/utils/more/input.c
105
c = ch_forw_get();
distrib/utils/more/input.c
116
while ((c = ch_forw_get()) == '\n')
distrib/utils/more/input.c
119
if (c != EOI)
distrib/utils/more/input.c
139
int c;
distrib/utils/more/input.c
151
c = ch_forw_get(); /* First char of "current" line */
distrib/utils/more/input.c
155
if (c == '\n')
distrib/utils/more/input.c
162
while ((c = ch_back_get()) == '\n')
distrib/utils/more/input.c
165
if (c == EOI)
distrib/utils/more/input.c
178
c = ch_back_get();
distrib/utils/more/input.c
179
if (c == '\n')
distrib/utils/more/input.c
188
if (c == EOI)
distrib/utils/more/input.c
217
c = ch_forw_get();
distrib/utils/more/input.c
218
if (c == EOI || sigs)
distrib/utils/more/input.c
221
if (c == '\n')
distrib/utils/more/input.c
223
if (pappend(c))
distrib/utils/more/input.c
69
int c;
distrib/utils/more/input.c
74
c = ch_forw_get();
distrib/utils/more/input.c
75
if (c == EOI)
distrib/utils/more/input.c
83
if (c == '\n' || c == EOI)
distrib/utils/more/input.c
95
if (pappend(c))
distrib/utils/more/less.h
46
#define CONTROL_CHAR(c) (iscntrl((unsigned char)c))
distrib/utils/more/less.h
47
#define CARAT_CHAR(c) ((c == '\177') ? '?' : (c | 0100))
distrib/utils/more/line.c
120
pappend(c)
distrib/utils/more/line.c
121
int c;
distrib/utils/more/line.c
123
if (c == '\0') {
distrib/utils/more/line.c
173
if (c == curr[-2])
distrib/utils/more/line.c
175
if (c == '_' || curr[-2] == '_')
distrib/utils/more/line.c
246
if (c != '_' && curr[-2] != '_' && c == curr[-2])
distrib/utils/more/line.c
262
if (c == '_')
distrib/utils/more/line.c
263
c = curr[-2];
distrib/utils/more/line.c
271
if (c != curr[-2] && (c == '_' || curr[-2] == '_'))
distrib/utils/more/line.c
299
if (c == '\b')
distrib/utils/more/line.c
314
if (c == '\b')
distrib/utils/more/line.c
340
if (c == '\b')
distrib/utils/more/line.c
368
if (c == '\t') {
distrib/utils/more/line.c
379
if (c == '\b') {
distrib/utils/more/line.c
388
if (CONTROL_CHAR(c)) {
distrib/utils/more/line.c
397
*curr++ = (CARAT_CHAR(c) | 0200);
distrib/utils/more/line.c
405
*curr++ = c;
distrib/utils/more/line.c
419
int c;
distrib/utils/more/line.c
423
(c = ch_forw_get()) == EOI)
distrib/utils/more/line.c
430
if (c == '\n' || c == EOI)
distrib/utils/more/line.c
446
*p++ = c;
distrib/utils/more/line.c
447
c = ch_forw_get();
distrib/utils/more/line.c
463
int c;
distrib/utils/more/line.c
475
c = ch_back_get();
distrib/utils/more/line.c
476
if (c == '\n')
distrib/utils/more/line.c
485
if (c == EOI)
distrib/utils/more/line.c
504
*--p = c;
distrib/utils/more/main.c
229
int c, empty;
distrib/utils/more/main.c
233
while ((c = ch_forw_get()) != EOI)
distrib/utils/more/main.c
234
if (c != '\n') {
distrib/utils/more/main.c
235
putchr(c);
distrib/utils/more/main.c
239
putchr(c);
distrib/utils/more/main.c
243
else while ((c = ch_forw_get()) != EOI)
distrib/utils/more/main.c
244
putchr(c);
distrib/utils/more/output.c
109
if (c & 0200)
distrib/utils/more/output.c
117
putchr(c & 0177);
distrib/utils/more/output.c
121
putchr(c);
distrib/utils/more/output.c
163
putchr(c)
distrib/utils/more/output.c
164
int c;
distrib/utils/more/output.c
168
*ob++ = c;
distrib/utils/more/output.c
169
return c;
distrib/utils/more/output.c
61
int c;
distrib/utils/more/output.c
79
switch (c = *p)
distrib/utils/more/prim.c
360
int c, nlines;
distrib/utils/more/prim.c
386
while ((c = ch_forw_get()) != '\n')
distrib/utils/more/prim.c
387
if (c == EOI) {
distrib/utils/more/prim.c
408
int c;
distrib/utils/more/prim.c
426
while ((c = ch_back_get()) != '\n' && c != EOI)
distrib/utils/more/prim.c
428
if (c == '\n')
distrib/utils/more/prim.c
532
badmark(c)
distrib/utils/more/prim.c
533
int c;
distrib/utils/more/prim.c
535
if (c < 'a' || c > 'z')
distrib/utils/more/prim.c
547
setmark(c)
distrib/utils/more/prim.c
549
int c;
distrib/utils/more/prim.c
551
if (badmark(c))
distrib/utils/more/prim.c
553
marks[c-'a'] = position(TOP);
distrib/utils/more/prim.c
567
gomark(c)
distrib/utils/more/prim.c
569
int c;
distrib/utils/more/prim.c
573
if (c == '\'') {
distrib/utils/more/prim.c
579
if (badmark(c))
distrib/utils/more/prim.c
581
pos = marks[c-'a'];
distrib/utils/more/ttyin.c
69
char c;
distrib/utils/more/ttyin.c
74
result = iread(tty, &c, 1);
distrib/utils/more/ttyin.c
86
return (c & 0177);
distrib/utils/ssh/ssh.c
102
int c, sig;
distrib/utils/ssh/ssh.c
105
while ((c = getopt(argc, argv, "eisx")) != -1) {
distrib/utils/ssh/ssh.c
106
switch (c) {
distrib/utils/zcat/misc.c
14
void __diagassert13(const char * a, int b, const char *c, const char *d) {
distrib/utils/zcat/misc.c
5
__dead void __assert(const char *a, int b, const char *c) {
distrib/utils/zcat/misc.c
8
__dead void __assert13(const char *a, int b, const char *c, const char *d) {
games/adventure/crc.c
111
crc_start(struct crcstate *c)
games/adventure/crc.c
113
c->crcval = 0;
games/adventure/crc.c
114
c->step = 0;
games/adventure/crc.c
121
crc_add(struct crcstate *c, const void *data, size_t num)
games/adventure/crc.c
130
x = (c->crcval >> 24 ^ udata[pos++]) & 0xff;
games/adventure/crc.c
132
x = c->step++;
games/adventure/crc.c
133
if (c->step >= __arraycount(crctab)) {
games/adventure/crc.c
134
c->step = 0;
games/adventure/crc.c
137
c->crcval = (c->crcval << 8) ^ crctab[x];
games/adventure/crc.c
142
crc_get(struct crcstate *c)
games/adventure/crc.c
144
return c->crcval;
games/adventure/hdr.h
157
#define DECR(a,b,c,d,e) decr(a+'+',b+'-',c+'#',d+'&',e+'%')
games/adventure/init.c
141
decr(int a, int b, int c, int d, int e)
games/adventure/init.c
147
buf[2] = c - '#';
games/adventure/io.c
72
int first, numch, c;
games/adventure/io.c
78
c = getchar();
games/adventure/io.c
79
if ((*s = (char)c) >= 'A' && *s <= 'Z')
games/adventure/io.c
82
switch (c) { /* start reading from user */
games/adventure/setup.c
100
if (linestart && c == ' ') { /* Convert first spaces to tab */
games/adventure/setup.c
103
while ((c = getc(infile)) == ' ' && c != EOF);
games/adventure/setup.c
107
switch (c) {
games/adventure/setup.c
118
printf("0x%02x,", (unsigned int)(c ^ random()) & 0xFF);
games/adventure/setup.c
78
int c, count, linestart;
games/adventure/setup.c
99
while ((c = getc(infile)) != EOF) {
games/adventure/vocab.c
197
char *c;
games/adventure/vocab.c
210
for (l = 0, c = h->atab; l < 5; l++)
games/adventure/vocab.c
211
if ((*c ^ '='))
games/adventure/vocab.c
212
putchar(*c++ ^ '=');
games/atc/graphics.c
79
int c;
games/atc/graphics.c
82
while ((c = getchar()) == EOF && errno == EINTR) {
games/atc/graphics.c
86
return(c);
games/atc/input.c
275
int c, i, done;
games/atc/input.c
282
c = gettoken();
games/atc/input.c
283
if (c == tty_new.c_cc[VERASE]) {
games/atc/input.c
286
} else if (c == tty_new.c_cc[VKILL]) {
games/atc/input.c
292
if (st[T_STATE].rule[i].token == c ||
games/atc/input.c
294
push(i, (c >= ALPHATOKEN) ? tval : c);
games/atc/input.c
404
setplane(int c)
games/atc/input.c
408
pp = findplane(number(c));
games/atc/input.c
418
turn(int c __unused)
games/atc/input.c
427
circle(int c __unused)
games/atc/input.c
437
left(int c __unused)
games/atc/input.c
448
right(int c __unused)
games/atc/input.c
459
Left(int c __unused)
games/atc/input.c
469
Right(int c __unused)
games/atc/input.c
524
beacon(int c __unused)
games/atc/input.c
532
ex_it(int c __unused)
games/atc/input.c
540
airport(int c __unused)
games/atc/input.c
548
climb(int c __unused)
games/atc/input.c
556
descend(int c __unused)
games/atc/input.c
563
setalt(int c)
games/atc/input.c
565
int newalt = c - '0';
games/atc/input.c
576
setrelalt(int c)
games/atc/input.c
580
if (c == 0)
games/atc/input.c
585
newalt = p.altitude + c - '0';
games/atc/input.c
588
newalt = p.altitude - (c - '0');
games/atc/input.c
640
to_dir(int c)
games/atc/input.c
642
p.new_dir = dir_no(c);
games/atc/input.c
647
rel_dir(int c)
games/atc/input.c
651
angle = dir_no(c);
games/atc/input.c
671
mark(int c __unused)
games/atc/input.c
683
unmark(int c __unused)
games/atc/input.c
695
ignore(int c __unused)
games/atc/main.c
336
int c;
games/atc/main.c
341
c = getAChar();
games/atc/main.c
342
if (c == EOF || c == 'y') {
games/atc/update.c
238
int c;
games/atc/update.c
254
while ((c = getAChar()) != EOF && c != ' ')
games/backgammon/backgammon/extra.c
214
int c, l, ct;
games/backgammon/backgammon/extra.c
220
c = abs(i - l);
games/backgammon/backgammon/extra.c
222
for (j = c; j < 13; j++)
games/backgammon/backgammon/main.c
170
c = readc();
games/backgammon/backgammon/main.c
171
switch (c) {
games/backgammon/backgammon/main.c
351
c = readc();
games/backgammon/backgammon/main.c
354
switch (c) {
games/backgammon/backgammon/main.c
94
char c; /* non-descript character storage */
games/backgammon/common_source/check.c
103
c = -1;
games/backgammon/common_source/check.c
46
int i, c;
games/backgammon/common_source/check.c
48
c = 0;
games/backgammon/common_source/check.c
50
i = checkmove(mm, c);
games/backgammon/common_source/fancy.c
263
int i, r, c;
games/backgammon/common_source/fancy.c
266
c = curc;
games/backgammon/common_source/fancy.c
306
curmove(r, c); /* return to saved position */
games/backgammon/common_source/fancy.c
312
fixpos(int cur, int new, int r, int c, int inc)
games/backgammon/common_source/fancy.c
327
nc = c + 2;
games/backgammon/common_source/fancy.c
329
nc = c < 54 ? c : c + 1;
games/backgammon/common_source/fancy.c
331
nc = c < 54 ? c + 1 : c;
games/backgammon/common_source/fancy.c
340
if (c < 54) {
games/backgammon/common_source/fancy.c
343
fixcol(r, c, abs(nv - 5), col,
games/backgammon/common_source/fancy.c
347
c + 1, abs(ov - 5),
games/backgammon/common_source/fancy.c
350
fixcol(r, c, abs(ov - 5), ' ',
games/backgammon/common_source/fancy.c
354
c + 1, abs(nv - 5),
games/backgammon/common_source/fancy.c
361
fixcol(r + inc * (ov - 5), c,
games/backgammon/common_source/fancy.c
363
fixcol(r, c + 2, abs(nv - 10), col,
games/backgammon/common_source/fancy.c
367
fixcol(r + inc * (nv - 5), c,
games/backgammon/common_source/fancy.c
369
fixcol(r, c + 2, abs(ov - 10), ' ',
games/backgammon/common_source/fancy.c
375
fixcol(r + inc * (ov % 5), c + o,
games/backgammon/common_source/fancy.c
378
fixcol(r, c + n, abs(5 * n - nv),
games/backgammon/common_source/fancy.c
381
fixcol(r + inc * (nv % 5), c + n,
games/backgammon/common_source/fancy.c
384
fixcol(r, c + o, abs(5 * o - ov),
games/backgammon/common_source/fancy.c
391
fixcol(r, c + 1, nv, new > 0 ? 'r' : 'w', inc);
games/backgammon/common_source/fancy.c
394
fixcol(r + inc * new, c + 1, abs(cur + new), ' ', inc);
games/backgammon/common_source/fancy.c
398
fixcol(int r, int c, int l, int ch, int inc)
games/backgammon/common_source/fancy.c
402
curmove(r, c);
games/backgammon/common_source/fancy.c
411
curmove(int r, int c)
games/backgammon/common_source/fancy.c
413
if (curr == r && curc == c)
games/backgammon/common_source/fancy.c
420
curc = c;
games/backgammon/common_source/fancy.c
427
int c; /* destination column */
games/backgammon/common_source/fancy.c
441
c = curc;
games/backgammon/common_source/fancy.c
446
if (curr == r && curc == c) {
games/backgammon/common_source/fancy.c
452
m = (char *) tgoto(CM, c, r);
games/backgammon/common_source/fancy.c
456
if (HO && (n = r + c * lND + lHO) < ccount) {
games/backgammon/common_source/fancy.c
463
if ((n = (r - curr) + c * lND + 1) < ccount) {
games/backgammon/common_source/fancy.c
468
if (c >= curc && (n = (r - curr) + (c - curc) * lND) < ccount) {
games/backgammon/common_source/fancy.c
473
if (c < curc && (n = (r - curr) + (curc - c) * lBC) < ccount) {
games/backgammon/common_source/fancy.c
481
if ((n = (curr - r) * lUP + c * lND + 1) < ccount) {
games/backgammon/common_source/fancy.c
486
if (c >= curc &&
games/backgammon/common_source/fancy.c
487
(n = (curr - r) * lUP + (c - curc) * lND) < ccount) {
games/backgammon/common_source/fancy.c
492
if (c < curc &&
games/backgammon/common_source/fancy.c
493
(n = (curr - r) * lUP + (curc - c) * lBC) < ccount) {
games/backgammon/common_source/fancy.c
499
if (curr == r && c > curc && linect[r] < curc && c - curc < ccount)
games/backgammon/common_source/fancy.c
519
for (i = 0; i < c; i++)
games/backgammon/common_source/fancy.c
528
for (i = 0; i < c; i++)
games/backgammon/common_source/fancy.c
536
for (i = 0; i < c - curc; i++)
games/backgammon/common_source/fancy.c
544
for (i = 0; i < curc - c; i++)
games/backgammon/common_source/fancy.c
553
for (i = 0; i < c; i++)
games/backgammon/common_source/fancy.c
561
for (i = 0; i < c - curc; i++)
games/backgammon/common_source/fancy.c
569
for (i = 0; i < curc - c; i++) {
games/backgammon/common_source/fancy.c
579
for (i = 0; i < c - curc; i++)
games/backgammon/common_source/fancy.c
585
curc = c;
games/backgammon/common_source/fancy.c
609
fancyc(int c)
games/backgammon/common_source/fancy.c
613
if (c == '\007') { /* bells go in blindly */
games/backgammon/common_source/fancy.c
614
addbuf(c);
games/backgammon/common_source/fancy.c
620
if (c == '\t') {
games/backgammon/common_source/fancy.c
632
if (c == '\n') {
games/backgammon/common_source/fancy.c
637
if (c < ' ')
games/backgammon/common_source/fancy.c
643
if (c > ' ' || linect[curr] >= curc) {
games/backgammon/common_source/fancy.c
645
addbuf(c); /* add character to buffer */
games/backgammon/common_source/fancy.c
647
if (c == ' ' && linect[curr] == curc)
games/backgammon/common_source/fancy.c
682
int c;
games/backgammon/common_source/fancy.c
691
c = curc - 1;
games/backgammon/common_source/fancy.c
692
while (linect[curr] > c) {
games/backgammon/common_source/fancy.c
697
curmove(curr, c + 1);
games/backgammon/common_source/odds.c
82
canhit(int i, int c)
games/backgammon/common_source/odds.c
87
if (c == 0)
games/backgammon/common_source/save.c
172
const char *c;
games/backgammon/common_source/save.c
176
c = s;
games/backgammon/common_source/save.c
177
while (*c != '\0')
games/backgammon/common_source/save.c
178
writec(*c++);
games/backgammon/common_source/subs.c
101
return (c);
games/backgammon/common_source/subs.c
102
if (c == '\014')
games/backgammon/common_source/subs.c
104
if (c >= 'a' && c <= 'z')
games/backgammon/common_source/subs.c
105
return (c & 0137);
games/backgammon/common_source/subs.c
106
return (c);
games/backgammon/common_source/subs.c
110
writec(int c)
games/backgammon/common_source/subs.c
113
fancyc(c);
games/backgammon/common_source/subs.c
115
addbuf(c);
games/backgammon/common_source/subs.c
177
int r, c;
games/backgammon/common_source/subs.c
179
r = c = 0;
games/backgammon/common_source/subs.c
182
c = curc;
games/backgammon/common_source/subs.c
213
curmove(r, c);
games/backgammon/common_source/subs.c
242
char c;
games/backgammon/common_source/subs.c
246
while ((c = readc()) != 'Y' && c != 'N') {
games/backgammon/common_source/subs.c
247
if (special && c == special)
games/backgammon/common_source/subs.c
260
if (c == 'Y')
games/backgammon/common_source/subs.c
266
return (c == 'Y');
games/backgammon/common_source/subs.c
281
int c;
games/backgammon/common_source/subs.c
284
c = cturn / abs(cturn);
games/backgammon/common_source/subs.c
287
offptr += c;
games/backgammon/common_source/subs.c
288
offopp -= c;
games/backgammon/common_source/subs.c
289
inptr += c;
games/backgammon/common_source/subs.c
290
inopp -= c;
games/backgammon/common_source/subs.c
291
Colorptr += c;
games/backgammon/common_source/subs.c
292
colorptr += c;
games/backgammon/common_source/subs.c
441
char c;
games/backgammon/common_source/subs.c
454
c = readc();
games/backgammon/common_source/subs.c
455
if (c != '\n') {
games/backgammon/common_source/subs.c
456
while (c < '1' || c > '6')
games/backgammon/common_source/subs.c
457
c = readc();
games/backgammon/common_source/subs.c
458
mm->D0 = c - '0';
games/backgammon/common_source/subs.c
460
writec(c);
games/backgammon/common_source/subs.c
461
c = readc();
games/backgammon/common_source/subs.c
462
while (c < '1' || c > '6')
games/backgammon/common_source/subs.c
463
c = readc();
games/backgammon/common_source/subs.c
464
mm->D1 = c - '0';
games/backgammon/common_source/subs.c
466
writec(c);
games/backgammon/common_source/subs.c
59
addbuf(int c)
games/backgammon/common_source/subs.c
67
outbuff[buffnum] = c;
games/backgammon/common_source/subs.c
85
char c;
games/backgammon/common_source/subs.c
92
if (read(0, &c, 1) != 1)
games/backgammon/common_source/subs.c
95
if (c == '\177')
games/backgammon/common_source/subs.c
98
if (c == '\033' || c == '\015')
games/backgammon/common_source/table.c
104
c = readc();
games/backgammon/common_source/table.c
106
if (c == 'S') {
games/backgammon/common_source/table.c
119
if (c == old.c_cc[VERASE] && ncin > 0) {
games/backgammon/common_source/table.c
139
if (c == old.c_cc[VKILL] && ncin > 0) {
games/backgammon/common_source/table.c
159
n = dotable(mm, c, ist);
games/backgammon/common_source/table.c
161
cin[ncin++] = c;
games/backgammon/common_source/table.c
163
if ((!tflag) || c != '\n')
games/backgammon/common_source/table.c
164
writec(c);
games/backgammon/common_source/table.c
203
dotable(struct move *mm, int c, int i)
games/backgammon/common_source/table.c
208
test = (c == 'R');
games/backgammon/common_source/table.c
211
if (a == c || (test && a == '\n')) {
games/backgammon/common_source/table.c
226
mm->p[mvl] = c - '0';
games/backgammon/common_source/table.c
228
mm->p[mvl] = mm->p[mvl] * 10 + c - '0';
games/backgammon/common_source/table.c
237
mm->g[mvl] = mm->p[mvl] + cturn * (c - '0');
games/backgammon/common_source/table.c
246
mm->g[mvl] = c - '0';
games/backgammon/common_source/table.c
248
mm->g[mvl] = mm->g[mvl] * 10 + c - '0';
games/backgammon/common_source/table.c
89
char c;
games/backgammon/teachgammon/ttext2.c
134
const char *c;
games/backgammon/teachgammon/ttext2.c
141
c = a;
games/backgammon/teachgammon/ttext2.c
142
for (i = 0; *(c++) != '\0'; i--);
games/backgammon/teachgammon/tutor.c
138
int r, c, j;
games/backgammon/teachgammon/tutor.c
141
c = curc;
games/backgammon/teachgammon/tutor.c
146
curmove(r, c);
games/battlestar/fly.c
188
int r, c, n;
games/battlestar/fly.c
195
c = rnd(COLS);
games/battlestar/fly.c
196
mvaddch(r, c, '.');
games/battlestar/room.c
48
int c;
games/battlestar/room.c
53
for (p = location[position].desc; (c = *p++) != 0;)
games/battlestar/room.c
54
if (c != '-' && c != '*' && c != '+') {
games/battlestar/room.c
55
if (c == '=')
games/battlestar/room.c
58
putchar(c);
games/battlestar/room.c
60
if (c != '*')
games/battlestar/room.c
61
printf("%s", truedirec(compass, c));
games/boggle/boggle/mach.c
401
int c, col, found, i, r, row;
games/boggle/boggle/mach.c
404
getyx(stdscr, r, c);
games/boggle/boggle/mach.c
425
move(r, c);
games/boggle/boggle/mach.c
430
move(r, c);
games/boggle/boggle/mach.c
446
move(r, c);
games/boggle/boggle/mach.c
463
move(r, c);
games/boggle/boggle/prtable.c
70
int c, j;
games/boggle/boggle/prtable.c
85
b = c = z = loc = 0;
games/boggle/boggle/prtable.c
87
c++;
games/boggle/boggle/prtable.c
88
if (c >= a + b)
games/boggle/boggle/prtable.c
97
c++;
games/boggle/boggle/prtable.c
98
if (c >= a + b)
games/cgram/cgram.c
278
int c = (int)(random() % i);
games/cgram/cgram.c
280
key[i - 1] = key[c];
games/cgram/cgram.c
281
key[c] = t;
games/ching/castching/castching.c
100
while ((c = getchar()) != EOF)
games/ching/castching/castching.c
101
result += c;
games/ching/castching/castching.c
97
int c;
games/cribbage/cards.c
133
CARD c;
games/cribbage/cards.c
139
c = *h;
games/cribbage/cards.c
141
*cp = c;
games/cribbage/cards.c
77
CARD c;
games/cribbage/cards.c
81
c = d[j - 1]; /* exchange (j - 1) and k */
games/cribbage/cards.c
83
d[k] = c;
games/cribbage/deck.h
69
#define VAL(c) ( (c) < 9 ? (c)+1 : 10 ) /* val of rank */
games/cribbage/io.c
102
msgcrd(CARD c, BOOLEAN brfrank, const char *mid, BOOLEAN brfsuit)
games/cribbage/io.c
104
if (c.rank == EMPTY || c.suit == EMPTY)
games/cribbage/io.c
107
addmsg("%1.1s", rankchar[c.rank]);
games/cribbage/io.c
109
addmsg("%s", rankname[c.rank]);
games/cribbage/io.c
113
addmsg("%1.1s", suitchar[c.suit]);
games/cribbage/io.c
115
addmsg("%s", suitname[c.suit]);
games/cribbage/io.c
124
printcard(WINDOW *win, unsigned cardno, CARD c, BOOLEAN blank)
games/cribbage/io.c
126
prcard(win, cardno * 2, cardno, c, blank);
games/cribbage/io.c
134
prcard(WINDOW *win, int y, int x, CARD c, BOOLEAN blank)
games/cribbage/io.c
136
if (c.rank == EMPTY)
games/cribbage/io.c
145
mvwaddch(win, y + 1, x + 1, rankchar[c.rank][0]);
games/cribbage/io.c
146
waddch(win, suitchar[c.suit][0]);
games/cribbage/io.c
147
mvwaddch(win, y + 3, x + 4, rankchar[c.rank][0]);
games/cribbage/io.c
148
waddch(win, suitchar[c.suit][0]);
games/cribbage/io.c
312
int c;
games/cribbage/io.c
314
c = readchar();
games/cribbage/io.c
315
if (islower(c))
games/cribbage/io.c
316
c = toupper(c);
games/cribbage/io.c
317
waddch(Msgwin, c);
games/cribbage/io.c
318
return (c);
games/cribbage/io.c
477
int c;
games/cribbage/io.c
480
while ((c = readchar()) != '\n')
games/cribbage/io.c
495
unsigned char c;
games/cribbage/io.c
499
while (read(STDIN_FILENO, &c, sizeof(unsigned char)) <= 0)
games/cribbage/io.c
504
if (c == CTRL('L')) {
games/cribbage/io.c
508
if (c == '\r')
games/cribbage/io.c
511
return (c);
games/cribbage/io.c
523
int c, oy, ox;
games/cribbage/io.c
531
for (pos = 0; (c = readchar()) != '\n'; clrtoeol(), refresh()) {
games/cribbage/io.c
532
if (c == erasechar()) { /* process erase character */
games/cribbage/io.c
542
if (c == killchar()) { /* process kill
games/cribbage/io.c
548
if (pos == 0 && c == ' ')
games/cribbage/io.c
550
if (pos >= LINESIZE - 1 || !(isprint(c) || c == ' '))
games/cribbage/io.c
553
if (islower(c))
games/cribbage/io.c
554
c = toupper(c);
games/cribbage/io.c
555
linebuf[pos++] = c;
games/cribbage/io.c
556
addstr(unctrl(c));
games/cribbage/io.c
89
msgcard(CARD c, BOOLEAN brief)
games/cribbage/io.c
92
return (msgcrd(c, TRUE, NULL, TRUE));
games/cribbage/io.c
94
return (msgcrd(c, FALSE, " of ", FALSE));
games/dab/algor.cc
44
ALGOR::ALGOR(const char c) : PLAYER(c)
games/dab/algor.h
46
ALGOR(const char c);
games/dab/board.cc
107
int BOARD::domove(size_t y, size_t x, int dir, char c)
games/dab/board.cc
125
box1.name() = c;
games/dab/board.cc
138
box2.name() = c;
games/dab/board.h
60
int domove(size_t y, size_t x, int dir, char c); // Play move
games/dab/human.cc
48
HUMAN::HUMAN(const char c) :
games/dab/human.cc
49
PLAYER(c),
games/dab/human.h
45
HUMAN(const char c);
games/dab/main.cc
106
int c;
games/dab/main.cc
109
while ((c = getopt(argc, argv, "awp:n:")) != -1)
games/dab/main.cc
110
switch (c) {
games/fish/fish.c
435
int input, c;
games/fish/fish.c
442
input = c = getchar();
games/fish/fish.c
443
while (c != '\n') {
games/fish/fish.c
444
c = getchar();
games/fish/fish.c
445
if (c == EOF) {
games/fortune/strfile/strfile.c
467
unsigned char c[8];
games/fortune/strfile/strfile.c
470
c[i] = off & 0xff;
games/fortune/strfile/strfile.c
473
fwrite(c, sizeof(c), 1, f);
games/fortune/strfile/strfile.c
479
unsigned char c[4];
games/fortune/strfile/strfile.c
482
c[0] = (h >> 24) & 0xff;
games/fortune/strfile/strfile.c
483
c[1] = (h >> 16) & 0xff;
games/fortune/strfile/strfile.c
484
c[2] = (h >> 8) & 0xff;
games/fortune/strfile/strfile.c
485
c[3] = (h >> 0) & 0xff;
games/fortune/strfile/strfile.c
486
memcpy(&rv, c, sizeof rv);
games/gomoku/bdisp.c
175
char c;
games/gomoku/bdisp.c
178
c = '+';
games/gomoku/bdisp.c
180
c = '-';
games/gomoku/bdisp.c
182
c = '.';
games/gomoku/bdisp.c
184
c = pcolor[sp->s_occ];
games/gomoku/bdisp.c
189
addch(c);
games/gomoku/bdisp.c
192
addch(c);
games/gomoku/bdisp.c
205
int c;
games/gomoku/bdisp.c
218
c = '+';
games/gomoku/bdisp.c
220
c = '-';
games/gomoku/bdisp.c
222
c = '.';
games/gomoku/bdisp.c
224
c = pcolor[sp->s_occ];
games/gomoku/bdisp.c
225
putc(c, fp);
games/gomoku/bdisp.c
286
int c;
games/gomoku/bdisp.c
290
while ((c = getchar()) != EOF && c != '\n' && c != '\r') {
games/gomoku/bdisp.c
292
*cp++ = c;
games/gomoku/bdisp.c
298
switch (c) {
games/gomoku/bdisp.c
316
*cp++ = c;
games/gomoku/bdisp.c
317
addch(c);
games/gomoku/bdisp.c
328
return c != EOF;
games/gomoku/gomoku.h
139
} c;
games/gomoku/gomoku.h
142
#define cv_force c.a /* # moves to complete force */
games/gomoku/gomoku.h
143
#define cv_win c.b /* # moves to win */
games/gomoku/main.c
403
int c;
games/gomoku/main.c
408
while ((c = getc(fp)) != EOF && c != '\n' && pos < sizeof(buf) - 1)
games/gomoku/main.c
409
buf[pos++] = c;
games/gomoku/main.c
411
return c == EOF ? END_OF_INPUT : ctos(buf);
games/gomoku/pickmove.c
481
int c = fcb.cv_force + ocb.cv_force - 3;
games/gomoku/pickmove.c
482
if (c > 4)
games/gomoku/pickmove.c
504
ncbp->c_combo.cv_force = c;
games/gomoku/pickmove.c
526
if ((c == 1 && debug > 1) || debug > 3) {
games/gomoku/pickmove.c
536
if (c > 1) {
games/gomoku/pickmove.c
548
if ((c == 1 && debug > 1) || debug > 5) {
games/gomoku/pickmove.c
576
player_color c = curcolor;
games/gomoku/pickmove.c
581
if (cbp->c_combo.s <= sp->s_combo[c].s) {
games/gomoku/pickmove.c
582
if (cbp->c_combo.s != sp->s_combo[c].s) {
games/gomoku/pickmove.c
583
sp->s_combo[c].s = cbp->c_combo.s;
games/gomoku/pickmove.c
584
sp->s_level[c] = cbp->c_nframes;
games/gomoku/pickmove.c
585
} else if (cbp->c_nframes < sp->s_level[c])
games/gomoku/pickmove.c
586
sp->s_level[c] = cbp->c_nframes;
games/gomoku/pickmove.c
716
int c = cbp->c_combo.cv_force + ocb.cv_force - verts - 3;
games/gomoku/pickmove.c
717
if (c > 4)
games/gomoku/pickmove.c
737
ncbp->c_combo.cv_force = c;
games/gomoku/pickmove.c
771
if ((c == 1 && debug > 1) || debug > 3) {
games/gomoku/pickmove.c
780
if (c > 1) {
games/gomoku/pickmove.c
789
if ((c == 1 && debug > 1) || debug > 4) {
games/hack/hack.c
458
char c;
games/hack/hack.c
461
while (!strchr("ynaq ", (c = readchar())))
games/hack/hack.c
463
if (c == 'q')
games/hack/hack.c
465
if (c == 'n')
games/hack/hack.c
467
if (c == 'a')
games/hack/hack.do_name.c
101
visctrl(c),
games/hack/hack.do_name.c
366
visctrl(int c)
games/hack/hack.do_name.c
369
if (c < 040) {
games/hack/hack.do_name.c
371
ccc[1] = c + 0100;
games/hack/hack.do_name.c
374
ccc[0] = c;
games/hack/hack.do_name.c
81
int cx, cy, i, c;
games/hack/hack.do_name.c
87
while ((c = readchar()) != '.') {
games/hack/hack.do_name.c
89
if (sdir[i] == c) {
games/hack/hack.do_name.c
96
if (c == '?') {
games/hack/hack.end.c
669
charcat(char *s, int c)
games/hack/hack.end.c
673
*s++ = c;
games/hack/hack.invent.c
1020
digit(int c)
games/hack/hack.invent.c
1022
return (c >= '0' && c <= '9');
games/hack/hack.invent.c
763
char c, ilet;
games/hack/hack.invent.c
796
c = readchar();
games/hack/hack.invent.c
797
if (strchr(quitchars, c))
games/hack/hack.invent.c
800
c = stuff[0];
games/hack/hack.invent.c
802
if (c == '$')
games/hack/hack.invent.c
805
if (c == 'x' || c == 'X') {
games/hack/hack.invent.c
812
if ((c == 'u' || c == 'U') && !unpd) {
games/hack/hack.invent.c
821
if (c == otmp->olet || (c == 'u' && otmp->unpaid))
games/hack/hack.main.c
501
int c, ct;
games/hack/hack.main.c
505
while ((c = getchar()) != '\n') {
games/hack/hack.main.c
506
if (c == EOF)
games/hack/hack.main.c
509
if (c == '\010') {
games/hack/hack.main.c
514
if (c != '-')
games/hack/hack.main.c
515
if (c < 'A' || (c > 'Z' && c < 'a') || c > 'z')
games/hack/hack.main.c
516
c = '_';
games/hack/hack.main.c
518
plname[ct++] = c;
games/hack/hack.mkobj.c
193
letter(int c)
games/hack/hack.mkobj.c
195
return (('@' <= c && c <= 'Z') || ('a' <= c && c <= 'z'));
games/hack/hack.pager.c
358
char c;
games/hack/hack.pager.c
361
while (((c = readchar()) != 'l') && (c != 's') && !strchr(quitchars, c))
games/hack/hack.pager.c
363
if (!strchr(quitchars, c))
games/hack/hack.pager.c
364
(void) page_file((c == 'l') ? HELP : SHELP, FALSE);
games/hack/hack.terminfo.c
113
xputc(int c)
games/hack/hack.terminfo.c
115
return (fputc(c, stdout));
games/hack/hack.topl.c
288
char c = c1; /* XXX this hack prevents .o diffs -- remove later */
games/hack/hack.topl.c
290
switch (c) {
games/hack/hack.topl.c
306
(void) putchar(c);
games/hack/hack.tty.c
226
int c;
games/hack/hack.tty.c
231
if ((c = getchar()) == EOF) {
games/hack/hack.tty.c
235
if (c == '\033') {
games/hack/hack.tty.c
236
*obufp = c;
games/hack/hack.tty.c
240
if (c == erase_char || c == '\b') {
games/hack/hack.tty.c
246
} else if (c == '\n') {
games/hack/hack.tty.c
249
} else if (' ' <= c && c < '\177') {
games/hack/hack.tty.c
254
*bufp = c;
games/hack/hack.tty.c
259
} else if (c == kill_char || c == '\177') { /* Robert Viduya */
games/hack/hack.tty.c
296
int c;
games/hack/hack.tty.c
300
while ((c = readchar()) != '\n') {
games/hack/hack.tty.c
302
if (c == ' ')
games/hack/hack.tty.c
304
if (s && strchr(s, c)) {
games/hack/hack.tty.c
305
morc = c;
games/hunt/hunt/hunt.c
135
int c;
games/hunt/hunt/hunt.c
141
while ((c = getopt(ac, av, "Sbcfh:l:mn:op:qst:w:")) != -1) {
games/hunt/hunt/hunt.c
142
switch (c) {
games/hunt/hunt/hunt.c
376
int i, c;
games/hunt/hunt/hunt.c
415
c = getchar();
games/hunt/hunt/hunt.c
416
if (c == EOF) {
games/hunt/hunt/hunt.c
419
if (islower((unsigned char)c) && c - 'a' < i) {
games/hunt/hunt/hunt.c
426
host = serverlist_gethost(c - 'a', &hostlen);
games/hunt/hunt/otto.c
230
stop_look(struct item *itemp, char c, int dist, int side)
games/hunt/hunt/otto.c
232
switch (c) {
games/hunt/hunt/otto.c
247
itemp->what = c;
games/hunt/hunt/otto.c
266
itemp->what = c;
games/hunt/hunt/otto.c
280
itemp->what = c;
games/hunt/hunt/otto.c
294
itemp->what = c;
games/hunt/hunt/otto.c
303
int r, c;
games/hunt/hunt/otto.c
317
for (c = col - 1; c < col + 2; c++) {
games/hunt/hunt/otto.c
318
ch = SCREEN(r, c);
games/hunt/hunt/otto.c
319
if (stop_look(itemp, ch, row - r, c - col))
games/hunt/hunt/otto.c
321
if (c == col && !been_there[r][c])
games/hunt/hunt/otto.c
338
for (c = col - 1; c < col + 2; c++) {
games/hunt/hunt/otto.c
339
ch = SCREEN(r, c);
games/hunt/hunt/otto.c
340
if (stop_look(itemp, ch, r - row, col - c))
games/hunt/hunt/otto.c
342
if (c == col && !been_there[r][c])
games/hunt/hunt/otto.c
358
for (c = col - 1; c >= 0; c--)
games/hunt/hunt/otto.c
360
ch = SCREEN(r, c);
games/hunt/hunt/otto.c
361
if (stop_look(itemp, ch, col - c, row - r))
games/hunt/hunt/otto.c
363
if (r == row && !been_there[r][c])
games/hunt/hunt/otto.c
370
for (c = col - 1; c > col - itemp->distance; c--)
games/hunt/hunt/otto.c
371
been_there[row][c] = ALLDIRS;
games/hunt/hunt/otto.c
378
for (c = col + 1; c < WIDTH; c++)
games/hunt/hunt/otto.c
380
ch = SCREEN(r, c);
games/hunt/hunt/otto.c
381
if (stop_look(itemp, ch, c - col, r - row))
games/hunt/hunt/otto.c
383
if (r == row && !been_there[r][c])
games/hunt/hunt/otto.c
390
for (c = col + 1; c < col + itemp->distance; c++)
games/hunt/hunt/otto.c
391
been_there[row][c] = ALLDIRS;
games/hunt/hunt/playit.c
327
char *cp, c;
games/hunt/hunt/playit.c
330
c = ch; /* save how we got here */
games/hunt/hunt/playit.c
368
return (c == 'w') ? old_status : Q_MESSAGE;
games/hunt/huntd/draw.c
293
char c;
games/hunt/huntd/draw.c
296
c = stat_char(pp);
games/hunt/huntd/draw.c
300
outch(np, c);
games/hunt/huntd/draw.c
305
outch(np, c);
games/hunt/huntd/driver.c
212
int c, i;
games/hunt/huntd/driver.c
215
while ((c = getopt(ac, av, "sp:")) != -1) {
games/hunt/huntd/driver.c
216
switch (c) {
games/hunt/huntd/expl.c
116
char c;
games/hunt/huntd/expl.c
124
c = Maze[y][x];
games/hunt/huntd/expl.c
126
c = SPACE;
games/hunt/huntd/expl.c
129
pp->p_maze[y][x] = c;
games/hunt/huntd/expl.c
131
outch(pp, c);
games/hunt/include/hunt_common.h
160
#define isplayer(c) (c == LEFTS || c == RIGHT ||\
games/hunt/include/hunt_common.h
161
c == ABOVE || c == BELOW || c == FLYER)
games/hunt/include/hunt_common.h
163
#define isplayer(c) (c == LEFTS || c == RIGHT ||\
games/hunt/include/hunt_common.h
164
c == ABOVE || c == BELOW)
games/larn/action.c
151
c[AGGRAVATE] += 2500;
games/larn/action.c
175
amt = readnum((long) c[GOLD]);
games/larn/action.c
176
if (amt < 0 || c[GOLD] < amt) {
games/larn/action.c
180
c[GOLD] -= amt;
games/larn/action.c
181
if (amt < c[GOLD] / 10 || amt < rnd(50)) {
games/larn/action.c
183
c[AGGRAVATE] += 200;
games/larn/action.c
188
if (c[WEAR])
games/larn/action.c
193
if (c[WIELD])
games/larn/action.c
217
if (c[WEAR])
games/larn/action.c
222
if (c[WIELD])
games/larn/action.c
237
if (c[ALTPRO] == 0)
games/larn/action.c
238
c[MOREDEFENSES] += 3;
games/larn/action.c
239
c[ALTPRO] += 500; /* protection field */
games/larn/action.c
253
c[AGGRAVATE] += rnd(450);
games/larn/action.c
280
c[ITCHING] += rnd(1000) + 100;
games/larn/action.c
286
c[CLUMSINESS] += rnd(1600) + 200;
games/larn/action.c
292
c[HALFDAM] += rnd(1600) + 200;
games/larn/action.c
98
c[HALFDAM] += 200 + rnd(200);
games/larn/bill.c
142
(long) c[GOLD]);
games/larn/bill.c
147
(long) c[GOLD] * TAXRATE);
games/larn/create.c
37
c[HPMAX] = c[HP] = 10; /* start player off with 15 hit points */
games/larn/create.c
371
if (c[HARDGAME] < 2)
games/larn/create.c
38
c[LEVEL] = 1; /* player starts at level one */
games/larn/create.c
39
c[SPELLMAX] = c[SPELLS] = 1; /* total # spells starts off as 3 */
games/larn/create.c
40
c[REGENCOUNTER] = 16;
games/larn/create.c
41
c[ECOUNTER] = 96; /* start regeneration correctly */
games/larn/create.c
42
c[SHIELD] = c[WEAR] = c[WIELD] = -1;
games/larn/create.c
46
if (c[HARDGAME] <= 0) {
games/larn/create.c
469
if (c[BESSMANN] == 0) {
games/larn/create.c
471
c[BESSMANN] = 1;
games/larn/create.c
473
if (c[HARDGAME] < 3 || (rnd(4) == 3)) {
games/larn/create.c
49
ivenarg[1] = ivenarg[0] = c[WEAR] = 0;
games/larn/create.c
50
c[WIELD] = 1;
games/larn/create.c
521
c[FILLROOM]++;
games/larn/create.c
529
c[RANDOMWALK]++;/* count up these random walks */
games/larn/create.c
582
c[TELEFLAG] = 0;
games/larn/create.c
59
c[i] = 12; /* make the attributes, ie str, int, etc. */
games/larn/data.c
170
long c[100], cbak[100]; /* the character description arrays */
games/larn/diag.c
112
lprintf("%5ld ", (long) c[i + j]);
games/larn/diag.c
201
c[CPUTIME] += (cputime.tms_utime + cputime.tms_stime) / 60;
games/larn/diag.c
202
lwrite((char *) &c[0], 100 * sizeof(long));
games/larn/diag.c
256
c[GOLD] = c[BANKACCOUNT] = 0;
games/larn/diag.c
265
lrfill((char *) &c[0], 100 * sizeof(long));
games/larn/diag.c
267
level = c[CAVELEVEL] = lgetc();
games/larn/diag.c
288
c[GOLD] = c[BANKACCOUNT] = 0;
games/larn/diag.c
294
for (sp = 0, i = 0; i < c[SPHCAST]; i++) {
games/larn/diag.c
320
if (c[HP] < 0) {
games/larn/diag.c
342
if (c[k] > 99)
games/larn/diag.c
344
if (c[HPMAX] > 999 || c[SPELLMAX] > 125)
games/larn/diag.c
346
if (c[LEVEL] == 25 && c[EXPERIENCE] > skill[24]) { /* if patch up lev 25
games/larn/diag.c
349
tmp = c[EXPERIENCE] - skill[24]; /* amount to go up */
games/larn/diag.c
350
c[EXPERIENCE] = skill[24];
games/larn/diag.c
373
c[GOLD] = c[BANKACCOUNT] = 0;
games/larn/diag.c
408
c[GOLD] = c[BANKACCOUNT] = 0;
games/larn/diag.c
50
lprintf("\n\nPlayer attributes:\n\nHit points: %2ld(%2ld)", (long) c[HP], (long) c[HPMAX]);
games/larn/diag.c
52
(long) c[GOLD], (long) c[EXPERIENCE], (long) c[LEVEL], (long) level);
games/larn/diag.c
85
dam = 16 - c[HARDGAME];
games/larn/display.c
101
if (c[SPELLMAX] > 99)
games/larn/display.c
110
if (c[LEVEL] != cbak[LEVEL]) {
games/larn/display.c
112
lprcat(class[c[LEVEL] - 1]);
games/larn/display.c
114
if (c[LEVEL] > 99)
games/larn/display.c
118
c[TMP] = c[STRENGTH] + c[STREXTRA];
games/larn/display.c
125
if ((level != cbak[CAVELEVEL]) || (c[TELEFLAG] != cbak[TELEFLAG])) {
games/larn/display.c
127
c[TELEFLAG] = 0;
games/larn/display.c
128
cbak[TELEFLAG] = c[TELEFLAG];
games/larn/display.c
131
if (c[TELEFLAG])
games/larn/display.c
158
if (c[EXPERIENCE] != cbak[EXPERIENCE]) {
games/larn/display.c
208
if ((always) || (c[idx] != cbak[idx])) {
games/larn/display.c
210
if (c[idx]) {
games/larn/display.c
214
} else if (c[idx] == 0) {
games/larn/display.c
218
cbak[idx] = c[idx];
games/larn/display.c
231
if (c[idx] != cbak[idx]) {
games/larn/display.c
232
cbak[idx] = c[idx];
games/larn/display.c
234
lprintf(str, (long) c[idx]);
games/larn/display.c
268
if (c[idx]) {
games/larn/display.c
272
cbak[idx] = c[idx];
games/larn/display.c
381
if (c[BLINDCOUNT])
games/larn/display.c
383
if (c[AWARENESS]) {
games/larn/display.c
444
if (c[BLINDCOUNT])
games/larn/display.c
502
if (c[CONFUSE])
games/larn/display.c
503
if (c[LEVEL] < rnd(30))
games/larn/display.c
513
if (i == OWALL && c[WTW] == 0) {
games/larn/display.c
71
if (c[SPELLMAX] > 99)
games/larn/display.c
72
lprintf("Spells:%3ld(%3ld)", (long) c[SPELLS], (long) c[SPELLMAX]);
games/larn/display.c
74
lprintf("Spells:%3ld(%2ld) ", (long) c[SPELLS], (long) c[SPELLMAX]);
games/larn/display.c
75
lprintf(" AC: %-3ld WC: %-3ld Level", (long) c[AC], (long) c[WCLASS]);
games/larn/display.c
76
if (c[LEVEL] > 99)
games/larn/display.c
77
lprintf("%3ld", (long) c[LEVEL]);
games/larn/display.c
79
lprintf(" %-2ld", (long) c[LEVEL]);
games/larn/display.c
80
lprintf(" Exp: %-9ld %s\n", (long) c[EXPERIENCE], class[c[LEVEL] - 1]);
games/larn/display.c
82
(long) c[HP], (long) c[HPMAX], (long) (c[STRENGTH] + c[STREXTRA]), (long) c[INTELLIGENCE]);
games/larn/display.c
84
(long) c[WISDOM], (long) c[CONSTITUTION], (long) c[DEXTERITY], (long) c[CHARISMA]);
games/larn/display.c
87
c[TELEFLAG] = 0;
games/larn/display.c
88
if (c[TELEFLAG])
games/larn/display.c
92
lprintf(" Gold: %-6ld", (long) c[GOLD]);
games/larn/display.c
95
c[TMP] = c[STRENGTH] + c[STREXTRA];
games/larn/display.c
97
cbak[i] = c[i];
games/larn/global.c
100
c[EXPERIENCE] -= x;
games/larn/global.c
101
if (c[EXPERIENCE] < 0)
games/larn/global.c
102
c[EXPERIENCE] = 0;
games/larn/global.c
103
while (c[EXPERIENCE] < skill[c[LEVEL] - 1]) {
games/larn/global.c
104
if (--c[LEVEL] <= 1)
games/larn/global.c
105
c[LEVEL] = 1; /* down one level */
games/larn/global.c
106
tmp = (c[CONSTITUTION] - c[HARDGAME]) >> 1; /* lose hpoints */
games/larn/global.c
108
if (c[LEVEL] < 7 - c[HARDGAME])
games/larn/global.c
109
losemhp((int) (c[CONSTITUTION] >> 2));
games/larn/global.c
112
if (i != c[LEVEL]) {
games/larn/global.c
115
lprintf("\nYou went down to level %ld!", (long) c[LEVEL]);
games/larn/global.c
130
if ((c[HP] -= x) <= 0) {
games/larn/global.c
141
c[HP] -= x;
games/larn/global.c
142
if (c[HP] < 1)
games/larn/global.c
143
c[HP] = 1;
games/larn/global.c
144
c[HPMAX] -= x;
games/larn/global.c
145
if (c[HPMAX] < 1)
games/larn/global.c
146
c[HPMAX] = 1;
games/larn/global.c
158
if ((c[HP] += x) > c[HPMAX])
games/larn/global.c
159
c[HP] = c[HPMAX];
games/larn/global.c
165
c[HPMAX] += x;
games/larn/global.c
166
c[HP] += x;
games/larn/global.c
177
c[SPELLMAX] += x;
games/larn/global.c
178
c[SPELLS] += x;
games/larn/global.c
189
if ((c[SPELLMAX] -= x) < 0)
games/larn/global.c
190
c[SPELLMAX] = 0;
games/larn/global.c
191
if ((c[SPELLS] -= x) < 0)
games/larn/global.c
192
c[SPELLS] = 0;
games/larn/global.c
252
c[AC] = c[MOREDEFENSES];
games/larn/global.c
253
if (c[WEAR] >= 0)
games/larn/global.c
254
switch (iven[c[WEAR]]) {
games/larn/global.c
256
c[AC] += 2 + ivenarg[c[WEAR]];
games/larn/global.c
259
c[AC] += 2 + ivenarg[c[WEAR]];
games/larn/global.c
262
c[AC] += 3 + ivenarg[c[WEAR]];
games/larn/global.c
265
c[AC] += 5 + ivenarg[c[WEAR]];
games/larn/global.c
268
c[AC] += 6 + ivenarg[c[WEAR]];
games/larn/global.c
271
c[AC] += 7 + ivenarg[c[WEAR]];
games/larn/global.c
274
c[AC] += 9 + ivenarg[c[WEAR]];
games/larn/global.c
277
c[AC] += 10 + ivenarg[c[WEAR]];
games/larn/global.c
280
c[AC] += 12 + ivenarg[c[WEAR]];
games/larn/global.c
284
if (c[SHIELD] >= 0)
games/larn/global.c
285
if (iven[c[SHIELD]] == OSHIELD)
games/larn/global.c
286
c[AC] += 2 + ivenarg[c[SHIELD]];
games/larn/global.c
287
if (c[WIELD] < 0)
games/larn/global.c
288
c[WCLASS] = 0;
games/larn/global.c
290
i = ivenarg[c[WIELD]];
games/larn/global.c
291
switch (iven[c[WIELD]]) {
games/larn/global.c
293
c[WCLASS] = 3 + i;
games/larn/global.c
296
c[WCLASS] = 7 + i;
games/larn/global.c
299
c[WCLASS] = 8 + i;
games/larn/global.c
302
c[WCLASS] = 10 + i;
games/larn/global.c
305
c[WCLASS] = 14 + i;
games/larn/global.c
308
c[WCLASS] = 17 + i;
games/larn/global.c
311
c[WCLASS] = 19 + i;
games/larn/global.c
314
c[WCLASS] = 22 + i;
games/larn/global.c
317
c[WCLASS] = 26 + i;
games/larn/global.c
320
c[WCLASS] = 32 + i;
games/larn/global.c
323
c[WCLASS] = 30 + i;
games/larn/global.c
326
c[WCLASS] = 35 + i;
games/larn/global.c
329
c[WCLASS] = 0;
games/larn/global.c
332
c[WCLASS] += c[MOREDAM];
games/larn/global.c
335
c[REGEN] = 1;
games/larn/global.c
336
c[ENERGY] = 0;
games/larn/global.c
346
c[AC] += ivenarg[i] + 1;
games/larn/global.c
349
c[WCLASS] += ivenarg[i] + 1;
games/larn/global.c
352
c[WCLASS] += ((ivenarg[i] << 1)) + 2;
games/larn/global.c
356
c[REGEN] += ivenarg[i] + 1;
games/larn/global.c
359
c[REGEN] += 5 * (ivenarg[i] + 1);
games/larn/global.c
362
c[ENERGY] += ivenarg[i] + 1;
games/larn/global.c
425
if ((limit = 15 + (c[LEVEL] >> 1)) > 26)
games/larn/global.c
439
c[DEXTERITY] += ivenarg[i] + 1;
games/larn/global.c
443
c[STREXTRA] += ivenarg[i] + 1;
games/larn/global.c
447
c[INTELLIGENCE] += ivenarg[i] + 1;
games/larn/global.c
451
c[DEXTERITY] += 10;
games/larn/global.c
452
c[STREXTRA] += 10;
games/larn/global.c
453
c[INTELLIGENCE] -= 10;
games/larn/global.c
458
c[SLAYING]++;
games/larn/global.c
461
c[NEGATESPIRIT]++;
games/larn/global.c
464
c[CUBEofUNDEAD]++;
games/larn/global.c
467
c[NOTHEFT]++;
games/larn/global.c
47
if (c[LEVEL] < MAXPLEVEL)
games/larn/global.c
470
c[DEXTERITY] += 5;
games/larn/global.c
48
raiseexperience((long) (skill[c[LEVEL]] - c[EXPERIENCE]));
games/larn/global.c
515
if (c[WIELD] == k)
games/larn/global.c
516
c[WIELD] = -1;
games/larn/global.c
517
if (c[WEAR] == k)
games/larn/global.c
518
c[WEAR] = -1;
games/larn/global.c
519
if (c[SHIELD] == k)
games/larn/global.c
520
c[SHIELD] = -1;
games/larn/global.c
534
if (c[WEAR] < 0) {
games/larn/global.c
535
if (c[SHIELD] < 0) {
games/larn/global.c
541
tmp = iven[c[SHIELD]];
games/larn/global.c
544
ivenarg[c[SHIELD]]++;
games/larn/global.c
549
tmp = iven[c[WEAR]];
games/larn/global.c
552
ivenarg[c[WEAR]]++;
games/larn/global.c
564
if (c[WIELD] < 0) {
games/larn/global.c
570
tmp = iven[c[WIELD]];
games/larn/global.c
573
ivenarg[c[WIELD]]++;
games/larn/global.c
575
c[INTELLIGENCE]++;
games/larn/global.c
577
c[STREXTRA]++;
games/larn/global.c
579
c[DEXTERITY]++;
games/larn/global.c
59
if (c[LEVEL] > 1)
games/larn/global.c
592
if ((limit = 15 + (c[LEVEL] >> 1)) > 26)
games/larn/global.c
60
loseexperience((long) (c[EXPERIENCE] - skill[c[LEVEL] - 1] + 1));
games/larn/global.c
626
if (c[WEAR] != i)
games/larn/global.c
627
if (c[WIELD] != i)
games/larn/global.c
628
if (c[SHIELD] != i) {
games/larn/global.c
649
if (i != c[WIELD])
games/larn/global.c
650
if (i != c[WEAR])
games/larn/global.c
651
if (i != c[SHIELD])
games/larn/global.c
695
c[DEXTERITY] -= arg + 1;
games/larn/global.c
699
c[STREXTRA] -= arg + 1;
games/larn/global.c
703
c[INTELLIGENCE] -= arg + 1;
games/larn/global.c
707
c[DEXTERITY] -= 10;
games/larn/global.c
708
c[STREXTRA] -= 10;
games/larn/global.c
709
c[INTELLIGENCE] += 10;
games/larn/global.c
713
c[DEXTERITY] -= 5;
games/larn/global.c
717
--c[SLAYING];
games/larn/global.c
72
i = c[LEVEL];
games/larn/global.c
720
--c[NEGATESPIRIT];
games/larn/global.c
723
--c[CUBEofUNDEAD];
games/larn/global.c
726
--c[NOTHEFT];
games/larn/global.c
729
c[LANCEDEATH] = 0;
games/larn/global.c
73
c[EXPERIENCE] += x;
games/larn/global.c
74
while (c[EXPERIENCE] >= skill[c[LEVEL]] && (c[LEVEL] < MAXPLEVEL)) {
games/larn/global.c
75
tmp = (c[CONSTITUTION] - c[HARDGAME]) >> 1;
games/larn/global.c
76
c[LEVEL]++;
games/larn/global.c
79
if (c[LEVEL] < 7 - c[HARDGAME])
games/larn/global.c
791
k = c[GOLD] / 1000;
games/larn/global.c
80
raisemhp((int) (c[CONSTITUTION] >> 2));
games/larn/global.c
82
if (c[LEVEL] != i) {
games/larn/global.c
85
lprintf("\nWelcome to level %ld", (long) c[LEVEL]); /* if we changed levels */
games/larn/global.c
99
i = c[LEVEL];
games/larn/header.h
367
extern long outstanding_taxes, skill[], gltime, c[], cbak[];
games/larn/header.h
381
#define newleather() (nlpts[rund(c[HARDGAME]?13:15)])
games/larn/header.h
385
#define newplate() (nplt[rund(c[HARDGAME]?4:12)])
games/larn/header.h
389
#define newsword() (nsw[rund(c[HARDGAME]?6:13)])
games/larn/io.c
174
c[BYTESIN]++;
games/larn/io.c
214
for (p = c, pe = c + 100; p < pe; *p++ = 0);
games/larn/io.c
294
c[BYTESOUT] += len;
games/larn/io.c
782
c[BYTESOUT] += lpoint;
games/larn/io.c
894
c[BYTESOUT] += lpoint;
games/larn/main.c
1031
} else if ((c[SHIELD] != -1) && (iven[i - 'a'] == O2SWORD)) {
games/larn/main.c
1035
c[WIELD] = i - 'a';
games/larn/main.c
1037
c[LANCEDEATH] = 1;
games/larn/main.c
1039
c[LANCEDEATH] = 0;
games/larn/main.c
1089
if (c[WEAR] != -1) {
games/larn/main.c
1093
c[WEAR] = i - 'a';
games/larn/main.c
1097
if (c[SHIELD] != -1) {
games/larn/main.c
1101
if (iven[c[WIELD]] == O2SWORD) {
games/larn/main.c
1105
c[SHIELD] = i - 'a';
games/larn/main.c
1139
if ((amt = readnum((long) c[GOLD])) == 0)
games/larn/main.c
1141
if (amt > c[GOLD]) {
games/larn/main.c
1165
c[GOLD] -= amt;
games/larn/main.c
1233
if (!c[BLINDCOUNT]) {
games/larn/main.c
274
if (c[HP] == 0) { /* create new game */
games/larn/main.c
296
if (c[HASTEMONST])
games/larn/main.c
316
if (c[TIMESTOP] == 0)
games/larn/main.c
349
if (c[GOLD]) {
games/larn/main.c
350
lprintf(".) %ld gold pieces", (long) c[GOLD]);
games/larn/main.c
635
if (c[WIELD] == indx)
games/larn/main.c
637
if ((c[WEAR] == indx) || (c[SHIELD] == indx))
games/larn/main.c
652
if (c[TIMESTOP])
games/larn/main.c
741
if (c[BLINDCOUNT]) {
games/larn/main.c
744
} else if (c[TIMESTOP] == 0)
games/larn/main.c
750
if (c[TIMESTOP] == 0)
games/larn/main.c
756
if (c[TIMESTOP] == 0)
games/larn/main.c
773
if (c[TIMESTOP] == 0)
games/larn/main.c
800
if (c[LEVEL] > 9) {
games/larn/main.c
856
c[i] = 70;
games/larn/main.c
860
c[WIELD] = 1;
games/larn/main.c
861
c[LANCEDEATH] = 1;
games/larn/main.c
862
c[WEAR] = c[SHIELD] = -1;
games/larn/main.c
864
c[AWARENESS] += 25000;
games/larn/main.c
899
c[GOLD] += 25000;
games/larn/main.c
907
if (c[SHIELD] != -1) {
games/larn/main.c
908
c[SHIELD] = -1;
games/larn/main.c
911
} else if (c[WEAR] != -1) {
games/larn/main.c
912
c[WEAR] = -1;
games/larn/main.c
933
(long) c[HARDGAME]);
games/larn/main.c
981
if (c[HASTEMONST])
games/larn/main.c
996
if (c[HASTEMONST])
games/larn/monster.c
1122
if (c[TIMESTOP])
games/larn/monster.c
1129
tmp = monster[monst].armorclass + c[LEVEL] + c[DEXTERITY] +
games/larn/monster.c
1130
c[WCLASS] / 4 - 12;
games/larn/monster.c
1133
if ((rnd(20) < tmp - c[HARDGAME]) || (rnd(71) < 5)) {
games/larn/monster.c
1147
if (c[WIELD] > 0)
games/larn/monster.c
1148
if (ivenarg[c[WIELD]] > -10) {
games/larn/monster.c
1151
--ivenarg[c[WIELD]];
games/larn/monster.c
1178
if (c[HALFDAM])
games/larn/monster.c
1186
c[HOLDMONST] = 0; /* hit a monster breaks hold monster spell */
games/larn/monster.c
1194
amt *= 1 + (c[SLAYING] << 1);
games/larn/monster.c
1202
c[MONSTKILLED]++;
games/larn/monster.c
1235
if (c[NEGATESPIRIT] || c[SPIRITPRO])
games/larn/monster.c
1239
if (c[CUBEofUNDEAD] || c[UNDEADPRO])
games/larn/monster.c
1246
bias = (c[HARDGAME]) + 1;
games/larn/monster.c
1251
if (c[INVISIBILITY])
games/larn/monster.c
1256
if (c[CHARMCOUNT])
games/larn/monster.c
1257
if (rnd(30) + 5 * monster[mster].level - c[CHARISMA] < 30) {
games/larn/monster.c
1269
if (((dam + bias + 8) > c[AC]) || (rnd((int) ((c[AC] > 0) ? c[AC] : 1)) == 1)) {
games/larn/monster.c
1278
if (((dam + bias) > c[AC]) || (rnd((int) ((c[AC] > 0) ? c[AC] : 1)) == 1)) {
games/larn/monster.c
1281
if ((dam -= c[AC]) < 0)
games/larn/monster.c
1520
if (c[CANCELLATION])
games/larn/monster.c
1525
m = k = c[WEAR];
games/larn/monster.c
1526
if ((i = c[SHIELD]) != -1) {
games/larn/monster.c
1560
i = rnd(15) + 8 - c[AC];
games/larn/monster.c
1562
if (c[FIRERESISTANCE])
games/larn/monster.c
1573
i = rnd(20) + 25 - c[AC];
games/larn/monster.c
1577
if (c[STRENGTH] > 3) {
games/larn/monster.c
1580
--c[STRENGTH];
games/larn/monster.c
1587
i = rnd(15) + 18 - c[AC];
games/larn/monster.c
1598
i = rnd(15) + 25 - c[AC];
games/larn/monster.c
1602
if (c[NOTHEFT])
games/larn/monster.c
1604
if (c[GOLD]) {
games/larn/monster.c
1606
if (c[GOLD] > 32767)
games/larn/monster.c
1607
c[GOLD] >>= 1;
games/larn/monster.c
1609
c[GOLD] -= rnd((int) (1 + (c[GOLD] >> 1)));
games/larn/monster.c
1610
if (c[GOLD] < 0)
games/larn/monster.c
1611
c[GOLD] = 0;
games/larn/monster.c
1644
i = rnd(25) - c[AC];
games/larn/monster.c
1650
c[CONFUSE] += 10 + rnd(10);
games/larn/monster.c
1659
i = rnd(15) + 30 - c[AC];
games/larn/monster.c
1663
if (c[NOTHEFT])
games/larn/monster.c
1678
i = rnd(10) + 5 - c[AC];
games/larn/monster.c
1683
i = rnd(15) + 10 - c[AC];
games/larn/monster.c
1757
return (c[SPHCAST]); /* can't malloc, therefore failure */
games/larn/monster.c
1780
return (c[SPHCAST]);
games/larn/monster.c
1789
return (c[SPHCAST]);
games/larn/monster.c
1791
if (c[CANCELLATION]) { /* cancellation cancels spheres */
games/larn/monster.c
1830
return (++c[SPHCAST]); /* one more sphere in the world */
games/larn/monster.c
1852
--c[SPHCAST];
games/larn/monster.c
1864
return (c[SPHCAST]); /* return number of spheres in the world */
games/larn/monster.c
1877
if (c[HOLDMONST])
games/larn/monster.c
1878
c[HOLDMONST] = 1;
games/larn/monster.c
1879
if (c[CANCELLATION])
games/larn/monster.c
1880
c[CANCELLATION] = 1;
games/larn/monster.c
245
if (c[SPELLS] <= 0) {
games/larn/monster.c
250
--c[SPELLS];
games/larn/monster.c
262
c[SPELLS]++;
games/larn/monster.c
266
c[SPELLSCAST]++;
games/larn/monster.c
297
if (c[TIMESTOP]) {
games/larn/monster.c
301
clev = c[LEVEL];
games/larn/monster.c
302
if ((rnd(23) == 7) || (rnd(18) > c[INTELLIGENCE])) {
games/larn/monster.c
314
if (c[PROTECTIONTIME] == 0)
games/larn/monster.c
315
c[MOREDEFENSES] += 2; /* protection field +2 */
games/larn/monster.c
316
c[PROTECTIONTIME] += 250;
games/larn/monster.c
326
if (c[DEXCOUNT] == 0)
games/larn/monster.c
327
c[DEXTERITY] += 3; /* dexterity */
games/larn/monster.c
328
c[DEXCOUNT] += 400;
games/larn/monster.c
338
c[CHARMCOUNT] += c[CHARISMA] << 1;
games/larn/monster.c
354
if (c[STRCOUNT] == 0)
games/larn/monster.c
355
c[STREXTRA] += 3; /* strength */
games/larn/monster.c
356
c[STRCOUNT] += 150 + rnd(100);
games/larn/monster.c
377
c[BLINDCOUNT] = 0;
games/larn/monster.c
385
if (rnd(11) + 7 <= c[WISDOM])
games/larn/monster.c
396
c[INVISIBILITY] += (j << 7) + 12;
games/larn/monster.c
414
c[CANCELLATION] += 5 + clev;
games/larn/monster.c
418
c[HASTESELF] += 7 + clev;
games/larn/monster.c
439
if (c[HARDGAME] < 3) {
games/larn/monster.c
479
i = min(c[HP] - 1, c[HPMAX] / 2); /* drain life */
games/larn/monster.c
481
c[HP] -= i;
games/larn/monster.c
485
if (c[GLOBE] == 0)
games/larn/monster.c
486
c[MOREDEFENSES] += 10;
games/larn/monster.c
487
c[GLOBE] += 200;
games/larn/monster.c
503
if (c[WISDOM] > rnd(10) + 10)
games/larn/monster.c
512
c[SCAREMONST] += rnd(10) + clev;
games/larn/monster.c
516
c[HOLDMONST] += rnd(10) + clev;
games/larn/monster.c
520
c[TIMESTOP] += rnd(20) + (clev << 1);
games/larn/monster.c
572
c[WTW] += rnd(10) + 5;
games/larn/monster.c
656
if (--c[INTELLIGENCE] < 3)
games/larn/monster.c
657
c[INTELLIGENCE] = 3;
games/larn/monster.c
669
if (c[CONFUSE]) {
games/larn/monster.c
673
return (c[CONFUSE]);
games/larn/monster.c
711
if (c[LANCEDEATH])
games/larn/monster.c
713
i = xx * ((c[WCLASS] >> 1) + c[STRENGTH] + c[STREXTRA] - c[HARDGAME] - 12 + c[MOREDAM]);
games/larn/monster.c
824
if (c[BLINDCOUNT] == 0) { /* if not blind show effect */
games/larn/monster.c
851
if (dam >= 50 + c[HARDGAME]) /* enough damage? */
games/larn/monster.c
876
if (c[HARDGAME] < 3)
games/larn/monster.c
902
dam -= 3 + (c[HARDGAME] >> 1);
games/larn/monster.c
920
if (c[BLINDCOUNT]) {
games/larn/moreobj.c
214
fch(how, &c[0]);
games/larn/moreobj.c
218
fch(how, &c[1]);
games/larn/moreobj.c
222
fch(how, &c[2]);
games/larn/moreobj.c
226
fch(how, &c[3]);
games/larn/moreobj.c
230
fch(how, &c[4]);
games/larn/moreobj.c
234
fch(how, &c[5]);
games/larn/movem.c
149
if (c[SCAREMONST]) { /* choose destination randomly if scared */
games/larn/movem.c
165
if (monster[monst].intelligence > 10 - c[HARDGAME]) { /* if smart monster */
games/larn/movem.c
363
if (c[BLINDCOUNT])
games/larn/movem.c
38
if (c[TIMESTOP])
games/larn/movem.c
40
if (c[HASTESELF])
games/larn/movem.c
41
if ((c[HASTESELF] & 1) == 0)
games/larn/movem.c
436
switch (rnd((int) max(7, c[INTELLIGENCE] >> 1))) { /* time to move the
games/larn/movem.c
45
if (c[HOLDMONST])
games/larn/movem.c
48
if (c[AGGRAVATE]) { /* determine window of monsters to move */
games/larn/movem.c
89
if (c[AGGRAVATE] || !c[STEALTH]) { /* who gets moved? split for
games/larn/object.c
1003
c[AWARENESS] += 1800;
games/larn/object.c
1007
c[HASTEMONST] += rnd(55) + 12;
games/larn/object.c
1017
c[SPIRITPRO] += 300 + rnd(200);
games/larn/object.c
1022
c[UNDEADPRO] += 300 + rnd(200);
games/larn/object.c
1027
c[STEALTH] += 250 + rnd(250);
games/larn/object.c
1041
c[HOLDMONST] += 30;
games/larn/object.c
1064
c[exten[i]] <<= 1; /* spell extension */
games/larn/object.c
1078
if (c[curse[i]])
games/larn/object.c
1079
c[curse[i]] = 1;
games/larn/object.c
1090
c[LIFEPROT]++;
games/larn/object.c
1107
if (rnd(70) > 9 * c[DEXTERITY] - packweight() || rnd(101) < 5) {
games/larn/object.c
1164
if (c[BLINDCOUNT] == 0)
games/larn/object.c
1176
if (c[BLINDCOUNT])
games/larn/object.c
1206
c[INTELLIGENCE]++;
games/larn/object.c
1228
if (c[BLINDCOUNT])
games/larn/object.c
1261
c[GOLD] += i;
games/larn/object.c
267
c[AGGRAVATE] += rnd(400);
games/larn/object.c
283
if (c[STRENGTH] > 3)
games/larn/object.c
284
c[STRENGTH]--;
games/larn/object.c
336
if (packweight() > 45 + 3 * (c[STRENGTH] + c[STREXTRA])) {
games/larn/object.c
37
if (c[TIMESTOP])
games/larn/object.c
376
if (packweight() > 45 + 5 * (c[STRENGTH] + c[STREXTRA])) {
games/larn/object.c
429
if ((--c[STRENGTH]) < 3)
games/larn/object.c
430
c[STRENGTH] = 3;
games/larn/object.c
632
c[TELEFLAG] = 1; /* show ?? on bottomline if been teleported */
games/larn/object.c
726
c[HP] = c[HPMAX];
games/larn/object.c
731
if (c[HP] == c[HPMAX])
games/larn/object.c
733
else if ((c[HP] += rnd(20) + 20 + c[LEVEL]) > c[HPMAX])
games/larn/object.c
734
c[HP] = c[HPMAX];
games/larn/object.c
745
c[rund(6)]++;
games/larn/object.c
750
c[WISDOM] += rnd(2);
games/larn/object.c
755
if (c[STRENGTH] < 12)
games/larn/object.c
756
c[STRENGTH] = 12;
games/larn/object.c
758
c[STRENGTH]++;
games/larn/object.c
763
c[CHARISMA]++;
games/larn/object.c
768
c[INTELLIGENCE]++;
games/larn/object.c
786
if (c[HERO] == 0)
games/larn/object.c
788
c[i] += 11;
games/larn/object.c
789
c[HERO] += 250;
games/larn/object.c
794
c[CONSTITUTION]++;
games/larn/object.c
799
if (c[GIANTSTR] == 0)
games/larn/object.c
800
c[STREXTRA] += 21;
games/larn/object.c
801
c[GIANTSTR] += 700;
games/larn/object.c
806
c[FIRERESISTANCE] += 1000;
games/larn/object.c
811
i = rnd(11) - (c[CONSTITUTION] >> 2) + 2;
games/larn/object.c
822
if (--c[STRENGTH] < 3)
games/larn/object.c
823
c[STRENGTH] = 3;
games/larn/object.c
837
c[BLINDCOUNT] += 500;
games/larn/object.c
842
c[CONFUSE] += 20 + rnd(9);
games/larn/object.c
851
c[HALFDAM] += 200 + rnd(200);
games/larn/object.c
856
c[SEEINVISIBLE] += rnd(1000) + 400;
games/larn/object.c
872
if (c[BLINDCOUNT] == 0)
games/larn/object.c
884
if (c[BLINDCOUNT])
games/larn/object.c
933
if (c[time_change[j]])
games/larn/object.c
934
if ((c[time_change[j]] -= tim) < 1)
games/larn/object.c
935
c[time_change[j]] = 1;
games/larn/object.c
986
c[AGGRAVATE] += 800;
games/larn/regen.c
24
d = c;
games/larn/scores.c
206
c[HARDGAME] = 0;
games/larn/scores.c
212
c[HARDGAME] = winr[i].hardlev + 1;
games/larn/scores.c
381
c[WEAR] = c[WIELD] = c[SHIELD] = -1; /* not wielding or wearing
games/larn/scores.c
455
score += 100000 * c[HARDGAME]; /* bonus for winning */
games/larn/scores.c
512
if ((score >= p->score) || (c[HARDGAME] > p->hardlev)) {
games/larn/scores.c
515
p->hardlev = c[HARDGAME];
games/larn/scores.c
536
if ((score >= p->score) || (c[HARDGAME] > p->hardlev)) {
games/larn/scores.c
540
p->hardlev = c[HARDGAME];
games/larn/scores.c
599
if (c[LIFEPROT] > 0) { /* if life protection */
games/larn/scores.c
617
--c[LIFEPROT];
games/larn/scores.c
618
c[HP] = 1;
games/larn/scores.c
619
--c[CONSTITUTION];
games/larn/scores.c
643
c[GOLD] += c[BANKACCOUNT];
games/larn/scores.c
644
c[BANKACCOUNT] = 0;
games/larn/scores.c
646
newscore(c[GOLD], logname, x, win);
games/larn/scores.c
651
if ((wizard == 0) && (c[GOLD] > 0)) { /* wizards can't score */
games/larn/scores.c
674
logg.score = c[GOLD];
games/larn/scores.c
675
logg.diff = c[HARDGAME];
games/larn/scores.c
692
logg.cputime = i = (cputime.tms_utime + cputime.tms_stime) / 60 + c[CPUTIME];
games/larn/scores.c
693
logg.lev = c[LEVEL];
games/larn/scores.c
694
logg.ac = c[AC];
games/larn/scores.c
695
logg.hpmax = c[HPMAX];
games/larn/scores.c
696
logg.hp = c[HP];
games/larn/scores.c
699
logg.bytin = c[BYTESIN];
games/larn/scores.c
700
logg.bytout = c[BYTESOUT];
games/larn/scores.c
701
logg.moves = c[MOVESMADE];
games/larn/scores.c
702
logg.spused = c[SPELLSCAST];
games/larn/scores.c
703
logg.killed = c[MONSTKILLED];
games/larn/scores.c
739
lprintf("Score: %ld, Diff: %ld, %s ", (long) c[GOLD], (long) c[HARDGAME], logname);
games/larn/store.c
264
lprintf("%ld gold pieces", (long) c[GOLD]);
games/larn/store.c
297
else if (c[GOLD] < itm[i].price * 10)
games/larn/store.c
305
c[GOLD] -= itm[i].price * 10;
games/larn/store.c
400
lprintf("%ld gold pieces. ", (long) c[GOLD]);
games/larn/store.c
418
if (c[GOLD] < 250)
games/larn/store.c
424
c[GOLD] -= 250;
games/larn/store.c
428
c[STRENGTH] += 2;
games/larn/store.c
429
c[CONSTITUTION]++;
games/larn/store.c
437
c[GOLD] += 250;
games/larn/store.c
443
c[STRENGTH] += 2;
games/larn/store.c
444
c[CONSTITUTION] += 2;
games/larn/store.c
448
c[INTELLIGENCE] += 2;
games/larn/store.c
456
c[GOLD] += 250;
games/larn/store.c
462
c[INTELLIGENCE] += 2;
games/larn/store.c
466
c[CHARISMA] += 3;
games/larn/store.c
472
c[WISDOM] += 2;
games/larn/store.c
478
c[DEXTERITY] += 3;
games/larn/store.c
484
c[INTELLIGENCE]++;
games/larn/store.c
495
c[HP] = c[HPMAX];
games/larn/store.c
496
c[SPELLS] = c[SPELLMAX]; /* he regenerated */
games/larn/store.c
498
if (c[BLINDCOUNT])
games/larn/store.c
499
c[BLINDCOUNT] = 1; /* cure blindness too! */
games/larn/store.c
500
if (c[CONFUSE])
games/larn/store.c
501
c[CONFUSE] = 1; /* end confusion */
games/larn/store.c
565
if (c[BANKACCOUNT] < 0)
games/larn/store.c
566
c[BANKACCOUNT] = 0;
games/larn/store.c
567
else if ((c[BANKACCOUNT] > 0) && (c[BANKACCOUNT] < 500000)) {
games/larn/store.c
569
while ((i-- > 0) && (c[BANKACCOUNT] < 500000))
games/larn/store.c
570
c[BANKACCOUNT] += c[BANKACCOUNT] / 250;
games/larn/store.c
571
if (c[BANKACCOUNT] > 500000)
games/larn/store.c
572
c[BANKACCOUNT] = 500000; /* interest limit */
games/larn/store.c
609
lprintf("You have %8ld gold pieces in the bank.", (long) c[BANKACCOUNT]);
games/larn/store.c
611
lprintf("You have %8ld gold pieces", (long) c[GOLD]);
games/larn/store.c
612
if (c[BANKACCOUNT] + c[GOLD] >= 500000)
games/larn/store.c
632
amt = readnum((long) c[GOLD]);
games/larn/store.c
637
} else if (amt > c[GOLD]) {
games/larn/store.c
641
c[GOLD] -= amt;
games/larn/store.c
642
c[BANKACCOUNT] += amt;
games/larn/store.c
648
amt = readnum((long) c[BANKACCOUNT]);
games/larn/store.c
653
} else if (amt > c[BANKACCOUNT]) {
games/larn/store.c
657
c[GOLD] += amt;
games/larn/store.c
658
c[BANKACCOUNT] -= amt;
games/larn/store.c
670
c[GOLD] += gemvalue[i];
games/larn/store.c
684
c[GOLD] += gemvalue[i];
games/larn/store.c
697
lprintf("%8ld", (long) c[BANKACCOUNT]);
games/larn/store.c
699
lprintf("%8ld", (long) c[GOLD]);
games/larn/store.c
732
c[GOLD] += amt;
games/larn/store.c
824
c[GOLD] += value;
games/larn/store.c
825
if (c[WEAR] == isub)
games/larn/store.c
826
c[WEAR] = -1;
games/larn/store.c
827
if (c[WIELD] == isub)
games/larn/store.c
828
c[WIELD] = -1;
games/larn/store.c
829
if (c[SHIELD] == isub)
games/larn/store.c
830
c[SHIELD] = -1;
games/larn/store.c
882
amt = readnum((long) c[GOLD]);
games/larn/store.c
886
} else if (amt > c[GOLD])
games/larn/store.c
889
c[GOLD] -= paytaxes(amt);
games/larn/store.c
905
if (c[GOLD] > 0)
games/larn/store.c
906
lprintf("You have %6ld gp. ", (long) c[GOLD]);
games/larn/tok.c
140
j = c[HARDGAME];
games/larn/tok.c
144
c[HARDGAME] = hard;
games/larn/tok.c
146
c[HARDGAME] = j;/* set c[HARDGAME] to proper value if
games/larn/tok.c
149
if ((k = c[HARDGAME]) != 0)
games/larn/tok.c
58
c[BYTESIN]++;
games/larn/tok.c
61
if ((c[BYTESIN] % CHECKPOINT_INTERVAL) == 0) {
games/mille/misc.c
100
c = -1;
games/mille/misc.c
104
if (c >= 0) {
games/mille/misc.c
116
return c;
games/mille/misc.c
180
char c;
games/mille/misc.c
188
switch (c = readch()) {
games/mille/misc.c
208
addstr(unctrl(c));
games/mille/misc.c
252
static char c;
games/mille/misc.c
254
for (cnt = 0; read(0, &c, 1) <= 0; cnt++)
games/mille/misc.c
257
return c;
games/mille/misc.c
76
int c, c1;
games/mille/misc.c
79
while ((c = readch()) == '\n' || c == '\r' || c == ' ')
games/mille/misc.c
81
if (islower(c))
games/mille/misc.c
82
c = toupper(c);
games/mille/misc.c
83
if (c == killchar() || c == erasechar())
games/mille/misc.c
85
addstr(unctrl(c));
games/mille/misc.c
87
switch (c) {
games/mille/misc.c
90
c -= '0';
games/mille/misc.c
93
c = 0;
games/mille/misc.c
98
if (!isprint(c))
games/mille/move.c
361
char c;
games/mille/move.c
375
while ((c = readch()) == killchar() || c == erasechar())
games/mille/move.c
377
if (islower((unsigned char)c))
games/mille/move.c
378
c = toupper((unsigned char)c);
games/mille/move.c
379
if (isprint((unsigned char)c) && !isspace((unsigned char)c)) {
games/mille/move.c
380
addch(c);
games/mille/move.c
383
switch (c) {
games/mille/move.c
391
Movetype = (c == 'U' ? M_PLAY : M_DISCARD);
games/mille/move.c
435
error("%c: command not implemented", c);
games/mille/move.c
481
error("unknown command: %s", unctrl(c));
games/mille/move.c
57
#define CTRL(c) (c - 'A' + 1)
games/mille/print.c
109
show_card(int y, int x, CARD c, CARD *lc)
games/mille/print.c
111
if (c == *lc)
games/mille/print.c
114
mvprintw(y, x, C_fmt, C_name[c]);
games/mille/print.c
115
*lc = c;
games/monop/getinp.c
107
char c;
games/monop/getinp.c
111
c = tolower((unsigned char)*tsp);
games/monop/getinp.c
113
if (c != *sp++)
games/monop/houses.c
342
int i, c;
games/monop/houses.c
345
c = 0;
games/monop/houses.c
350
c += sqp->desc->houses;
games/monop/houses.c
353
return(N_HOUSE - c);
games/monop/houses.c
359
int i, c;
games/monop/houses.c
362
c = 0;
games/monop/houses.c
367
c++;
games/monop/houses.c
370
return(N_HOTEL - c);
games/morse/morse.c
208
for (size_t i = 0; other[i].c; i++)
games/morse/morse.c
210
putchar(other[i].c);
games/morse/morse.c
221
morse(int c)
games/morse/morse.c
223
if (isalpha(c))
games/morse/morse.c
224
show(alph[c - (isupper(c) ? 'A' : 'a')]);
games/morse/morse.c
225
else if (isdigit(c))
games/morse/morse.c
226
show(digit[c - '0']);
games/morse/morse.c
227
else if (isspace(c))
games/morse/morse.c
230
for (int i = 0; other[i].c; i++)
games/morse/morse.c
231
if (other[i].c == c) {
games/morse/morse.c
87
char c;
games/phantasia/gamesupport.c
170
c = getanswer(" ", TRUE);
games/phantasia/gamesupport.c
174
c = getanswer("!BA", FALSE);
games/phantasia/gamesupport.c
176
switch (c) {
games/phantasia/gamesupport.c
189
if (c == 'A')
games/phantasia/gamesupport.c
27
int c; /* input */
games/phantasia/gamesupport.c
440
c = getanswer("\nTF", TRUE);
games/phantasia/gamesupport.c
441
if (c == 'T')
games/phantasia/gamesupport.c
444
if (c == 'F')
games/ppt/ppt.c
106
putchar(c);
games/ppt/ppt.c
107
neednl = (c != '\n');
games/ppt/ppt.c
122
else while ((c = getchar()) != EOF)
games/ppt/ppt.c
123
putppt(c);
games/ppt/ppt.c
130
putppt(int c)
games/ppt/ppt.c
138
if ((c&(1<<i)) != 0)
games/ppt/ppt.c
151
int c;
games/ppt/ppt.c
156
c = 0;
games/ppt/ppt.c
158
c |= 0001;
games/ppt/ppt.c
160
c |= 0002;
games/ppt/ppt.c
162
c |= 0004;
games/ppt/ppt.c
164
c |= 0010;
games/ppt/ppt.c
166
c |= 0020;
games/ppt/ppt.c
168
c |= 0040;
games/ppt/ppt.c
170
c |= 0100;
games/ppt/ppt.c
172
c |= 0200;
games/ppt/ppt.c
174
return (c);
games/ppt/ppt.c
69
int c, start, neednl, dflag;
games/ppt/ppt.c
75
while ((c = getopt(argc, argv, "dh")) != -1)
games/ppt/ppt.c
76
switch(c) {
games/ppt/ppt.c
95
c = getppt(buf);
games/ppt/ppt.c
96
if (c < 0) {
games/robots/move.c
103
c = automove();
games/robots/move.c
109
c = getchar();
games/robots/move.c
110
if (isdigit(c)) {
games/robots/move.c
111
Count = (c - '0');
games/robots/move.c
112
while (isdigit(c = getchar()))
games/robots/move.c
113
Count = Count * 10 + (c - '0');
games/robots/move.c
114
if (c == ESC)
games/robots/move.c
116
Cnt_move = c;
games/robots/move.c
122
switch (c) {
games/robots/move.c
164
if (c == '>')
games/robots/move.c
167
Run_ch = tolower(c);
games/robots/move.c
61
int c;
games/robots/move.c
82
c = Run_ch;
games/robots/move.c
84
c = Cnt_move;
games/robots/move.c
87
c = '>';
games/robots/move.c
94
c = *Next_move;
games/robots/move.c
95
mvaddch(0, 0, c);
games/robots/move.c
96
if (c == lastmove)
games/robots/query.c
51
int c, retval;
games/robots/query.c
59
retval = ((c = getchar()) == 'y' || c == 'Y');
games/rogue/hit.c
335
short ch, c, d;
games/rogue/hit.c
356
c = mvinch(row, col);
games/rogue/hit.c
357
if (((c < 'A') || (c > 'Z')) ||
games/rogue/level.c
645
make_maze(short r, short c, short tr, short br, short lc, short rc)
games/rogue/level.c
655
dungeon[r][c] = TUNNEL;
games/rogue/level.c
671
(dungeon[r-1][c] != TUNNEL) &&
games/rogue/level.c
672
(dungeon[r-1][c-1] != TUNNEL) &&
games/rogue/level.c
673
(dungeon[r-1][c+1] != TUNNEL) &&
games/rogue/level.c
674
(dungeon[r-2][c] != TUNNEL)) {
games/rogue/level.c
675
make_maze((r-1), c, tr, br, lc, rc);
games/rogue/level.c
680
(dungeon[r+1][c] != TUNNEL) &&
games/rogue/level.c
681
(dungeon[r+1][c-1] != TUNNEL) &&
games/rogue/level.c
682
(dungeon[r+1][c+1] != TUNNEL) &&
games/rogue/level.c
683
(dungeon[r+2][c] != TUNNEL)) {
games/rogue/level.c
684
make_maze((r+1), c, tr, br, lc, rc);
games/rogue/level.c
688
if (((c-1) >= lc) &&
games/rogue/level.c
689
(dungeon[r][c-1] != TUNNEL) &&
games/rogue/level.c
690
(dungeon[r-1][c-1] != TUNNEL) &&
games/rogue/level.c
691
(dungeon[r+1][c-1] != TUNNEL) &&
games/rogue/level.c
692
(dungeon[r][c-2] != TUNNEL)) {
games/rogue/level.c
693
make_maze(r, (c-1), tr, br, lc, rc);
games/rogue/level.c
697
if (((c+1) <= rc) &&
games/rogue/level.c
698
(dungeon[r][c+1] != TUNNEL) &&
games/rogue/level.c
699
(dungeon[r-1][c+1] != TUNNEL) &&
games/rogue/level.c
700
(dungeon[r+1][c+1] != TUNNEL) &&
games/rogue/level.c
701
(dungeon[r][c+2] != TUNNEL)) {
games/rogue/level.c
702
make_maze(r, (c+1), tr, br, lc, rc);
games/rogue/message.c
124
remessage(short c)
games/rogue/message.c
129
while (c > imsg) {
games/rogue/message.c
130
c -= NMESSAGES;
games/rogue/message.c
132
message(msgs[((imsg - c) % NMESSAGES)], 0);
games/rogue/monster.c
470
short c;
games/rogue/monster.c
479
c = mvinch(mrow, mcol);
games/rogue/monster.c
481
if ((c >= 'A') && (c <= 'Z')) {
games/rogue/move.c
339
is_direction(short c, short *d)
games/rogue/move.c
341
switch(c) {
games/rogue/move.c
553
static short heal_exp = -1, n, c = 0;
games/rogue/move.c
557
c = 0;
games/rogue/move.c
602
if (++c >= n) {
games/rogue/move.c
603
c = 0;
games/rogue/pack.c
509
is_pack_letter(short *c, unsigned short *mask)
games/rogue/pack.c
511
if (((*c == '?') || (*c == '!') || (*c == ':') || (*c == '=') ||
games/rogue/pack.c
512
(*c == ')') || (*c == ']') || (*c == '/') || (*c == ','))) {
games/rogue/pack.c
513
switch(*c) {
games/rogue/pack.c
539
*c = LIST;
games/rogue/pack.c
542
return(((*c >= 'a') && (*c <= 'z')) || (*c == CANCEL) || (*c == LIST));
games/rogue/room.c
256
short r, c;
games/rogue/room.c
260
c = get_rand(0, DCOLS-1);
games/rogue/room.c
261
rn = get_room_number(r, c);
games/rogue/room.c
263
(!(dungeon[r][c] & mask)) ||
games/rogue/room.c
264
(dungeon[r][c] & (~mask)) ||
games/rogue/room.c
266
((r == rogue.row) && (c == rogue.col)));
games/rogue/room.c
269
*col = c;
games/rogue/score.c
631
unsigned char c;
games/rogue/score.c
636
c = (unsigned char)xxx(0);
games/rogue/score.c
638
buf[i] ^= c;
games/rogue/throw.c
264
rand_around(short i, short *r, short *c)
games/rogue/throw.c
274
col = *c;
games/rogue/throw.c
289
*c = col + 1;
games/rogue/throw.c
293
*c = col - 1;
games/rogue/throw.c
297
*c = col + 1;
games/rogue/throw.c
301
*c = col - 1;
games/rogue/throw.c
305
*c = col + 1;
games/rogue/throw.c
309
*c = col;
games/rogue/throw.c
313
*c = col;
games/rogue/throw.c
317
*c = col;
games/rogue/throw.c
321
*c = col - 1;
games/sail/dr_main.c
136
char c;
games/sail/dr_main.c
159
read(fds[0], &c, 1);
games/sail/extern.h
376
void send_crew(struct ship *ship, long a, long b, long c);
games/sail/extern.h
377
void send_dbp(struct ship *ship, long a, long b, long c, long d);
games/sail/extern.h
385
void send_obp(struct ship *ship, long a, long b, long c, long d);
games/sail/extern.h
391
void send_rigg(struct ship *ship, long a, long b, long c, long d);
games/sail/extern.h
74
#define cleangrapple(a, b, c) Cleansnag(a, b, c, 1)
games/sail/extern.h
75
#define cleanfoul(a, b, c) Cleansnag(a, b, c, 2)
games/sail/extern.h
76
#define cleansnag(a, b, c) Cleansnag(a, b, c, 3)
games/sail/pl_4.c
93
char c;
games/sail/pl_4.c
97
c = *countryname[sp->nationality];
games/sail/pl_4.c
98
if ((tolower((unsigned char)c) == *buf || colours(sp) == *buf)
games/sail/pl_5.c
163
char c;
games/sail/pl_5.c
191
c = sgetch("How many more to board the $$? ",
games/sail/pl_5.c
193
parties(sp, crew, 0, c);
games/sail/pl_5.c
195
c = sgetch("Crew sections to board the $$ (3 max) ?",
games/sail/pl_5.c
197
parties(sp, crew, 0, c);
games/sail/pl_5.c
201
c = sgetch("How many sections to repel boarders? ",
games/sail/pl_5.c
203
parties(ms, crew, 1, c);
games/sail/pl_6.c
147
char c;
games/sail/pl_6.c
157
c = sgetch("Load which broadside (left or right)? ",
games/sail/pl_6.c
159
if (c == 'r')
games/sail/pl_6.c
165
c = sgetch("Reload with (round, double, chain, grape)? ",
games/sail/pl_6.c
167
switch (c) {
games/sail/pl_6.c
50
char c;
games/sail/pl_6.c
62
c = sgetch("Repair (hull, guns, rigging)? ", (struct ship *)0, 1);
games/sail/pl_6.c
63
switch (c) {
games/sail/pl_6.c
79
switch (c) {
games/sail/pl_7.c
481
int c;
games/sail/pl_7.c
493
while ((c = wgetch(scroll_w)) == EOF)
games/sail/pl_7.c
495
if (flag && c >= ' ' && c < 0x7f) {
games/sail/pl_7.c
497
input[0] = c;
games/sail/pl_7.c
504
return c;
games/sail/pl_7.c
510
int c;
games/sail/pl_7.c
522
while ((c = wgetch(scroll_w)) == EOF)
games/sail/pl_7.c
524
switch (c) {
games/sail/pl_7.c
536
if (c >= ' ' && c < 0x7f && p < buf + n - 1) {
games/sail/pl_7.c
537
*p++ = c;
games/sail/sync.c
103
static void recv_crew(struct ship *ship, long a, long b, long c);
games/sail/sync.c
104
static void recv_dbp(struct ship *ship, long a, long b, long c, long d);
games/sail/sync.c
112
static void recv_obp(struct ship *ship, long a, long b, long c, long d);
games/sail/sync.c
118
static void recv_rigg(struct ship *ship, long a, long b, long c, long d);
games/sail/sync.c
286
Write(int type, struct ship *ship, long a, long b, long c, long d)
games/sail/sync.c
292
type, shipindex, a, b, c, d);
games/sail/sync.c
298
sync_update(type, ship, NULL, a, b, c, d);
games/sail/sync.c
323
long a, b, c, d;
games/sail/sync.c
392
a = b = c = d = 0;
games/sail/sync.c
394
if (fscanf(sync_fp, "%ld%ld%ld%ld", &a, &b, &c, &d)
games/sail/sync.c
399
if (sync_update(type, SHIP(shipnum), astr, a, b, c, d) < 0)
games/sail/sync.c
427
long a, long b, long c, long d)
games/sail/sync.c
433
case W_CREW: recv_crew(ship, a, b, c); break;
games/sail/sync.c
434
case W_DBP: recv_dbp(ship, a, b, c, d); break;
games/sail/sync.c
442
case W_OBP: recv_obp(ship, a, b, c, d); break;
games/sail/sync.c
448
case W_RIGG: recv_rigg(ship, a, b, c, d); break;
games/sail/sync.c
498
send_crew(struct ship *ship, long a, long b, long c)
games/sail/sync.c
500
Write(W_CREW, ship, a, b, c, 0);
games/sail/sync.c
504
send_dbp(struct ship *ship, long a, long b, long c, long d)
games/sail/sync.c
506
Write(W_DBP, ship, a, b, c, d);
games/sail/sync.c
552
send_obp(struct ship *ship, long a, long b, long c, long d)
games/sail/sync.c
554
Write(W_OBP, ship, a, b, c, d);
games/sail/sync.c
588
send_rigg(struct ship *ship, long a, long b, long c, long d)
games/sail/sync.c
590
Write(W_RIGG, ship, a, b, c, d);
games/sail/sync.c
734
recv_crew(struct ship *ship, long a, long b, long c)
games/sail/sync.c
740
s->crew3 = c;
games/sail/sync.c
744
recv_dbp(struct ship *ship, long a, long b, long c, long d)
games/sail/sync.c
749
p->toship = SHIP(c);
games/sail/sync.c
809
recv_obp(struct ship *ship, long a, long b, long c, long d)
games/sail/sync.c
814
p->toship = SHIP(c);
games/sail/sync.c
869
recv_rigg(struct ship *ship, long a, long b, long c, long d)
games/sail/sync.c
875
s->rig3 = c;
games/snake/snake/snake.c
267
int c;
games/snake/snake/snake.c
272
if (((c = getch()) <= '9') && (c >= '0')) {
games/snake/snake/snake.c
273
repeat = c - '0';
games/snake/snake/snake.c
274
while (((c = getch()) <= '9') && (c >= '0'))
games/snake/snake/snake.c
275
repeat = 10 * repeat + (c - '0');
games/snake/snake/snake.c
277
if (c != '.')
games/snake/snake/snake.c
280
if (c == '.') {
games/snake/snake/snake.c
281
c = lastc;
games/snake/snake/snake.c
285
lastc = c;
games/snake/snake/snake.c
286
switch (c) {
games/snake/snake/snake.c
310
c = 'h';
games/snake/snake/snake.c
315
c = 'h';
games/snake/snake/snake.c
319
c = 'k';
games/snake/snake/snake.c
324
c = 'k';
games/snake/snake/snake.c
328
c = 'l';
games/snake/snake/snake.c
333
c = 'l';
games/snake/snake/snake.c
337
c = 'j';
games/snake/snake/snake.c
342
c = 'j';
games/snake/snake/snake.c
347
switch (c) {
games/snake/snake/snake.c
99
#define pchar(point, c) mvaddch((point)->line + 1, (point)->col + 1, (c))
games/tetris/input.c
125
char c;
games/tetris/input.c
130
if (rwait(&tv) && read(0, &c, 1) != 1)
games/tetris/input.c
141
char c;
games/tetris/input.c
159
if (read(0, &c, 1) != 1)
games/tetris/input.c
161
return ((int)(unsigned char)c);
games/tetris/scores.c
852
int i, n, c;
games/tetris/scores.c
894
while ((c = getchar()) != '\n')
games/tetris/scores.c
895
if (c == EOF)
games/tetris/screen.c
107
if (c == 0 || c == 7)
games/tetris/screen.c
110
buf = tiparm(set_a_foreground, c);
games/tetris/screen.c
320
static int r=5, c=2;
games/tetris/screen.c
327
moveto(r-1, c-1); putstr(" ");
games/tetris/screen.c
328
moveto(r, c-1); putstr(" ");
games/tetris/screen.c
329
moveto(r+1, c-1); putstr(" ");
games/tetris/screen.c
330
moveto(r+2, c-1); putstr(" ");
games/tetris/screen.c
332
moveto(r-3, c-2);
games/tetris/screen.c
338
moveto(r, 2*c);
games/tetris/screen.c
341
t = c + r*B_COLS;
games/tetris/screen.c
74
put(int c)
games/tetris/screen.c
77
return (putchar(c));
games/tetris/screen.c
88
moveto(int r, int c)
games/tetris/screen.c
92
buf = tiparm(cursor_address, r, c);
games/tetris/screen.c
98
setcolor(int c)
games/tetris/tetris.c
133
int pos, c;
games/tetris/tetris.c
228
c = tgetchar();
games/tetris/tetris.c
229
if (c < 0) {
games/tetris/tetris.c
261
if (c == keys[5]) {
games/tetris/tetris.c
265
if (c == keys[4]) {
games/tetris/tetris.c
281
if (c == keys[0]) {
games/tetris/tetris.c
287
if (c == keys[1]) {
games/tetris/tetris.c
295
if (c == keys[2]) {
games/tetris/tetris.c
301
if (c == keys[3]) {
games/tetris/tetris.c
309
if (c == keys[6]) {
games/tetris/tetris.c
317
if (c == '\f') {
games/trek/getpar.c
126
int c;
games/trek/getpar.c
139
if ((c = scanf("%99[^ \t;\n]", input)) < 0)
games/trek/getpar.c
141
if (c == 0)
games/trek/getpar.c
147
c = 4;
games/trek/getpar.c
152
if (--c > 0)
games/trek/getpar.c
154
c = 4;
games/trek/getpar.c
157
if (c != 4)
games/trek/getpar.c
223
int c;
games/trek/getpar.c
225
while ((c = getchar()) != '\n') {
games/trek/getpar.c
226
if (c == EOF) {
games/trek/getpar.c
229
if ((c >= '0' && c <= '9') || c == '.' || c == '!' ||
games/trek/getpar.c
230
(c >= 'A' && c <= 'Z') ||
games/trek/getpar.c
231
(c >= 'a' && c <= 'z') || c == '-') {
games/trek/getpar.c
232
ungetc(c, stdin);
games/trek/getpar.c
236
ungetc(c, stdin);
games/trek/getpar.c
246
skiptonl(int c)
games/trek/getpar.c
248
while (c != '\n') {
games/trek/getpar.c
249
c = getchar();
games/trek/getpar.c
250
if (c == EOF) {
games/trek/getpar.c
266
int c;
games/trek/getpar.c
268
c = getchar();
games/trek/getpar.c
269
if (c == EOF) {
games/trek/getpar.c
272
if (c == '.')
games/trek/getpar.c
274
if (c == '\n' || c == ';')
games/trek/getpar.c
275
ungetc(c, stdin);
games/trek/getpar.c
291
int c;
games/trek/getpar.c
293
while ((c = getchar()) != EOF) {
games/trek/getpar.c
294
if (c == d)
games/trek/getpar.c
296
if (c == ' ')
games/trek/getpar.c
298
ungetc(c, stdin);
games/trek/ram.c
60
char c;
games/trek/ram.c
63
c = Sect[ix][iy];
games/trek/ram.c
64
switch (c) {
games/trek/warp.c
67
int c;
games/trek/warp.c
70
if (getcodi(&c, &d))
games/trek/warp.c
72
warp(fl, c, d);
games/trek/warp.c
76
warp(int fl, int c, double d)
games/trek/warp.c
98
course = c;
games/warp/intrp.c
524
char *s, *c;
games/warp/intrp.c
534
if ((c = strchr(s, ',')) != NULL)
games/warp/intrp.c
535
*c = '\0';
games/warp/intrp.c
536
if ((c = strchr(s, ';')) != NULL)
games/warp/intrp.c
537
*c = '\0';
games/warp/intrp.c
540
c = buf + strlen(buf); /* in the middle of the night */
games/warp/intrp.c
541
strcat(c,logname); /* before the morning after */
games/warp/intrp.c
542
strcat(c,s+1);
games/warp/intrp.c
543
if (islower((unsigned char)*c))
games/warp/intrp.c
544
*c = toupper((unsigned char)*c); /* gack and double gack */
games/warp/intrp.c
547
if ((c = strchr(s, '(')) != NULL)
games/warp/intrp.c
548
*c = '\0';
games/warp/intrp.c
549
if ((c = strchr(s, '-')) != NULL)
games/warp/intrp.c
550
s = c;
games/warp/score.c
537
realname, logname, totalscore, c,smarts, cumsmarts, cdate);
games/warp/score.c
571
realname, logname, totalscore, c,smarts, cumsmarts, cdate);
games/warp/score.h
42
EXT char c INIT(' ');
games/warp/term.h
233
#define forceme(c) ioctl(_tty_ch,TIOCSTI,Null(long*)) /* ghad! */
games/warp/term.h
235
#define forceme(c) ioctl(_tty_ch,TIOCSTI,c) /* pass character in " " */
games/warp/term.h
238
#define forceme(c)
games/warp/warp.h
109
# define isalnum(c) (isalpha(c) || isdigit(c))
games/warp/warp.h
241
# define IF(c) if (c)
games/warp/warp.h
244
# define IF(c)
games/warp/warp.h
251
# define IF(c) "IF" outside of VERBOSE???
games/worms/worms.c
502
chtype c = docaput ? w->eye : w->ch;
games/worms/worms.c
506
x = w->xpos[h] = 0, c | w->attr);
games/worms/worms.c
546
c | w->attr);
games/wump/wump.c
143
int c, e=0;
games/wump/wump.c
149
while ((c = getopt(argc, argv, "a:b:hp:r:t:d")) != -1)
games/wump/wump.c
151
while ((c = getopt(argc, argv, "a:b:hp:r:t:")) != -1)
games/wump/wump.c
153
switch (c) {
include/rpc/auth.h
177
#define authsys_create(c,i1,i2,i3,ip) authunix_create((c),(i1),(i2),(i3),(ip))
include/rpc/auth.h
77
char c[8];
include/stdio.h
472
#define __sputc(c, p) \
include/stdio.h
475
(*(p)->_p = (c)), *(p)->_p != '\n' ? \
include/stdio.h
478
__swbuf((int)(c), p) : \
include/stdio.h
479
(*(p)->_p = (c), (int)*(p)->_p++))
include/tgmath.h
101
|| __TG_IS_##ltype##_P(c), \
include/tgmath.h
102
fn##l((a), (b), (c)), \
include/tgmath.h
103
fn((a), (b), (c))))
include/tgmath.h
112
#define __TG_FN2x(fn, a, b, c) __TG_GFN2x(fn, a, b, c, FLOAT, LDOUBLE)
include/tgmath.h
113
#define __TG_FN3(fn, a, b, c) __TG_GFN3(fn, a, b, c, FLOAT, LDOUBLE)
include/tgmath.h
117
__TG_CFN1(c##fn, (a)), \
include/tgmath.h
128
__TG_CFN2(c##fn, (a), (b)), \
include/tgmath.h
159
#define fma(a,b,c) __TG_FN3(fma, (a), (b), (c))
include/tgmath.h
180
#define remquo(a,b,c) __TG_FN2x(remquo, (a), (b), (c))
include/tgmath.h
85
#define __TG_GFN2x(fn, a, b, c, ftype, ltype) \
include/tgmath.h
88
fn##f((a), (b), (c)), \
include/tgmath.h
91
fn##l((a), (b), (c)), \
include/tgmath.h
92
fn((a), (b), (c))))
include/tgmath.h
94
#define __TG_GFN3(fn, a, b, c, ftype, ltype) \
include/tgmath.h
97
&& __TG_IS_##ftype##_P(c), \
include/tgmath.h
98
fn##f((a), (b), (c)), \
lib/csu/common/crt0-common.c
336
char *c;
lib/csu/common/crt0-common.c
338
for (c = ps_strings->ps_argvstr[0]; *c; ++c) {
lib/csu/common/crt0-common.c
339
if (*c == '/')
lib/csu/common/crt0-common.c
340
__progname = c + 1;
lib/libc/arch/sparc64/softfloat/qp.c
104
_Qp_dtoq(float128 *c, double a)
lib/libc/arch/sparc64/softfloat/qp.c
109
*c = float64_to_float128(_b);
lib/libc/arch/sparc64/softfloat/qp.c
156
_Qp_itoq(float128 *c, int a)
lib/libc/arch/sparc64/softfloat/qp.c
158
*c = int32_to_float128(a);
lib/libc/arch/sparc64/softfloat/qp.c
163
_Qp_mul(float128 *c, float128 *a, float128 *b)
lib/libc/arch/sparc64/softfloat/qp.c
165
*c = float128_mul(*a, *b);
lib/libc/arch/sparc64/softfloat/qp.c
176
_Qp_neg(float128 *c, float128 *a)
lib/libc/arch/sparc64/softfloat/qp.c
178
*c = float128_sub(__sf128_zero, *a);
lib/libc/arch/sparc64/softfloat/qp.c
186
double c;
lib/libc/arch/sparc64/softfloat/qp.c
190
memcpy(&c, &_c, sizeof(double));
lib/libc/arch/sparc64/softfloat/qp.c
192
return c;
lib/libc/arch/sparc64/softfloat/qp.c
206
float c;
lib/libc/arch/sparc64/softfloat/qp.c
211
memcpy(&c, &_c, sizeof(_c));
lib/libc/arch/sparc64/softfloat/qp.c
213
return c;
lib/libc/arch/sparc64/softfloat/qp.c
239
_Qp_sqrt(float128 *c, float128 *a)
lib/libc/arch/sparc64/softfloat/qp.c
241
*c = float128_sqrt(*a);
lib/libc/arch/sparc64/softfloat/qp.c
246
_Qp_stoq(float128 *c, float a)
lib/libc/arch/sparc64/softfloat/qp.c
252
*c = float32_to_float128(_a);
lib/libc/arch/sparc64/softfloat/qp.c
257
_Qp_sub(float128 *c, float128 *a, float128 *b)
lib/libc/arch/sparc64/softfloat/qp.c
259
*c = float128_sub(*a, *b);
lib/libc/arch/sparc64/softfloat/qp.c
264
_Qp_uitoq(float128 *c, unsigned int a)
lib/libc/arch/sparc64/softfloat/qp.c
266
*c = int64_to_float128(a);
lib/libc/arch/sparc64/softfloat/qp.c
271
_Qp_uxtoq(float128 *c, unsigned long a)
lib/libc/arch/sparc64/softfloat/qp.c
275
*c = int64_to_float128((long long)(a>>1));
lib/libc/arch/sparc64/softfloat/qp.c
276
*c = float128_add(*c, *c);
lib/libc/arch/sparc64/softfloat/qp.c
278
*c = float128_add(*c, __sf128_one);
lib/libc/arch/sparc64/softfloat/qp.c
280
*c = int64_to_float128((long long)a);
lib/libc/arch/sparc64/softfloat/qp.c
286
_Qp_xtoq(float128 *c, long a)
lib/libc/arch/sparc64/softfloat/qp.c
288
*c = int64_to_float128((long long)a);
lib/libc/arch/sparc64/softfloat/qp.c
37
void _Qp_add(float128 *c, float128 *a, float128 *b);
lib/libc/arch/sparc64/softfloat/qp.c
40
void _Qp_div(float128 *c, float128 *a, float128 *b);
lib/libc/arch/sparc64/softfloat/qp.c
41
void _Qp_dtoq(float128 *c, double a);
lib/libc/arch/sparc64/softfloat/qp.c
48
void _Qp_itoq(float128 *c, int a);
lib/libc/arch/sparc64/softfloat/qp.c
49
void _Qp_mul(float128 *c, float128 *a, float128 *b);
lib/libc/arch/sparc64/softfloat/qp.c
50
void _Qp_neg(float128 *c, float128 *a);
lib/libc/arch/sparc64/softfloat/qp.c
57
void _Qp_sqrt(float128 *c, float128 *a);
lib/libc/arch/sparc64/softfloat/qp.c
58
void _Qp_stoq(float128 *c, float a);
lib/libc/arch/sparc64/softfloat/qp.c
59
void _Qp_sub(float128 *c, float128 *a, float128 *b);
lib/libc/arch/sparc64/softfloat/qp.c
60
void _Qp_uitoq(float128 *c, unsigned int a);
lib/libc/arch/sparc64/softfloat/qp.c
61
void _Qp_uxtoq(float128 *c, unsigned long a);
lib/libc/arch/sparc64/softfloat/qp.c
62
void _Qp_xtoq(float128 *c, long a);
lib/libc/arch/sparc64/softfloat/qp.c
66
_Qp_add(float128 *c, float128 *a, float128 *b)
lib/libc/arch/sparc64/softfloat/qp.c
68
*c = float128_add(*a, *b);
lib/libc/arch/sparc64/softfloat/qp.c
97
_Qp_div(float128 *c, float128 *a, float128 *b)
lib/libc/arch/sparc64/softfloat/qp.c
99
*c = float128_div(*a, *b);
lib/libc/citrus/citrus_bcs.h
41
static __inline int _citrus_bcs_##_name_(uint8_t c) { return (_cond_); }
lib/libc/citrus/citrus_bcs.h
47
_CITRUS_BCS_PRED(isblank, c == ' ' || c == '\t')
lib/libc/citrus/citrus_bcs.h
48
_CITRUS_BCS_PRED(iseol, c == '\n' || c == '\r')
lib/libc/citrus/citrus_bcs.h
50
_citrus_bcs_isblank(c) || _citrus_bcs_iseol(c) ||
lib/libc/citrus/citrus_bcs.h
51
c == '\f' || c == '\v')
lib/libc/citrus/citrus_bcs.h
52
_CITRUS_BCS_PRED(isdigit, c >= '0' && c <= '9')
lib/libc/citrus/citrus_bcs.h
53
_CITRUS_BCS_PRED(isupper, c >= 'A' && c <= 'Z')
lib/libc/citrus/citrus_bcs.h
54
_CITRUS_BCS_PRED(islower, c >= 'a' && c <= 'z')
lib/libc/citrus/citrus_bcs.h
55
_CITRUS_BCS_PRED(isalpha, _citrus_bcs_isupper(c) || _citrus_bcs_islower(c))
lib/libc/citrus/citrus_bcs.h
56
_CITRUS_BCS_PRED(isalnum, _citrus_bcs_isdigit(c) || _citrus_bcs_isalpha(c))
lib/libc/citrus/citrus_bcs.h
58
_citrus_bcs_isdigit(c) ||
lib/libc/citrus/citrus_bcs.h
59
(c >= 'A' && c <= 'F') || (c >= 'a' && c <= 'f'))
lib/libc/citrus/citrus_bcs.h
66
_citrus_bcs_toupper(uint8_t c)
lib/libc/citrus/citrus_bcs.h
68
return (_citrus_bcs_islower(c) ? (c - 'a' + 'A') : c);
lib/libc/citrus/citrus_bcs.h
72
_citrus_bcs_tolower(uint8_t c)
lib/libc/citrus/citrus_bcs.h
74
return (_citrus_bcs_isupper(c) ? (c - 'A' + 'a') : c);
lib/libc/citrus/citrus_bcs_strtol.c
50
#define isspace(c) _bcs_isspace(c)
lib/libc/citrus/citrus_bcs_strtol.c
53
#define isdigit(c) _bcs_isdigit(c)
lib/libc/citrus/citrus_bcs_strtol.c
56
#define isalpha(c) _bcs_isalpha(c)
lib/libc/citrus/citrus_bcs_strtol.c
59
#define isupper(c) _bcs_isupper(c)
lib/libc/citrus/citrus_bcs_strtoul.c
55
#define isspace(c) _bcs_isspace(c)
lib/libc/citrus/citrus_bcs_strtoul.c
58
#define isdigit(c) _bcs_isdigit(c)
lib/libc/citrus/citrus_bcs_strtoul.c
61
#define isalpha(c) _bcs_isalpha(c)
lib/libc/citrus/citrus_bcs_strtoul.c
64
#define isupper(c) _bcs_isupper(c)
lib/libc/citrus/citrus_ctype.h
173
_citrus_ctype_btowc(_citrus_ctype_t cc, int c, wint_t *wcresult)
lib/libc/citrus/citrus_ctype.h
177
return (*cc->cc_ops->co_btowc)(cc, c, wcresult);
lib/libc/citrus/citrus_ctype.h
181
_citrus_ctype_wctob(_citrus_ctype_t cc, wint_t c, int *cresult)
lib/libc/citrus/citrus_ctype.h
185
return (*cc->cc_ops->co_wctob)(cc, c, cresult);
lib/libc/citrus/citrus_ctype_fallback.c
54
int c, wint_t * __restrict wcresult)
lib/libc/citrus/citrus_ctype_fallback.c
68
if (c == EOF) {
lib/libc/citrus/citrus_ctype_fallback.c
74
mb = (char)(unsigned)c;
lib/libc/citrus/citrus_ctype_template.h
884
int c, wint_t * __restrict wcresult)
lib/libc/citrus/citrus_ctype_template.h
896
if (c == EOF) {
lib/libc/citrus/citrus_ctype_template.h
902
mb = (char)(unsigned)c;
lib/libc/citrus/citrus_none.c
403
int c, wint_t * __restrict wcresult)
lib/libc/citrus/citrus_none.c
405
if (c == EOF || c & ~0xFF)
lib/libc/citrus/citrus_none.c
408
*wcresult = (wint_t)c;
lib/libc/citrus/modules/citrus_big5.c
165
_citrus_BIG5_check(_BIG5EncodingInfo *ei, u_int c)
lib/libc/citrus/modules/citrus_big5.c
169
return (ei->cell[c & 0xFF] & 0x1) ? 2 : 1;
lib/libc/citrus/modules/citrus_big5.c
173
_citrus_BIG5_check2(_BIG5EncodingInfo *ei, u_int c)
lib/libc/citrus/modules/citrus_big5.c
177
return (ei->cell[c & 0xFF] & 0x2) ? 1 : 0;
lib/libc/citrus/modules/citrus_big5.c
181
_citrus_BIG5_check_excludes(_BIG5EncodingInfo *ei, wint_t c)
lib/libc/citrus/modules/citrus_big5.c
188
if (c >= exclude->start && c <= exclude->end)
lib/libc/citrus/modules/citrus_big5.c
305
int c;
lib/libc/citrus/modules/citrus_big5.c
340
c = _citrus_BIG5_check(ei, psenc->ch[0] & 0xff);
lib/libc/citrus/modules/citrus_big5.c
341
if (c == 0)
lib/libc/citrus/modules/citrus_big5.c
343
while (psenc->chlen < c) {
lib/libc/citrus/modules/citrus_big5.c
352
switch (c) {
lib/libc/citrus/modules/citrus_big5.c
376
*nresult = c - chlenbak;
lib/libc/citrus/modules/citrus_dechanyu.c
147
is_singlebyte(int c)
lib/libc/citrus/modules/citrus_dechanyu.c
149
return c <= 0x7F;
lib/libc/citrus/modules/citrus_dechanyu.c
153
is_leadbyte(int c)
lib/libc/citrus/modules/citrus_dechanyu.c
155
return c >= 0xA1 && c <= 0xFE;
lib/libc/citrus/modules/citrus_dechanyu.c
159
is_trailbyte(int c)
lib/libc/citrus/modules/citrus_dechanyu.c
161
c &= ~0x80;
lib/libc/citrus/modules/citrus_dechanyu.c
162
return c >= 0x21 && c <= 0x7E;
lib/libc/citrus/modules/citrus_dechanyu.c
166
is_hanyu1(int c)
lib/libc/citrus/modules/citrus_dechanyu.c
168
return c == 0xC2;
lib/libc/citrus/modules/citrus_dechanyu.c
172
is_hanyu2(int c)
lib/libc/citrus/modules/citrus_dechanyu.c
174
return c == 0xCB;
lib/libc/citrus/modules/citrus_dechanyu.c
180
is_94charset(int c)
lib/libc/citrus/modules/citrus_dechanyu.c
182
return c >= 0x21 && c <= 0x7E;
lib/libc/citrus/modules/citrus_euc.c
134
_citrus_EUC_cs(unsigned int c)
lib/libc/citrus/modules/citrus_euc.c
136
c &= 0xff;
lib/libc/citrus/modules/citrus_euc.c
138
return ((c & 0x80) ? c == _SS3 ? 3 : c == _SS2 ? 2 : 1 : 0);
lib/libc/citrus/modules/citrus_euc.c
210
int c, cs, len;
lib/libc/citrus/modules/citrus_euc.c
246
c = ei->count[cs = _citrus_EUC_cs(psenc->ch[0] & 0xff)];
lib/libc/citrus/modules/citrus_euc.c
247
if (c == 0)
lib/libc/citrus/modules/citrus_euc.c
249
while (psenc->chlen < c) {
lib/libc/citrus/modules/citrus_euc.c
262
len = c - 1;
lib/libc/citrus/modules/citrus_euc.c
267
len = c;
lib/libc/citrus/modules/citrus_euc.c
285
*nresult = (size_t)(c - chlenbak);
lib/libc/citrus/modules/citrus_euctw.c
124
_citrus_EUCTW_cs(u_int c)
lib/libc/citrus/modules/citrus_euctw.c
126
c &= 0xff;
lib/libc/citrus/modules/citrus_euctw.c
128
return ((c & 0x80) ? (c == _SS2 ? 2 : 1) : 0);
lib/libc/citrus/modules/citrus_euctw.c
201
int c, cs;
lib/libc/citrus/modules/citrus_euctw.c
237
c = _citrus_EUCTW_count(cs = _citrus_EUCTW_cs(psenc->ch[0] & 0xff));
lib/libc/citrus/modules/citrus_euctw.c
238
if (c == 0)
lib/libc/citrus/modules/citrus_euctw.c
240
while (psenc->chlen < c) {
lib/libc/citrus/modules/citrus_euctw.c
282
*nresult = c - chlenbak;
lib/libc/citrus/modules/citrus_gbk2k.c
121
_mb_singlebyte(int c)
lib/libc/citrus/modules/citrus_gbk2k.c
123
c &= 0xff;
lib/libc/citrus/modules/citrus_gbk2k.c
124
return (c <= 0x7f);
lib/libc/citrus/modules/citrus_gbk2k.c
128
_mb_leadbyte(int c)
lib/libc/citrus/modules/citrus_gbk2k.c
130
c &= 0xff;
lib/libc/citrus/modules/citrus_gbk2k.c
131
return (0x81 <= c && c <= 0xfe);
lib/libc/citrus/modules/citrus_gbk2k.c
135
_mb_trailbyte(int c)
lib/libc/citrus/modules/citrus_gbk2k.c
137
c &= 0xff;
lib/libc/citrus/modules/citrus_gbk2k.c
138
return ((0x40 <= c && c <= 0x7e) || (0x80 <= c && c <= 0xfe));
lib/libc/citrus/modules/citrus_gbk2k.c
142
_mb_surrogate(int c)
lib/libc/citrus/modules/citrus_gbk2k.c
144
c &= 0xff;
lib/libc/citrus/modules/citrus_gbk2k.c
145
return (0x30 <= c && c <= 0x39);
lib/libc/citrus/modules/citrus_gbk2k.c
151
u_int32_t c;
lib/libc/citrus/modules/citrus_gbk2k.c
153
c = (u_int32_t)v; /* XXX */
lib/libc/citrus/modules/citrus_gbk2k.c
154
if (!(c & 0xffffff00))
lib/libc/citrus/modules/citrus_gbk2k.c
156
if (!(c & 0xffff0000))
lib/libc/citrus/modules/citrus_gbk2k.c
162
#define _PUSH_PSENC(c) (psenc->ch[psenc->chlen++] = (c))
lib/libc/citrus/modules/citrus_iso2022.c
854
int c;
lib/libc/citrus/modules/citrus_iso2022.c
868
c = 0;
lib/libc/citrus/modules/citrus_iso2022.c
893
c += result - p;
lib/libc/citrus/modules/citrus_iso2022.c
895
if (psenc->chlen > c)
lib/libc/citrus/modules/citrus_iso2022.c
896
memmove(psenc->ch, result, psenc->chlen - c);
lib/libc/citrus/modules/citrus_iso2022.c
897
if (psenc->chlen < c)
lib/libc/citrus/modules/citrus_iso2022.c
900
psenc->chlen -= c;
lib/libc/citrus/modules/citrus_iso2022.c
920
c += result - s0;
lib/libc/citrus/modules/citrus_iso2022.c
926
c += (result - s0);
lib/libc/citrus/modules/citrus_iso2022.c
934
n += c;
lib/libc/citrus/modules/citrus_iso2022.c
936
memcpy(psenc->ch, s0 - c, n);
lib/libc/citrus/modules/citrus_iso2022.c
957
*nresult = c - chlenbak;
lib/libc/citrus/modules/citrus_mapper_zone.c
107
int c, i;
lib/libc/citrus/modules/citrus_mapper_zone.c
112
c = _memstream_peek(ms);
lib/libc/citrus/modules/citrus_mapper_zone.c
114
if (sign == 0 && (c == '+' || c == '-')) {
lib/libc/citrus/modules/citrus_mapper_zone.c
115
sign = c;
lib/libc/citrus/modules/citrus_mapper_zone.c
118
} else if (!_bcs_isdigit(c))
lib/libc/citrus/modules/citrus_mapper_zone.c
120
} else if (!_bcs_isxdigit(c))
lib/libc/citrus/modules/citrus_mapper_zone.c
121
if (!(i==1 && c == 'x'))
lib/libc/citrus/modules/citrus_mapper_zone.c
137
int c;
lib/libc/citrus/modules/citrus_mapper_zone.c
140
c = _memstream_peek(ms);
lib/libc/citrus/modules/citrus_mapper_zone.c
141
if (c==0x00)
lib/libc/citrus/modules/citrus_mapper_zone.c
143
if (_bcs_isspace(c)) {
lib/libc/citrus/modules/citrus_mapper_zone.c
150
switch (c) {
lib/libc/citrus/modules/citrus_mapper_zone.c
155
return c;
lib/libc/citrus/modules/citrus_mapper_zone.c
170
switch (c) {
lib/libc/citrus/modules/citrus_mapper_zone.c
173
return c;
lib/libc/citrus/modules/citrus_mskanji.c
131
_mskanji1(int c)
lib/libc/citrus/modules/citrus_mskanji.c
134
if ((c >= 0x81 && c <= 0x9f) || (c >= 0xe0 && c <= 0xfc))
lib/libc/citrus/modules/citrus_mskanji.c
141
_mskanji2(int c)
lib/libc/citrus/modules/citrus_mskanji.c
144
if ((c >= 0x40 && c <= 0x7e) || (c >= 0x80 && c <= 0xfc))
lib/libc/citrus/modules/citrus_utf7.c
161
#define SHIFT7BIT(c) ((c) >> 7)
lib/libc/citrus/modules/citrus_utf7.c
162
#define ISSPECIAL(c) ((c) == '\0' || (c) == BASE64_IN)
lib/libc/citrus/modules/citrus_utf7.c
164
#define FINDLEN(ei, c) \
lib/libc/citrus/modules/citrus_utf7.c
165
(SHIFT7BIT((c)) ? -1 : (((ei)->cell[(c)] & EI_MASK) - 1))
lib/libc/citrus/modules/citrus_utf7.c
167
#define ISDIRECT(ei, c) (!SHIFT7BIT((c)) && (ISSPECIAL((c)) || \
lib/libc/citrus/modules/citrus_utf7.c
168
ei->cell[(c)] & (EI_DIRECT | EI_OPTION | EI_SPACE)))
lib/libc/citrus/modules/citrus_utf7.c
170
#define ISSAFE(ei, c) (!SHIFT7BIT((c)) && (ISSPECIAL((c)) || \
lib/libc/citrus/modules/citrus_utf7.c
171
(c < 0x80 && ei->cell[(c)] & (EI_DIRECT | EI_SPACE))))
lib/libc/citrus/modules/citrus_utf8.c
203
u_int32_t c;
lib/libc/citrus/modules/citrus_utf8.c
205
c = (u_int32_t)v; /*XXX*/
lib/libc/citrus/modules/citrus_utf8.c
207
if (c >= _UTF8_range[i] && c < _UTF8_range[i + 1])
lib/libc/citrus/modules/citrus_utf8.c
248
int c;
lib/libc/citrus/modules/citrus_utf8.c
271
c = _UTF8_count[ch = (unsigned char)psenc->ch[0]];
lib/libc/citrus/modules/citrus_utf8.c
272
if (c < 1 || c < psenc->chlen)
lib/libc/citrus/modules/citrus_utf8.c
275
if (c == 1)
lib/libc/citrus/modules/citrus_utf8.c
283
while (psenc->chlen < c) {
lib/libc/citrus/modules/citrus_utf8.c
290
wchar = psenc->ch[0] & (0x7f >> c);
lib/libc/citrus/modules/citrus_utf8.c
291
for (i = 1; i < c; i++) {
lib/libc/citrus/modules/citrus_utf8.c
296
_DIAGASSERT(_UTF8_findlen(wchar) == c);
lib/libc/citrus/modules/citrus_utf8.c
321
wchar_t c;
lib/libc/citrus/modules/citrus_utf8.c
342
c = wc;
lib/libc/citrus/modules/citrus_utf8.c
345
s[i] = 0x80 | (c & 0x3f);
lib/libc/citrus/modules/citrus_utf8.c
346
c >>= 6;
lib/libc/citrus/modules/citrus_utf8.c
348
s[0] = c;
lib/libc/compat/gen/compat___unvis13.c
53
__unvis13(char *cp, int c, int *astate, int flag)
lib/libc/compat/gen/compat___unvis13.c
56
return __unvis50(cp, c, astate, flag);
lib/libc/compat/gen/compat_unvis.c
57
unvis(char *cp, int c, int *astate, int flag)
lib/libc/compat/gen/compat_unvis.c
60
return __unvis50(cp, c, astate, flag);
lib/libc/compat/locale/compat_setlocale32.c
50
#error using wrong variant of compat_setlocale32.c
lib/libc/db/btree/bt_delete.c
110
status = __bt_dleaf(t, NULL, h, (u_int)c->pg.index);
lib/libc/db/btree/bt_delete.c
144
__bt_stkacq(BTREE *t, PAGE **hp, CURSOR *c)
lib/libc/db/btree/bt_delete.c
161
if ((e = __bt_search(t, &c->key, &exact)) == NULL)
lib/libc/db/btree/bt_delete.c
166
if (h->pgno == c->pg.pgno)
lib/libc/db/btree/bt_delete.c
175
while (h->pgno != c->pg.pgno) {
lib/libc/db/btree/bt_delete.c
215
if (h->pgno == c->pg.pgno)
lib/libc/db/btree/bt_delete.c
220
if ((e = __bt_search(t, &c->key, &exact)) == NULL)
lib/libc/db/btree/bt_delete.c
230
while (h->pgno != c->pg.pgno) {
lib/libc/db/btree/bt_delete.c
273
return ((*hp = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL);
lib/libc/db/btree/bt_delete.c
531
CURSOR *c;
lib/libc/db/btree/bt_delete.c
540
c = &t->bt_cursor;
lib/libc/db/btree/bt_delete.c
541
F_CLR(c, CURS_AFTER | CURS_BEFORE | CURS_ACQUIRE);
lib/libc/db/btree/bt_delete.c
554
&c->key, &c->key, NULL, NULL, 1)) != RET_SUCCESS)
lib/libc/db/btree/bt_delete.c
557
key = &c->key;
lib/libc/db/btree/bt_delete.c
564
F_SET(c, CURS_BEFORE);
lib/libc/db/btree/bt_delete.c
573
F_SET(c, CURS_AFTER);
lib/libc/db/btree/bt_delete.c
584
F_SET(c, CURS_BEFORE);
lib/libc/db/btree/bt_delete.c
596
F_SET(c, CURS_AFTER);
lib/libc/db/btree/bt_delete.c
598
dup2: c->pg.pgno = e.page->pgno;
lib/libc/db/btree/bt_delete.c
599
c->pg.index = e.index;
lib/libc/db/btree/bt_delete.c
608
__bt_ret(t, &e, &c->key, &c->key, NULL, NULL, 1)) == RET_SUCCESS) {
lib/libc/db/btree/bt_delete.c
609
F_SET(c, CURS_ACQUIRE);
lib/libc/db/btree/bt_delete.c
68
CURSOR *c;
lib/libc/db/btree/bt_delete.c
95
c = &t->bt_cursor;
lib/libc/db/btree/bt_delete.c
96
if (F_ISSET(c, CURS_INIT)) {
lib/libc/db/btree/bt_delete.c
97
if (F_ISSET(c, CURS_ACQUIRE | CURS_AFTER | CURS_BEFORE))
lib/libc/db/btree/bt_delete.c
99
if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL)
lib/libc/db/btree/bt_seq.c
248
CURSOR *c;
lib/libc/db/btree/bt_seq.c
258
c = &t->bt_cursor;
lib/libc/db/btree/bt_seq.c
287
if (F_ISSET(c, CURS_ACQUIRE)) {
lib/libc/db/btree/bt_seq.c
288
if ((rval = __bt_first(t, &c->key, ep, &exact)) == RET_ERROR)
lib/libc/db/btree/bt_seq.c
296
c->pg.pgno = ep->page->pgno;
lib/libc/db/btree/bt_seq.c
297
c->pg.index = ep->index;
lib/libc/db/btree/bt_seq.c
302
if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL)
lib/libc/db/btree/bt_seq.c
317
if (F_ISSET(c, CURS_AFTER))
lib/libc/db/btree/bt_seq.c
319
idx = c->pg.index;
lib/libc/db/btree/bt_seq.c
342
if (F_ISSET(c, CURS_BEFORE)) {
lib/libc/db/btree/bt_seq.c
343
usecurrent: F_CLR(c, CURS_AFTER | CURS_BEFORE);
lib/libc/db/btree/bt_seq.c
345
ep->index = c->pg.index;
lib/libc/db/btree/bt_seq.c
348
idx = c->pg.index;
lib/libc/db/btree/bt_split.c
618
CURSOR *c;
lib/libc/db/btree/bt_split.c
717
c = &t->bt_cursor;
lib/libc/db/btree/bt_split.c
718
if (F_ISSET(c, CURS_INIT) && c->pg.pgno == h->pgno) {
lib/libc/db/btree/bt_split.c
719
if (c->pg.index >= skip)
lib/libc/db/btree/bt_split.c
720
++c->pg.index;
lib/libc/db/btree/bt_split.c
721
if (c->pg.index < nxt) /* Left page. */
lib/libc/db/btree/bt_split.c
722
c->pg.pgno = l->pgno;
lib/libc/db/btree/bt_split.c
724
c->pg.pgno = r->pgno;
lib/libc/db/btree/bt_split.c
725
c->pg.index -= nxt;
lib/libc/db/hash/hash_func.c
100
if (!c && key > e)
lib/libc/db/hash/hash_func.c
102
dcharhash(h, c);
lib/libc/db/hash/hash_func.c
87
#define dcharhash(h, c) ((h) = 0x63c63cd9*(h) + 0x9c39c33d + (c))
lib/libc/db/hash/hash_func.c
94
uint8_t c;
lib/libc/db/hash/hash_func.c
99
c = *key++;
lib/libc/gdtoa/gdtoaimp.h
324
#define Storeinc(a,b,c) \
lib/libc/gdtoa/gdtoaimp.h
326
((unsigned short *)(void *)a)[0] = (unsigned short)c, \
lib/libc/gdtoa/gdtoaimp.h
329
#define Storeinc(a,b,c) \
lib/libc/gdtoa/gdtoaimp.h
331
((unsigned short *)(void *)a)[1] = (unsigned short)c, \
lib/libc/gdtoa/hexnan.c
104
if (/*(*/ c == ')' && havedig) {
lib/libc/gdtoa/hexnan.c
110
if (/*(*/ c == ')') {
lib/libc/gdtoa/hexnan.c
114
} while((c = *++s) != '\0');
lib/libc/gdtoa/hexnan.c
62
ULong c, h, *x, *x1, *xe;
lib/libc/gdtoa/hexnan.c
77
while((c = *(CONST unsigned char*)(s+1)) && c <= ' ')
lib/libc/gdtoa/hexnan.c
82
while((c = *(CONST unsigned char*)++s) != '\0') {
lib/libc/gdtoa/hexnan.c
83
if (!(h = hexdig[c])) {
lib/libc/gdtoa/hexnan.c
84
if (c <= ' ') {
lib/libc/gdtoa/misc.c
286
Bigint *c;
lib/libc/gdtoa/misc.c
300
c = a;
lib/libc/gdtoa/misc.c
302
b = c;
lib/libc/gdtoa/misc.c
310
c = Balloc(k);
lib/libc/gdtoa/misc.c
311
if (c == NULL)
lib/libc/gdtoa/misc.c
313
for(x = c->x, xa = x + wc; x < xa; x++)
lib/libc/gdtoa/misc.c
319
xc0 = c->x;
lib/libc/gdtoa/misc.c
387
for(xc0 = c->x, xc = xc0 + wc; wc > 0 && !*--xc; --wc) ;
lib/libc/gdtoa/misc.c
388
c->wds = wc;
lib/libc/gdtoa/misc.c
389
return c;
lib/libc/gdtoa/misc.c
566
Bigint *c;
lib/libc/gdtoa/misc.c
580
c = Balloc(0);
lib/libc/gdtoa/misc.c
581
if (c == NULL)
lib/libc/gdtoa/misc.c
583
c->wds = 1;
lib/libc/gdtoa/misc.c
584
c->x[0] = 0;
lib/libc/gdtoa/misc.c
585
return c;
lib/libc/gdtoa/misc.c
588
c = a;
lib/libc/gdtoa/misc.c
590
b = c;
lib/libc/gdtoa/misc.c
595
c = Balloc(a->k);
lib/libc/gdtoa/misc.c
596
if (c == NULL)
lib/libc/gdtoa/misc.c
598
c->sign = i;
lib/libc/gdtoa/misc.c
605
xc = c->x;
lib/libc/gdtoa/misc.c
654
c->wds = wa;
lib/libc/gdtoa/misc.c
655
return c;
lib/libc/gdtoa/qnan.c
100
b.D = c.D = a.d;
lib/libc/gdtoa/qnan.c
102
c.D = 37; /* never executed; just defeat optimization */
lib/libc/gdtoa/qnan.c
104
a.D = b.D - c.D;
lib/libc/gdtoa/qnan.c
83
U a, b, c;
lib/libc/gdtoa/qnan.c
87
c.f = a.f - b.f;
lib/libc/gdtoa/qnan.c
88
printf("#define f_QNAN 0x%lx\n", UL c.L[0]);
lib/libc/gdtoa/qnan.c
91
c.d = a.d - b.d; /* quiet NaN */
lib/libc/gdtoa/qnan.c
92
printf("#define d_QNAN0 0x%lx\n", UL c.L[0]);
lib/libc/gdtoa/qnan.c
93
printf("#define d_QNAN1 0x%lx\n", UL c.L[1]);
lib/libc/gdtoa/smisc.c
130
int c, d;
lib/libc/gdtoa/smisc.c
134
if ((c = *++s) >= 'A' && c <= 'Z')
lib/libc/gdtoa/smisc.c
135
c += 'a' - 'A';
lib/libc/gdtoa/smisc.c
136
if (c != d)
lib/libc/gdtoa/smisc.c
146
copybits(c, n, b) ULong *c; int n; Bigint *b;
lib/libc/gdtoa/smisc.c
148
copybits(ULong *c, int n, Bigint *b)
lib/libc/gdtoa/smisc.c
156
ce = c + ((unsigned int)(n-1) >> kshift) + 1;
lib/libc/gdtoa/smisc.c
161
*c++ = *x++;
lib/libc/gdtoa/smisc.c
166
Storeinc(c, x[1], x[0]);
lib/libc/gdtoa/smisc.c
168
*c++ = *x;
lib/libc/gdtoa/smisc.c
170
while(c < ce)
lib/libc/gdtoa/smisc.c
171
*c++ = 0;
lib/libc/gdtoa/strtod.c
197
for(nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++)
lib/libc/gdtoa/strtod.c
199
y = 10*y + c - '0';
lib/libc/gdtoa/strtod.c
201
z = 10*z + c - '0';
lib/libc/gdtoa/strtod.c
204
if (c == *decimalpoint) {
lib/libc/gdtoa/strtod.c
209
c = *s;
lib/libc/gdtoa/strtod.c
211
if (c == '.') {
lib/libc/gdtoa/strtod.c
212
c = *++s;
lib/libc/gdtoa/strtod.c
218
for(; c == '0'; c = *++s)
lib/libc/gdtoa/strtod.c
220
if (c > '0' && c <= '9') {
lib/libc/gdtoa/strtod.c
228
for(; c >= '0' && c <= '9'; c = *++s) {
lib/libc/gdtoa/strtod.c
231
if (c -= '0') {
lib/libc/gdtoa/strtod.c
239
y = 10*y + c;
lib/libc/gdtoa/strtod.c
241
z = 10*z + c;
lib/libc/gdtoa/strtod.c
248
if (c == 'e' || c == 'E') {
lib/libc/gdtoa/strtod.c
254
switch(c = *++s) {
lib/libc/gdtoa/strtod.c
259
c = *++s;
lib/libc/gdtoa/strtod.c
261
if (c >= '0' && c <= '9') {
lib/libc/gdtoa/strtod.c
262
while(c == '0')
lib/libc/gdtoa/strtod.c
263
c = *++s;
lib/libc/gdtoa/strtod.c
264
if (c > '0' && c <= '9') {
lib/libc/gdtoa/strtod.c
265
L = c - '0';
lib/libc/gdtoa/strtod.c
267
while((c = *++s) >= '0' && c <= '9')
lib/libc/gdtoa/strtod.c
268
L = 10*L + c - '0';
lib/libc/gdtoa/strtod.c
293
switch(c) {
lib/libc/gdtoa/strtod.c
99
int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, dsign,
lib/libc/gdtoa/strtodg.c
332
int bb0, bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, denorm;
lib/libc/gdtoa/strtodg.c
402
for(nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++)
lib/libc/gdtoa/strtodg.c
404
y = 10*y + c - '0';
lib/libc/gdtoa/strtodg.c
406
z = 10*z + c - '0';
lib/libc/gdtoa/strtodg.c
409
if (c == *decimalpoint) {
lib/libc/gdtoa/strtodg.c
414
c = *s;
lib/libc/gdtoa/strtodg.c
416
if (c == '.') {
lib/libc/gdtoa/strtodg.c
417
c = *++s;
lib/libc/gdtoa/strtodg.c
423
for(; c == '0'; c = *++s)
lib/libc/gdtoa/strtodg.c
425
if (c > '0' && c <= '9') {
lib/libc/gdtoa/strtodg.c
433
for(; c >= '0' && c <= '9'; c = *++s) {
lib/libc/gdtoa/strtodg.c
436
if (c -= '0') {
lib/libc/gdtoa/strtodg.c
444
y = 10*y + c;
lib/libc/gdtoa/strtodg.c
446
z = 10*z + c;
lib/libc/gdtoa/strtodg.c
453
if (c == 'e' || c == 'E') {
lib/libc/gdtoa/strtodg.c
461
switch(c = *++s) {
lib/libc/gdtoa/strtodg.c
466
c = *++s;
lib/libc/gdtoa/strtodg.c
468
if (c >= '0' && c <= '9') {
lib/libc/gdtoa/strtodg.c
469
while(c == '0')
lib/libc/gdtoa/strtodg.c
470
c = *++s;
lib/libc/gdtoa/strtodg.c
471
if (c > '0' && c <= '9') {
lib/libc/gdtoa/strtodg.c
472
L = c - '0';
lib/libc/gdtoa/strtodg.c
474
while((c = *++s) >= '0' && c <= '9')
lib/libc/gdtoa/strtodg.c
475
L = 10*L + c - '0';
lib/libc/gdtoa/strtodg.c
497
switch(c) {
lib/libc/gdtoa/sum.c
101
c->x[c->wds++] = 1;
lib/libc/gdtoa/sum.c
103
return c;
lib/libc/gdtoa/sum.c
43
Bigint *c;
lib/libc/gdtoa/sum.c
50
c = b; b = a; a = c;
lib/libc/gdtoa/sum.c
52
c = Balloc(a->k);
lib/libc/gdtoa/sum.c
53
if (c == NULL)
lib/libc/gdtoa/sum.c
55
c->wds = a->wds;
lib/libc/gdtoa/sum.c
59
xc = c->x;
lib/libc/gdtoa/sum.c
93
if (c->wds == c->maxwds) {
lib/libc/gdtoa/sum.c
94
b = Balloc(c->k + 1);
lib/libc/gdtoa/sum.c
97
Bcopy(b, c);
lib/libc/gdtoa/sum.c
98
Bfree(c);
lib/libc/gdtoa/sum.c
99
c = b;
lib/libc/gen/arc4random.c
117
rotate(uint32_t u, unsigned c)
lib/libc/gen/arc4random.c
120
return (u << c) | (u >> (32 - c));
lib/libc/gen/arc4random.c
123
#define QUARTERROUND(a, b, c, d) do { \
lib/libc/gen/arc4random.c
125
(c) += (d); (b) ^= (c); (b) = rotate((b), 12); \
lib/libc/gen/arc4random.c
127
(c) += (d); (b) ^= (c); (b) = rotate((b), 7); \
lib/libc/gen/arc4random.c
134
const uint8_t *c)
lib/libc/gen/arc4random.c
140
j0 = x0 = crypto_le32dec(c + 0);
lib/libc/gen/arc4random.c
141
j1 = x1 = crypto_le32dec(c + 4);
lib/libc/gen/arc4random.c
142
j2 = x2 = crypto_le32dec(c + 8);
lib/libc/gen/arc4random.c
143
j3 = x3 = crypto_le32dec(c + 12);
lib/libc/gen/fnmatch.c
108
if (c <= test && test <= c2)
lib/libc/gen/fnmatch.c
110
} else if (c == test)
lib/libc/gen/fnmatch.c
121
char c, test;
lib/libc/gen/fnmatch.c
130
switch (c = FOLDCASE(*pattern++, flags)) {
lib/libc/gen/fnmatch.c
147
c = FOLDCASE(*pattern, flags);
lib/libc/gen/fnmatch.c
149
while (c == '*')
lib/libc/gen/fnmatch.c
150
c = FOLDCASE(*++pattern, flags);
lib/libc/gen/fnmatch.c
158
if (c == EOS) {
lib/libc/gen/fnmatch.c
165
} else if (c == '/' && flags & FNM_PATHNAME) {
lib/libc/gen/fnmatch.c
203
if ((c = FOLDCASE(*pattern++, flags)) == EOS) {
lib/libc/gen/fnmatch.c
204
c = '\0';
lib/libc/gen/fnmatch.c
210
if (c != FOLDCASE(*string++, flags))
lib/libc/gen/fnmatch.c
77
char c, c2;
lib/libc/gen/fnmatch.c
92
for (ok = 0; (c = FOLDCASE(*pattern++, flags)) != ']' || need;) {
lib/libc/gen/fnmatch.c
94
if (c == '/')
lib/libc/gen/fnmatch.c
96
if (c == '\\' && !(flags & FNM_NOESCAPE))
lib/libc/gen/fnmatch.c
97
c = FOLDCASE(*pattern++, flags);
lib/libc/gen/fnmatch.c
98
if (c == EOS)
lib/libc/gen/getcap.c
369
int c, slash;
lib/libc/gen/getcap.c
414
c = *bp++;
lib/libc/gen/getcap.c
415
if (c == '\n') {
lib/libc/gen/getcap.c
427
if (c == ':') {
lib/libc/gen/getcap.c
438
} else if (c == '\\') {
lib/libc/gen/getcap.c
440
} else if (c != ' ' && c != '\t') {
lib/libc/gen/getcap.c
447
*rp++ = c;
lib/libc/gen/getpass.c
149
c = '\1';
lib/libc/gen/getpass.c
151
for (size_t l = 0; c != '\0'; ) {
lib/libc/gen/getpass.c
167
if (read(fd[0], &c, 1) != 1)
lib/libc/gen/getpass.c
190
if (c == C(VREPRINT, CTRL('r')) || c == C(VSTART, CTRL('q')) ||
lib/libc/gen/getpass.c
191
c == C(VSTOP, CTRL('s')) || c == C(VSTATUS, CTRL('t')) ||
lib/libc/gen/getpass.c
192
c == C(VDISCARD, CTRL('o')))
lib/libc/gen/getpass.c
196
if (c == C(VLNEXT, CTRL('v'))) {
lib/libc/gen/getpass.c
202
if (c == C(VKILL, CTRL('u')) || c == C(VWERASE, CTRL('w'))) {
lib/libc/gen/getpass.c
212
if (c == C(VERASE, CTRL('h'))) {
lib/libc/gen/getpass.c
224
if (c == C(VINTR, CTRL('c'))) {
lib/libc/gen/getpass.c
228
if (c == C(VQUIT, CTRL('\\'))) {
lib/libc/gen/getpass.c
232
if (c == C(VSUSP, CTRL('z')) || c == C(VDSUSP, CTRL('y'))) {
lib/libc/gen/getpass.c
238
if (c == C(VEOF, CTRL('d'))) {
lib/libc/gen/getpass.c
243
c = '\0';
lib/libc/gen/getpass.c
249
if (c == C(VEOL, CTRL('j')) || c == C(VEOL2, CTRL('m')))
lib/libc/gen/getpass.c
250
c = '\0';
lib/libc/gen/getpass.c
265
if (c == '\0' && l > 0)
lib/libc/gen/getpass.c
273
c &= 0x7f;
lib/libc/gen/getpass.c
274
if ((flags & GETPASS_FORCE_LOWER) && isupper((unsigned char)c))
lib/libc/gen/getpass.c
275
c = tolower((unsigned char)c);
lib/libc/gen/getpass.c
276
if ((flags & GETPASS_FORCE_UPPER) && islower((unsigned char)c))
lib/libc/gen/getpass.c
277
c = toupper((unsigned char)c);
lib/libc/gen/getpass.c
279
buf[l++] = c;
lib/libc/gen/getpass.c
280
if (c) {
lib/libc/gen/getpass.c
284
(void)write(fd[1], isprint((unsigned char)c) ?
lib/libc/gen/getpass.c
285
&c : "?", 1);
lib/libc/gen/getpass.c
293
c = errno;
lib/libc/gen/getpass.c
295
errno = c;
lib/libc/gen/getpass.c
301
c = errno;
lib/libc/gen/getpass.c
303
errno = c;
lib/libc/gen/getpass.c
90
char c;
lib/libc/gen/getttyent.c
158
while ((c = *++p) == ' ' || c == '\t')
lib/libc/gen/getttyent.c
178
int c, q;
lib/libc/gen/getttyent.c
183
for (q = 0, t = p; (c = *p) != '\0'; p++) {
lib/libc/gen/getttyent.c
184
if (c == '"') {
lib/libc/gen/getttyent.c
193
if (c == '#') {
lib/libc/gen/getttyent.c
194
*zapchar = c;
lib/libc/gen/getttyent.c
199
if (c == '\t' || c == ' ' || c == '\n') {
lib/libc/gen/getttyent.c
200
*zapchar = c;
lib/libc/gen/getttyent.c
202
while ((c = *p) == '\t' || c == ' ' || c == '\n')
lib/libc/gen/getttyent.c
87
int c;
lib/libc/gen/glob.c
149
#define CHAR(c) ((Char)((c)&M_ASCII))
lib/libc/gen/glob.c
150
#define META(c) ((Char)((c)|M_QUOTE))
lib/libc/gen/glob.c
157
#define ismeta(c) (((c)&M_QUOTE) != 0)
lib/libc/gen/glob.c
188
int c;
lib/libc/gen/glob.c
208
while (bufnext < bufend && (c = *patnext++) != EOS)
lib/libc/gen/glob.c
209
*bufnext++ = c;
lib/libc/gen/glob.c
212
while (bufnext < bufend && (c = *patnext++) != EOS)
lib/libc/gen/glob.c
213
if (c == QUOTE) {
lib/libc/gen/glob.c
214
if ((c = *patnext++) == EOS) {
lib/libc/gen/glob.c
215
c = QUOTE;
lib/libc/gen/glob.c
218
*bufnext++ = c | M_PROTECT;
lib/libc/gen/glob.c
221
*bufnext++ = c;
lib/libc/gen/glob.c
481
int c, error;
lib/libc/gen/glob.c
495
while ((c = *qpatnext++) != EOS) {
lib/libc/gen/glob.c
496
switch (c) {
lib/libc/gen/glob.c
498
c = *qpatnext;
lib/libc/gen/glob.c
499
if (c == NOT)
lib/libc/gen/glob.c
504
if (c == NOT)
lib/libc/gen/glob.c
509
if (c == NOT)
lib/libc/gen/glob.c
511
c = *qpatnext++;
lib/libc/gen/glob.c
513
*bufnext++ = CHAR(c);
lib/libc/gen/glob.c
515
(c = qpatnext[1]) != RBRACKET) {
lib/libc/gen/glob.c
517
*bufnext++ = CHAR(c);
lib/libc/gen/glob.c
520
} while ((c = *qpatnext++) != RBRACKET);
lib/libc/gen/glob.c
540
*bufnext++ = CHAR(c);
lib/libc/gen/glob.c
949
Char c, k;
lib/libc/gen/glob.c
960
c = *pat;
lib/libc/gen/glob.c
963
switch (c & M_MASK) {
lib/libc/gen/glob.c
984
while (((c = *pat++) & M_MASK) != M_END)
lib/libc/gen/glob.c
986
if (c <= k && k <= pat[1])
lib/libc/gen/glob.c
989
} else if (c == k)
lib/libc/gen/glob.c
995
if (*name != c)
lib/libc/gen/isascii.c
48
isascii(int c)
lib/libc/gen/isascii.c
50
return ((unsigned)(c) <= 0177);
lib/libc/gen/isctype.c
105
toupper(int c)
lib/libc/gen/isctype.c
107
CTYPE_CHECK(c);
lib/libc/gen/isctype.c
108
return (int)_toupper_tab_[c + 1];
lib/libc/gen/isctype.c
112
toupper_l(int c, locale_t loc)
lib/libc/gen/isctype.c
114
CTYPE_CHECK(c);
lib/libc/gen/isctype.c
115
return (int)(_RUNE_LOCALE(loc)->rl_toupper_tab[c + 1]);
lib/libc/gen/isctype.c
119
tolower(int c)
lib/libc/gen/isctype.c
121
CTYPE_CHECK(c);
lib/libc/gen/isctype.c
122
return (int)_tolower_tab_[c + 1];
lib/libc/gen/isctype.c
126
tolower_l(int c, locale_t loc)
lib/libc/gen/isctype.c
128
CTYPE_CHECK(c);
lib/libc/gen/isctype.c
129
return (int)(_RUNE_LOCALE(loc)->rl_tolower_tab[c + 1]);
lib/libc/gen/isctype.c
133
_toupper(int c)
lib/libc/gen/isctype.c
135
return (c - 'a' + 'A');
lib/libc/gen/isctype.c
139
_tolower(int c)
lib/libc/gen/isctype.c
141
return (c - 'A' + 'a');
lib/libc/gen/isctype.c
59
ctype_nasaldemon(const char *func, int c)
lib/libc/gen/isctype.c
64
c);
lib/libc/gen/isctype.c
71
#define CTYPE_CHECK(c) do \
lib/libc/gen/isctype.c
73
if (__predict_false(((c) != EOF && (c) < 0) || (c) > UCHAR_MAX)) \
lib/libc/gen/isctype.c
74
return ctype_nasaldemon(__func__, c); \
lib/libc/gen/isctype.c
79
is##name(int c) \
lib/libc/gen/isctype.c
81
CTYPE_CHECK(c); \
lib/libc/gen/isctype.c
82
return (int)_ctype_tab_[c + 1] & (bit); \
lib/libc/gen/isctype.c
85
is##name ## _l(int c, locale_t loc) \
lib/libc/gen/isctype.c
87
CTYPE_CHECK(c); \
lib/libc/gen/isctype.c
88
return (int)((_RUNE_LOCALE(loc)->rl_ctype_tab[c + 1]) & (bit)); \
lib/libc/gen/setmode.c
162
#define ADDCMD(a, b, c, d) do { \
lib/libc/gen/setmode.c
174
set = addcmd(set, (mode_t)(a), (mode_t)(b), (mode_t)(c), (d)); \
lib/libc/gen/shquote.c
102
n = ((c = *arg) != '\0') ? 1 : 0; \
lib/libc/gen/shquote.c
133
wchar_t c, lastc;
lib/libc/gen/shquote.c
137
char c, lastc;
lib/libc/gen/shquote.c
157
lastc = c;
lib/libc/gen/shquote.c
159
if (c == '\'') {
lib/libc/gen/shquote.c
166
if (n <= 0 || c != '\'')
lib/libc/gen/shquote.c
175
PUT(c);
lib/libc/gen/shquote.c
94
n = mbrtowc(&c, arg, MB_CUR_MAX, &mbsi); \
lib/libc/gen/sysctlbyname.c
45
#define sysctl(a,b,c,d,e,f) rump_sys___sysctl(a,b,c,d,e,f)
lib/libc/gen/sysctlgetmibinfo.c
474
#define COPY_OUT_DATA(t, c, cs, nlp, l) do { \
lib/libc/gen/sysctlgetmibinfo.c
475
if ((c) != NULL && (cs) != NULL) \
lib/libc/gen/sysctlgetmibinfo.c
476
*(cs) = strlcpy((c), (t), *(cs)); \
lib/libc/gen/sysctlgetmibinfo.c
54
#define sysctl(a,b,c,d,e,f) rump_sys___sysctl(a,b,c,d,e,f)
lib/libc/gen/sysctlnametomib.c
46
#define sysctl(a,b,c,d,e,f) rump_sys___sysctl(a,b,c,d,e,f)
lib/libc/gen/toascii.c
48
toascii(int c)
lib/libc/gen/toascii.c
50
return ((c) & 0177);
lib/libc/gen/unvis.c
194
unvis(char *cp, int c, int *astate, int flag)
lib/libc/gen/unvis.c
196
unsigned char uc = (unsigned char)c;
lib/libc/gen/unvis.c
229
if ((flag & VIS_NOESCAPE) == 0 && c == '\\') {
lib/libc/gen/unvis.c
233
if ((flag & VIS_HTTP1808) && c == '%') {
lib/libc/gen/unvis.c
237
if ((flag & VIS_HTTP1866) && c == '&') {
lib/libc/gen/unvis.c
241
if ((flag & VIS_MIMESTYLE) && c == '=') {
lib/libc/gen/unvis.c
245
*cp = c;
lib/libc/gen/unvis.c
249
switch(c) {
lib/libc/gen/unvis.c
251
*cp = c;
lib/libc/gen/unvis.c
256
*cp = (c - '0');
lib/libc/gen/unvis.c
318
if (isgraph(c)) {
lib/libc/gen/unvis.c
319
*cp = c;
lib/libc/gen/unvis.c
327
if (c == '-')
lib/libc/gen/unvis.c
329
else if (c == '^')
lib/libc/gen/unvis.c
337
*cp |= c;
lib/libc/gen/unvis.c
341
if (c == '?')
lib/libc/gen/unvis.c
344
*cp |= c & 037;
lib/libc/gen/unvis.c
353
*cp = (*cp << 3) + (c - '0');
lib/libc/gen/unvis.c
369
*cp = (*cp << 3) + (c - '0');
lib/libc/gen/unvis.c
507
char c;
lib/libc/gen/unvis.c
521
while ((c = *src++) != '\0') {
lib/libc/gen/unvis.c
523
switch (unvis(&t, c, &state, flag)) {
lib/libc/gen/unvis.c
544
if (unvis(&t, c, &state, UNVIS_END) == UNVIS_VALID) {
lib/libc/gen/unvis.c
77
#define isoctal(c) (((u_char)(c)) >= '0' && ((u_char)(c)) <= '7')
lib/libc/gen/unvis.c
78
#define xtod(c) (isdigit(c) ? (c - '0') : ((tolower(c) - 'a') + 10))
lib/libc/gen/unvis.c
79
#define XTOD(c) (isdigit(c) ? (c - '0') : ((c - 'A') + 10))
lib/libc/gen/vis.c
104
#define iscgraph(c) isgraph_l(c, LC_C_LOCALE)
lib/libc/gen/vis.c
107
#define iscgraph(c) isgraph(c)
lib/libc/gen/vis.c
111
iscgraph(int c) {
lib/libc/gen/vis.c
116
rv = isgraph(c);
lib/libc/gen/vis.c
124
#define ISGRAPH(flags, c) \
lib/libc/gen/vis.c
125
(((flags) & VIS_NOLOCALE) ? iscgraph(c) : iswgraph(c))
lib/libc/gen/vis.c
127
#define iswoctal(c) (((u_char)(c)) >= L'0' && ((u_char)(c)) <= L'7')
lib/libc/gen/vis.c
128
#define iswwhite(c) (c == L' ' || c == L'\t' || c == L'\n')
lib/libc/gen/vis.c
129
#define iswsafe(c) (c == L'\b' || c == BELL || c == L'\r')
lib/libc/gen/vis.c
130
#define xtoa(c) L"0123456789abcdef"[c]
lib/libc/gen/vis.c
131
#define XTOA(c) L"0123456789ABCDEF"[c]
lib/libc/gen/vis.c
166
do_hvis(wchar_t *dst, wint_t c, int flags, wint_t nextc, const wchar_t *extra)
lib/libc/gen/vis.c
168
if (iswalnum(c)
lib/libc/gen/vis.c
170
|| c == L'$' || c == L'-' || c == L'_' || c == L'.' || c == L'+'
lib/libc/gen/vis.c
172
|| c == L'!' || c == L'*' || c == L'\'' || c == L'(' || c == L')'
lib/libc/gen/vis.c
173
|| c == L',')
lib/libc/gen/vis.c
174
dst = do_svis(dst, c, flags, nextc, extra);
lib/libc/gen/vis.c
177
*dst++ = xtoa(((unsigned int)c >> 4) & 0xf);
lib/libc/gen/vis.c
178
*dst++ = xtoa((unsigned int)c & 0xf);
lib/libc/gen/vis.c
189
do_mvis(wchar_t *dst, wint_t c, int flags, wint_t nextc, const wchar_t *extra)
lib/libc/gen/vis.c
191
if ((c != L'\n') &&
lib/libc/gen/vis.c
193
((iswspace(c) && (nextc == L'\r' || nextc == L'\n')) ||
lib/libc/gen/vis.c
195
(!iswspace(c) && (c < 33 || (c > 60 && c < 62) || c > 126)) ||
lib/libc/gen/vis.c
197
wcschr(L"#$@[\\]^`{|}~", c) != NULL)) {
lib/libc/gen/vis.c
199
*dst++ = XTOA(((unsigned int)c >> 4) & 0xf);
lib/libc/gen/vis.c
200
*dst++ = XTOA((unsigned int)c & 0xf);
lib/libc/gen/vis.c
202
dst = do_svis(dst, c, flags, nextc, extra);
lib/libc/gen/vis.c
210
do_mbyte(wchar_t *dst, wint_t c, int flags, wint_t nextc, int iswextra)
lib/libc/gen/vis.c
213
switch (c) {
lib/libc/gen/vis.c
261
if (ISGRAPH(flags, c) && !iswoctal(c)) {
lib/libc/gen/vis.c
263
*dst++ = c;
lib/libc/gen/vis.c
268
if (iswextra || ((c & 0177) == L' ') || (flags & VIS_OCTAL)) {
lib/libc/gen/vis.c
270
*dst++ = (u_char)(((u_int32_t)(u_char)c >> 6) & 03) + L'0';
lib/libc/gen/vis.c
271
*dst++ = (u_char)(((u_int32_t)(u_char)c >> 3) & 07) + L'0';
lib/libc/gen/vis.c
272
*dst++ = (c & 07) + L'0';
lib/libc/gen/vis.c
277
if (c & 0200) {
lib/libc/gen/vis.c
278
c &= 0177;
lib/libc/gen/vis.c
282
if (iswcntrl(c)) {
lib/libc/gen/vis.c
284
if (c == 0177)
lib/libc/gen/vis.c
287
*dst++ = c + L'@';
lib/libc/gen/vis.c
290
*dst++ = c;
lib/libc/gen/vis.c
307
do_svis(wchar_t *dst, wint_t c, int flags, wint_t nextc, const wchar_t *extra)
lib/libc/gen/vis.c
312
iswextra = wcschr(extra, c) != NULL;
lib/libc/gen/vis.c
313
if (!iswextra && (ISGRAPH(flags, c) || iswwhite(c) ||
lib/libc/gen/vis.c
314
((flags & VIS_SAFE) && iswsafe(c)))) {
lib/libc/gen/vis.c
315
*dst++ = c;
lib/libc/gen/vis.c
325
if ((c & wmsk) || i == 0)
lib/libc/gen/vis.c
327
(uint64_t)(c & bmsk) >> shft),
lib/libc/gen/vis.c
405
wint_t c;
lib/libc/gen/vis.c
556
c = *src++;
lib/libc/gen/vis.c
557
dst = (*f)(dst, c, flags, len >= 1 ? *src : L'\0', extra);
lib/libc/gen/vis.c
702
svis(char *mbdst, int c, int flags, int nextc, const char *mbextra)
lib/libc/gen/vis.c
707
cc[0] = c;
lib/libc/gen/vis.c
717
snvis(char *mbdst, size_t dlen, int c, int flags, int nextc, const char *mbextra)
lib/libc/gen/vis.c
722
cc[0] = c;
lib/libc/gen/vis.c
769
vis(char *mbdst, int c, int flags, int nextc)
lib/libc/gen/vis.c
774
cc[0] = c;
lib/libc/gen/vis.c
784
nvis(char *mbdst, size_t dlen, int c, int flags, int nextc)
lib/libc/gen/vis.c
789
cc[0] = c;
lib/libc/gen/wordexp.c
255
char c;
lib/libc/gen/wordexp.c
259
while ((c = *words++) != '\0') {
lib/libc/gen/wordexp.c
260
switch (c) {
lib/libc/gen/wordexp.c
275
while ((c = *words++) != '\0' && c != '`')
lib/libc/gen/wordexp.c
276
if (c == '\\' && (c = *words++) == '\0')
lib/libc/gen/wordexp.c
278
if (c == '\0')
lib/libc/gen/wordexp.c
287
if ((c = *words++) == '\0')
lib/libc/gen/wordexp.c
289
else if (quote + squote == 0 && c == '(') {
lib/libc/gen/wordexp.c
293
while ((c = *words++) != '\0') {
lib/libc/gen/wordexp.c
294
if (c == '\\') {
lib/libc/gen/wordexp.c
295
if ((c = *words++) == '\0')
lib/libc/gen/wordexp.c
297
} else if (c == '(')
lib/libc/gen/wordexp.c
299
else if (c == ')' && --level == 0)
lib/libc/gen/wordexp.c
302
if (c == '\0' || level != 0)
lib/libc/gen/wordexp.c
304
} else if (quote + squote == 0 && c == '{') {
lib/libc/gen/wordexp.c
306
while ((c = *words++) != '\0') {
lib/libc/gen/wordexp.c
307
if (c == '\\') {
lib/libc/gen/wordexp.c
308
if ((c = *words++) == '\0')
lib/libc/gen/wordexp.c
310
} else if (c == '{')
lib/libc/gen/wordexp.c
312
else if (c == '}' && --level == 0)
lib/libc/gen/wordexp.c
315
if (c == '\0' || level != 0)
lib/libc/gen/wordexp.c
318
c = *--words;
lib/libc/hash/hmac.c
124
uint64_t c[32];
lib/libc/hash/hmac.c
132
(*h->init)(c);
lib/libc/hash/hmac.c
133
(*h->update)(c, k, (unsigned int)klen);
lib/libc/hash/hmac.c
134
(*h->final)(d, c);
lib/libc/hash/hmac.c
150
(*h->init)(c);
lib/libc/hash/hmac.c
151
(*h->update)(c, ipad, (unsigned int)h->blocksize);
lib/libc/hash/hmac.c
152
(*h->update)(c, text, (unsigned int)tlen);
lib/libc/hash/hmac.c
153
(*h->final)(p, c);
lib/libc/hash/hmac.c
155
(*h->init)(c);
lib/libc/hash/hmac.c
156
(*h->update)(c, opad, (unsigned int)h->blocksize);
lib/libc/hash/hmac.c
157
(*h->update)(c, digest, (unsigned int)h->digsize);
lib/libc/hash/hmac.c
158
(*h->final)(p, c);
lib/libc/include/port_before.h
6
#define DE_CONST(c,v) v = __UNCONST(c)
lib/libc/include/port_before.h
8
#define DE_CONST(c,v) v = ((c) ? \
lib/libc/include/port_before.h
9
strchr((const void *)(c), *(const char *)(const void *)(c)) : NULL)
lib/libc/include/reentrant.h
165
#define cond_init(c, t, a) __libc_cond_init((c), (a))
lib/libc/include/reentrant.h
166
#define cond_signal(c) __libc_cond_signal((c))
lib/libc/include/reentrant.h
167
#define cond_broadcast(c) __libc_cond_broadcast((c))
lib/libc/include/reentrant.h
168
#define cond_wait(c, m) __libc_cond_wait((c), (m))
lib/libc/include/reentrant.h
169
#define cond_timedwait(c, m, t) __libc_cond_timedwait((c), (m), (t))
lib/libc/include/reentrant.h
170
#define cond_destroy(c) __libc_cond_destroy((c))
lib/libc/include/reentrant.h
290
#define cond_init(c, t, a) __nothing
lib/libc/include/reentrant.h
291
#define cond_signal(c) __nothing
lib/libc/include/reentrant.h
292
#define cond_broadcast(c) __nothing
lib/libc/include/reentrant.h
293
#define cond_wait(c, m) __nothing
lib/libc/include/reentrant.h
294
#define cond_timedwait(c, m, t) __nothing
lib/libc/include/reentrant.h
295
#define cond_destroy(c) __nothing
lib/libc/inet/inet_network.c
66
u_char c;
lib/libc/inet/inet_network.c
79
while ((c = *cp) != 0) {
lib/libc/inet/inet_network.c
80
if (isdigit(c)) {
lib/libc/inet/inet_network.c
81
if (base == 8 && (c == '8' || c == '9'))
lib/libc/inet/inet_network.c
83
val = (val * base) + (c - '0');
lib/libc/inet/inet_network.c
88
if (base == 16 && isxdigit(c)) {
lib/libc/inet/inet_network.c
89
val = (val << 4) + (c + 10 - (islower(c) ? 'a' : 'A'));
lib/libc/inet/inet_pton.c
105
unsigned char c;
lib/libc/inet/inet_pton.c
112
c = *src;
lib/libc/inet/inet_pton.c
119
if (!isdigit(c))
lib/libc/inet/inet_pton.c
122
if (c == '0') {
lib/libc/inet/inet_pton.c
123
c = *++src;
lib/libc/inet/inet_pton.c
124
if (c == 'x' || c == 'X')
lib/libc/inet/inet_pton.c
125
base = 16, c = *++src;
lib/libc/inet/inet_pton.c
126
else if (isdigit(c) && c != '9')
lib/libc/inet/inet_pton.c
133
if (isdigit(c)) {
lib/libc/inet/inet_pton.c
134
digit = c - '0';
lib/libc/inet/inet_pton.c
138
c = *++src;
lib/libc/inet/inet_pton.c
139
} else if (base == 16 && isxdigit(c)) {
lib/libc/inet/inet_pton.c
140
digit = c + 10 - (islower(c) ? 'a' : 'A');
lib/libc/inet/inet_pton.c
144
c = *++src;
lib/libc/inet/inet_pton.c
148
if (c == '.') {
lib/libc/inet/inet_pton.c
159
c = *++src;
lib/libc/inet/inet_pton.c
166
if (c != '\0' && !isspace(c))
lib/libc/inet/nsap_addr.c
53
xtob(int c) {
lib/libc/inet/nsap_addr.c
54
return (c - (((c >= '0') && (c <= '9')) ? '0' : '7'));
lib/libc/inet/nsap_addr.c
59
u_char c, nib;
lib/libc/inet/nsap_addr.c
69
while ((c = *ascii++) != '\0' && len < (u_int)maxlen) {
lib/libc/inet/nsap_addr.c
70
if (c == '.' || c == '+' || c == '/')
lib/libc/inet/nsap_addr.c
72
if (!isascii(c))
lib/libc/inet/nsap_addr.c
74
if (islower(c))
lib/libc/inet/nsap_addr.c
75
c = toupper(c);
lib/libc/inet/nsap_addr.c
76
if (isxdigit(c)) {
lib/libc/inet/nsap_addr.c
77
nib = xtob(c);
lib/libc/inet/nsap_addr.c
78
c = *ascii++;
lib/libc/inet/nsap_addr.c
79
if (c != '\0') {
lib/libc/inet/nsap_addr.c
80
c = toupper(c);
lib/libc/inet/nsap_addr.c
81
if (isxdigit(c)) {
lib/libc/inet/nsap_addr.c
82
*binary++ = (nib << 4) | xtob(c);
lib/libc/locale/_wctrans.c
105
return (c);
lib/libc/locale/_wctrans.c
80
_towctrans_ext(wint_t c, struct _WCTransEntry const *te)
lib/libc/locale/_wctrans.c
89
if (c == WEOF)
lib/libc/locale/_wctrans.c
90
return (c);
lib/libc/locale/_wctrans.c
92
c0 = (__nbrune_t)c; /* XXX assumes wchar_t = int */
lib/libc/locale/_wctrans_local.h
37
_towctrans_priv(wint_t c, _WCTransEntry const *te)
lib/libc/locale/_wctrans_local.h
39
return (_RUNE_ISCACHED(c)
lib/libc/locale/_wctrans_local.h
40
? (wint_t)te->te_cached[(size_t)c]
lib/libc/locale/_wctrans_local.h
41
: _towctrans_ext(c, te));
lib/libc/locale/fix_grouping.c
57
#define isdigit(c) (c >= '0' && c <= '9')
lib/libc/locale/multibyte_amd1.c
216
btowc_l(int c, locale_t loc)
lib/libc/locale/multibyte_amd1.c
221
err0 = _citrus_ctype_btowc(_CITRUS_CTYPE(loc), c, &ret);
lib/libc/locale/multibyte_amd1.c
229
btowc(int c)
lib/libc/locale/multibyte_amd1.c
231
return btowc_l(c, _current_locale());
lib/libc/locale/rune.c
382
int c; \
lib/libc/locale/rune.c
386
map, &c) || c == EOF)) \
lib/libc/locale/rune.c
387
c = i; \
lib/libc/locale/rune.c
388
rlp->rlp_to##name##_tab[i + 1] = (short)c; \
lib/libc/locale/runetype_file.h
48
#define UINT32_C(c) ((uint32_t)(c##U))
lib/libc/locale/runetype_local.h
48
#define _RUNE_ISCACHED(c) ((c)>=0 && (c)<_CTYPE_CACHE_SIZE)
lib/libc/nameser/ns_name.c
103
u_char c;
lib/libc/nameser/ns_name.c
1032
char c;
lib/libc/nameser/ns_name.c
1050
switch((c = *cp)) {
lib/libc/nameser/ns_name.c
1068
if (!isdigit(c&0xff))
lib/libc/nameser/ns_name.c
1072
if (c == '0') {
lib/libc/nameser/ns_name.c
1079
if (!isxdigit(c&0xff))
lib/libc/nameser/ns_name.c
1082
value += digitvalue[(int)c];
lib/libc/nameser/ns_name.c
149
c = *cp++;
lib/libc/nameser/ns_name.c
150
if (special(c)) {
lib/libc/nameser/ns_name.c
156
*dn++ = (char)c;
lib/libc/nameser/ns_name.c
157
} else if (!printable(c)) {
lib/libc/nameser/ns_name.c
163
*dn++ = digits[c / 100];
lib/libc/nameser/ns_name.c
164
*dn++ = digits[(c % 100) / 10];
lib/libc/nameser/ns_name.c
165
*dn++ = digits[c % 10];
lib/libc/nameser/ns_name.c
171
*dn++ = (char)c;
lib/libc/nameser/ns_name.c
223
int c, n, escaped, e = 0;
lib/libc/nameser/ns_name.c
231
while ((c = *src++) != 0) {
lib/libc/nameser/ns_name.c
233
if (c == '[') { /*%< start a bit string label */
lib/libc/nameser/ns_name.c
246
if ((c = *src++) == 0)
lib/libc/nameser/ns_name.c
248
else if (c != '.') {
lib/libc/nameser/ns_name.c
254
else if ((cp = strchr(digits, c)) != NULL) {
lib/libc/nameser/ns_name.c
256
if ((c = *src++) == 0 ||
lib/libc/nameser/ns_name.c
257
(cp = strchr(digits, c)) == NULL) {
lib/libc/nameser/ns_name.c
262
if ((c = *src++) == 0 ||
lib/libc/nameser/ns_name.c
263
(cp = strchr(digits, c)) == NULL) {
lib/libc/nameser/ns_name.c
272
c = n;
lib/libc/nameser/ns_name.c
275
} else if (c == '\\') {
lib/libc/nameser/ns_name.c
278
} else if (c == '.') {
lib/libc/nameser/ns_name.c
279
c = (int)(bp - label - 1);
lib/libc/nameser/ns_name.c
280
if ((c & NS_CMPRSFLGS) != 0) { /*%< Label too big. */
lib/libc/nameser/ns_name.c
288
*label = c;
lib/libc/nameser/ns_name.c
291
if (c != 0) {
lib/libc/nameser/ns_name.c
306
if (c == 0 || *src == '.') {
lib/libc/nameser/ns_name.c
317
*bp++ = (u_char)c;
lib/libc/nameser/ns_name.c
319
c = (int)(bp - label - 1);
lib/libc/nameser/ns_name.c
320
if ((c & NS_CMPRSFLGS) != 0) { /*%< Label too big. */
lib/libc/nameser/ns_name.c
329
*label = c;
lib/libc/nameser/ns_name.c
330
if (c != 0) {
lib/libc/nameser/ns_name.c
361
u_char c;
lib/libc/nameser/ns_name.c
389
c = *cp++;
lib/libc/nameser/ns_name.c
390
if (isascii(c) && isupper(c))
lib/libc/nameser/ns_name.c
391
*dn++ = tolower(c);
lib/libc/nameser/ns_name.c
393
*dn++ = c;
lib/libc/nameser/ns_print.c
441
u_int c = *rdata++;
lib/libc/nameser/ns_print.c
443
if (c & 0200) {
lib/libc/nameser/ns_print.c
455
c <<= 1;
lib/libc/nameser/ns_print.c
572
ptrdiff_t n, c;
lib/libc/nameser/ns_print.c
579
for (c = 0; c < n*8; c++)
lib/libc/nameser/ns_print.c
580
if (NS_NXT_BIT_ISSET(c, rdata)) {
lib/libc/nameser/ns_print.c
582
p_type((int)c));
lib/libc/nameser/ns_print.c
752
u_int t, w, l, j, k, c;
lib/libc/nameser/ns_print.c
856
c = w * 256 + j * 8 + k;
lib/libc/nameser/ns_print.c
858
" %s", p_type((ns_type)c));
lib/libc/nameser/ns_print.c
868
u_int w, l, j, k, c;
lib/libc/nameser/ns_print.c
881
c = w * 256 + j * 8 + k;
lib/libc/nameser/ns_print.c
883
p_type((ns_type)c));
lib/libc/net/getaddrinfo.c
386
#define hyphenchar(c) ((c) == '-')
lib/libc/net/getaddrinfo.c
387
#define periodchar(c) ((c) == PERIOD)
lib/libc/net/getaddrinfo.c
388
#define underschar(c) ((c) == '_')
lib/libc/net/getaddrinfo.c
389
#define alphachar(c) (((c) >= 'a' && (c) <= 'z') || ((c) >= 'A' && (c) <= 'Z'))
lib/libc/net/getaddrinfo.c
390
#define digitchar(c) ((c) >= '0' && (c) <= '9')
lib/libc/net/getaddrinfo.c
392
#define firstchar(c) (alphachar(c) || digitchar(c) || underschar(c))
lib/libc/net/getaddrinfo.c
393
#define lastchar(c) (alphachar(c) || digitchar(c))
lib/libc/net/getaddrinfo.c
394
#define middlechar(c) (lastchar(c) || hyphenchar(c))
lib/libc/net/getifaddrs.c
58
#define sysctl(a,b,c,d,e,f) rump_sys___sysctl(a,b,c,d,e,f)
lib/libc/net/nsdispatch.c
237
#define _NSVECT_FREE(v, c, s, f) \
lib/libc/net/nsdispatch.c
239
_nsvect_free((v), (c), (s), (f)); \
lib/libc/net/rcmd.c
201
char c;
lib/libc/net/rcmd.c
340
if (read(s, &c, 1) != 1) {
lib/libc/net/rcmd.c
344
if (c != 0) {
lib/libc/net/rcmd.c
345
while (read(s, &c, 1) == 1) {
lib/libc/net/rcmd.c
346
(void)write(STDERR_FILENO, &c, 1);
lib/libc/net/rcmd.c
347
if (c == '\n')
lib/libc/regex/engine.c
1001
assert(c != OUT);
lib/libc/regex/engine.c
1002
st = step(m->g, startst, stopst, tmp, c, st, sflags);
lib/libc/regex/engine.c
1003
SP("saft", st, c);
lib/libc/regex/engine.c
127
#define NONCHAR(c) ((c) <= OUT)
lib/libc/regex/engine.c
148
#define SP(t, s, c) print(m, t, s, c, stdout)
lib/libc/regex/engine.c
152
#define SP(t, s, c) /* nothing */
lib/libc/regex/engine.c
886
wint_t c;
lib/libc/regex/engine.c
907
c = OUT;
lib/libc/regex/engine.c
914
c = (uch)*(start - 1);
lib/libc/regex/engine.c
918
lastc = c;
lib/libc/regex/engine.c
921
c = OUT;
lib/libc/regex/engine.c
924
clen = XMBRTOWC(&c, p, (size_t)(m->endp - p),
lib/libc/regex/engine.c
938
if ( (c == '\n' && m->g->cflags&REG_NEWLINE) ||
lib/libc/regex/engine.c
939
(c == OUT && !(m->eflags&REG_NOTEOL)) ) {
lib/libc/regex/engine.c
948
if (c == OUT && (m->eflags & REG_NOTEOL) == 0) {
lib/libc/regex/engine.c
957
SP("sboleol", st, c);
lib/libc/regex/engine.c
962
(c != OUT && ISWORD(c)) ) {
lib/libc/regex/engine.c
966
(flagch == EOL || (c != OUT && !ISWORD(c))) ) {
lib/libc/regex/engine.c
971
SP("sboweow", st, c);
lib/libc/regex/engine.c
973
if (lastc != OUT && c != OUT &&
lib/libc/regex/engine.c
974
ISWORD(lastc) == ISWORD(c)) {
lib/libc/regex/engine.c
976
} else if ((lastc == OUT && !ISWORD(c)) ||
lib/libc/regex/engine.c
977
(c == OUT && !ISWORD(lastc))) {
lib/libc/regex/engine.c
982
SP("snwbnd", st, c);
lib/libc/regex/regcomp.c
1003
i = (c&~BACKSL) - '0';
lib/libc/regex/regcomp.c
1030
if ((c & BACKSL) == 0 || may_escape(p, wc))
lib/libc/regex/regcomp.c
1069
} else if (c == '$') /* $ (but not \$) ends it */
lib/libc/regex/regcomp.c
1178
char c;
lib/libc/regex/regcomp.c
1192
c = (MORE2()) ? PEEK2() : '\0';
lib/libc/regex/regcomp.c
1198
c = '\0';
lib/libc/regex/regcomp.c
1202
switch (c) {
lib/libc/regex/regcomp.c
1206
c = PEEK();
lib/libc/regex/regcomp.c
1207
(void)REQUIRE(c != '-' && c != ']', REG_ECTYPE);
lib/libc/regex/regcomp.c
1215
c = PEEK();
lib/libc/regex/regcomp.c
1216
(void)REQUIRE(c != '-' && c != ']', REG_ECOLLATE);
lib/libc/regex/regcomp.c
1261
p_b_pseudoclass(struct parse *p, char c) {
lib/libc/regex/regcomp.c
1270
switch (c) {
lib/libc/regex/regcomp.c
1340
wint_t c;
lib/libc/regex/regcomp.c
1345
c = p_b_coll_elem(p, '=');
lib/libc/regex/regcomp.c
1346
CHadd(p, cs, c);
lib/libc/regex/regcomp.c
150
static int p_b_pseudoclass(struct parse *p, char c);
lib/libc/regex/regcomp.c
198
#define SEE(c) (MORE() && PEEK() == (c))
lib/libc/regex/regcomp.c
201
#define EAT(c) ((SEE(c)) ? (NEXT(), 1) : 0)
lib/libc/regex/regcomp.c
211
#define MUSTSEE(c, e) (REQUIRE(MORE() && PEEK() == (c), e))
lib/libc/regex/regcomp.c
212
#define MUSTEAT(c, e) (REQUIRE(MORE() && GETNEXT() == (c), e))
lib/libc/regex/regcomp.c
213
#define MUSTNOTSEE(c, e) (REQUIRE(!MORE() || PEEK() != (c), e))
lib/libc/regex/regcomp.c
260
__regex_iswctype(wint_t c, wctype_t ct)
lib/libc/regex/regcomp.c
264
return (*wctypes[ct - 1].func)(c);
lib/libc/regex/regcomp.c
443
char c;
lib/libc/regex/regcomp.c
459
c = GETNEXT();
lib/libc/regex/regcomp.c
465
switch (c) {
lib/libc/regex/regcomp.c
626
c = PEEK();
lib/libc/regex/regcomp.c
628
if (!( c == '*' || c == '+' || c == '?' || c == '{'))
lib/libc/regex/regcomp.c
630
else if (c == '{')
lib/libc/regex/regcomp.c
636
switch (c) {
lib/libc/regex/regcomp.c
679
c = PEEK();
lib/libc/regex/regcomp.c
680
if (!( c == '*' || c == '+' || c == '?' ||
lib/libc/regex/regcomp.c
681
(c == '{' && MORE2() && isdigit((uch)PEEK2())) ) )
lib/libc/regex/regcomp.c
886
int c;
lib/libc/regex/regcomp.c
901
c = (uch)GETNEXT();
lib/libc/regex/regcomp.c
902
if (c == '\\') {
lib/libc/regex/regcomp.c
905
c = BACKSL | cc;
lib/libc/regex/regcomp.c
909
switch (c) {
lib/libc/regex/regcomp.c
956
switch (c) {
lib/libc/regex/regex2.h
204
#define ISWORD(c) (iswalnum((uch)(c)) || (c) == '_')
lib/libc/regex/regsub.c
108
char c;
lib/libc/regex/regsub.c
114
while ((c = *sub++) != '\0') {
lib/libc/regex/regsub.c
116
switch (c) {
lib/libc/regex/regsub.c
132
if (c == '\\' && (*sub == '\\' || *sub == '&'))
lib/libc/regex/regsub.c
133
c = *sub++;
lib/libc/regex/regsub.c
134
addchar(&s, c);
lib/libc/regex/regsub.c
73
addchar(struct str *s, int c)
lib/libc/regex/regsub.c
78
s->s_ptr[s->s_len++] = c;
lib/libc/regex/regsub.c
79
if (c == 0) {
lib/libc/regex/regsub.c
81
s->s_ptr[s->s_max - 1] = c;
lib/libc/regex/utils.h
61
#define iswctype(c, t) __regex_iswctype((c), (t))
lib/libc/regex/utils.h
82
#define memmove(d, s, c) bcopy(s, d, c)
lib/libc/resolv/res_comp.c
161
#define hyphenchar(c) ((c) == 0x2d)
lib/libc/resolv/res_comp.c
162
#define bslashchar(c) ((c) == 0x5c)
lib/libc/resolv/res_comp.c
163
#define periodchar(c) ((c) == PERIOD)
lib/libc/resolv/res_comp.c
164
#define asterchar(c) ((c) == 0x2a)
lib/libc/resolv/res_comp.c
165
#define alphachar(c) (((c) >= 0x41 && (c) <= 0x5a) \
lib/libc/resolv/res_comp.c
166
|| ((c) >= 0x61 && (c) <= 0x7a))
lib/libc/resolv/res_comp.c
167
#define digitchar(c) ((c) >= 0x30 && (c) <= 0x39)
lib/libc/resolv/res_comp.c
169
#define borderchar(c) (alphachar(c) || digitchar(c))
lib/libc/resolv/res_comp.c
170
#define middlechar(c) (borderchar(c) || hyphenchar(c))
lib/libc/resolv/res_comp.c
171
#define domainchar(c) ((c) > 0x20 && (c) < 0x7f)
lib/libc/resolv/res_data.c
320
res_opt(int a, u_char *b, int c, int d)
lib/libc/resolv/res_data.c
322
return res_nopt(&_nres, a, b, c, d);
lib/libc/resolv/res_init.c
155
# define isascii(c) (!(c & 0200))
lib/libc/rpc/svc_fdset.h
10
# define fcntl(a, b, c) rump_sys_fcntl(a, b, c)
lib/libc/rpc/svc_fdset.h
12
# define read(a, b, c) rump_sys_read(a, b, c)
lib/libc/rpc/svc_fdset.h
14
# define write(a, b, c) rump_sys_write(a, b, c)
lib/libc/rpc/svc_fdset.h
16
# define pollts(a, b, c, d) rump_sys_pollts(a, b, c, d)
lib/libc/rpc/svc_fdset.h
18
# define select(a, b, c, d, e) rump_sys_select(a, b, c, d, e)
lib/libc/stdio/fputc.c
51
fputc(int c, FILE *fp)
lib/libc/stdio/fputc.c
56
r = __sputc(c, fp);
lib/libc/stdio/funopen.c
138
void *c = d->cookie;
lib/libc/stdio/funopen.c
143
return (*cf)(c);
lib/libc/stdio/gets.c
58
int c;
lib/libc/stdio/gets.c
64
for (s = buf; (c = getchar_unlocked()) != '\n'; ) {
lib/libc/stdio/gets.c
65
if (c == EOF) {
lib/libc/stdio/gets.c
73
*s++ = c;
lib/libc/stdio/putc.c
57
putc(int c, FILE *fp)
lib/libc/stdio/putc.c
62
r = __sputc(c, fp);
lib/libc/stdio/putc.c
68
putc_unlocked(int c, FILE *fp)
lib/libc/stdio/putc.c
71
return __sputc(c, fp);
lib/libc/stdio/putchar.c
55
putchar(int c)
lib/libc/stdio/putchar.c
61
r = __sputc(c, fp);
lib/libc/stdio/putchar.c
67
putchar_unlocked(int c)
lib/libc/stdio/putchar.c
69
return __sputc(c, stdout);
lib/libc/stdio/puts.c
58
size_t c;
lib/libc/stdio/puts.c
68
c = strlen(s);
lib/libc/stdio/puts.c
71
iov[0].iov_len = c;
lib/libc/stdio/puts.c
74
uio.uio_resid = c + 1;
lib/libc/stdio/ungetc.c
124
c = (unsigned char)c;
lib/libc/stdio/ungetc.c
135
*--fp->_p = c;
lib/libc/stdio/ungetc.c
138
return c;
lib/libc/stdio/ungetc.c
148
fp->_p[-1] == c) {
lib/libc/stdio/ungetc.c
152
return c;
lib/libc/stdio/ungetc.c
163
fp->_ubuf[sizeof(fp->_ubuf) - 1] = c;
lib/libc/stdio/ungetc.c
167
return c;
lib/libc/stdio/ungetc.c
93
ungetc(int c, FILE *fp)
lib/libc/stdio/ungetc.c
98
if (c == EOF)
lib/libc/stdio/vfscanf.c
1014
(c != "nfinity"[infnanpos] &&
lib/libc/stdio/vfscanf.c
1015
c != "NFINITY"[infnanpos]))
lib/libc/stdio/vfscanf.c
1026
if (c != 'A' && c != 'a')
lib/libc/stdio/vfscanf.c
1030
if (c != 'N' && c != 'n')
lib/libc/stdio/vfscanf.c
1036
if (c != '(')
lib/libc/stdio/vfscanf.c
1040
if (c == ')') {
lib/libc/stdio/vfscanf.c
1043
} else if (!isalnum_l(c, loc) && c != '_')
lib/libc/stdio/vfscanf.c
1051
if (c == 'X' || c == 'x') {
lib/libc/stdio/vfscanf.c
1059
if ((ishex && isxdigit_l(c, loc)) || isdigit_l(c, loc))
lib/libc/stdio/vfscanf.c
1063
if (c != decpt)
lib/libc/stdio/vfscanf.c
1070
if (((c == 'E' || c == 'e') && !ishex) ||
lib/libc/stdio/vfscanf.c
1071
((c == 'P' || c == 'p') && ishex)) {
lib/libc/stdio/vfscanf.c
1076
} else if ((ishex && isxdigit_l(c, loc)) || isdigit_l(c, loc)) {
lib/libc/stdio/vfscanf.c
1084
if (c == '-' || c == '+')
lib/libc/stdio/vfscanf.c
1089
if (isdigit_l(c, loc))
lib/libc/stdio/vfscanf.c
1097
*p++ = c;
lib/libc/stdio/vfscanf.c
162
int c; /* character from format, or conversion */
lib/libc/stdio/vfscanf.c
193
c = (unsigned char)*fmt++;
lib/libc/stdio/vfscanf.c
194
if (c == 0)
lib/libc/stdio/vfscanf.c
196
if (isspace_l(c, loc)) {
lib/libc/stdio/vfscanf.c
202
if (c != '%')
lib/libc/stdio/vfscanf.c
210
again: c = *fmt++;
lib/libc/stdio/vfscanf.c
211
switch (c) {
lib/libc/stdio/vfscanf.c
217
if (*fp->_p != c)
lib/libc/stdio/vfscanf.c
258
width = width * 10 + c - '0';
lib/libc/stdio/vfscanf.c
265
c = CT_INT;
lib/libc/stdio/vfscanf.c
270
c = CT_INT;
lib/libc/stdio/vfscanf.c
275
c = CT_INT;
lib/libc/stdio/vfscanf.c
281
c = CT_INT;
lib/libc/stdio/vfscanf.c
289
c = CT_INT;
lib/libc/stdio/vfscanf.c
297
c = CT_FLOAT;
lib/libc/stdio/vfscanf.c
305
c = CT_STRING;
lib/libc/stdio/vfscanf.c
311
c = CT_CCL;
lib/libc/stdio/vfscanf.c
319
c = CT_CHAR;
lib/libc/stdio/vfscanf.c
324
c = CT_INT; /* assumes sizeof(uintmax_t) */
lib/libc/stdio/vfscanf.c
389
switch (c) {
lib/libc/stdio/vfscanf.c
670
c = *fp->_p;
lib/libc/stdio/vfscanf.c
675
switch (c) {
lib/libc/stdio/vfscanf.c
758
*p++ = c;
lib/libc/stdio/vfscanf.c
775
c = ((u_char *)p)[-1];
lib/libc/stdio/vfscanf.c
776
if (c == 'x' || c == 'X') {
lib/libc/stdio/vfscanf.c
778
(void)ungetc(c, fp);
lib/libc/stdio/vfscanf.c
860
int c, n, v, i;
lib/libc/stdio/vfscanf.c
865
c = *fmt++; /* first char hat => negated scanset */
lib/libc/stdio/vfscanf.c
866
if (c == '^') {
lib/libc/stdio/vfscanf.c
868
c = *fmt++; /* get new first char */
lib/libc/stdio/vfscanf.c
875
if (c == 0)
lib/libc/stdio/vfscanf.c
887
tab[c] = v; /* take character c */
lib/libc/stdio/vfscanf.c
915
if (n == ']' || (__collate_load_error ? n < c :
lib/libc/stdio/vfscanf.c
916
__collate_range_cmp(n, c, loc) < 0)) {
lib/libc/stdio/vfscanf.c
917
c = '-';
lib/libc/stdio/vfscanf.c
924
tab[++c] = v;
lib/libc/stdio/vfscanf.c
925
while (c < n);
lib/libc/stdio/vfscanf.c
928
if (__collate_range_cmp(c, i, loc) < 0 &&
lib/libc/stdio/vfscanf.c
933
c = n;
lib/libc/stdio/vfscanf.c
941
c = *fmt++;
lib/libc/stdio/vfscanf.c
942
if (c == 0)
lib/libc/stdio/vfscanf.c
944
if (c == ']')
lib/libc/stdio/vfscanf.c
952
c = n;
lib/libc/stdio/vfscanf.c
969
unsigned char c;
lib/libc/stdio/vfscanf.c
984
c = *fp->_p;
lib/libc/stdio/vfscanf.c
989
if (c == '-' || c == '+')
lib/libc/stdio/vfscanf.c
994
switch (c) {
lib/libc/stdio/vfwprintf.c
251
#define to_digit(c) ((c) - '0')
lib/libc/stdio/vfwprintf.c
252
#define is_digit(c) ((unsigned)to_digit(c) <= 9)
lib/libc/stdio/vfwprintf.c
76
#define MEMCHR(a, b, c) wmemchr(a, b, c)
lib/libc/stdio/vfwprintf.c
86
#define MEMCHR(a, b, c) memchr(a, b, c)
lib/libc/stdio/vfwscanf.c
152
wint_t c; /* character from format, or conversion */
lib/libc/stdio/vfwscanf.c
185
c = *fmt++;
lib/libc/stdio/vfwscanf.c
186
if (c == 0)
lib/libc/stdio/vfwscanf.c
188
if (iswspace_l(c, loc)) {
lib/libc/stdio/vfwscanf.c
189
while ((c = __fgetwc_unlock(fp)) != WEOF &&
lib/libc/stdio/vfwscanf.c
190
iswspace_l(c, loc))
lib/libc/stdio/vfwscanf.c
192
if (c != WEOF)
lib/libc/stdio/vfwscanf.c
193
ungetwc(c, fp);
lib/libc/stdio/vfwscanf.c
196
if (c != '%')
lib/libc/stdio/vfwscanf.c
204
again: c = *fmt++;
lib/libc/stdio/vfwscanf.c
205
switch (c) {
lib/libc/stdio/vfwscanf.c
211
if (wi != c) {
lib/libc/stdio/vfwscanf.c
253
width = width * 10 + c - '0';
lib/libc/stdio/vfwscanf.c
260
c = CT_INT;
lib/libc/stdio/vfwscanf.c
265
c = CT_INT;
lib/libc/stdio/vfwscanf.c
270
c = CT_INT;
lib/libc/stdio/vfwscanf.c
276
c = CT_INT;
lib/libc/stdio/vfwscanf.c
284
c = CT_INT;
lib/libc/stdio/vfwscanf.c
292
c = CT_FLOAT;
lib/libc/stdio/vfwscanf.c
300
c = CT_STRING;
lib/libc/stdio/vfwscanf.c
317
c = CT_CCL;
lib/libc/stdio/vfwscanf.c
325
c = CT_CHAR;
lib/libc/stdio/vfwscanf.c
330
c = CT_INT; /* assumes sizeof(uintmax_t) */
lib/libc/stdio/vfwscanf.c
383
switch (c) {
lib/libc/stdio/vfwscanf.c
580
c = __fgetwc_unlock(fp);
lib/libc/stdio/vfwscanf.c
585
switch (c) {
lib/libc/stdio/vfwscanf.c
663
if (c != WEOF)
lib/libc/stdio/vfwscanf.c
664
ungetwc(c, fp);
lib/libc/stdio/vfwscanf.c
670
*p++ = (wchar_t)c;
lib/libc/stdio/vfwscanf.c
683
c = p[-1];
lib/libc/stdio/vfwscanf.c
684
if (c == 'x' || c == 'X') {
lib/libc/stdio/vfwscanf.c
686
ungetwc(c, fp);
lib/libc/stdio/vfwscanf.c
771
wchar_t c;
lib/libc/stdio/vfwscanf.c
785
c = WEOF;
lib/libc/stdio/vfwscanf.c
787
if ((c = __fgetwc_unlock(fp)) == WEOF)
lib/libc/stdio/vfwscanf.c
793
if (c == '-' || c == '+')
lib/libc/stdio/vfwscanf.c
798
switch (c) {
lib/libc/stdio/vfwscanf.c
818
(c != "nfinity"[infnanpos] &&
lib/libc/stdio/vfwscanf.c
819
c != "NFINITY"[infnanpos]))
lib/libc/stdio/vfwscanf.c
830
if (c != 'A' && c != 'a')
lib/libc/stdio/vfwscanf.c
834
if (c != 'N' && c != 'n')
lib/libc/stdio/vfwscanf.c
840
if (c != '(')
lib/libc/stdio/vfwscanf.c
844
if (c == ')') {
lib/libc/stdio/vfwscanf.c
847
} else if (!iswalnum_l(c, loc) && c != '_')
lib/libc/stdio/vfwscanf.c
855
if (c == 'X' || c == 'x') {
lib/libc/stdio/vfwscanf.c
863
if ((ishex && iswxdigit_l(c, loc)) ||
lib/libc/stdio/vfwscanf.c
864
iswdigit_l(c, loc))
lib/libc/stdio/vfwscanf.c
868
if (c != decpt)
lib/libc/stdio/vfwscanf.c
875
if (((c == 'E' || c == 'e') && !ishex) ||
lib/libc/stdio/vfwscanf.c
876
((c == 'P' || c == 'p') && ishex)) {
lib/libc/stdio/vfwscanf.c
881
} else if ((ishex && iswxdigit_l(c, loc)) ||
lib/libc/stdio/vfwscanf.c
882
iswdigit_l(c, loc)) {
lib/libc/stdio/vfwscanf.c
890
if (c == '-' || c == '+')
lib/libc/stdio/vfwscanf.c
895
if (iswdigit_l(c, loc))
lib/libc/stdio/vfwscanf.c
903
*p++ = c;
lib/libc/stdio/vfwscanf.c
904
c = WEOF;
lib/libc/stdio/vfwscanf.c
908
if (c != WEOF)
lib/libc/stdio/vfwscanf.c
909
ungetwc(c, fp);
lib/libc/stdio/vsnprintf_ss.c
72
#define to_digit(c) ((c) - '0')
lib/libc/stdio/vsnprintf_ss.c
73
#define is_digit(c) ((unsigned)to_digit(c) <= 9)
lib/libc/stdio/wbuf.c
56
__swbuf(int c, FILE *fp)
lib/libc/stdio/wbuf.c
76
c = (unsigned char)c;
lib/libc/stdio/wbuf.c
95
*fp->_p++ = c;
lib/libc/stdio/wbuf.c
96
if (++n == fp->_bf._size || (fp->_flags & __SLBF && c == '\n'))
lib/libc/stdio/wbuf.c
99
return c;
lib/libc/stdlib/getopt_long.c
114
int c;
lib/libc/stdlib/getopt_long.c
116
c = a % b;
lib/libc/stdlib/getopt_long.c
117
while (c != 0) {
lib/libc/stdlib/getopt_long.c
119
b = c;
lib/libc/stdlib/getopt_long.c
120
c = a % b;
lib/libc/stdlib/jemalloc.c
143
#define STRERROR_R(a, b, c) strerror_r_ss(a, b, c);
lib/libc/stdlib/jemalloc.c
810
#define UTRACE(a, b, c) \
lib/libc/stdlib/jemalloc.c
815
ut.r = c; \
lib/libc/stdlib/malloc.c
281
#define UTRACE(a, b, c) \
lib/libc/stdlib/malloc.c
284
u.p=a; u.s = b; u.r=c; \
lib/libc/stdlib/malloc.c
288
#define UTRACE(a,b,c)
lib/libc/stdlib/qsort.c
91
med3(char *a, char *b, char *c,
lib/libc/stdlib/qsort.c
96
(cmp(b, c, cookie) < 0 ? b : (cmp(a, c, cookie) < 0 ? c : a ))
lib/libc/stdlib/qsort.c
97
:(cmp(b, c, cookie) > 0 ? b : (cmp(a, c, cookie) < 0 ? a : c ));
lib/libc/stdlib/radixsort.c
105
u_int c;
lib/libc/stdlib/radixsort.c
119
u_int c;
lib/libc/stdlib/radixsort.c
152
u_int c;
lib/libc/stdlib/radixsort.c
176
c = tr[(*ak++)[i]];
lib/libc/stdlib/radixsort.c
177
if (++count[c] == 1 && c != endch) {
lib/libc/stdlib/radixsort.c
178
if (c < bmin)
lib/libc/stdlib/radixsort.c
179
bmin = c;
lib/libc/stdlib/radixsort.c
231
for (aj = a; aj < an; *aj = r, aj += count[c], count[c] = 0)
lib/libc/stdlib/radixsort.c
232
for (r = *aj; aj < (ak = --top[c = tr[r[i]]]);)
lib/libc/stdlib/radixsort.c
243
u_int c;
lib/libc/stdlib/radixsort.c
265
c = tr[(*ak)[i]];
lib/libc/stdlib/radixsort.c
266
if (++count[c] == 1 && c != endch) {
lib/libc/stdlib/radixsort.c
267
if (c < bmin)
lib/libc/stdlib/radixsort.c
268
bmin = c;
lib/libc/stdlib/radixsort.c
291
if ((c = *cp) > 1) {
lib/libc/stdlib/radixsort.c
292
if (c > bigc) {
lib/libc/stdlib/radixsort.c
293
bigc = c;
lib/libc/stdlib/radixsort.c
296
push(ak, c, i+1);
lib/libc/stdlib/radixsort.c
298
top[cp-count] = ak += c;
lib/libc/stdlib/radixsort.c
85
for (c = 0; c < endch; c++) \
lib/libc/stdlib/radixsort.c
86
tr0[c] = c + 1; \
lib/libc/stdlib/radixsort.c
87
tr0[c] = 0; \
lib/libc/stdlib/radixsort.c
88
for (c++; c < 256; c++) \
lib/libc/stdlib/radixsort.c
89
tr0[c] = c; \
lib/libc/string/Lint_index.c
12
index(const char *src, int c)
lib/libc/string/Lint_memccpy.c
12
memccpy(void *dst, const void *src, int c, size_t n)
lib/libc/string/Lint_memchr.c
12
memchr(const void *b, int c, size_t len)
lib/libc/string/Lint_memset.c
12
memset(void *b, int c, size_t len)
lib/libc/string/Lint_rindex.c
12
rindex(const char *src, int c)
lib/libc/string/Lint_strchr.c
12
strchr(const char *src, int c)
lib/libc/string/Lint_strrchr.c
12
strrchr(const char *src, int c)
lib/libc/string/memccpy.c
45
memccpy(void *t, const void *f, int c, size_t n)
lib/libc/string/memccpy.c
54
unsigned char uc = c;
lib/libc/string/memrchr.c
40
memrchr(const void *s, int c, size_t n)
lib/libc/string/memrchr.c
46
const unsigned char cmp = c;
lib/libc/string/strcasestr.c
51
char c, sc;
lib/libc/string/strcasestr.c
57
if ((c = *find++) != 0) {
lib/libc/string/strcasestr.c
58
c = tolower((unsigned char)c);
lib/libc/string/strcasestr.c
64
} while ((char)tolower((unsigned char)sc) != c);
lib/libc/string/stresep.c
68
int c, sc;
lib/libc/string/stresep.c
79
c = *s++;
lib/libc/string/stresep.c
81
while (esc != '\0' && c == esc) {
lib/libc/string/stresep.c
83
c = *s++;
lib/libc/string/stresep.c
88
if ((sc = *spanp++) == c) {
lib/libc/string/stresep.c
89
if (c == '\0')
lib/libc/string/strnstr.c
55
char c, sc;
lib/libc/string/strnstr.c
58
if ((c = *find++) != '\0') {
lib/libc/string/strnstr.c
64
} while (sc != c);
lib/libc/string/strtok_r.c
54
int c, sc;
lib/libc/string/strtok_r.c
68
c = *s++;
lib/libc/string/strtok_r.c
70
if (c == sc)
lib/libc/string/strtok_r.c
74
if (c == 0) { /* no non-delimiter characters */
lib/libc/string/strtok_r.c
85
c = *s++;
lib/libc/string/strtok_r.c
88
if ((sc = *spanp++) == c) {
lib/libc/string/strtok_r.c
89
if (c == 0)
lib/libc/string/wcschr.c
40
wcschr(const wchar_t *p, wchar_t c)
lib/libc/string/wcschr.c
45
if (*p == c) {
lib/libc/string/wcsrchr.c
40
wcsrchr(const wchar_t *s, wchar_t c)
lib/libc/string/wcsrchr.c
50
if (*p == c)
lib/libc/string/wcstok.c
57
wchar_t c, sc;
lib/libc/string/wcstok.c
71
c = *s++;
lib/libc/string/wcstok.c
73
if (c == sc)
lib/libc/string/wcstok.c
77
if (c == L'\0') { /* no non-delimiter characters */
lib/libc/string/wcstok.c
88
c = *s++;
lib/libc/string/wcstok.c
91
if ((sc = *spanp++) == c) {
lib/libc/string/wcstok.c
92
if (c == L'\0')
lib/libc/string/wmemchr.c
40
wmemchr(const wchar_t *s, wchar_t c, size_t n)
lib/libc/string/wmemchr.c
47
if (*s == c)
lib/libc/string/wmemset.c
40
wmemset(wchar_t *s, wchar_t c, size_t n)
lib/libc/string/wmemset.c
49
*p = c;
lib/libc/termios/tcflow.c
57
u_char c;
lib/libc/termios/tcflow.c
70
c = term.c_cc[action == TCIOFF ? VSTOP : VSTART];
lib/libc/termios/tcflow.c
71
if (c != _POSIX_VDISABLE && write(fd, &c, sizeof(c)) == -1)
lib/libc/thread-stub/thread-stub.c
211
__libc_cond_init_stub(cond_t *c, const condattr_t *a)
lib/libc/thread-stub/thread-stub.c
214
(void)c;
lib/libc/thread-stub/thread-stub.c
224
__libc_cond_wait_stub(cond_t *c, mutex_t *m)
lib/libc/thread-stub/thread-stub.c
227
(void)c;
lib/libc/thread-stub/thread-stub.c
237
__libc_cond_timedwait_stub(cond_t *c, mutex_t *m, const struct timespec *t)
lib/libc/thread-stub/thread-stub.c
240
(void)c;
lib/libc/thread-stub/thread-stub.c
252
__libc_cond_catchall_stub(cond_t *c)
lib/libc/thread-stub/thread-stub.c
255
(void)c;
lib/libc/time/localtime.c
1456
is_digit(char c)
lib/libc/time/localtime.c
1458
return '0' <= c && c <= '9';
lib/libc/time/localtime.c
1470
register char c;
lib/libc/time/localtime.c
1472
while ((c = *strp) != '\0' && !is_digit(c) && c != ',' && c != '-' &&
lib/libc/time/localtime.c
1473
c != '+')
lib/libc/time/localtime.c
1491
register int c;
lib/libc/time/localtime.c
1493
while ((c = *strp) != '\0' && c != delim)
lib/libc/time/localtime.c
1508
register char c;
lib/libc/time/localtime.c
1511
if (strp == NULL || !is_digit(c = *strp)) {
lib/libc/time/localtime.c
1517
num = num * 10 + (c - '0');
lib/libc/time/localtime.c
1522
c = *++strp;
lib/libc/time/localtime.c
1523
} while (is_digit(c));
lib/libc/time/strptime.c
161
unsigned char c;
lib/libc/time/strptime.c
169
while (bp != NULL && (c = *fmt++) != '\0') {
lib/libc/time/strptime.c
175
if (isspace(c)) {
lib/libc/time/strptime.c
181
if (c != '%')
lib/libc/time/strptime.c
185
again: switch (c = *fmt++) {
lib/libc/time/strptime.c
188
if (c != *bp++)
lib/libc/time/strptime.c
395
if (c == 'U')
lib/libc/time/strptime.c
462
mandatory = c == 'z';
lib/libc/time/strptime.c
762
const char * const *n2, int c)
lib/libc/time/strptime.c
769
for (i = 0; i < c; i++, n1++) {
lib/libc/time/zdump.c
100
return '0' <= c && c <= '9';
lib/libc/time/zdump.c
971
char c = *p++;
lib/libc/time/zdump.c
974
switch (c) {
lib/libc/time/zdump.c
975
default: *b++ = c, s--; continue;
lib/libc/time/zdump.c
978
case ' ': c = 's'; break;
lib/libc/time/zdump.c
979
case '\f': c = 'f'; break;
lib/libc/time/zdump.c
98
is_digit(char c)
lib/libc/time/zdump.c
980
case '\n': c = 'n'; break;
lib/libc/time/zdump.c
981
case '\r': c = 'r'; break;
lib/libc/time/zdump.c
982
case '\t': c = 't'; break;
lib/libc/time/zdump.c
983
case '\v': c = 'v'; break;
lib/libc/time/zdump.c
985
*b++ = '\\', *b++ = c, s -= 2;
lib/libc/time/zic.c
1259
register int c, k;
lib/libc/time/zic.c
1285
while ((c = getopt(argc, argv, "b:d:Dg:l:L:m:p:r:R:st:u:vy:")) != -1)
lib/libc/time/zic.c
1286
switch (c) {
lib/libc/time/zic.c
1494
unsigned char c = *cp;
lib/libc/time/zic.c
1495
if (noise && !strchr(benign, c)) {
lib/libc/time/zic.c
1496
warning((strchr(printable_and_not_benign, c)
lib/libc/time/zic.c
1499
name, c);
lib/libc/time/zic.c
1501
if (c == '/') {
lib/libc/time/zic.c
1859
int c;
lib/libc/time/zic.c
1868
for (; (c = getc(fp)) != EOF; check_for_signal())
lib/libc/time/zic.c
1869
putc(c, tp);
lib/libc/time/zic.c
1892
char c = '\0';
lib/libc/time/zic.c
1893
*cache = readlink(name, &c, 1) < 0 ? 0 : c == '/' ? 1 : -1;
lib/libc/time/zic.c
317
is_digit(char c)
lib/libc/time/zic.c
319
return '0' <= c && c <= '9';
lib/libc/time/zic.c
3334
register int c;
lib/libc/time/zic.c
3430
c = stringrule(result + len, resultlen - len, dstrp, dstrp->r_save, stdzp->z_stdoff);
lib/libc/time/zic.c
3431
if (c < 0) {
lib/libc/time/zic.c
3435
if (compat < c)
lib/libc/time/zic.c
3436
compat = c;
lib/libc/time/zic.c
3439
c = stringrule(result + len, resultlen - len, stdrp, dstrp->r_save, stdzp->z_stdoff);
lib/libc/time/zic.c
3440
if (c < 0) {
lib/libc/time/zic.c
3444
if (compat < c)
lib/libc/time/zic.c
3445
compat = c;
lib/libcompat/4.3/rexec.c
153
if (read(s, &c, 1) != 1) {
lib/libcompat/4.3/rexec.c
157
if (c != 0) {
lib/libcompat/4.3/rexec.c
158
while (read(s, &c, 1) == 1) {
lib/libcompat/4.3/rexec.c
159
(void) write(2, &c, 1);
lib/libcompat/4.3/rexec.c
160
if (c == '\n')
lib/libcompat/4.3/rexec.c
73
char c;
lib/libcompat/4.3/ruserpass.c
100
int t, i, c, usedefault = 0;
lib/libcompat/4.3/ruserpass.c
192
while ((c=getc(cfile)) != EOF)
lib/libcompat/4.3/ruserpass.c
193
if (c != ' ' && c != '\t')
lib/libcompat/4.3/ruserpass.c
195
if (c == EOF || c == '\n') {
lib/libcompat/4.3/ruserpass.c
205
*tmp++ = c;
lib/libcompat/4.3/ruserpass.c
206
for (i=0; i < 8 && (c=getc(cfile)) != EOF &&
lib/libcompat/4.3/ruserpass.c
207
!isspace(c); ++i) {
lib/libcompat/4.3/ruserpass.c
208
*tmp++ = c;
lib/libcompat/4.3/ruserpass.c
210
if (c == EOF) {
lib/libcompat/4.3/ruserpass.c
216
if (c != '\n') {
lib/libcompat/4.3/ruserpass.c
217
while ((c=getc(cfile)) != EOF && c != '\n');
lib/libcompat/4.3/ruserpass.c
219
if (c == EOF) {
lib/libcompat/4.3/ruserpass.c
233
if ((c=getc(cfile)) == EOF) {
lib/libcompat/4.3/ruserpass.c
238
*tmp = c;
lib/libcompat/4.3/ruserpass.c
271
int c;
lib/libcompat/4.3/ruserpass.c
276
while ((c = getc(cfile)) != EOF &&
lib/libcompat/4.3/ruserpass.c
277
(c == '\n' || c == '\t' || c == ' ' || c == ','))
lib/libcompat/4.3/ruserpass.c
279
if (c == EOF)
lib/libcompat/4.3/ruserpass.c
282
if (c == '"') {
lib/libcompat/4.3/ruserpass.c
283
while ((c = getc(cfile)) != EOF && c != '"') {
lib/libcompat/4.3/ruserpass.c
284
if (c == '\\')
lib/libcompat/4.3/ruserpass.c
285
c = getc(cfile);
lib/libcompat/4.3/ruserpass.c
286
*cp++ = c;
lib/libcompat/4.3/ruserpass.c
289
*cp++ = c;
lib/libcompat/4.3/ruserpass.c
290
while ((c = getc(cfile)) != EOF
lib/libcompat/4.3/ruserpass.c
291
&& c != '\n' && c != '\t' && c != ' ' && c != ',') {
lib/libcompat/4.3/ruserpass.c
292
if (c == '\\')
lib/libcompat/4.3/ruserpass.c
293
c = getc(cfile);
lib/libcompat/4.3/ruserpass.c
294
*cp++ = c;
lib/libcompat/regexp/regexp.c
154
#define ISMULT(c) ((c) == '*' || (c) == '+' || (c) == '?')
lib/libcompat/regexp/regsub.c
49
char c;
lib/libcompat/regexp/regsub.c
65
while ((c = *src++) != '\0') {
lib/libcompat/regexp/regsub.c
66
if (c == '&')
lib/libcompat/regexp/regsub.c
68
else if (c == '\\' && '0' <= *src && *src <= '9')
lib/libcompat/regexp/regsub.c
73
if (c == '\\' && (*src == '\\' || *src == '&'))
lib/libcompat/regexp/regsub.c
74
c = *src++;
lib/libcompat/regexp/regsub.c
75
*dst++ = c;
lib/libcrypt/bcrypt.c
99
#define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)])
lib/libcrypt/blowfish.c
102
Blowfish_initstate(blf_ctx *c)
lib/libcrypt/blowfish.c
379
*c = init_state;
lib/libcrypt/blowfish.c
404
Blowfish_expand0state(blf_ctx *c, const u_int8_t *key, u_int16_t keybytes)
lib/libcrypt/blowfish.c
417
c->P[i] = c->P[i] ^ temp;
lib/libcrypt/blowfish.c
424
Blowfish_encipher(c, &datal, &datar);
lib/libcrypt/blowfish.c
426
c->P[i] = datal;
lib/libcrypt/blowfish.c
427
c->P[i + 1] = datar;
lib/libcrypt/blowfish.c
432
Blowfish_encipher(c, &datal, &datar);
lib/libcrypt/blowfish.c
434
c->S[i][k] = datal;
lib/libcrypt/blowfish.c
435
c->S[i][k + 1] = datar;
lib/libcrypt/blowfish.c
442
Blowfish_expandstate(blf_ctx *c, const u_int8_t *data, u_int16_t databytes,
lib/libcrypt/blowfish.c
456
c->P[i] = c->P[i] ^ temp;
lib/libcrypt/blowfish.c
465
Blowfish_encipher(c, &datal, &datar);
lib/libcrypt/blowfish.c
467
c->P[i] = datal;
lib/libcrypt/blowfish.c
468
c->P[i + 1] = datar;
lib/libcrypt/blowfish.c
475
Blowfish_encipher(c, &datal, &datar);
lib/libcrypt/blowfish.c
477
c->S[i][k] = datal;
lib/libcrypt/blowfish.c
478
c->S[i][k + 1] = datar;
lib/libcrypt/blowfish.c
485
blf_enc(blf_ctx *c, u_int32_t *data, u_int16_t blocks)
lib/libcrypt/blowfish.c
492
Blowfish_encipher(c, d, d + 1);
lib/libcrypt/blowfish.c
77
Blowfish_encipher(blf_ctx *c, u_int32_t *xl, u_int32_t *xr)
lib/libcrypt/blowfish.c
81
u_int32_t *s = c->S[0];
lib/libcrypt/blowfish.c
82
u_int32_t *p = c->P;
lib/libcrypt/crypt-argon2.c
90
b64_char_to_byte(int c)
lib/libcrypt/crypt-argon2.c
94
x = (GE(c, 'A') & LE(c, 'Z') & (c - 'A')) |
lib/libcrypt/crypt-argon2.c
95
(GE(c, 'a') & LE(c, 'z') & (c - ('a' - 26))) |
lib/libcrypt/crypt-argon2.c
96
(GE(c, '0') & LE(c, '9') & (c - ('0' - 52))) | (EQ(c, '+') & 62) |
lib/libcrypt/crypt-argon2.c
97
(EQ(c, '/') & 63);
lib/libcrypt/crypt-argon2.c
98
return x | (EQ(x, 0) & (EQ(c, 'A') ^ 0xFF));
lib/libcrypt/hmac.c
161
int c;
lib/libcrypt/hmac.c
169
if (sscanf(&data[i*2], "%02x", &c) < 1)
lib/libcrypt/hmac.c
171
buf[i] = c;
lib/libcurses/EXAMPLES/ex1.c
139
c = getchar();
lib/libcurses/EXAMPLES/ex1.c
140
switch(c) {
lib/libcurses/EXAMPLES/ex1.c
218
addch( c );
lib/libcurses/EXAMPLES/ex1.c
226
addch( c );
lib/libcurses/EXAMPLES/ex1.c
268
insch( c );
lib/libcurses/EXAMPLES/ex1.c
289
if ( c < 0x7F )
lib/libcurses/EXAMPLES/ex1.c
290
addch( c );
lib/libcurses/EXAMPLES/ex1.c
292
addstr( keyname( c ));
lib/libcurses/EXAMPLES/ex1.c
58
int i, j, c, n = 0, ac = 0;
lib/libcurses/EXAMPLES/view.c
295
wint_t c = 0;
lib/libcurses/EXAMPLES/view.c
298
int c = 0;
lib/libcurses/EXAMPLES/view.c
306
c = 0;
lib/libcurses/EXAMPLES/view.c
308
ret = get_wch( &c );
lib/libcurses/EXAMPLES/view.c
316
syslog( LOG_INFO, "[main]Func key(%x)", c );
lib/libcurses/EXAMPLES/view.c
318
syslog( LOG_INFO, "[main]c=%x", c );
lib/libcurses/EXAMPLES/view.c
321
c = getch();
lib/libcurses/EXAMPLES/view.c
323
syslog( LOG_INFO, "[main]c='%c'", c );
lib/libcurses/EXAMPLES/view.c
326
if ((c < 127) && isdigit(c)) {
lib/libcurses/EXAMPLES/view.c
331
addch(c);
lib/libcurses/EXAMPLES/view.c
332
value = 10 * value + (c - '0');
lib/libcurses/EXAMPLES/view.c
345
my_label = key_name( c );
lib/libcurses/EXAMPLES/view.c
350
if (c != ERR)
lib/libcurses/EXAMPLES/view.c
351
my_label = keyname(c);
lib/libcurses/EXAMPLES/view.c
353
switch (c) {
lib/libcurses/EXAMPLES/view.c
470
if (c >= KEY_MIN || (c > 0 && !isdigit(c))) {
lib/libcurses/EXAMPLES/view.c
53
#define UChar(c) ((unsigned char)(c))
lib/libcurses/PSD.doc/appen.C
3
.\" Copyright (c) 1980, 1993
lib/libcurses/PSD.doc/ex1.c
1
.\" $NetBSD: ex1.c,v 1.6 2003/08/07 16:44:27 agc Exp $
lib/libcurses/PSD.doc/ex1.c
3
.\" Copyright (c) 1992, 1993
lib/libcurses/PSD.doc/ex1.c
30
.\" @(#)ex1.c 8.1 (Berkeley) 6/8/93
lib/libcurses/PSD.doc/ex1.c
45
int i, j, c;
lib/libcurses/PSD.doc/ex1.c
64
c = getchar();
lib/libcurses/PSD.doc/ex1.c
65
switch(c) {
lib/libcurses/PSD.doc/ex1.c
79
addch(c);
lib/libcurses/PSD.doc/ex2.c
1
.\" $NetBSD: ex2.c,v 1.8 2022/07/06 12:33:41 andvar Exp $
lib/libcurses/PSD.doc/ex2.c
101
switch(c = getchar()) {
lib/libcurses/PSD.doc/ex2.c
3
.\" Copyright (c) 1992, 1993
lib/libcurses/PSD.doc/ex2.c
30
.\" @(#)ex2.c 8.1 (Berkeley) 6/8/93
lib/libcurses/PSD.doc/ex2.c
49
int i, j, c, n, d = 0;
lib/libcurses/PSD.doc/ex2.c
74
c = getchar();
lib/libcurses/PSD.doc/life.c
1
.\" $NetBSD: life.c,v 1.6 2003/08/07 16:44:28 agc Exp $
lib/libcurses/PSD.doc/life.c
100
if ((c = getch()) == 'q')
lib/libcurses/PSD.doc/life.c
102
switch (c) {
lib/libcurses/PSD.doc/life.c
111
adjustyx(c);
lib/libcurses/PSD.doc/life.c
3
.\" Copyright (c) 1980, 1993
lib/libcurses/PSD.doc/life.c
30
.\" @(#)life.c 8.1 (Berkeley) 6/8/93
lib/libcurses/PSD.doc/life.c
91
reg char c;
lib/libcurses/PSD.doc/win_st.c
1
.\" $NetBSD: win_st.c,v 1.5 2003/08/07 16:44:29 agc Exp $
lib/libcurses/PSD.doc/win_st.c
3
.\" Copyright (c) 1980, 1993
lib/libcurses/PSD.doc/win_st.c
30
.\" @(#)win_st.c 8.1 (Berkeley) 6/8/93
lib/libcurses/addbytes.c
126
int c;
lib/libcurses/addbytes.c
153
c = *bytes++;
lib/libcurses/addbytes.c
155
c, attr, *py, *px);
lib/libcurses/addbytes.c
156
err = _cursesi_addbyte(win, &lp, py, px, c, attr, char_interp);
lib/libcurses/addbytes.c
208
_cursesi_addbyte(WINDOW *win, __LINE **lp, int *y, int *x, int c,
lib/libcurses/addbytes.c
220
switch (c) {
lib/libcurses/addbytes.c
274
if (c == '\n')
lib/libcurses/addbytes.c
289
wcols = wcwidth(c);
lib/libcurses/addbytes.c
313
if (win->bch != ' ' && c == ' ') {
lib/libcurses/addbytes.c
319
(*lp)->line[*x].ch = c;
lib/libcurses/cr_put.c
133
c = destcol;
lib/libcurses/cr_put.c
137
destcol = c;
lib/libcurses/cr_put.c
201
plodput(int c)
lib/libcurses/cr_put.c
207
cw = wctomb(s, c);
lib/libcurses/cr_put.c
216
__cputchar(c);
lib/libcurses/cr_put.c
92
int c, l;
lib/libcurses/curses.h
452
#define color_set(c, o) wcolor_set(stdscr, c, o)
lib/libcurses/curses.h
455
#define echochar(c) wechochar(stdscr, c)
lib/libcurses/curses.h
461
#define inchnstr(c) winchnstr(stdscr, c)
lib/libcurses/curses.h
462
#define inchstr(c) winchstr(stdscr, c)
lib/libcurses/curses.h
492
#define mvinchnstr(y, x, c, n) mvwinchnstr(stdscr, y, x, c, n)
lib/libcurses/curses.h
493
#define mvinchstr(y, x, c) mvwinchstr(stdscr, y, x, c)
lib/libcurses/curses.h
495
#define mvinsch(y, x, c) mvwinsch(stdscr, y, x, c)
lib/libcurses/curses.h
519
#define mvwinchnstr(w, y, x, c, n) \
lib/libcurses/curses.h
520
(wmove(w, y, x) == ERR ? ERR : winchnstr(w, c, n))
lib/libcurses/curses.h
522
(wmove(w, y, x) == ERR ? ERR : winchstr(w, c))
lib/libcurses/curses.h
525
#define mvwinsch(w, y, x, c) \
lib/libcurses/curses.h
526
(wmove(w, y, x) == ERR ? ERR : winsch(w, c))
lib/libcurses/curses.h
90
#define _putchar(c) __cputchar(c)
lib/libcurses/get_wch.c
104
k = (wchar_t)c;
lib/libcurses/get_wch.c
137
c = __fgetc_resize(infd);
lib/libcurses/get_wch.c
138
if (c == ERR || ferror(infd)) {
lib/libcurses/get_wch.c
140
return c;
lib/libcurses/get_wch.c
146
k = (wchar_t)c;
lib/libcurses/get_wch.c
181
c = __fgetc_resize(infd);
lib/libcurses/get_wch.c
182
if (c == ERR || ferror(infd)) {
lib/libcurses/get_wch.c
184
return c;
lib/libcurses/get_wch.c
190
k = (wchar_t)c;
lib/libcurses/get_wch.c
439
int c;
lib/libcurses/get_wch.c
520
c = __fgetwc_resize(infd, &resized);
lib/libcurses/get_wch.c
521
if (c == WEOF) {
lib/libcurses/get_wch.c
530
ret = c;
lib/libcurses/get_wch.c
531
inp = c;
lib/libcurses/get_wch.c
587
unget_wch(const wchar_t c)
lib/libcurses/get_wch.c
589
return __unget((wint_t)c);
lib/libcurses/get_wch.c
599
wint_t c;
lib/libcurses/get_wch.c
601
c = fgetwc(infd);
lib/libcurses/get_wch.c
602
if (c != WEOF)
lib/libcurses/get_wch.c
603
return c;
lib/libcurses/get_wch.c
611
return c;
lib/libcurses/get_wch.c
81
int c, mapping, ret = 0;
lib/libcurses/get_wch.c
95
c = __fgetc_resize(infd);
lib/libcurses/get_wch.c
96
if (c == ERR || c == KEY_RESIZE) {
lib/libcurses/get_wch.c
98
return c;
lib/libcurses/getch.c
1001
int c;
lib/libcurses/getch.c
1003
c = fgetc(infd);
lib/libcurses/getch.c
1004
if (c != EOF)
lib/libcurses/getch.c
1005
return c;
lib/libcurses/getch.c
538
int c, mapping;
lib/libcurses/getch.c
550
c = __fgetc_resize(infd);
lib/libcurses/getch.c
551
if (c == ERR || c == KEY_RESIZE) {
lib/libcurses/getch.c
553
return c;
lib/libcurses/getch.c
559
k = (wchar_t)c;
lib/libcurses/getch.c
592
c = __fgetc_resize(infd);
lib/libcurses/getch.c
595
return c;
lib/libcurses/getch.c
603
if (feof(infd) || c == -1) { /* inter-char timeout,
lib/libcurses/getch.c
613
k = (wchar_t) c;
lib/libcurses/getch.c
789
int c;
lib/libcurses/getch.c
840
c = _cursesi_screen->unget_list[_cursesi_screen->unget_pos];
lib/libcurses/getch.c
842
waddch(win, (chtype) c);
lib/libcurses/getch.c
843
return c;
lib/libcurses/getch.c
924
ungetch(int c)
lib/libcurses/getch.c
926
return __unget((wint_t)c);
lib/libcurses/getch.c
934
__unget(wint_t c)
lib/libcurses/getch.c
939
__CTRACE(__CTRACE_INPUT, "__unget(%x)\n", c);
lib/libcurses/getch.c
951
- 1] = c;
lib/libcurses/getch.c
962
_cursesi_screen->unget_list[_cursesi_screen->unget_pos] = c;
lib/libcurses/getstr.c
165
int c, xpos, oldx, remain;
lib/libcurses/getstr.c
177
while ((c = wgetch(win)) != ERR && c != '\n' && c != '\r') {
lib/libcurses/getstr.c
180
win, c, remain);
lib/libcurses/getstr.c
181
*str = c;
lib/libcurses/getstr.c
183
if (c == ec || c == KEY_BACKSPACE || c == KEY_LEFT) {
lib/libcurses/getstr.c
186
if ((char) c == ec) {
lib/libcurses/getstr.c
195
if (c == KEY_BACKSPACE || c == KEY_LEFT) {
lib/libcurses/getstr.c
218
} else if (c == kc) {
lib/libcurses/getstr.c
239
} else if (c >= KEY_MIN && c <= KEY_MAX) {
lib/libcurses/getstr.c
245
if (iscntrl((unsigned char)c))
lib/libcurses/getstr.c
256
if (c == ERR) {
lib/libcurses/tscroll.c
106
for (dp = result; (c = *cap++) != '\0';) {
lib/libcurses/tscroll.c
107
if (c != '%') {
lib/libcurses/tscroll.c
108
*dp++ = c;
lib/libcurses/tscroll.c
111
switch (c = *cap++) {
lib/libcurses/tscroll.c
195
*dp++ = c;
lib/libcurses/tscroll.c
86
int c, n;
lib/libcurses/unctrl.h
52
#define unctrl(c) __unctrl[((unsigned char)c) & 0xff]
lib/libcurses/unctrl.h
53
#define unctrllen(c) __unctrllen[((unsigned char)c) & 0xff]
lib/libedit/chartype.c
187
ct_enc_width(wchar_t c)
lib/libedit/chartype.c
194
if ((size = wcrtomb(buf, c, &mbs)) == (size_t)-1)
lib/libedit/chartype.c
200
ct_encode_char(char *dst, size_t len, wchar_t c)
lib/libedit/chartype.c
203
if (len < ct_enc_width(c))
lib/libedit/chartype.c
205
l = wctomb(dst, c);
lib/libedit/chartype.c
258
ct_visual_width(wchar_t c)
lib/libedit/chartype.c
260
int t = ct_chr_class(c);
lib/libedit/chartype.c
269
return wcwidth(c);
lib/libedit/chartype.c
271
if (c > 0xffff) /* prefer standard 4-byte display over 5-byte */
lib/libedit/chartype.c
282
ct_visual_char(wchar_t *dst, size_t len, wchar_t c)
lib/libedit/chartype.c
284
int t = ct_chr_class(c);
lib/libedit/chartype.c
292
if (c == '\177')
lib/libedit/chartype.c
295
*dst = c | 0100; /* uncontrolify it */
lib/libedit/chartype.c
300
*dst = c;
lib/libedit/chartype.c
305
if ((ssize_t)len < ct_visual_width(c))
lib/libedit/chartype.c
311
if (c > 0xffff) /* prefer standard 4-byte display over 5-byte */
lib/libedit/chartype.c
312
*dst++ = tohexdigit(((unsigned int) c >> 16) & 0xf);
lib/libedit/chartype.c
313
*dst++ = tohexdigit(((unsigned int) c >> 12) & 0xf);
lib/libedit/chartype.c
314
*dst++ = tohexdigit(((unsigned int) c >> 8) & 0xf);
lib/libedit/chartype.c
315
*dst++ = tohexdigit(((unsigned int) c >> 4) & 0xf);
lib/libedit/chartype.c
316
*dst = tohexdigit(((unsigned int) c ) & 0xf);
lib/libedit/chartype.c
317
return c > 0xffff ? 8 : 7;
lib/libedit/chartype.c
329
ct_chr_class(wchar_t c)
lib/libedit/chartype.c
331
if (c == '\t')
lib/libedit/chartype.c
333
else if (c == '\n')
lib/libedit/chartype.c
335
else if (c < 0x100 && iswcntrl(c))
lib/libedit/chartype.c
337
else if (iswprint(c))
lib/libedit/chartype.h
118
libedit_private int ct_chr_class(wchar_t c);
lib/libedit/common.c
102
*el->el_line.cursor++ = c;
lib/libedit/common.c
119
ed_delete_prev_word(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
147
ed_delete_next_char(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
165
terminal_writec(el, c);
lib/libedit/common.c
194
ed_kill_line(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
215
ed_move_to_end(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
239
ed_move_to_beg(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
262
ed_transpose_chars(EditLine *el, wint_t c)
lib/libedit/common.c
273
c = el->el_line.cursor[-2];
lib/libedit/common.c
275
el->el_line.cursor[-1] = c;
lib/libedit/common.c
288
ed_next_char(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
317
ed_prev_word(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
343
ed_prev_char(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
368
ed_quoted_insert(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
387
ed_digit(EditLine *el, wint_t c)
lib/libedit/common.c
390
if (!iswdigit(c))
lib/libedit/common.c
396
el->el_state.argument = c - '0';
lib/libedit/common.c
401
(el->el_state.argument * 10) + (c - '0');
lib/libedit/common.c
406
return ed_insert(el, c);
lib/libedit/common.c
415
ed_argument_digit(EditLine *el, wint_t c)
lib/libedit/common.c
418
if (!iswdigit(c))
lib/libedit/common.c
425
(c - '0');
lib/libedit/common.c
427
el->el_state.argument = c - '0';
lib/libedit/common.c
441
wint_t c __attribute__((__unused__)))
lib/libedit/common.c
455
wint_t c __attribute__((__unused__)))
lib/libedit/common.c
468
ed_newline(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
484
ed_delete_prev_char(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
504
ed_clear_screen(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
520
wint_t c __attribute__((__unused__)))
lib/libedit/common.c
533
ed_start_over(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
548
wint_t c __attribute__((__unused__)))
lib/libedit/common.c
561
ed_prev_history(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
598
ed_next_history(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
62
ed_end_of_file(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
625
ed_search_prev_history(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
693
ed_search_next_history(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
747
ed_prev_line(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
76
ed_insert(EditLine *el, wint_t c)
lib/libedit/common.c
790
ed_next_line(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
80
if (c == '\0')
lib/libedit/common.c
824
ed_command(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/common.c
95
*el->el_line.cursor++ = c;
lib/libedit/el.c
218
int c = va_arg(ap, int);
lib/libedit/el.c
220
rv = prompt_set(el, p, (wchar_t)c, op, 1);
lib/libedit/el.c
431
wchar_t *c = va_arg(ap, wchar_t *);
lib/libedit/el.c
433
rv = prompt_get(el, p, c, op);
lib/libedit/eln.c
139
int c = va_arg(ap, int);
lib/libedit/eln.c
141
ret = prompt_set(el, p, c, op, 0);
lib/libedit/eln.c
295
char *c = va_arg(ap, char *);
lib/libedit/eln.c
298
*c = (char)wc;
lib/libedit/emacs.c
124
em_yank(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
160
em_kill_line(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
182
em_kill_region(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
215
em_copy_region(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
244
em_gosmacs_transpose(EditLine *el, wint_t c)
lib/libedit/emacs.c
249
c = el->el_line.cursor[-2];
lib/libedit/emacs.c
251
el->el_line.cursor[-1] = c;
lib/libedit/emacs.c
264
em_next_word(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
289
em_upper_case(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
313
em_capitol_case(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
345
em_lower_case(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
369
em_set_mark(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
383
em_exchange_mark(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
400
em_universal_argument(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
417
em_meta_next(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
430
em_toggle_overwrite(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
444
em_copy_prev_word(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
471
em_inc_search_next(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
484
em_inc_search_prev(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
498
em_delete_prev_char(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/emacs.c
59
em_delete_or_list(EditLine *el, wint_t c)
lib/libedit/emacs.c
66
terminal_writec(el, c); /* then do an EOF */
lib/libedit/emacs.c
95
em_delete_next_word(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/filecomplete.c
130
needs_escaping(wchar_t c)
lib/libedit/filecomplete.c
132
switch (c) {
lib/libedit/filecomplete.c
163
needs_dquote_escaping(char c)
lib/libedit/filecomplete.c
165
switch (c) {
lib/libedit/filecomplete.c
203
char c;
lib/libedit/filecomplete.c
233
c = *s;
lib/libedit/filecomplete.c
235
if (s_quoted && c == '\'') {
lib/libedit/filecomplete.c
240
if (d_quoted && needs_dquote_escaping(c)) {
lib/libedit/filecomplete.c
244
if (!s_quoted && !d_quoted && needs_escaping(c))
lib/libedit/filecomplete.c
259
c = *s;
lib/libedit/filecomplete.c
260
if (!needs_escaping(c)) {
lib/libedit/filecomplete.c
262
escaped_str[offset++] = c;
lib/libedit/filecomplete.c
267
if (c == '\'' && s_quoted) {
lib/libedit/filecomplete.c
277
escaped_str[offset++] = c;
lib/libedit/filecomplete.c
284
if (d_quoted && !needs_dquote_escaping(c)) {
lib/libedit/filecomplete.c
285
escaped_str[offset++] = c;
lib/libedit/filecomplete.c
291
escaped_str[offset++] = c;
lib/libedit/history.c
505
hentry_t *c;
lib/libedit/history.c
507
c = h_malloc(sizeof(*c));
lib/libedit/history.c
508
if (c == NULL)
lib/libedit/history.c
510
if ((c->ev.str = h_strdup(str)) == NULL) {
lib/libedit/history.c
511
h_free(c);
lib/libedit/history.c
514
c->data = NULL;
lib/libedit/history.c
515
c->ev.num = ++h->eventid;
lib/libedit/history.c
516
c->next = h->list.next;
lib/libedit/history.c
517
c->prev = &h->list;
lib/libedit/history.c
518
h->list.next->prev = c;
lib/libedit/history.c
519
h->list.next = c;
lib/libedit/history.c
521
h->cursor = c;
lib/libedit/history.c
523
*ev = c->ev;
lib/libedit/keymacro.c
621
#define ADDC(c) \
lib/libedit/keymacro.c
623
*b++ = c; \
lib/libedit/parse.c
145
wint_t c;
lib/libedit/parse.c
156
c = '\007'; /* Bell */
lib/libedit/parse.c
159
c = '\010'; /* Backspace */
lib/libedit/parse.c
162
c = '\011'; /* Horizontal Tab */
lib/libedit/parse.c
165
c = '\012'; /* New Line */
lib/libedit/parse.c
168
c = '\013'; /* Vertical Tab */
lib/libedit/parse.c
171
c = '\014'; /* Form Feed */
lib/libedit/parse.c
174
c = '\015'; /* Carriage Return */
lib/libedit/parse.c
177
c = '\033'; /* Escape */
lib/libedit/parse.c
187
c = 0;
lib/libedit/parse.c
193
c = (c << 4) | ((int)(h - hex));
lib/libedit/parse.c
197
if (c > 0x10FFFF) /* outside valid character range */
lib/libedit/parse.c
212
for (cnt = 0, c = 0; cnt < 3; cnt++) {
lib/libedit/parse.c
218
c = (c << 3) | (ch - '0');
lib/libedit/parse.c
220
if ((c & (wint_t)0xffffff00) != (wint_t)0)
lib/libedit/parse.c
226
c = *p;
lib/libedit/parse.c
231
c = (*p == '?') ? '\177' : (*p & 0237);
lib/libedit/parse.c
233
c = *p;
lib/libedit/parse.c
235
return c;
lib/libedit/prompt.c
152
prompt_set(EditLine *el, el_pfunc_t prf, wchar_t c, int op, int wide)
lib/libedit/prompt.c
170
p->p_ignore = c;
lib/libedit/prompt.c
184
prompt_get(EditLine *el, el_pfunc_t *prf, wchar_t *c, int op)
lib/libedit/prompt.c
198
if (c)
lib/libedit/prompt.c
199
*c = p->p_ignore;
lib/libedit/readline.c
2013
rl_bind_key(int c, rl_command_func_t *func)
lib/libedit/readline.c
2022
e->el_map.key[c] = ED_INSERT;
lib/libedit/readline.c
2064
rl_insert(int count, int c)
lib/libedit/readline.c
2072
arr[0] = (char)c;
lib/libedit/readline.c
2098
int c __attribute__((__unused__)))
lib/libedit/readline.c
2108
rl_bind_wrapper(EditLine *el __attribute__((__unused__)), unsigned char c)
lib/libedit/readline.c
211
_getc_function(EditLine *el __attribute__((__unused__)), wchar_t *c)
lib/libedit/readline.c
2110
if (map[c] == NULL)
lib/libedit/readline.c
2115
(*map[c])(1, c);
lib/libedit/readline.c
2125
rl_add_defun(const char *name, rl_command_func_t *fun, int c)
lib/libedit/readline.c
2128
if ((size_t)c >= sizeof(map) / sizeof(map[0]) || c < 0)
lib/libedit/readline.c
2130
map[(unsigned char)c] = fun;
lib/libedit/readline.c
2132
vis(dest, c, VIS_WHITE|VIS_NOSLASH, 0);
lib/libedit/readline.c
218
*c = (wchar_t)i;
lib/libedit/readline.c
2248
rl_stuff_char(int c)
lib/libedit/readline.c
2252
buf[0] = (char)c;
lib/libedit/readline.c
2594
int c = tty_get_signal_character(e, sig);
lib/libedit/readline.c
2595
if (c == -1)
lib/libedit/readline.c
2597
re_putc(e, c, 0);
lib/libedit/readline.c
794
replace(char **tmp, int c)
lib/libedit/readline.c
797
if ((aptr = strrchr(*tmp, c)) == NULL)
lib/libedit/readline/readline.h
85
#define CTRL(c) ((c) & 037)
lib/libedit/readline/readline.h
89
#define UNCTRL(c) (((c) - 'a' + 'A')|control_character_bit)
lib/libedit/refresh.c
1095
re_fastputc(EditLine *el, wint_t c)
lib/libedit/refresh.c
1100
w = wcwidth(c);
lib/libedit/refresh.c
1104
terminal__putc(el, c);
lib/libedit/refresh.c
1105
el->el_display[el->el_cursor.v][el->el_cursor.h++] = c;
lib/libedit/refresh.c
1155
wchar_t c;
lib/libedit/refresh.c
1162
c = el->el_line.cursor[-1];
lib/libedit/refresh.c
1164
if (c == '\t' || el->el_line.cursor != el->el_line.lastchar) {
lib/libedit/refresh.c
1174
switch (ct_chr_class(c)) {
lib/libedit/refresh.c
1179
re_fastputc(el, c);
lib/libedit/refresh.c
1185
ct_visual_char(visbuf, VISUAL_WIDTH_MAX, c);
lib/libedit/refresh.c
128
re_addc(EditLine *el, wint_t c)
lib/libedit/refresh.c
130
switch (ct_chr_class(c)) {
lib/libedit/refresh.c
146
re_putc(el, c, 1);
lib/libedit/refresh.c
151
ct_visual_char(visbuf, VISUAL_WIDTH_MAX, c);
lib/libedit/refresh.c
166
wint_t c;
lib/libedit/refresh.c
170
c = literal_add(el, begin, end, &w);
lib/libedit/refresh.c
171
if (c == 0 || w < 0)
lib/libedit/refresh.c
173
el->el_vdisplay[cur->v][cur->h] = c;
lib/libedit/refresh.c
193
re_putc(EditLine *el, wint_t c, int shift)
lib/libedit/refresh.c
196
int i, w = wcwidth(c);
lib/libedit/refresh.c
199
ELRE_DEBUG(1, (__F, "printing %5x '%lc'\r\n", c, c));
lib/libedit/refresh.c
206
el->el_vdisplay[cur->v][cur->h] = c;
lib/libedit/refresh.c
543
wchar_t *o, *n, *p, c;
lib/libedit/refresh.c
613
for (c = *ofd, n = nfd; n < nls; n++) {
lib/libedit/refresh.c
614
if (c == *n) {
lib/libedit/refresh.c
637
for (c = *nfd, o = ofd; o < ols; o++) {
lib/libedit/refresh.c
638
if (c == *o) {
lib/libedit/refresh.c
67
#define ELRE_ASSERT(a, b, c) do \
lib/libedit/refresh.c
70
c; \
lib/libedit/refresh.c
88
#define ELRE_ASSERT(a, b, c)
lib/libedit/search.c
573
cv_repeat_srch(EditLine *el, wint_t c)
lib/libedit/search.c
579
c, el->el_search.patlen, ct_encode_string(el->el_search.patbuf, &conv));
lib/libedit/search.c
582
el->el_state.lastcmd = (el_action_t) c; /* Hack to stop c_setpat */
lib/libedit/search.c
585
switch (c) {
lib/libedit/search.c
608
wchar_t c;
lib/libedit/search.c
609
if (el_wgetc(el, &c) != 1)
lib/libedit/search.c
611
ch = c;
lib/libedit/terminal.c
1199
terminal_putc(int c)
lib/libedit/terminal.c
1203
return fputc(c, terminal_outfile);
lib/libedit/terminal.c
1223
terminal__putc(EditLine *el, wint_t c)
lib/libedit/terminal.c
1227
if (c == MB_FILL_CHAR)
lib/libedit/terminal.c
1229
if (c & EL_LITERAL)
lib/libedit/terminal.c
1230
return fputs(literal_get(el, c), el->el_outfile);
lib/libedit/terminal.c
1231
i = ct_encode_char(buf, (size_t)MB_LEN_MAX, c);
lib/libedit/terminal.c
1252
terminal_writec(EditLine *el, wint_t c)
lib/libedit/terminal.c
1255
ssize_t vcnt = ct_visual_char(visbuf, VISUAL_WIDTH_MAX, c);
lib/libedit/terminal.c
404
coord_t *c = &el->el_terminal.t_size;
lib/libedit/terminal.c
408
c->h = Val(T_co);
lib/libedit/terminal.c
409
c->v = Val(T_li);
lib/libedit/terminal.c
420
coord_t *c = &el->el_terminal.t_size;
lib/libedit/terminal.c
423
b = el_calloc((size_t)(c->v + 1), sizeof(*b));
lib/libedit/terminal.c
426
for (i = 0; i < c->v; i++) {
lib/libedit/terminal.c
427
b[i] = el_calloc((size_t)(c->h + 1), sizeof(**b));
lib/libedit/terminal.c
435
b[c->v] = NULL;
lib/libedit/terminal.c
654
wchar_t c;
lib/libedit/terminal.c
655
if ((c = el->el_display[el->el_cursor.v]
lib/libedit/terminal.c
657
terminal_overwrite(el, &c, (size_t)1);
lib/libedit/tokenizer.c
74
#define Strchr(s, c) strchr(s, c)
lib/libedit/tokenizer.c
81
#define Strchr(s, c) wcschr(s, c)
lib/libedit/tty.c
1268
int c = ffs((int)m->m_value);
lib/libedit/tty.c
1271
assert(c != 0);
lib/libedit/tty.c
1272
c--;
lib/libedit/tty.c
1273
c = tty__getcharindex(c);
lib/libedit/tty.c
1274
assert(c != -1);
lib/libedit/tty.c
1275
tios->c_cc[c] = (cc_t)v;
lib/libedit/tty.c
983
tty_update_char(EditLine *el, int mode, int c) {
lib/libedit/tty.c
984
if (!((el->el_tty.t_t[mode][MD_CHAR].t_setmask & C_SH(c)))
lib/libedit/tty.c
985
&& (el->el_tty.t_c[TS_IO][c] != el->el_tty.t_c[EX_IO][c]))
lib/libedit/tty.c
986
el->el_tty.t_c[mode][c] = el->el_tty.t_c[TS_IO][c];
lib/libedit/tty.c
987
if (el->el_tty.t_t[mode][MD_CHAR].t_clrmask & C_SH(c))
lib/libedit/tty.c
988
el->el_tty.t_c[mode][c] = el->el_tty.t_vdisable;
lib/libedit/vi.c
1001
vi_histedit(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
1088
vi_history_word(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
113
if (!c && el->el_line.cursor < el->el_line.lastchar)
lib/libedit/vi.c
1138
vi_redo(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
132
vi_paste_next(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
145
vi_paste_prev(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
158
vi_prev_big_word(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
183
vi_prev_word(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
208
vi_next_big_word(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
232
vi_next_word(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
255
vi_change_case(EditLine *el, wint_t c)
lib/libedit/vi.c
264
c = *el->el_line.cursor;
lib/libedit/vi.c
265
if (iswupper(c))
lib/libedit/vi.c
266
*el->el_line.cursor = towlower(c);
lib/libedit/vi.c
267
else if (iswlower(c))
lib/libedit/vi.c
268
*el->el_line.cursor = towupper(c);
lib/libedit/vi.c
287
vi_change_meta(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
304
vi_insert_at_bol(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
320
vi_replace_char(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
339
vi_replace_mode(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
355
vi_substitute_char(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
370
vi_substitute_line(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
388
vi_change_to_eol(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
406
vi_insert(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
421
vi_add(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
446
vi_add_at_eol(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
462
vi_delete_meta(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
475
vi_end_big_word(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
499
vi_end_word(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
523
vi_undo(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
550
vi_command_mode(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
574
vi_zero(EditLine *el, wint_t c)
lib/libedit/vi.c
578
return ed_argument_digit(el, c);
lib/libedit/vi.c
595
vi_delete_prev_char(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
613
vi_list_or_eof(EditLine *el, wint_t c)
lib/libedit/vi.c
618
terminal_writec(el, c); /* then do a EOF */
lib/libedit/vi.c
650
vi_kill_line_prev(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
67
cv_action(EditLine *el, wint_t c)
lib/libedit/vi.c
671
vi_search_prev(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
684
vi_search_next(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
697
vi_repeat_search_next(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
713
vi_repeat_search_prev(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
72
if (c != (wint_t)el->el_chared.c_vcmd.action)
lib/libedit/vi.c
731
vi_next_char(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
743
vi_prev_char(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
75
if (!(c & YANK))
lib/libedit/vi.c
755
vi_to_next_char(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
767
vi_to_prev_char(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
779
vi_repeat_next_char(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
793
vi_repeat_prev_char(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
81
if (!(c & YANK)) {
lib/libedit/vi.c
811
vi_match(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
85
if (c & INSERT)
lib/libedit/vi.c
858
vi_undo_line(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
872
vi_to_column(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
886
vi_yank_end(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
900
vi_yank(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
91
el->el_chared.c_vcmd.action = c;
lib/libedit/vi.c
912
vi_comment_out(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
930
vi_alias(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
956
vi_to_history_line(EditLine *el, wint_t c __attribute__((__unused__)))
lib/libedit/vi.c
99
cv_paste(EditLine *el, wint_t c)
lib/libform/driver.c
122
if (c < REQ_MIN_REQUEST) {
lib/libform/driver.c
123
if (isprint(c) || isblank(c)) {
lib/libform/driver.c
132
(_formi_add_char(fieldp, pos, c)))
lib/libform/driver.c
167
c);
lib/libform/driver.c
185
if (c > REQ_MAX_COMMAND)
lib/libform/driver.c
188
if ((c >= REQ_NEXT_PAGE) && (c <= REQ_DOWN_FIELD)) {
lib/libform/driver.c
200
if ((c <= REQ_LAST_PAGE) && (form->form_term != NULL))
lib/libform/driver.c
205
switch (c) {
lib/libform/driver.c
308
status = traverse_form_links(form, c);
lib/libform/driver.c
400
update_field = _formi_manipulate_field(form, c);
lib/libform/driver.c
410
update_field = _formi_field_choice(form, c);
lib/libform/driver.c
426
if ((c >= REQ_NEXT_PAGE) && (c <= REQ_DOWN_FIELD)) {
lib/libform/driver.c
434
if ((c <= REQ_LAST_PAGE) && (form->form_init != NULL))
lib/libform/driver.c
97
form_driver(FORM *form, int c)
lib/libform/internals.c
114
add_tab(FORM *form, _FORMI_FIELD_LINES *row, unsigned int i, char c);
lib/libform/internals.c
1505
char *str, c;
lib/libform/internals.c
1640
c = *str;
lib/libform/internals.c
1643
cpos + cur->start_char, c);
lib/libform/internals.c
1645
if (c == '\t')
lib/libform/internals.c
1654
if (c == '\t')
lib/libform/internals.c
1657
waddch(form->scrwin, c);
lib/libform/internals.c
1659
if (c == '\t')
lib/libform/internals.c
1670
if (c == '\t')
lib/libform/internals.c
1705
add_tab(FORM *form, _FORMI_FIELD_LINES *row, unsigned int i, char c)
lib/libform/internals.c
1716
waddch(form->scrwin, c);
lib/libform/internals.c
1748
_formi_add_char(FIELD *field, unsigned int pos, char c)
lib/libform/internals.c
1770
if (_formi_validate_char(field, c) != E_OK) {
lib/libform/internals.c
1772
__func__, c);
lib/libform/internals.c
1776
if ((c == '\t') && (field->cols <= 8)) {
lib/libform/internals.c
1781
_formi_dbg_printf("%s: pos=%d, char=%c\n", __func__, pos, c);
lib/libform/internals.c
1840
row->string[pos] = c;
lib/libform/internals.c
2054
_formi_manipulate_field(FORM *form, int c)
lib/libform/internals.c
2069
__func__, reqs[c - REQ_MIN_REQUEST]);
lib/libform/internals.c
2089
switch (c) {
lib/libform/internals.c
2121
_formi_set_cursor_xpos(cur, (c == REQ_RIGHT_CHAR));
lib/libform/internals.c
2125
(c == REQ_RIGHT_CHAR))
lib/libform/internals.c
2148
(c == REQ_RIGHT_CHAR)) {
lib/libform/internals.c
2941
_formi_validate_char(FIELD *field, char c)
lib/libform/internals.c
2949
_formi_do_char_validation(field, field->type, c, &ret_val);
lib/libform/internals.c
2961
_formi_do_char_validation(FIELD *field, FIELDTYPE *type, char c, int *ret_val)
lib/libform/internals.c
2964
_formi_do_char_validation(field, type->link->next, c, ret_val);
lib/libform/internals.c
2965
_formi_do_char_validation(field, type->link->prev, c, ret_val);
lib/libform/internals.c
2970
if (type->char_check((int)(unsigned char) c,
lib/libform/internals.c
3073
_formi_field_choice(FORM *form, int c)
lib/libform/internals.c
3086
switch (c) {
lib/libform/internals.c
91
_formi_do_char_validation(FIELD *field, FIELDTYPE *type, char c, int *ret_val);
lib/libform/internals.h
103
_formi_add_char(FIELD *cur, unsigned pos, char c);
lib/libform/internals.h
111
_formi_field_choice(FORM *form, int c);
lib/libform/internals.h
115
_formi_manipulate_field(FORM *form, int c);
lib/libform/internals.h
131
_formi_validate_char(FIELD *field, char c);
lib/libform/type_alnum.c
156
alnum_check_char(/* ARGSUSED1 */ int c, char *args)
lib/libform/type_alnum.c
158
return (isalnum(c) ? TRUE : FALSE);
lib/libform/type_alpha.c
160
alpha_check_char(/* ARGSUSED1 */ int c, char *args)
lib/libform/type_alpha.c
162
return (isalpha(c) ? TRUE : FALSE);
lib/libform/type_integer.c
165
integer_check_char(/* ARGSUSED1 */ int c, char *args)
lib/libform/type_integer.c
167
return ((isdigit(c) || (c == '-') || (c == '+')) ? TRUE : FALSE);
lib/libform/type_ipv4.c
190
ipv4_check_char(/* ARGSUSED1 */ int c, char *args)
lib/libform/type_ipv4.c
192
return (isxdigit(c) || (c == '.') || (tolower(c) == 'x') ||
lib/libform/type_ipv4.c
193
(c == '/'))? TRUE : FALSE;
lib/libform/type_ipv6.c
103
ipv6_check_char(/* ARGSUSED1 */ int c, char *args)
lib/libform/type_ipv6.c
105
return (isxdigit(c) || (c == '.') || (c == ':')) ? TRUE : FALSE;
lib/libform/type_numeric.c
198
numeric_check_char(/* ARGSUSED1 */ int c, char *args)
lib/libform/type_numeric.c
200
return ((isdigit(c) || (c == '-') || (c == '+')
lib/libform/type_numeric.c
201
|| (c == '.') || (c == 'e') || (c == 'E')) ? TRUE : FALSE);
lib/libintl/gettext.c
246
char *l, *t, *c, *m;
lib/libintl/gettext.c
260
c = strrchr(buf, '.');
lib/libintl/gettext.c
261
if (c)
lib/libintl/gettext.c
262
*c++ = '\0';
lib/libintl/gettext.c
269
if (c && !t)
lib/libintl/gettext.c
274
if (c) {
lib/libintl/gettext.c
276
l, t, c, m);
lib/libintl/gettext.c
289
if (c) {
lib/libintl/gettext.c
290
snprintf(tmp, sizeof(tmp), "%s_%s.%s", l, t, c);
lib/libintl/gettext_iconv.c
61
struct cache **c;
lib/libintl/gettext_iconv.c
64
c = tfind(&key, &cacheroot, cache_cmp);
lib/libintl/gettext_iconv.c
66
return c ? *c : NULL;
lib/libintl/gettext_iconv.c
72
struct cache *c;
lib/libintl/gettext_iconv.c
74
c = malloc(sizeof(*c));
lib/libintl/gettext_iconv.c
75
if (c == NULL)
lib/libintl/gettext_iconv.c
78
c->c_origmsg = origmsg;
lib/libintl/gettext_iconv.c
79
c->c_resultmsg = resultmsg;
lib/libintl/gettext_iconv.c
81
if (tsearch(c, &cacheroot, cache_cmp) == NULL) {
lib/libintl/gettext_iconv.c
82
free(c);
lib/libm/complex/cephes_subr.c
40
_cchsh(double x, double *c, double *s)
lib/libm/complex/cephes_subr.c
45
*c = cosh(x);
lib/libm/complex/cephes_subr.c
52
*c = e + ei;
lib/libm/complex/cephes_subrf.c
40
_cchshf(float x, float *c, float *s)
lib/libm/complex/cephes_subrf.c
45
*c = coshf(x);
lib/libm/complex/cephes_subrf.c
52
*c = e + ei;
lib/libm/complex/cephes_subrl.c
40
_cchshl(long double x, long double *c, long double *s)
lib/libm/complex/cephes_subrl.c
45
*c = coshl(x);
lib/libm/complex/cephes_subrl.c
52
*c = e + ei;
lib/libm/ld128/b_expl.c
100
c = x - z * (p1 + z * (p2 + z * (p3 + z * (p4 +
lib/libm/ld128/b_expl.c
102
c = (x * c) / (2 - c);
lib/libm/ld128/b_expl.c
104
return (ldexpl(1 + (hi - (lo - c)), k));
lib/libm/ld128/b_expl.c
76
__exp__D(long double x, long double c)
lib/libm/ld128/b_expl.c
95
lo = k * ln2lo - c;
lib/libm/ld128/k_expl.h
301
long double c, exp_x, hi, lo, s;
lib/libm/ld128/k_expl.h
318
sincosl(y, &s, &c);
lib/libm/ld128/k_expl.h
319
return (CMPLXL(c * exp_x * scale1 * scale2,
lib/libm/ld128/s_cexpl.c
46
long double c, exp_x, s, x, y;
lib/libm/ld128/s_cexpl.c
56
sincosl(y, &s, &c);
lib/libm/ld128/s_cexpl.c
57
return (CMPLXL(c, s));
lib/libm/ld128/s_cexpl.c
88
sincosl(y, &s, &c);
lib/libm/ld128/s_cexpl.c
89
return (CMPLXL(exp_x * c, exp_x * s));
lib/libm/ld128/s_cospil.c
49
long double ai, ar, ax, c;
lib/libm/ld128/s_cospil.c
63
c = __kernel_sinpil(0.5 - ax);
lib/libm/ld128/s_cospil.c
67
c = -__kernel_sinpil(ax - 0.5);
lib/libm/ld128/s_cospil.c
69
c = -__kernel_cospil(1 - ax);
lib/libm/ld128/s_cospil.c
70
return (c);
lib/libm/ld128/s_cospil.c
79
c = ar == 0 ? 1 : __kernel_cospil(ar);
lib/libm/ld128/s_cospil.c
81
c = __kernel_sinpil(0.5 - ar);
lib/libm/ld128/s_cospil.c
86
c = -__kernel_sinpil(ar - 0.5);
lib/libm/ld128/s_cospil.c
88
c = -__kernel_cospil(1 - ar);
lib/libm/ld128/s_cospil.c
90
return (fmodl(ai, 2.L) == 0 ? c : -c);
lib/libm/ld80/b_expl.c
101
c = x - z * (p1 + z * (p2 + z * (p3 + z * (p4 +
lib/libm/ld80/b_expl.c
103
c = (x * c) / (2 - c);
lib/libm/ld80/b_expl.c
105
return (ldexpl(1 + (hi - (lo - c)), k));
lib/libm/ld80/b_expl.c
77
__exp__LD(long double x, long double c)
lib/libm/ld80/b_expl.c
96
lo = k * ln2lo - c;
lib/libm/ld80/b_tgammal.c
199
ratfun_gam(long double z, long double c)
lib/libm/ld80/b_tgammal.c
212
tlo = (z - thi) + c;
lib/libm/ld80/k_expl.h
278
long double c, exp_x, hi, lo, s;
lib/libm/ld80/k_expl.h
295
sincosl(y, &s, &c);
lib/libm/ld80/k_expl.h
296
return (CMPLXL(c * exp_x * scale1 * scale2,
lib/libm/ld80/s_cexpl.c
100
RETURNI(CMPLXL(exp_x * c, exp_x * s));
lib/libm/ld80/s_cexpl.c
43
long double c, exp_x, s, x, y;
lib/libm/ld80/s_cexpl.c
61
sincosl(y, &s, &c);
lib/libm/ld80/s_cexpl.c
62
RETURNI(CMPLXL(c, s));
lib/libm/ld80/s_cexpl.c
99
sincosl(y, &s, &c);
lib/libm/ld80/s_cospil.c
105
RETURNI(j0 & 1 ? -c : c);
lib/libm/ld80/s_cospil.c
48
long double ax, c;
lib/libm/ld80/s_cospil.c
69
c = __kernel_sinpil(0.5 - ax);
lib/libm/ld80/s_cospil.c
73
c = -__kernel_sinpil(ax - 0.5);
lib/libm/ld80/s_cospil.c
75
c = -__kernel_cospil(1 - ax);
lib/libm/ld80/s_cospil.c
76
RETURNI(c);
lib/libm/ld80/s_cospil.c
86
c = ix == 0 ? 1 : __kernel_cospil(ax);
lib/libm/ld80/s_cospil.c
88
c = __kernel_sinpil(0.5 - ax);
lib/libm/ld80/s_cospil.c
94
c = -__kernel_sinpil(ax - 0.5);
lib/libm/ld80/s_cospil.c
96
c = -__kernel_cospil(1 - ax);
lib/libm/noieee_src/mathimpl.h
42
#define cat3(a,b,c) a ## b ## c
lib/libm/noieee_src/mathimpl.h
46
# define cat3t(a,b,c) cat3(a,b,c)
lib/libm/noieee_src/mathimpl.h
48
# define cat3t(a,b,c) cat3(a,c,b)
lib/libm/noieee_src/n_erf.c
168
c = 8.45062911510467529297e-01, /* (float)0.84506291151 */
lib/libm/noieee_src/n_erf.c
292
return (c + P/Q);
lib/libm/noieee_src/n_erf.c
294
return (-c - P/Q);
lib/libm/noieee_src/n_erf.c
362
z = one-c; return z - P/Q;
lib/libm/noieee_src/n_erf.c
364
z = c+P/Q; return one+z;
lib/libm/noieee_src/n_exp.c
127
double z,hi,lo,c;
lib/libm/noieee_src/n_exp.c
147
c= x - z*(p1+z*(p2+z*(p3+z*(p4+z*p5))));
lib/libm/noieee_src/n_exp.c
148
return scalb(1.0+(hi-(lo-(x*c)/(2.0-c))),k);
lib/libm/noieee_src/n_exp.c
176
__exp__D(double x, double c)
lib/libm/noieee_src/n_exp.c
194
x= hi - (lo = k*ln2lo-c);
lib/libm/noieee_src/n_exp.c
197
c= x - z*(p1+z*(p2+z*(p3+z*(p4+z*p5))));
lib/libm/noieee_src/n_exp.c
198
c = (x*c)/(2.0-c);
lib/libm/noieee_src/n_exp.c
200
return scalb(1.+(hi-(lo - c)), k);
lib/libm/noieee_src/n_exp__E.c
111
__exp__E(double x, double c)
lib/libm/noieee_src/n_exp__E.c
127
c += x*((xh*w-(q-(p+xp)))/(one-w)+c);
lib/libm/noieee_src/n_exp__E.c
128
return(z*half+c);
lib/libm/noieee_src/n_expm1.c
124
double z,hi,lo,c;
lib/libm/noieee_src/n_expm1.c
138
c=(hi-z)-lo;
lib/libm/noieee_src/n_expm1.c
140
if(k==0) return(z+__exp__E(z,c));
lib/libm/noieee_src/n_expm1.c
143
{x=z+half;x +=__exp__E(z,c); return(x+x);}
lib/libm/noieee_src/n_expm1.c
145
{z+=__exp__E(z,c); x=half+z; return(x+x);}
lib/libm/noieee_src/n_expm1.c
150
{ x=one-scalb(one,-k); z += __exp__E(z,c);}
lib/libm/noieee_src/n_expm1.c
152
{ x = __exp__E(z,c)-scalb(one,-k); x+=z; z=one;}
lib/libm/noieee_src/n_expm1.c
154
{ x = __exp__E(z,c)+z; z=one;}
lib/libm/noieee_src/n_expm1.c
164
{ c=ln2hi+ln2lo; return(-one);} /* ??? -ragge */
lib/libm/noieee_src/n_gamma.c
264
ratfun_gam(double z, double c)
lib/libm/noieee_src/n_gamma.c
275
t.b = (z - t.a) + c;
lib/libm/noieee_src/n_j0.c
144
double z, s,c,ss,cc,r,u,v;
lib/libm/noieee_src/n_j0.c
156
c = cos(x);
lib/libm/noieee_src/n_j0.c
157
ss = s-c;
lib/libm/noieee_src/n_j0.c
158
cc = s+c;
lib/libm/noieee_src/n_j0.c
161
if ((s*c)<zero) cc = z/ss;
lib/libm/noieee_src/n_j0.c
213
double z, s, c, ss, cc, u, v;
lib/libm/noieee_src/n_j0.c
249
c = cos(x);
lib/libm/noieee_src/n_j0.c
250
ss = s-c;
lib/libm/noieee_src/n_j0.c
251
cc = s+c;
lib/libm/noieee_src/n_j0.c
258
if ((s*c)<zero) cc = z/ss;
lib/libm/noieee_src/n_j1.c
149
double z, s,c,ss,cc,r,u,v,y;
lib/libm/noieee_src/n_j1.c
162
c = cos(y);
lib/libm/noieee_src/n_j1.c
163
ss = -s-c;
lib/libm/noieee_src/n_j1.c
164
cc = s-c;
lib/libm/noieee_src/n_j1.c
167
if ((s*c)<zero) cc = z/ss;
lib/libm/noieee_src/n_j1.c
214
double z, s, c, ss, cc, u, v;
lib/libm/noieee_src/n_j1.c
241
c = cos(x);
lib/libm/noieee_src/n_j1.c
242
ss = -s-c;
lib/libm/noieee_src/n_j1.c
243
cc = s-c;
lib/libm/noieee_src/n_j1.c
246
if ((s*c)>zero) cc = z/ss;
lib/libm/noieee_src/n_log1p.c
128
double z,s,t,c;
lib/libm/noieee_src/n_log1p.c
144
c = (t-x)+z ; /* correction term for x */
lib/libm/noieee_src/n_log1p.c
148
c += (k*ln2lo-c*x);
lib/libm/noieee_src/n_log1p.c
149
z = c+s*(t+__log__L(s*s));
lib/libm/noieee_src/n_sincos.c
113
c = cos__C(z);
lib/libm/noieee_src/n_sincos.c
115
a = (z >= thresh ? __half-((z-__half)-c) : __one-(z-c));
lib/libm/noieee_src/n_sincos.c
55
double a,c,z;
lib/libm/noieee_src/n_sincos.c
67
c = cos__C(z);
lib/libm/noieee_src/n_sincos.c
69
a = (z >= thresh ? __half-((z-__half)-c) : __one-(z-c));
lib/libm/noieee_src/n_sincos.c
92
double a,c,z,s = 1.0;
lib/libm/noieee_src/n_sincos1.c
42
sincos(double x, double *s, double *c)
lib/libm/noieee_src/n_sincos1.c
45
*c = cos(x);
lib/libm/noieee_src/n_sincos1.c
49
sincosf(float x, float *s, float *c)
lib/libm/noieee_src/n_sincos1.c
52
*c = cosf(x);
lib/libm/noieee_src/n_tan.c
42
double a,z,ss,cc,c;
lib/libm/noieee_src/n_tan.c
64
c = (z >= thresh ? __half-((z-__half)-cc) : __one-(z-cc));
lib/libm/noieee_src/n_tan.c
66
return x+(x*(z-(cc-ss)))/c; /* ... sin/cos */
lib/libm/noieee_src/n_tan.c
72
return c/(x+x*ss); /* ... cos/sin */
lib/libm/src/b_exp.c
115
x= hi - (lo = k*ln2lo-c);
lib/libm/src/b_exp.c
118
c= x - z*(p1+z*(p2+z*(p3+z*(p4+z*p5))));
lib/libm/src/b_exp.c
119
c = (x*c)/(2.0-c);
lib/libm/src/b_exp.c
121
return scalb(1.+(hi-(lo - c)), k);
lib/libm/src/b_exp.c
98
__exp__D(double x, double c)
lib/libm/src/b_tgamma.c
250
ratfun_gam(double z, double c)
lib/libm/src/b_tgamma.c
261
t.b = (z - t.a) + c;
lib/libm/src/e_acos.c
101
w = r*s+c;
lib/libm/src/e_acos.c
64
double z,p,q,r,w,s,c,df;
lib/libm/src/e_acos.c
97
c = (z-df*df)/(s+df);
lib/libm/src/e_acosf.c
43
float z,p,q,r,w,s,c,df;
lib/libm/src/e_acosf.c
75
c = (z-df*df)/(s+df);
lib/libm/src/e_acosf.c
79
w = r*s+c;
lib/libm/src/e_acosl.c
102
w = r*s+c;
lib/libm/src/e_acosl.c
65
long double z,p,q,r,w,s,c,df;
lib/libm/src/e_acosl.c
98
c = (z-df*df)/(s+df);
lib/libm/src/e_asin.c
109
c = (t-w*w)/(s+w);
lib/libm/src/e_asin.c
111
p = 2.0*s*r-(pio2_lo-2.0*c);
lib/libm/src/e_asin.c
73
double t,w,p,q,c,r,s;
lib/libm/src/e_asinf.c
45
float t,w,p,q,c,r,s;
lib/libm/src/e_asinf.c
81
c = (t-w*w)/(s+w);
lib/libm/src/e_asinf.c
83
p = (float)2.0*s*r-(pio2_lo-(float)2.0*c);
lib/libm/src/e_asinl.c
55
long double t=0.0,w,p,q,c,r,s;
lib/libm/src/e_asinl.c
88
c = (t-w*w)/(s+w);
lib/libm/src/e_asinl.c
90
p = 2.0*s*r-(pio2_lo-2.0*c);
lib/libm/src/e_exp.c
106
double y,hi,lo,c,t;
lib/libm/src/e_exp.c
148
c = x - t*(P1+t*(P2+t*(P3+t*(P4+t*P5))));
lib/libm/src/e_exp.c
149
if(k==0) return one-((x*c)/(c-2.0)-x);
lib/libm/src/e_exp.c
150
else y = one-((lo-(x*c)/(2.0-c))-hi);
lib/libm/src/e_expf.c
46
float y,hi,lo,c,t;
lib/libm/src/e_expf.c
85
c = x - t*(P1+t*(P2+t*(P3+t*(P4+t*P5))));
lib/libm/src/e_expf.c
86
if(k==0) return one-((x*c)/(c-(float)2.0)-x);
lib/libm/src/e_expf.c
87
else y = one-((lo-(x*c)/((float)2.0-c))-hi);
lib/libm/src/e_j0.c
100
cc = s+c;
lib/libm/src/e_j0.c
103
if ((s*c)<zero) cc = z/ss;
lib/libm/src/e_j0.c
150
double z, s,c,ss,cc,u,v;
lib/libm/src/e_j0.c
172
c = cos(x);
lib/libm/src/e_j0.c
173
ss = s-c;
lib/libm/src/e_j0.c
174
cc = s+c;
lib/libm/src/e_j0.c
181
if ((s*c)<zero) cc = z/ss;
lib/libm/src/e_j0.c
89
double z, s,c,ss,cc,r,u,v;
lib/libm/src/e_j0.c
98
c = cos(x);
lib/libm/src/e_j0.c
99
ss = s-c;
lib/libm/src/e_j0f.c
111
float z, s,c,ss,cc,u,v;
lib/libm/src/e_j0f.c
133
c = cosf(x);
lib/libm/src/e_j0f.c
134
ss = s-c;
lib/libm/src/e_j0f.c
135
cc = s+c;
lib/libm/src/e_j0f.c
142
if ((s*c)<zero) cc = z/ss;
lib/libm/src/e_j0f.c
47
float z, s,c,ss,cc,r,u,v;
lib/libm/src/e_j0f.c
56
c = cosf(x);
lib/libm/src/e_j0f.c
57
ss = s-c;
lib/libm/src/e_j0f.c
58
cc = s+c;
lib/libm/src/e_j0f.c
61
if ((s*c)<zero) cc = z/ss;
lib/libm/src/e_j1.c
100
ss = -s-c;
lib/libm/src/e_j1.c
101
cc = s-c;
lib/libm/src/e_j1.c
104
if ((s*c)>zero) cc = z/ss;
lib/libm/src/e_j1.c
147
double z, s,c,ss,cc,u,v;
lib/libm/src/e_j1.c
158
c = cos(x);
lib/libm/src/e_j1.c
159
ss = -s-c;
lib/libm/src/e_j1.c
160
cc = s-c;
lib/libm/src/e_j1.c
163
if ((s*c)>zero) cc = z/ss;
lib/libm/src/e_j1.c
90
double z, s,c,ss,cc,r,u,v,y;
lib/libm/src/e_j1.c
99
c = cos(y);
lib/libm/src/e_j1f.c
108
float z, s,c,ss,cc,u,v;
lib/libm/src/e_j1f.c
119
c = cosf(x);
lib/libm/src/e_j1f.c
120
ss = -s-c;
lib/libm/src/e_j1f.c
121
cc = s-c;
lib/libm/src/e_j1f.c
124
if ((s*c)>zero) cc = z/ss;
lib/libm/src/e_j1f.c
48
float z, s,c,ss,cc,r,u,v,y;
lib/libm/src/e_j1f.c
57
c = cosf(y);
lib/libm/src/e_j1f.c
58
ss = -s-c;
lib/libm/src/e_j1f.c
59
cc = s-c;
lib/libm/src/e_j1f.c
62
if ((s*c)>zero) cc = z/ss;
lib/libm/src/math_private.h
489
#define _3sumF(a, b, c) do { \
lib/libm/src/math_private.h
492
__tmp = (c); \
lib/libm/src/s_ceill.c
43
#define INC_MANH(ux, c) do { \
lib/libm/src/s_ceill.c
45
ux.extu_frach += (c); \
lib/libm/src/s_ceill.c
51
#define INC_MANH(ux, c) do { \
lib/libm/src/s_ceill.c
53
ux.extu_frach += (c); \
lib/libm/src/s_cospi.c
101
c = __kernel_sinpi(0.5 - ax);
lib/libm/src/s_cospi.c
105
c = -__kernel_sinpi(ax - 0.5);
lib/libm/src/s_cospi.c
107
c = -__kernel_cospi(1 - ax);
lib/libm/src/s_cospi.c
108
return (c);
lib/libm/src/s_cospi.c
118
c = ix == 0 ? 1 : __kernel_cospi(ax);
lib/libm/src/s_cospi.c
120
c = __kernel_sinpi(0.5 - ax);
lib/libm/src/s_cospi.c
125
c = -__kernel_sinpi(ax - 0.5);
lib/libm/src/s_cospi.c
127
c = -__kernel_cospi(1 - ax);
lib/libm/src/s_cospi.c
133
return (jj0 & 1 ? -c : c);
lib/libm/src/s_cospi.c
84
double ax, c;
lib/libm/src/s_cospif.c
50
float ax, c;
lib/libm/src/s_cospif.c
68
c = __kernel_sinpif(0.5F - ax);
lib/libm/src/s_cospif.c
72
c = -__kernel_sinpif(ax - 0.5F);
lib/libm/src/s_cospif.c
74
c = -__kernel_cospif(1 - ax);
lib/libm/src/s_cospif.c
75
return (c);
lib/libm/src/s_cospif.c
85
c = ix == 0 ? 1 : __kernel_cospif(ax);
lib/libm/src/s_cospif.c
87
c = __kernel_sinpif(0.5F - ax);
lib/libm/src/s_cospif.c
92
c = -__kernel_sinpif(ax - 0.5F);
lib/libm/src/s_cospif.c
94
c = -__kernel_cospif(1 - ax);
lib/libm/src/s_cospif.c
98
return (jj0 & 1 ? -c : c);
lib/libm/src/s_expm1.c
134
double y,hi,lo,c,t,e,hxs,hfx,r1;
lib/libm/src/s_expm1.c
138
c = 0;
lib/libm/src/s_expm1.c
178
c = (hi-x)-lo;
lib/libm/src/s_expm1.c
194
e = (x*(e-c)-c);
lib/libm/src/s_expm1f.c
42
float y,hi,lo,c,t,e,hxs,hfx,r1;
lib/libm/src/s_expm1f.c
46
c = 0;
lib/libm/src/s_expm1f.c
83
c = (hi-x)-lo;
lib/libm/src/s_expm1f.c
99
e = (x*(e-c)-c);
lib/libm/src/s_floorl.c
43
#define INC_MANH(ux, c) do { \
lib/libm/src/s_floorl.c
45
ux.extu_frach += (c); \
lib/libm/src/s_floorl.c
51
#define INC_MANH(ux, c) do { \
lib/libm/src/s_floorl.c
53
ux.extu_frach += (c); \
lib/libm/src/s_log1p.c
111
double hfsq,f,c,s,z,R,u;
lib/libm/src/s_log1p.c
114
f = c = 0;
lib/libm/src/s_log1p.c
141
c = (k>0)? 1.0-(u-x):x-(u-1.0);/* correction term */
lib/libm/src/s_log1p.c
142
c /= u;
lib/libm/src/s_log1p.c
147
c = 0;
lib/libm/src/s_log1p.c
162
else {c += k*ln2_lo; return k*ln2_hi+c;}
lib/libm/src/s_log1p.c
166
return k*ln2_hi-((R-(k*ln2_lo+c))-f);
lib/libm/src/s_log1p.c
172
return k*ln2_hi-((hfsq-(s*(hfsq+R)+(k*ln2_lo+c)))-f);
lib/libm/src/s_log1pf.c
100
return k*ln2_hi-((R-(k*ln2_lo+c))-f);
lib/libm/src/s_log1pf.c
106
return k*ln2_hi-((hfsq-(s*(hfsq+R)+(k*ln2_lo+c)))-f);
lib/libm/src/s_log1pf.c
44
float hfsq,f,c,s,z,R,u;
lib/libm/src/s_log1pf.c
47
f = c = 0;
lib/libm/src/s_log1pf.c
75
c = (k>0)? (float)1.0-(u-x):x-(u-(float)1.0);
lib/libm/src/s_log1pf.c
76
c /= u;
lib/libm/src/s_log1pf.c
81
c = 0;
lib/libm/src/s_log1pf.c
96
else {c += k*ln2_lo; return k*ln2_hi+c;}
lib/libm/src/s_sincosf.c
115
__kernel_sincosdf(y, &s, &c);
lib/libm/src/s_sincosf.c
120
*cs = c;
lib/libm/src/s_sincosf.c
123
*sn = c;
lib/libm/src/s_sincosf.c
128
*cs = -c;
lib/libm/src/s_sincosf.c
131
*sn = -c;
lib/libm/src/s_sincosf.c
49
float c, s;
lib/libm/src/s_tanhl.c
92
divl(long double a, long double b, long double c, long double d,
lib/libm/src/s_tanhl.c
98
_2sumF(a, c);
lib/libm/src/s_tanhl.c
99
b = b + c;
lib/libmenu/driver.c
245
} else if (c > MAX_COMMAND) {
lib/libmenu/driver.c
248
} else if (isprint((unsigned char) c)) {
lib/libmenu/driver.c
250
status = _menui_match_pattern(menu, (unsigned char) c,
lib/libmenu/driver.c
46
menu_driver(MENU *menu, int c)
lib/libmenu/driver.c
72
if ((c > REQ_BASE_NUM) && (c <= MAX_COMMAND)) {
lib/libmenu/driver.c
77
if (! ((c == REQ_BACK_PATTERN) || (c == REQ_NEXT_MATCH) ||
lib/libmenu/driver.c
78
(c == REQ_PREV_MATCH))) {
lib/libmenu/driver.c
79
if ((c == REQ_CLEAR_PATTERN)
lib/libmenu/driver.c
88
switch (c) {
lib/libmenu/internals.c
382
_menui_match_pattern(MENU *menu, int c, int direction, int *item_matched)
lib/libmenu/internals.c
391
if (isprint(c)) {
lib/libmenu/internals.c
399
menu->pattern[menu->plen] = c;
lib/libmenu/internals.h
47
int _menui_match_pattern(MENU *menu, int c, int direction ,
lib/libpthread/pthread_compat.c
106
_lwp_unpark_all(const lwpid_t *a, size_t b, const void *c)
lib/libpthread/pthread_compat.c
109
return (ssize_t)syscall(SYS__lwp_unpark_all, a, b, c);
lib/libpthread/pthread_compat.c
120
_lwp_getname(lwpid_t a, char *b, size_t c)
lib/libpthread/pthread_compat.c
123
return syscall(SYS__lwp_getname, a, b, c);
lib/libpthread/pthread_compat.c
148
_sched_setaffinity(pid_t a, lwpid_t b, size_t c, const cpuset_t *d)
lib/libpthread/pthread_compat.c
151
return syscall(SYS__sched_setaffinity, a, b, c, d);
lib/libpthread/pthread_compat.c
155
_sched_getaffinity(pid_t a, lwpid_t b, size_t c, cpuset_t *d)
lib/libpthread/pthread_compat.c
158
return syscall(SYS__sched_getaffinity, a, b, c, d);
lib/libpthread/pthread_compat.c
162
_sched_setparam(pid_t a, lwpid_t b, int c, const struct sched_param *d)
lib/libpthread/pthread_compat.c
165
return syscall(SYS__sched_setparam, a, b, c, d);
lib/libpthread/pthread_compat.c
169
_sched_getparam(pid_t a, lwpid_t b, int *c, struct sched_param *d)
lib/libpthread/pthread_compat.c
172
return syscall(SYS__sched_getparam, a, b, c, d);
lib/libpthread/pthread_compat.c
177
const struct timespec *c)
lib/libpthread/pthread_compat.c
180
return syscall(SYS_aio_suspend, a, b, c);
lib/libpthread/pthread_compat.c
184
_sys_mq_send(mqd_t a, const char *b, size_t c, unsigned d)
lib/libpthread/pthread_compat.c
187
return syscall(SYS_mq_send, a, b, c, d);
lib/libpthread/pthread_compat.c
191
_sys_mq_receive(mqd_t a, char *b, size_t c, unsigned *d)
lib/libpthread/pthread_compat.c
194
return (ssize_t)syscall(SYS_mq_receive, a, b, c, d);
lib/libpthread/pthread_compat.c
198
_sys_mq_timedsend(mqd_t a, const char *b, size_t c, unsigned d,
lib/libpthread/pthread_compat.c
202
return syscall(SYS_mq_timedsend, a, b,c ,d, e);
lib/libpthread/pthread_compat.c
206
_sys_mq_timedreceive(mqd_t a, char *b, size_t c, unsigned *d,
lib/libpthread/pthread_compat.c
210
return (ssize_t)syscall(SYS_mq_timedreceive, a, b, c, d, e);
lib/libpthread/pthread_compat.c
91
_lwp_park(clockid_t a, int b, const struct timespec *c, lwpid_t d,
lib/libpthread/pthread_compat.c
95
return syscall(SYS____lwp_park60, a, b, c, d, e, f);
lib/libpthread/pthread_mutex.c
89
#define MUTEX_SET_CEILING(x, c) \
lib/libpthread/pthread_mutex.c
90
(x) = (void *)(((uintptr_t)(x) & ~0x00ff0000) | ((c) << 16))
lib/libpuffs/opdump.c
427
puffsdump_cookie(puffs_cookie_t c, const char *cookiename)
lib/libpuffs/opdump.c
430
mydprintf("%scookie: at %p\n", cookiename, c);
lib/libpuffs/puffs_priv.h
42
#define PU_CMAP(pu, c) (pu->pu_cmap ? pu->pu_cmap(pu,c) : (struct puffs_node*)c)
lib/libresolv/dst_api.c
475
int c;
lib/libresolv/dst_api.c
502
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
503
if (isspace(c))
lib/libresolv/dst_api.c
506
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
507
if (!isspace(c))
lib/libresolv/dst_api.c
511
if (isdigit(c)) {
lib/libresolv/dst_api.c
512
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
513
if (isspace(c))
lib/libresolv/dst_api.c
515
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
516
if (!isspace(c))
lib/libresolv/dst_api.c
520
if (c == 'I' || c == 'i') {
lib/libresolv/dst_api.c
521
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
522
if (isspace(c))
lib/libresolv/dst_api.c
524
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
525
if (!isspace(c))
lib/libresolv/dst_api.c
529
if (c != 'K' && c != 'k') {
lib/libresolv/dst_api.c
534
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
535
if (isspace(c))
lib/libresolv/dst_api.c
537
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
538
if (!isspace(c))
lib/libresolv/dst_api.c
540
ungetc(c, fp); /*%< return the character to the input field */
lib/libresolv/dst_api.c
552
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
553
if (!isspace(c))
lib/libresolv/dst_internal.h
154
# define DUMP(a,b,c,d) dst_s_dump(a,b,c,d)
lib/libresolv/dst_internal.h
156
# define DUMP(a,b,c,d)
lib/libresolv/res_mkupdate.c
731
int c;
lib/libresolv/res_mkupdate.c
734
c = **startpp;
lib/libresolv/res_mkupdate.c
735
if (isspace(c) || c == '\0') {
lib/libresolv/res_mkupdate.c
746
*cp++ = (u_char)c;
lib/libresolv/res_mkupdate.c
761
int c, c1 = 0;
lib/libresolv/res_mkupdate.c
768
if ((c = **startpp) == '\0')
lib/libresolv/res_mkupdate.c
771
if ((cp == buf) && !seen_quote && isspace(c)) {
lib/libresolv/res_mkupdate.c
776
switch (c) {
lib/libresolv/res_mkupdate.c
797
switch (c) {
lib/libresolv/res_mkupdate.c
809
(int)(strchr(digits, c) - digits);
lib/libresolv/res_mkupdate.c
812
c = c1 &0xff;
lib/libresolv/res_mkupdate.c
819
} else if (!inquote && isspace(c))
lib/libresolv/res_mkupdate.c
823
*cp++ = (u_char)c;
lib/libresolv/res_mkupdate.c
838
int c, n;
lib/libresolv/res_mkupdate.c
846
c = **startpp;
lib/libresolv/res_mkupdate.c
847
if (isspace(c) || c == '\0') {
lib/libresolv/res_mkupdate.c
855
if (c == ';') {
lib/libresolv/res_mkupdate.c
857
((c = **startpp) != '\n'))
lib/libresolv/res_mkupdate.c
863
if (!isxdigit(c)) {
lib/libresolv/res_mkupdate.c
864
if (c == ')' && seendigit) {
lib/libresolv/res_mkupdate.c
871
if (isdigit(c))
lib/libresolv/res_mkupdate.c
872
n = n * 16 + (c - '0');
lib/libresolv/res_mkupdate.c
874
n = n * 16 + (tolower(c) - 'a' + 10);
lib/libresolv/res_mkupdate.c
886
int c, n;
lib/libresolv/res_mkupdate.c
891
c = **startpp;
lib/libresolv/res_mkupdate.c
892
if (isspace(c) || c == '\0') {
lib/libresolv/res_mkupdate.c
900
if (c == ';') {
lib/libresolv/res_mkupdate.c
902
((c = **startpp) != '\n'))
lib/libresolv/res_mkupdate.c
908
if (!isdigit(c)) {
lib/libresolv/res_mkupdate.c
909
if (c == ')' && seendigit) {
lib/libresolv/res_mkupdate.c
916
n = n * 10 + (c - '0');
lib/librmt/rmtlib.c
141
char c, *cp;
lib/librmt/rmtlib.c
176
while (read(READ(fildes), &c, 1) == 1)
lib/librmt/rmtlib.c
177
if (c == '\n')
lib/librmt/rmtlib.c
493
char c;
lib/librmt/rmtlib.c
554
c = p[cnt];
lib/librmt/rmtlib.c
556
p[cnt + 1] = c;
lib/librumpuser/rumpfiber.c
539
rumpuser_putchar(int c)
lib/librumpuser/rumpfiber.c
542
putchar(c);
lib/librumpuser/rumpuser.c
224
rumpuser_putchar(int c)
lib/librumpuser/rumpuser.c
227
putchar(c);
lib/librumpuser/rumpuser_port.h
279
#define __NetBSD_Prereq__(a,b,c) 0
lib/libskey/put.c
2084
char *btoe(char *engout, const char *c)
lib/libskey/put.c
2090
memcpy (cp, c, 8);
lib/libskey/skeysubr.c
412
int htoi(int c)
lib/libskey/skeysubr.c
414
if ('0' <= c && c <= '9')
lib/libskey/skeysubr.c
415
return c - '0';
lib/libskey/skeysubr.c
416
if ('a' <= c && c <= 'f')
lib/libskey/skeysubr.c
417
return 10 + c - 'a';
lib/libskey/skeysubr.c
418
if ('A' <= c && c <= 'F')
lib/libskey/skeysubr.c
419
return 10 + c - 'A';
lib/libtelnet/enc_des.c
543
cfb64_encrypt(unsigned char *s, int c)
lib/libtelnet/enc_des.c
549
while (c-- > 0) {
lib/libtelnet/enc_des.c
616
ofb64_encrypt(unsigned char *s, int c)
lib/libtelnet/enc_des.c
622
while (c-- > 0) {
lib/libtelnet/genget.c
79
register char **c, **found;
lib/libtelnet/genget.c
86
for (c = table; *c != 0; c = (char **)((char *)c + stlen)) {
lib/libtelnet/genget.c
87
if ((n = isprefix(name, *c)) == 0)
lib/libtelnet/genget.c
90
return(c);
lib/libtelnet/genget.c
93
found = c;
lib/libtelnet/kerberos5.c
104
if (c == -1)
lib/libtelnet/kerberos5.c
105
c = strlen(cd);
lib/libtelnet/kerberos5.c
111
type, c);
lib/libtelnet/kerberos5.c
112
printd(d, c);
lib/libtelnet/kerberos5.c
118
while (c-- > 0) {
lib/libtelnet/kerberos5.c
608
#define ADDC(buf, len, c) if ((len) > 0) {*(buf)++ = (c); --(len);}
lib/libtelnet/kerberos5.c
99
Data(Authenticator *ap, int type, const void *d, int c)
lib/libtelnet/sra.c
100
str_data[3], type, c);
lib/libtelnet/sra.c
101
printd(d, c);
lib/libtelnet/sra.c
107
while (c-- > 0) {
lib/libtelnet/sra.c
381
#define ADDC(buf, len, c) if ((len) > 0) { *(buf)++ = (c); --(len); }
lib/libtelnet/sra.c
89
Data(Authenticator *ap, int type, void *d, int c)
lib/libtelnet/sra.c
94
if (c == -1)
lib/libtelnet/sra.c
95
c = strlen(d);
lib/libterminfo/term.c
358
char *c, *e;
lib/libterminfo/term.c
370
c = NULL;
lib/libterminfo/term.c
372
if (e == NULL && (c = getenv("TERMCAP")) != NULL) {
lib/libterminfo/term.c
373
if (*c != '\0' && *c != '/') {
lib/libterminfo/term.c
374
c = strdup(c);
lib/libterminfo/term.c
375
if (c != NULL) {
lib/libterminfo/term.c
376
e = captoinfo(c);
lib/libterminfo/term.c
377
free(c);
lib/libterminfo/term.c
385
if (c == NULL)
lib/libterminfo/term.c
409
if (c == NULL)
lib/libterminfo/termcap.c
302
char *info, *ip, c, p;
lib/libterminfo/termcap.c
345
switch (c = *++(val)) {
lib/libterminfo/termcap.c
378
if (c != 'd') {
lib/libterminfo/termcap.c
379
*ip++ = c;
lib/libterminfo/termcap.c
391
*ip++ = c;
lib/libterminfo/termcap.c
429
*ip++ = c;
lib/libterminfo/termcap.c
431
if (c == 'i')
lib/libterminfo/tparm.c
113
ochar(TERMINAL *term, int c)
lib/libterminfo/tparm.c
115
if (c == 0)
lib/libterminfo/tparm.c
116
c = 0200;
lib/libterminfo/tparm.c
120
term->_buf[term->_bufpos++] = (char)c;
lib/libterminfo/tparm.c
151
char c;
lib/libterminfo/tparm.c
155
while ((c = *str++) != '\0') {
lib/libterminfo/tparm.c
156
if (c != '%')
lib/libterminfo/tparm.c
158
c = *str++;
lib/libterminfo/tparm.c
159
switch (c) {
lib/libterminfo/tparm.c
170
c = *str++;
lib/libterminfo/tparm.c
171
if (c < '1' || c > '9') {
lib/libterminfo/tparm.c
175
lpop = c - '0';
lib/libterminfo/tparm.c
191
char c, fmt[64], *fp, *ostr;
lib/libterminfo/tparm.c
256
while ((c = *str++) != '\0') {
lib/libterminfo/tparm.c
257
if (c != '%' || (c = *str++) == '%') {
lib/libterminfo/tparm.c
258
if (c == '\0')
lib/libterminfo/tparm.c
260
if (ochar(term, c) == 0)
lib/libterminfo/tparm.c
272
switch (c) {
lib/libterminfo/tparm.c
275
*fp++ = c;
lib/libterminfo/tparm.c
283
*fp++ = c;
lib/libterminfo/tparm.c
288
*fp++ = c;
lib/libterminfo/tparm.c
291
*fp++ = c;
lib/libterminfo/tparm.c
304
*fp++ = c;
lib/libterminfo/tparm.c
309
if (isdigit((unsigned char)c)) {
lib/libterminfo/tparm.c
310
val = (val * 10) + (c - '0');
lib/libterminfo/tparm.c
314
*fp++ = c;
lib/libterminfo/tparm.c
319
c = *str++;
lib/libterminfo/tparm.c
336
switch (c) {
lib/libterminfo/tparm.c
443
switch (c) {
lib/libterminfo/tparm.c
490
switch (c) {
lib/libukfs/ukfs.c
757
ukfs_opendir(struct ukfs *ukfs, const char *dirname, struct ukfs_dircookie **c)
lib/libukfs/ukfs.c
775
*c = (struct ukfs_dircookie *)vp;
lib/libukfs/ukfs.c
806
ukfs_getdents_cookie(struct ukfs *ukfs, struct ukfs_dircookie *c, off_t *off,
lib/libukfs/ukfs.c
810
struct vnode *vp = (struct vnode *)c;
lib/libukfs/ukfs.c
840
ukfs_closedir(struct ukfs *ukfs, struct ukfs_dircookie *c)
lib/libukfs/ukfs.c
844
rump_pub_vp_rele((struct vnode *)c);
lib/libusbhid/parse.c
145
h->report_ID = c->report_ID; \
lib/libusbhid/parse.c
154
hid_item_t *c;
lib/libusbhid/parse.c
167
c = &s->cur;
lib/libusbhid/parse.c
172
if (c->logical_minimum >= c->logical_maximum) {
lib/libusbhid/parse.c
174
c->logical_minimum =(int8_t)c->logical_minimum;
lib/libusbhid/parse.c
176
c->logical_minimum =(int16_t)c->logical_minimum;
lib/libusbhid/parse.c
178
if (c->physical_minimum >= c->physical_maximum) {
lib/libusbhid/parse.c
180
c->physical_minimum =
lib/libusbhid/parse.c
181
(int8_t)c->physical_minimum;
lib/libusbhid/parse.c
183
c->physical_minimum =
lib/libusbhid/parse.c
184
(int16_t)c->physical_minimum;
lib/libusbhid/parse.c
187
c->usage = s->usages[min(s->multi, s->nusage-1)];
lib/libusbhid/parse.c
189
*h = *c;
lib/libusbhid/parse.c
194
h->pos = s->kindpos[c->kind];
lib/libusbhid/parse.c
195
s->kindpos[c->kind] += c->report_size;
lib/libusbhid/parse.c
199
c->report_count = s->multimax;
lib/libusbhid/parse.c
202
hid_clear_local(c);
lib/libusbhid/parse.c
263
c->kind = retkind;
lib/libusbhid/parse.c
264
c->flags = dval;
lib/libusbhid/parse.c
265
if (c->flags & HIO_VARIABLE) {
lib/libusbhid/parse.c
266
s->multimax = c->report_count;
lib/libusbhid/parse.c
268
c->report_count = 1;
lib/libusbhid/parse.c
270
for (i = c->usage_minimum;
lib/libusbhid/parse.c
271
i <= c->usage_maximum;
lib/libusbhid/parse.c
277
c->usage_minimum = 0;
lib/libusbhid/parse.c
278
c->usage_maximum = 0;
lib/libusbhid/parse.c
284
c->usage = c->usage_minimum;
lib/libusbhid/parse.c
285
*h = *c;
lib/libusbhid/parse.c
287
h->pos = s->kindpos[c->kind];
lib/libusbhid/parse.c
288
s->kindpos[c->kind] +=
lib/libusbhid/parse.c
289
c->report_size * c->report_count;
lib/libusbhid/parse.c
290
hid_clear_local(c);
lib/libusbhid/parse.c
298
c->kind = hid_collection;
lib/libusbhid/parse.c
299
c->collection = dval;
lib/libusbhid/parse.c
300
c->collevel++;
lib/libusbhid/parse.c
301
nc = *c;
lib/libusbhid/parse.c
302
hid_clear_local(c);
lib/libusbhid/parse.c
320
c->kind = hid_endcollection;
lib/libusbhid/parse.c
321
c->collevel--;
lib/libusbhid/parse.c
322
*h = *c;
lib/libusbhid/parse.c
334
c->_usage_page = dval << 16;
lib/libusbhid/parse.c
337
c->logical_minimum = dval;
lib/libusbhid/parse.c
341
c->logical_maximum = dval;
lib/libusbhid/parse.c
344
c->physical_minimum = dval;
lib/libusbhid/parse.c
348
c->physical_maximum = dval;
lib/libusbhid/parse.c
352
c->unit_exponent = -16 + dval;
lib/libusbhid/parse.c
354
c->unit_exponent = dval;
lib/libusbhid/parse.c
357
c->unit = dval;
lib/libusbhid/parse.c
360
c->report_size = dval;
lib/libusbhid/parse.c
363
c->report_ID = dval;
lib/libusbhid/parse.c
369
c->report_count = dval;
lib/libusbhid/parse.c
374
c->next = hi;
lib/libusbhid/parse.c
377
hi = c->next;
lib/libusbhid/parse.c
390
c->usage = c->_usage_page | dval;
lib/libusbhid/parse.c
392
s->usages[s->nusage++] = c->usage;
lib/libusbhid/parse.c
397
c->usage_minimum = c->_usage_page | dval;
lib/libusbhid/parse.c
400
c->usage_maximum = c->_usage_page | dval;
lib/libusbhid/parse.c
403
c->designator_index = dval;
lib/libusbhid/parse.c
406
c->designator_minimum = dval;
lib/libusbhid/parse.c
409
c->designator_maximum = dval;
lib/libusbhid/parse.c
412
c->string_index = dval;
lib/libusbhid/parse.c
415
c->string_minimum = dval;
lib/libusbhid/parse.c
418
c->string_maximum = dval;
lib/libusbhid/parse.c
421
c->set_delimiter = dval;
lib/libusbhid/parse.c
78
hid_clear_local(hid_item_t *c)
lib/libusbhid/parse.c
81
_DIAGASSERT(c != NULL);
lib/libusbhid/parse.c
83
c->usage = 0;
lib/libusbhid/parse.c
84
c->usage_minimum = 0;
lib/libusbhid/parse.c
85
c->usage_maximum = 0;
lib/libusbhid/parse.c
86
c->designator_index = 0;
lib/libusbhid/parse.c
87
c->designator_minimum = 0;
lib/libusbhid/parse.c
88
c->designator_maximum = 0;
lib/libusbhid/parse.c
89
c->string_index = 0;
lib/libusbhid/parse.c
90
c->string_minimum = 0;
lib/libusbhid/parse.c
91
c->string_maximum = 0;
lib/libusbhid/parse.c
92
c->set_delimiter = 0;
lib/libutil/parsedate.y
100
#define CheckRelVal(a, b, c, d, e) do { \
lib/libutil/parsedate.y
101
if (!RelVal((a), (b), (c), (d), (e))) { \
lib/libutil/parsedate.y
1077
register char c;
lib/libutil/parsedate.y
1088
if (isdigit((unsigned char)(c = *inp)) || c == '-' || c == '+') {
lib/libutil/parsedate.y
1089
if (c == '-' || c == '+') {
lib/libutil/parsedate.y
1090
sign = c == '-' ? -1 : 1;
lib/libutil/parsedate.y
1097
for (yylval->Number = 0; isdigit((unsigned char)(c = *inp++)); ) {
lib/libutil/parsedate.y
1102
(v == LLONG_MAX/10 && (v * 10 > LLONG_MAX - (c - '0'))))
lib/libutil/parsedate.y
1105
yylval->Number = 10 * yylval->Number + c - '0';
lib/libutil/parsedate.y
1112
if (isalpha((unsigned char)c)) {
lib/libutil/parsedate.y
1113
for (p = buff; isalpha((unsigned char)(c = *inp++)) || c == '.'; )
lib/libutil/parsedate.y
1115
*p++ = c;
lib/libutil/parsedate.y
1120
if (c == '@') {
lib/libutil/parsedate.y
1124
if (c != '(') {
lib/libutil/parsedate.y
1126
return c;
lib/libutil/parsedate.y
1130
c = *inp++;
lib/libutil/parsedate.y
1131
if (c == '\0')
lib/libutil/parsedate.y
1132
return c;
lib/libutil/parsedate.y
1133
if (c == '(')
lib/libutil/parsedate.y
1135
else if (c == ')')
lib/libutil/passwd.c
291
int c;
lib/libutil/passwd.c
295
c = getchar();
lib/libutil/passwd.c
296
if (c != EOF && c != '\n')
lib/libutil/passwd.c
298
if (c == 'n')
lib/libutil/sockaddr_snprintf.c
159
#define ADDC(c) do { if (buf < ebuf) *buf++ = c; else buf++; } \
libexec/atrun/atrun.c
397
int c;
libexec/atrun/atrun.c
419
while ((c = getopt(argc, argv, "dl:")) != -1) {
libexec/atrun/atrun.c
420
switch (c) {
libexec/atrun/atrun.c
437
perrx("Invalid option: %c", c);
libexec/ftpd/cmds.c
321
struct tab *c;
libexec/ftpd/cmds.c
326
c = lookup(cmdtab, command);
libexec/ftpd/cmds.c
327
if (c == NULL) {
libexec/ftpd/cmds.c
331
if (! CMD_IMPLEMENTED(c)) {
libexec/ftpd/cmds.c
332
reply(502, "%s command not implemented.", c->name);
libexec/ftpd/cmds.c
335
if (! CMD_HAS_OPTIONS(c)) {
libexec/ftpd/cmds.c
337
c->name);
libexec/ftpd/cmds.c
389
REASSIGN(c->options, ftpd_strdup(ep));
libexec/ftpd/cmds.c
390
if (c->options != NULL)
libexec/ftpd/cmds.c
391
reply(200, "Options for %s are '%s'.", c->name,
libexec/ftpd/cmds.c
392
c->options);
libexec/ftpd/cmds.c
394
reply(200, "No options defined for %s.", c->name);
libexec/ftpd/cmds.c
469
int c;
libexec/ftpd/cmds.c
489
while((c = getc(fin)) != EOF) {
libexec/ftpd/cmds.c
490
if (c == '\n') /* will get expanded to \r\n */
libexec/ftpd/cmds.c
508
int c;
libexec/ftpd/cmds.c
517
while ((c = getc(fin)) != EOF) {
libexec/ftpd/cmds.c
518
if (c == '\n') {
libexec/ftpd/cmds.c
532
if (atstart && isdigit(c))
libexec/ftpd/cmds.c
534
CPUTC(c, stdout);
libexec/ftpd/cmds.c
535
atstart = (c == '\n');
libexec/ftpd/cmds.c
561
const char *c;
libexec/ftpd/cmds.c
567
c = clear;
libexec/ftpd/cmds.c
570
for (i = len; i > 2; i -= 3, c += 3) {
libexec/ftpd/cmds.c
571
*e++ = base64[(c[0] >> 2) & 0x3f];
libexec/ftpd/cmds.c
572
*e++ = base64[((c[0] << 4) & 0x30) | ((c[1] >> 4) & 0x0f)];
libexec/ftpd/cmds.c
573
*e++ = base64[((c[1] << 2) & 0x3c) | ((c[2] >> 6) & 0x03)];
libexec/ftpd/cmds.c
574
*e++ = base64[(c[2]) & 0x3f];
libexec/ftpd/cmds.c
578
*e++ = base64[(c[0] >> 2) & 0x3f];
libexec/ftpd/cmds.c
579
*e++ = base64[((c[0] << 4) & 0x30) |
libexec/ftpd/cmds.c
580
(i > 1 ? ((c[1] >> 4) & 0x0f) : 0)];
libexec/ftpd/cmds.c
581
*e++ = (i > 1) ? base64[(c[1] << 2) & 0x3c] : termchar;
libexec/ftpd/extern.h
359
#define CPUTC(c, f) do { \
libexec/ftpd/extern.h
360
putc(c, f); total_bytes++; total_bytes_out++; \
libexec/ftpd/ftpcmd.y
1376
int c;
libexec/ftpd/ftpcmd.y
1381
for (c = 0; tmpline[c] != '\0' && --n > 0; ++c) {
libexec/ftpd/ftpcmd.y
1382
*cs++ = tmpline[c];
libexec/ftpd/ftpcmd.y
1383
if (tmpline[c] == '\n') {
libexec/ftpd/ftpcmd.y
1390
if (c == 0)
libexec/ftpd/ftpcmd.y
1393
while ((c = getc(iop)) != EOF) {
libexec/ftpd/ftpcmd.y
1396
c &= 0377;
libexec/ftpd/ftpcmd.y
1397
if (c == IAC) {
libexec/ftpd/ftpcmd.y
1398
if ((c = getc(iop)) != EOF) {
libexec/ftpd/ftpcmd.y
1401
c &= 0377;
libexec/ftpd/ftpcmd.y
1402
switch (c) {
libexec/ftpd/ftpcmd.y
1405
c = getc(iop);
libexec/ftpd/ftpcmd.y
1408
cprintf(stdout, "%c%c%c", IAC, DONT, 0377&c);
libexec/ftpd/ftpcmd.y
1413
c = getc(iop);
libexec/ftpd/ftpcmd.y
1416
cprintf(stdout, "%c%c%c", IAC, WONT, 0377&c);
libexec/ftpd/ftpcmd.y
1426
*cs++ = c;
libexec/ftpd/ftpcmd.y
1436
"command too long, last char: %d", c);
libexec/ftpd/ftpcmd.y
1437
while (c != '\n' && (c = getc(iop)) != EOF)
libexec/ftpd/ftpcmd.y
1441
if (c == '\n')
libexec/ftpd/ftpcmd.y
1444
if (c == EOF && cs == s)
libexec/ftpd/ftpcmd.y
1506
char c;
libexec/ftpd/ftpcmd.y
1526
c = cmdp[cpos];
libexec/ftpd/ftpcmd.y
1529
cmdp[cpos] = c;
libexec/ftpd/ftpcmd.y
1554
c = cmdp[cpos];
libexec/ftpd/ftpcmd.y
1557
cmdp[cpos] = c;
libexec/ftpd/ftpcmd.y
1620
c = cmdp[cpos];
libexec/ftpd/ftpcmd.y
1623
cmdp[cpos] = c;
libexec/ftpd/ftpcmd.y
1635
c = cmdp[cpos];
libexec/ftpd/ftpcmd.y
1639
cmdp[cpos] = c;
libexec/ftpd/ftpcmd.y
1715
c = cmdp[cpos];
libexec/ftpd/ftpcmd.y
1719
cmdp[cpos] = c;
libexec/ftpd/ftpcmd.y
1751
struct tab *c;
libexec/ftpd/ftpcmd.y
1760
for (c = ctab; c->name != NULL; c++) {
libexec/ftpd/ftpcmd.y
1761
int len = strlen(c->name);
libexec/ftpd/ftpcmd.y
1782
c = ctab + j * lines + i;
libexec/ftpd/ftpcmd.y
1783
cprintf(stdout, "%s", c->name);
libexec/ftpd/ftpcmd.y
1784
w = strlen(c->name);
libexec/ftpd/ftpcmd.y
1785
if (! CMD_IMPLEMENTED(c)) {
libexec/ftpd/ftpcmd.y
1789
if (CMD_HAS_OPTIONS(c)) {
libexec/ftpd/ftpcmd.y
1793
if (c + lines >= &ctab[NCMDS])
libexec/ftpd/ftpcmd.y
1806
c = lookup(ctab, s);
libexec/ftpd/ftpcmd.y
1807
if (c == (struct tab *)0) {
libexec/ftpd/ftpcmd.y
1811
if (CMD_IMPLEMENTED(c))
libexec/ftpd/ftpcmd.y
1812
reply(214, "Syntax: %s%s %s", htype, c->name, c->help);
libexec/ftpd/ftpcmd.y
1815
c->name, c->help);
libexec/ftpd/ftpd.c
1763
int c;
libexec/ftpd/ftpd.c
1766
if ((c=getc(fin)) == EOF) {
libexec/ftpd/ftpd.c
1771
if (c == '\n')
libexec/ftpd/ftpd.c
1870
int c;
libexec/ftpd/ftpd.c
1873
if ((c=getc(fout)) == EOF) {
libexec/ftpd/ftpd.c
1878
if (c == '\n')
libexec/ftpd/ftpd.c
2116
ssize_t c;
libexec/ftpd/ftpd.c
2119
c = size;
libexec/ftpd/ftpd.c
2121
if (curclass.writesize < c)
libexec/ftpd/ftpd.c
2122
c = curclass.writesize;
libexec/ftpd/ftpd.c
2125
if (*bufrem < c)
libexec/ftpd/ftpd.c
2126
c = *bufrem;
libexec/ftpd/ftpd.c
2129
c = write(fd, buf, c);
libexec/ftpd/ftpd.c
2130
if (c <= 0)
libexec/ftpd/ftpd.c
2132
buf += c;
libexec/ftpd/ftpd.c
2133
size -= c;
libexec/ftpd/ftpd.c
2134
byte_count += c;
libexec/ftpd/ftpd.c
2136
total_data_out += c;
libexec/ftpd/ftpd.c
2137
total_data += c;
libexec/ftpd/ftpd.c
2139
total_bytes_out += c;
libexec/ftpd/ftpd.c
2140
total_bytes += c;
libexec/ftpd/ftpd.c
2142
*bufrem -= c;
libexec/ftpd/ftpd.c
2165
int c, error;
libexec/ftpd/ftpd.c
2183
c = read(filefd, buf, readsize);
libexec/ftpd/ftpd.c
2184
if (c == 0)
libexec/ftpd/ftpd.c
2186
else if (c < 0)
libexec/ftpd/ftpd.c
2188
else if (write_data(netfd, buf, c, &bufrem, &then, isdata))
libexec/ftpd/ftpd.c
2281
int c, filefd, netfd, rval;
libexec/ftpd/ftpd.c
2292
while ((c = getc(instr)) != EOF) {
libexec/ftpd/ftpd.c
2296
if (c == '\n') {
libexec/ftpd/ftpd.c
2307
(void) putc(c, outstr);
libexec/ftpd/ftpd.c
2385
int c, netfd, filefd, rval;
libexec/ftpd/ftpd.c
2439
errno = c = d = 0;
libexec/ftpd/ftpd.c
2441
if ((c = read(netfd, buf,
libexec/ftpd/ftpd.c
2446
FILESIZECHECK(byte_count + c);
libexec/ftpd/ftpd.c
2447
if ((d = write(filefd, buf, c)) != c)
libexec/ftpd/ftpd.c
2450
bufrem -= c;
libexec/ftpd/ftpd.c
2451
byte_count += c;
libexec/ftpd/ftpd.c
2452
total_data_in += c;
libexec/ftpd/ftpd.c
2453
total_data += c;
libexec/ftpd/ftpd.c
2454
total_bytes_in += c;
libexec/ftpd/ftpd.c
2455
total_bytes += c;
libexec/ftpd/ftpd.c
2463
while ((c = read(netfd, buf, readsize)) > 0) {
libexec/ftpd/ftpd.c
2466
FILESIZECHECK(byte_count + c);
libexec/ftpd/ftpd.c
2467
if (write(filefd, buf, c) != c)
libexec/ftpd/ftpd.c
2470
byte_count += c;
libexec/ftpd/ftpd.c
2471
total_data_in += c;
libexec/ftpd/ftpd.c
2472
total_data += c;
libexec/ftpd/ftpd.c
2473
total_bytes_in += c;
libexec/ftpd/ftpd.c
2474
total_bytes += c;
libexec/ftpd/ftpd.c
2478
if (c < 0)
libexec/ftpd/ftpd.c
2490
while ((c = getc(instr)) != EOF) {
libexec/ftpd/ftpd.c
2500
if (c == '\n')
libexec/ftpd/ftpd.c
2502
while (c == '\r') {
libexec/ftpd/ftpd.c
2505
if ((c = getc(instr)) != '\n') {
libexec/ftpd/ftpd.c
2516
if (c == '\0' || c == EOF)
libexec/ftpd/ftpd.c
2522
(void) putc(c, outstr);
libexec/getty/main.c
405
int c;
libexec/getty/main.c
436
if ((c = cs&0177) == 0)
libexec/getty/main.c
466
if (c == EOT)
libexec/getty/main.c
468
if (c == '\r' || c == '\n' ||
libexec/getty/main.c
474
if (islower(c))
libexec/getty/main.c
476
else if (isupper(c))
libexec/getty/main.c
478
else if (c == ERASE || c == '#' || c == '\b') {
libexec/getty/main.c
487
} else if (c == KILL || c == '@') {
libexec/getty/main.c
499
} else if (isdigit(c) || c == '_')
libexec/getty/main.c
501
if (IG && (c <= ' ' || c > 0176))
libexec/getty/main.c
503
*np++ = c;
libexec/getty/main.c
518
if (c == '\r')
libexec/getty/main.c
539
unsigned char c;
libexec/getty/main.c
541
c = cc;
libexec/getty/main.c
543
c |= partab[c&0177] & 0200;
libexec/getty/main.c
545
c ^= 0200;
libexec/getty/main.c
548
outbuf[obufcnt++] = c;
libexec/getty/main.c
553
return write(STDOUT_FILENO, &c, 1);
libexec/getty/subr.c
650
char c, baud[20];
libexec/getty/subr.c
657
if (read(STDIN_FILENO, &c, 1) <= 0)
libexec/getty/subr.c
659
c &= 0177;
libexec/getty/subr.c
660
if (c == '\n' || c == '\r')
libexec/getty/subr.c
662
if (c == 'B')
libexec/getty/subr.c
664
baud[len] = c;
libexec/getty/subr.c
688
char c;
libexec/getty/subr.c
696
if (read(STDIN_FILENO, &c, 1) != 1)
libexec/getty/subr.c
702
switch (c & 0377) {
libexec/httpd/bozohttpd.c
2361
int c, sc;
libexec/httpd/bozohttpd.c
2369
c = *s++;
libexec/httpd/bozohttpd.c
2372
if ((sc = *spanp++) == c) {
libexec/httpd/bozohttpd.c
2373
if (c == 0)
libexec/httpd/bozohttpd.c
2399
char c, *nbuffer;
libexec/httpd/bozohttpd.c
2419
for (; readfn(httpd, fd, &c, 1) == 1; ) {
libexec/httpd/bozohttpd.c
2420
debug((httpd, DEBUG_EXPLODING, "bozodgetln read %c", c));
libexec/httpd/bozohttpd.c
2435
httpd->getln_buffer[len++] = c;
libexec/httpd/bozohttpd.c
2436
if (c == '\r') {
libexec/httpd/bozohttpd.c
2439
} else if (c == '\n') {
libexec/httpd/bozohttpd.h
408
#define bozo_dir_index(a, b, c) (0)
libexec/httpd/lua-bozo.c
254
int c;
libexec/httpd/lua-bozo.c
274
sscanf(buf, "%2x", &c);
libexec/httpd/lua-bozo.c
275
*q++ = (char)c;
libexec/httpd/main.c
150
int c;
libexec/httpd/main.c
168
while ((c = getopt(argc, argv,
libexec/httpd/main.c
170
switch (c) {
libexec/ld.elf_so/hash.c
76
unsigned char c;
libexec/ld.elf_so/hash.c
78
for (c = *p; c != '\0'; c = *++p)
libexec/ld.elf_so/hash.c
79
h = h * 33 + c;
libexec/ld.elf_so/paths.c
152
int c;
libexec/ld.elf_so/paths.c
155
if ((c = *p++) == 0 || c != *bp++)
libexec/ld.elf_so/xprintf.c
195
int c = va_arg(ap, int);
libexec/ld.elf_so/xprintf.c
196
*bp++ = (char)c;
libexec/lfs_cleanerd/cleansrv.c
67
int c, r;
libexec/lfs_cleanerd/cleansrv.c
75
ioctl(control_socket, FIONREAD, &c);
libexec/lfs_cleanerd/cleansrv.c
76
if (c <= 0)
libexec/makewhatis/makewhatis.c
120
#define ISALPHA(c) isalpha((unsigned char)(c))
libexec/makewhatis/makewhatis.c
121
#define ISDIGIT(c) isdigit((unsigned char)(c))
libexec/makewhatis/makewhatis.c
122
#define ISSPACE(c) isspace((unsigned char)(c))
libexec/makewhatis/makewhatis.c
128
int c, dofork;
libexec/makewhatis/makewhatis.c
144
while ((c = getopt(argc, argv, "C:fw")) != -1) {
libexec/makewhatis/makewhatis.c
145
switch (c) {
libexec/rexecd/rexecd.c
181
char c;
libexec/rexecd/rexecd.c
182
if (read(STDIN_FILENO, &c, 1) != 1) {
libexec/rexecd/rexecd.c
187
if (c == 0)
libexec/rexecd/rexecd.c
189
port = port * 10 + c - '0';
libexec/rexecd/rexecd.c
396
char c;
libexec/rexecd/rexecd.c
399
if (read(STDIN_FILENO, &c, 1) != 1)
libexec/rexecd/rexecd.c
401
*buf++ = c;
libexec/rexecd/rexecd.c
404
} while (c != 0);
libexec/rexecd/unit-tests/rexec.c
47
int c, s;
libexec/rexecd/unit-tests/rexec.c
56
while ((c = getopt(argc, argv, "h:u:p:c:")) != -1)
libexec/rexecd/unit-tests/rexec.c
57
switch (c) {
libexec/rlogind/rlogind.c
247
char c;
libexec/rlogind/rlogind.c
260
read(f, &c, 1);
libexec/rlogind/rlogind.c
262
if (c != 0)
libexec/rlogind/rlogind.c
490
#define pkcontrol(c) ((c)&(TIOCPKT_FLUSHWRITE|TIOCPKT_NOSTOP|TIOCPKT_DOSTOP))
libexec/rlogind/rlogind.c
569
char *p, c;
libexec/rlogind/rlogind.c
582
c = *p; *p = 'p';
libexec/rlogind/rlogind.c
585
*p = c;
libexec/rlogind/rlogind.c
653
char c;
libexec/rlogind/rlogind.c
656
if (read(0, &c, 1) != 1)
libexec/rlogind/rlogind.c
660
*buf++ = c;
libexec/rlogind/rlogind.c
661
} while (c != 0);
libexec/rshd/rshd.c
325
u_char c = optbuf[i];
libexec/rshd/rshd.c
326
if (c == IPOPT_LSRR || c == IPOPT_SSRR) {
libexec/rshd/rshd.c
332
c == IPOPT_LSRR ? "LSRR" : "SSRR");
libexec/rshd/rshd.c
335
if (c == IPOPT_EOL)
libexec/rshd/rshd.c
337
i += (c == IPOPT_NOP) ? 1 : optbuf[i + 1];
libexec/rshd/rshd.c
353
char c;
libexec/rshd/rshd.c
355
if ((cc = read(STDIN_FILENO, &c, 1)) != 1) {
libexec/rshd/rshd.c
361
if (c == 0)
libexec/rshd/rshd.c
363
port = port * 10 + c - '0';
libexec/rshd/rshd.c
748
char c;
libexec/rshd/rshd.c
751
if (read(STDIN_FILENO, &c, 1) != 1)
libexec/rshd/rshd.c
753
*buf++ = c;
libexec/rshd/rshd.c
756
} while (c != 0);
libexec/telnetd/defs.h
75
#define NIACCUM(c) do { \
libexec/telnetd/defs.h
76
*netip++ = c; \
libexec/telnetd/state.c
109
if (linemode && (ncc > 0) && ((c == '\n') ||
libexec/telnetd/state.c
110
((c == 0) && tty_iscrnl())) )
libexec/telnetd/state.c
111
c = '\n';
libexec/telnetd/state.c
1149
int c;
libexec/telnetd/state.c
1151
c = SB_GET();
libexec/telnetd/state.c
1152
if (isupper(c)) {
libexec/telnetd/state.c
1153
c = tolower(c);
libexec/telnetd/state.c
1155
*p++ = c; /* accumulate name */
libexec/telnetd/state.c
1265
int c;
libexec/telnetd/state.c
1270
c = SB_GET();
libexec/telnetd/state.c
1271
if (c == TELQUAL_IS) {
libexec/telnetd/state.c
1276
} else if (c != TELQUAL_INFO) {
libexec/telnetd/state.c
128
if ((c == 0) || (c == '\n'))
libexec/telnetd/state.c
1282
c = SB_GET();
libexec/telnetd/state.c
1283
if ((c == NEW_ENV_VAR) || (c == ENV_USERVAR))
libexec/telnetd/state.c
1314
c = SB_GET();
libexec/telnetd/state.c
1315
switch(c) {
libexec/telnetd/state.c
134
if (c == IAC) {
libexec/telnetd/state.c
1344
c = SB_GET();
libexec/telnetd/state.c
139
if ((c == '\r') && his_state_is_wont(TELOPT_BINARY))
libexec/telnetd/state.c
1390
c = SB_GET();
libexec/telnetd/state.c
1391
if ((c == env_ovar) || (c == ENV_USERVAR))
libexec/telnetd/state.c
1403
c = SB_GET();
libexec/telnetd/state.c
1405
if (c == env_ovar)
libexec/telnetd/state.c
1406
c = NEW_ENV_VAR;
libexec/telnetd/state.c
1407
else if (c == env_ovalue)
libexec/telnetd/state.c
1408
c = NEW_ENV_VALUE;
libexec/telnetd/state.c
1410
switch (c) {
libexec/telnetd/state.c
142
*pfrontp++ = c;
libexec/telnetd/state.c
1433
c = SB_GET();
libexec/telnetd/state.c
1436
*cp++ = c;
libexec/telnetd/state.c
146
gotiac: switch (c) {
libexec/telnetd/state.c
1531
#define ADD(c) \
libexec/telnetd/state.c
1534
*ncp++ = c; \
libexec/telnetd/state.c
1538
#define ADD_DATA(c) \
libexec/telnetd/state.c
1540
ADD(c); if (c == SE || c == IAC) ADD(c); \
libexec/telnetd/state.c
155
printoption("td: recv IAC", c));
libexec/telnetd/state.c
161
printoption("td: recv IAC", c));
libexec/telnetd/state.c
170
printoption("td: recv IAC", c));
libexec/telnetd/state.c
180
printoption("td: recv IAC", c));
libexec/telnetd/state.c
208
printoption("td: recv IAC", c));
libexec/telnetd/state.c
211
if (c == EC)
libexec/telnetd/state.c
225
printoption("td: recv IAC", c));
libexec/telnetd/state.c
276
*pfrontp++ = c;
libexec/telnetd/state.c
283
if (c == IAC) {
libexec/telnetd/state.c
286
SB_ACCUM(c);
libexec/telnetd/state.c
291
if (c != SE) {
libexec/telnetd/state.c
292
if (c != IAC) {
libexec/telnetd/state.c
304
SB_ACCUM(c);
libexec/telnetd/state.c
312
SB_ACCUM(c);
libexec/telnetd/state.c
327
willoption(c);
libexec/telnetd/state.c
332
wontoption(c);
libexec/telnetd/state.c
337
dooption(c);
libexec/telnetd/state.c
342
dontoption(c);
libexec/telnetd/state.c
58
#define SB_ACCUM(c) if (subpointer < (subbuffer+sizeof subbuffer)) { \
libexec/telnetd/state.c
59
*subpointer++ = (c); \
libexec/telnetd/state.c
88
int c;
libexec/telnetd/state.c
94
c = *netip++ & 0377, ncc--;
libexec/telnetd/state.c
97
c = (*decrypt_input)(c);
libexec/telnetd/sys_term.c
771
char *p, c;
libexec/telnetd/sys_term.c
784
c = *p; *p = 'p';
libexec/telnetd/sys_term.c
787
*p = c;
libexec/telnetd/telnetd.c
1075
c = *ptyip++ & 0377, pcc--;
libexec/telnetd/telnetd.c
1076
if (c == IAC)
libexec/telnetd/telnetd.c
1077
output_data("%c", c);
libexec/telnetd/telnetd.c
1078
output_data("%c", c);
libexec/telnetd/telnetd.c
1079
if ((c == '\r') && (my_state_is_wont(TELOPT_BINARY))) {
libexec/telnetd/telnetd.c
952
int c;
libexec/telnetd/telnetd.c
974
if ((c = poll(set, 2, INFTIM)) < 1) {
libexec/telnetd/telnetd.c
975
if (c == -1) {
regress/lib/libc/divrem/divremtest.c
49
#define TEST(id, a, b, c) \
regress/lib/libc/divrem/divremtest.c
51
c = (a) / (b); \
regress/lib/libc/divrem/divremtest.c
52
printf(id "%16jx / %16jx => %16jx\n", UIM(a), UIM(b), UIM(c)); \
regress/lib/libc/divrem/divremtest.c
53
c = (a) % (b); \
regress/lib/libc/divrem/divremtest.c
54
printf(id "%16jx / %16jx => %16jx\n", UIM(a), UIM(b), UIM(c)); \
regress/lib/libc/divrem/divremtest.c
57
#define T64S(a, b, c) TEST("64 ", (a), (b), (c))
regress/lib/libc/divrem/divremtest.c
58
#define T64U(a, b, c) TEST("64U", (a), (b), (c))
regress/sys/fs/lfs/9994/9994_f.c
62
int c, i, j, k, n, p;
regress/sys/fs/lfs/9994/9994_f.c
74
while ((c = getopt(argc, argv, "b:c:n:pqs:")) != -1) {
regress/sys/fs/lfs/9994/9994_f.c
75
switch(c) {
regress/sys/fs/lfs/ckckp/cleanalot_async.c
113
int c, i, j;
regress/sys/fs/lfs/ckckp/cleanalot_async.c
120
while((c = getopt(argc, argv, "b:n:p:")) != -1) {
regress/sys/fs/lfs/ckckp/cleanalot_async.c
121
switch(c) {
regress/sys/fs/lfs/ckckp/cleanalot_async.c
157
if ((c = write_dirs(j, bs, plex)) == 0)
regress/sys/fs/lfs/ckckp/cleanalot_async.c
159
printf("%d: %d files of size %d\n", j, c, bs);
regress/sys/kern/nameibench/nameibench.c
106
u_int p, c;
regress/sys/kern/nameibench/nameibench.c
108
for (c = 0, p = 0; !stop; c++) {
regress/sys/kern/nameibench/nameibench.c
118
nlookups += c;
regress/sys/kern/nameibench/nameibench.c
166
double c;
regress/sys/kern/nameibench/nameibench.c
188
c = nlookups * 1000000.0 / us;
regress/sys/kern/nameibench/nameibench.c
190
ideal = c;
regress/sys/kern/nameibench/nameibench.c
192
printf("%d\t%d\t%.0f\t%.0f\n", sacnt, nt, c, ideal * nt);
regress/sys/kern/unfdpass/unfdpass.c
292
int c;
regress/sys/kern/unfdpass/unfdpass.c
293
c = read (files[i], buf, sizeof(buf));
regress/sys/kern/unfdpass/unfdpass.c
294
if (c < 0)
regress/sys/kern/unfdpass/unfdpass.c
296
else if (c == 0)
sbin/atactl/atactl.c
644
} c;
sbin/atactl/atactl.c
667
c.cmd16.opcode = SCSI_ATA_PASS_THROUGH_16;
sbin/atactl/atactl.c
668
c.cmd16.byte2 = b2;
sbin/atactl/atactl.c
669
c.cmd16.byte3 = b3;
sbin/atactl/atactl.c
670
c.cmd16.features[0] = 0;
sbin/atactl/atactl.c
671
c.cmd16.features[1] = req->features;
sbin/atactl/atactl.c
672
c.cmd16.sector_count[0] = 0;
sbin/atactl/atactl.c
673
c.cmd16.sector_count[1] = req->sec_count;
sbin/atactl/atactl.c
674
c.cmd16.lba[0] = 0;
sbin/atactl/atactl.c
675
c.cmd16.lba[1] = req->sec_num;
sbin/atactl/atactl.c
676
c.cmd16.lba[2] = 0;
sbin/atactl/atactl.c
677
c.cmd16.lba[3] = req->cylinder;
sbin/atactl/atactl.c
678
c.cmd16.lba[4] = 0;
sbin/atactl/atactl.c
679
c.cmd16.lba[5] = req->cylinder >> 8;
sbin/atactl/atactl.c
680
c.cmd16.device = 0;
sbin/atactl/atactl.c
681
c.cmd16.ata_cmd = req->command;
sbin/atactl/atactl.c
682
c.cmd16.control = 0;
sbin/atactl/atactl.c
685
c.cmd12.opcode = SCSI_ATA_PASS_THROUGH_12;
sbin/atactl/atactl.c
686
c.cmd12.byte2 = b2;
sbin/atactl/atactl.c
687
c.cmd12.byte3 = b3;
sbin/atactl/atactl.c
688
c.cmd12.features[0] = req->features;
sbin/atactl/atactl.c
689
c.cmd12.sector_count[0] = req->sec_count;
sbin/atactl/atactl.c
690
c.cmd12.lba[0] = req->sec_num;
sbin/atactl/atactl.c
691
c.cmd12.lba[1] = req->cylinder;
sbin/atactl/atactl.c
692
c.cmd12.lba[2] = req->cylinder >> 8;
sbin/atactl/atactl.c
693
c.cmd12.device = 0;
sbin/atactl/atactl.c
694
c.cmd12.reserved = 0;
sbin/atactl/atactl.c
695
c.cmd12.ata_cmd = req->command;
sbin/atactl/atactl.c
696
c.cmd12.control = 0;
sbin/atactl/atactl.c
704
memcpy(sreq.cmd, &c, cmdlen);
sbin/brconfig/brconfig.c
148
#define do_cmd(a,b,c,d,e,f) do_cmd2((a),(b),(c),(d),(e),NULL,(f))
sbin/brconfig/brconfig.c
301
char c;
sbin/brconfig/brconfig.c
315
for (; (c = *bits) > 32; bits++)
sbin/brconfig/brconfig.c
316
putchar(c);
sbin/canconfig/canconfig.c
110
#define do_cmd(a,b,c,d,e,f) do_cmd2((a),(b),(c),(d),(e),NULL,(f))
sbin/canconfig/canconfig.c
266
char c;
sbin/canconfig/canconfig.c
280
for (; (c = *bits) > 32; bits++)
sbin/canconfig/canconfig.c
281
putchar(c);
sbin/ccdconfig/ccdconfig.c
461
char c;
sbin/ccdconfig/ccdconfig.c
471
c = name[len - 1];
sbin/ccdconfig/ccdconfig.c
473
if (isdigit((unsigned char)c)) {
sbin/cgdconfig/pkcs5_pbkdf2.c
109
const u_int8_t *S, size_t Slen, size_t c, int compat)
sbin/cgdconfig/pkcs5_pbkdf2.c
119
if (c < 1)
sbin/cgdconfig/pkcs5_pbkdf2.c
130
prf_iterate(*r + (PRF_BLOCKLEN * i), P, Plen, S, Slen, c,
sbin/cgdconfig/pkcs5_pbkdf2.c
165
pkcs5_pbkdf2_time(size_t dkLen, size_t c)
sbin/cgdconfig/pkcs5_pbkdf2.c
176
ret = pkcs5_pbkdf2(&r, dkLen, P, sizeof(P), S, sizeof(S), c, 0);
sbin/cgdconfig/pkcs5_pbkdf2.c
189
size_t c;
sbin/cgdconfig/pkcs5_pbkdf2.c
201
for (c = 1;; c *= 2) {
sbin/cgdconfig/pkcs5_pbkdf2.c
202
t = pkcs5_pbkdf2_time(dkLen, c);
sbin/cgdconfig/pkcs5_pbkdf2.c
209
ret = (size_t) ((u_int64_t) c * microseconds / t);
sbin/cgdconfig/pkcs5_pbkdf2.c
73
const u_int8_t *S, size_t Slen, size_t c, size_t ind)
sbin/cgdconfig/pkcs5_pbkdf2.c
87
for (i=0; i < c; i++) {
sbin/disklabel/main.c
1476
char c = 'a' + i;
sbin/disklabel/main.c
1478
(void) fprintf(f, "p%c#%" PRIu32 ":", c, pp->p_size);
sbin/disklabel/main.c
1479
(void) fprintf(f, "o%c#%" PRIu32 ":", c, pp->p_offset);
sbin/disklabel/main.c
1482
(void) fprintf(f, "t%c=%s:", c,
sbin/disklabel/main.c
1487
c, pp->p_fstype);
sbin/disklabel/main.c
1499
(void) fprintf(f, "b%c#%" PRIu64 ":", c,
sbin/disklabel/main.c
1501
(void) fprintf(f, "f%c#%" PRIu32 ":", c,
sbin/dkctl/dkctl.c
661
int c;
sbin/dkctl/dkctl.c
667
while ((c = getopt(argc, argv, "qe")) != -1)
sbin/dkctl/dkctl.c
668
switch (c) {
sbin/dmesg/dmesg.c
276
#define ADDC(c) \
sbin/dmesg/dmesg.c
279
tbuf[tstamp++] = (c); \
sbin/drvctl/drvctl.c
69
int c, mode;
sbin/drvctl/drvctl.c
81
while ((c = getopt(argc, argv, "QRSa:dlnprt")) != -1) {
sbin/drvctl/drvctl.c
82
switch (c) {
sbin/drvctl/drvctl.c
90
mode = c;
sbin/dump/dumprmt.c
160
unsigned char c;
sbin/dump/dumprmt.c
163
c = *cp;
sbin/dump/dumprmt.c
164
if (!isascii(c) || !(isalnum(c) || c == '_' || c == '-')) {
sbin/dump/dumprmt.c
328
char c;
sbin/dump/dumprmt.c
330
if (read(rmtape, &c, 1) != 1)
sbin/dump/dumprmt.c
332
return (c);
sbin/efi/certs.c
301
#define _X(c,f,s) { .guid = EFI_CERT_ ## c ## _GUID, .name = #c, \
sbin/efi/showvar.c
244
char buf[256], c, *cp, *desc;
sbin/efi/showvar.c
271
c = '\0';
sbin/efi/showvar.c
273
c = *cp;
sbin/efi/showvar.c
281
if (c != '\0')
sbin/efi/showvar.c
282
*cp = c; /* restore the buffer */
sbin/efi/showvar.c
317
char c = od[i];
sbin/efi/showvar.c
318
bp[i] = isprint((unsigned char)c) ? c : '.';
sbin/efi/utils.c
115
uint16_t c;
sbin/efi/utils.c
139
c = le16toh(ibuf[i]);
sbin/efi/utils.c
140
if (c == 0) {
sbin/efi/utils.c
143
if (c < 0x0080) {
sbin/efi/utils.c
146
dst[j++] = (uint8_t)c;
sbin/efi/utils.c
148
else if (c < 0x0800) {
sbin/efi/utils.c
151
dst[j++] = 0xc0 | (uint8_t)(c >> 6);
sbin/efi/utils.c
152
dst[j++] = 0x80 | (uint8_t)(c & 0x3f);
sbin/efi/utils.c
158
if (0xD800 <= c && c <= 0xDFFF)
sbin/efi/utils.c
159
c = UCS2_REPLACEMENT_CHARACTER;
sbin/efi/utils.c
160
dst[j++] = 0xe0 | (uint8_t)(c >> 12);
sbin/efi/utils.c
161
dst[j++] = 0x80 | (uint8_t)((c >> 6) & 0x3f);
sbin/efi/utils.c
162
dst[j++] = 0x80 | (uint8_t)(c & 0x3f);
sbin/fdisk/fdisk.c
195
#define DOSSECT(s,c) (((s) & 0x3f) | (((c) >> 2) & 0xc0))
sbin/fdisk/fdisk.c
196
#define DOSCYL(c) ((c) & 0xff)
sbin/fdisk/fdisk.c
2702
int c = (uint8_t)mbs->mbrbs_nametab[j][i];
sbin/fdisk/fdisk.c
2703
if (c == 0 || isprint(c))
sbin/fsck_ext2fs/inode.c
342
int c, overh;
sbin/fsck_ext2fs/inode.c
346
c = dtog(&sblock, blk);
sbin/fsck_ext2fs/inode.c
347
overh = cgoverhead(c);
sbin/fsck_ext2fs/inode.c
348
if (blk < sblock.e2fs.e2fs_bpg * c + overh +
sbin/fsck_ext2fs/inode.c
350
if ((blk + cnt) > sblock.e2fs.e2fs_bpg * c + overh +
sbin/fsck_ext2fs/inode.c
355
sblock.e2fs.e2fs_bpg * c + overh +
sbin/fsck_ext2fs/inode.c
359
sblock.e2fs.e2fs_bpg * c +
sbin/fsck_ext2fs/inode.c
365
if ((blk + cnt) > sblock.e2fs.e2fs_bpg * (c + 1) + overh +
sbin/fsck_ext2fs/inode.c
370
sblock.e2fs.e2fs_bpg * c + overh +
sbin/fsck_ext2fs/inode.c
374
sblock.e2fs.e2fs_bpg * (c + 1) +
sbin/fsck_ext2fs/pass1.c
100
dbase = c * sblock.e2fs.e2fs_bpg +
sbin/fsck_ext2fs/pass1.c
103
if (fs2h32(sblock.e2fs_gd[c].ext2bgd_i_tables) >= dbase) {
sbin/fsck_ext2fs/pass1.c
106
fs2h32(sblock.e2fs_gd[c].ext2bgd_i_tables)
sbin/fsck_ext2fs/pass1.c
110
if (fs2h32(sblock.e2fs_gd[c].ext2bgd_b_bitmap) >= dbase)
sbin/fsck_ext2fs/pass1.c
111
setbmap(fs2h32(sblock.e2fs_gd[c].ext2bgd_b_bitmap));
sbin/fsck_ext2fs/pass1.c
113
if (fs2h32(sblock.e2fs_gd[c].ext2bgd_i_bitmap) >= dbase)
sbin/fsck_ext2fs/pass1.c
114
setbmap(fs2h32(sblock.e2fs_gd[c].ext2bgd_i_bitmap));
sbin/fsck_ext2fs/pass1.c
119
cg_has_sb(c)) {
sbin/fsck_ext2fs/pass1.c
127
if (c == 0) {
sbin/fsck_ext2fs/pass1.c
142
for (c = 0; c < sblock.e2fs_ncg; c++) {
sbin/fsck_ext2fs/pass1.c
91
int c, i;
sbin/fsck_ext2fs/pass1.c
99
for (c = 0; c < sblock.e2fs_ncg; c++) {
sbin/fsck_ext2fs/pass1b.c
80
int c;
sbin/fsck_ext2fs/pass1b.c
91
for (c = 0; c < sblock.e2fs_ncg; c++) {
sbin/fsck_ext2fs/pass5.c
106
for (c = 0; c < fs->e2fs_ncg; c++) {
sbin/fsck_ext2fs/pass5.c
116
blk_bitmap = getdatablk(fs2h32(fs->e2fs_gd[c].ext2bgd_b_bitmap),
sbin/fsck_ext2fs/pass5.c
119
getblk(blk_bitmap, fs2h32(fs->e2fs_gd[c].ext2bgd_b_bitmap),
sbin/fsck_ext2fs/pass5.c
123
ino_bitmap = getdatablk(fs2h32(fs->e2fs_gd[c].ext2bgd_i_bitmap),
sbin/fsck_ext2fs/pass5.c
126
getblk(ino_bitmap, fs2h32(fs->e2fs_gd[c].ext2bgd_i_bitmap),
sbin/fsck_ext2fs/pass5.c
136
j = fs->e2fs.e2fs_ipg * c + 1;
sbin/fsck_ext2fs/pass5.c
175
dbase = c * sblock.e2fs.e2fs_bpg +
sbin/fsck_ext2fs/pass5.c
177
dmax = (c+1) * sblock.e2fs.e2fs_bpg +
sbin/fsck_ext2fs/pass5.c
195
if (debug && (fs2h16(fs->e2fs_gd[c].ext2bgd_nbfree) != nbfree ||
sbin/fsck_ext2fs/pass5.c
196
fs2h16(fs->e2fs_gd[c].ext2bgd_nifree) != nifree ||
sbin/fsck_ext2fs/pass5.c
197
fs2h16(fs->e2fs_gd[c].ext2bgd_ndirs) != ndirs)) {
sbin/fsck_ext2fs/pass5.c
199
"should be %d, %d, %d\n", c,
sbin/fsck_ext2fs/pass5.c
200
fs2h16(fs->e2fs_gd[c].ext2bgd_nbfree),
sbin/fsck_ext2fs/pass5.c
201
fs2h16(fs->e2fs_gd[c].ext2bgd_nifree),
sbin/fsck_ext2fs/pass5.c
202
fs2h16(fs->e2fs_gd[c].ext2bgd_ndirs),
sbin/fsck_ext2fs/pass5.c
208
"SUMMARY INFORMATIONS WRONG FOR CG #%d", c);
sbin/fsck_ext2fs/pass5.c
209
if ((fs2h16(fs->e2fs_gd[c].ext2bgd_nbfree) != nbfree ||
sbin/fsck_ext2fs/pass5.c
210
fs2h16(fs->e2fs_gd[c].ext2bgd_nifree) != nifree ||
sbin/fsck_ext2fs/pass5.c
211
fs2h16(fs->e2fs_gd[c].ext2bgd_ndirs) != ndirs) &&
sbin/fsck_ext2fs/pass5.c
213
fs->e2fs_gd[c].ext2bgd_nbfree = h2fs16(nbfree);
sbin/fsck_ext2fs/pass5.c
214
fs->e2fs_gd[c].ext2bgd_nifree = h2fs16(nifree);
sbin/fsck_ext2fs/pass5.c
215
fs->e2fs_gd[c].ext2bgd_ndirs = h2fs16(ndirs);
sbin/fsck_ext2fs/pass5.c
227
"BLK(S) MISSING IN BIT MAPS #%d", c);
sbin/fsck_ext2fs/pass5.c
240
"INODE(S) MISSING IN BIT MAPS #%d", c);
sbin/fsck_ext2fs/pass5.c
85
int c;
sbin/fsck_ext2fs/setup.c
542
cgoverhead(int c)
sbin/fsck_ext2fs/setup.c
551
if (cg_has_sb(c) == 0)
sbin/fsck_ext2fs/utilities.c
113
char c;
sbin/fsck_ext2fs/utilities.c
130
c = getc(stdin);
sbin/fsck_ext2fs/utilities.c
131
while (c != '\n' && getc(stdin) != '\n')
sbin/fsck_ext2fs/utilities.c
134
} while (c != 'y' && c != 'Y' && c != 'n' && c != 'N');
sbin/fsck_ext2fs/utilities.c
136
if (c == 'y' || c == 'Y')
sbin/fsck_ffs/fsck.h
314
#define ffs_cg_swap(a, b, c) __nothing
sbin/fsck_ffs/fsck.h
315
#define ffs_csum_swap(a, b, c) __nothing
sbin/fsck_ffs/inode.c
280
int c;
sbin/fsck_ffs/inode.c
291
c = dtog(sblock, blk);
sbin/fsck_ffs/inode.c
292
if (blk < cgdmin(sblock, c)) {
sbin/fsck_ffs/inode.c
293
if ((blk + cnt) > cgsblock(sblock, c)) {
sbin/fsck_ffs/inode.c
297
(long long)cgdmin(sblock, c));
sbin/fsck_ffs/inode.c
300
(long long)cgsblock(sblock, c));
sbin/fsck_ffs/inode.c
305
if ((blk + cnt) > cgbase(sblock, c+1)) {
sbin/fsck_ffs/inode.c
309
(long long)cgdmin(sblock, c));
sbin/fsck_ffs/pass1.c
100
for (c = 0; c < sblock->fs_ncg; c++) {
sbin/fsck_ffs/pass1.c
101
inumber = c * sblock->fs_ipg;
sbin/fsck_ffs/pass1.c
103
getblk(&cgblk, cgtod(sblock, c), sblock->fs_cgsize);
sbin/fsck_ffs/pass1.c
114
cdevname(), c, sblock->fs_ncg,
sbin/fsck_ffs/pass1.c
115
c * 100 / sblock->fs_ncg);
sbin/fsck_ffs/pass1.c
120
c, sblock->fs_ncg);
sbin/fsck_ffs/pass1.c
131
pfatal("CG %d: BAD MAGIC NUMBER\n", c);
sbin/fsck_ffs/pass1.c
151
inostathead[c].il_numalloced = inosused;
sbin/fsck_ffs/pass1.c
153
inostathead[c].il_stat = 0;
sbin/fsck_ffs/pass1.c
169
inostathead[c].il_stat = info;
sbin/fsck_ffs/pass1.c
189
if (lastino < (c * (ino_t)sblock->fs_ipg))
sbin/fsck_ffs/pass1.c
192
ninosused = lastino - (c * sblock->fs_ipg);
sbin/fsck_ffs/pass1.c
193
inostathead[c].il_numalloced = ninosused;
sbin/fsck_ffs/pass1.c
195
free(inostathead[c].il_stat);
sbin/fsck_ffs/pass1.c
196
inostathead[c].il_stat = 0;
sbin/fsck_ffs/pass1.c
215
inostathead[c].il_stat = ninfo;
sbin/fsck_ffs/pass1.c
71
uint32_t c;
sbin/fsck_ffs/pass1.c
81
for (c = 0; c < sblock->fs_ncg; c++) {
sbin/fsck_ffs/pass1.c
82
cgd = cgdmin(sblock, c);
sbin/fsck_ffs/pass1.c
83
if (c == 0)
sbin/fsck_ffs/pass1.c
84
i = cgbase(sblock, c);
sbin/fsck_ffs/pass1.c
86
i = cgsblock(sblock, c);
sbin/fsck_ffs/pass1b.c
59
uint32_t c, i;
sbin/fsck_ffs/pass1b.c
69
for (c = 0; c < sblock->fs_ncg; c++) {
sbin/fsck_ffs/pass1b.c
73
cdevname(), c, sblock->fs_ncg,
sbin/fsck_ffs/pass1b.c
74
c * 100 / sblock->fs_ncg);
sbin/fsck_ffs/pass1b.c
78
progress_bar(cdevname(), "phase 1b", c, sblock->fs_ncg);
sbin/fsck_ffs/pass5.c
205
for (c = 0; c < fs->fs_ncg; c++) {
sbin/fsck_ffs/pass5.c
209
cdevname(), c, fs->fs_ncg,
sbin/fsck_ffs/pass5.c
210
c * 100 / fs->fs_ncg);
sbin/fsck_ffs/pass5.c
215
c, fs->fs_ncg);
sbin/fsck_ffs/pass5.c
217
getblk(&cgblk, cgtod(fs, c), fs->fs_cgsize);
sbin/fsck_ffs/pass5.c
222
pfatal("CG %d: PASS5: BAD MAGIC NUMBER\n", c);
sbin/fsck_ffs/pass5.c
232
FFS_FSBTODB(sblock, cgsblock(sblock, c)),
sbin/fsck_ffs/pass5.c
242
getblk(&asblk, cgsblock(sblock, c), sblock->fs_sbsize);
sbin/fsck_ffs/pass5.c
245
"SUPERBLK\n", c);
sbin/fsck_ffs/pass5.c
262
FFS_FSBTODB(sblock, cgsblock(sblock, c)),
sbin/fsck_ffs/pass5.c
267
dbase = cgbase(fs, c);
sbin/fsck_ffs/pass5.c
274
newcg->cg_cgx = c;
sbin/fsck_ffs/pass5.c
277
if (c == fs->fs_ncg - 1) {
sbin/fsck_ffs/pass5.c
323
inum = fs->fs_ipg * c;
sbin/fsck_ffs/pass5.c
350
if (c == 0)
sbin/fsck_ffs/pass5.c
414
cs = &fs->fs_cs(fs, c);
sbin/fsck_ffs/pass5.c
419
c, cs->cs_nffree,newcg->cg_cs.cs_nffree,
sbin/fsck_ffs/pass5.c
458
c * fs->fs_ipg + i * 8 + k);
sbin/fsck_ffs/pass5.c
472
c * fs->fs_fpg + i * 8 + k);
sbin/fsck_ffs/pass5.c
64
uint32_t c;
sbin/fsck_ffs/utilities.c
112
c = getc(stdin);
sbin/fsck_ffs/utilities.c
113
while (c != '\n' && getc(stdin) != '\n') {
sbin/fsck_ffs/utilities.c
119
} while (c != 'y' && c != 'Y' && c != 'n' && c != 'N');
sbin/fsck_ffs/utilities.c
121
if (c == 'y' || c == 'Y')
sbin/fsck_ffs/utilities.c
94
char c;
sbin/fsck_lfs/utilities.c
107
c = getc(stdin);
sbin/fsck_lfs/utilities.c
108
while (c != '\n' && getc(stdin) != '\n')
sbin/fsck_lfs/utilities.c
111
} while (c != 'y' && c != 'Y' && c != 'n' && c != 'N');
sbin/fsck_lfs/utilities.c
113
if (c == 'y' || c == 'Y')
sbin/fsck_lfs/utilities.c
88
char c;
sbin/fsck_msdos/main.c
152
int c;
sbin/fsck_msdos/main.c
172
c = getchar();
sbin/fsck_msdos/main.c
173
while (c != '\n' && getchar() != '\n')
sbin/fsck_msdos/main.c
176
} while (c != 'y' && c != 'Y' && c != 'n' && c != 'N');
sbin/fsck_msdos/main.c
177
return c == 'y' || c == 'Y';
sbin/fsck_udf/main.c
4422
int c;
sbin/fsck_udf/main.c
4439
c = getchar();
sbin/fsck_udf/main.c
4440
while (c != '\n' && getchar() != '\n')
sbin/fsck_udf/main.c
4443
} while (c != 'y' && c != 'Y' && c != 'n' && c != 'N');
sbin/fsck_udf/main.c
4444
return c == 'y' || c == 'Y';
sbin/fsck_udf/main.c
4455
int c;
sbin/fsck_udf/main.c
4470
c = getchar();
sbin/fsck_udf/main.c
4471
while (c != '\n' && getchar() != '\n')
sbin/fsck_udf/main.c
4474
} while (c != 'y' && c != 'Y' && c != 'n' && c != 'N');
sbin/fsck_udf/main.c
4475
return c == 'y' || c == 'Y';
sbin/fsck_v7fs/main.c
148
int c;
sbin/fsck_v7fs/main.c
176
c = line[0];
sbin/fsck_v7fs/main.c
178
return c == 'y' || c == 'Y';
sbin/fsdb/fsdb.c
624
uint32_t c;
sbin/fsdb/fsdb.c
650
for (c = 0; c < sblock->fs_ncg; c++) {
sbin/fsdb/fsdb.c
651
inum = c * sblock->fs_ipg;
sbin/fsdb/fsdb.c
652
getblk(&cgblk, cgtod(sblock, c), sblock->fs_cgsize);
sbin/fsirand/fsirand.c
234
int fd, c, Fflag, pflag, openflags;
sbin/fsirand/fsirand.c
239
while ((c = getopt(argc, argv, "Fpx:")) != -1)
sbin/fsirand/fsirand.c
240
switch (c) {
sbin/gpt/gpt.c
135
unsigned int c;
sbin/gpt/gpt.c
146
c = le16toh(s16[s16idx]);
sbin/gpt/gpt.c
147
if ((utfchar & 0x400) != 0 || (c & 0xfc00) != 0xdc00)
sbin/gpt/gpt.c
188
unsigned int c, utfbytes;
sbin/gpt/gpt.c
193
c = s8[s8idx++];
sbin/gpt/gpt.c
194
if ((c & 0xc0) != 0x80) {
sbin/gpt/gpt.c
204
if ((c & 0xf8) == 0xf0) {
sbin/gpt/gpt.c
205
utfchar = c & 0x07;
sbin/gpt/gpt.c
207
} else if ((c & 0xf0) == 0xe0) {
sbin/gpt/gpt.c
208
utfchar = c & 0x0f;
sbin/gpt/gpt.c
210
} else if ((c & 0xe0) == 0xc0) {
sbin/gpt/gpt.c
211
utfchar = c & 0x1f;
sbin/gpt/gpt.c
214
utfchar = c & 0x7f;
sbin/gpt/gpt.c
220
utfchar = (utfchar << 6) + (c & 0x3f);
sbin/gpt/gpt.c
239
} while (c != 0);
sbin/init/init.c
231
int c;
sbin/init/init.c
281
while ((c = getopt(argc, argv, "sf")) != -1)
sbin/init/init.c
282
switch (c) {
sbin/init/init.c
290
warning("unrecognized flag `%c'", c);
sbin/iscsictl/iscsic_main.c
520
command_t *c;
sbin/iscsictl/iscsic_main.c
541
for (c = cmds; c->cmd != NULL; c++) {
sbin/iscsictl/iscsic_main.c
542
if (strcmp(c->cmd, cmdname) == 0) {
sbin/iscsictl/iscsic_main.c
546
if (c->cmd == NULL) {
sbin/iscsictl/iscsic_main.c
571
res = (*c->proc)(argc - optind - 1, &argv[optind + 1]);
sbin/iscsid/iscsid_main.c
524
int req_temp, rsp_temp, c;
sbin/iscsid/iscsid_main.c
534
while ((c = getopt(argc, argv, "Dd:")) != -1)
sbin/iscsid/iscsid_main.c
535
switch (c) {
sbin/ldconfig/ldconfig.c
100
switch (c) {
sbin/ldconfig/ldconfig.c
161
char *line, *c;
sbin/ldconfig/ldconfig.c
202
if ((c = strchr(line, '#')) == NULL)
sbin/ldconfig/ldconfig.c
203
c = line + len;
sbin/ldconfig/ldconfig.c
204
while (--c >= line && isblank((unsigned char)*c)) continue;
sbin/ldconfig/ldconfig.c
205
if (c >= line) {
sbin/ldconfig/ldconfig.c
206
*++c = '\0';
sbin/ldconfig/ldconfig.c
96
int i, c;
sbin/ldconfig/ldconfig.c
99
while ((c = getopt(argc, argv, "cmrsSv")) != -1) {
sbin/mount_ados/mount_ados.c
84
int c, mntflags, set_gid, set_uid, set_mask;
sbin/mount_ados/mount_ados.c
90
while ((c = getopt(argc, argv, "u:g:m:o:")) != -1) {
sbin/mount_ados/mount_ados.c
91
switch (c) {
sbin/mount_msdos/mount_msdos.c
88
int c, set_gid, set_uid, set_mask, set_dirmask, set_gmtoff;
sbin/mount_msdos/mount_msdos.c
97
while ((c = getopt(argc, argv, "Gsl9Uu:g:m:M:o:t:")) != -1) {
sbin/mount_msdos/mount_msdos.c
98
switch (c) {
sbin/mount_nfs/mount_nfs.c
197
getnum(const char *s, int c)
sbin/mount_nfs/mount_nfs.c
202
errx(EXIT_FAILURE, "Illegal value `%s' for option -%c", s, c);
sbin/mount_nfs/mount_nfs.c
218
int c;
sbin/mount_nfs/mount_nfs.c
225
while ((c = getopt(argc, argv,
sbin/mount_nfs/mount_nfs.c
227
switch (c) {
sbin/mount_nfs/mount_nfs.c
244
nfsargsp->readahead = getnum(optarg, c);
sbin/mount_nfs/mount_nfs.c
257
nfsargsp->deadthresh = getnum(optarg, c);
sbin/mount_nfs/mount_nfs.c
264
num = getnum(optarg, c);
sbin/mount_nfs/mount_nfs.c
270
nfsargsp->readdirsize = getnum(optarg, c);
sbin/mount_nfs/mount_nfs.c
388
retrycnt = getnum(optarg, c);
sbin/mount_nfs/mount_nfs.c
391
nfsargsp->rsize = getnum(optarg, c);
sbin/mount_nfs/mount_nfs.c
401
nfsargsp->timeo = getnum(optarg, c);
sbin/mount_nfs/mount_nfs.c
405
nfsargsp->wsize = getnum(optarg, c);
sbin/mount_nfs/mount_nfs.c
409
nfsargsp->retrans = getnum(optarg, c);
sbin/mount_ntfs/mount_ntfs.c
84
int c, set_gid, set_uid, set_mask;
sbin/mount_ntfs/mount_ntfs.c
91
while ((c = getopt(argc, argv, "aiu:g:m:o:")) != -1) {
sbin/mount_ntfs/mount_ntfs.c
92
switch (c) {
sbin/mount_portal/conf.c
149
int c, errcode;
sbin/mount_portal/conf.c
159
c = 0;
sbin/mount_portal/conf.c
172
c++;
sbin/mount_portal/conf.c
174
c++;
sbin/mount_portal/conf.c
177
if (c <= 1)
sbin/mount_portal/conf.c
185
p->p_argv = xmalloc(c * sizeof(char *));
sbin/mount_portal/conf.c
201
for (c = 0; c < p->p_argc; c++)
sbin/mount_portal/conf.c
202
printf("%sv[%d] = %s\n", c?"\t":"", c, p->p_argv[c]);
sbin/mount_qemufwcfg/virtdir.c
135
if (tp->c == tp->size || tp->size == 0) {
sbin/mount_qemufwcfg/virtdir.c
139
tp->v[tp->c].namelen = pathlen;
sbin/mount_qemufwcfg/virtdir.c
140
tp->v[tp->c].name = estrndup(path, pathlen);
sbin/mount_qemufwcfg/virtdir.c
141
tp->v[tp->c].d_name = strrchr(tp->v[tp->c].name, '/') + 1;
sbin/mount_qemufwcfg/virtdir.c
142
tp->v[tp->c].type = type;
sbin/mount_qemufwcfg/virtdir.c
143
tp->v[tp->c].ino = (ino_t) random() & 0xfffff;
sbin/mount_qemufwcfg/virtdir.c
144
tp->v[tp->c].tgtlen = tgtlen;
sbin/mount_qemufwcfg/virtdir.c
146
tp->v[tp->c].tgt = estrndup(tgt, tgtlen);
sbin/mount_qemufwcfg/virtdir.c
148
tp->v[tp->c].select = select;
sbin/mount_qemufwcfg/virtdir.c
149
tp->c += 1;
sbin/mount_qemufwcfg/virtdir.c
150
qsort(tp->v, tp->c, sizeof(tp->v[0]), compare);
sbin/mount_qemufwcfg/virtdir.c
165
return bsearch(&e, tp->v, tp->c, sizeof(tp->v[0]), compare);
sbin/mount_qemufwcfg/virtdir.c
197
for ( ; dirp->i < dirp->tp->c; dirp->i++) {
sbin/mount_qemufwcfg/virtdir.h
52
uint32_t c; /* count of entries */
sbin/newfs/extern.h
63
#define ffs_cg_swap(a, b, c) __nothing
sbin/newfs/extern.h
64
#define ffs_csum_swap(a, b, c) __nothing
sbin/newfs_ext2fs/mke2fs.c
1327
uint c, i;
sbin/newfs_ext2fs/mke2fs.c
1341
c = ino_to_cg(&sblock, ino);
sbin/newfs_ext2fs/mke2fs.c
1344
if (gd[c].ext2bgd_nifree == 0)
sbin/newfs_ext2fs/mke2fs.c
1347
__func__, (uint64_t)ino, c);
sbin/newfs_ext2fs/mke2fs.c
1360
gd[c].ext2bgd_nifree = h2fs16(fs2h16(gd[c].ext2bgd_nifree)-1);
sbin/newfs_ext2fs/mke2fs.c
158
#define cgbase(fs, c) \
sbin/newfs_ext2fs/mke2fs.c
159
((fs)->e2fs.e2fs_first_dblock + (fs)->e2fs.e2fs_bpg * (c))
sbin/newfs_ext2fs/mke2fs.c
855
cgoverhead(uint c)
sbin/newfs_ext2fs/mke2fs.c
864
cg_has_sb(c) != 0) {
sbin/newfs_msdos/mkfs_msdos.c
181
#define INIT(a, b, c, d, e, f, g, h, i, j) \
sbin/newfs_msdos/mkfs_msdos.c
182
{ .bps = a, .spc = b, .res = c, .nft = d, .rde = e, \
sbin/newfs_msdos/mkfs_msdos.c
969
int c, i;
sbin/newfs_msdos/mkfs_msdos.c
972
c = (u_char)*src++;
sbin/newfs_msdos/mkfs_msdos.c
973
if (c < ' ' + !i || strchr("\"*+,./:;<=>?[\\]|", c))
sbin/newfs_msdos/mkfs_msdos.c
976
return i && !c;
sbin/newfs_msdos/mkfs_msdos.c
985
int c, i;
sbin/newfs_msdos/mkfs_msdos.c
988
c = *src ? toupper((unsigned char)*src++) : ' ';
sbin/newfs_msdos/mkfs_msdos.c
989
*dest++ = !i && c == '\xe5' ? 5 : c;
sbin/newfs_udf/unicode.h
102
switch (c) {
sbin/newfs_udf/unicode.h
119
*str += c;
sbin/newfs_udf/unicode.h
120
*sz -= c;
sbin/newfs_udf/unicode.h
79
unsigned int c;
sbin/newfs_udf/unicode.h
90
c = _utf_count[(s[0] & 0xf0) >> 4];
sbin/newfs_udf/unicode.h
91
if (c == 0 || c > *sz) {
sbin/newfs_udf/unicode.h
99
c = 1;
sbin/nvmectl/bignum.c
1001
if (c != NULL) {
sbin/nvmectl/bignum.c
1002
mp_zero(c);
sbin/nvmectl/bignum.c
1146
if (c != NULL) {
sbin/nvmectl/bignum.c
1148
mp_exch(&q, c);
sbin/nvmectl/bignum.c
1149
c->sign = neg;
sbin/nvmectl/bignum.c
1174
modulo(mp_int * a, mp_int * b, mp_int * c)
sbin/nvmectl/bignum.c
1189
res = signed_add(b, &t, c);
sbin/nvmectl/bignum.c
1192
mp_exch(&t, c);
sbin/nvmectl/bignum.c
1301
fast_modular_inverse(mp_int * a, mp_int * b, mp_int * c)
sbin/nvmectl/bignum.c
1414
mp_exch(&D, c);
sbin/nvmectl/bignum.c
1415
c->sign = neg;
sbin/nvmectl/bignum.c
1425
slow_modular_inverse(mp_int * a, mp_int * b, mp_int * c)
sbin/nvmectl/bignum.c
1572
mp_exch(&C, c);
sbin/nvmectl/bignum.c
1580
modular_inverse(mp_int *c, mp_int *a, mp_int *b)
sbin/nvmectl/bignum.c
1589
return fast_modular_inverse(a, b, c);
sbin/nvmectl/bignum.c
1591
return slow_modular_inverse(a, b, c);
sbin/nvmectl/bignum.c
1744
third(mp_int * a, mp_int *c, mp_digit * d)
sbin/nvmectl/bignum.c
1790
if (c != NULL) {
sbin/nvmectl/bignum.c
1792
mp_exch(&q, c);
sbin/nvmectl/bignum.c
1807
toom_cook_multiply(mp_int *a, mp_int *b, mp_int *c)
sbin/nvmectl/bignum.c
2042
if ((res = signed_add(&w0, &w1, c)) != MP_OKAY) {
sbin/nvmectl/bignum.c
2051
if ((res = signed_add(&tmp1, c, c)) != MP_OKAY) {
sbin/nvmectl/bignum.c
2095
karatsuba_multiply(mp_int * a, mp_int * b, mp_int * c)
sbin/nvmectl/bignum.c
2207
if (signed_add(&t1, &x1y1, c) != MP_OKAY) {
sbin/nvmectl/bignum.c
2248
fast_col_array_multiply(mp_int * a, mp_int * b, mp_int * c, int digs)
sbin/nvmectl/bignum.c
2256
if (c->alloc < digs) {
sbin/nvmectl/bignum.c
2257
if ((res = mp_grow(c, digs)) != MP_OKAY) {
sbin/nvmectl/bignum.c
2299
olduse = c->used;
sbin/nvmectl/bignum.c
2300
c->used = pa;
sbin/nvmectl/bignum.c
2304
tmpc = c->dp;
sbin/nvmectl/bignum.c
2315
trim_unused_digits(c);
sbin/nvmectl/bignum.c
2342
basic_multiply_partial_lower(mp_int * a, mp_int * b, mp_int * c, int digs)
sbin/nvmectl/bignum.c
2352
return fast_col_array_multiply(a, b, c, digs);
sbin/nvmectl/bignum.c
2399
mp_exch(&t, c);
sbin/nvmectl/bignum.c
2411
signed_multiply(mp_int * a, mp_int * b, mp_int * c)
sbin/nvmectl/bignum.c
2418
res = toom_cook_multiply(a, b, c);
sbin/nvmectl/bignum.c
2421
res = karatsuba_multiply(a, b, c);
sbin/nvmectl/bignum.c
2427
res = fast_col_array_multiply(a, b, c, digs);
sbin/nvmectl/bignum.c
2429
res = basic_multiply_partial_lower(a, b, c, (a)->used + (b)->used + 1);
sbin/nvmectl/bignum.c
2432
c->sign = (c->used > 0) ? neg : MP_ZPOS;
sbin/nvmectl/bignum.c
2446
fast_basic_multiply_partial_upper(mp_int * a, mp_int * b, mp_int * c, int digs)
sbin/nvmectl/bignum.c
2454
if (c->alloc < pa) {
sbin/nvmectl/bignum.c
2455
if ((res = mp_grow(c, pa)) != MP_OKAY) {
sbin/nvmectl/bignum.c
2493
olduse = c->used;
sbin/nvmectl/bignum.c
2494
c->used = pa;
sbin/nvmectl/bignum.c
2499
tmpc = c->dp + digs;
sbin/nvmectl/bignum.c
2510
trim_unused_digits(c);
sbin/nvmectl/bignum.c
252
lshift_bits(mp_int *a, int b, mp_int *c)
sbin/nvmectl/bignum.c
2522
basic_multiply_partial_upper(mp_int * a, mp_int * b, mp_int * c, int digs)
sbin/nvmectl/bignum.c
2532
return fast_basic_multiply_partial_upper(a, b, c, digs);
sbin/nvmectl/bignum.c
2570
mp_exch(&t, c);
sbin/nvmectl/bignum.c
258
if (a != c) {
sbin/nvmectl/bignum.c
259
if ((res = mp_copy(a, c)) != MP_OKAY) {
sbin/nvmectl/bignum.c
264
if (c->alloc < (int)(c->used + b/DIGIT_BIT + 1)) {
sbin/nvmectl/bignum.c
265
if ((res = mp_grow(c, c->used + b / DIGIT_BIT + 1)) != MP_OKAY) {
sbin/nvmectl/bignum.c
272
if ((res = lshift_digits(c, b / DIGIT_BIT)) != MP_OKAY) {
sbin/nvmectl/bignum.c
290
tmpc = c->dp;
sbin/nvmectl/bignum.c
294
for (x = 0; x < c->used; x++) {
sbin/nvmectl/bignum.c
308
c->dp[c->used++] = carry;
sbin/nvmectl/bignum.c
311
trim_unused_digits(c);
sbin/nvmectl/bignum.c
317
mp_read_unsigned_bin(mp_int *a, const uint8_t *b, int c)
sbin/nvmectl/bignum.c
332
while (c-- > 0) {
sbin/nvmectl/bignum.c
3520
multiply_modulo(mp_int *d, mp_int * a, mp_int * b, mp_int * c)
sbin/nvmectl/bignum.c
3533
res = modulo(&t, c, d);
sbin/nvmectl/bignum.c
4397
signed_divide_word(mp_int *a, mp_digit b, mp_int *c, mp_digit *d)
sbin/nvmectl/bignum.c
4414
if (c != NULL) {
sbin/nvmectl/bignum.c
4415
return mp_copy(a, c);
sbin/nvmectl/bignum.c
4425
if (c != NULL) {
sbin/nvmectl/bignum.c
4426
return rshift_bits(a, ix, c, NULL);
sbin/nvmectl/bignum.c
4433
return third(a, c, d);
sbin/nvmectl/bignum.c
4460
if (c != NULL) {
sbin/nvmectl/bignum.c
4462
mp_exch(&q, c);
sbin/nvmectl/bignum.c
4539
add_single_digit(mp_int *a, mp_digit b, mp_int *c)
sbin/nvmectl/bignum.c
4545
if (c->alloc < a->used + 1) {
sbin/nvmectl/bignum.c
4546
if ((res = mp_grow(c, a->used + 1)) != MP_OKAY) {
sbin/nvmectl/bignum.c
4557
res = signed_subtract_word(a, b, c);
sbin/nvmectl/bignum.c
4560
a->sign = c->sign = MP_NEG;
sbin/nvmectl/bignum.c
4563
trim_unused_digits(c);
sbin/nvmectl/bignum.c
4569
oldused = c->used;
sbin/nvmectl/bignum.c
4572
c->sign = MP_ZPOS;
sbin/nvmectl/bignum.c
4578
tmpc = c->dp;
sbin/nvmectl/bignum.c
4600
c->used = a->used + 1;
sbin/nvmectl/bignum.c
4603
c->used = 1;
sbin/nvmectl/bignum.c
4622
trim_unused_digits(c);
sbin/nvmectl/bignum.c
4629
signed_subtract_word(mp_int *a, mp_digit b, mp_int *c)
sbin/nvmectl/bignum.c
4635
if (c->alloc < a->used + 1) {
sbin/nvmectl/bignum.c
4636
if ((res = mp_grow(c, a->used + 1)) != MP_OKAY) {
sbin/nvmectl/bignum.c
4646
res = add_single_digit(a, b, c);
sbin/nvmectl/bignum.c
4647
a->sign = c->sign = MP_NEG;
sbin/nvmectl/bignum.c
4650
trim_unused_digits(c);
sbin/nvmectl/bignum.c
4656
oldused = c->used;
sbin/nvmectl/bignum.c
4658
tmpc = c->dp;
sbin/nvmectl/bignum.c
4670
c->sign = MP_NEG;
sbin/nvmectl/bignum.c
4671
c->used = 1;
sbin/nvmectl/bignum.c
4674
c->sign = MP_ZPOS;
sbin/nvmectl/bignum.c
4675
c->used = a->used;
sbin/nvmectl/bignum.c
4694
trim_unused_digits(c);
sbin/nvmectl/bignum.c
4734
square_modulo(mp_int *a, mp_int *b, mp_int *c)
sbin/nvmectl/bignum.c
4747
res = modulo(&t, b, c);
sbin/nvmectl/bignum.c
5101
subtract_modulo(mp_int *a, mp_int *b, mp_int *c, mp_int *d)
sbin/nvmectl/bignum.c
5115
res = modulo(&t, c, d);
sbin/nvmectl/bignum.c
5123
mp_gcd(mp_int *a, mp_int *b, mp_int *c)
sbin/nvmectl/bignum.c
5130
return absolute(b, c);
sbin/nvmectl/bignum.c
5133
return absolute(a, c);
sbin/nvmectl/bignum.c
5196
if ((res = lshift_bits(&u, k, c)) != MP_OKAY) {
sbin/nvmectl/bignum.c
5199
c->sign = MP_ZPOS;
sbin/nvmectl/bignum.c
535
basic_add(mp_int * a, mp_int * b, mp_int * c)
sbin/nvmectl/bignum.c
5536
BN_CTX_init(BN_CTX *c)
sbin/nvmectl/bignum.c
5538
if (c != NULL) {
sbin/nvmectl/bignum.c
5539
c->arraysize = 15;
sbin/nvmectl/bignum.c
554
if (c->alloc < max + 1) {
sbin/nvmectl/bignum.c
5540
if ((c->v = allocate(sizeof(*c->v), c->arraysize)) == NULL) {
sbin/nvmectl/bignum.c
5541
c->arraysize = 0;
sbin/nvmectl/bignum.c
555
if ((res = mp_grow(c, max + 1)) != MP_OKAY) {
sbin/nvmectl/bignum.c
5562
BN_CTX_free(BN_CTX *c)
sbin/nvmectl/bignum.c
5566
if (c != NULL && c->v != NULL) {
sbin/nvmectl/bignum.c
5567
for (i = 0 ; i < c->count ; i++) {
sbin/nvmectl/bignum.c
5568
BN_clear_free(c->v[i]);
sbin/nvmectl/bignum.c
5570
deallocate(c->v, sizeof(*c->v) * c->arraysize);
sbin/nvmectl/bignum.c
561
olduse = c->used;
sbin/nvmectl/bignum.c
562
c->used = max + 1;
sbin/nvmectl/bignum.c
577
tmpc = c->dp;
sbin/nvmectl/bignum.c
612
if (olduse > c->used) {
sbin/nvmectl/bignum.c
613
memset(tmpc, 0x0, (olduse - c->used) * sizeof(*c->dp));
sbin/nvmectl/bignum.c
617
trim_unused_digits(c);
sbin/nvmectl/bignum.c
623
basic_subtract(mp_int * a, mp_int * b, mp_int * c)
sbin/nvmectl/bignum.c
632
if (c->alloc < max) {
sbin/nvmectl/bignum.c
633
if ((res = mp_grow(c, max)) != MP_OKAY) {
sbin/nvmectl/bignum.c
637
olduse = c->used;
sbin/nvmectl/bignum.c
638
c->used = max;
sbin/nvmectl/bignum.c
647
tmpc = c->dp;
sbin/nvmectl/bignum.c
679
if (olduse > c->used) {
sbin/nvmectl/bignum.c
680
memset(tmpc, 0x0, (olduse - c->used) * sizeof(*a->dp));
sbin/nvmectl/bignum.c
684
trim_unused_digits(c);
sbin/nvmectl/bignum.c
690
signed_subtract(mp_int * a, mp_int * b, mp_int * c)
sbin/nvmectl/bignum.c
702
c->sign = sa;
sbin/nvmectl/bignum.c
703
res = basic_add(a, b, c);
sbin/nvmectl/bignum.c
711
c->sign = sa;
sbin/nvmectl/bignum.c
713
res = basic_subtract(a, b, c);
sbin/nvmectl/bignum.c
717
c->sign = (sa == MP_ZPOS) ? MP_NEG : MP_ZPOS;
sbin/nvmectl/bignum.c
719
res = basic_subtract(b, a, c);
sbin/nvmectl/bignum.c
760
multiply_digit(mp_int * a, mp_digit b, mp_int * c)
sbin/nvmectl/bignum.c
767
if (c->alloc < a->used + 1) {
sbin/nvmectl/bignum.c
768
if ((res = mp_grow(c, a->used + 1)) != MP_OKAY) {
sbin/nvmectl/bignum.c
774
olduse = c->used;
sbin/nvmectl/bignum.c
777
c->sign = a->sign;
sbin/nvmectl/bignum.c
783
tmpc = c->dp;
sbin/nvmectl/bignum.c
808
c->used = a->used + 1;
sbin/nvmectl/bignum.c
809
trim_unused_digits(c);
sbin/nvmectl/bignum.c
816
signed_add(mp_int * a, mp_int * b, mp_int * c)
sbin/nvmectl/bignum.c
828
c->sign = asign;
sbin/nvmectl/bignum.c
829
res = basic_add(a, b, c);
sbin/nvmectl/bignum.c
836
c->sign = bsign;
sbin/nvmectl/bignum.c
837
res = basic_subtract(b, a, c);
sbin/nvmectl/bignum.c
839
c->sign = asign;
sbin/nvmectl/bignum.c
840
res = basic_subtract(a, b, c);
sbin/nvmectl/bignum.c
861
modulo_2_to_power(mp_int * a, int b, mp_int * c)
sbin/nvmectl/bignum.c
867
mp_zero(c);
sbin/nvmectl/bignum.c
873
res = mp_copy(a, c);
sbin/nvmectl/bignum.c
878
if ((res = mp_copy(a, c)) != MP_OKAY) {
sbin/nvmectl/bignum.c
883
for (x = (b / DIGIT_BIT) + ((b % DIGIT_BIT) == 0 ? 0 : 1); x < c->used; x++) {
sbin/nvmectl/bignum.c
884
c->dp[x] = 0;
sbin/nvmectl/bignum.c
887
c->dp[b / DIGIT_BIT] &=
sbin/nvmectl/bignum.c
889
trim_unused_digits(c);
sbin/nvmectl/bignum.c
895
rshift_bits(mp_int * a, int b, mp_int * c, mp_int * d)
sbin/nvmectl/bignum.c
904
res = mp_copy(a, c);
sbin/nvmectl/bignum.c
924
if ((res = mp_copy(a, c)) != MP_OKAY) {
sbin/nvmectl/bignum.c
931
rshift_digits(c, b / DIGIT_BIT);
sbin/nvmectl/bignum.c
946
tmpc = c->dp + (c->used - 1);
sbin/nvmectl/bignum.c
950
for (x = c->used - 1; x >= 0; x--) {
sbin/nvmectl/bignum.c
96
static int signed_multiply(mp_int * a, mp_int * b, mp_int * c);
sbin/nvmectl/bignum.c
962
trim_unused_digits(c);
sbin/nvmectl/bignum.c
984
signed_divide(mp_int *c, mp_int *d, mp_int *a, mp_int *b)
sbin/nvmectl/bignum.c
99
static int signed_subtract_word(mp_int *a, mp_digit b, mp_int *c);
sbin/ping/ping.c
1328
u_int8_t c[2];
sbin/ping/ping.c
1330
u.c[0] = *(u_char *)p;
sbin/ping/ping.c
1331
u.c[1] = 0;
sbin/ping/ping.c
243
int c, i, on = 1, hostind = 0;
sbin/ping/ping.c
288
while ((c = getopt(argc, argv,
sbin/ping/ping.c
291
switch (c) {
sbin/ping6/ping6.c
1291
#define safeputc(c) printf((isprint((c)) ? "%c" : "\\%03o"), c)
sbin/ping6/ping6.c
2465
u_int8_t c;
sbin/ping6/ping6.c
2487
c = l & 0xff;
sbin/ping6/ping6.c
2488
MD5Update(&ctxt, &c, sizeof(c));
sbin/pppoectl/pppoectl.c
103
int s, c;
sbin/pppoectl/pppoectl.c
117
while ((c = getopt(argc, argv, "vde:f:s:a:n:")) != -1)
sbin/pppoectl/pppoectl.c
118
switch (c) {
sbin/raidctl/rf_configure.c
144
int numscanned, val, c, retcode, aa, bb, cc;
sbin/raidctl/rf_configure.c
191
for (c = 0; c < RF_MAXDBGV; c++)
sbin/raidctl/rf_configure.c
192
cfgPtr->debugVars[c][0] = '\0';
sbin/raidctl/rf_configure.c
195
for (c = 0; c < RF_MAXDBGV; c++) {
sbin/raidctl/rf_configure.c
202
(void) strlcpy(cfgPtr->debugVars[c], cp,
sbin/raidctl/rf_configure.c
203
sizeof(cfgPtr->debugVars[c]));
sbin/raidctl/rf_configure.c
264
for (c = 0; c < cfgPtr->numCol; c++) {
sbin/raidctl/rf_configure.c
271
"file name for disk at col %d", c);
sbin/raidctl/rf_configure.c
280
c, b1);
sbin/raidctl/rf_configure.c
284
strlcpy(cfgPtr->devnames[0][c], b,
sbin/raidctl/rf_configure.c
285
sizeof(cfgPtr->devnames[0][c]));
sbin/raidctl/rf_configure.c
292
for (c = 0; c < cfgPtr->numSpare; c++) {
sbin/raidctl/rf_configure.c
298
"for spare disk %d", c);
sbin/raidctl/rf_configure.c
306
"device file for spare disk %d: %s", c, buf);
sbin/raidctl/rf_configure.c
310
strlcpy(cfgPtr->spare_names[c], b,
sbin/raidctl/rf_configure.c
311
sizeof(cfgPtr->spare_names[c]));
sbin/raidctl/rf_configure.c
328
c = sscanf(buf, "%d %d %d %c", &aa, &bb, &cc, &cfgPtr->parityConfig);
sbin/raidctl/rf_configure.c
332
if (c != 4) {
sbin/restore/utilities.c
373
char c;
sbin/restore/utilities.c
378
c = getc(terminal);
sbin/restore/utilities.c
379
while (c != '\n' && getc(terminal) != '\n')
sbin/restore/utilities.c
382
} while (c != 'y' && c != 'n');
sbin/restore/utilities.c
383
if (c == 'y')
sbin/routed/parms.c
380
char c = '\0', *pc;
sbin/routed/parms.c
389
c = *pc++;
sbin/routed/parms.c
390
if (c == '\0')
sbin/routed/parms.c
393
if (c == '\\' && *pc != '\0') {
sbin/routed/parms.c
394
if ((c = *pc++) == 'n') {
sbin/routed/parms.c
395
c = '\n';
sbin/routed/parms.c
396
} else if (c == 'r') {
sbin/routed/parms.c
397
c = '\r';
sbin/routed/parms.c
398
} else if (c == 't') {
sbin/routed/parms.c
399
c = '\t';
sbin/routed/parms.c
400
} else if (c == 'b') {
sbin/routed/parms.c
401
c = '\b';
sbin/routed/parms.c
402
} else if (c >= '0' && c <= '7') {
sbin/routed/parms.c
403
c -= '0';
sbin/routed/parms.c
405
c = (c<<3)+(*pc++ - '0');
sbin/routed/parms.c
407
c = (c<<3)+(*pc++ - '0');
sbin/routed/parms.c
413
if (*p == c)
sbin/routed/parms.c
418
*buf++ = c;
sbin/routed/parms.c
427
*delimp = c; /* return delimiter */
sbin/routed/rtquery/rtquery.c
556
u_char *s2, c;
sbin/routed/rtquery/rtquery.c
560
c = *s++;
sbin/routed/rtquery/rtquery.c
561
if (c == '\0') {
sbin/routed/rtquery/rtquery.c
570
if (c >= ' ' && c < 0x7f && c != '\\') {
sbin/routed/rtquery/rtquery.c
571
buf[bufpos++] = c;
sbin/routed/rtquery/rtquery.c
579
switch (c) {
sbin/routed/rtquery/rtquery.c
597
"%o", c);
sbin/routed/rtquery/rtquery.c
888
char c, *pc;
sbin/routed/rtquery/rtquery.c
899
c = *pc++;
sbin/routed/rtquery/rtquery.c
900
if (c == '\0')
sbin/routed/rtquery/rtquery.c
903
if (c == '\\' && *pc != '\0') {
sbin/routed/rtquery/rtquery.c
904
if ((c = *pc++) == 'n') {
sbin/routed/rtquery/rtquery.c
905
c = '\n';
sbin/routed/rtquery/rtquery.c
906
} else if (c == 'r') {
sbin/routed/rtquery/rtquery.c
907
c = '\r';
sbin/routed/rtquery/rtquery.c
908
} else if (c == 't') {
sbin/routed/rtquery/rtquery.c
909
c = '\t';
sbin/routed/rtquery/rtquery.c
910
} else if (c == 'b') {
sbin/routed/rtquery/rtquery.c
911
c = '\b';
sbin/routed/rtquery/rtquery.c
912
} else if (c >= '0' && c <= '7') {
sbin/routed/rtquery/rtquery.c
913
c -= '0';
sbin/routed/rtquery/rtquery.c
915
c = (c<<3)+(*pc++ - '0');
sbin/routed/rtquery/rtquery.c
917
c = (c<<3)+(*pc++ - '0');
sbin/routed/rtquery/rtquery.c
923
if (*p == c)
sbin/routed/rtquery/rtquery.c
928
*buf++ = c;
sbin/routed/rtquery/rtquery.c
933
*delimp = c;
sbin/routed/trace.c
108
n = snprintf(p, sizeof(buf) - (p - buf), "%o", c);
sbin/routed/trace.c
550
char c;
sbin/routed/trace.c
554
c = 0;
sbin/routed/trace.c
556
c = '<';
sbin/routed/trace.c
563
if (c)
sbin/routed/trace.c
564
(void)putc(c, ftrace);
sbin/routed/trace.c
566
c = '|';
sbin/routed/trace.c
574
if (c)
sbin/routed/trace.c
575
(void)putc(c, ftrace);
sbin/routed/trace.c
577
c = '|';
sbin/routed/trace.c
580
if (c != '<' || force)
sbin/routed/trace.c
72
u_char *s2, c;
sbin/routed/trace.c
76
c = *s++;
sbin/routed/trace.c
77
if (c == '\0') {
sbin/routed/trace.c
86
if (c >= ' ' && c < 0x7f && c != '\\') {
sbin/routed/trace.c
87
*p++ = c;
sbin/routed/trace.c
91
switch (c) {
sbin/swapctl/swapctl.c
172
int c;
sbin/swapctl/swapctl.c
186
while ((c = getopt(argc, argv, "ADUacdfghklmnop:qst:z")) != -1) {
sbin/swapctl/swapctl.c
187
switch (c) {
sbin/sysctl/sysctl.c
1028
if ((c = strchr(nname, ',')) != NULL)
sbin/sysctl/sysctl.c
1029
*c++ = '\0';
sbin/sysctl/sysctl.c
1031
while (c != NULL) {
sbin/sysctl/sysctl.c
1036
key = c;
sbin/sysctl/sysctl.c
1050
c = NULL;
sbin/sysctl/sysctl.c
1055
if ((c = strchr(value, ',')) != NULL)
sbin/sysctl/sysctl.c
1056
*c++ = '\0';
sbin/sysctl/sysctl.c
483
const char *c;
sbin/sysctl/sysctl.c
486
c = "";
sbin/sysctl/sysctl.c
495
print_flag(f, s, c, READONLY, READWRITE);
sbin/sysctl/sysctl.c
496
print_flag(f, s, c, READWRITE, READWRITE);
sbin/sysctl/sysctl.c
497
print_flag(f, s, c, ANYWRITE, ANYWRITE);
sbin/sysctl/sysctl.c
498
print_flag(f, s, c, PRIVATE, PRIVATE);
sbin/sysctl/sysctl.c
499
print_flag(f, s, c, PERMANENT, PERMANENT);
sbin/sysctl/sysctl.c
500
print_flag(f, s, c, OWNDATA, OWNDATA);
sbin/sysctl/sysctl.c
501
print_flag(f, s, c, IMMEDIATE, IMMEDIATE);
sbin/sysctl/sysctl.c
502
print_flag(f, s, c, HEX, HEX);
sbin/sysctl/sysctl.c
503
print_flag(f, s, c, ROOT, ROOT);
sbin/sysctl/sysctl.c
504
print_flag(f, s, c, ANYNUMBER, ANYNUMBER);
sbin/sysctl/sysctl.c
505
print_flag(f, s, c, HIDDEN, HIDDEN);
sbin/sysctl/sysctl.c
506
print_flag(f, s, c, ALIAS, ALIAS);
sbin/sysctl/sysctl.c
512
strlcat(s, c, sizeof(s));
sbin/sysctl/sysctl.c
987
char *nname, *key, *value, *data, *addr, *c, *t;
sbin/umbctl/umbctl.c
101
uint16_t c;
sbin/umbctl/umbctl.c
104
c = *in++;
sbin/umbctl/umbctl.c
106
if (c == '\0') {
sbin/umbctl/umbctl.c
117
*out++ = htole16(c);
sbin/umbctl/umbctl.c
455
uint16_t c;
sbin/umbctl/umbctl.c
458
c = inlen > 0 ? htole16(*in) : 0;
sbin/umbctl/umbctl.c
459
if (c == 0 || --outlen == 0) {
sbin/umbctl/umbctl.c
464
*out++ = isascii(c) ? (char)c : '?';
sbin/veriexecctl/veriexecctl.c
206
int c;
sbin/veriexecctl/veriexecctl.c
210
while ((c = getopt(argc, argv, "ekv")) != -1)
sbin/veriexecctl/veriexecctl.c
211
switch (c) {
share/doc/psd/20.ipctut/dgramread.c
1
.\" $NetBSD: dgramread.c,v 1.3 2003/08/07 10:30:50 agc Exp $
share/doc/psd/20.ipctut/dgramread.c
3
.\" Copyright (c) 1986, 1993
share/doc/psd/20.ipctut/dgramread.c
30
.\" @(#)dgramread.c 8.1 (Berkeley) 6/8/93
share/doc/psd/20.ipctut/dgramsend.c
1
.\" $NetBSD: dgramsend.c,v 1.3 2003/08/07 10:30:50 agc Exp $
share/doc/psd/20.ipctut/dgramsend.c
3
.\" Copyright (c) 1986, 1993
share/doc/psd/20.ipctut/dgramsend.c
30
.\" @(#)dgramsend.c 8.1 (Berkeley) 6/8/93
share/doc/psd/20.ipctut/pipe.c
1
.\" $NetBSD: pipe.c,v 1.3 2003/08/07 10:30:50 agc Exp $
share/doc/psd/20.ipctut/pipe.c
3
.\" Copyright (c) 1986, 1993
share/doc/psd/20.ipctut/pipe.c
30
.\" @(#)pipe.c 8.1 (Berkeley) 6/8/93
share/doc/psd/20.ipctut/socketpair.c
1
.\" $NetBSD: socketpair.c,v 1.3 2003/08/07 10:30:50 agc Exp $
share/doc/psd/20.ipctut/socketpair.c
3
.\" Copyright (c) 1986, 1993
share/doc/psd/20.ipctut/socketpair.c
30
.\" @(#)socketpair.c 8.1 (Berkeley) 6/8/93
share/doc/psd/20.ipctut/strchkread.c
1
.\" $NetBSD: strchkread.c,v 1.3 2003/08/07 10:30:50 agc Exp $
share/doc/psd/20.ipctut/strchkread.c
3
.\" Copyright (c) 1986, 1993
share/doc/psd/20.ipctut/strchkread.c
30
.\" @(#)strchkread.c 8.1 (Berkeley) 6/8/93
share/doc/psd/20.ipctut/streamread.c
1
.\" $NetBSD: streamread.c,v 1.3 2003/08/07 10:30:50 agc Exp $
share/doc/psd/20.ipctut/streamread.c
3
.\" Copyright (c) 1986, 1993
share/doc/psd/20.ipctut/streamread.c
30
.\" @(#)streamread.c 8.1 (Berkeley) 6/8/93
share/doc/psd/20.ipctut/streamwrite.c
1
.\" $NetBSD: streamwrite.c,v 1.3 2003/08/07 10:30:50 agc Exp $
share/doc/psd/20.ipctut/streamwrite.c
3
.\" Copyright (c) 1986, 1993
share/doc/psd/20.ipctut/streamwrite.c
30
.\" @(#)streamwrite.c 8.1 (Berkeley) 6/8/93
share/doc/psd/20.ipctut/udgramread.c
1
.\" $NetBSD: udgramread.c,v 1.3 2003/08/07 10:30:50 agc Exp $
share/doc/psd/20.ipctut/udgramread.c
3
.\" Copyright (c) 1986, 1993
share/doc/psd/20.ipctut/udgramread.c
30
.\" @(#)udgramread.c 8.1 (Berkeley) 6/8/93
share/doc/psd/20.ipctut/udgramsend.c
1
.\" $NetBSD: udgramsend.c,v 1.3 2003/08/07 10:30:50 agc Exp $
share/doc/psd/20.ipctut/udgramsend.c
3
.\" Copyright (c) 1986, 1993
share/doc/psd/20.ipctut/udgramsend.c
30
.\" @(#)udgramsend.c 8.1 (Berkeley) 6/8/93
share/doc/psd/20.ipctut/ustreamread.c
1
.\" $NetBSD: ustreamread.c,v 1.3 2003/08/07 10:30:50 agc Exp $
share/doc/psd/20.ipctut/ustreamread.c
3
.\" Copyright (c) 1986, 1993
share/doc/psd/20.ipctut/ustreamread.c
30
.\" @(#)ustreamread.c 8.1 (Berkeley) 6/8/93
share/doc/psd/20.ipctut/ustreamwrite.c
1
.\" $NetBSD: ustreamwrite.c,v 1.3 2003/08/07 10:30:51 agc Exp $
share/doc/psd/20.ipctut/ustreamwrite.c
3
.\" Copyright (c) 1986, 1993
share/doc/psd/20.ipctut/ustreamwrite.c
30
.\" @(#)ustreamwrite.c 8.1 (Berkeley) 6/8/93
share/examples/puffs/pgfs/pgfs_db.c
226
struct cmd *c;
share/examples/puffs/pgfs/pgfs_db.c
232
c = emalloc(sizeof(*c));
share/examples/puffs/pgfs/pgfs_db.c
233
c->cmd = estrdup(cmd);
share/examples/puffs/pgfs/pgfs_db.c
234
c->nparams = 0;
share/examples/puffs/pgfs/pgfs_db.c
238
c->nparams++;
share/examples/puffs/pgfs/pgfs_db.c
241
c->paramtypes = emalloc(c->nparams * sizeof(*c->paramtypes));
share/examples/puffs/pgfs/pgfs_db.c
242
for (i = 0; i < c->nparams; i++) {
share/examples/puffs/pgfs/pgfs_db.c
247
c->paramtypes[i] = type;
share/examples/puffs/pgfs/pgfs_db.c
250
snprintf(c->name, sizeof(c->name), "%u", cmdid++);
share/examples/puffs/pgfs/pgfs_db.c
252
c->prepared_mask = ~0;
share/examples/puffs/pgfs/pgfs_db.c
254
c->prepared_mask = 0;
share/examples/puffs/pgfs/pgfs_db.c
256
c->flags = flags;
share/examples/puffs/pgfs/pgfs_db.c
257
return c;
share/examples/puffs/pgfs/pgfs_db.c
261
freecmd(struct cmd *c)
share/examples/puffs/pgfs/pgfs_db.c
264
free(c->paramtypes);
share/examples/puffs/pgfs/pgfs_db.c
265
free(c->cmd);
share/examples/puffs/pgfs/pgfs_db.c
266
free(c);
share/examples/puffs/pgfs/pgfs_db.c
310
preparecmd(struct Xconn *xc, struct cmd *c)
share/examples/puffs/pgfs/pgfs_db.c
317
if ((c->prepared_mask & mask) != 0) {
share/examples/puffs/pgfs/pgfs_db.c
320
assert((c->flags & CMD_NOPREPARE) == 0);
share/examples/puffs/pgfs/pgfs_db.c
321
DPRINTF("PREPARE: '%s'\n", c->cmd);
share/examples/puffs/pgfs/pgfs_db.c
322
ret = PQsendPrepare(conn, c->name, c->cmd, c->nparams, c->paramtypes);
share/examples/puffs/pgfs/pgfs_db.c
331
c->prepared_mask |= mask;
share/examples/puffs/pgfs/pgfs_db.c
343
vsendcmd(struct Xconn *xc, int resultmode, struct cmd *c, va_list ap)
share/examples/puffs/pgfs/pgfs_db.c
355
error = preparecmd(xc, c);
share/examples/puffs/pgfs/pgfs_db.c
359
paramvalues = emalloc(c->nparams * sizeof(*paramvalues));
share/examples/puffs/pgfs/pgfs_db.c
362
DPRINTF("CMD: '%s'\n", c->cmd);
share/examples/puffs/pgfs/pgfs_db.c
363
for (i = 0; i < c->nparams; i++) {
share/examples/puffs/pgfs/pgfs_db.c
364
Oid type = c->paramtypes[i];
share/examples/puffs/pgfs/pgfs_db.c
413
emalloc(c->nparams * sizeof(*paramformats));
share/examples/puffs/pgfs/pgfs_db.c
417
c->nparams * sizeof(*paramformats));
share/examples/puffs/pgfs/pgfs_db.c
430
if ((c->flags & CMD_NOPREPARE) != 0) {
share/examples/puffs/pgfs/pgfs_db.c
431
ret = PQsendQueryParams(conn, c->cmd, c->nparams, c->paramtypes,
share/examples/puffs/pgfs/pgfs_db.c
435
ret = PQsendQueryPrepared(conn, c->name, c->nparams,
share/examples/puffs/pgfs/pgfs_db.c
439
for (i = 0; i < c->nparams; i++) {
share/examples/puffs/pgfs/pgfs_db.c
453
sendcmd(struct Xconn *xc, struct cmd *c, ...)
share/examples/puffs/pgfs/pgfs_db.c
458
va_start(ap, c);
share/examples/puffs/pgfs/pgfs_db.c
459
error = vsendcmd(xc, 0, c, ap);
share/examples/puffs/pgfs/pgfs_db.c
465
sendcmdx(struct Xconn *xc, int resultmode, struct cmd *c, ...)
share/examples/puffs/pgfs/pgfs_db.c
470
va_start(ap, c);
share/examples/puffs/pgfs/pgfs_db.c
471
error = vsendcmd(xc, resultmode, c, ap);
share/examples/puffs/pgfs/pgfs_db.c
482
simplecmd(struct Xconn *xc, struct cmd *c, ...)
share/examples/puffs/pgfs/pgfs_db.c
487
va_start(ap, c);
share/examples/puffs/pgfs/pgfs_db.c
488
error = vsendcmd(xc, 0, c, ap);
share/examples/puffs/pgfs/pgfs_db.c
677
struct cmd *c;
share/examples/puffs/pgfs/pgfs_db.c
682
c = createcmd(cmd_str, CMD_NOPREPARE);
share/examples/puffs/pgfs/pgfs_db.c
683
error = simplecmd(xc, c);
share/examples/puffs/pgfs/pgfs_db.c
684
freecmd(c);
share/examples/puffs/pgfs/pgfs_db.c
689
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_db.c
691
CREATECMD_NOPARAM(c, "SET application_name TO 'pgfs'");
share/examples/puffs/pgfs/pgfs_db.c
692
error = simplecmd(xc, c);
share/examples/puffs/pgfs/pgfs_db.c
702
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_db.c
706
CREATECMD_NOPARAM(c, "BEGIN");
share/examples/puffs/pgfs/pgfs_db.c
708
error = simplecmd(xc, c);
share/examples/puffs/pgfs/pgfs_db.c
719
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_db.c
723
CREATECMD_NOPARAM(c, "BEGIN READ ONLY");
share/examples/puffs/pgfs/pgfs_db.c
725
error = simplecmd(xc, c);
share/examples/puffs/pgfs/pgfs_db.c
745
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_db.c
749
CREATECMD_NOPARAM(c, "ROLLBACK");
share/examples/puffs/pgfs/pgfs_db.c
750
error = simplecmd(xc, c);
share/examples/puffs/pgfs/pgfs_db.c
761
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_db.c
764
CREATECMD_NOPARAM(c, "COMMIT");
share/examples/puffs/pgfs/pgfs_db.c
765
error = simplecmd(xc, c);
share/examples/puffs/pgfs/pgfs_db.c
777
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_db.c
781
CREATECMD_NOPARAM(c, "SET LOCAL SYNCHRONOUS_COMMIT TO ON");
share/examples/puffs/pgfs/pgfs_db.c
782
error = simplecmd(xc, c);
share/examples/puffs/pgfs/pgfs_db.c
865
struct cmd *c;
share/examples/puffs/pgfs/pgfs_db.c
894
c = createcmd("SET search_path TO pgfs", CMD_NOPREPARE);
share/examples/puffs/pgfs/pgfs_db.c
895
error = simplecmd(xc, c);
share/examples/puffs/pgfs/pgfs_db.c
897
freecmd(c);
share/examples/puffs/pgfs/pgfs_db.c
898
c = createcmd("SET SESSION CHARACTERISTICS AS "
share/examples/puffs/pgfs/pgfs_db.c
901
error = simplecmd(xc, c);
share/examples/puffs/pgfs/pgfs_db.c
903
freecmd(c);
share/examples/puffs/pgfs/pgfs_db.c
904
c = createcmd("SET SESSION TIME ZONE UTC", CMD_NOPREPARE);
share/examples/puffs/pgfs/pgfs_db.c
905
error = simplecmd(xc, c);
share/examples/puffs/pgfs/pgfs_db.c
907
freecmd(c);
share/examples/puffs/pgfs/pgfs_db.c
909
c = createcmd("SET SESSION SYNCHRONOUS_COMMIT TO OFF",
share/examples/puffs/pgfs/pgfs_db.c
911
error = simplecmd(xc, c);
share/examples/puffs/pgfs/pgfs_db.c
913
freecmd(c);
share/examples/puffs/pgfs/pgfs_db.c
920
c = createcmd("SELECT pg_backend_pid()::int8;",
share/examples/puffs/pgfs/pgfs_db.c
922
error = sendcmd(xc, c);
share/examples/puffs/pgfs/pgfs_db.c
949
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_db.c
981
CREATECMD_NOPARAM(c, "SELECT setval('dummyseq', 1) WHERE "
share/examples/puffs/pgfs/pgfs_db.c
983
error = sendcmd(xc, c);
share/examples/puffs/pgfs/pgfs_db.h
34
#define CREATECMD(c, cmd, ...) \
share/examples/puffs/pgfs/pgfs_db.h
35
if ((c) == NULL) (c) = createcmd((cmd), 0, __VA_ARGS__)
share/examples/puffs/pgfs/pgfs_db.h
36
#define CREATECMD_NOPARAM(c, cmd) \
share/examples/puffs/pgfs/pgfs_db.h
37
if ((c) == NULL) (c) = createcmd((cmd), 0)
share/examples/puffs/pgfs/pgfs_puffs.c
183
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_puffs.c
194
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_puffs.c
202
error = sendcmd(xc, c, parent_fileid, offset);
share/examples/puffs/pgfs/pgfs_puffs.c
328
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_puffs.c
332
CREATECMD(c, "SELECT child_fileid "
share/examples/puffs/pgfs/pgfs_puffs.c
336
error = sendcmd(xc, c, parent_fileid, name);
share/examples/puffs/pgfs/pgfs_puffs.c
790
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_puffs.c
801
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_puffs.c
805
error = simplecmd(xc, c, newuid, newgid, fileid);
share/examples/puffs/pgfs/pgfs_puffs.c
813
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_puffs.c
821
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_puffs.c
825
error = simplecmd(xc, c, newmode, fileid);
share/examples/puffs/pgfs/pgfs_puffs.c
841
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_puffs.c
848
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_puffs.c
852
error = simplecmd(xc, c, ts, fileid);
share/examples/puffs/pgfs/pgfs_puffs.c
859
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_puffs.c
866
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_puffs.c
870
error = simplecmd(xc, c, ts, fileid);
share/examples/puffs/pgfs/pgfs_puffs.c
877
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_puffs.c
884
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_puffs.c
888
error = simplecmd(xc, c, ts, fileid);
share/examples/puffs/pgfs/pgfs_puffs.c
895
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_puffs.c
902
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_puffs.c
906
error = simplecmd(xc, c, ts, fileid);
share/examples/puffs/pgfs/pgfs_subs.c
217
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
221
CREATECMD(c, "SELECT lo_truncate($1, $2)", INT4OID, INT4OID);
share/examples/puffs/pgfs/pgfs_subs.c
222
error = sendcmd(xc, c, fd, size);
share/examples/puffs/pgfs/pgfs_subs.c
246
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
250
CREATECMD(c, "SELECT lo_lseek($1, $2, $3)", INT4OID, INT4OID, INT4OID);
share/examples/puffs/pgfs/pgfs_subs.c
251
error = sendcmd(xc, c, fd, offset, whence);
share/examples/puffs/pgfs/pgfs_subs.c
269
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
273
CREATECMD(c, "SELECT loread($1, $2)", INT4OID, INT4OID);
share/examples/puffs/pgfs/pgfs_subs.c
274
error = sendcmdx(xc, 1, c, fd, (int32_t)size);
share/examples/puffs/pgfs/pgfs_subs.c
293
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
297
CREATECMD(c, "SELECT lowrite($1, $2)", INT4OID, BYTEA);
share/examples/puffs/pgfs/pgfs_subs.c
298
error = sendcmd(xc, c, fd, buf, (int32_t)size);
share/examples/puffs/pgfs/pgfs_subs.c
324
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
327
CREATECMD(c, "SELECT lo_open($1, $2)", OIDOID, INT4OID);
share/examples/puffs/pgfs/pgfs_subs.c
328
error = sendcmd(xc, c, loid, mode);
share/examples/puffs/pgfs/pgfs_subs.c
346
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
350
CREATECMD(c, "SELECT lo_close($1)", INT4OID);
share/examples/puffs/pgfs/pgfs_subs.c
351
error = sendcmd(xc, c, fd);
share/examples/puffs/pgfs/pgfs_subs.c
367
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
372
CREATECMD(c, "SELECT loid FROM datafork WHERE fileid = $1", INT8OID);
share/examples/puffs/pgfs/pgfs_subs.c
373
error = sendcmd(xc, c, fileid);
share/examples/puffs/pgfs/pgfs_subs.c
465
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
483
CREATECMD(c, "SELECT type::text, mode, uid, gid, nlink, rev, "
share/examples/puffs/pgfs/pgfs_subs.c
494
error = sendcmd(xc, c, fileid);
share/examples/puffs/pgfs/pgfs_subs.c
506
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
516
CREATECMD(c, "SELECT type::text, mode, uid, gid, nlink, rev "
share/examples/puffs/pgfs/pgfs_subs.c
519
error = sendcmd(xc, c, fileid);
share/examples/puffs/pgfs/pgfs_subs.c
579
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
581
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_subs.c
586
return simplecmd(xc, c, fileid);
share/examples/puffs/pgfs/pgfs_subs.c
592
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
594
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_subs.c
597
return simplecmd(xc, c, fileid);
share/examples/puffs/pgfs/pgfs_subs.c
603
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
605
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_subs.c
609
return simplecmd(xc, c, fileid);
share/examples/puffs/pgfs/pgfs_subs.c
615
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
617
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_subs.c
620
return simplecmd(xc, c, fileid);
share/examples/puffs/pgfs/pgfs_subs.c
626
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
628
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_subs.c
633
return simplecmd(xc, c, (int64_t)delta, fileid);
share/examples/puffs/pgfs/pgfs_subs.c
639
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
644
CREATECMD(c, "SELECT parent_fileid FROM dirent "
share/examples/puffs/pgfs/pgfs_subs.c
646
error = sendcmd(xc, c, fileid);
share/examples/puffs/pgfs/pgfs_subs.c
663
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
671
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_subs.c
681
error = sendcmd(xc, c, type, (uint64_t)mode, (uint64_t)uid,
share/examples/puffs/pgfs/pgfs_subs.c
692
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
695
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_subs.c
699
error = simplecmd(xc, c, parent, name, child);
share/examples/puffs/pgfs/pgfs_subs.c
713
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
720
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_subs.c
724
error = simplecmd(xc, c, parent, name, child);
share/examples/puffs/pgfs/pgfs_subs.c
765
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
775
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_subs.c
779
error = sendcmd(xc, c, new_fileid);
share/examples/puffs/pgfs/pgfs_subs.c
799
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
804
CREATECMD(c, "DELETE FROM file WHERE fileid = $1 AND nlink = 0 "
share/examples/puffs/pgfs/pgfs_subs.c
806
error = sendcmd(xc, c, fileid);
share/examples/puffs/pgfs/pgfs_subs.c
883
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
888
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_subs.c
905
error = sendcmd(xc, c, child_fileid);
share/examples/puffs/pgfs/pgfs_subs.c
931
static struct cmd *c;
share/examples/puffs/pgfs/pgfs_subs.c
934
CREATECMD(c,
share/examples/puffs/pgfs/pgfs_subs.c
937
error = sendcmd(xc, c, fileid);
share/examples/refuse/dmesgfs/dmesgfs.c
203
for (i = 0 ; i < devices.c ; i++) {
share/examples/refuse/dmesgfs/dmesgfs.c
222
ALLOC(devicenode_t, devices.v, devices.size, devices.c, 10, 10, "add_dev", exit(EXIT_FAILURE));
share/examples/refuse/dmesgfs/dmesgfs.c
223
devices.v[devices.c].dev = strnsave(dev, len);
share/examples/refuse/dmesgfs/dmesgfs.c
224
devices.v[devices.c].devlen = len;
share/examples/refuse/dmesgfs/dmesgfs.c
225
devices.v[devices.c].parent = strnsave(parent, parentlen);
share/examples/refuse/dmesgfs/dmesgfs.c
226
devices.v[devices.c].parentlen = parentlen;
share/examples/refuse/dmesgfs/dmesgfs.c
227
devices.v[devices.c].descr = strnsave(descr, descrlen);
share/examples/refuse/dmesgfs/dmesgfs.c
228
devices.v[devices.c].descrlen = descrlen;
share/examples/refuse/dmesgfs/dmesgfs.c
229
devices.c += 1;
share/examples/refuse/dmesgfs/dmesgfs.c
288
printf("%d devices\n", devices.c);
share/examples/refuse/dmesgfs/dmesgfs.c
290
for (i = 0 ; i < devices.c ; i++) {
share/examples/refuse/dmesgfs/dmesgfs.c
296
for (i = 0 ; i < devices.c ; i++) {
share/examples/refuse/fanoutfs/defs.h
67
#define ALLOC(type, v, size, c, init, incr, where, action) do { \
share/examples/refuse/fanoutfs/defs.h
72
} else if (c == size) { \
share/examples/refuse/fanoutfs/defs.h
83
uint32_t c; \
share/examples/refuse/fanoutfs/fanoutfs.c
101
for (i = 0 ; i < dirs.c ; i++) {
share/examples/refuse/fanoutfs/fanoutfs.c
104
dirs.c = 0;
share/examples/refuse/fanoutfs/fanoutfs.c
118
for (i = 0 ; i < dirs.c ; i++) {
share/examples/refuse/fanoutfs/fanoutfs.c
133
for (i = 0 ; i < sp->c && strcmp(s, sp->v[i]) != 0 ; i++) {
share/examples/refuse/fanoutfs/fanoutfs.c
135
return (i < sp->c);
share/examples/refuse/fanoutfs/fanoutfs.c
228
for (i = 0 ; i < dirs.c ; i++) {
share/examples/refuse/fanoutfs/fanoutfs.c
235
ALLOC(char *, names.v, names.size, names.c,
share/examples/refuse/fanoutfs/fanoutfs.c
237
names.v[names.c++] = strdup(dp->d_name);
share/examples/refuse/fanoutfs/fanoutfs.c
242
for (i = 0 ; i < names.c ; i++) {
share/examples/refuse/fanoutfs/fanoutfs.c
86
ALLOC(char *, dirs.v, dirs.size, dirs.c, 10, 10,
share/examples/refuse/fanoutfs/fanoutfs.c
88
dirs.v[dirs.c++] = strdup(cp);
share/examples/refuse/ian/libfetch/common.c
449
char c;
share/examples/refuse/ian/libfetch/common.c
463
len = _fetch_read(conn, &c, 1);
share/examples/refuse/ian/libfetch/common.c
468
conn->buf[conn->buflen++] = c;
share/examples/refuse/ian/libfetch/common.c
479
} while (c != '\n');
share/examples/refuse/id3fs/defs.h
67
#define ALLOC(type, v, size, c, init, incr, where, action) do { \
share/examples/refuse/id3fs/defs.h
72
} else if (c == size) { \
share/examples/refuse/id3fs/defs.h
83
uint32_t c; \
share/examples/refuse/virtdir/defs.h
67
#define ALLOC(type, v, size, c, init, incr, where, action) do { \
share/examples/refuse/virtdir/defs.h
72
} else if (c == size) { \
share/examples/refuse/virtdir/defs.h
83
uint32_t c; \
share/examples/refuse/virtdir/virtdir.c
149
ALLOC(virt_dirent_t, tp->v, tp->size, tp->c, 10, 10, "virtdir_add",
share/examples/refuse/virtdir/virtdir.c
151
tp->v[tp->c].namelen = pathlen;
share/examples/refuse/virtdir/virtdir.c
152
if ((tp->v[tp->c].name = strnsave(path, pathlen)) == NULL) {
share/examples/refuse/virtdir/virtdir.c
155
tp->v[tp->c].d_name = strrchr(tp->v[tp->c].name, '/') + 1;
share/examples/refuse/virtdir/virtdir.c
156
tp->v[tp->c].type = type;
share/examples/refuse/virtdir/virtdir.c
157
tp->v[tp->c].ino = (ino_t) random() & 0xfffff;
share/examples/refuse/virtdir/virtdir.c
159
tp->v[tp->c].tgtlen = tgtlen;
share/examples/refuse/virtdir/virtdir.c
160
tp->v[tp->c].tgt = strnsave(tgt, tgtlen);
share/examples/refuse/virtdir/virtdir.c
162
tp->c += 1;
share/examples/refuse/virtdir/virtdir.c
163
qsort(tp->v, tp->c, sizeof(tp->v[0]), compare);
share/examples/refuse/virtdir/virtdir.c
179
for (tp->c -= 1 ; i < tp->c ; i++) {
share/examples/refuse/virtdir/virtdir.c
195
return bsearch(&e, tp->v, tp->c, sizeof(tp->v[0]), compare);
share/examples/refuse/virtdir/virtdir.c
227
for ( ; dirp->i < dirp->tp->c ; dirp->i++) {
share/examples/refuse/virtdir/virtdir.c
258
for (i = 0 ; i < tp->c ; i++) {
share/examples/refuse/virtdir/virtdir.c
272
for (i = 0 ; i < tp->c ; i++) {
share/examples/refuse/virtdir/virtdir.c
294
for (i = 0 ; i < tp->c ; i++) {
share/examples/refuse/virtdir/virtdir.h
52
uint32_t c; /* count of entries */
share/man/tools/line.c
14
register char c;
share/man/tools/line.c
22
while ((c = readc()) != nl)
share/man/tools/line.c
29
*linep++ = c;
share/man/tools/line.c
38
char c;
share/man/tools/line.c
39
if (read (0, &c, 1) != 1) {
share/man/tools/line.c
44
return (c);
share/man/tools/pages.c
15
register int c;
share/man/tools/pages.c
17
while((c=getchar()) != EOF) {
share/man/tools/pages.c
19
c &= 0377;
share/man/tools/pages.c
20
if(c != T_INIT)
share/man/tools/pages.c
23
c=getchar();
share/man/tools/pages.c
24
c &= 0377;
share/man/tools/pages.c
25
if(c == T_STOP) {
sys/altq/altq_jobs.c
1273
int64_t *c, *n, *k;
sys/altq/altq_jobs.c
1290
c = malloc((jif->jif_maxpri+1)*sizeof(u_int64_t), M_DEVBUF, M_WAITOK);
sys/altq/altq_jobs.c
1291
if (c == NULL)
sys/altq/altq_jobs.c
1330
c[i] = remaining_time;
sys/altq/altq_jobs.c
1336
available[i] = n[i]-k[i]/c[i];
sys/altq/altq_jobs.c
1344
c[i] = 0;
sys/altq/altq_jobs.c
1375
c[i] = 0;
sys/altq/altq_jobs.c
1462
k[i] = c[i]*n[i];
sys/altq/altq_jobs.c
1508
if (c[i] != 0) {
sys/altq/altq_jobs.c
1511
cl->min_rate_adc = k[i]/c[i];
sys/altq/altq_jobs.c
1524
free(c, M_DEVBUF);
sys/altq/altq_jobs.c
1535
fail2: free(c, M_DEVBUF);
sys/altq/altq_rmclass_debug.h
105
#define CBQTRACE(a, b, c)
sys/altq/altq_var.h
168
#define CALLOUT_INIT(c) callout_init((c), 0)
sys/altq/altq_var.h
170
#define CALLOUT_INIT(c) callout_init((c))
sys/altq/altq_var.h
172
#define CALLOUT_RESET(c,t,f,a) callout_reset((c),(t),(f),(a))
sys/altq/altq_var.h
173
#define CALLOUT_STOP(c) callout_stop((c))
sys/altq/altq_var.h
183
#define CALLOUT_INIT(c) do { (void)memset((c), 0, sizeof(*(c))); } while (/*CONSTCOND*/ 0)
sys/altq/altq_var.h
184
#define CALLOUT_RESET(c,t,f,a) do { if (!timeout_initialized(&(c)->c_to)) \
sys/altq/altq_var.h
185
timeout_set(&(c)->c_to, (f), (a)); \
sys/altq/altq_var.h
186
timeout_add(&(c)->c_to, (t)); } while (/*CONSTCOND*/ 0)
sys/altq/altq_var.h
187
#define CALLOUT_STOP(c) timeout_del(&(c)->c_to)
sys/altq/altq_var.h
196
#define CALLOUT_INIT(c) do { (void)memset((c), 0, sizeof(*(c))); } while (/*CONSTCOND*/ 0)
sys/altq/altq_var.h
197
#define CALLOUT_RESET(c,t,f,a) do { (c)->c_arg = (a); \
sys/altq/altq_var.h
198
(c)->c_func = (f); \
sys/altq/altq_var.h
200
#define CALLOUT_STOP(c) untimeout((c)->c_func,(c)->c_arg)
sys/arch/aarch64/aarch64/disasm.c
192
#define CONDNAME(c) conditioncode[(c) & 15]
sys/arch/aarch64/aarch64/disasm.c
193
#define IVCONDNAME(c) conditioncode[((c) ^ 1) & 15]
sys/arch/aarch64/aarch64/disasm.c
47
#define OPFUNC_DECL(func, a, b, c, d, e, f, g, h) \
sys/arch/aarch64/aarch64/disasm.c
49
uint64_t a, uint64_t b, uint64_t c, uint64_t d, \
sys/arch/aarch64/aarch64/disasm.c
76
#define OP3FUNC(func, a, b, c) \
sys/arch/aarch64/aarch64/disasm.c
78
OPFUNC_DECL(func, a, b, c, \
sys/arch/aarch64/aarch64/disasm.c
81
#define OP4FUNC(func, a, b, c, d) \
sys/arch/aarch64/aarch64/disasm.c
83
OPFUNC_DECL(func, a, b, c, d, \
sys/arch/aarch64/aarch64/disasm.c
85
#define OP5FUNC(func, a, b, c, d, e) \
sys/arch/aarch64/aarch64/disasm.c
87
OPFUNC_DECL( func, a, b, c, d, e, \
sys/arch/aarch64/aarch64/disasm.c
89
#define OP6FUNC(func, a, b, c, d, e, f) \
sys/arch/aarch64/aarch64/disasm.c
91
OPFUNC_DECL(func, a, b, c, d, e, f, \
sys/arch/aarch64/aarch64/disasm.c
93
#define OP7FUNC(func, a, b, c, d, e, f, g) \
sys/arch/aarch64/aarch64/disasm.c
95
OPFUNC_DECL(func, a, b, c, d, e, f, g, \
sys/arch/aarch64/aarch64/disasm.c
97
#define OP8FUNC(func, a, b, c, d, e, f, g, h) \
sys/arch/aarch64/aarch64/disasm.c
99
OPFUNC_DECL(func, a, b, c, d, e, f, g, h)
sys/arch/acorn32/include/loadfile_machdep.h
44
#define READ(f, b, c) boot32_read((f), (void *)LOADADDR(b), (c))
sys/arch/acorn32/include/loadfile_machdep.h
45
#define BCOPY(s, d, c) boot32_memcpy((void *)LOADADDR(d), (s), (c))
sys/arch/acorn32/include/loadfile_machdep.h
46
#define BZERO(d, c) boot32_memset((void *)LOADADDR(d), 0, (c))
sys/arch/acorn32/include/loadfile_machdep.h
68
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/acorn32/include/loadfile_machdep.h
69
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/acorn32/include/loadfile_machdep.h
70
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/acorn32/podulebus/cosc.c
300
*rp->led = c->sc_led_status ? 1 : 0;
sys/arch/acorn32/podulebus/sbic.c
210
#define CSR_TRACE(w,c,a,x) do { \
sys/arch/acorn32/podulebus/sbic.c
212
csr_trace[csr_traceptr].whr = (w); csr_trace[csr_traceptr].csr = (c); \
sys/arch/acorn32/stand/boot32/boot32.c
984
boot32_memset(void *dst, int c, size_t size)
sys/arch/acorn32/stand/boot32/boot32.c
997
memset(fragaddr, c, fragsize);
sys/arch/acorn32/stand/lib/riscoscons.c
41
putchar(int c)
sys/arch/acorn32/stand/lib/riscoscons.c
44
if (c == '\n')
sys/arch/acorn32/stand/lib/riscoscons.c
47
os_writec(c);
sys/arch/acorn32/stand/lib/srt1.c
44
static int whitespace(char c) {
sys/arch/acorn32/stand/lib/srt1.c
45
if ((c == '\0') || (c == ' ') || (c == '\t')
sys/arch/acorn32/stand/lib/srt1.c
46
|| (c == '\r') || (c == '\n'))
sys/arch/algor/algor/led.c
77
led_display(u_int8_t a, u_int8_t b, u_int8_t c, u_int8_t d)
sys/arch/algor/algor/led.c
83
leds[LED(2)] = c;
sys/arch/alpha/alpha/cpuconf.c
255
const struct cpuinit *c;
sys/arch/alpha/alpha/cpuconf.c
259
c = &cpuinit[i];
sys/arch/alpha/alpha/cpuconf.c
260
if (c->systype == systype)
sys/arch/alpha/alpha/cpuconf.c
261
return (c);
sys/arch/alpha/alpha/cpuconf.c
269
const struct cpuinit *c = platform_lookup(cputype);
sys/arch/alpha/alpha/cpuconf.c
275
c->option);
sys/arch/alpha/alpha/cpuconf.c
283
const struct cpuinit *c = platform_lookup(cputype);
sys/arch/alpha/alpha/cpuconf.c
287
(c != NULL) ? c->option : "???");
sys/arch/alpha/alpha/db_trace.c
167
char c;
sys/arch/alpha/alpha/db_trace.c
171
while ((c = *cp++) != 0) {
sys/arch/alpha/alpha/db_trace.c
172
trace_thread |= c == 't';
sys/arch/alpha/alpha/db_trace.c
173
trace_thread |= c == 'a';
sys/arch/alpha/alpha/db_trace.c
174
lwpaddr |= c == 'a';
sys/arch/alpha/alpha/dec_6600.c
205
const char *t = "Unknown", *c = "";
sys/arch/alpha/alpha/dec_6600.c
208
c = " Correctable";
sys/arch/alpha/alpha/dec_6600.c
228
t, c, vector, la->mchk_rev, la->mchk_code, la->la.la_flags);
sys/arch/alpha/alpha/machdep.c
309
const struct cpuinit *c;
sys/arch/alpha/alpha/machdep.c
467
c = platform_lookup(cputype);
sys/arch/alpha/alpha/machdep.c
468
if (c == NULL) {
sys/arch/alpha/alpha/machdep.c
472
(*c->init)();
sys/arch/alpha/alpha/prom.c
132
struct crb *c;
sys/arch/alpha/alpha/prom.c
137
c = (struct crb *)((char *)rpb + rpb->rpb_crb_off);
sys/arch/alpha/alpha/prom.c
139
prom_dispatch_v.routine_arg = c->crb_v_dispatch;
sys/arch/alpha/alpha/prom.c
140
prom_dispatch_v.routine = c->crb_v_dispatch->entry_va;
sys/arch/alpha/alpha/prom.c
299
promcnputc(dev_t dev, int c)
sys/arch/alpha/alpha/prom.c
309
*to = c;
sys/arch/alpha/alpha/promcons.c
246
u_char c;
sys/arch/alpha/alpha/promcons.c
248
while (promcnlookc(tp->t_dev, &c)) {
sys/arch/alpha/alpha/promcons.c
250
(*tp->t_linesw->l_rint)(c, tp);
sys/arch/alpha/alpha/trap.c
766
unsigned long a, b, c, d;
sys/arch/alpha/alpha/trap.c
771
c = (input & 0x0000ffff00000000) >> 32;
sys/arch/alpha/alpha/trap.c
774
result = (a << 48) | (b << 32) | (c << 16) | (d << 0);
sys/arch/alpha/include/bus_funcs.h
162
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
163
__abs_nonsingle(rm,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/alpha/include/bus_funcs.h
164
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
165
__abs_nonsingle(rm,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/alpha/include/bus_funcs.h
166
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
167
__abs_nonsingle(rm,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/alpha/include/bus_funcs.h
168
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
169
__abs_nonsingle(rm,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/alpha/include/bus_funcs.h
175
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
176
__abs_nonsingle(rr,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/alpha/include/bus_funcs.h
177
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
178
__abs_nonsingle(rr,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/alpha/include/bus_funcs.h
179
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
180
__abs_nonsingle(rr,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/alpha/include/bus_funcs.h
181
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
182
__abs_nonsingle(rr,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/alpha/include/bus_funcs.h
197
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
198
__abs_nonsingle(wm,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/alpha/include/bus_funcs.h
199
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
200
__abs_nonsingle(wm,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/alpha/include/bus_funcs.h
201
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
202
__abs_nonsingle(wm,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/alpha/include/bus_funcs.h
203
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
204
__abs_nonsingle(wm,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/alpha/include/bus_funcs.h
210
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
211
__abs_nonsingle(wr,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/alpha/include/bus_funcs.h
212
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
213
__abs_nonsingle(wr,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/alpha/include/bus_funcs.h
214
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
215
__abs_nonsingle(wr,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/alpha/include/bus_funcs.h
216
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
217
__abs_nonsingle(wr,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/alpha/include/bus_funcs.h
223
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/arch/alpha/include/bus_funcs.h
224
__abs_set(sm,1,uint8_t,(t),(h),(o),(v),(c))
sys/arch/alpha/include/bus_funcs.h
225
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/arch/alpha/include/bus_funcs.h
226
__abs_set(sm,2,uint16_t,(t),(h),(o),(v),(c))
sys/arch/alpha/include/bus_funcs.h
227
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/arch/alpha/include/bus_funcs.h
228
__abs_set(sm,4,uint32_t,(t),(h),(o),(v),(c))
sys/arch/alpha/include/bus_funcs.h
229
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/arch/alpha/include/bus_funcs.h
230
__abs_set(sm,8,uint64_t,(t),(h),(o),(v),(c))
sys/arch/alpha/include/bus_funcs.h
236
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/alpha/include/bus_funcs.h
237
__abs_set(sr,1,uint8_t,(t),(h),(o),(v),(c))
sys/arch/alpha/include/bus_funcs.h
238
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/alpha/include/bus_funcs.h
239
__abs_set(sr,2,uint16_t,(t),(h),(o),(v),(c))
sys/arch/alpha/include/bus_funcs.h
240
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/alpha/include/bus_funcs.h
241
__abs_set(sr,4,uint32_t,(t),(h),(o),(v),(c))
sys/arch/alpha/include/bus_funcs.h
242
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arch/alpha/include/bus_funcs.h
243
__abs_set(sr,8,uint64_t,(t),(h),(o),(v),(c))
sys/arch/alpha/include/bus_funcs.h
249
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arch/alpha/include/bus_funcs.h
250
__abs_copy(1, uint8_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/alpha/include/bus_funcs.h
251
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arch/alpha/include/bus_funcs.h
252
__abs_copy(2, uint16_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/alpha/include/bus_funcs.h
253
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arch/alpha/include/bus_funcs.h
254
__abs_copy(4, uint32_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/alpha/include/bus_funcs.h
255
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arch/alpha/include/bus_funcs.h
256
__abs_copy(8, uint64_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/alpha/include/bus_funcs.h
80
#define __abs_nonsingle(type, sz, tn, t, h, o, a, c) \
sys/arch/alpha/include/bus_funcs.h
84
(*(t)->__abs_opname(type,sz))((t)->abs_cookie, h, o, a, c); \
sys/arch/alpha/include/bus_funcs.h
87
#define __abs_set(type, sz, tn, t, h, o, v, c) \
sys/arch/alpha/include/bus_funcs.h
90
(*(t)->__abs_opname(type,sz))((t)->abs_cookie, h, o, v, c); \
sys/arch/alpha/include/bus_funcs.h
97
(*(t)->__abs_opname(c,sz))((t)->abs_cookie, h1, o1, h2, o2, cnt); \
sys/arch/alpha/include/int_const.h
44
#define INT8_C(c) c
sys/arch/alpha/include/int_const.h
45
#define INT16_C(c) c
sys/arch/alpha/include/int_const.h
46
#define INT32_C(c) c
sys/arch/alpha/include/int_const.h
47
#define INT64_C(c) c ## L
sys/arch/alpha/include/int_const.h
49
#define UINT8_C(c) c
sys/arch/alpha/include/int_const.h
50
#define UINT16_C(c) c
sys/arch/alpha/include/int_const.h
51
#define UINT32_C(c) c ## U
sys/arch/alpha/include/int_const.h
52
#define UINT64_C(c) c ## UL
sys/arch/alpha/include/int_const.h
56
#define INTMAX_C(c) c ## L
sys/arch/alpha/include/int_const.h
57
#define UINTMAX_C(c) c ## UL
sys/arch/alpha/include/isa_machdep.h
104
#define isa_dmacascade(ic, c) \
sys/arch/alpha/include/isa_machdep.h
105
_isa_dmacascade(&(ic)->ic_dmastate, (c))
sys/arch/alpha/include/isa_machdep.h
106
#define isa_dmamaxsize(ic, c) \
sys/arch/alpha/include/isa_machdep.h
107
_isa_dmamaxsize(&(ic)->ic_dmastate, (c))
sys/arch/alpha/include/isa_machdep.h
108
#define isa_dmamap_create(ic, c, s, f) \
sys/arch/alpha/include/isa_machdep.h
109
_isa_dmamap_create(&(ic)->ic_dmastate, (c), (s), (f))
sys/arch/alpha/include/isa_machdep.h
110
#define isa_dmamap_destroy(ic, c) \
sys/arch/alpha/include/isa_machdep.h
111
_isa_dmamap_destroy(&(ic)->ic_dmastate, (c))
sys/arch/alpha/include/isa_machdep.h
112
#define isa_dmastart(ic, c, a, n, p, f, bf) \
sys/arch/alpha/include/isa_machdep.h
113
_isa_dmastart(&(ic)->ic_dmastate, (c), (a), (n), (p), (f), (bf))
sys/arch/alpha/include/isa_machdep.h
114
#define isa_dmaabort(ic, c) \
sys/arch/alpha/include/isa_machdep.h
115
_isa_dmaabort(&(ic)->ic_dmastate, (c))
sys/arch/alpha/include/isa_machdep.h
116
#define isa_dmacount(ic, c) \
sys/arch/alpha/include/isa_machdep.h
117
_isa_dmacount(&(ic)->ic_dmastate, (c))
sys/arch/alpha/include/isa_machdep.h
118
#define isa_dmafinished(ic, c) \
sys/arch/alpha/include/isa_machdep.h
119
_isa_dmafinished(&(ic)->ic_dmastate, (c))
sys/arch/alpha/include/isa_machdep.h
120
#define isa_dmadone(ic, c) \
sys/arch/alpha/include/isa_machdep.h
121
_isa_dmadone(&(ic)->ic_dmastate, (c))
sys/arch/alpha/include/isa_machdep.h
126
#define isa_dmamem_alloc(ic, c, s, ap, f) \
sys/arch/alpha/include/isa_machdep.h
127
_isa_dmamem_alloc(&(ic)->ic_dmastate, (c), (s), (ap), (f))
sys/arch/alpha/include/isa_machdep.h
128
#define isa_dmamem_free(ic, c, a, s) \
sys/arch/alpha/include/isa_machdep.h
129
_isa_dmamem_free(&(ic)->ic_dmastate, (c), (a), (s))
sys/arch/alpha/include/isa_machdep.h
130
#define isa_dmamem_map(ic, c, a, s, kp, f) \
sys/arch/alpha/include/isa_machdep.h
131
_isa_dmamem_map(&(ic)->ic_dmastate, (c), (a), (s), (kp), (f))
sys/arch/alpha/include/isa_machdep.h
132
#define isa_dmamem_unmap(ic, c, k, s) \
sys/arch/alpha/include/isa_machdep.h
133
_isa_dmamem_unmap(&(ic)->ic_dmastate, (c), (k), (s))
sys/arch/alpha/include/isa_machdep.h
134
#define isa_dmamem_mmap(ic, c, a, s, o, p, f) \
sys/arch/alpha/include/isa_machdep.h
135
_isa_dmamem_mmap(&(ic)->ic_dmastate, (c), (a), (s), (o), (p), (f))
sys/arch/alpha/include/isa_machdep.h
136
#define isa_drq_alloc(ic, c) \
sys/arch/alpha/include/isa_machdep.h
137
_isa_drq_alloc(&(ic)->ic_dmastate, c)
sys/arch/alpha/include/isa_machdep.h
138
#define isa_drq_free(ic, c) \
sys/arch/alpha/include/isa_machdep.h
139
_isa_drq_free(&(ic)->ic_dmastate, c)
sys/arch/alpha/include/isa_machdep.h
140
#define isa_drq_isfree(ic, c) \
sys/arch/alpha/include/isa_machdep.h
141
_isa_drq_isfree(&(ic)->ic_dmastate, (c))
sys/arch/alpha/include/isa_machdep.h
142
#define isa_malloc(ic, c, s, p, f) \
sys/arch/alpha/include/isa_machdep.h
143
_isa_malloc(&(ic)->ic_dmastate, (c), (s), (p), (f))
sys/arch/alpha/include/isa_machdep.h
87
#define isa_detach_hook(c, s) \
sys/arch/alpha/include/isa_machdep.h
88
(*(c)->ic_detach_hook)((c), (s))
sys/arch/alpha/include/isa_machdep.h
89
#define isa_intr_evcnt(c, i) \
sys/arch/alpha/include/isa_machdep.h
90
(*(c)->ic_intr_evcnt)((c)->ic_v, (i))
sys/arch/alpha/include/isa_machdep.h
91
#define isa_intr_establish(c, i, t, l, f, a) \
sys/arch/alpha/include/isa_machdep.h
92
(*(c)->ic_intr_establish)((c)->ic_v, (i), (t), (l), (f), (a))
sys/arch/alpha/include/isa_machdep.h
93
#define isa_intr_establish_xname(c, i, t, l, f, a, x) \
sys/arch/alpha/include/isa_machdep.h
94
(*(c)->ic_intr_establish)((c)->ic_v, (i), (t), (l), (f), (a))
sys/arch/alpha/include/isa_machdep.h
95
#define isa_intr_disestablish(c, h) \
sys/arch/alpha/include/isa_machdep.h
96
(*(c)->ic_intr_disestablish)((c)->ic_v, (h))
sys/arch/alpha/include/isa_machdep.h
97
#define isa_intr_alloc(c, m, t, i) \
sys/arch/alpha/include/isa_machdep.h
98
(*(c)->ic_intr_alloc)((c)->ic_v, (m), (t), (i))
sys/arch/alpha/include/loadfile_machdep.h
39
#define READ(f, b, c) pread((f), (void *)LOADADDR(b), (c))
sys/arch/alpha/include/loadfile_machdep.h
40
#define BCOPY(s, d, c) vpbcopy((s), (void *)LOADADDR(d), (c))
sys/arch/alpha/include/loadfile_machdep.h
41
#define BZERO(d, c) pbzero((void *)LOADADDR(d), (c))
sys/arch/alpha/include/loadfile_machdep.h
63
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/alpha/include/loadfile_machdep.h
64
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/alpha/include/loadfile_machdep.h
65
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/alpha/jensenio/jensenio_bus_intio.c
228
uint8_t *a, bus_size_t c)
sys/arch/alpha/jensenio/jensenio_bus_intio.c
231
while (c-- > 0) {
sys/arch/alpha/jensenio/jensenio_bus_intio.c
251
const uint8_t *a, bus_size_t c)
sys/arch/alpha/jensenio/jensenio_bus_intio.c
254
while (c-- > 0) {
sys/arch/alpha/jensenio/jensenio_bus_intio.c
263
uint8_t val, bus_size_t c)
sys/arch/alpha/jensenio/jensenio_bus_intio.c
266
while (c-- > 0) {
sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c
633
bus_size_t c) \
sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c
636
while (c-- > 0) { \
sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c
654
bus_size_t c) \
sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c
657
while (c-- > 0) { \
sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c
739
bus_size_t c) \
sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c
742
while (c-- > 0) { \
sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c
760
bus_size_t c) \
sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c
763
while (c-- > 0) { \
sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c
780
bus_size_t c) \
sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c
783
while (c-- > 0) { \
sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c
801
bus_size_t c) \
sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c
804
while (c-- > 0) { \
sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c
822
bus_size_t c) \
sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c
828
for (o = 0; c != 0; c--, o += BYTES) { \
sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c
834
for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) { \
sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
605
bus_size_t c) \
sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
608
while (c-- > 0) { \
sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
626
bus_size_t c) \
sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
629
while (c-- > 0) { \
sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
711
bus_size_t c) \
sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
714
while (c-- > 0) { \
sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
732
bus_size_t c) \
sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
735
while (c-- > 0) { \
sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
752
bus_size_t c) \
sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
755
while (c-- > 0) { \
sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
773
bus_size_t c) \
sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
776
while (c-- > 0) { \
sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
794
bus_size_t c) \
sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
800
for (o = 0; c != 0; c--, o += BYTES) { \
sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
806
for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) { \
sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c
713
__C(__C(CHIP,_io_read_multi_),BYTES)(void *v, bus_space_handle_t h, bus_size_t o, TYPE *a, bus_size_t c) \
sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c
716
while (c-- > 0) { \
sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c
729
__C(__C(CHIP,_io_read_region_),BYTES)(void *v, bus_space_handle_t h, bus_size_t o, TYPE *a, bus_size_t c) \
sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c
732
while (c-- > 0) { \
sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c
807
__C(__C(CHIP,_io_write_multi_),BYTES)(void *v, bus_space_handle_t h, bus_size_t o, const TYPE *a, bus_size_t c) \
sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c
810
while (c-- > 0) { \
sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c
823
__C(__C(CHIP,_io_write_region_),BYTES)(void *v, bus_space_handle_t h, bus_size_t o, const TYPE *a, bus_size_t c) \
sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c
826
while (c-- > 0) { \
sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c
838
__C(__C(CHIP,_io_set_multi_),BYTES)(void *v, bus_space_handle_t h, bus_size_t o, TYPE val, bus_size_t c) \
sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c
841
while (c-- > 0) { \
sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c
854
__C(__C(CHIP,_io_set_region_),BYTES)(void *v, bus_space_handle_t h, bus_size_t o, TYPE val, bus_size_t c) \
sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c
857
while (c-- > 0) { \
sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c
869
__C(__C(CHIP,_io_copy_region_),BYTES)(void *v, bus_space_handle_t h1, bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c) \
sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c
875
for (o = 0; c != 0; c--, o += BYTES) \
sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c
880
for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) \
sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c
1068
__C(__C(CHIP,_mem_read_multi_),BYTES)(void *v, bus_space_handle_t h, bus_size_t o, TYPE *a, bus_size_t c) \
sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c
1071
while (c-- > 0) { \
sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c
1084
__C(__C(CHIP,_mem_read_region_),BYTES)(void *v, bus_space_handle_t h, bus_size_t o, TYPE *a, bus_size_t c) \
sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c
1087
while (c-- > 0) { \
sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c
1187
__C(__C(CHIP,_mem_write_multi_),BYTES)(void *v, bus_space_handle_t h, bus_size_t o, const TYPE *a, bus_size_t c) \
sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c
1190
while (c-- > 0) { \
sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c
1203
__C(__C(CHIP,_mem_write_region_),BYTES)(void *v, bus_space_handle_t h, bus_size_t o, const TYPE *a, bus_size_t c) \
sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c
1206
while (c-- > 0) { \
sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c
1218
__C(__C(CHIP,_mem_set_multi_),BYTES)(void *v, bus_space_handle_t h, bus_size_t o, TYPE val, bus_size_t c) \
sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c
1221
while (c-- > 0) { \
sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c
1234
__C(__C(CHIP,_mem_set_region_),BYTES)(void *v, bus_space_handle_t h, bus_size_t o, TYPE val, bus_size_t c) \
sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c
1237
while (c-- > 0) { \
sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c
1249
__C(__C(CHIP,_mem_copy_region_),BYTES)(void *v, bus_space_handle_t h1, bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c) \
sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c
1254
memmove((void *)(h2 + o2), (void *)(h1 + o1), c * BYTES); \
sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c
1260
for (o = 0; c != 0; c--, o += BYTES) \
sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c
1265
for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) \
sys/arch/alpha/stand/common/prom.c
104
putchar(int c)
sys/arch/alpha/stand/common/prom.c
110
if (c == '\r' || c == '\n') {
sys/arch/alpha/stand/common/prom.c
112
c = '\n';
sys/arch/alpha/stand/common/prom.c
114
putonechar(c);
sys/arch/alpha/stand/common/prom.c
43
static void putonechar(int c);
sys/arch/alpha/stand/common/prom.c
50
struct crb *c;
sys/arch/alpha/stand/common/prom.c
54
c = (struct crb *)((u_int8_t *)r + r->rpb_crb_off);
sys/arch/alpha/stand/common/prom.c
56
prom_dispatch_v.routine_arg = c->crb_v_dispatch;
sys/arch/alpha/stand/common/prom.c
57
prom_dispatch_v.routine = c->crb_v_dispatch->entry_va;
sys/arch/alpha/stand/common/prom.c
80
int c;
sys/arch/alpha/stand/common/prom.c
83
if (test_getchar(&c)) {
sys/arch/alpha/stand/common/prom.c
84
if (c == 3)
sys/arch/alpha/stand/common/prom.c
86
return c;
sys/arch/alpha/stand/common/prom.c
93
putonechar(int c)
sys/arch/alpha/stand/common/prom.c
96
char cbuf = c;
sys/arch/alpha/stand/mkbootimage/mkbootimage.c
65
int c, verbose, nowrite, infd, outfd;
sys/arch/alpha/stand/mkbootimage/mkbootimage.c
69
while ((c = getopt(argc, argv, "nv")) != -1) {
sys/arch/alpha/stand/mkbootimage/mkbootimage.c
70
switch (c) {
sys/arch/alpha/stand/netboot/devopen.c
101
*ncp++ = c;
sys/arch/alpha/stand/netboot/devopen.c
106
if ((c = *cp) >= '0' && c <= '9') {
sys/arch/alpha/stand/netboot/devopen.c
107
ctlr = c - '0';
sys/arch/alpha/stand/netboot/devopen.c
108
c = *++cp;
sys/arch/alpha/stand/netboot/devopen.c
111
if (c == ',') {
sys/arch/alpha/stand/netboot/devopen.c
113
if ((c = *++cp) >= '0' && c <= '9') {
sys/arch/alpha/stand/netboot/devopen.c
114
unit = c - '0';
sys/arch/alpha/stand/netboot/devopen.c
115
c = *++cp;
sys/arch/alpha/stand/netboot/devopen.c
118
if (c == ',') {
sys/arch/alpha/stand/netboot/devopen.c
120
if ((c = *++cp) >= '0' && c <= '9') {
sys/arch/alpha/stand/netboot/devopen.c
121
part = c - '0';
sys/arch/alpha/stand/netboot/devopen.c
122
c = *++cp;
sys/arch/alpha/stand/netboot/devopen.c
126
if (c != ')')
sys/arch/alpha/stand/netboot/devopen.c
51
register int c, i;
sys/arch/alpha/stand/netboot/devopen.c
62
if ((c = *cp) >= '0' && c <= '9') {
sys/arch/alpha/stand/netboot/devopen.c
63
ctlr = c - '0';
sys/arch/alpha/stand/netboot/devopen.c
68
while ((c = *cp) != '\0') {
sys/arch/alpha/stand/netboot/devopen.c
69
if (c == '/')
sys/arch/alpha/stand/netboot/devopen.c
71
if (c >= '0' && c <= '9') {
sys/arch/alpha/stand/netboot/devopen.c
73
unit = c - '0';
sys/arch/alpha/stand/netboot/devopen.c
76
if ((c = *++cp) >= 'a' && c <= 'h') {
sys/arch/alpha/stand/netboot/devopen.c
77
part = c - 'a';
sys/arch/alpha/stand/netboot/devopen.c
78
c = *++cp;
sys/arch/alpha/stand/netboot/devopen.c
80
if (c != '/')
sys/arch/alpha/stand/netboot/devopen.c
85
*ncp++ = c;
sys/arch/alpha/stand/netboot/devopen.c
95
while ((c = *cp) != '\0') {
sys/arch/alpha/stand/netboot/devopen.c
96
if (c == '(') {
sys/arch/alpha/stand/netboot/if_prom.c
161
#define dval(c) (((c) >= '0' && (c) <= '9') ? ((c) - '0') : \
sys/arch/alpha/stand/netboot/if_prom.c
162
(((c) >= 'A' && (c) <= 'F') ? (10 + (c) - 'A') : \
sys/arch/alpha/stand/netboot/if_prom.c
163
(((c) >= 'a' && (c) <= 'f') ? (10 + (c) - 'a') : -1)))
sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c
75
int c, fd, i;
sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c
77
while ((c = getopt(argc, argv, "a:fh:o:uv")) != -1) {
sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c
78
switch (c) {
sys/arch/alpha/stand/standtest/test.c
145
unsigned char c;
sys/arch/alpha/stand/standtest/test.c
150
c = *buf;
sys/arch/alpha/stand/standtest/test.c
151
if (c == '0') {
sys/arch/alpha/stand/standtest/test.c
152
c = *(++buf);
sys/arch/alpha/stand/standtest/test.c
154
if (c == 'x' || c == 'X') {
sys/arch/alpha/stand/standtest/test.c
162
for (c = *buf; c != '\0' && !isspace(c); c = *(++buf)) {
sys/arch/alpha/stand/standtest/test.c
165
if (c < '0' || c > '9')
sys/arch/alpha/tc/tc_bus_mem.c
453
bus_size_t c) \
sys/arch/alpha/tc/tc_bus_mem.c
456
while (c-- > 0) { \
sys/arch/alpha/tc/tc_bus_mem.c
473
bus_size_t c) \
sys/arch/alpha/tc/tc_bus_mem.c
476
while (c-- > 0) { \
sys/arch/alpha/tc/tc_bus_mem.c
555
bus_size_t c) \
sys/arch/alpha/tc/tc_bus_mem.c
558
while (c-- > 0) { \
sys/arch/alpha/tc/tc_bus_mem.c
575
bus_size_t c) \
sys/arch/alpha/tc/tc_bus_mem.c
578
while (c-- > 0) { \
sys/arch/alpha/tc/tc_bus_mem.c
595
bus_size_t c) \
sys/arch/alpha/tc/tc_bus_mem.c
598
while (c-- > 0) { \
sys/arch/alpha/tc/tc_bus_mem.c
615
bus_size_t c) \
sys/arch/alpha/tc/tc_bus_mem.c
618
while (c-- > 0) { \
sys/arch/alpha/tc/tc_bus_mem.c
636
bus_size_t c) \
sys/arch/alpha/tc/tc_bus_mem.c
642
memmove((void *)(h2 + o2), (void *)(h1 + o1), c * BYTES); \
sys/arch/alpha/tc/tc_bus_mem.c
648
for (o = 0; c > 0; c--, o += BYTES) \
sys/arch/alpha/tc/tc_bus_mem.c
653
for (o = (c - 1) * BYTES; c > 0; c--, o -= BYTES) \
sys/arch/amd64/amd64/trap.c
154
#define SIGDEBUG(a, b, c) sigdebug(a, b, c)
sys/arch/amd64/amd64/trap.c
156
#define SIGDEBUG(a, b, c)
sys/arch/amd64/include/int_const.h
47
#define INT8_C(c) c
sys/arch/amd64/include/int_const.h
48
#define INT16_C(c) c
sys/arch/amd64/include/int_const.h
49
#define INT32_C(c) c
sys/arch/amd64/include/int_const.h
50
#define INT64_C(c) c ## L
sys/arch/amd64/include/int_const.h
52
#define UINT8_C(c) c
sys/arch/amd64/include/int_const.h
53
#define UINT16_C(c) c
sys/arch/amd64/include/int_const.h
54
#define UINT32_C(c) c ## U
sys/arch/amd64/include/int_const.h
55
#define UINT64_C(c) c ## UL
sys/arch/amd64/include/int_const.h
59
#define INTMAX_C(c) c ## L
sys/arch/amd64/include/int_const.h
60
#define UINTMAX_C(c) c ## UL
sys/arch/amd64/include/segments.h
138
#define USERMODE(c) (ISPL(c) == SEL_UPL)
sys/arch/amd64/include/segments.h
144
#define KERNELMODE(c) (ISPL(c) == SEL_XPL)
sys/arch/amd64/include/segments.h
146
#define KERNELMODE(c) (ISPL(c) == SEL_KPL)
sys/arch/amd64/stand/prekern/console.c
67
static void putc(int color, char c)
sys/arch/amd64/stand/prekern/console.c
71
if (c == '\n') {
sys/arch/amd64/stand/prekern/console.c
83
ptr[0] = scr[0] = c;
sys/arch/amiga/amiga/amiga_init.c
1043
int error, c;
sys/arch/amiga/amiga/amiga_init.c
1098
c = uimin(iov->iov_len, kernel_load_endseg - kernel_load_ofs);
sys/arch/amiga/amiga/amiga_init.c
1099
c = uimin(c, MAXPHYS);
sys/arch/amiga/amiga/amiga_init.c
1100
if ((error = uiomove(kernel_image + kernel_load_ofs, (int)c, uio)) != 0)
sys/arch/amiga/amiga/amiga_init.c
1102
kernel_load_ofs += c;
sys/arch/amiga/amiga/amiga_init.c
1128
for(c = 0; c < kernel_exec.a_bss; c++)
sys/arch/amiga/amiga/amiga_init.c
1129
kernel_image[kernel_load_ofs + c] = 0;
sys/arch/amiga/amiga/amiga_init.c
1165
c = *((u_long *)(kernel_image + kernel_load_ofs - 4));
sys/arch/amiga/amiga/amiga_init.c
1166
if (c > 16 * (kernel_exec.a_syms / 12))
sys/arch/amiga/amiga/amiga_init.c
1167
c = 16 * (kernel_exec.a_syms / 12);
sys/arch/amiga/amiga/amiga_init.c
1168
kernel_load_endseg += c - 4;
sys/arch/amiga/amiga/amiga_init.c
1172
kernel_image = malloc(kernel_load_ofs + c
sys/arch/amiga/amiga/amiga_init.c
1176
for (c = 0; c < kernel_load_ofs; c += MAXPHYS)
sys/arch/amiga/amiga/amiga_init.c
1177
memcpy(kernel_image + c, kernel_image_copy + c,
sys/arch/amiga/amiga/amiga_init.c
1178
(kernel_load_ofs - c) > MAXPHYS ? MAXPHYS :
sys/arch/amiga/amiga/amiga_init.c
1179
kernel_load_ofs - c);
sys/arch/amiga/amiga/cc.c
209
set_blitter_mods(u_short a, u_short b, u_short c, u_short d)
sys/arch/amiga/amiga/cc.c
213
custom.bltcmod = c;
sys/arch/amiga/amiga/cc.c
233
set_blitter_pointers(void *a, void *b, void *c, void *d)
sys/arch/amiga/amiga/cc.c
237
custom.bltcpt = c;
sys/arch/amiga/amiga/cc.h
136
#define CBUMP(c) (c++)
sys/arch/amiga/amiga/cc.h
138
#define CMOVE(c,r,v) do { \
sys/arch/amiga/amiga/cc.h
139
c->cp.data=((CI_MOVE(r)<<16)|(CD_MOVE(v))); \
sys/arch/amiga/amiga/cc.h
140
CBUMP (c); \
sys/arch/amiga/amiga/cc.h
142
#define CWAIT(c,h,v) do { \
sys/arch/amiga/amiga/cc.h
143
c->cp.data=((CI_WAIT(h,v) << 16)|CD_WAIT(0xfffe)); \
sys/arch/amiga/amiga/cc.h
144
CBUMP (c); \
sys/arch/amiga/amiga/cc.h
146
#define CSKIP(c,h,v) do { \
sys/arch/amiga/amiga/cc.h
147
c->cp.data=((CI_SKIP(h,v)<<16)|CD_SKIP(0xffff)); \
sys/arch/amiga/amiga/cc.h
148
CBUMP (c); \
sys/arch/amiga/amiga/cc.h
150
#define CEND(c) do { \
sys/arch/amiga/amiga/cc.h
151
c->cp.data=0xfffffffe; \
sys/arch/amiga/amiga/cc.h
152
CBUMP (c); \
sys/arch/amiga/amiga/cia.h
121
#define SETDCD(c) (c &= ~CIAB_PRA_CD)
sys/arch/amiga/amiga/cia.h
122
#define CLRDCD(c) (c |= CIAB_PRA_CD)
sys/arch/amiga/amiga/cia.h
123
#define ISDCD(c) (!(c & CIAB_PRA_CD))
sys/arch/amiga/amiga/cia.h
125
#define SETCTS(c) (c &= ~CIAB_PRA_CTS)
sys/arch/amiga/amiga/cia.h
126
#define CLRCTS(c) (c |= CIAB_PRA_CTS)
sys/arch/amiga/amiga/cia.h
127
#define ISCTS(c) (!(c & CIAB_PRA_CTS))
sys/arch/amiga/amiga/cia.h
129
#define SETRTS(c) (c &= ~CIAB_PRA_RTS)
sys/arch/amiga/amiga/cia.h
130
#define CLRRTS(c) (c |= CIAB_PRA_RTS)
sys/arch/amiga/amiga/cia.h
131
#define ISRTS(c) (!(c & CIAB_PRA_RTS))
sys/arch/amiga/amiga/cia.h
133
#define SETDTR(c) (c &= ~CIAB_PRA_DTR)
sys/arch/amiga/amiga/cia.h
134
#define CLRDTR(c) (c |= CIAB_PRA_DTR)
sys/arch/amiga/amiga/cia.h
135
#define ISDTR(c) (!(c & CIAB_PRA_DTR))
sys/arch/amiga/amiga/cia.h
137
#define SETDSR(c) (c &= ~CIAB_PRA_DSR)
sys/arch/amiga/amiga/cia.h
138
#define CLRDSR(c) (c |= CIAB_PRA_DSR)
sys/arch/amiga/amiga/cia.h
139
#define ISDSR(c) (!(c & CIAB_PRA_DSR))
sys/arch/amiga/amiga/pmap_bootstrap.c
190
#define SYSMAP(c, v, n) \
sys/arch/amiga/amiga/pmap_bootstrap.c
191
v = (c)va; va += ((n)*PAGE_SIZE);
sys/arch/amiga/dev/amidisplaycc.c
1742
int c, green_div, blue_div, red_div;
sys/arch/amiga/dev/amidisplaycc.c
1748
for (c = 0 ; c < count ; c++)
sys/arch/amiga/dev/amidisplaycc.c
1749
cm.entry[c + index] = MAKE_COLOR_ENTRY(
sys/arch/amiga/dev/amidisplaycc.c
1750
cmap->red[c] / red_div,
sys/arch/amiga/dev/amidisplaycc.c
1751
cmap->green[c] / green_div,
sys/arch/amiga/dev/amidisplaycc.c
1752
cmap->blue[c] / blue_div);
sys/arch/amiga/dev/amidisplaycc.c
1755
int c, grey_div;
sys/arch/amiga/dev/amidisplaycc.c
1760
for (c = 0 ; c < count ; c++)
sys/arch/amiga/dev/amidisplaycc.c
1761
cm.entry[c + index] = MAKE_COLOR_ENTRY(
sys/arch/amiga/dev/amidisplaycc.c
1764
(cmap->red[c] +
sys/arch/amiga/dev/amidisplaycc.c
1765
cmap->green[c] +
sys/arch/amiga/dev/amidisplaycc.c
1766
cmap->blue[c]) / 3 / grey_div);
sys/arch/amiga/dev/amidisplaycc.c
1826
int c, red_mul, green_mul, blue_mul;
sys/arch/amiga/dev/amidisplaycc.c
1832
for (c = 0 ; c < count ; c++) {
sys/arch/amiga/dev/amidisplaycc.c
1833
cmap->red[c] = red_mul *
sys/arch/amiga/dev/amidisplaycc.c
1834
CM_GET_RED(cm.entry[index+c]);
sys/arch/amiga/dev/amidisplaycc.c
1835
cmap->green[c] = green_mul *
sys/arch/amiga/dev/amidisplaycc.c
1836
CM_GET_GREEN(cm.entry[index+c]);
sys/arch/amiga/dev/amidisplaycc.c
1837
cmap->blue[c] = blue_mul *
sys/arch/amiga/dev/amidisplaycc.c
1838
CM_GET_BLUE(cm.entry[index+c]);
sys/arch/amiga/dev/amidisplaycc.c
1841
int c, grey_mul;
sys/arch/amiga/dev/amidisplaycc.c
1845
for (c = 0 ; c < count ; c++) {
sys/arch/amiga/dev/amidisplaycc.c
1846
cmap->red[c] = grey_mul *
sys/arch/amiga/dev/amidisplaycc.c
1847
CM_GET_GREY(cm.entry[index+c]);
sys/arch/amiga/dev/amidisplaycc.c
1848
cmap->green[c] = grey_mul *
sys/arch/amiga/dev/amidisplaycc.c
1849
CM_GET_GREY(cm.entry[index+c]);
sys/arch/amiga/dev/amidisplaycc.c
1850
cmap->blue[c] = grey_mul *
sys/arch/amiga/dev/amidisplaycc.c
1851
CM_GET_GREY(cm.entry[index+c]);
sys/arch/amiga/dev/gayle_pcmcia.c
451
pcmio_bsrm1(bus_space_handle_t h, bus_size_t o, u_int8_t *p, bus_size_t c)
sys/arch/amiga/dev/gayle_pcmcia.c
458
for (; c > 0; c--)
sys/arch/amiga/dev/gayle_pcmcia.c
464
pcmio_bswm1(bus_space_handle_t h, bus_size_t o, const u_int8_t *p, bus_size_t c)
sys/arch/amiga/dev/gayle_pcmcia.c
471
for (; c > 0; c--)
sys/arch/amiga/dev/gayle_pcmcia.c
476
pcmio_bsrr1(bus_space_handle_t h, bus_size_t o, u_int8_t *p, bus_size_t c)
sys/arch/amiga/dev/gayle_pcmcia.c
491
for (; c > 0; c--) {
sys/arch/amiga/dev/gayle_pcmcia.c
504
pcmio_bswr1(bus_space_handle_t h, bus_size_t o, const u_int8_t *p, bus_size_t c)
sys/arch/amiga/dev/gayle_pcmcia.c
519
for (; c > 0; c--) {
sys/arch/amiga/dev/gayle_pcmcia.c
531
pcmio_bssr1(bus_space_handle_t h, bus_size_t o, unsigned v, bus_size_t c)
sys/arch/amiga/dev/gayle_pcmcia.c
539
bus_size_t q, bus_size_t c)
sys/arch/amiga/dev/grf_cl.c
1725
unsigned char *c, *f, y;
sys/arch/amiga/dev/grf_cl.c
1734
c = (unsigned char *) (fb) + (32 * tm->fdstart);
sys/arch/amiga/dev/grf_cl.c
1736
for (z = tm->fdstart; z <= tm->fdend; z++, c += (32 - tm->fy))
sys/arch/amiga/dev/grf_cl.c
1738
*c++ = *f++;
sys/arch/amiga/dev/grf_cl.c
1749
c = (unsigned char *) (fb) + (tm->cols - 16);
sys/arch/amiga/dev/grf_cl.c
1750
strcpy(c, "CIRRUS");
sys/arch/amiga/dev/grf_cl.c
1751
c[6] = 0x20;
sys/arch/amiga/dev/grf_cl.c
1777
cl_memset(unsigned char *d, unsigned char c, int l)
sys/arch/amiga/dev/grf_cl.c
1780
*d++ = c;
sys/arch/amiga/dev/grf_cl.c
1859
cl_wscursor(void *c, int on, int row, int col)
sys/arch/amiga/dev/grf_cl.c
1867
ri = c;
sys/arch/amiga/dev/grf_cl.c
1894
cl_wsputchar(void *c, int row, int col, u_int ch, long attr)
sys/arch/amiga/dev/grf_cl.c
1901
ri = c;
sys/arch/amiga/dev/grf_cl.c
1915
cl_wscopycols(void *c, int row, int srccol, int dstcol, int ncols)
sys/arch/amiga/dev/grf_cl.c
1924
ri = c;
sys/arch/amiga/dev/grf_cl.c
1959
cl_wserasecols(void *c, int row, int startcol, int ncols, long fillattr)
sys/arch/amiga/dev/grf_cl.c
1967
ri = c;
sys/arch/amiga/dev/grf_cl.c
1984
cl_wscopyrows(void *c, int srcrow, int dstrow, int nrows)
sys/arch/amiga/dev/grf_cl.c
1993
ri = c;
sys/arch/amiga/dev/grf_cl.c
2027
cl_wseraserows(void *c, int row, int nrows, long fillattr)
sys/arch/amiga/dev/grf_cl.c
2035
ri = c;
sys/arch/amiga/dev/grf_cl.c
2053
cl_wsallocattr(void *c, int fg, int bg, int flg, long *attr)
sys/arch/amiga/dev/grf_cl.c
2066
cl_wsmapchar(void *c, int ch, unsigned int *cp)
sys/arch/amiga/dev/grf_cv.c
1705
volatile unsigned char *c;
sys/arch/amiga/dev/grf_cv.c
1720
c = (volatile unsigned char *) fb;
sys/arch/amiga/dev/grf_cv.c
1724
*c++ = 0x20;
sys/arch/amiga/dev/grf_cv.c
1725
*c++ = 0x07;
sys/arch/amiga/dev/grf_cv.c
1726
*c++ = 0;
sys/arch/amiga/dev/grf_cv.c
1727
*c++ = 0;
sys/arch/amiga/dev/grf_cv.c
1730
c = (volatile unsigned char *)fb + (32 * tm->fdstart * 4 + 2);
sys/arch/amiga/dev/grf_cv.c
1732
for (z = tm->fdstart; z <= tm->fdend; z++, c += (32 - tm->fy) * 4)
sys/arch/amiga/dev/grf_cv.c
1734
*c = *f++;
sys/arch/amiga/dev/grf_cv.c
1735
c += 4;
sys/arch/amiga/dev/grf_cv.c
1739
c = (volatile unsigned char *)fb + (tm->cols - 6) * 4;
sys/arch/amiga/dev/grf_cv.c
1740
*c++ = 'C';
sys/arch/amiga/dev/grf_cv.c
1741
*c++ = 0x0a;
sys/arch/amiga/dev/grf_cv.c
1742
c +=2;
sys/arch/amiga/dev/grf_cv.c
1743
*c++ = 'V';
sys/arch/amiga/dev/grf_cv.c
1744
*c++ = 0x0b;
sys/arch/amiga/dev/grf_cv.c
1745
c +=2;
sys/arch/amiga/dev/grf_cv.c
1746
*c++ = '6';
sys/arch/amiga/dev/grf_cv.c
1747
*c++ = 0x0c;
sys/arch/amiga/dev/grf_cv.c
1748
c +=2;
sys/arch/amiga/dev/grf_cv.c
1749
*c++ = '4';
sys/arch/amiga/dev/grf_cv.c
1750
*c++ = 0x0d;
sys/arch/amiga/dev/grf_cv.c
2276
cv_wscursor(void *c, int on, int row, int col)
sys/arch/amiga/dev/grf_cv.c
2284
ri = c;
sys/arch/amiga/dev/grf_cv.c
2310
static void cv_wsputchar(void *c, int row, int col, u_int ch, long attr)
sys/arch/amiga/dev/grf_cv.c
2317
ri = c;
sys/arch/amiga/dev/grf_cv.c
2327
cv_wscopycols(void *c, int row, int srccol, int dstcol, int ncols)
sys/arch/amiga/dev/grf_cv.c
2335
ri = c;
sys/arch/amiga/dev/grf_cv.c
2359
cv_wserasecols(void *c, int row, int startcol, int ncols, long fillattr)
sys/arch/amiga/dev/grf_cv.c
2367
ri = c;
sys/arch/amiga/dev/grf_cv.c
2380
cv_wscopyrows(void *c, int srcrow, int dstrow, int nrows)
sys/arch/amiga/dev/grf_cv.c
2389
ri = c;
sys/arch/amiga/dev/grf_cv.c
2415
cv_wseraserows(void *c, int row, int nrows, long fillattr)
sys/arch/amiga/dev/grf_cv.c
2424
ri = c;
sys/arch/amiga/dev/grf_cv.c
2438
cv_wsallocattr(void *c, int fg, int bg, int flg, long *attr)
sys/arch/amiga/dev/grf_cv.c
2451
cv_wsmapchar(void *c, int ch, unsigned int *cp)
sys/arch/amiga/dev/grf_cv3d.c
1580
volatile unsigned char *c;
sys/arch/amiga/dev/grf_cv3d.c
1595
c = (volatile unsigned char *) fb;
sys/arch/amiga/dev/grf_cv3d.c
1599
*c++ = 0x20;
sys/arch/amiga/dev/grf_cv3d.c
1600
*c++ = 0x07;
sys/arch/amiga/dev/grf_cv3d.c
1601
*c++ = 0;
sys/arch/amiga/dev/grf_cv3d.c
1602
*c++ = 0;
sys/arch/amiga/dev/grf_cv3d.c
1605
c = (volatile unsigned char *)fb + (32 * tm->fdstart * 4 + 2);
sys/arch/amiga/dev/grf_cv3d.c
1607
for (z = tm->fdstart; z <= tm->fdend; z++, c += (32 - tm->fy) * 4)
sys/arch/amiga/dev/grf_cv3d.c
1609
*c = *f++;
sys/arch/amiga/dev/grf_cv3d.c
1610
c += 4;
sys/arch/amiga/dev/grf_cv3d.c
1614
c = (volatile unsigned char *)fb + (tm->cols - 9) * 4;
sys/arch/amiga/dev/grf_cv3d.c
1615
*c++ = 'C';
sys/arch/amiga/dev/grf_cv3d.c
1616
*c++ = 0x0c;
sys/arch/amiga/dev/grf_cv3d.c
1617
c +=2;
sys/arch/amiga/dev/grf_cv3d.c
1618
*c++ = 'V';
sys/arch/amiga/dev/grf_cv3d.c
1619
*c++ = 0x0c;
sys/arch/amiga/dev/grf_cv3d.c
1620
c +=2;
sys/arch/amiga/dev/grf_cv3d.c
1621
*c++ = '6';
sys/arch/amiga/dev/grf_cv3d.c
1622
*c++ = 0x0b;
sys/arch/amiga/dev/grf_cv3d.c
1623
c +=2;
sys/arch/amiga/dev/grf_cv3d.c
1624
*c++ = '4';
sys/arch/amiga/dev/grf_cv3d.c
1625
*c++ = 0x0f;
sys/arch/amiga/dev/grf_cv3d.c
1626
c +=2;
sys/arch/amiga/dev/grf_cv3d.c
1627
*c++ = '/';
sys/arch/amiga/dev/grf_cv3d.c
1628
*c++ = 0x0e;
sys/arch/amiga/dev/grf_cv3d.c
1629
c +=2;
sys/arch/amiga/dev/grf_cv3d.c
1630
*c++ = '3';
sys/arch/amiga/dev/grf_cv3d.c
1631
*c++ = 0x0a;
sys/arch/amiga/dev/grf_cv3d.c
1632
c +=2;
sys/arch/amiga/dev/grf_cv3d.c
1633
*c++ = 'D';
sys/arch/amiga/dev/grf_cv3d.c
1634
*c++ = 0x0a;
sys/arch/amiga/dev/grf_cv3d.c
2129
cv3d_wscursor(void *c, int on, int row, int col)
sys/arch/amiga/dev/grf_cv3d.c
2137
ri = c;
sys/arch/amiga/dev/grf_cv3d.c
2181
cv3d_wscopycols(void *c, int row, int srccol, int dstcol, int ncols)
sys/arch/amiga/dev/grf_cv3d.c
2189
ri = c;
sys/arch/amiga/dev/grf_cv3d.c
2213
cv3d_wserasecols(void *c, int row, int startcol, int ncols, long fillattr)
sys/arch/amiga/dev/grf_cv3d.c
2221
ri = c;
sys/arch/amiga/dev/grf_cv3d.c
2234
cv3d_wscopyrows(void *c, int srcrow, int dstrow, int nrows)
sys/arch/amiga/dev/grf_cv3d.c
2243
ri = c;
sys/arch/amiga/dev/grf_cv3d.c
2269
cv3d_wseraserows(void *c, int row, int nrows, long fillattr)
sys/arch/amiga/dev/grf_cv3d.c
2278
ri = c;
sys/arch/amiga/dev/grf_cv3d.c
2293
cv3d_wsmapchar(void *c, int ch, unsigned int *cp)
sys/arch/amiga/dev/grf_cv3d.c
2305
cv3d_wsallocattr(void *c, int fg, int bg, int flg, long *attr)
sys/arch/amiga/dev/grf_et.c
1487
volatile unsigned char *c;
sys/arch/amiga/dev/grf_et.c
1499
c = fb + (32 * tm->fdstart);
sys/arch/amiga/dev/grf_et.c
1501
for (z = tm->fdstart; z <= tm->fdend; z++, c += (32 - tm->fy))
sys/arch/amiga/dev/grf_et.c
1503
*c++ = *f++;
sys/arch/amiga/dev/grf_et.c
1514
c = fb + (tm->cols - 16);
sys/arch/amiga/dev/grf_et.c
1515
strcpy(__UNVOLATILE(c), "TSENG");
sys/arch/amiga/dev/grf_et.c
1516
c[5] = 0x20;
sys/arch/amiga/dev/grf_et.c
1549
et_memset(volatile unsigned char *d, unsigned char c, int l)
sys/arch/amiga/dev/grf_et.c
1552
*d++ = c;
sys/arch/amiga/dev/grf_et.c
1685
et_wscursor(void *c, int on, int row, int col)
sys/arch/amiga/dev/grf_et.c
1693
ri = c;
sys/arch/amiga/dev/grf_et.c
1721
et_wsputchar(void *c, int row, int col, u_int ch, long attr)
sys/arch/amiga/dev/grf_et.c
1728
ri = c;
sys/arch/amiga/dev/grf_et.c
1742
et_wscopycols(void *c, int row, int srccol, int dstcol, int ncols)
sys/arch/amiga/dev/grf_et.c
1751
ri = c;
sys/arch/amiga/dev/grf_et.c
1786
et_wserasecols(void *c, int row, int startcol, int ncols, long fillattr)
sys/arch/amiga/dev/grf_et.c
1794
ri = c;
sys/arch/amiga/dev/grf_et.c
1811
et_wscopyrows(void *c, int srcrow, int dstrow, int nrows)
sys/arch/amiga/dev/grf_et.c
1820
ri = c;
sys/arch/amiga/dev/grf_et.c
1854
et_wseraserows(void *c, int row, int nrows, long fillattr)
sys/arch/amiga/dev/grf_et.c
1862
ri = c;
sys/arch/amiga/dev/grf_et.c
1880
et_wsallocattr(void *c, int fg, int bg, int flg, long *attr)
sys/arch/amiga/dev/grf_et.c
1893
et_wsmapchar(void *c, int ch, unsigned int *cp)
sys/arch/amiga/dev/grf_rh.c
1083
c = (volatile unsigned short *)((volatile char*)ba + LM_OFFSET);
sys/arch/amiga/dev/grf_rh.c
1084
c += 2 * md->FLo*32;
sys/arch/amiga/dev/grf_rh.c
1085
c += 1;
sys/arch/amiga/dev/grf_rh.c
1091
*c = *((const unsigned short *)f);
sys/arch/amiga/dev/grf_rh.c
1092
c += 2;
sys/arch/amiga/dev/grf_rh.c
1097
*c = (*f++) << 8;
sys/arch/amiga/dev/grf_rh.c
1098
c += 2;
sys/arch/amiga/dev/grf_rh.c
1102
c += 2 * (32-md->FY);
sys/arch/amiga/dev/grf_rh.c
1115
c = (volatile unsigned short *)((volatile char*)ba + LM_OFFSET);
sys/arch/amiga/dev/grf_rh.c
1116
c += (md->TX-6)*2;
sys/arch/amiga/dev/grf_rh.c
1125
*c = *m++;
sys/arch/amiga/dev/grf_rh.c
1126
c += 2;
sys/arch/amiga/dev/grf_rh.c
164
unsigned long *c = (unsigned long *)__UNVOLATILE(ba);
sys/arch/amiga/dev/grf_rh.c
165
c += LM_OFFSET + HWC_MEM_OFF;
sys/arch/amiga/dev/grf_rh.c
175
*c++ = *s++;
sys/arch/amiga/dev/grf_rh.c
176
*c++ = *s++;
sys/arch/amiga/dev/grf_rh.c
177
*c++ = *s++;
sys/arch/amiga/dev/grf_rh.c
178
*c++ = *s++;
sys/arch/amiga/dev/grf_rh.c
734
volatile unsigned short *c;
sys/arch/amiga/dev/grf_rt.c
630
volatile char *c = fb;
sys/arch/amiga/dev/grf_rt.c
635
*c++ = (x & 1)? 0xaa : 0x55;
sys/arch/amiga/dev/grf_rt.c
640
volatile char *c = fb;
sys/arch/amiga/dev/grf_rt.c
645
*c++ = (x & 1)? 0xaa : 0x55;
sys/arch/amiga/dev/grf_rt.c
652
volatile char *c = fb + md->FLo * 32;
sys/arch/amiga/dev/grf_rt.c
662
*c++ = *f;
sys/arch/amiga/dev/grf_rt.c
668
*c++ = *f++;
sys/arch/amiga/dev/grf_rt.c
672
c += 32-md->FY;
sys/arch/amiga/dev/grf_rt.c
680
c = fb + md->FLo*32;
sys/arch/amiga/dev/grf_rt.c
686
*c++ = *f;
sys/arch/amiga/dev/grf_rt.c
690
c += 32-md->FY;
sys/arch/amiga/dev/grf_rt.c
716
volatile unsigned short * c = (volatile unsigned short *) fb;
sys/arch/amiga/dev/grf_rt.c
722
*c = fill_val;
sys/arch/amiga/dev/grf_rt.c
723
c += 2; } while (x--);
sys/arch/amiga/dev/grf_rt.c
726
c = (volatile unsigned short *) fb;
sys/arch/amiga/dev/grf_rt.c
727
c += (md->TX-6)*2;
sys/arch/amiga/dev/grf_rt.c
733
*c = *f++;
sys/arch/amiga/dev/grf_rt.c
734
c += 2;
sys/arch/amiga/dev/ite.c
119
void iteputchar(int c, struct ite_softc *ip);
sys/arch/amiga/dev/ite.c
1334
iteputchar(register int c, struct ite_softc *ip)
sys/arch/amiga/dev/ite.c
1348
switch (c) {
sys/arch/amiga/dev/ite.c
1354
c = IND;
sys/arch/amiga/dev/ite.c
1362
c = NEL;
sys/arch/amiga/dev/ite.c
1366
c = HTS;
sys/arch/amiga/dev/ite.c
1370
c = RI;
sys/arch/amiga/dev/ite.c
1374
c = SS2;
sys/arch/amiga/dev/ite.c
1378
c = SS3;
sys/arch/amiga/dev/ite.c
1382
c = DCS;
sys/arch/amiga/dev/ite.c
1386
c = CSI;
sys/arch/amiga/dev/ite.c
1390
c = ST;
sys/arch/amiga/dev/ite.c
1394
c = OSC;
sys/arch/amiga/dev/ite.c
1398
c = PM;
sys/arch/amiga/dev/ite.c
1402
c = APC;
sys/arch/amiga/dev/ite.c
1416
ip->escape = c;
sys/arch/amiga/dev/ite.c
1525
switch (c) {
sys/arch/amiga/dev/ite.c
1541
switch (c) {
sys/arch/amiga/dev/ite.c
1570
switch (c) {
sys/arch/amiga/dev/ite.c
1586
*ip->ap++ = c;
sys/arch/amiga/dev/ite.c
1685
ip->imode = (c == 'h');
sys/arch/amiga/dev/ite.c
1688
ip->linefeed_newline = (c == 'h');
sys/arch/amiga/dev/ite.c
1963
switch (c) {
sys/arch/amiga/dev/ite.c
1983
*ip->ap++ = c;
sys/arch/amiga/dev/ite.c
2007
ip->cursor_appmode = (c == 'h');
sys/arch/amiga/dev/ite.c
2021
ip->inside_margins = (c == 'h');
sys/arch/amiga/dev/ite.c
2028
ip->auto_wrap = (c == 'h');
sys/arch/amiga/dev/ite.c
2031
ip->key_repeat = (c == 'h');
sys/arch/amiga/dev/ite.c
2034
ip->linefeed_newline = (c == 'h');
sys/arch/amiga/dev/ite.c
2037
SUBR_CURSOR(ip, (c == 'h') ?
sys/arch/amiga/dev/ite.c
2053
switch (c) {
sys/arch/amiga/dev/ite.c
2169
if ((c & 0x7f) < ' ' || c == DEL)
sys/arch/amiga/dev/ite.c
2177
SUBR_PUTC(ip, c, ip->cury, ip->curx, ATTR_INV);
sys/arch/amiga/dev/ite.c
2179
SUBR_PUTC(ip, c, ip->cury, ip->curx, ATTR_NOR);
sys/arch/amiga/dev/ite.c
2181
SUBR_PUTC(ip, c, ip->cury, ip->curx, ip->attribute);
sys/arch/amiga/dev/ite.c
344
int c;
sys/arch/amiga/dev/ite.c
349
c = kbdgetcn();
sys/arch/amiga/dev/ite.c
350
c = ite_cnfilter(c, ITEFILT_CONSOLE);
sys/arch/amiga/dev/ite.c
351
} while (c == -1);
sys/arch/amiga/dev/ite.c
352
return (c);
sys/arch/amiga/dev/ite.c
356
itecnputc(dev_t dev, int c)
sys/arch/amiga/dev/ite.c
363
ch = c;
sys/arch/amiga/dev/ite.c
737
ite_cnfilter(u_char c, enum caller caller)
sys/arch/amiga/dev/ite.c
743
up = c & 0x80 ? 1 : 0;
sys/arch/amiga/dev/ite.c
744
c &= 0x7f;
sys/arch/amiga/dev/ite.c
749
i = (int)c - KBD_LEFT_SHIFT;
sys/arch/amiga/dev/ite.c
768
key = kbdmap.alt_shift_keys[c];
sys/arch/amiga/dev/ite.c
770
key = kbdmap.shift_keys[c];
sys/arch/amiga/dev/ite.c
772
key = kbdmap.alt_keys[c];
sys/arch/amiga/dev/ite.c
774
key = kbdmap.keys[c];
sys/arch/amiga/dev/ite.c
777
key = kbdmap.shift_keys[c];
sys/arch/amiga/dev/ite.c
832
ite_filter(u_char c, enum caller caller)
sys/arch/amiga/dev/ite.c
847
up = c & 0x80 ? 1 : 0;
sys/arch/amiga/dev/ite.c
848
c &= 0x7f;
sys/arch/amiga/dev/ite.c
851
i = (int)c - KBD_LEFT_SHIFT;
sys/arch/amiga/dev/ite.c
870
} else if (tout_pending && last_char != c) {
sys/arch/amiga/dev/ite.c
877
if (key_mod == (KBD_MOD_LALT | KBD_MOD_LMETA) && c == 0x50) {
sys/arch/amiga/dev/ite.c
883
} else if (key_mod == (KBD_MOD_LALT | KBD_MOD_LMETA) && c == 0x59) {
sys/arch/amiga/dev/ite.c
892
key = kbdmap.alt_shift_keys[c];
sys/arch/amiga/dev/ite.c
894
key = kbdmap.shift_keys[c];
sys/arch/amiga/dev/ite.c
896
key = kbdmap.alt_keys[c];
sys/arch/amiga/dev/ite.c
898
key = kbdmap.keys[c];
sys/arch/amiga/dev/ite.c
90
#define SUBR_PUTC(ip,c,dy,dx,m) (ip)->grf->g_iteputc(ip,c,dy,dx,m)
sys/arch/amiga/dev/ite.c
901
key = kbdmap.shift_keys[c];
sys/arch/amiga/dev/ite.c
914
last_char = c;
sys/arch/amiga/dev/ite.c
920
last_char = c;
sys/arch/amiga/dev/ite.c
960
char *cp = strchr(in, c);
sys/arch/amiga/dev/ite.c
986
if (c >= 0x4c && c <= 0x4f && kbd_ite->cursor_appmode
sys/arch/amiga/dev/ite_cc.c
675
putc8(struct ite_softc *ip, int c, int dy, int dx, int mode)
sys/arch/amiga/dev/ite_cc.c
682
c = (u_char)c;
sys/arch/amiga/dev/ite_cc.c
683
if (c < ip->font_lo || c > ip->font_hi)
sys/arch/amiga/dev/ite_cc.c
684
c = ip->font_hi;
sys/arch/amiga/dev/ite_cc.c
685
put_func[mode](cci, cci->row_ptr[dy], cci->font_cell[c],
sys/arch/amiga/dev/ite_cl.c
150
cl_putc(struct ite_softc *ip, int c, int dy, int dx, int mode)
sys/arch/amiga/dev/ite_cl.c
167
*cp = (unsigned char) c;
sys/arch/amiga/dev/ite_cl.c
68
void cl_putc(struct ite_softc *ip, int c, int dy, int dx, int mode);
sys/arch/amiga/dev/ite_cv.c
206
cv_putc(struct ite_softc *ip, int c, int dy, int dx, int mode)
sys/arch/amiga/dev/ite_cv.c
218
*cp++ = (unsigned char) c;
sys/arch/amiga/dev/ite_cv.c
222
*cp++ = (unsigned char) c;
sys/arch/amiga/dev/ite_cv3d.c
206
cv3d_putc(struct ite_softc *ip, int c, int dy, int dx, int mode)
sys/arch/amiga/dev/ite_cv3d.c
218
*cp++ = (unsigned char) c;
sys/arch/amiga/dev/ite_cv3d.c
222
*cp++ = (unsigned char) c;
sys/arch/amiga/dev/ite_et.c
155
et_putc(struct ite_softc *ip, int c, int dy, int dx, int mode)
sys/arch/amiga/dev/ite_et.c
172
*cp = (unsigned char) c;
sys/arch/amiga/dev/ite_et.c
68
void et_putc(struct ite_softc *ip, int c, int dy, int dx, int mode);
sys/arch/amiga/dev/ite_rh.c
191
rh_putc(struct ite_softc *ip, int c, int dy, int dx, int mode)
sys/arch/amiga/dev/ite_rh.c
202
*fb++ = c; *fb = attr;
sys/arch/amiga/dev/ite_rt.c
399
retina_putc(struct ite_softc *ip, int c, int dy, int dx, int mode)
sys/arch/amiga/dev/ite_rt.c
410
*fb++ = c; *fb = attr;
sys/arch/amiga/dev/ite_ul.c
375
void ulowell_putc(struct ite_softc *ip, int c, int dy, int dx, int mode)
sys/arch/amiga/dev/ite_ul.c
383
cmd[1] = c & 0xff;
sys/arch/amiga/dev/kbd.c
244
#define KEY_CODE(c) ((c) & 0x7f)
sys/arch/amiga/dev/kbd.c
245
#define KEY_UP(c) ((c) & 0x80)
sys/arch/amiga/dev/kbd.c
370
drkbdrputc(u_int8_t c)
sys/arch/amiga/dev/kbd.c
380
if (c & 1) {
sys/arch/amiga/dev/kbd.c
386
c >>= 1;
sys/arch/amiga/dev/kbd.c
416
drkbdputc(u_int8_t c)
sys/arch/amiga/dev/kbd.c
421
if (drkbdrputc(c))
sys/arch/amiga/dev/kbd.c
550
u_char c;
sys/arch/amiga/dev/kbd.c
560
c = ~ciaa.sdr; /* keyboard data is inverted */
sys/arch/amiga/dev/kbd.c
564
if (reset_warn && c == 0xf0) {
sys/arch/amiga/dev/kbd.c
578
c = (c >> 1) | (c << 7); /* rotate right once */
sys/arch/amiga/dev/kbd.c
581
if (c == 0x78) {
sys/arch/amiga/dev/kbd.c
589
kbdstuffchar(c);
sys/arch/amiga/dev/kbd.c
629
u_char ints, mask, c, in;
sys/arch/amiga/dev/kbd.c
634
c = 0;
sys/arch/amiga/dev/kbd.c
640
c = 0x80;
sys/arch/amiga/dev/kbd.c
650
c |= in>=sizeof(drkbdtab) ? 0xff : drkbdtab[in];
sys/arch/amiga/dev/kbd.c
651
} while (c == 0xff);
sys/arch/amiga/dev/kbd.c
652
return (c);
sys/arch/amiga/dev/kbd.c
660
c = ~in;
sys/arch/amiga/dev/kbd.c
672
c = (c >> 1) | (c << 7);
sys/arch/amiga/dev/kbd.c
678
return c;
sys/arch/amiga/dev/kbd.c
682
kbdstuffchar(u_char c)
sys/arch/amiga/dev/kbd.c
699
KEY_UP(c) ?
sys/arch/amiga/dev/kbd.c
702
KEY_CODE(c));
sys/arch/amiga/dev/kbd.c
715
ite_filter (c, ITEFILT_TTY);
sys/arch/amiga/dev/kbd.c
734
fe->id = KEY_CODE(c);
sys/arch/amiga/dev/kbd.c
735
fe->value = KEY_UP(c) ? VKEY_UP : VKEY_DOWN;
sys/arch/amiga/dev/kbd.c
772
kbd_enable(void *c, int on)
sys/arch/amiga/dev/kbd.c
779
kbd_set_leds(void *c, int leds)
sys/arch/amiga/dev/kbd.c
784
kbd_ioctl(void *c, u_long cmd, void *data, int flag, struct lwp *l)
sys/arch/amiga/dev/kbd.c
808
kbd_getc(void *c, u_int *type, int *data)
sys/arch/amiga/dev/kbd.c
819
kbd_pollc(void *c, int on)
sys/arch/amiga/dev/kbd.c
825
kbd_bell(void *c, u_int x, u_int y, u_int z)
sys/arch/amiga/dev/mfc.c
1000
*sc->wptr++ = c;
sys/arch/amiga/dev/mfc.c
1007
if (c & 0x1000)
sys/arch/amiga/dev/mfc.c
1036
c = regs->du_ipcr;
sys/arch/amiga/dev/mfc.c
1037
printf ("%s: ipcr %02x", device_xname(scc->sc_dev), c);
sys/arch/amiga/dev/mfc.c
1092
int c;
sys/arch/amiga/dev/mfc.c
1096
c = ch;
sys/arch/amiga/dev/mfc.c
1105
if (kgdb_dev == makedev(maj, unit) && c == FRAME_END)
sys/arch/amiga/dev/mfc.c
1115
c |= TTY_FE;
sys/arch/amiga/dev/mfc.c
1117
c |= TTY_PE;
sys/arch/amiga/dev/mfc.c
1123
tp->t_linesw->l_rint(c, tp);
sys/arch/amiga/dev/mfc.c
962
u_short c;
sys/arch/amiga/dev/mfc.c
972
c = regs->du_sra << 8;
sys/arch/amiga/dev/mfc.c
973
if ((c & 0x0100) == 0)
sys/arch/amiga/dev/mfc.c
975
c |= regs->du_rba;
sys/arch/amiga/dev/mfc.c
979
*sc->wptr++ = c;
sys/arch/amiga/dev/mfc.c
986
if (c & 0x1000)
sys/arch/amiga/dev/mfc.c
993
c = regs->du_srb << 8;
sys/arch/amiga/dev/mfc.c
994
if ((c & 0x0100) == 0)
sys/arch/amiga/dev/mfc.c
996
c |= regs->du_rbb;
sys/arch/amiga/dev/sbic.c
186
#define CSR_TRACE(w,c,a,x) do { \
sys/arch/amiga/dev/sbic.c
188
csr_trace[csr_traceptr].whr = (w); csr_trace[csr_traceptr].csr = (c); \
sys/arch/amiga/dev/sbic.c
204
#define CSR_TRACE(w,c,a,x)
sys/arch/amiga/dev/sbic.c
235
#define CSR_TRACE(w,c,a,x)
sys/arch/amiga/dev/ser.c
1110
int c, s;
sys/arch/amiga/dev/ser.c
1119
c = stat & 0xff;
sys/arch/amiga/dev/ser.c
1126
return(c);
sys/arch/amiga/dev/ser.c
1133
sercnputc(dev_t dev, int c)
sys/arch/amiga/dev/ser.c
1154
custom.serdat = (c & 0xff) | 0x100;
sys/arch/amiga/dev/ser.c
581
int c;
sys/arch/amiga/dev/ser.c
585
c = ch;
sys/arch/amiga/dev/ser.c
593
if (kgdb_dev == makedev(maj, 0) && c == FRAME_END)
sys/arch/amiga/dev/ser.c
606
c = TTY_FE;
sys/arch/amiga/dev/ser.c
621
c |= TTY_PE;
sys/arch/amiga/dev/ser.c
627
tp->t_linesw->l_rint(c, tp);
sys/arch/amiga/dev/ser.c
836
ser_putchar(struct tty *tp, u_short c)
sys/arch/amiga/dev/ser.c
839
c &= 0x7f;
sys/arch/amiga/dev/ser.c
845
if (even_parity[c])
sys/arch/amiga/dev/ser.c
846
c |= 0x80;
sys/arch/amiga/dev/ser.c
848
c ^= 0x80;
sys/arch/amiga/dev/ser.c
854
c |= 0x300;
sys/arch/amiga/dev/ser.c
856
c |= 0x100;
sys/arch/amiga/dev/ser.c
858
custom.serdat = c;
sys/arch/amiga/dev/siop.c
191
#define SIOP_TRACE(a,b,c,d) \
sys/arch/amiga/dev/siop.c
194
siop_trbuf[siop_trix+2] = (c); \
sys/arch/amiga/dev/siop.c
202
#define SIOP_TRACE(a,b,c,d)
sys/arch/amiga/dev/siop2.c
171
#define SIOP_TRACE(a,b,c,d) \
sys/arch/amiga/dev/siop2.c
174
siopng_trbuf[siopng_trix+2] = (c); \
sys/arch/amiga/dev/siop2.c
182
#define SIOP_TRACE(a,b,c,d)
sys/arch/amiga/include/bus.h
174
#define dbsm(n, t, h, o, p, c) ((t)->absm->n)((h), (o), (p), (c))
sys/arch/amiga/include/bus.h
175
#define dbss(n, t, h, o, v, c) ((t)->absm->n)((h), (o), (v), (c))
sys/arch/amiga/include/bus.h
176
#define dbsc(n, t, h, o, v, c) ((t)->absm->n)((h), (o), (v), (c))
sys/arch/amiga/include/bus.h
183
#define bus_space_read_multi_1(t, h, o, p, c) dbsm(bsrm1, t, h, o, p, c)
sys/arch/amiga/include/bus.h
184
#define bus_space_write_multi_1(t, h, o, p, c) dbsm(bswm1, t, h, o, p, c)
sys/arch/amiga/include/bus.h
186
#define bus_space_read_region_1(t, h, o, p, c) dbsm(bsrr1, t, h, o, p, c)
sys/arch/amiga/include/bus.h
187
#define bus_space_write_region_1(t, h, o, p, c) dbsm(bswr1, t, h, o, p, c)
sys/arch/amiga/include/bus.h
189
#define bus_space_set_region_1(t, h, o, v, c) dbss(bssr1, t, h, o, v, c)
sys/arch/amiga/include/bus.h
190
#define bus_space_copy_region_1(t, h, o, g, q, c) dbss(bscr1, t, h, o, g, q, c)
sys/arch/amiga/include/bus.h
200
#define bus_space_read_multi_2(t, h, o, p, c) dbsm(bsrm2, t, h, o, p, c)
sys/arch/amiga/include/bus.h
201
#define bus_space_write_multi_2(t, h, o, p, c) dbsm(bswm2, t, h, o, p, c)
sys/arch/amiga/include/bus.h
203
#define bus_space_read_multi_stream_2(t, h, o, p, c) \
sys/arch/amiga/include/bus.h
204
dbsm(bsrms2, t, h, o, p, c)
sys/arch/amiga/include/bus.h
206
#define bus_space_write_multi_stream_2(t, h, o, p, c) \
sys/arch/amiga/include/bus.h
207
dbsm(bswms2, t, h, o, p, c)
sys/arch/amiga/include/bus.h
209
#define bus_space_read_region_2(t, h, o, p, c) dbsm(bsrr2, t, h, o, p, c)
sys/arch/amiga/include/bus.h
210
#define bus_space_write_region_2(t, h, o, p, c) dbsm(bswr2, t, h, o, p, c)
sys/arch/amiga/include/bus.h
212
#define bus_space_read_region_stream_2(t, h, o, p, c) \
sys/arch/amiga/include/bus.h
213
dbsm(bsrrs2, t, h, o, p, c)
sys/arch/amiga/include/bus.h
215
#define bus_space_write_region_stream_2(t, h, o, p, c) \
sys/arch/amiga/include/bus.h
216
dbsm(bswrs2, t, h, o, p, c)
sys/arch/amiga/include/bus.h
218
#define bus_space_set_region_2(t, h, o, v, c) dbss(bssr2, t, h, o, v, c)
sys/arch/amiga/include/bus.h
219
#define bus_space_copy_region_2(t, h, o, g, q, c) dbss(bscr2, t, h, o, g, q, c)
sys/arch/amiga/include/bus.h
228
#define bus_space_read_multi_4(t, h, o, p, c) dbsm(bsrm4, t, h, o, p, c)
sys/arch/amiga/include/bus.h
229
#define bus_space_write_multi_4(t, h, o, p, c) dbsm(bswm4, t, h, o, p, c)
sys/arch/amiga/include/bus.h
231
#define bus_space_read_multi_stream_4(t, h, o, p, c) \
sys/arch/amiga/include/bus.h
232
dbsm(bsrms4, t, h, o, p, c)
sys/arch/amiga/include/bus.h
234
#define bus_space_write_multi_stream_4(t, h, o, p, c) \
sys/arch/amiga/include/bus.h
235
dbsm(bswms4, t, h, o, p, c)
sys/arch/amiga/include/bus.h
237
#define bus_space_read_region_4(t, h, o, p, c) dbsm(bsrr4, t, h, o, p, c)
sys/arch/amiga/include/bus.h
238
#define bus_space_write_region_4(t, h, o, p, c) dbsm(bswr4, t, h, o, p, c)
sys/arch/amiga/include/bus.h
240
#define bus_space_read_region_stream_4(t, h, o, p, c) \
sys/arch/amiga/include/bus.h
241
dbsm(bsrrs4, t, h, o, p, c)
sys/arch/amiga/include/bus.h
243
#define bus_space_write_region_stream_4(t, h, o, p, c) \
sys/arch/amiga/include/bus.h
244
dbsm(bswrs4, t, h, o, p, c)
sys/arch/amiga/include/bus.h
246
#define bus_space_set_region_4(t, h, o, v, c) dbss(bssr4, t, h, o, v, c)
sys/arch/amiga/include/bus.h
247
#define bus_space_copy_region_4(t, h, o, g, q, c) dbss(bscr4, t, h, o, g, q, c)
sys/arch/amiga/include/loadfile_machdep.h
45
#define READ(f, b, c) pread((f), (void *)LOADADDR(b), (c))
sys/arch/amiga/include/loadfile_machdep.h
46
#define BCOPY(s, d, c) vpbcopy((s), (void *)LOADADDR(d), (c))
sys/arch/amiga/include/loadfile_machdep.h
47
#define BZERO(d, c) pbzero((void *)LOADADDR(d), (c))
sys/arch/amiga/include/loadfile_machdep.h
70
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/amiga/include/loadfile_machdep.h
71
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/amiga/include/loadfile_machdep.h
72
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/amiga/include/pci_machdep.h
100
(*(c)->pc_bus_maxdevs)((c)->pc_conf_v, (b))
sys/arch/amiga/include/pci_machdep.h
101
#define pci_make_tag(c, b, d, f) \
sys/arch/amiga/include/pci_machdep.h
102
(*(c)->pc_make_tag)((c)->pc_conf_v, (b), (d), (f))
sys/arch/amiga/include/pci_machdep.h
103
#define pci_decompose_tag(c, t, bp, dp, fp) \
sys/arch/amiga/include/pci_machdep.h
104
(*(c)->pc_decompose_tag)((c)->pc_conf_v, (t), (bp), (dp), (fp))
sys/arch/amiga/include/pci_machdep.h
105
#define pci_conf_read(c, t, r) \
sys/arch/amiga/include/pci_machdep.h
106
(*(c)->pc_conf_read)((c)->pc_conf_v, (t), (r))
sys/arch/amiga/include/pci_machdep.h
107
#define pci_conf_write(c, t, r, v) \
sys/arch/amiga/include/pci_machdep.h
108
(*(c)->pc_conf_write)((c)->pc_conf_v, (t), (r), (v))
sys/arch/amiga/include/pci_machdep.h
111
#define pci_intr_string(c, ih, buf, len) \
sys/arch/amiga/include/pci_machdep.h
112
(*(c)->pc_intr_string)((c)->pc_intr_v, (ih), (buf), (len))
sys/arch/amiga/include/pci_machdep.h
113
#define pci_intr_evcnt(c, ih) \
sys/arch/amiga/include/pci_machdep.h
114
(*(c)->pc_intr_evcnt)((c)->pc_intr_v, (ih))
sys/arch/amiga/include/pci_machdep.h
115
#define pci_intr_establish(c, ih, l, h, a) \
sys/arch/amiga/include/pci_machdep.h
116
(*(c)->pc_intr_establish)((c)->pc_intr_v, (ih), (l), (h), (a))
sys/arch/amiga/include/pci_machdep.h
117
#define pci_intr_disestablish(c, iv) \
sys/arch/amiga/include/pci_machdep.h
118
(*(c)->pc_intr_disestablish)((c)->pc_intr_v, (iv))
sys/arch/amiga/include/pci_machdep.h
119
#define pci_conf_interrupt(c, b, d, f, s, i) \
sys/arch/amiga/include/pci_machdep.h
120
(*(c)->pc_conf_interrupt)((c), (b), (d), (f), (s), (i))
sys/arch/amiga/include/pci_machdep.h
121
#define pci_conf_hook(c, b, d, f, i) \
sys/arch/amiga/include/pci_machdep.h
122
(*(c)->pc_conf_hook)((c), (b), (d), (f), (i))
sys/arch/amiga/include/pci_machdep.h
99
#define pci_bus_maxdevs(c, b) \
sys/arch/amiga/stand/binpatch/binpatch.c
117
while ((c = getopt(argc, argv, "H:a:bwlr:s:o:")) != -1) {
sys/arch/amiga/stand/binpatch/binpatch.c
118
switch (c) {
sys/arch/amiga/stand/binpatch/binpatch.c
97
int c;
sys/arch/amiga/stand/bootblock/boot/console.c
100
while ((c = *++p) && c != ' ')
sys/arch/amiga/stand/bootblock/boot/console.c
231
putchar(int c)
sys/arch/amiga/stand/bootblock/boot/console.c
234
char buf = c;
sys/arch/amiga/stand/bootblock/boot/console.c
242
RawPutChar((int32_t)c);
sys/arch/amiga/stand/bootblock/boot/console.c
271
char c = '\n';
sys/arch/amiga/stand/bootblock/boot/console.c
279
mc->cnior->buf = &c;
sys/arch/amiga/stand/bootblock/boot/console.c
303
c = r;
sys/arch/amiga/stand/bootblock/boot/console.c
318
return c;
sys/arch/amiga/stand/bootblock/boot/console.c
82
char c;
sys/arch/amiga/stand/bootblock/boot/console.c
88
while ((c = *p)) {
sys/arch/amiga/stand/bootblock/boot/console.c
89
while (c == ' ')
sys/arch/amiga/stand/bootblock/boot/console.c
90
c = *++p;
sys/arch/amiga/stand/bootblock/boot/console.c
91
if (c == '-') {
sys/arch/amiga/stand/bootblock/boot/console.c
92
while ((c = *++p) && c != ' ') {
sys/arch/amiga/stand/bootblock/boot/console.c
93
switch (c) {
sys/arch/amiga/stand/bootblock/boot/libstubs.h
59
int32_t RawPutChar(int32_t c);
sys/arch/amiga/stand/bootblock/boot/main.c
128
char c;
sys/arch/amiga/stand/bootblock/boot/main.c
178
while ((c = *path)) {
sys/arch/amiga/stand/bootblock/boot/main.c
179
while (c == ' ')
sys/arch/amiga/stand/bootblock/boot/main.c
180
c = *++path;
sys/arch/amiga/stand/bootblock/boot/main.c
181
if (c == '-') {
sys/arch/amiga/stand/bootblock/boot/main.c
182
while ((c = *++path) && c != ' ') {
sys/arch/amiga/stand/bootblock/boot/main.c
183
switch (c) {
sys/arch/amiga/stand/bootblock/boot/main.c
240
while ((c = *++path) && c != ' ')
sys/arch/amiga/stand/bootblock/boot/main.c
242
if (c)
sys/arch/amiga/stand/bootblock/boot/main.c
247
while ((c = *kernel_name) && c == ' ')
sys/arch/amiga/stand/bootblock/boot/main.c
250
while ((c = *path) && c != ' ')
sys/arch/amiga/stand/bootblock/boot/main.c
252
if (c)
sys/arch/amiga/stand/bootblock/boot/main.c
505
char c;
sys/arch/amiga/stand/bootblock/boot/main.c
508
c = *++p;
sys/arch/amiga/stand/bootblock/boot/main.c
509
while (c == ' ')
sys/arch/amiga/stand/bootblock/boot/main.c
510
c = *++p;
sys/arch/amiga/stand/bootblock/boot/main.c
511
if (c == '-') {
sys/arch/amiga/stand/bootblock/boot/main.c
513
c = *++p;
sys/arch/amiga/stand/bootblock/boot/main.c
515
if (c == '$') {
sys/arch/amiga/stand/bootblock/boot/main.c
517
c = *++p;
sys/arch/amiga/stand/bootblock/boot/main.c
518
} else if (c == '0') {
sys/arch/amiga/stand/bootblock/boot/main.c
519
c = *++p;
sys/arch/amiga/stand/bootblock/boot/main.c
520
if ((c & 0xdf) == 'X') {
sys/arch/amiga/stand/bootblock/boot/main.c
522
c = *++p;
sys/arch/amiga/stand/bootblock/boot/main.c
525
while (c) {
sys/arch/amiga/stand/bootblock/boot/main.c
526
if (c >= '0' && c <= '9')
sys/arch/amiga/stand/bootblock/boot/main.c
527
c -= '0';
sys/arch/amiga/stand/bootblock/boot/main.c
529
c = (c & 0xdf) - 'A' + 10;
sys/arch/amiga/stand/bootblock/boot/main.c
530
if (base != 16 || c < 10 || c > 15)
sys/arch/amiga/stand/bootblock/boot/main.c
533
value = value * base + c;
sys/arch/amiga/stand/bootblock/boot/main.c
534
c = *++p;
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
108
int c;
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
118
while ((c = getopt(argc, argv, "dFS")) != -1)
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
119
switch(c) {
sys/arch/amigappc/include/bus_funcs.h
112
#define bus_space_read_multi_4(t, h, o, p, c) \
sys/arch/amigappc/include/bus_funcs.h
115
#define bus_space_write_multi_4(t, h, o, p, c) \
sys/arch/amigappc/include/bus_funcs.h
118
#define bus_space_read_multi_stream_4(t, h, o, p, c) \
sys/arch/amigappc/include/bus_funcs.h
121
#define bus_space_write_multi_stream_4(t, h, o, p, c) \
sys/arch/amigappc/include/bus_funcs.h
124
#define bus_space_read_region_stream_4(t, h, o, p, c) \
sys/arch/amigappc/include/bus_funcs.h
127
#define bus_space_write_region_stream_4(t, h, o, p, c) \
sys/arch/amigappc/include/bus_funcs.h
51
#define dbsm(n, t, h, o, p, c) ((t)->absm->n)((h), (o), (p), (c))
sys/arch/amigappc/include/bus_funcs.h
52
#define dbss(n, t, h, o, v, c) ((t)->absm->n)((h), (o), (v), (c))
sys/arch/amigappc/include/bus_funcs.h
53
#define dbsc(n, t, h, o, v, c) ((t)->absm->n)((h), (o), (v), (c))
sys/arch/amigappc/include/bus_funcs.h
60
#define bus_space_read_multi_1(t, h, o, p, c) dbsm(bsrm1, t, h, o, p, c)
sys/arch/amigappc/include/bus_funcs.h
61
#define bus_space_write_multi_1(t, h, o, p, c) dbsm(bswm1, t, h, o, p, c)
sys/arch/amigappc/include/bus_funcs.h
63
#define bus_space_read_region_1(t, h, o, p, c) dbsm(bsrr1, t, h, o, p, c)
sys/arch/amigappc/include/bus_funcs.h
64
#define bus_space_write_region_1(t, h, o, p, c) dbsm(bswr1, t, h, o, p, c)
sys/arch/amigappc/include/bus_funcs.h
66
#define bus_space_set_region_1(t, h, o, v, c) dbss(bssr1, t, h, o, v, c)
sys/arch/amigappc/include/bus_funcs.h
67
#define bus_space_copy_region_1(t, h, o, g, q, c) dbss(bscr1, t, h, o, g, q, c)
sys/arch/amigappc/include/bus_funcs.h
77
#define bus_space_read_multi_2(t, h, o, p, c) dbsm(bsrm2, t, h, o, p, c)
sys/arch/amigappc/include/bus_funcs.h
78
#define bus_space_write_multi_2(t, h, o, p, c) dbsm(bswm2, t, h, o, p, c)
sys/arch/amigappc/include/bus_funcs.h
80
#define bus_space_read_multi_stream_2(t, h, o, p, c) \
sys/arch/amigappc/include/bus_funcs.h
81
dbsm(bsrms2, t, h, o, p, c)
sys/arch/amigappc/include/bus_funcs.h
83
#define bus_space_write_multi_stream_2(t, h, o, p, c) \
sys/arch/amigappc/include/bus_funcs.h
84
dbsm(bswms2, t, h, o, p, c)
sys/arch/amigappc/include/bus_funcs.h
86
#define bus_space_read_region_2(t, h, o, p, c) dbsm(bsrr2, t, h, o, p, c)
sys/arch/amigappc/include/bus_funcs.h
87
#define bus_space_write_region_2(t, h, o, p, c) dbsm(bswr2, t, h, o, p, c)
sys/arch/amigappc/include/bus_funcs.h
89
#define bus_space_read_region_stream_2(t, h, o, p, c) \
sys/arch/amigappc/include/bus_funcs.h
90
dbsm(bsrrs2, t, h, o, p, c)
sys/arch/amigappc/include/bus_funcs.h
92
#define bus_space_write_region_stream_2(t, h, o, p, c) \
sys/arch/amigappc/include/bus_funcs.h
93
dbsm(bswrs2, t, h, o, p, c)
sys/arch/amigappc/include/bus_funcs.h
95
#define bus_space_set_region_2(t, h, o, v, c) dbss(bssr2, t, h, o, v, c)
sys/arch/amigappc/include/bus_funcs.h
96
#define bus_space_copy_region_2(t, h, o, g, q, c) dbss(bscr2, t, h, o, g, q, c)
sys/arch/arc/arc/minidebug.c
174
u_int c;
sys/arch/arc/arc/minidebug.c
177
while((c = cngetc()) != '\e' && c != '\n' && c != '\r') {
sys/arch/arc/arc/minidebug.c
178
if(c >= '0' && c <= '9') {
sys/arch/arc/arc/minidebug.c
179
*val = (*val << 4) + c - '0';
sys/arch/arc/arc/minidebug.c
180
cnputc(c);
sys/arch/arc/arc/minidebug.c
182
else if(c >= 'a' && c <= 'f') {
sys/arch/arc/arc/minidebug.c
183
*val = (*val << 4) + c - 'a' + 10;
sys/arch/arc/arc/minidebug.c
184
cnputc(c);
sys/arch/arc/arc/minidebug.c
186
else if(c == '\b') {
sys/arch/arc/arc/minidebug.c
190
else if(c == ',') {
sys/arch/arc/arc/minidebug.c
191
cnputc(c);
sys/arch/arc/arc/minidebug.c
192
return c;
sys/arch/arc/arc/minidebug.c
194
else if(c == '.') {
sys/arch/arc/arc/minidebug.c
196
cnputc(c);
sys/arch/arc/arc/minidebug.c
199
if(c == '\r')
sys/arch/arc/arc/minidebug.c
200
c = '\n';
sys/arch/arc/arc/minidebug.c
201
return c;
sys/arch/arc/arc/minidebug.c
335
int c;
sys/arch/arc/arc/minidebug.c
389
c = cngetc();
sys/arch/arc/arc/minidebug.c
390
switch (c) {
sys/arch/arc/arc/minidebug.c
396
c = cngetc();
sys/arch/arc/arc/minidebug.c
397
switch (c) {
sys/arch/arc/arc/minidebug.c
400
c = gethex(&newaddr, newaddr);
sys/arch/arc/arc/minidebug.c
401
if(c != '\e') {
sys/arch/arc/arc/minidebug.c
408
c = gethex(&newaddr, newaddr);
sys/arch/arc/arc/minidebug.c
409
if(c != '\e') {
sys/arch/arc/arc/minidebug.c
427
c = gethex(&newaddr, newaddr);
sys/arch/arc/arc/minidebug.c
428
while (c != '\e') {
sys/arch/arc/arc/minidebug.c
432
c = cngetc();
sys/arch/arc/arc/minidebug.c
459
c = gethex(&newaddr, newaddr);
sys/arch/arc/arc/minidebug.c
460
if(c == ',') {
sys/arch/arc/arc/minidebug.c
461
c = gethex(&size,256);
sys/arch/arc/arc/minidebug.c
466
if(c == '\n' && newaddr != 0) {
sys/arch/arc/arc/minidebug.c
474
c = gethex(&newaddr, newaddr);
sys/arch/arc/arc/minidebug.c
475
while(c == ',') {
sys/arch/arc/arc/minidebug.c
476
c = gethex(&size, 0);
sys/arch/arc/arc/minidebug.c
477
if(c != '\e')
sys/arch/arc/arc/minidebug.c
484
c = cngetc();
sys/arch/arc/arc/minidebug.c
485
switch (c) {
sys/arch/arc/arc/minidebug.c
488
c = gethex(&newaddr, newaddr);
sys/arch/arc/arc/minidebug.c
489
if(c == '\n') {
sys/arch/arc/arc/minidebug.c
496
c = gethex(&newaddr, newaddr);
sys/arch/arc/arc/minidebug.c
497
if(c == '\n') {
sys/arch/arc/arc/minidebug.c
504
c = gethex(&newaddr, newaddr);
sys/arch/arc/arc/minidebug.c
505
if(c == '\n') {
sys/arch/arc/arc/minidebug.c
515
c = cngetc();
sys/arch/arc/arc/minidebug.c
516
switch (c) {
sys/arch/arc/arc/minidebug.c
519
c = gethex(&newaddr, newaddr);
sys/arch/arc/arc/minidebug.c
520
if(c == ',') {
sys/arch/arc/arc/minidebug.c
521
c = gethex(&size, 0);
sys/arch/arc/arc/minidebug.c
522
if(c == '\n') {
sys/arch/arc/arc/minidebug.c
529
c = gethex(&newaddr, newaddr);
sys/arch/arc/arc/minidebug.c
530
if(c == ',') {
sys/arch/arc/arc/minidebug.c
531
c = gethex(&size, 0);
sys/arch/arc/arc/minidebug.c
532
if(c == '\n') {
sys/arch/arc/arc/minidebug.c
539
c = gethex(&newaddr, newaddr);
sys/arch/arc/arc/minidebug.c
540
if(c == ',') {
sys/arch/arc/arc/minidebug.c
541
c = gethex(&size, 0);
sys/arch/arc/arc/minidebug.c
542
if(c == '\n') {
sys/arch/arc/arc/minidebug.c
559
c = cngetc();
sys/arch/arc/arc/minidebug.c
560
switch (c) {
sys/arch/arc/arc/minidebug.c
576
c = gethex(&newaddr, newaddr);
sys/arch/arc/arc/minidebug.c
578
if(c == ',') {
sys/arch/arc/arc/minidebug.c
579
c = cngetc();
sys/arch/arc/arc/minidebug.c
580
cnputc(c);
sys/arch/arc/arc/minidebug.c
581
if(c == 'r')
sys/arch/arc/arc/minidebug.c
583
else if(c == 'w')
sys/arch/arc/dev/pccons.c
1024
if (!(c = *cp++))
sys/arch/arc/dev/pccons.c
1027
switch (c) {
sys/arch/arc/dev/pccons.c
1030
wrtchar(c, vs.so_at);
sys/arch/arc/dev/pccons.c
1075
if (c == '\a')
sys/arch/arc/dev/pccons.c
1089
if (c & 0x80)
sys/arch/arc/dev/pccons.c
1090
c = iso2ibm437[c&0x7f];
sys/arch/arc/dev/pccons.c
1093
wrtchar(c, vs.so_at);
sys/arch/arc/dev/pccons.c
1095
wrtchar(c, vs.at);
sys/arch/arc/dev/pccons.c
1101
if (!n || (c = *cp) < ' ')
sys/arch/arc/dev/pccons.c
1108
switch (c) {
sys/arch/arc/dev/pccons.c
1131
wrtchar(c, vs.so_at);
sys/arch/arc/dev/pccons.c
1138
switch (c) {
sys/arch/arc/dev/pccons.c
1424
if ((c >= '0') && (c <= '9')) {
sys/arch/arc/dev/pccons.c
1427
vs.cy += c - '0';
sys/arch/arc/dev/pccons.c
1430
vs.cx += c - '0';
sys/arch/arc/dev/pccons.c
175
void pccnputc(dev_t, int c);
sys/arch/arc/dev/pccons.c
330
uint8_t c;
sys/arch/arc/dev/pccons.c
332
while ((c = kbd_cmd_read_1()) & 0x03)
sys/arch/arc/dev/pccons.c
333
if ((c & KBS_DIB) == KBS_DIB) {
sys/arch/arc/dev/pccons.c
400
uint8_t c;
sys/arch/arc/dev/pccons.c
403
c = kbd_data_read_1();
sys/arch/arc/dev/pccons.c
404
if (c == KBR_ACK || c == KBR_ECHO) {
sys/arch/arc/dev/pccons.c
407
if (c == KBR_RESEND) {
sys/arch/arc/dev/pccons.c
411
printf("kbd_cmd: input char %x lost\n", c);
sys/arch/arc/dev/pccons.c
856
pccnputc(dev_t dev, int c)
sys/arch/arc/dev/pccons.c
861
if (c == '\n') {
sys/arch/arc/dev/pccons.c
864
cc = c;
sys/arch/arc/dev/pccons.c
931
#define wrtchar(c, at) do {\
sys/arch/arc/dev/pccons.c
932
char *cp0 = (char *)crtat; *cp0++ = (c); *cp0 = (at); crtat++; vs.col++; \
sys/arch/arc/dev/pccons.c
973
u_char c, scroll = 0;
sys/arch/arc/include/isa_machdep.h
100
#define isa_dmadone(ic, c) \
sys/arch/arc/include/isa_machdep.h
101
_isa_dmadone(&(ic)->ic_dmastate, (c))
sys/arch/arc/include/isa_machdep.h
106
#define isa_dmamem_alloc(ic, c, s, ap, f) \
sys/arch/arc/include/isa_machdep.h
107
_isa_dmamem_alloc(&(ic)->ic_dmastate, (c), (s), (ap), (f))
sys/arch/arc/include/isa_machdep.h
108
#define isa_dmamem_free(ic, c, a, s) \
sys/arch/arc/include/isa_machdep.h
109
_isa_dmamem_free(&(ic)->ic_dmastate, (c), (a), (s))
sys/arch/arc/include/isa_machdep.h
110
#define isa_dmamem_map(ic, c, a, s, kp, f) \
sys/arch/arc/include/isa_machdep.h
111
_isa_dmamem_map(&(ic)->ic_dmastate, (c), (a), (s), (kp), (f))
sys/arch/arc/include/isa_machdep.h
112
#define isa_dmamem_unmap(ic, c, k, s) \
sys/arch/arc/include/isa_machdep.h
113
_isa_dmamem_unmap(&(ic)->ic_dmastate, (c), (k), (s))
sys/arch/arc/include/isa_machdep.h
114
#define isa_dmamem_mmap(ic, c, a, s, o, p, f) \
sys/arch/arc/include/isa_machdep.h
115
_isa_dmamem_mmap(&(ic)->ic_dmastate, (c), (a), (s), (o), (p), (f))
sys/arch/arc/include/isa_machdep.h
116
#define isa_drq_alloc(ic, c) \
sys/arch/arc/include/isa_machdep.h
117
_isa_drq_alloc(&(ic)->ic_dmastate, c)
sys/arch/arc/include/isa_machdep.h
118
#define isa_drq_free(ic, c) \
sys/arch/arc/include/isa_machdep.h
119
_isa_drq_free(&(ic)->ic_dmastate, c)
sys/arch/arc/include/isa_machdep.h
120
#define isa_drq_isfree(ic, c) \
sys/arch/arc/include/isa_machdep.h
121
_isa_drq_isfree(&(ic)->ic_dmastate, (c))
sys/arch/arc/include/isa_machdep.h
122
#define isa_malloc(ic, c, s, p, f) \
sys/arch/arc/include/isa_machdep.h
123
_isa_malloc(&(ic)->ic_dmastate, (c), (s), (p), (f))
sys/arch/arc/include/isa_machdep.h
69
#define isa_detach_hook(c, s) \
sys/arch/arc/include/isa_machdep.h
70
(*(c)->ic_detach_hook)((c), (s))
sys/arch/arc/include/isa_machdep.h
71
#define isa_intr_evcnt(c, i) \
sys/arch/arc/include/isa_machdep.h
72
(*(c)->ic_intr_evcnt)((c)->ic_data, (i))
sys/arch/arc/include/isa_machdep.h
73
#define isa_intr_establish(c, i, t, l, f, a) \
sys/arch/arc/include/isa_machdep.h
74
(*(c)->ic_intr_establish)((c)->ic_data, (i), (t), (l), (f), (a))
sys/arch/arc/include/isa_machdep.h
75
#define isa_intr_establish_xname(c, i, t, l, f, a, x) \
sys/arch/arc/include/isa_machdep.h
76
(*(c)->ic_intr_establish)((c)->ic_data, (i), (t), (l), (f), (a))
sys/arch/arc/include/isa_machdep.h
77
#define isa_intr_disestablish(c, h) \
sys/arch/arc/include/isa_machdep.h
78
(*(c)->ic_intr_disestablish)((c)->ic_data, (h))
sys/arch/arc/include/isa_machdep.h
84
#define isa_dmacascade(ic, c) \
sys/arch/arc/include/isa_machdep.h
85
_isa_dmacascade(&(ic)->ic_dmastate, (c))
sys/arch/arc/include/isa_machdep.h
86
#define isa_dmamaxsize(ic, c) \
sys/arch/arc/include/isa_machdep.h
87
_isa_dmamaxsize(&(ic)->ic_dmastate, (c))
sys/arch/arc/include/isa_machdep.h
88
#define isa_dmamap_create(ic, c, s, f) \
sys/arch/arc/include/isa_machdep.h
89
_isa_dmamap_create(&(ic)->ic_dmastate, (c), (s), (f))
sys/arch/arc/include/isa_machdep.h
90
#define isa_dmamap_destroy(ic, c) \
sys/arch/arc/include/isa_machdep.h
91
_isa_dmamap_destroy(&(ic)->ic_dmastate, (c))
sys/arch/arc/include/isa_machdep.h
92
#define isa_dmastart(ic, c, a, n, p, f, bf) \
sys/arch/arc/include/isa_machdep.h
93
_isa_dmastart(&(ic)->ic_dmastate, (c), (a), (n), (p), (f), (bf))
sys/arch/arc/include/isa_machdep.h
94
#define isa_dmaabort(ic, c) \
sys/arch/arc/include/isa_machdep.h
95
_isa_dmaabort(&(ic)->ic_dmastate, (c))
sys/arch/arc/include/isa_machdep.h
96
#define isa_dmacount(ic, c) \
sys/arch/arc/include/isa_machdep.h
97
_isa_dmacount(&(ic)->ic_dmastate, (c))
sys/arch/arc/include/isa_machdep.h
98
#define isa_dmafinished(ic, c) \
sys/arch/arc/include/isa_machdep.h
99
_isa_dmafinished(&(ic)->ic_dmastate, (c))
sys/arch/arc/include/loadfile_machdep.h
43
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/arc/include/loadfile_machdep.h
44
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/arc/include/loadfile_machdep.h
45
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/arc/include/pci_machdep.h
100
(*(c)->pc_intr_establish)((c), (ih), (l), (h), (a))
sys/arch/arc/include/pci_machdep.h
101
#define pci_intr_disestablish(c, iv) \
sys/arch/arc/include/pci_machdep.h
102
(*(c)->pc_intr_disestablish)((c), (iv))
sys/arch/arc/include/pci_machdep.h
103
#define pci_conf_interrupt(c, b, d, f, s, i) \
sys/arch/arc/include/pci_machdep.h
104
(*(c)->pc_conf_interrupt)((c), (b), (d), (f), (s), (i))
sys/arch/arc/include/pci_machdep.h
105
#define pci_conf_hook(c, b, d, f, i) \
sys/arch/arc/include/pci_machdep.h
106
(*(c)->pc_conf_hook)((c), (b), (d), (f), (i))
sys/arch/arc/include/pci_machdep.h
85
#define pci_bus_maxdevs(c, b) \
sys/arch/arc/include/pci_machdep.h
86
(*(c)->pc_bus_maxdevs)((c), (b))
sys/arch/arc/include/pci_machdep.h
87
#define pci_make_tag(c, b, d, f) \
sys/arch/arc/include/pci_machdep.h
88
(*(c)->pc_make_tag)((c), (b), (d), (f))
sys/arch/arc/include/pci_machdep.h
89
#define pci_decompose_tag(c, t, bp, dp, fp) \
sys/arch/arc/include/pci_machdep.h
90
(*(c)->pc_decompose_tag)((c), (t), (bp), (dp), (fp))
sys/arch/arc/include/pci_machdep.h
91
#define pci_conf_read(c, t, r) \
sys/arch/arc/include/pci_machdep.h
92
(*(c)->pc_conf_read)((c), (t), (r))
sys/arch/arc/include/pci_machdep.h
93
#define pci_conf_write(c, t, r, v) \
sys/arch/arc/include/pci_machdep.h
94
(*(c)->pc_conf_write)((c), (t), (r), (v))
sys/arch/arc/include/pci_machdep.h
97
#define pci_intr_string(c, ih, buf, len) \
sys/arch/arc/include/pci_machdep.h
98
(*(c)->pc_intr_string)((c), (ih), (buf), (len))
sys/arch/arc/include/pci_machdep.h
99
#define pci_intr_establish(c, ih, l, h, a) \
sys/arch/arc/isa/isabus.c
568
isa_intr_alloc(isa_chipset_tag_t c, int mask, int type, int *irq_p)
sys/arch/arc/isa/isadmareg.h
10
#define DMA1_CHN(c) (1*(2*(c))) /* addr reg for channel c */
sys/arch/arc/isa/isadmareg.h
19
#define DMA2_CHN(c) (2*(2*(c))) /* addr reg for channel c */
sys/arch/arc/jazz/fd.c
1133
int c;
sys/arch/arc/jazz/fd.c
1138
c = cngetc();
sys/arch/arc/jazz/fd.c
1139
if ((c == '\r') || (c == '\n')) {
sys/arch/arc/stand/boot/putchar.c
36
putchar(int c)
sys/arch/arc/stand/boot/putchar.c
41
if (c == '\n') {
sys/arch/arc/stand/boot/putchar.c
46
ch = c;
sys/arch/arm/altera/cycv_platform.c
40
cycv_platform_early_putchar(char c) {
sys/arch/arm/altera/cycv_platform.c
50
uartaddr[com_data] = htole32(c);
sys/arch/arm/amlogic/meson_i2c.c
257
uint8_t c = *(sc->sc_cmdbuf++);
sys/arch/arm/amlogic/meson_i2c.c
258
mesoni2c_write_byte(sc, c);
sys/arch/arm/amlogic/meson_platform.c
159
meson_platform_early_putchar(char c)
sys/arch/arm/amlogic/meson_platform.c
173
uartaddr[UART_WFIFO_REG/4] = c;
sys/arch/arm/amlogic/meson_uart.c
256
int s, c;
sys/arch/arm/amlogic/meson_uart.c
266
c = bus_space_read_4(bst, bsh, UART_RFIFO_REG) & 0xff;
sys/arch/arm/amlogic/meson_uart.c
269
cn_check_magic(dev, c, meson_uart_cnm_state);
sys/arch/arm/amlogic/meson_uart.c
274
return c;
sys/arch/arm/amlogic/meson_uart.c
278
meson_uart_cnputc(dev_t dev, int c)
sys/arch/arm/amlogic/meson_uart.c
289
bus_space_write_4(bst, bsh, UART_WFIFO_REG, c);
sys/arch/arm/amlogic/meson_uart.c
464
uint32_t status, c;
sys/arch/arm/amlogic/meson_uart.c
481
c = bus_space_read_4(sc->sc_bst, sc->sc_bsh, UART_RFIFO_REG);
sys/arch/arm/amlogic/meson_uart.c
482
cn_check_magic(tp->t_dev, c & 0xff, meson_uart_cnm_state);
sys/arch/arm/amlogic/meson_uart.c
488
sc->sc_rbuf[sc->sc_rbuf_w++ & (MESON_RBUFSZ - 1)] = c;
sys/arch/arm/amlogic/meson_uart.c
503
int c;
sys/arch/arm/amlogic/meson_uart.c
506
c = sc->sc_rbuf[sc->sc_rbuf_r++ & (MESON_RBUFSZ - 1)];
sys/arch/arm/amlogic/meson_uart.c
507
if (tp->t_linesw->l_rint(c & 0xff, tp) == -1)
sys/arch/arm/arm/db_trace.c
100
while ((c = *cp++) != 0) {
sys/arch/arm/arm/db_trace.c
101
if (c == 'a') {
sys/arch/arm/arm/db_trace.c
105
if (c == 'u')
sys/arch/arm/arm/db_trace.c
107
if (c == 't')
sys/arch/arm/arm/db_trace.c
109
if (c == 'f')
sys/arch/arm/arm/db_trace.c
92
char c;
sys/arch/arm/at91/at91dbgu.c
1043
int c = 0;
sys/arch/arm/at91/at91dbgu.c
1065
c = DBGUREG(DBGU_RHR);
sys/arch/arm/at91/at91dbgu.c
1068
if (ISSET(sr, DBGU_SR_FRAME) && c == 0) {
sys/arch/arm/at91/at91dbgu.c
1069
c = CNC_BREAK;
sys/arch/arm/at91/at91dbgu.c
1072
cn_check_magic(cn_tab->cn_dev, c, at91dbgu_cnm_state);
sys/arch/arm/at91/at91dbgu.c
1074
put[0] = c & 0xff;
sys/arch/arm/at91/at91dbgu.c
1130
rnd_add_uint32(&sc->rnd_source, imr ^ sr ^ c);
sys/arch/arm/at91/at91dbgu.c
853
at91dbgu_cn_putc(dev_t dev, int c)
sys/arch/arm/at91/at91dbgu.c
859
DBGU_PUTC(c);
sys/arch/arm/at91/at91dbgu.c
862
if (c == '\r') {
sys/arch/arm/at91/at91dbgu.c
877
int c, sr;
sys/arch/arm/at91/at91dbgu.c
886
while ((c = DBGU_PEEKC()) == -1) {
sys/arch/arm/at91/at91dbgu.c
892
if (ISSET(sr, DBGU_SR_FRAME) && c == 0) {
sys/arch/arm/at91/at91dbgu.c
894
c = CNC_BREAK;
sys/arch/arm/at91/at91dbgu.c
899
cn_check_magic(dev, c, at91dbgu_cnm_state);
sys/arch/arm/at91/at91dbgu.c
903
c &= 0xff;
sys/arch/arm/at91/at91dbgu.c
905
return (c);
sys/arch/arm/at91/at91pmc.c
145
int c;
sys/arch/arm/at91/at91pmc.c
146
for (c = 0; c < 10000; c++) {
sys/arch/arm/at91/at91usart.c
907
at91usart_cn_putc(dev_t dev, int c)
sys/arch/arm/at91/at91usart.c
916
USART_PUTC(c);
sys/arch/arm/at91/at91usart.c
919
if (c == '\r') {
sys/arch/arm/at91/at91usart.c
931
int c, sr;
sys/arch/arm/at91/at91usart.c
940
while ((c = USART_PEEKC()) == -1) {
sys/arch/arm/at91/at91usart.c
946
if (ISSET(sr, USART_SR_FRAME) && c == 0) {
sys/arch/arm/at91/at91usart.c
948
c = CNC_BREAK;
sys/arch/arm/at91/at91usart.c
953
cn_check_magic(dev, c, at91usart_cnm_state);
sys/arch/arm/at91/at91usart.c
957
c &= 0xff;
sys/arch/arm/at91/at91usart.c
959
return (c);
sys/arch/arm/broadcom/bcm2838_pcie.c
156
#define STBRMW(sc, r, c, s) stb_setbits((sc), (r), (c), (s))
sys/arch/arm/broadcom/bcm283x_platform.c
117
void bcm2835_platform_early_putchar(char c);
sys/arch/arm/broadcom/bcm283x_platform.c
118
void bcm2835_aux_platform_early_putchar(char c);
sys/arch/arm/broadcom/bcm283x_platform.c
119
void bcm2836_platform_early_putchar(char c);
sys/arch/arm/broadcom/bcm283x_platform.c
120
void bcm2837_platform_early_putchar(char c);
sys/arch/arm/broadcom/bcm283x_platform.c
121
void bcm2711_platform_early_putchar(char c);
sys/arch/arm/broadcom/bcm283x_platform.c
1367
bcm283x_platform_early_putchar(vaddr_t va, paddr_t pa, char c)
sys/arch/arm/broadcom/bcm283x_platform.c
1377
uartaddr[PL01XCOM_DR / 4] = htole32(c);
sys/arch/arm/broadcom/bcm283x_platform.c
1384
bcm283x_aux_platform_early_putchar(vaddr_t va, paddr_t pa, char c)
sys/arch/arm/broadcom/bcm283x_platform.c
1394
uartaddr[com_data] = htole32(c);
sys/arch/arm/broadcom/bcm283x_platform.c
1398
bcm2835_platform_early_putchar(char c)
sys/arch/arm/broadcom/bcm283x_platform.c
1403
bcm283x_platform_early_putchar(va, pa, c);
sys/arch/arm/broadcom/bcm283x_platform.c
1407
bcm2835_aux_platform_early_putchar(char c)
sys/arch/arm/broadcom/bcm283x_platform.c
1412
bcm283x_aux_platform_early_putchar(va, pa, c);
sys/arch/arm/broadcom/bcm283x_platform.c
1416
bcm2836_platform_early_putchar(char c)
sys/arch/arm/broadcom/bcm283x_platform.c
1421
bcm283x_platform_early_putchar(va, pa, c);
sys/arch/arm/broadcom/bcm283x_platform.c
1425
bcm2837_platform_early_putchar(char c)
sys/arch/arm/broadcom/bcm283x_platform.c
1430
bcm283x_aux_platform_early_putchar(va, pa, c);
sys/arch/arm/broadcom/bcm283x_platform.c
1434
bcm2711_platform_early_putchar(char c)
sys/arch/arm/broadcom/bcm283x_platform.c
1439
bcm283x_aux_platform_early_putchar(va, pa, c);
sys/arch/arm/broadcom/bcm53xx_intr.h
90
#define BCM53XXX_IRQ(a,c) ((a))
sys/arch/arm/broadcom/bcm53xx_intr.h
92
#define BCM53XXX_IRQ(a,c) ((a) + (c))
sys/arch/arm/broadcom/bcm53xx_rng.c
96
size_t c)
sys/arch/arm/broadcom/bcm53xx_rng.c
98
return bus_space_read_multi_4(sc->sc_bst, sc->sc_bsh, o, p, c);
sys/arch/arm/clps711x/clpscom.c
1084
clpscom_cnputc(dev_t dev, int c)
sys/arch/arm/clps711x/clpscom.c
1090
CLPSCOM_CNWRITE(c);
sys/arch/arm/ep93xx/epcom.c
1035
uint32_t c, csts;
sys/arch/arm/ep93xx/epcom.c
1053
c = bus_space_read_4(iot, ioh, EPCOM_Data);
sys/arch/arm/ep93xx/epcom.c
1072
(c & 0xff), epcom_cnm_state);
sys/arch/arm/ep93xx/epcom.c
1078
put[0] = c & 0xff;
sys/arch/arm/ep93xx/epcom.c
1191
epcom_kgdb_putc (void *sc, int c)
sys/arch/arm/ep93xx/epcom.c
1193
epcom_common_putc(sc, c);
sys/arch/arm/ep93xx/epcom.c
839
epcomcnputc(dev_t dev, int c)
sys/arch/arm/ep93xx/epcom.c
841
epcom_common_putc(&epcomcn_sc, c);
sys/arch/arm/ep93xx/epcom.c
845
epcom_common_putc(struct epcom_cons_softc *sc, int c)
sys/arch/arm/ep93xx/epcom.c
856
bus_space_write_4(iot, ioh, EPCOM_Data, c);
sys/arch/arm/ep93xx/epcom.c
859
if (c == '\r') {
sys/arch/arm/ep93xx/epcom.c
877
int c, sts;
sys/arch/arm/ep93xx/epcom.c
887
c = bus_space_read_4(iot, ioh, EPCOM_Data);
sys/arch/arm/ep93xx/epcom.c
890
c = CNC_BREAK;
sys/arch/arm/ep93xx/epcom.c
894
cn_check_magic(dev, c, epcom_cnm_state);
sys/arch/arm/ep93xx/epcom.c
896
c &= 0xff;
sys/arch/arm/ep93xx/epcom.c
899
return (c);
sys/arch/arm/fdt/arm_fdt.c
126
struct arm_fdt_cpu_hatch_cb *c;
sys/arch/arm/fdt/arm_fdt.c
128
c = kmem_alloc(sizeof(*c), KM_SLEEP);
sys/arch/arm/fdt/arm_fdt.c
129
c->priv = priv;
sys/arch/arm/fdt/arm_fdt.c
130
c->cb = cb;
sys/arch/arm/fdt/arm_fdt.c
131
TAILQ_INSERT_TAIL(&arm_fdt_cpu_hatch_cbs, c, next);
sys/arch/arm/fdt/arm_fdt.c
137
struct arm_fdt_cpu_hatch_cb *c;
sys/arch/arm/fdt/arm_fdt.c
139
TAILQ_FOREACH(c, &arm_fdt_cpu_hatch_cbs, next)
sys/arch/arm/fdt/arm_fdt.c
140
c->cb(c->priv, ci);
sys/arch/arm/fdt/arm_platform.c
81
plcom_platform_early_putchar(char c)
sys/arch/arm/fdt/arm_platform.c
93
uartaddr[PL01XCOM_DR / 4] = htole32(c);
sys/arch/arm/footbridge/footbridge_com.c
755
u_char c;
sys/arch/arm/footbridge/footbridge_com.c
759
c = bus_space_read_4(iot, ioh, UART_DATA);
sys/arch/arm/footbridge/footbridge_com.c
767
if (c == DDB_KEYCODE) Debugger();
sys/arch/arm/footbridge/footbridge_com.c
770
return (c);
sys/arch/arm/footbridge/footbridge_com.c
777
fcomcnputc(dev_t dev, int c)
sys/arch/arm/footbridge/footbridge_com.c
788
bus_space_write_4(iot, ioh, UART_DATA, c);
sys/arch/arm/gemini/gemini_pci.c
223
gemini_pci_conf_interrupt(void *v, int a, int b, int c, int d, int *p)
sys/arch/arm/imx/imx23_platform.c
66
imx23_platform_early_putchar(char c)
sys/arch/arm/imx/imx23_platform.c
77
uartaddr[PL01XCOM_DR / 4] = htole32(c);
sys/arch/arm/imx/imxsnvs.c
174
uint64_t c, h, l;
sys/arch/arm/imx/imxsnvs.c
177
c = (uint64_t)tvp->tv_sec * SVNS_COUNTER_HZ +
sys/arch/arm/imx/imxsnvs.c
179
h = __SHIFTIN((c >> 32) & SNVS_LPSRTCMR_SRTC, SNVS_LPSRTCMR_SRTC);
sys/arch/arm/imx/imxsnvs.c
180
l = c & 0xffffffff;
sys/arch/arm/imx/imxuart.c
2109
u_char c;
sys/arch/arm/imx/imxuart.c
2116
c = imxuart_readahead[imxuart_readahead_out];
sys/arch/arm/imx/imxuart.c
2120
return (c);
sys/arch/arm/imx/imxuart.c
2127
c = 0xff & bus_space_read_4(iot, ioh, IMX_URXD);
sys/arch/arm/imx/imxuart.c
2132
cn_check_magic(dev, c, imxuart_cnm_state);
sys/arch/arm/imx/imxuart.c
2135
return (c);
sys/arch/arm/imx/imxuart.c
2139
imxuart_common_putc(dev_t dev, struct imxuart_regs *regsp, int c)
sys/arch/arm/imx/imxuart.c
2162
bus_space_write_4(iot, ioh, IMX_UTXD, c);
sys/arch/arm/imx/imxuart.c
2280
imxucnputc(dev_t dev, int c)
sys/arch/arm/imx/imxuart.c
2282
imxuart_common_putc(dev, &imxuconsregs, c);
sys/arch/arm/imx/imxuart.c
2342
imxuart_kgdb_putc(void *arg, int c)
sys/arch/arm/imx/imxuart.c
2346
imxuart_common_putc(NODEV, regs, c);
sys/arch/arm/include/asm.h
304
# define RETc(c) it c; __CONCAT(bx,c) lr
sys/arch/arm/include/asm.h
307
# define RETc(c) __CONCAT(bx,c) lr
sys/arch/arm/include/asm.h
312
# define RETc(c) __CONCAT(mov,c) pc, lr
sys/arch/arm/include/bus_funcs.h
112
#define bus_space_map(t, a, s, c, hp) \
sys/arch/arm/include/bus_funcs.h
113
(*(t)->bs_map)((t)->bs_cookie, (a), (s), (c), (hp))
sys/arch/arm/include/bus_funcs.h
123
#define bus_space_alloc(t, rs, re, s, a, b, c, ap, hp) \
sys/arch/arm/include/bus_funcs.h
125
(c), (ap), (hp))
sys/arch/arm/include/bus_funcs.h
169
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
170
__bs_nonsingle(rm,1,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
171
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
172
__bs_nonsingle(rm,2,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
173
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
174
__bs_nonsingle(rm,4,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
176
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
177
__bs_nonsingle(rm,8,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
180
#define bus_space_read_multi_stream_1(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
181
__bs_nonsingle_s(rm,1,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
182
#define bus_space_read_multi_stream_2(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
183
__bs_nonsingle_s(rm,2,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
184
#define bus_space_read_multi_stream_4(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
185
__bs_nonsingle_s(rm,4,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
187
#define bus_space_read_multi_stream_8(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
188
__bs_nonsingle_s(rm,8,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
196
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
197
__bs_nonsingle(rr,1,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
198
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
199
__bs_nonsingle(rr,2,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
200
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
201
__bs_nonsingle(rr,4,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
203
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
204
__bs_nonsingle(rr,8,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
207
#define bus_space_read_region_stream_1(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
208
__bs_nonsingle_s(rr,1,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
209
#define bus_space_read_region_stream_2(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
210
__bs_nonsingle_s(rr,2,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
211
#define bus_space_read_region_stream_4(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
212
__bs_nonsingle_s(rr,4,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
214
#define bus_space_read_region_stream_8(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
215
__bs_nonsingle_s(rr,8,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
242
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
243
__bs_nonsingle(wm,1,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
244
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
245
__bs_nonsingle(wm,2,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
246
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
247
__bs_nonsingle(wm,4,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
249
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
250
__bs_nonsingle(wm,8,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
253
#define bus_space_write_multi_stream_1(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
254
__bs_nonsingle_s(wm,1,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
255
#define bus_space_write_multi_stream_2(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
256
__bs_nonsingle_s(wm,2,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
257
#define bus_space_write_multi_stream_4(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
258
__bs_nonsingle_s(wm,4,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
260
#define bus_space_write_multi_stream_8(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
261
__bs_nonsingle_s(wm,8,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
269
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
270
__bs_nonsingle(wr,1,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
271
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
272
__bs_nonsingle(wr,2,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
273
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
274
__bs_nonsingle(wr,4,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
276
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
277
__bs_nonsingle(wr,8,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
280
#define bus_space_write_region_stream_1(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
281
__bs_nonsingle_s(wr,1,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
282
#define bus_space_write_region_stream_2(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
283
__bs_nonsingle_s(wr,2,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
284
#define bus_space_write_region_stream_4(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
285
__bs_nonsingle_s(wr,4,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
287
#define bus_space_write_region_stream_8(t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
288
__bs_nonsingle_s(wr,8,(t),(h),(o),(a),(c))
sys/arch/arm/include/bus_funcs.h
296
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/arch/arm/include/bus_funcs.h
297
__bs_set(sm,1,(t),(h),(o),(v),(c))
sys/arch/arm/include/bus_funcs.h
298
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/arch/arm/include/bus_funcs.h
299
__bs_set(sm,2,(t),(h),(o),(v),(c))
sys/arch/arm/include/bus_funcs.h
300
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/arch/arm/include/bus_funcs.h
301
__bs_set(sm,4,(t),(h),(o),(v),(c))
sys/arch/arm/include/bus_funcs.h
303
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/arch/arm/include/bus_funcs.h
304
__bs_set(sm,8,(t),(h),(o),(v),(c))
sys/arch/arm/include/bus_funcs.h
310
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/arm/include/bus_funcs.h
311
__bs_set(sr,1,(t),(h),(o),(v),(c))
sys/arch/arm/include/bus_funcs.h
312
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/arm/include/bus_funcs.h
313
__bs_set(sr,2,(t),(h),(o),(v),(c))
sys/arch/arm/include/bus_funcs.h
314
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/arm/include/bus_funcs.h
315
__bs_set(sr,4,(t),(h),(o),(v),(c))
sys/arch/arm/include/bus_funcs.h
317
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arch/arm/include/bus_funcs.h
318
__bs_set(sr,8,(t),(h),(o),(v),(c))
sys/arch/arm/include/bus_funcs.h
324
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arch/arm/include/bus_funcs.h
325
__bs_copy(1, t, h1, o1, h2, o2, c)
sys/arch/arm/include/bus_funcs.h
326
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arch/arm/include/bus_funcs.h
327
__bs_copy(2, t, h1, o1, h2, o2, c)
sys/arch/arm/include/bus_funcs.h
328
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arch/arm/include/bus_funcs.h
329
__bs_copy(4, t, h1, o1, h2, o2, c)
sys/arch/arm/include/bus_funcs.h
331
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arch/arm/include/bus_funcs.h
332
__bs_copy(8, t, h1, o1, h2, o2, c)
sys/arch/arm/include/bus_funcs.h
81
#define __bs_nonsingle(type, sz, t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
82
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, a, c)
sys/arch/arm/include/bus_funcs.h
83
#define __bs_set(type, sz, t, h, o, v, c) \
sys/arch/arm/include/bus_funcs.h
84
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, v, c)
sys/arch/arm/include/bus_funcs.h
86
(*(t)->__bs_opname(c,sz))((t)->bs_cookie, h1, o1, h2, o2, cnt)
sys/arch/arm/include/bus_funcs.h
94
#define __bs_nonsingle_s(type, sz, t, h, o, a, c) \
sys/arch/arm/include/bus_funcs.h
95
(*(t)->__bs_opname_s(type,sz))((t)->bs_cookie, h, o, a, c)
sys/arch/arm/include/bus_funcs.h
96
#define __bs_set_s(type, sz, t, h, o, v, c) \
sys/arch/arm/include/bus_funcs.h
97
(*(t)->__bs_opname_s(type,sz))((t)->bs_cookie, h, o, v, c)
sys/arch/arm/include/bus_funcs.h
99
(*(t)->__bs_opname_s(c,sz))((t)->bs_cookie, h1, o1, h2, o2, cnt)
sys/arch/arm/include/cpufunc.h
223
#define cpu_control(c, e) cpufuncs.cf_control(c, e)
sys/arch/arm/include/int_const.h
44
#define INT8_C(c) c
sys/arch/arm/include/int_const.h
45
#define INT16_C(c) c
sys/arch/arm/include/int_const.h
46
#define INT32_C(c) c
sys/arch/arm/include/int_const.h
48
#define INT64_C(c) c ## L
sys/arch/arm/include/int_const.h
50
#define INT64_C(c) c ## LL
sys/arch/arm/include/int_const.h
53
#define UINT8_C(c) c
sys/arch/arm/include/int_const.h
54
#define UINT16_C(c) c
sys/arch/arm/include/int_const.h
55
#define UINT32_C(c) c ## U
sys/arch/arm/include/int_const.h
57
#define UINT64_C(c) c ## UL
sys/arch/arm/include/int_const.h
59
#define UINT64_C(c) c ## ULL
sys/arch/arm/include/int_const.h
65
#define INTMAX_C(c) c ## L
sys/arch/arm/include/int_const.h
66
#define UINTMAX_C(c) c ## UL
sys/arch/arm/include/int_const.h
68
#define INTMAX_C(c) c ## LL
sys/arch/arm/include/int_const.h
69
#define UINTMAX_C(c) c ## ULL
sys/arch/arm/include/isa_machdep.h
100
_isa_drq_alloc(&(ic)->ic_dmastate, c)
sys/arch/arm/include/isa_machdep.h
101
#define isa_drq_free(ic, c) \
sys/arch/arm/include/isa_machdep.h
102
_isa_drq_free(&(ic)->ic_dmastate, c)
sys/arch/arm/include/isa_machdep.h
103
#define isa_drq_isfree(ic, c) \
sys/arch/arm/include/isa_machdep.h
104
_isa_drq_isfree(&(ic)->ic_dmastate, (c))
sys/arch/arm/include/isa_machdep.h
105
#define isa_malloc(ic, c, s, p, f) \
sys/arch/arm/include/isa_machdep.h
106
_isa_malloc(&(ic)->ic_dmastate, (c), (s), (p), (f))
sys/arch/arm/include/isa_machdep.h
67
#define isa_dmacascade(ic, c) \
sys/arch/arm/include/isa_machdep.h
68
_isa_dmacascade(&(ic)->ic_dmastate, (c))
sys/arch/arm/include/isa_machdep.h
69
#define isa_dmamaxsize(ic, c) \
sys/arch/arm/include/isa_machdep.h
70
_isa_dmamaxsize(&(ic)->ic_dmastate, (c))
sys/arch/arm/include/isa_machdep.h
71
#define isa_dmamap_create(ic, c, s, f) \
sys/arch/arm/include/isa_machdep.h
72
_isa_dmamap_create(&(ic)->ic_dmastate, (c), (s), (f))
sys/arch/arm/include/isa_machdep.h
73
#define isa_dmamap_destroy(ic, c) \
sys/arch/arm/include/isa_machdep.h
74
_isa_dmamap_destroy(&(ic)->ic_dmastate, (c))
sys/arch/arm/include/isa_machdep.h
75
#define isa_dmastart(ic, c, a, n, p, f, bf) \
sys/arch/arm/include/isa_machdep.h
76
_isa_dmastart(&(ic)->ic_dmastate, (c), (a), (n), (p), (f), (bf))
sys/arch/arm/include/isa_machdep.h
77
#define isa_dmaabort(ic, c) \
sys/arch/arm/include/isa_machdep.h
78
_isa_dmaabort(&(ic)->ic_dmastate, (c))
sys/arch/arm/include/isa_machdep.h
79
#define isa_dmacount(ic, c) \
sys/arch/arm/include/isa_machdep.h
80
_isa_dmacount(&(ic)->ic_dmastate, (c))
sys/arch/arm/include/isa_machdep.h
81
#define isa_dmafinished(ic, c) \
sys/arch/arm/include/isa_machdep.h
82
_isa_dmafinished(&(ic)->ic_dmastate, (c))
sys/arch/arm/include/isa_machdep.h
83
#define isa_dmadone(ic, c) \
sys/arch/arm/include/isa_machdep.h
84
_isa_dmadone(&(ic)->ic_dmastate, (c))
sys/arch/arm/include/isa_machdep.h
89
#define isa_dmamem_alloc(ic, c, s, ap, f) \
sys/arch/arm/include/isa_machdep.h
90
_isa_dmamem_alloc(&(ic)->ic_dmastate, (c), (s), (ap), (f))
sys/arch/arm/include/isa_machdep.h
91
#define isa_dmamem_free(ic, c, a, s) \
sys/arch/arm/include/isa_machdep.h
92
_isa_dmamem_free(&(ic)->ic_dmastate, (c), (a), (s))
sys/arch/arm/include/isa_machdep.h
93
#define isa_dmamem_map(ic, c, a, s, kp, f) \
sys/arch/arm/include/isa_machdep.h
94
_isa_dmamem_map(&(ic)->ic_dmastate, (c), (a), (s), (kp), (f))
sys/arch/arm/include/isa_machdep.h
95
#define isa_dmamem_unmap(ic, c, k, s) \
sys/arch/arm/include/isa_machdep.h
96
_isa_dmamem_unmap(&(ic)->ic_dmastate, (c), (k), (s))
sys/arch/arm/include/isa_machdep.h
97
#define isa_dmamem_mmap(ic, c, a, s, o, p, f) \
sys/arch/arm/include/isa_machdep.h
98
_isa_dmamem_mmap(&(ic)->ic_dmastate, (c), (a), (s), (o), (p), (f))
sys/arch/arm/include/isa_machdep.h
99
#define isa_drq_alloc(ic, c) \
sys/arch/arm/include/pci_machdep.h
145
#define pci_bus_maxdevs(c, b) \
sys/arch/arm/include/pci_machdep.h
146
(*(c)->pc_bus_maxdevs)((c)->pc_conf_v, (b))
sys/arch/arm/include/pci_machdep.h
147
#define pci_make_tag(c, b, d, f) \
sys/arch/arm/include/pci_machdep.h
148
(*(c)->pc_make_tag)((c)->pc_conf_v, (b), (d), (f))
sys/arch/arm/include/pci_machdep.h
149
#define pci_decompose_tag(c, t, bp, dp, fp) \
sys/arch/arm/include/pci_machdep.h
150
(*(c)->pc_decompose_tag)((c)->pc_conf_v, (t), (bp), (dp), (fp))
sys/arch/arm/include/pci_machdep.h
151
#define pci_get_segment(c) \
sys/arch/arm/include/pci_machdep.h
152
((c)->pc_get_segment ? (*(c)->pc_get_segment)((c)->pc_conf_v) : 0)
sys/arch/arm/include/pci_machdep.h
153
#define pci_get_devid(c, d) \
sys/arch/arm/include/pci_machdep.h
154
((c)->pc_get_devid ? (*(c)->pc_get_devid)((c)->pc_conf_v, (d)) : (d))
sys/arch/arm/include/pci_machdep.h
155
#define pci_get_frameid(c, d) \
sys/arch/arm/include/pci_machdep.h
156
((c)->pc_get_frameid ? (*(c)->pc_get_frameid)((c)->pc_conf_v, (d)) : 0)
sys/arch/arm/include/pci_machdep.h
157
#define pci_conf_read(c, t, r) \
sys/arch/arm/include/pci_machdep.h
158
(*(c)->pc_conf_read)((c)->pc_conf_v, (t), (r))
sys/arch/arm/include/pci_machdep.h
159
#define pci_conf_write(c, t, r, v) \
sys/arch/arm/include/pci_machdep.h
160
(*(c)->pc_conf_write)((c)->pc_conf_v, (t), (r), (v))
sys/arch/arm/include/pci_machdep.h
163
#define pci_intr_string(c, ih, buf, len) \
sys/arch/arm/include/pci_machdep.h
164
(*(c)->pc_intr_string)((c)->pc_intr_v, (ih), (buf), (len))
sys/arch/arm/include/pci_machdep.h
165
#define pci_intr_evcnt(c, ih) \
sys/arch/arm/include/pci_machdep.h
166
(*(c)->pc_intr_evcnt)((c)->pc_intr_v, (ih))
sys/arch/arm/include/pci_machdep.h
167
#define pci_intr_establish(c, ih, l, h, a) \
sys/arch/arm/include/pci_machdep.h
168
(*(c)->pc_intr_establish)((c)->pc_intr_v, (ih), (l), (h), (a), NULL)
sys/arch/arm/include/pci_machdep.h
169
#define pci_intr_disestablish(c, iv) \
sys/arch/arm/include/pci_machdep.h
170
(*(c)->pc_intr_disestablish)((c)->pc_intr_v, (iv))
sys/arch/arm/include/pci_machdep.h
172
#define pci_conf_hook(c, b, d, f, id) \
sys/arch/arm/include/pci_machdep.h
173
(*(c)->pc_conf_hook)((c)->pc_conf_v, (b), (d), (f), (id))
sys/arch/arm/include/pci_machdep.h
175
#define pci_conf_interrupt(c, b, d, i, s, p) \
sys/arch/arm/include/pci_machdep.h
176
(*(c)->pc_conf_interrupt)((c)->pc_conf_v, (b), (d), (i), (s), (p))
sys/arch/arm/iomd/vidcvideo.c
192
static void vv_putchar(void *c, int row, int col, u_int uc, long attr);
sys/arch/arm/ixp12x0/ixp12x0_com.c
1042
uint32_t c;
sys/arch/arm/ixp12x0/ixp12x0_com.c
1086
c = bus_space_read_4(iot, ioh, IXPCOM_DR);
sys/arch/arm/ixp12x0/ixp12x0_com.c
1087
if (ISSET(c, DR_FRE)) {
sys/arch/arm/ixp12x0/ixp12x0_com.c
1092
put[0] = c & 0xff;
sys/arch/arm/ixp12x0/ixp12x0_com.c
1093
put[1] = (c >> 8) & 0xff;
sys/arch/arm/ixp12x0/ixp12x0_com.c
863
ixpcomcnputc(dev_t dev, int c)
sys/arch/arm/ixp12x0/ixp12x0_com.c
874
bus_space_write_4(iot, ioh, IXPCOM_DR, c);
sys/arch/arm/ixp12x0/ixp12x0_com.c
877
if (c == '\r') {
sys/arch/arm/ixp12x0/ixp12x0_com.c
889
int c;
sys/arch/arm/ixp12x0/ixp12x0_com.c
899
c = bus_space_read_4(iot, ioh, IXPCOM_DR);
sys/arch/arm/ixp12x0/ixp12x0_com.c
900
c &= 0xff;
sys/arch/arm/ixp12x0/ixp12x0_com.c
903
return (c);
sys/arch/arm/ixp12x0/ixp12x0_pci.c
116
ixp12x0_pci_conf_interrupt(void *v, int a, int b, int c, int d, int *p)
sys/arch/arm/marvell/mvsoc.c
114
mvsoc_cnputc(dev_t dv, int c)
sys/arch/arm/marvell/mvsoc.c
121
uart_write(com_data, c);
sys/arch/arm/marvell/mvsocpmu.c
172
int oh, c;
sys/arch/arm/marvell/mvsocpmu.c
178
oh = c = 0;
sys/arch/arm/marvell/mvsocpmu.c
181
c = sc->sc_uc2val(UK2UC(limits->sel_warnmin));
sys/arch/arm/marvell/mvsocpmu.c
191
MVSOCPMU_TM_WRITE(sc, CSR, csr | TM_CSR_THR(oh, c));
sys/arch/arm/marvell/mvsocpmu.c
51
#define TM_CSR_THR(oh, c) ((((oh) & 0x1ff) << 19)|(((c) & 0x1ff) << 10))
sys/arch/arm/nvidia/tegra_platform.c
74
tegra_platform_early_putchar(char c)
sys/arch/arm/nvidia/tegra_platform.c
86
uartaddr[com_data] = c;
sys/arch/arm/nxp/imx6_platform.c
116
imx_platform_early_putchar(char c)
sys/arch/arm/nxp/imx6_platform.c
128
uartaddr[(IMX_UTXD/4)] = htole32(c);
sys/arch/arm/rockchip/rk_platform.c
136
rk3288_platform_early_putchar(char c)
sys/arch/arm/rockchip/rk_platform.c
147
uartaddr[com_data] = htole32(c);
sys/arch/arm/rockchip/rk_platform.c
214
rk3328_platform_early_putchar(char c)
sys/arch/arm/rockchip/rk_platform.c
225
uartaddr[com_data] = htole32(c);
sys/arch/arm/rockchip/rk_platform.c
272
rk3399_platform_early_putchar(char c)
sys/arch/arm/rockchip/rk_platform.c
283
uartaddr[com_data] = htole32(c);
sys/arch/arm/rockchip/rk_platform.c
331
rk3588_platform_early_putchar(char c)
sys/arch/arm/rockchip/rk_platform.c
342
uartaddr[com_data] = htole32(c);
sys/arch/arm/rockchip/rk_v1crypto.c
91
uint32_t c = 0;
sys/arch/arm/rockchip/rk_v1crypto.c
93
c |= __SHIFTIN(m, RK_V1CRYPTO_CTRL_MASK);
sys/arch/arm/rockchip/rk_v1crypto.c
94
c |= __SHIFTIN(v, m);
sys/arch/arm/rockchip/rk_v1crypto.c
95
RKC_WRITE(sc, RK_V1CRYPTO_CTRL, c);
sys/arch/arm/s3c2xx0/s3c24x0_clk.c
63
#define counter_to_usec(c,pclk) \
sys/arch/arm/s3c2xx0/s3c24x0_clk.c
64
(((c)*timer4_prescaler*1000)/(TIMER_FREQUENCY(pclk)/1000))
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
525
width = type->c.ncols * type->c.fontwidth;
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
526
height = type->c.nrows * type->c.fontwidth;
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
548
if (type->c.fontwidth || type->c.fontheight) {
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
556
cookie = wsfont_find(NULL, type->c.fontwidth,
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
557
type->c.fontheight, 0, WSDISPLAY_FONTORDER_L2R,
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
566
rasops_init(&scr->rinfo, type->c.nrows, type->c.ncols);
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
570
if (type->c.nrows != scr->rinfo.ri_rows ||
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
571
type->c.ncols != scr->rinfo.ri_cols) {
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
576
type->c.ncols, type->c.nrows,
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
745
s3c24x0_lcd_mapchar(void *cookie, int c, unsigned int *cp)
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
749
return (* scr->rinfo.ri_ops.mapchar)(&scr->rinfo, c, cp);
sys/arch/arm/s3c2xx0/s3c24x0_lcd.h
108
struct wsscreen_descr c; /* standard descriptor */
sys/arch/arm/s3c2xx0/s3c2800_clk.c
67
#define counter_to_usec(c,pclk) \
sys/arch/arm/s3c2xx0/s3c2800_clk.c
68
(((c)*timer0_prescaler*1000)/(TIMER_FREQUENCY(pclk)/1000))
sys/arch/arm/s3c2xx0/sscom.c
1909
u_char c;
sys/arch/arm/s3c2xx0/sscom.c
1915
c = sscom_readahead[0];
sys/arch/arm/s3c2xx0/sscom.c
1921
return c;
sys/arch/arm/s3c2xx0/sscom.c
1928
c = sscom_getc(sscomconstag, sscomconsioh);
sys/arch/arm/s3c2xx0/sscom.c
1933
cn_check_magic(dev, c, sscom_cnm_state);
sys/arch/arm/s3c2xx0/sscom.c
1936
return c;
sys/arch/arm/s3c2xx0/sscom.c
1943
sscomcnputc(dev_t dev, int c)
sys/arch/arm/s3c2xx0/sscom.c
1966
bus_space_write_1(sscomconstag, sscomconsioh, SSCOM_UTXH, c);
sys/arch/arm/s3c2xx0/sscom.c
2017
int c, stat;
sys/arch/arm/s3c2xx0/sscom.c
2023
c = sscom_getc(sscom_kgdb_iot, sscom_kgdb_ioh);
sys/arch/arm/s3c2xx0/sscom.c
2026
return c;
sys/arch/arm/s3c2xx0/sscom.c
2031
sscom_kgdb_putc(void *arg, int c)
sys/arch/arm/s3c2xx0/sscom.c
2041
bus_space_write_1(sscom_kgdb_iot, sscom_kgdb_ioh, SSCOM_UTXH, c);
sys/arch/arm/sa11x0/sa1111_kbc.c
303
int i, s, stat, c = -1;
sys/arch/arm/sa11x0/sa1111_kbc.c
309
c = sc->poll_data;
sys/arch/arm/sa11x0/sa1111_kbc.c
315
return c;
sys/arch/arm/sa11x0/sa1111_kbc.c
324
c = bus_space_read_4(sc->iot, sc->ioh, SACCKBD_DATA);
sys/arch/arm/sa11x0/sa1111_kbc.c
330
return c;
sys/arch/arm/sa11x0/sa11x0_com.c
1106
int c, n;
sys/arch/arm/sa11x0/sa11x0_com.c
1112
c = *(sc->sc_tba + n);
sys/arch/arm/sa11x0/sa11x0_com.c
1113
c &= 0xff;
sys/arch/arm/sa11x0/sa11x0_com.c
1114
bus_space_write_4(iot, ioh, SACOM_DR, c);
sys/arch/arm/sa11x0/sa11x0_com.c
1483
int c, s;
sys/arch/arm/sa11x0/sa11x0_com.c
1507
c = bus_space_read_4(sacomconstag, sacomconsioh, SACOM_DR);
sys/arch/arm/sa11x0/sa11x0_com.c
1508
c &= 0xff;
sys/arch/arm/sa11x0/sa11x0_com.c
1511
return c;
sys/arch/arm/sa11x0/sa11x0_com.c
1515
sacomcnputc(dev_t dev, int c)
sys/arch/arm/sa11x0/sa11x0_com.c
1525
bus_space_write_4(sacomconstag, sacomconsioh, SACOM_DR, c);
sys/arch/arm/sa11x0/sa11x0_com.c
1540
int c;
sys/arch/arm/sa11x0/sa11x0_com.c
1546
c = bus_space_read_4(sacomconstag, sacomconsioh, SACOM_DR);
sys/arch/arm/sa11x0/sa11x0_com.c
1547
c &= 0xff;
sys/arch/arm/sa11x0/sa11x0_com.c
1549
return c;
sys/arch/arm/samsung/exynos_platform.c
233
exynos_platform_early_putchar(char c)
sys/arch/arm/samsung/exynos_platform.c
245
uartaddr[SSCOM_UTXH / 4] = c;
sys/arch/arm/samsung/exynos_uart.c
306
int s, c;
sys/arch/arm/samsung/exynos_uart.c
316
c = RD4(sc, SSCOM_URXH);
sys/arch/arm/samsung/exynos_uart.c
319
cn_check_magic(dev, c & 0xff, exynos_uart_cnm_state);
sys/arch/arm/samsung/exynos_uart.c
324
return c & 0xff;
sys/arch/arm/samsung/exynos_uart.c
328
exynos_uart_cnputc(dev_t dev, int c)
sys/arch/arm/samsung/exynos_uart.c
337
WR4(sc, SSCOM_UTXH, c & 0xff);
sys/arch/arm/samsung/exynos_uart.c
593
uint32_t ack, uerstat, ufstat, c;
sys/arch/arm/samsung/exynos_uart.c
619
c = RD4(sc, SSCOM_URXH);
sys/arch/arm/samsung/exynos_uart.c
620
cn_check_magic(tp->t_dev, c & 0xff, exynos_uart_cnm_state);
sys/arch/arm/samsung/exynos_uart.c
623
tp->t_linesw->l_rint(c & 0xff, tp);
sys/arch/arm/sunxi/sun4i_emac.c
222
sun4i_emac_clear_set(struct sun4i_emac_softc *sc, bus_size_t o, uint32_t c,
sys/arch/arm/sunxi/sun4i_emac.c
226
return bus_space_write_4(sc->sc_bst, sc->sc_bsh, o, (v & ~c) | s);
sys/arch/arm/sunxi/sunxi_gpio.c
781
const char c = tolower(pin_def->name[1]);
sys/arch/arm/sunxi/sunxi_gpio.c
782
if (c < 'a' || c > 'z')
sys/arch/arm/sunxi/sunxi_gpio.c
784
const int index = c - 'a';
sys/arch/arm/sunxi/sunxi_gpio.c
791
snprintf(supply_prop, sizeof(supply_prop), "vcc-p%c-supply", c);
sys/arch/arm/sunxi/sunxi_musb.c
216
uint8_t *d, bus_size_t c)
sys/arch/arm/sunxi/sunxi_musb.c
218
bus_space_read_multi_1((bus_space_tag_t)t, h, sunxi_musb_reg(o), d, c);
sys/arch/arm/sunxi/sunxi_musb.c
223
uint32_t *d, bus_size_t c)
sys/arch/arm/sunxi/sunxi_musb.c
225
bus_space_read_multi_4((bus_space_tag_t)t, h, sunxi_musb_reg(o), d, c);
sys/arch/arm/sunxi/sunxi_musb.c
230
const uint8_t *d, bus_size_t c)
sys/arch/arm/sunxi/sunxi_musb.c
235
bus_space_write_multi_1((bus_space_tag_t)t, h, sunxi_musb_reg(o), d, c);
sys/arch/arm/sunxi/sunxi_musb.c
240
const uint32_t *d, bus_size_t c)
sys/arch/arm/sunxi/sunxi_musb.c
245
bus_space_write_multi_4((bus_space_tag_t)t, h, sunxi_musb_reg(o), d, c);
sys/arch/arm/sunxi/sunxi_platform.c
186
sunxi_platform_early_putchar(char c)
sys/arch/arm/sunxi/sunxi_platform.c
197
uartaddr[com_data] = htole32(c);
sys/arch/arm/ti/am18xx_platform.c
85
am18xx_platform_early_putchar(char c)
sys/arch/arm/ti/am18xx_platform.c
96
uartaddr[com_data] = htole32(c);
sys/arch/arm/ti/am3_platform.c
28
am33xx_platform_early_putchar(char c)
sys/arch/arm/ti/am3_platform.c
39
uartaddr[com_data] = htole32(c);
sys/arch/arm/ti/if_cpsw.c
242
const bus_size_t c = __arraycount(bdp->word);
sys/arch/arm/ti/if_cpsw.c
247
bus_space_read_region_4(sc->sc_bst, sc->sc_bsh_txdescs, o, dp, c);
sys/arch/arm/ti/if_cpsw.c
258
const bus_size_t c = __arraycount(bdp->word);
sys/arch/arm/ti/if_cpsw.c
265
bus_space_write_region_4(sc->sc_bst, sc->sc_bsh_txdescs, o, dp, c);
sys/arch/arm/ti/if_cpsw.c
274
const bus_size_t c = __arraycount(bdp->word);
sys/arch/arm/ti/if_cpsw.c
279
bus_space_read_region_4(sc->sc_bst, sc->sc_bsh_rxdescs, o, dp, c);
sys/arch/arm/ti/if_cpsw.c
291
const bus_size_t c = __arraycount(bdp->word);
sys/arch/arm/ti/if_cpsw.c
298
bus_space_write_region_4(sc->sc_bst, sc->sc_bsh_rxdescs, o, dp, c);
sys/arch/arm/ti/omap3_dss.c
1018
omapfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/arch/arm/ti/omap3_dss.c
1024
if (c == 0x20) {
sys/arch/arm/ti/omap3_dss.c
1036
sc->sc_putchar(cookie, row, col, c, attr);
sys/arch/arm/ti/omap3_platform.c
217
omap3_platform_early_putchar(char c)
sys/arch/arm/ti/omap3_platform.c
227
uartaddr[com_data] = htole32(c);
sys/arch/arm/ti/omap3_platform.c
234
omap4_platform_early_putchar(char c)
sys/arch/arm/ti/omap3_platform.c
244
uartaddr[com_data] = htole32(c);
sys/arch/arm/vexpress/vexpress_platform.c
107
uartaddr[PL01XCOM_DR / 4] = htole32(c);
sys/arch/arm/vexpress/vexpress_platform.c
96
vexpress_platform_early_putchar(char c)
sys/arch/arm/xilinx/zynq_platform.c
139
zynq_platform_early_putchar(char c)
sys/arch/arm/xilinx/zynq_platform.c
152
uartaddr[UART_TX_RX_FIFO / 4] = htole32(c);
sys/arch/arm/xilinx/zynq_uart.c
1885
u_char c;
sys/arch/arm/xilinx/zynq_uart.c
1893
c = zynquart_readahead[zynquart_readahead_out];
sys/arch/arm/xilinx/zynq_uart.c
1897
return (c);
sys/arch/arm/xilinx/zynq_uart.c
1905
c = 0xff & bus_space_read_4(iot, ioh, UART_TX_RX_FIFO);
sys/arch/arm/xilinx/zynq_uart.c
1909
cn_check_magic(dev, c, zynquart_cnm_state);
sys/arch/arm/xilinx/zynq_uart.c
1912
return (c);
sys/arch/arm/xilinx/zynq_uart.c
1916
zynquart_common_putc(dev_t dev, struct zynquart_regs *regsp, int c)
sys/arch/arm/xilinx/zynq_uart.c
1937
bus_space_write_4(iot, ioh, UART_TX_RX_FIFO, c);
sys/arch/arm/xilinx/zynq_uart.c
2019
zynquartcnputc(dev_t dev, int c)
sys/arch/arm/xilinx/zynq_uart.c
2021
zynquart_common_putc(dev, &zynquartconsregs, c);
sys/arch/arm/xilinx/zynq_uart.c
2073
zynquart_kgdb_putc(void *arg, int c)
sys/arch/arm/xilinx/zynq_uart.c
2077
zynquart_common_putc(NODEV, regs, c);
sys/arch/arm/xscale/becc_pci.c
144
becc_pci_conf_interrupt(void *v, int a, int b, int c, int d, int *p)
sys/arch/arm/xscale/i80312_pci.c
126
i80312_pci_conf_interrupt(void *v, int a, int b, int c, int d, int *p)
sys/arch/arm/xscale/i80321_pci.c
135
i80321_pci_conf_interrupt(void *v, int a, int b, int c, int d, int *p)
sys/arch/arm/xscale/ixp425_pci.c
109
ixp425_pci_conf_interrupt(void *v, int a, int b, int c, int d, int *p)
sys/arch/arm/xscale/pxa2x0_lcd.c
290
wsdisplay_cnattach(&descr->c, ri, ri->ri_ccol, ri->ri_crow,
sys/arch/arm/xscale/pxa2x0_lcd.c
666
if (descr->c.nrows == 0) {
sys/arch/arm/xscale/pxa2x0_lcd.c
670
rasops_init(rinfo, descr->c.nrows, descr->c.ncols);
sys/arch/arm/xscale/pxa2x0_lcd.c
673
descr->c.nrows = rinfo->ri_rows;
sys/arch/arm/xscale/pxa2x0_lcd.c
674
descr->c.ncols = rinfo->ri_cols;
sys/arch/arm/xscale/pxa2x0_lcd.c
675
descr->c.capabilities = rinfo->ri_caps;
sys/arch/arm/xscale/pxa2x0_lcd.c
676
descr->c.textops = &rinfo->ri_ops;
sys/arch/arm/xscale/pxa2x0_lcd.c
765
descr->c.nrows = rinfo.ri_rows;
sys/arch/arm/xscale/pxa2x0_lcd.c
766
descr->c.ncols = rinfo.ri_cols;
sys/arch/arm/xscale/pxa2x0_lcd.c
767
descr->c.capabilities = rinfo.ri_caps;
sys/arch/arm/xscale/pxa2x0_lcd.c
821
rasops_init(&scr->rinfo, type->c.nrows, type->c.ncols);
sys/arch/arm/xscale/pxa2x0_lcd.c
941
pxa2x0_lcd_mapchar(void *cookie, int c, unsigned int *cp)
sys/arch/arm/xscale/pxa2x0_lcd.c
945
return (*scr->rinfo.ri_ops.mapchar)(&scr->rinfo, c, cp);
sys/arch/arm/xscale/pxa2x0_lcd.h
129
struct wsscreen_descr c; /* standard descriptor */
sys/arch/arm/xscale/pxa2x0reg.h
834
#define AC97_CODEC_BASE(c) (AC97_PRIAUDIO + ((c) * 0x100))
sys/arch/atari/atari/be_bus.c
380
bus_size_t o, uint8_t *a, bus_size_t c)
sys/arch/atari/atari/be_bus.c
383
for (; c; a++, c--)
sys/arch/atari/atari/be_bus.c
389
bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/atari/atari/be_bus.c
392
for (; c; a++, c--)
sys/arch/atari/atari/be_bus.c
398
bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/atari/atari/be_bus.c
401
for (; c; a++, c--)
sys/arch/atari/atari/be_bus.c
407
bus_size_t o, uint64_t *a, bus_size_t c)
sys/arch/atari/atari/be_bus.c
410
for (; c; a++, c--)
sys/arch/atari/atari/be_bus.c
426
bus_size_t o, const uint8_t *a, bus_size_t c)
sys/arch/atari/atari/be_bus.c
429
for (; c; a++, c--)
sys/arch/atari/atari/be_bus.c
435
bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/atari/atari/be_bus.c
438
for (; c; a++, c--)
sys/arch/atari/atari/be_bus.c
444
bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/atari/atari/be_bus.c
447
for (; c; a++, c--)
sys/arch/atari/atari/be_bus.c
453
bus_size_t o, const uint64_t *a, bus_size_t c)
sys/arch/atari/atari/be_bus.c
456
for (; c; a++, c--)
sys/arch/atari/atari/be_bus.c
471
bus_size_t o, uint8_t *a, bus_size_t c)
sys/arch/atari/atari/be_bus.c
474
for (; c; a++, o++, c--)
sys/arch/atari/atari/be_bus.c
480
bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/atari/atari/be_bus.c
483
for (; c; a++, o += 2, c--)
sys/arch/atari/atari/be_bus.c
489
bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/atari/atari/be_bus.c
492
for (; c; a++, o += 4, c--)
sys/arch/atari/atari/be_bus.c
498
bus_size_t o, uint64_t *a, bus_size_t c)
sys/arch/atari/atari/be_bus.c
501
for (; c; a++, o += 8, c--)
sys/arch/atari/atari/be_bus.c
515
bus_size_t o, const uint8_t *a, bus_size_t c)
sys/arch/atari/atari/be_bus.c
518
for (; c; a++, o++, c--)
sys/arch/atari/atari/be_bus.c
524
bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/atari/atari/be_bus.c
527
for (; c; a++, o += 2, c--)
sys/arch/atari/atari/be_bus.c
533
bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/atari/atari/be_bus.c
536
for (; c; a++, o += 4, c--)
sys/arch/atari/atari/be_bus.c
542
bus_size_t o, const uint64_t *a, bus_size_t c)
sys/arch/atari/atari/be_bus.c
545
for (; c; a++, o += 8, c--)
sys/arch/atari/atari/be_bus.c
560
bus_size_t o, uint8_t v, bus_size_t c)
sys/arch/atari/atari/be_bus.c
563
for (; c; c--)
sys/arch/atari/atari/be_bus.c
569
bus_size_t o, uint16_t v, bus_size_t c)
sys/arch/atari/atari/be_bus.c
572
for (; c; c--)
sys/arch/atari/atari/be_bus.c
578
bus_size_t o, uint32_t v, bus_size_t c)
sys/arch/atari/atari/be_bus.c
581
for (; c; c--)
sys/arch/atari/atari/be_bus.c
587
bus_size_t o, uint64_t v, bus_size_t c)
sys/arch/atari/atari/be_bus.c
590
for (; c; c--)
sys/arch/atari/atari/be_bus.c
604
bus_size_t o, uint8_t v, bus_size_t c)
sys/arch/atari/atari/be_bus.c
607
for (; c; o++, c--)
sys/arch/atari/atari/be_bus.c
613
bus_size_t o, uint16_t v, bus_size_t c)
sys/arch/atari/atari/be_bus.c
616
for (; c; o += 2, c--)
sys/arch/atari/atari/be_bus.c
622
bus_size_t o, uint32_t v, bus_size_t c)
sys/arch/atari/atari/be_bus.c
625
for (; c; o += 4, c--)
sys/arch/atari/atari/be_bus.c
631
bus_size_t o, uint64_t v, bus_size_t c)
sys/arch/atari/atari/be_bus.c
634
for (; c; o += 8, c--)
sys/arch/atari/atari/le_bus.c
526
bus_size_t o, uint8_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
529
for (; c; a++, c--)
sys/arch/atari/atari/le_bus.c
534
bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
537
for (; c; a++, c--)
sys/arch/atari/atari/le_bus.c
543
bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
546
for (; c; a++, c--)
sys/arch/atari/atari/le_bus.c
552
bus_size_t o, uint64_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
555
for (; c; a++, c--)
sys/arch/atari/atari/le_bus.c
571
bus_size_t o, const uint8_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
574
for (; c; a++, c--)
sys/arch/atari/atari/le_bus.c
580
bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
583
for (; c; a++, c--)
sys/arch/atari/atari/le_bus.c
589
bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
592
for (; c; a++, c--)
sys/arch/atari/atari/le_bus.c
598
bus_size_t o, const uint64_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
601
for (; c; a++, c--)
sys/arch/atari/atari/le_bus.c
616
bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
619
for (; c; a++, c--)
sys/arch/atari/atari/le_bus.c
625
bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
628
for (; c; a++, c--)
sys/arch/atari/atari/le_bus.c
634
bus_size_t o, uint64_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
637
for (; c; a++, c--)
sys/arch/atari/atari/le_bus.c
652
bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
655
for (; c; a++, c--)
sys/arch/atari/atari/le_bus.c
661
bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
664
for (; c; a++, c--)
sys/arch/atari/atari/le_bus.c
670
bus_size_t o, const uint64_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
673
for (; c; a++, c--)
sys/arch/atari/atari/le_bus.c
688
bus_size_t o, uint8_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
691
for (; c; a++, o++, c--)
sys/arch/atari/atari/le_bus.c
697
bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
700
for (; c; a++, o += 2, c--)
sys/arch/atari/atari/le_bus.c
706
bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
709
for (; c; a++, o += 4, c--)
sys/arch/atari/atari/le_bus.c
715
bus_size_t o, uint64_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
718
for (; c; a++, o += 8, c--)
sys/arch/atari/atari/le_bus.c
732
bus_size_t o, const uint8_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
735
for (; c; a++, o++, c--)
sys/arch/atari/atari/le_bus.c
741
bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
744
for (; c; a++, o += 2, c--)
sys/arch/atari/atari/le_bus.c
750
bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
753
for (; c; a++, o += 4, c--)
sys/arch/atari/atari/le_bus.c
759
bus_size_t o, const uint64_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
762
for (; c; a++, o += 8, c--)
sys/arch/atari/atari/le_bus.c
778
bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
781
for (; c; a++, o += 2, c--)
sys/arch/atari/atari/le_bus.c
787
bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
790
for (; c; a++, o += 4, c--)
sys/arch/atari/atari/le_bus.c
796
bus_size_t o, uint64_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
799
for (; c; a++, o += 8, c--)
sys/arch/atari/atari/le_bus.c
814
bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
817
for (; c; a++, o += 2, c--)
sys/arch/atari/atari/le_bus.c
823
bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
826
for (; c; a++, o += 4, c--)
sys/arch/atari/atari/le_bus.c
832
bus_size_t o, const uint64_t *a, bus_size_t c)
sys/arch/atari/atari/le_bus.c
835
for (; c; a++, o += 8, c--)
sys/arch/atari/atari/le_bus.c
850
bus_size_t o, uint8_t v, bus_size_t c)
sys/arch/atari/atari/le_bus.c
853
for (; c; c--)
sys/arch/atari/atari/le_bus.c
859
bus_size_t o, uint16_t v, bus_size_t c)
sys/arch/atari/atari/le_bus.c
863
for (; c; c--)
sys/arch/atari/atari/le_bus.c
869
bus_size_t o, uint32_t v, bus_size_t c)
sys/arch/atari/atari/le_bus.c
873
for (; c; c--)
sys/arch/atari/atari/le_bus.c
879
bus_size_t o, uint64_t v, bus_size_t c)
sys/arch/atari/atari/le_bus.c
883
for (; c; c--)
sys/arch/atari/atari/le_bus.c
897
bus_size_t o, uint8_t v, bus_size_t c)
sys/arch/atari/atari/le_bus.c
900
for (; c; o++, c--)
sys/arch/atari/atari/le_bus.c
906
bus_size_t o, uint16_t v, bus_size_t c)
sys/arch/atari/atari/le_bus.c
910
for (; c; o += 2, c--)
sys/arch/atari/atari/le_bus.c
916
bus_size_t o, uint32_t v, bus_size_t c)
sys/arch/atari/atari/le_bus.c
920
for (; c; o += 4, c--)
sys/arch/atari/atari/le_bus.c
926
bus_size_t o, uint64_t v, bus_size_t c)
sys/arch/atari/atari/le_bus.c
930
for (; c; o += 8, c--)
sys/arch/atari/atari/mainbus.c
333
bus_size_t o, uint8_t *a, bus_size_t c)
sys/arch/atari/atari/mainbus.c
338
for (; c; a++, c--)
sys/arch/atari/atari/mainbus.c
344
bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/atari/atari/mainbus.c
349
for (; c; a++, c--)
sys/arch/atari/atari/mainbus.c
355
bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/atari/atari/mainbus.c
360
for (; c; a++, c--)
sys/arch/atari/atari/mainbus.c
366
bus_size_t o, uint64_t *a, bus_size_t c)
sys/arch/atari/atari/mainbus.c
371
for (; c; a++, c--)
sys/arch/atari/atari/mainbus.c
377
bus_size_t o, const uint8_t *a, bus_size_t c)
sys/arch/atari/atari/mainbus.c
382
for (; c; a++, c--)
sys/arch/atari/atari/mainbus.c
388
bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/atari/atari/mainbus.c
393
for (; c; a++, c--)
sys/arch/atari/atari/mainbus.c
399
bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/atari/atari/mainbus.c
404
for (; c; a++, c--)
sys/arch/atari/atari/mainbus.c
410
bus_size_t o, const uint64_t *a, bus_size_t c)
sys/arch/atari/atari/mainbus.c
415
for (; c; a++, c--)
sys/arch/atari/atari/mainbus.c
430
bus_size_t o, uint8_t *a, bus_size_t c)
sys/arch/atari/atari/mainbus.c
433
for (; c; a++, o++, c--)
sys/arch/atari/atari/mainbus.c
439
bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/atari/atari/mainbus.c
442
for (; c; a++, o += 2, c--)
sys/arch/atari/atari/mainbus.c
448
bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/atari/atari/mainbus.c
451
for (; c; a++, o += 4, c--)
sys/arch/atari/atari/mainbus.c
457
bus_size_t o, uint64_t *a, bus_size_t c)
sys/arch/atari/atari/mainbus.c
460
for (; c; a++, o += 8, c--)
sys/arch/atari/atari/mainbus.c
474
bus_size_t o, const uint8_t *a, bus_size_t c)
sys/arch/atari/atari/mainbus.c
477
for (; c; a++, o++, c--)
sys/arch/atari/atari/mainbus.c
483
bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/atari/atari/mainbus.c
486
for (; c; a++, o += 2, c--)
sys/arch/atari/atari/mainbus.c
492
bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/atari/atari/mainbus.c
495
for (; c; a++, o += 4, c--)
sys/arch/atari/atari/mainbus.c
501
bus_size_t o, const uint64_t *a, bus_size_t c)
sys/arch/atari/atari/mainbus.c
504
for (; c; a++, o += 8, c--)
sys/arch/atari/atari/mainbus.c
519
bus_size_t o, uint8_t v, bus_size_t c)
sys/arch/atari/atari/mainbus.c
524
for (; c; c--)
sys/arch/atari/atari/mainbus.c
530
bus_size_t o, uint16_t v, bus_size_t c)
sys/arch/atari/atari/mainbus.c
535
for (; c; c--)
sys/arch/atari/atari/mainbus.c
541
bus_size_t o, uint32_t v, bus_size_t c)
sys/arch/atari/atari/mainbus.c
546
for (; c; c--)
sys/arch/atari/atari/mainbus.c
552
bus_size_t o, uint64_t v, bus_size_t c)
sys/arch/atari/atari/mainbus.c
557
for (; c; c--)
sys/arch/atari/atari/mainbus.c
571
bus_size_t o, uint8_t v, bus_size_t c)
sys/arch/atari/atari/mainbus.c
574
for (; c; o++, c--)
sys/arch/atari/atari/mainbus.c
580
bus_size_t o, uint16_t v, bus_size_t c)
sys/arch/atari/atari/mainbus.c
583
for (; c; o += 2, c--)
sys/arch/atari/atari/mainbus.c
589
bus_size_t o, uint32_t v, bus_size_t c)
sys/arch/atari/atari/mainbus.c
592
for (; c; o += 4, c--)
sys/arch/atari/atari/mainbus.c
598
bus_size_t o, uint64_t v, bus_size_t c)
sys/arch/atari/atari/mainbus.c
601
for (; c; o += 8, c--)
sys/arch/atari/atari/pmap_bootstrap.c
151
#define SYSMAP(c, v, n) \
sys/arch/atari/atari/pmap_bootstrap.c
152
v = (c)va; va += ((n)*PAGE_SIZE);
sys/arch/atari/dev/if_ne_mb.c
419
bus_size_t reg, uint8_t *a, bus_size_t c)
sys/arch/atari/dev/if_ne_mb.c
424
for (; c != 0; c--)
sys/arch/atari/dev/if_ne_mb.c
430
bus_size_t reg, uint16_t *a, bus_size_t c)
sys/arch/atari/dev/if_ne_mb.c
438
bus_size_t reg, const uint8_t *a, bus_size_t c)
sys/arch/atari/dev/if_ne_mb.c
446
for (; c != 0; c--) {
sys/arch/atari/dev/if_ne_mb.c
455
bus_size_t reg, const uint16_t *a, bus_size_t c)
sys/arch/atari/dev/ite.c
1048
if (((c == 0x48) || (c == 0x4b) ||(c == 0x4d) || (c == 0x50)) &&
sys/arch/atari/dev/ite.c
1372
iteputchar(register int c, struct ite_softc *sc)
sys/arch/atari/dev/ite.c
138
static void iteputchar(int c, struct ite_softc *sc);
sys/arch/atari/dev/ite.c
1388
switch (c)
sys/arch/atari/dev/ite.c
1393
c = IND;
sys/arch/atari/dev/ite.c
1398
c = NEL;
sys/arch/atari/dev/ite.c
1403
c = HTS;
sys/arch/atari/dev/ite.c
1408
c = RI;
sys/arch/atari/dev/ite.c
1413
c = SS2;
sys/arch/atari/dev/ite.c
1418
c = SS3;
sys/arch/atari/dev/ite.c
1423
c = DCS;
sys/arch/atari/dev/ite.c
1428
c = CSI;
sys/arch/atari/dev/ite.c
1433
c = ST;
sys/arch/atari/dev/ite.c
1438
c = OSC;
sys/arch/atari/dev/ite.c
1443
c = PM;
sys/arch/atari/dev/ite.c
1448
c = APC;
sys/arch/atari/dev/ite.c
1464
sc->escape = c;
sys/arch/atari/dev/ite.c
1597
switch (c) {
sys/arch/atari/dev/ite.c
1617
switch (c)
sys/arch/atari/dev/ite.c
1638
switch (c)
sys/arch/atari/dev/ite.c
1676
switch (c)
sys/arch/atari/dev/ite.c
1682
*sc->ap++ = c;
sys/arch/atari/dev/ite.c
1787
sc->imode = (c == 'h'); /* insert/replace mode */
sys/arch/atari/dev/ite.c
1790
sc->linefeed_newline = (c == 'h');
sys/arch/atari/dev/ite.c
2094
switch (c) {
sys/arch/atari/dev/ite.c
2101
*sc->ap++ = c;
sys/arch/atari/dev/ite.c
2130
sc->cursor_appmode = (c == 'h');
sys/arch/atari/dev/ite.c
2145
sc->inside_margins = (c == 'h');
sys/arch/atari/dev/ite.c
2152
sc->auto_wrap = (c == 'h');
sys/arch/atari/dev/ite.c
2156
sc->key_repeat = (c == 'h');
sys/arch/atari/dev/ite.c
2160
sc->linefeed_newline = (c == 'h');
sys/arch/atari/dev/ite.c
2164
SUBR_CURSOR(sc, (c == 'h') ? DRAW_CURSOR : ERASE_CURSOR);
sys/arch/atari/dev/ite.c
2183
switch (c) {
sys/arch/atari/dev/ite.c
2300
if (c < ' ' || c == DEL)
sys/arch/atari/dev/ite.c
2308
SUBR_PUTC(sc, c, sc->cury, sc->curx, ATTR_INV);
sys/arch/atari/dev/ite.c
2310
SUBR_PUTC(sc, c, sc->cury, sc->curx, ATTR_NOR);
sys/arch/atari/dev/ite.c
2312
SUBR_PUTC(sc, c, sc->cury, sc->curx, sc->attribute);
sys/arch/atari/dev/ite.c
316
int c;
sys/arch/atari/dev/ite.c
319
c = kbdgetcn();
sys/arch/atari/dev/ite.c
320
c = ite_cnfilter(c, ITEFILT_CONSOLE);
sys/arch/atari/dev/ite.c
321
} while (c == -1);
sys/arch/atari/dev/ite.c
322
return (c);
sys/arch/atari/dev/ite.c
326
itecnputc(dev_t dev, int c)
sys/arch/atari/dev/ite.c
333
ch = c;
sys/arch/atari/dev/ite.c
759
ite_cnfilter(u_int c, enum caller caller)
sys/arch/atari/dev/ite.c
766
up = KBD_RELEASED(c);
sys/arch/atari/dev/ite.c
767
c = KBD_SCANCODE(c);
sys/arch/atari/dev/ite.c
784
key = kbdmap->alt_shift_keys[c];
sys/arch/atari/dev/ite.c
786
key = kbdmap->shift_keys[c];
sys/arch/atari/dev/ite.c
789
key = kbdmap->alt_keys[c];
sys/arch/atari/dev/ite.c
791
key = kbdmap->keys[c];
sys/arch/atari/dev/ite.c
796
key = kbdmap->shift_keys[c];
sys/arch/atari/dev/ite.c
858
ite_filter(u_int c, enum caller caller)
sys/arch/atari/dev/ite.c
86
#define SUBR_PUTC(sc,c,dy,dx,m) (sc)->grf->g_iteputc(sc,c,dy,dx,m)
sys/arch/atari/dev/ite.c
879
up = KBD_RELEASED(c);
sys/arch/atari/dev/ite.c
880
c = KBD_SCANCODE(c);
sys/arch/atari/dev/ite.c
906
else if (tout_pending && last_char != c) {
sys/arch/atari/dev/ite.c
918
if ((kbd_modifier == KBD_MOD_ALT) && (c >= 0x3b) && (c <= 0x44)) {
sys/arch/atari/dev/ite.c
919
ite_switch(c - 0x3b);
sys/arch/atari/dev/ite.c
926
if (kbd_modifier == (KBD_MOD_ALT | KBD_MOD_LSHIFT) && c == 0x3b) {
sys/arch/atari/dev/ite.c
933
c == 0x43) {
sys/arch/atari/dev/ite.c
956
key = kbdmap->alt_shift_keys[c];
sys/arch/atari/dev/ite.c
958
key = kbdmap->shift_keys[c];
sys/arch/atari/dev/ite.c
961
key = kbdmap->alt_keys[c];
sys/arch/atari/dev/ite.c
963
key = kbdmap->keys[c];
sys/arch/atari/dev/ite.c
968
key = kbdmap->shift_keys[c];
sys/arch/atari/dev/ite.c
981
last_char = c;
sys/arch/atari/dev/ite.c
987
last_char = c;
sys/arch/atari/dev/ite_cc.c
572
putc8(struct ite_softc *ip, int c, int dy, int dx, int mode)
sys/arch/atari/dev/ite_cc.c
582
if (c < ip->font.font_lo || c > ip->font.font_hi)
sys/arch/atari/dev/ite_cc.c
591
if (ip->font.font_lo == 0 && c >= 0x5f && c <= 0x7e)
sys/arch/atari/dev/ite_cc.c
592
c -= 0x5f;
sys/arch/atari/dev/ite_cc.c
594
ft = cci->font_cell[c];
sys/arch/atari/dev/ite_et.c
488
et_putc(struct ite_softc *ip, int c, int dy, int dx, int mode)
sys/arch/atari/dev/ite_et.c
500
if (ip->font.font_lo == 0 && c >= 0x5f && c <= 0x7e)
sys/arch/atari/dev/ite_et.c
501
c -= 0x5f;
sys/arch/atari/dev/ite_et.c
510
cp[(dy * ip->cols) + dx] = (c << 8) | attr;
sys/arch/atari/dev/ite_et.c
579
u_char *c, *f, tmp;
sys/arch/atari/dev/ite_et.c
630
for (z = 0, c = fb; z < 256 * 32; z++)
sys/arch/atari/dev/ite_et.c
631
*c++ = 0;
sys/arch/atari/dev/ite_et.c
633
c = (unsigned char *) (fb) + (32 * fd->font_lo);
sys/arch/atari/dev/ite_et.c
636
for (; z <= fd->font_hi; z++, c += (32 - fd->height))
sys/arch/atari/dev/ite_et.c
638
*c++ = *f++;
sys/arch/atari/dev/ite_et.c
87
void et_putc(struct ite_softc *ip, int c, int dy, int dx, int mode);
sys/arch/atari/dev/kbd.c
857
kbd_enable(void *c, int on)
sys/arch/atari/dev/kbd.c
865
kbd_set_leds(void *c, int leds)
sys/arch/atari/dev/kbd.c
872
kbd_ioctl(void *c, u_long cmd, void *data, int flag, struct lwp *p)
sys/arch/atari/dev/kbd.c
899
kbd_getc(void *c, u_int *type, int *data)
sys/arch/atari/dev/kbd.c
910
kbd_pollc(void *c, int on)
sys/arch/atari/dev/ncr5380var.h
45
#define DBG_PIOPRINT(a, b, c) printf(a, b, c)
sys/arch/atari/dev/ncr5380var.h
47
#define DBG_PIOPRINT(a, b, c)
sys/arch/atari/dev/ncr5380var.h
51
#define DBG_INFPRINT(a, b, c) a(b, c)
sys/arch/atari/dev/ncr5380var.h
53
#define DBG_INFPRINT(a, b, c)
sys/arch/atari/dev/ser.c
1429
uint8_t stat, c;
sys/arch/atari/dev/ser.c
1437
c = MFP->mf_udr;
sys/arch/atari/dev/ser.c
1439
c = MFP->mf_udr;
sys/arch/atari/dev/ser.c
1441
return c;
sys/arch/atari/dev/ser.c
1449
sercnputc(dev_t dev, int c)
sys/arch/atari/dev/ser.c
1468
MFP->mf_udr = c;
sys/arch/atari/dev/wdc_mb.c
267
uint16_t *a, bus_size_t c)
sys/arch/atari/dev/wdc_mb.c
272
for (; c; a++, c--)
sys/arch/atari/dev/wdc_mb.c
278
const uint16_t *a, bus_size_t c)
sys/arch/atari/dev/wdc_mb.c
283
for (; c; a++, c--)
sys/arch/atari/dev/zs.c
658
int c;
sys/arch/atari/dev/zs.c
664
c = ZS_READ(zc, 1);
sys/arch/atari/dev/zs.c
665
c |= (zc->zc_data << 8);
sys/arch/atari/dev/zs.c
671
return ZRING_MAKE(ZRING_RINT, c);
sys/arch/atari/dev/zs.c
746
int chan, get, n, c, cc, s;
sys/arch/atari/dev/zs.c
779
c = cs->cs_rbuf[get++ & ZLRB_RING_MASK];
sys/arch/atari/dev/zs.c
780
switch (ZRING_TYPE(c)) {
sys/arch/atari/dev/zs.c
783
c = ZRING_VALUE(c);
sys/arch/atari/dev/zs.c
784
if ((c & ZSRR1_DO) != 0)
sys/arch/atari/dev/zs.c
786
cc = c >> 8;
sys/arch/atari/dev/zs.c
787
if ((c & ZSRR1_FE) != 0)
sys/arch/atari/dev/zs.c
789
if ((c & ZSRR1_PE) != 0)
sys/arch/atari/dev/zs.c
803
c = zc->zc_csr;
sys/arch/atari/dev/zs.c
804
if ((c & ZSRR0_DCD) == 0)
sys/arch/atari/dev/zs.c
833
c = ZRING_VALUE(c);
sys/arch/atari/dev/zs.c
834
if (((c ^ cs->cs_rr0) & ZSRR0_DCD) != 0) {
sys/arch/atari/dev/zs.c
835
cc = (c & ZSRR0_DCD) != 0;
sys/arch/atari/dev/zs.c
841
cs->cs_rr0 = c;
sys/arch/atari/dev/zs.c
846
chan >> 1, (chan & 1) + 'a', c);
sys/arch/atari/dev/zsvar.h
176
#define ZS_READ(c, r) ((c)->zc_csr = (r), (c)->zc_csr)
sys/arch/atari/dev/zsvar.h
177
#define ZS_WRITE(c, r, v) ((c)->zc_csr = (r), (c)->zc_csr = (v))
sys/arch/atari/include/bus_funcs.h
105
#define __abs_nonsingle(type, sz, t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
106
(*(t)->__abs_opname(type,sz))(t, h, o, a, c)
sys/arch/atari/include/bus_funcs.h
107
#define __abs_set(type, sz, t, h, o, v, c) \
sys/arch/atari/include/bus_funcs.h
108
(*(t)->__abs_opname(type,sz))(t, h, o, v, c)
sys/arch/atari/include/bus_funcs.h
116
(*(t)->__abs_opname(c,sz))(t, h1, o1, h2, o2, cnt)
sys/arch/atari/include/bus_funcs.h
152
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
153
__abs_nonsingle(rm,1,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
154
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
155
__abs_nonsingle(rm,2,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
156
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
157
__abs_nonsingle(rm,4,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
158
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
159
__abs_nonsingle(rm,8,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
164
#define bus_space_read_multi_stream_1(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
165
__abs_nonsingle(rms,1,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
166
#define bus_space_read_multi_stream_2(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
167
__abs_nonsingle(rms,2,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
168
#define bus_space_read_multi_stream_4(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
169
__abs_nonsingle(rms,4,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
170
#define bus_space_read_multi_stream_8(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
171
__abs_nonsingle(rms,8,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
177
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
178
__abs_nonsingle(rr,1,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
179
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
180
__abs_nonsingle(rr,2,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
181
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
182
__abs_nonsingle(rr,4,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
183
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
184
__abs_nonsingle(rr,8,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
189
#define bus_space_read_region_stream_1(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
190
__abs_nonsingle(rrs,1,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
191
#define bus_space_read_region_stream_2(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
192
__abs_nonsingle(rrs,2,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
193
#define bus_space_read_region_stream_4(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
194
__abs_nonsingle(rrs,4,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
195
#define bus_space_read_region_stream_8(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
196
__abs_nonsingle(rrs,8,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
218
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
219
__abs_nonsingle(wm,1,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
220
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
221
__abs_nonsingle(wm,2,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
222
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
223
__abs_nonsingle(wm,4,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
224
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
225
__abs_nonsingle(wm,8,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
230
#define bus_space_write_multi_stream_1(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
231
__abs_nonsingle(wms,1,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
232
#define bus_space_write_multi_stream_2(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
233
__abs_nonsingle(wms,2,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
234
#define bus_space_write_multi_stream_4(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
235
__abs_nonsingle(wms,4,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
236
#define bus_space_write_multi_stream_8(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
237
__abs_nonsingle(wms,8,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
243
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
244
__abs_nonsingle(wr,1,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
245
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
246
__abs_nonsingle(wr,2,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
247
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
248
__abs_nonsingle(wr,4,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
249
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
250
__abs_nonsingle(wr,8,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
255
#define bus_space_write_region_stream_1(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
256
__abs_nonsingle(wrs,1,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
257
#define bus_space_write_region_stream_2(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
258
__abs_nonsingle(wrs,2,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
259
#define bus_space_write_region_stream_4(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
260
__abs_nonsingle(wrs,4,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
261
#define bus_space_write_region_stream_8(t, h, o, a, c) \
sys/arch/atari/include/bus_funcs.h
262
__abs_nonsingle(wrs,8,(t),(h),(o),(a),(c))
sys/arch/atari/include/bus_funcs.h
268
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/arch/atari/include/bus_funcs.h
269
__abs_set(sm,1,(t),(h),(o),(v),(c))
sys/arch/atari/include/bus_funcs.h
270
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/arch/atari/include/bus_funcs.h
271
__abs_set(sm,2,(t),(h),(o),(v),(c))
sys/arch/atari/include/bus_funcs.h
272
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/arch/atari/include/bus_funcs.h
273
__abs_set(sm,4,(t),(h),(o),(v),(c))
sys/arch/atari/include/bus_funcs.h
274
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/arch/atari/include/bus_funcs.h
275
__abs_set(sm,8,(t),(h),(o),(v),(c))
sys/arch/atari/include/bus_funcs.h
281
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/atari/include/bus_funcs.h
282
__abs_set(sr,1,(t),(h),(o),(v),(c))
sys/arch/atari/include/bus_funcs.h
283
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/atari/include/bus_funcs.h
284
__abs_set(sr,2,(t),(h),(o),(v),(c))
sys/arch/atari/include/bus_funcs.h
285
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/atari/include/bus_funcs.h
286
__abs_set(sr,4,(t),(h),(o),(v),(c))
sys/arch/atari/include/bus_funcs.h
287
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arch/atari/include/bus_funcs.h
288
__abs_set(sr,8,(t),(h),(o),(v),(c))
sys/arch/atari/include/bus_funcs.h
294
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arch/atari/include/bus_funcs.h
295
__abs_copy(1, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/atari/include/bus_funcs.h
296
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arch/atari/include/bus_funcs.h
297
__abs_copy(2, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/atari/include/bus_funcs.h
298
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arch/atari/include/bus_funcs.h
299
__abs_copy(4, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/atari/include/bus_funcs.h
300
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arch/atari/include/bus_funcs.h
301
__abs_copy(8, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/atari/include/isa_machdep.h
100
#define isa_dmamap_create(ic, c, s, f) \
sys/arch/atari/include/isa_machdep.h
101
_isa_dmamap_create(&(ic)->ic_dmastate, (c), (s), (f))
sys/arch/atari/include/isa_machdep.h
102
#define isa_dmamap_destroy(ic, c) \
sys/arch/atari/include/isa_machdep.h
103
_isa_dmamap_destroy(&(ic)->ic_dmastate, (c))
sys/arch/atari/include/isa_machdep.h
104
#define isa_dmastart(ic, c, a, n, p, f, bf) \
sys/arch/atari/include/isa_machdep.h
105
_isa_dmastart(&(ic)->ic_dmastate, (c), (a), (n), (p), (f), (bf))
sys/arch/atari/include/isa_machdep.h
106
#define isa_dmaabort(ic, c) \
sys/arch/atari/include/isa_machdep.h
107
_isa_dmaabort(&(ic)->ic_dmastate, (c))
sys/arch/atari/include/isa_machdep.h
108
#define isa_dmacount(ic, c) \
sys/arch/atari/include/isa_machdep.h
109
_isa_dmacount(&(ic)->ic_dmastate, (c))
sys/arch/atari/include/isa_machdep.h
110
#define isa_dmafinished(ic, c) \
sys/arch/atari/include/isa_machdep.h
111
_isa_dmafinished(&(ic)->ic_dmastate, (c))
sys/arch/atari/include/isa_machdep.h
112
#define isa_dmadone(ic, c) \
sys/arch/atari/include/isa_machdep.h
113
_isa_dmadone(&(ic)->ic_dmastate, (c))
sys/arch/atari/include/isa_machdep.h
118
#define isa_dmamem_alloc(ic, c, s, ap, f) \
sys/arch/atari/include/isa_machdep.h
119
_isa_dmamem_alloc(&(ic)->ic_dmastate, (c), (s), (ap), (f))
sys/arch/atari/include/isa_machdep.h
120
#define isa_dmamem_free(ic, c, a, s) \
sys/arch/atari/include/isa_machdep.h
121
_isa_dmamem_free(&(ic)->ic_dmastate, (c), (a), (s))
sys/arch/atari/include/isa_machdep.h
122
#define isa_dmamem_map(ic, c, a, s, kp, f) \
sys/arch/atari/include/isa_machdep.h
123
_isa_dmamem_map(&(ic)->ic_dmastate, (c), (a), (s), (kp), (f))
sys/arch/atari/include/isa_machdep.h
124
#define isa_dmamem_unmap(ic, c, k, s) \
sys/arch/atari/include/isa_machdep.h
125
_isa_dmamem_unmap(&(ic)->ic_dmastate, (c), (k), (s))
sys/arch/atari/include/isa_machdep.h
126
#define isa_dmamem_mmap(ic, c, a, s, o, p, f) \
sys/arch/atari/include/isa_machdep.h
127
_isa_dmamem_mmap(&(ic)->ic_dmastate, (c), (a), (s), (o), (p), (f))
sys/arch/atari/include/isa_machdep.h
128
#define isa_drq_alloc(ic, c) \
sys/arch/atari/include/isa_machdep.h
129
_isa_drq_alloc(&(ic)->ic_dmastate, c)
sys/arch/atari/include/isa_machdep.h
130
#define isa_drq_free(ic, c) \
sys/arch/atari/include/isa_machdep.h
131
_isa_drq_free(&(ic)->ic_dmastate, c)
sys/arch/atari/include/isa_machdep.h
132
#define isa_drq_isfree(ic, c) \
sys/arch/atari/include/isa_machdep.h
133
_isa_drq_isfree(&(ic)->ic_dmastate, (c))
sys/arch/atari/include/isa_machdep.h
134
#define isa_malloc(ic, c, s, p, f) \
sys/arch/atari/include/isa_machdep.h
135
_isa_malloc(&(ic)->ic_dmastate, (c), (s), (p), (f))
sys/arch/atari/include/isa_machdep.h
96
#define isa_dmacascade(ic, c) \
sys/arch/atari/include/isa_machdep.h
97
_isa_dmacascade(&(ic)->ic_dmastate, (c))
sys/arch/atari/include/isa_machdep.h
98
#define isa_dmamaxsize(ic, c) \
sys/arch/atari/include/isa_machdep.h
99
_isa_dmamaxsize(&(ic)->ic_dmastate, (c))
sys/arch/atari/pci/pci_vga.c
293
uint8_t *c, *f, tmp;
sys/arch/atari/pci/pci_vga.c
313
for (z = 0, c = fb; z < 256 * 32; z++)
sys/arch/atari/pci/pci_vga.c
314
*c++ = 0;
sys/arch/atari/pci/pci_vga.c
316
c = (uint8_t *)(fb) + (32 * fd->font_lo);
sys/arch/atari/pci/pci_vga.c
319
for (; z <= fd->font_hi; z++, c += (32 - fd->height))
sys/arch/atari/pci/pci_vga.c
321
*c++ = *f++;
sys/arch/atari/stand/bootpref/bootpref.c
88
int c, set = 0, verbose = 0;
sys/arch/atari/stand/bootpref/bootpref.c
97
while ((c = getopt (argc, argv, "Vb:d:k:l:s:f:12e:c:nptv48oOxXiI")) != -1) {
sys/arch/atari/stand/bootpref/bootpref.c
98
switch (c) {
sys/arch/atari/stand/bootxx/bootxx.c
105
char c, *p = line;
sys/arch/atari/stand/bootxx/bootxx.c
120
if ((c = *p) >= 'a' && c <= 'z')
sys/arch/atari/stand/bootxx/bootxx.c
121
od->rootfs = c - 'a';
sys/arch/atari/stand/bootxx/bootxx.c
122
else if (c >= 'A' && c <= 'Z')
sys/arch/atari/stand/bootxx/bootxx.c
123
od->rootfs = c - ('A' - 27);
sys/arch/atari/stand/bootxx/bootxx.c
132
if ((c = *p) == 'a')
sys/arch/atari/stand/bootxx/bootxx.c
134
else if (c == 'b')
sys/arch/atari/stand/bootxx/bootxx.c
137
BOOT_FLAG(c, od->boothowto);
sys/arch/atari/stand/bootxx/bootxx.c
149
while ((c = *p) && !isspace(c))
sys/arch/atari/stand/bootxx/bootxx.c
154
c = od->ostype[0];
sys/arch/atari/stand/bootxx/bootxx.c
155
if (isupper(c))
sys/arch/atari/stand/bootxx/bootxx.c
156
c = tolower(c);
sys/arch/atari/stand/bootxx/bootxx.c
158
switch (c) {
sys/arch/atari/stand/edahdi/edahdi.c
267
char c[1];
sys/arch/atari/stand/edahdi/edahdi.c
274
if ((nch = read (0, c, 1)) != 1) {
sys/arch/atari/stand/edahdi/edahdi.c
279
switch (*c) {
sys/arch/atari/stand/edahdi/edahdi.c
293
if (isspace((unsigned char)*c)) {
sys/arch/atari/stand/edahdi/edahdi.c
298
else if (isdigit((unsigned char)*c)) {
sys/arch/atari/stand/edahdi/edahdi.c
299
*value = (10 * *value) + *c - '0';
sys/arch/atari/stand/edahdi/edahdi.c
310
while (read (0, c, 1) == 1)
sys/arch/atari/stand/edahdi/edahdi.c
311
if ((*c == '\n') || (*c == '\r'))
sys/arch/atari/stand/installboot/installboot.c
104
int fd, c;
sys/arch/atari/stand/installboot/installboot.c
113
while ((c = getopt(argc, argv, "Nmt:u:v")) != -1) {
sys/arch/atari/stand/installboot/installboot.c
114
switch (c) {
sys/arch/atari/stand/tostools/chg_pid/chg_pid.c
112
int c;
sys/arch/atari/stand/tostools/chg_pid/chg_pid.c
117
while ((c = getopt(argc, argv, "htVwo:")) != -1) {
sys/arch/atari/stand/tostools/chg_pid/chg_pid.c
118
switch (c) {
sys/arch/atari/stand/tostools/chg_pid/chg_pid.c
163
c = key_wait("Are you sure (y/n)? ");
sys/arch/atari/stand/tostools/chg_pid/chg_pid.c
164
else c = 'y';
sys/arch/atari/stand/tostools/chg_pid/chg_pid.c
165
switch(c) {
sys/arch/atari/stand/tostools/file2swp/file2swp.c
129
while ((c = read(fd, buf, sizeof(buf))) > 0) {
sys/arch/atari/stand/tostools/file2swp/file2swp.c
79
int rv, c, fd;
sys/arch/atari/stand/tostools/file2swp/file2swp.c
87
while ((c = getopt(argc, argv, "Vf:ho:w")) != -1) {
sys/arch/atari/stand/tostools/file2swp/file2swp.c
88
switch (c) {
sys/arch/atari/stand/tostools/libtos/cread.c
145
int c;
sys/arch/atari/stand/tostools/libtos/cread.c
149
c = get_byte(s);
sys/arch/atari/stand/tostools/libtos/cread.c
150
if (c == EOF)
sys/arch/atari/stand/tostools/libtos/cread.c
152
x += ((unsigned long)c)<<24;
sys/arch/atari/stand/tostools/libtos/cread.c
162
int c;
sys/arch/atari/stand/tostools/libtos/cread.c
166
c = get_byte(s);
sys/arch/atari/stand/tostools/libtos/cread.c
167
if (c == gz_magic[len])
sys/arch/atari/stand/tostools/libtos/cread.c
169
if ((c == EOF) && (len == 0)) {
sys/arch/atari/stand/tostools/libtos/cread.c
180
if (c != EOF) {
sys/arch/atari/stand/tostools/libtos/cread.c
208
while ((c = get_byte(s)) != 0 && c != EOF) /*void*/;
sys/arch/atari/stand/tostools/libtos/cread.c
212
while ((c = get_byte(s)) != 0 && c != EOF) /*void*/;
sys/arch/atari/stand/tostools/libtos/keywait.c
42
char c;
sys/arch/atari/stand/tostools/libtos/keywait.c
57
read(STDERR_FILENO, &c, 1);
sys/arch/atari/stand/tostools/libtos/keywait.c
63
return(c);
sys/arch/bebox/include/isa_machdep.h
51
#define isa_detach_hook(c, s) \
sys/arch/bebox/include/isa_machdep.h
52
genppc_isa_detach_hook(c, s)
sys/arch/bebox/include/loadfile_machdep.h
39
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/bebox/include/loadfile_machdep.h
40
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/bebox/include/loadfile_machdep.h
41
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/bebox/stand/boot/boot.c
153
char c, *ptr;
sys/arch/bebox/stand/boot/boot.c
178
while ((c = *ptr)) {
sys/arch/bebox/stand/boot/boot.c
179
while (c == ' ')
sys/arch/bebox/stand/boot/boot.c
180
c = *++ptr;
sys/arch/bebox/stand/boot/boot.c
181
if (!c)
sys/arch/bebox/stand/boot/boot.c
183
if (c == '-') {
sys/arch/bebox/stand/boot/boot.c
184
while ((c = *++ptr) && c != ' ')
sys/arch/bebox/stand/boot/boot.c
185
BOOT_FLAG(c, howto);
sys/arch/bebox/stand/boot/boot.c
188
while ((c = *++ptr) && c != ' ');
sys/arch/bebox/stand/boot/boot.c
189
if (c)
sys/arch/bebox/stand/boot/cons.c
127
cnputc(int c)
sys/arch/bebox/stand/boot/cons.c
131
(*cn_tab->cn_putc)(cn_tab->cn_dev, c);
sys/arch/bebox/stand/boot/cons.c
171
becnputchar(void *dev, register int c)
sys/arch/bebox/stand/boot/cons.c
174
video_putc(c);
sys/arch/bebox/stand/boot/cons.c
213
vgacnputchar(void *dev, register int c)
sys/arch/bebox/stand/boot/cons.c
216
vga_putc(c);
sys/arch/bebox/stand/boot/cons.c
253
siocnputchar(void *dev, register int c)
sys/arch/bebox/stand/boot/cons.c
256
if (c == '\n')
sys/arch/bebox/stand/boot/cons.c
258
NS16550_putc((struct NS16550 *)dev, c);
sys/arch/bebox/stand/boot/kbd.c
173
u_char c;
sys/arch/bebox/stand/boot/kbd.c
182
if ((c = inb(KBDATAP)) != 0x55) {
sys/arch/bebox/stand/boot/kbd.c
183
printf("Keyboard self test failed - result: %x\n", c);
sys/arch/bebox/stand/boot/kbd.c
202
int c;
sys/arch/bebox/stand/boot/kbd.c
203
while ((c = kbd(0)) == 0)
sys/arch/bebox/stand/boot/kbd.c
205
return (c);
sys/arch/bebox/stand/boot/ns16550.c
63
NS16550_putc(volatile struct NS16550 *com_port, int c)
sys/arch/bebox/stand/boot/ns16550.c
67
com_port->thr = c;
sys/arch/bebox/stand/boot/prf.c
36
putchar(int c)
sys/arch/bebox/stand/boot/prf.c
39
cnputc(c);
sys/arch/bebox/stand/boot/tgets.c
40
register int c;
sys/arch/bebox/stand/boot/tgets.c
49
if ((c = cnscan()) != -1)
sys/arch/bebox/stand/boot/tgets.c
56
c = getchar();
sys/arch/bebox/stand/boot/tgets.c
58
for (lp = buf;; c = getchar()) {
sys/arch/bebox/stand/boot/tgets.c
59
switch (c & 0177) {
sys/arch/bebox/stand/boot/tgets.c
88
*lp++ = c;
sys/arch/bebox/stand/boot/tgets.c
89
putchar(c);
sys/arch/bebox/stand/boot/vga.c
125
#define wrtchar(c, d) { \
sys/arch/bebox/stand/boot/vga.c
126
*(d->cp) = c; \
sys/arch/bebox/stand/boot/vga.c
150
vga_putc(int c)
sys/arch/bebox/stand/boot/vga.c
161
switch (c) {
sys/arch/bebox/stand/boot/vga.c
196
wrtchar(d->color_so|(c<<8), d);
sys/arch/bebox/stand/boot/vga.c
198
wrtchar(d->color | (c<<8), d);
sys/arch/bebox/stand/boot/vga.c
212
switch (c) {
sys/arch/bebox/stand/boot/vga.c
299
if ((c >= '0') && (c <= '9')) {
sys/arch/bebox/stand/boot/vga.c
301
*(d->accp) += c - '0';
sys/arch/bebox/stand/boot/vga.c
323
switch (c) {
sys/arch/bebox/stand/boot/vga.c
355
if ((c >= '0') && (c <= '9')) {
sys/arch/bebox/stand/boot/vga.c
357
d->cx += c - '0';
sys/arch/bebox/stand/boot/vga.c
367
switch (c) {
sys/arch/bebox/stand/boot/vga.c
397
char c;
sys/arch/bebox/stand/boot/vga.c
398
while ((c = *s++)) {
sys/arch/bebox/stand/boot/vga.c
399
vga_putc(c);
sys/arch/bebox/stand/boot/video.c
129
video_putc(int c)
sys/arch/bebox/stand/boot/video.c
137
switch (c) {
sys/arch/bebox/stand/boot/video.c
174
wrtchar(c, d);
sys/arch/bebox/stand/boot/video.c
85
wrtchar(u_char c, struct screen *d)
sys/arch/bebox/stand/boot/video.c
89
int fontbase = c * 16;
sys/arch/cesfic/cesfic/eeprom.c
100
c = -1;
sys/arch/cesfic/cesfic/eeprom.c
102
c -= data[i];
sys/arch/cesfic/cesfic/eeprom.c
103
return (c);
sys/arch/cesfic/cesfic/eeprom.c
98
CHECKSUM c;
sys/arch/cesfic/cesfic/machdep.c
153
void zs_kgdb_cnputc(dev_t dev, int c)
sys/arch/cesfic/cesfic/machdep.c
155
zscnputc(dev, c);
sys/arch/cesfic/dev/zs.c
359
int s, c;
sys/arch/cesfic/dev/zs.c
378
c = *cs->cs_reg_data;
sys/arch/cesfic/dev/zs.c
382
return (c);
sys/arch/cesfic/dev/zs.c
389
zs_putc(void *arg, int c)
sys/arch/cesfic/dev/zs.c
402
*cs->cs_reg_data = c;
sys/arch/cesfic/dev/zs.c
411
int c;
sys/arch/cesfic/dev/zs.c
413
c = zs_getc(cs);
sys/arch/cesfic/dev/zs.c
414
return (c);
sys/arch/cesfic/dev/zs.c
418
zscnputc(dev_t dev, int c)
sys/arch/cesfic/dev/zs.c
422
zs_putc(cs, c);
sys/arch/cobalt/dev/zs.c
459
int s, c;
sys/arch/cobalt/dev/zs.c
469
c = *cs->cs_reg_data;
sys/arch/cobalt/dev/zs.c
473
return c;
sys/arch/cobalt/dev/zs.c
480
zs_putc(void *arg, int c)
sys/arch/cobalt/dev/zs.c
493
*cs->cs_reg_data = c;
sys/arch/cobalt/dev/zs.c
549
zscnputc(dev_t dev, int c)
sys/arch/cobalt/dev/zs.c
552
zs_putc((void *)zs_conschan, c);
sys/arch/cobalt/include/loadfile_machdep.h
43
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/cobalt/include/loadfile_machdep.h
44
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/cobalt/include/loadfile_machdep.h
45
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/cobalt/stand/boot/boot.c
226
char c, namebuf[PATH_MAX];
sys/arch/cobalt/stand/boot/boot.c
290
while ((c = *ptr) != '\0') {
sys/arch/cobalt/stand/boot/boot.c
291
while (c == ' ')
sys/arch/cobalt/stand/boot/boot.c
292
c = *++ptr;
sys/arch/cobalt/stand/boot/boot.c
293
if (c == '\0')
sys/arch/cobalt/stand/boot/boot.c
295
if (c == '-') {
sys/arch/cobalt/stand/boot/boot.c
296
while ((c = *++ptr) && c != ' ')
sys/arch/cobalt/stand/boot/boot.c
297
BOOT_FLAG(c, *howtop);
sys/arch/cobalt/stand/boot/boot.c
300
while ((c = *++ptr) && c != ' ')
sys/arch/cobalt/stand/boot/boot.c
302
if (c)
sys/arch/cobalt/stand/boot/cons.c
124
cnputc(int c)
sys/arch/cobalt/stand/boot/cons.c
128
(*cn_tab->cn_putc)(cn_tab->cn_dev, c);
sys/arch/cobalt/stand/boot/cons.c
168
comcnputchar(void *dev, int c)
sys/arch/cobalt/stand/boot/cons.c
171
if (c == '\n')
sys/arch/cobalt/stand/boot/cons.c
173
com_putc(dev, c);
sys/arch/cobalt/stand/boot/cons.c
212
zscnputchar(void *dev, int c)
sys/arch/cobalt/stand/boot/cons.c
215
if (c == '\n')
sys/arch/cobalt/stand/boot/cons.c
217
zs_putc(dev, c);
sys/arch/cobalt/stand/boot/devopen.c
69
#define isnum(c) (((c) >= '0') && ((c) <= '9'))
sys/arch/cobalt/stand/boot/devopen.c
70
#define isalpha(c) (((c) >= 'a') && ((c) <= 'z'))
sys/arch/cobalt/stand/boot/ns16550.c
67
com_putc(void *dev, int c)
sys/arch/cobalt/stand/boot/ns16550.c
74
CSR_WRITE(com_port, com_data, c);
sys/arch/cobalt/stand/boot/prf.c
36
putchar(int c)
sys/arch/cobalt/stand/boot/prf.c
39
cnputc(c);
sys/arch/cobalt/stand/boot/tgets.c
42
int c;
sys/arch/cobalt/stand/boot/tgets.c
51
if ((c = cnscan()) != -1)
sys/arch/cobalt/stand/boot/tgets.c
58
c = getchar();
sys/arch/cobalt/stand/boot/tgets.c
60
for (lp = buf;; c = getchar()) {
sys/arch/cobalt/stand/boot/tgets.c
61
switch (c & 0177) {
sys/arch/cobalt/stand/boot/tgets.c
90
*lp++ = c;
sys/arch/cobalt/stand/boot/tgets.c
91
putchar(c);
sys/arch/cobalt/stand/boot/zs.c
138
zs_putc(void *dev, int c)
sys/arch/cobalt/stand/boot/zs.c
146
zs_write(dev, ZS_DATA, c);
sys/arch/dreamcast/include/bus_funcs.h
150
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
151
__dbs_nonsingle(rm,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/dreamcast/include/bus_funcs.h
152
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
153
__dbs_nonsingle(rm,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/dreamcast/include/bus_funcs.h
154
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
155
__dbs_nonsingle(rm,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/dreamcast/include/bus_funcs.h
156
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
157
__dbs_nonsingle(rm,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/dreamcast/include/bus_funcs.h
163
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
164
__dbs_nonsingle(rr,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/dreamcast/include/bus_funcs.h
165
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
166
__dbs_nonsingle(rr,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/dreamcast/include/bus_funcs.h
167
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
168
__dbs_nonsingle(rr,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/dreamcast/include/bus_funcs.h
169
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
170
__dbs_nonsingle(rr,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/dreamcast/include/bus_funcs.h
185
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
186
__dbs_nonsingle(wm,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/dreamcast/include/bus_funcs.h
187
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
188
__dbs_nonsingle(wm,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/dreamcast/include/bus_funcs.h
189
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
190
__dbs_nonsingle(wm,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/dreamcast/include/bus_funcs.h
191
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
192
__dbs_nonsingle(wm,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/dreamcast/include/bus_funcs.h
198
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
199
__dbs_nonsingle(wr,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/dreamcast/include/bus_funcs.h
200
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
201
__dbs_nonsingle(wr,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/dreamcast/include/bus_funcs.h
202
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
203
__dbs_nonsingle(wr,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/dreamcast/include/bus_funcs.h
204
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
205
__dbs_nonsingle(wr,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/dreamcast/include/bus_funcs.h
211
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/arch/dreamcast/include/bus_funcs.h
212
__dbs_set(sm,1,uint8_t,(t),(h),(o),(v),(c))
sys/arch/dreamcast/include/bus_funcs.h
213
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/arch/dreamcast/include/bus_funcs.h
214
__dbs_set(sm,2,uint16_t,(t),(h),(o),(v),(c))
sys/arch/dreamcast/include/bus_funcs.h
215
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/arch/dreamcast/include/bus_funcs.h
216
__dbs_set(sm,4,uint32_t,(t),(h),(o),(v),(c))
sys/arch/dreamcast/include/bus_funcs.h
217
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/arch/dreamcast/include/bus_funcs.h
218
__dbs_set(sm,8,uint64_t,(t),(h),(o),(v),(c))
sys/arch/dreamcast/include/bus_funcs.h
224
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/dreamcast/include/bus_funcs.h
225
__dbs_set(sr,1,uint8_t,(t),(h),(o),(v),(c))
sys/arch/dreamcast/include/bus_funcs.h
226
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/dreamcast/include/bus_funcs.h
227
__dbs_set(sr,2,uint16_t,(t),(h),(o),(v),(c))
sys/arch/dreamcast/include/bus_funcs.h
228
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/dreamcast/include/bus_funcs.h
229
__dbs_set(sr,4,uint32_t,(t),(h),(o),(v),(c))
sys/arch/dreamcast/include/bus_funcs.h
230
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arch/dreamcast/include/bus_funcs.h
231
__dbs_set(sr,8,uint64_t,(t),(h),(o),(v),(c))
sys/arch/dreamcast/include/bus_funcs.h
237
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arch/dreamcast/include/bus_funcs.h
238
__dbs_copy(1, uint8_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/dreamcast/include/bus_funcs.h
239
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arch/dreamcast/include/bus_funcs.h
240
__dbs_copy(2, uint16_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/dreamcast/include/bus_funcs.h
241
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arch/dreamcast/include/bus_funcs.h
242
__dbs_copy(4, uint32_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/dreamcast/include/bus_funcs.h
243
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arch/dreamcast/include/bus_funcs.h
244
__dbs_copy(8, uint64_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/dreamcast/include/bus_funcs.h
80
#define __dbs_nonsingle(type, sz, tn, t, h, o, a, c) \
sys/arch/dreamcast/include/bus_funcs.h
84
(*(t)->__dbs_opname(type,sz))((t)->dbs_cookie, h, o, a, c); \
sys/arch/dreamcast/include/bus_funcs.h
87
#define __dbs_set(type, sz, tn, t, h, o, v, c) \
sys/arch/dreamcast/include/bus_funcs.h
90
(*(t)->__dbs_opname(type,sz))((t)->dbs_cookie, h, o, v, c); \
sys/arch/dreamcast/include/bus_funcs.h
97
(*(t)->__dbs_opname(c,sz))((t)->dbs_cookie, h1, o1, h2, o2, cnt); \
sys/arch/dreamcast/include/pci_machdep.h
76
#define pci_bus_maxdevs(c, b) \
sys/arch/dreamcast/include/pci_machdep.h
77
(*(c)->pc_bus_maxdevs)((c)->pc_conf_v, (b))
sys/arch/dreamcast/include/pci_machdep.h
78
#define pci_make_tag(c, b, d, f) \
sys/arch/dreamcast/include/pci_machdep.h
79
(*(c)->pc_make_tag)((c)->pc_conf_v, (b), (d), (f))
sys/arch/dreamcast/include/pci_machdep.h
80
#define pci_decompose_tag(c, t, bp, dp, fp) \
sys/arch/dreamcast/include/pci_machdep.h
81
(*(c)->pc_decompose_tag)((c)->pc_conf_v, (t), (bp), (dp), (fp))
sys/arch/dreamcast/include/pci_machdep.h
82
#define pci_conf_read(c, t, r) \
sys/arch/dreamcast/include/pci_machdep.h
83
(*(c)->pc_conf_read)((c)->pc_conf_v, (t), (r))
sys/arch/dreamcast/include/pci_machdep.h
84
#define pci_conf_write(c, t, r, v) \
sys/arch/dreamcast/include/pci_machdep.h
85
(*(c)->pc_conf_write)((c)->pc_conf_v, (t), (r), (v))
sys/arch/dreamcast/include/pci_machdep.h
89
#define pci_intr_string(c, ih, buf, len) \
sys/arch/dreamcast/include/pci_machdep.h
90
(*(c)->pc_intr_string)((c)->pc_intr_v, (ih), (buf), (len))
sys/arch/dreamcast/include/pci_machdep.h
91
#define pci_intr_establish(c, ih, l, h, a) \
sys/arch/dreamcast/include/pci_machdep.h
92
(*(c)->pc_intr_establish)((c)->pc_intr_v, (ih), (l), (h), (a))
sys/arch/dreamcast/include/pci_machdep.h
93
#define pci_intr_disestablish(c, ih) \
sys/arch/dreamcast/include/pci_machdep.h
94
(*(c)->pc_intr_disestablish)((c)->pc_intr_v, (ih))
sys/arch/emips/ebus/ace_ebus.c
1581
char tbuf[41], pbuf[9], c, *p, *q;
sys/arch/emips/ebus/ace_ebus.c
1608
c = *p++;
sys/arch/emips/ebus/ace_ebus.c
1609
if (c == '\0')
sys/arch/emips/ebus/ace_ebus.c
1611
if (c != ' ') {
sys/arch/emips/ebus/ace_ebus.c
1616
*q++ = c;
sys/arch/emips/ebus/dz_ebus.c
67
#define DZ_C2I(c) ((c) << 3) /* convert controller # to index */
sys/arch/emips/ebus/dz_ebus.c
68
#define DZ_I2C(c) ((c) >> 3) /* convert minor to controller # */
sys/arch/emips/ebus/dz_ebus.c
764
int c, s;
sys/arch/emips/ebus/dz_ebus.c
766
c = 0;
sys/arch/emips/ebus/dz_ebus.c
771
c = dzcn->RxData;
sys/arch/emips/ebus/dz_ebus.c
774
if (c == 13) /* map cr->ln */
sys/arch/emips/ebus/dz_ebus.c
775
c = 10;
sys/arch/emips/ebus/dz_ebus.c
776
return c;
sys/arch/emips/emips/promcall.c
174
romputc(dev_t dev, int c)
sys/arch/emips/emips/promcall.c
179
(*callv->_printf)("%c", c);
sys/arch/emips/include/bus.h
166
size_t c) \
sys/arch/emips/include/bus.h
169
while (c--) \
sys/arch/emips/include/bus.h
200
size_t c) \
sys/arch/emips/include/bus.h
203
while (c--) { \
sys/arch/emips/include/bus.h
265
size_t c) \
sys/arch/emips/include/bus.h
268
while (c--) \
sys/arch/emips/include/bus.h
298
size_t c) \
sys/arch/emips/include/bus.h
301
while (c--) { \
sys/arch/emips/include/bus.h
333
size_t c) \
sys/arch/emips/include/bus.h
336
while (c--) \
sys/arch/emips/include/bus.h
366
size_t c) \
sys/arch/emips/include/bus.h
369
while (c--) { \
sys/arch/emips/include/bus.h
405
bus_size_t c) \
sys/arch/emips/include/bus.h
411
for (o = 0; c != 0; c--, o += BYTES) \
sys/arch/emips/include/bus.h
416
for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) \
sys/arch/emips/include/loadfile_machdep.h
43
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/emips/include/loadfile_machdep.h
44
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/emips/include/loadfile_machdep.h
45
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/emips/stand/common/boot.c
169
int c, i;
sys/arch/emips/stand/common/boot.c
171
while ((c = *arg++)) {
sys/arch/emips/stand/common/boot.c
173
if (c == ' ' || c == '\t' || c == '\n')
sys/arch/emips/stand/common/boot.c
182
if (c == '-') {
sys/arch/emips/stand/common/boot.c
184
while ((c = *arg++)) {
sys/arch/emips/stand/common/boot.c
185
*optarg++ = c;
sys/arch/emips/stand/common/boot.c
203
getstr(char *cmd, int c)
sys/arch/emips/stand/common/boot.c
208
if (c == 0)
sys/arch/emips/stand/common/boot.c
209
c = GetChar();
sys/arch/emips/stand/common/boot.c
211
switch (c) {
sys/arch/emips/stand/common/boot.c
227
*s++ = c;
sys/arch/emips/stand/common/boot.c
228
xputchar(c);
sys/arch/emips/stand/common/boot.c
230
c = GetChar();
sys/arch/emips/stand/common/boot.c
236
char c = 0;
sys/arch/emips/stand/common/boot.c
240
if ((c = GetChar()) == -1)
sys/arch/emips/stand/common/boot.c
244
getstr(cmd,c);
sys/arch/emips/stand/common/boot.c
260
int c;
sys/arch/emips/stand/common/boot.c
276
if ((c = *cp) >= '0' && c <= '9') {
sys/arch/emips/stand/common/boot.c
277
ctlr = c - '0';
sys/arch/emips/stand/common/boot.c
278
c = *++cp;
sys/arch/emips/stand/common/boot.c
279
if (c != '/')
sys/arch/emips/stand/common/boot.c
281
c = *++cp;
sys/arch/emips/stand/common/boot.c
285
while ((c = *cp) != '\0') {
sys/arch/emips/stand/common/boot.c
286
if ((c == '(') || (c == '/')) {
sys/arch/emips/stand/common/boot.c
291
*ncp++ = c;
sys/arch/emips/stand/common/boot.c
301
if ((c = *cp) >= '0' && c <= '9') {
sys/arch/emips/stand/common/boot.c
302
unit = c - '0';
sys/arch/emips/stand/common/boot.c
303
c = *++cp;
sys/arch/emips/stand/common/boot.c
306
if (c == ',') {
sys/arch/emips/stand/common/boot.c
308
if ((c = *++cp) >= '0' && c <= '9') {
sys/arch/emips/stand/common/boot.c
309
part = c - '0';
sys/arch/emips/stand/common/boot.c
310
c = *++cp;
sys/arch/emips/stand/common/boot.c
314
if (c == ')')
sys/arch/emips/stand/common/boot.c
315
c = *++cp;
sys/arch/emips/stand/common/boot.c
316
if (c == '/')
sys/arch/emips/stand/common/bootxx.c
115
char c, *buf, bootfname[64];
sys/arch/emips/stand/common/bootxx.c
121
while ((c = *buf++) != '\0') {
sys/arch/emips/stand/common/bootxx.c
122
if (c == ')')
sys/arch/emips/stand/common/bootxx.c
124
if (c != '/')
sys/arch/emips/stand/common/bootxx.c
126
while ((c = *buf++) != '\0')
sys/arch/emips/stand/common/bootxx.c
127
if (c == '/')
sys/arch/emips/stand/common/bootxx.c
133
if (c != '/') {
sys/arch/emips/stand/common/devopen.c
101
c = *cp++;
sys/arch/emips/stand/common/devopen.c
102
if (c < '0' || c > '9')
sys/arch/emips/stand/common/devopen.c
104
part = c - '0';
sys/arch/emips/stand/common/devopen.c
106
c = *cp++;
sys/arch/emips/stand/common/devopen.c
107
if (c != ')')
sys/arch/emips/stand/common/devopen.c
50
int c, rc;
sys/arch/emips/stand/common/devopen.c
68
c = *cp++;
sys/arch/emips/stand/common/devopen.c
69
if (c < '0' || c > '9')
sys/arch/emips/stand/common/devopen.c
71
ctlr = c - '0';
sys/arch/emips/stand/common/devopen.c
73
c = *cp++;
sys/arch/emips/stand/common/devopen.c
74
if (c != '/')
sys/arch/emips/stand/common/devopen.c
78
while ((c = *cp) != '\0') {
sys/arch/emips/stand/common/devopen.c
79
if ((c == '(') || (c == '/')) {
sys/arch/emips/stand/common/devopen.c
84
*ncp++ = c;
sys/arch/emips/stand/common/devopen.c
91
c = *cp++;
sys/arch/emips/stand/common/devopen.c
92
if (c < '0' || c > '9')
sys/arch/emips/stand/common/devopen.c
94
unit = c - '0';
sys/arch/emips/stand/common/devopen.c
96
c = *cp++;
sys/arch/emips/stand/common/devopen.c
97
if (c != ',')
sys/arch/emips/stand/common/printf.c
40
int c;
sys/arch/emips/stand/common/printf.c
43
while ((c = *fmt++)) {
sys/arch/emips/stand/common/printf.c
44
if (c == '%') {
sys/arch/emips/stand/common/printf.c
46
c = *fmt++;
sys/arch/emips/stand/common/printf.c
47
switch (c) {
sys/arch/emips/stand/common/printf.c
81
xputchar(c);
sys/arch/emips/stand/common/raw.c
48
static inline int hexnum(char c)
sys/arch/emips/stand/common/raw.c
50
if (c >= '0' && c <= '9')
sys/arch/emips/stand/common/raw.c
51
return c - '0';
sys/arch/emips/stand/common/raw.c
52
if (c >= 'a' && c <= 'f')
sys/arch/emips/stand/common/raw.c
53
return c - 'a';
sys/arch/emips/stand/common/raw.c
54
if (c >= 'A' && c <= 'F')
sys/arch/emips/stand/common/raw.c
55
return c - 'A';
sys/arch/emips/stand/common/raw.c
62
char c;
sys/arch/emips/stand/common/raw.c
65
if ((c = *s++) == '/')
sys/arch/emips/stand/common/raw.c
66
c = *s++;
sys/arch/emips/stand/common/raw.c
67
while (c && c != '/') {
sys/arch/emips/stand/common/raw.c
68
v = hexnum(c);
sys/arch/emips/stand/common/raw.c
72
c = *s++;
sys/arch/epoc32/dev/epockbd.c
54
#define EPOC2WS_KBD_DATA(r, c) (((c) << 3) + (31 - __builtin_clz(r)) + 1)
sys/arch/epoc32/include/loadfile_machdep.h
39
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/epoc32/include/loadfile_machdep.h
40
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/epoc32/include/loadfile_machdep.h
41
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/epoc32/stand/e32boot/ldd/epoc32.cpp
60
EPOC32::EPOC32(const EPOC32& c)
sys/arch/epoc32/stand/e32boot/ldd/epoc32.cpp
62
cpu = c.cpu;
sys/arch/epoc32/windermere/wmcom.c
905
wmcom_cnputc(dev_t dev, int c)
sys/arch/epoc32/windermere/wmcom.c
911
WMCOM_CNWRITE_1(UARTDR, c);
sys/arch/epoc32/windermere/wmlcd.c
145
int c, i;
sys/arch/epoc32/windermere/wmlcd.c
208
c = (i + 0xc) & 0xf;
sys/arch/epoc32/windermere/wmlcd.c
210
c | (c << 8) | (c << 16) | (c << 24);
sys/arch/evbarm/adi_brh/brh_7seg.c
180
brh_7seg_xlate(char c)
sys/arch/evbarm/adi_brh/brh_7seg.c
184
if (c >= '0' && c <= '9')
sys/arch/evbarm/adi_brh/brh_7seg.c
185
rv = digitmap[c - '0'];
sys/arch/evbarm/adi_brh/brh_7seg.c
186
else if (c == '.')
sys/arch/evbarm/bcm53xx/bcm53xx_machdep.c
124
earlyconsputc(dev_t dev, int c)
sys/arch/evbarm/bcm53xx/bcm53xx_machdep.c
126
uartputc(c);
sys/arch/evbarm/bcm53xx/bcm53xx_machdep.c
436
bcm53xx_platform_early_putchar(char c)
sys/arch/evbarm/bcm53xx/bcm53xx_machdep.c
447
uartaddr[com_data] = htole32(c);
sys/arch/evbarm/dev/plcom.c
2413
u_char c;
sys/arch/evbarm/dev/plcom.c
2419
c = plcom_readahead[0];
sys/arch/evbarm/dev/plcom.c
2425
return c;
sys/arch/evbarm/dev/plcom.c
2433
c = PREAD1(pi, PL01XCOM_DR);
sys/arch/evbarm/dev/plcom.c
2438
cn_check_magic(dev, c, plcom_cnm_state);
sys/arch/evbarm/dev/plcom.c
2441
return c;
sys/arch/evbarm/dev/plcom.c
2445
plcom_common_putc(dev_t dev, struct plcom_instance *pi, int c)
sys/arch/evbarm/dev/plcom.c
2464
PWRITE1(pi, PL01XCOM_DR, c);
sys/arch/evbarm/dev/plcom.c
2587
plcomcnputc(dev_t dev, int c)
sys/arch/evbarm/dev/plcom.c
2589
plcom_common_putc(dev, &plcomcons_info, c);
sys/arch/evbarm/dev/plcom.c
2651
plcom_kgdb_putc(void *arg, int c)
sys/arch/evbarm/dev/plcom.c
2653
plcom_common_putc(NODEV, &plcomkgdb_info, c);
sys/arch/evbarm/dev/plcom.c
333
#define PWRITEM1(pi, reg, d, c) pwritem1(pi, reg, d, c)
sys/arch/evbarm/fdt/fdt_machdep.c
146
earlyconsputc(dev_t dev, int c)
sys/arch/evbarm/fdt/fdt_machdep.c
148
uartputc(c);
sys/arch/evbarm/g42xxeb/g42xxeb_lcd.c
95
&lcd_bpp4_screen.c,
sys/arch/evbarm/g42xxeb/g42xxeb_lcd.c
96
&lcd_bpp8_screen.c,
sys/arch/evbarm/g42xxeb/g42xxeb_lcd.c
97
&lcd_bpp16_screen.c,
sys/arch/evbarm/gemini/gemini_machdep.c
184
# define GEMINI_PUTCHAR(c) gemini_putchar(c)
sys/arch/evbarm/gemini/gemini_machdep.c
187
# define GEMINI_PUTCHAR(c)
sys/arch/evbarm/gemini/gemini_machdep.c
494
void gemini_putchar(char c);
sys/arch/evbarm/gemini/gemini_machdep.c
496
gemini_putchar(char c)
sys/arch/evbarm/gemini/gemini_machdep.c
505
com0addr[COM_REG_TXDATA] = c;
sys/arch/evbarm/gumstix/gumstix_machdep.c
590
char expansion[256], c;
sys/arch/evbarm/gumstix/gumstix_machdep.c
594
c = *(q + i);
sys/arch/evbarm/gumstix/gumstix_machdep.c
595
if (c == ' ')
sys/arch/evbarm/gumstix/gumstix_machdep.c
596
c = '\0';
sys/arch/evbarm/gumstix/gumstix_machdep.c
597
expansion[i++] = c;
sys/arch/evbarm/gumstix/gumstix_machdep.c
598
} while (c != '\0' && i < sizeof(expansion));
sys/arch/evbarm/gumstix/gumstix_machdep.c
609
char c;
sys/arch/evbarm/gumstix/gumstix_machdep.c
613
c = *(p + strlen(console_name) + i);
sys/arch/evbarm/gumstix/gumstix_machdep.c
614
if (c == ' ')
sys/arch/evbarm/gumstix/gumstix_machdep.c
615
c = '\0';
sys/arch/evbarm/gumstix/gumstix_machdep.c
616
console[i++] = c;
sys/arch/evbarm/gumstix/gumstix_machdep.c
617
} while (c != '\0' && i < sizeof(console));
sys/arch/evbarm/gumstix/gxlcd.c
84
.c = {
sys/arch/evbarm/gumstix/gxlcd.c
95
&gxlcd_std_screen.c
sys/arch/evbarm/include/loadfile_machdep.h
22
#define READ(f, b, c) read((f), (void*)LOADADDR(b), (c))
sys/arch/evbarm/include/loadfile_machdep.h
23
#define BCOPY(s, d, c) memmove((void*)LOADADDR(d), (void*)(s), (c))
sys/arch/evbarm/include/loadfile_machdep.h
24
#define BZERO(d, c) memset((void*)LOADADDR(d), 0, (c))
sys/arch/evbarm/iq31244/iq31244_7seg.c
206
iq80321_7seg_xlate(char c)
sys/arch/evbarm/iq31244/iq31244_7seg.c
210
if (c >= '0' && c <= '9')
sys/arch/evbarm/iq31244/iq31244_7seg.c
211
rv = digitmap[c - '0'];
sys/arch/evbarm/iq31244/iq31244_7seg.c
212
else if (c == '.')
sys/arch/evbarm/iq80310/iq80310_7seg.c
205
iq80310_7seg_xlate(char c)
sys/arch/evbarm/iq80310/iq80310_7seg.c
209
if (c >= '0' && c <= '9')
sys/arch/evbarm/iq80310/iq80310_7seg.c
210
rv = digitmap[c - '0'];
sys/arch/evbarm/iq80310/iq80310_7seg.c
211
else if (c == '.')
sys/arch/evbarm/iq80321/iq80321_7seg.c
206
iq80321_7seg_xlate(char c)
sys/arch/evbarm/iq80321/iq80321_7seg.c
210
if (c >= '0' && c <= '9')
sys/arch/evbarm/iq80321/iq80321_7seg.c
211
rv = digitmap[c - '0'];
sys/arch/evbarm/iq80321/iq80321_7seg.c
212
else if (c == '.')
sys/arch/evbarm/lubbock/lubbock_lcd.c
104
&lcd_bpp4_screen.c,
sys/arch/evbarm/lubbock/lubbock_lcd.c
106
&lcd_bpp8_screen.c,
sys/arch/evbarm/lubbock/lubbock_lcd.c
107
&lcd_bpp16_screen.c,
sys/arch/evbarm/mini2440/mini2440_lcd.c
154
&lcd_bpp4_30x32.c,
sys/arch/evbarm/mini2440/mini2440_lcd.c
156
&lcd_bpp16_30x20.c,
sys/arch/evbarm/mini2440/mini2440_lcd.c
157
&lcd_bpp8_30x32.c,
sys/arch/evbarm/mini2440/mini2440_lcd.c
158
&lcd_bpp8_40x25.c,
sys/arch/evbarm/mini2440/mini2440_lcd.c
159
&lcd_bpp16_30x32.c,
sys/arch/evbarm/nslu2/nslu2_pci.c
105
char c;
sys/arch/evbarm/nslu2/nslu2_pci.c
108
c = 'A';
sys/arch/evbarm/nslu2/nslu2_pci.c
112
c = 'B';
sys/arch/evbarm/nslu2/nslu2_pci.c
116
c = 'C';
sys/arch/evbarm/nslu2/nslu2_pci.c
119
c = '?';
sys/arch/evbarm/nslu2/nslu2_pci.c
121
snprintf(buf, len, "PCI%c", c);
sys/arch/evbarm/smdk2xx0/smdk2410_lcd.c
127
&lcd_bpp4_30x32.c,
sys/arch/evbarm/smdk2xx0/smdk2410_lcd.c
129
&lcd_bpp8_30x32.c,
sys/arch/evbarm/smdk2xx0/smdk2410_lcd.c
130
&lcd_bpp8_40x25.c,
sys/arch/evbarm/smdk2xx0/smdk2410_lcd.c
131
&lcd_bpp16_30x32.c,
sys/arch/evbarm/smdk2xx0/smdk2410_lcd.c
132
&lcd_bpp16_30x20.c,
sys/arch/evbarm/stand/board/epcom.c
76
putchar(int c)
sys/arch/evbarm/stand/board/epcom.c
80
if (c == '\n') {
sys/arch/evbarm/stand/board/epcom.c
85
EPCOM_WRITE(Data, c);
sys/arch/evbarm/stand/board/ns16550.c
109
iputchar(int c)
sys/arch/evbarm/stand/board/ns16550.c
119
OUTB(com_data, c);
sys/arch/evbarm/stand/board/ns16550.c
131
putchar(int c)
sys/arch/evbarm/stand/board/ns16550.c
134
if (c == '\n')
sys/arch/evbarm/stand/board/ns16550.c
136
iputchar(c);
sys/arch/evbarm/stand/board/nullcom.c
21
putchar(int c)
sys/arch/evbarm/stand/board/sscom.c
146
int c;
sys/arch/evbarm/stand/board/sscom.c
150
c = INB(SSCOM_URXH);
sys/arch/evbarm/stand/board/sscom.c
153
return c;
sys/arch/evbarm/stand/board/sscom.c
157
iputchar(int c)
sys/arch/evbarm/stand/board/sscom.c
167
OUTB(SSCOM_UTXH, c);
sys/arch/evbarm/stand/board/sscom.c
178
putchar(int c)
sys/arch/evbarm/stand/board/sscom.c
181
if (c == '\n')
sys/arch/evbarm/stand/board/sscom.c
183
iputchar(c);
sys/arch/evbarm/stand/boot2440/dev_net.c
100
rootpath[(filename-c)] = '\0';
sys/arch/evbarm/stand/boot2440/dev_net.c
80
char *c;
sys/arch/evbarm/stand/boot2440/dev_net.c
86
for(c=path; *c != '\0' && *c != ':'; c++);
sys/arch/evbarm/stand/boot2440/dev_net.c
88
if (*c == ':') {
sys/arch/evbarm/stand/boot2440/dev_net.c
90
strncpy(ip_addr, path, (c-path));
sys/arch/evbarm/stand/boot2440/dev_net.c
91
ip_addr[(c-path)] = '\0';
sys/arch/evbarm/stand/boot2440/dev_net.c
95
c++;
sys/arch/evbarm/stand/boot2440/dev_net.c
98
for(filename = c+strlen(c); *filename != '/' && filename > c; filename--);
sys/arch/evbarm/stand/boot2440/dev_net.c
99
strncpy(rootpath, c, (filename-c));
sys/arch/evbarm/stand/boot2440/main.c
464
putchar(int c)
sys/arch/evbarm/stand/boot2440/main.c
468
if (c == '\n')
sys/arch/evbarm/stand/boot2440/main.c
475
CSR_WRITE(S3C2440_UART_BASE(0) + SSCOM_UTXH, c);
sys/arch/evbarm/stand/gzboot/gzboot.c
283
uint32_t x, c;
sys/arch/evbarm/stand/gzboot/gzboot.c
288
c = get_u8(s);
sys/arch/evbarm/stand/gzboot/gzboot.c
289
if (c == EOF)
sys/arch/evbarm/stand/gzboot/gzboot.c
291
x |= c << 24;
sys/arch/evbarm/stand/gzboot/gzboot.c
301
int c;
sys/arch/evbarm/stand/gzboot/gzboot.c
305
c = get_u8(s);
sys/arch/evbarm/stand/gzboot/gzboot.c
306
if (c == gz_magic[len])
sys/arch/evbarm/stand/gzboot/gzboot.c
333
while ((c = get_u8(s)) != 0 && c != EOF)
sys/arch/evbarm/stand/gzboot/gzboot.c
338
while ((c = get_u8(s)) != 0 && c != EOF)
sys/arch/evbarm/tsarm/tspld.c
381
#define DEGF(c) ((c) * 9 / 5 + 32000000)
sys/arch/evbcf/include/bus_space.h
215
#define bus_space_read_multi_1(t, h, o, a, c) do { \
sys/arch/evbcf/include/bus_space.h
225
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
229
#define bus_space_read_multi_2(t, h, o, a, c) do { \
sys/arch/evbcf/include/bus_space.h
239
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
243
#define bus_space_read_multi_4(t, h, o, a, c) do { \
sys/arch/evbcf/include/bus_space.h
253
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
267
#define bus_space_read_region_1(t, h, o, a, c) do { \
sys/arch/evbcf/include/bus_space.h
277
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
281
#define bus_space_read_region_2(t, h, o, a, c) do { \
sys/arch/evbcf/include/bus_space.h
291
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
295
#define bus_space_read_region_4(t, h, o, a, c) do { \
sys/arch/evbcf/include/bus_space.h
305
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
339
#define bus_space_write_multi_1(t, h, o, a, c) do { \
sys/arch/evbcf/include/bus_space.h
349
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
353
#define bus_space_write_multi_2(t, h, o, a, c) do { \
sys/arch/evbcf/include/bus_space.h
363
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
367
#define bus_space_write_multi_4(t, h, o, a, c) do { \
sys/arch/evbcf/include/bus_space.h
377
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
390
#define bus_space_write_region_1(t, h, o, a, c) do { \
sys/arch/evbcf/include/bus_space.h
400
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
404
#define bus_space_write_region_2(t, h, o, a, c) do { \
sys/arch/evbcf/include/bus_space.h
414
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
418
#define bus_space_write_region_4(t, h, o, a, c) do { \
sys/arch/evbcf/include/bus_space.h
428
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
441
#define bus_space_set_multi_1(t, h, o, val, c) do { \
sys/arch/evbcf/include/bus_space.h
451
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
455
#define bus_space_set_multi_2(t, h, o, val, c) do { \
sys/arch/evbcf/include/bus_space.h
465
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
469
#define bus_space_set_multi_4(t, h, o, val, c) do { \
sys/arch/evbcf/include/bus_space.h
479
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
492
#define bus_space_set_region_1(t, h, o, val, c) do { \
sys/arch/evbcf/include/bus_space.h
502
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
506
#define bus_space_set_region_2(t, h, o, val, c) do { \
sys/arch/evbcf/include/bus_space.h
516
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
520
#define bus_space_set_region_4(t, h, o, val, c) do { \
sys/arch/evbcf/include/bus_space.h
530
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/evbcf/include/bus_space.h
558
bus_size_t c) \
sys/arch/evbcf/include/bus_space.h
564
for (o = 0; c != 0; c--, o += BYTES) \
sys/arch/evbcf/include/bus_space.h
569
for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) \
sys/arch/evbcf/include/loadfile_machdep.h
42
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/evbcf/include/loadfile_machdep.h
43
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/evbcf/include/loadfile_machdep.h
44
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/evbmips/evbmips/yamon.c
89
yamonputc(dev_t dev, int c)
sys/arch/evbmips/evbmips/yamon.c
93
chr = c;
sys/arch/evbmips/include/loadfile_machdep.h
40
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/evbmips/include/loadfile_machdep.h
41
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/evbmips/include/loadfile_machdep.h
42
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/evbmips/loongson/machdep.c
782
int c;
sys/arch/evbmips/loongson/machdep.c
795
c = (int)*bufpos++;
sys/arch/evbmips/loongson/machdep.c
801
return c;
sys/arch/evbmips/loongson/machdep.c
805
pmoncnputc(dev_t dev, int c)
sys/arch/evbmips/loongson/machdep.c
807
if (c == '\n')
sys/arch/evbmips/loongson/machdep.c
810
pmon_printf("%c", c);
sys/arch/evbmips/mipssim/machdep.c
112
uart_putc(dev_t dev, int c)
sys/arch/evbmips/mipssim/machdep.c
117
*data = (uint8_t)c;
sys/arch/evbmips/rasoc/console.c
71
ra_console_putc(dev_t dev, int c)
sys/arch/evbmips/rasoc/console.c
81
uart_write(RA_UART_TBR, c);
sys/arch/evbmips/rasoc/console.c
82
if (c == '\n')
sys/arch/evbmips/sbmips/machdep.c
413
cswarm_setled(u_int index, char c)
sys/arch/evbmips/sbmips/machdep.c
419
led_ptr[0x20 + ((3 - index) << 3)] = c;
sys/arch/evbmips/stand/sbmips/common/cfe.c
52
void putchar(int c)
sys/arch/evbmips/stand/sbmips/common/cfe.c
56
ch = (char) c;
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
164
#define cfe_cpu_start(a,b,c,d,e) __cfe_cpu_start(a,b,c,d,e)
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
167
#define cfe_enummem(a,b,c,d,e) __cfe_enummem(a,b,c,d,e)
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
171
#define cfe_getenv(a,b,c) __cfe_getenv(a,b,c)
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
176
#define cfe_ioctl(a,b,c,d,e,f) __cfe_ioctl(a,b,c,d,e,f)
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
178
#define cfe_read(a,b,c) __cfe_read(a,b,c)
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
179
#define cfe_readblk(a,b,c,d) __cfe_readblk(a,b,c,d)
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
181
#define cfe_write(a,b,c) __cfe_write(a,b,c)
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
182
#define cfe_writeblk(a,b,c,d) __cfe_writeblk(a,b,c,d)
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
166
net_ioctl(struct open_file *a, u_long b, void *c)
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
172
net_strategy(void *a, int b, daddr_t c, size_t d, void *e, size_t *f)
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
101
*ncp++ = c;
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
106
if ((c = *cp) >= '0' && c <= '9') {
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
107
ctlr = c - '0';
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
108
c = *++cp;
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
111
if (c == ',') {
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
113
if ((c = *++cp) >= '0' && c <= '9') {
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
114
unit = c - '0';
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
115
c = *++cp;
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
118
if (c == ',') {
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
120
if ((c = *++cp) >= '0' && c <= '9') {
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
121
part = c - '0';
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
122
c = *++cp;
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
126
if (c != ')')
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
51
register int c, i;
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
62
if ((c = *cp) >= '0' && c <= '9') {
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
63
ctlr = c - '0';
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
68
while ((c = *cp) != '\0') {
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
69
if (c == '/')
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
71
if (c >= '0' && c <= '9') {
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
73
unit = c - '0';
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
76
if ((c = *++cp) >= 'a' && c <= 'h') {
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
77
part = c - 'a';
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
78
c = *++cp;
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
80
if (c != '/')
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
85
*ncp++ = c;
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
95
while ((c = *cp) != '\0') {
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
96
if (c == '(') {
sys/arch/evbppc/include/loadfile_machdep.h
39
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/evbppc/include/loadfile_machdep.h
40
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/evbppc/include/loadfile_machdep.h
41
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/evbppc/mpc85xx/machdep.c
1113
char c;
sys/arch/evbppc/mpc85xx/machdep.c
1115
for (; (c = *cp) != '\0'; cp++) {
sys/arch/evbppc/mpc85xx/machdep.c
1116
if (c == '-') {
sys/arch/evbppc/mpc85xx/machdep.c
1120
if (c == ' ') {
sys/arch/evbppc/mpc85xx/machdep.c
1125
switch (c) {
sys/arch/evbppc/mpc85xx/machdep.c
461
e500_cnputc(dev_t dv, int c)
sys/arch/evbppc/mpc85xx/machdep.c
469
com0addr[com_data] = c;
sys/arch/evbppc/nintendo/dev/gecko.c
164
usbgecko_cnputc(dev_t dev, int c)
sys/arch/evbppc/nintendo/dev/gecko.c
166
c &= 0xff;
sys/arch/evbppc/nintendo/dev/gecko.c
167
usbgecko_command(USBGECKO_CMD_SEND_BYTE | (c << 4));
sys/arch/evbppc/nintendo/dev/hwaes.c
638
uint32_t c[4];
sys/arch/evbppc/nintendo/dev/hwaes.c
647
c[0] = le32dec(authctr0 + 16 + 4*0);
sys/arch/evbppc/nintendo/dev/hwaes.c
648
c[1] = le32dec(authctr0 + 16 + 4*1);
sys/arch/evbppc/nintendo/dev/hwaes.c
649
c[2] = le32dec(authctr0 + 16 + 4*2);
sys/arch/evbppc/nintendo/dev/hwaes.c
650
c[3] = be32dec(authctr0 + 16 + 4*3);
sys/arch/evbppc/nintendo/dev/hwaes.c
657
le32enc(authctr0 + 16 + 4*0, c[0]);
sys/arch/evbppc/nintendo/dev/hwaes.c
658
le32enc(authctr0 + 16 + 4*1, c[1]);
sys/arch/evbppc/nintendo/dev/hwaes.c
659
le32enc(authctr0 + 16 + 4*2, c[2]);
sys/arch/evbppc/nintendo/dev/hwaes.c
660
be32enc(authctr0 + 16 + 4*3, ++c[3]);
sys/arch/evbppc/nintendo/dev/hwaes.c
673
le32enc(authctr0 + 16 + 4*0, c[0]);
sys/arch/evbppc/nintendo/dev/hwaes.c
674
le32enc(authctr0 + 16 + 4*1, c[1]);
sys/arch/evbppc/nintendo/dev/hwaes.c
675
le32enc(authctr0 + 16 + 4*2, c[2]);
sys/arch/evbppc/nintendo/dev/hwaes.c
676
be32enc(authctr0 + 16 + 4*3, c[3]);
sys/arch/evbppc/nintendo/dev/hwaes.c
686
uint32_t c[4];
sys/arch/evbppc/nintendo/dev/hwaes.c
695
c[0] = le32dec(authctr0 + 16 + 4*0);
sys/arch/evbppc/nintendo/dev/hwaes.c
696
c[1] = le32dec(authctr0 + 16 + 4*1);
sys/arch/evbppc/nintendo/dev/hwaes.c
697
c[2] = le32dec(authctr0 + 16 + 4*2);
sys/arch/evbppc/nintendo/dev/hwaes.c
698
c[3] = be32dec(authctr0 + 16 + 4*3);
sys/arch/evbppc/nintendo/dev/hwaes.c
700
be32enc(authctr0 + 16 + 4*3, ++c[3]);
sys/arch/evbppc/nintendo/dev/hwaes.c
716
le32enc(authctr0 + 16 + 4*0, c[0]);
sys/arch/evbppc/nintendo/dev/hwaes.c
717
le32enc(authctr0 + 16 + 4*1, c[1]);
sys/arch/evbppc/nintendo/dev/hwaes.c
718
le32enc(authctr0 + 16 + 4*2, c[2]);
sys/arch/evbppc/nintendo/dev/hwaes.c
719
be32enc(authctr0 + 16 + 4*3, ++c[3]);
sys/arch/evbppc/nintendo/dev/hwaes.c
724
le32enc(authctr0 + 16 + 4*0, c[0]);
sys/arch/evbppc/nintendo/dev/hwaes.c
725
le32enc(authctr0 + 16 + 4*1, c[1]);
sys/arch/evbppc/nintendo/dev/hwaes.c
726
le32enc(authctr0 + 16 + 4*2, c[2]);
sys/arch/evbppc/nintendo/dev/hwaes.c
727
be32enc(authctr0 + 16 + 4*3, c[3]);
sys/arch/evbppc/sam460ex/machdep.c
182
earlycons_putc(dev_t dev, int c)
sys/arch/evbppc/sam460ex/machdep.c
188
uart[0] = c;
sys/arch/evbppc/sam460ex/machdep.c
378
#define BA_DELIM(c) ((c) == ' ' || (c) == '"')
sys/arch/evbppc/stand/wii/console.c
55
putchar(int c)
sys/arch/evbppc/stand/wii/console.c
57
gecko_putchar(c);
sys/arch/evbppc/stand/wii/gecko.c
141
gecko_putchar(int c)
sys/arch/evbppc/stand/wii/gecko.c
147
c &= 0xff;
sys/arch/evbppc/stand/wii/gecko.c
148
gecko_command(GECKO_CMD_SEND_BYTE | (c << 4));
sys/arch/evbppc/virtex/dev/xlcom.c
272
u_short c;
sys/arch/evbppc/virtex/dev/xlcom.c
284
c = sc->sc_rbuf[sc->sc_rget];
sys/arch/evbppc/virtex/dev/xlcom.c
289
d = (c & 0xff) |
sys/arch/evbppc/virtex/dev/xlcom.c
290
((c & XLCOM_CHAR_PE) != 0 ? TTY_PE : 0) |
sys/arch/evbppc/virtex/dev/xlcom.c
291
((c & XLCOM_CHAR_FE) != 0 ? TTY_FE : 0);
sys/arch/evbppc/virtex/dev/xlcom.c
338
u_short c;
sys/arch/evbppc/virtex/dev/xlcom.c
346
c = bus_space_read_4(sc->sc_iot, sc->sc_ioh, XLCOM_RX_FIFO);
sys/arch/evbppc/virtex/dev/xlcom.c
348
cn_check_magic(sc->sc_tty->t_dev, c, xlcom_cnm_state);
sys/arch/evbppc/virtex/dev/xlcom.c
351
c |= ((stat & STAT_PARITY_ERR) != 0 ? XLCOM_CHAR_PE : 0) |
sys/arch/evbppc/virtex/dev/xlcom.c
353
sc->sc_rbuf[sc->sc_rput] = c;
sys/arch/evbppc/virtex/dev/xlcom.c
649
xlcom_busy_putc(bus_space_tag_t t, bus_space_handle_t h, int c)
sys/arch/evbppc/virtex/dev/xlcom.c
654
bus_space_write_4(t, h, XLCOM_TX_FIFO, c);
sys/arch/evbppc/virtex/dev/xlcom.c
681
xlcom_cnputc(dev_t dev, int c)
sys/arch/evbppc/virtex/dev/xlcom.c
683
xlcom_busy_putc(consdev_iot, consdev_ioh, c);
sys/arch/evbppc/virtex/dev/xlcom.c
698
xlcom_kgdb_putc(void *arg, int c)
sys/arch/evbppc/virtex/dev/xlcom.c
700
xlcom_busy_putc(kgdb_iot, kgdb_ioh, c);
sys/arch/evbsh3/include/bus_funcs.h
100
#define __bs_set(type, sz, tn, t, h, o, v, c) \
sys/arch/evbsh3/include/bus_funcs.h
103
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, v, c); \
sys/arch/evbsh3/include/bus_funcs.h
110
(*(t)->__bs_opname(c,sz))((t)->bs_cookie, h1, o1, h2, o2, cnt); \
sys/arch/evbsh3/include/bus_funcs.h
165
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
166
__bs_nonsingle(rm,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
167
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
168
__bs_nonsingle(rm,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
169
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
170
__bs_nonsingle(rm,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
171
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
172
__bs_nonsingle(rm,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
173
#define bus_space_read_multi_stream_1(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
174
__bs_nonsingle(rms,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
175
#define bus_space_read_multi_stream_2(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
176
__bs_nonsingle(rms,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
177
#define bus_space_read_multi_stream_4(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
178
__bs_nonsingle(rms,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
179
#define bus_space_read_multi_stream_8(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
180
__bs_nonsingle(rms,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
186
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
187
__bs_nonsingle(rr,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
188
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
189
__bs_nonsingle(rr,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
190
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
191
__bs_nonsingle(rr,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
192
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
193
__bs_nonsingle(rr,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
194
#define bus_space_read_region_stream_1(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
195
__bs_nonsingle(rrs,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
196
#define bus_space_read_region_stream_2(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
197
__bs_nonsingle(rrs,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
198
#define bus_space_read_region_stream_4(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
199
__bs_nonsingle(rrs,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
200
#define bus_space_read_region_stream_8(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
201
__bs_nonsingle(rrs,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
224
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
225
__bs_nonsingle(wm,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
226
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
227
__bs_nonsingle(wm,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
228
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
229
__bs_nonsingle(wm,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
230
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
231
__bs_nonsingle(wm,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
232
#define bus_space_write_multi_stream_1(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
233
__bs_nonsingle(wms,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
234
#define bus_space_write_multi_stream_2(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
235
__bs_nonsingle(wms,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
236
#define bus_space_write_multi_stream_4(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
237
__bs_nonsingle(wms,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
238
#define bus_space_write_multi_stream_8(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
239
__bs_nonsingle(wms,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
245
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
246
__bs_nonsingle(wr,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
247
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
248
__bs_nonsingle(wr,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
249
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
250
__bs_nonsingle(wr,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
251
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
252
__bs_nonsingle(wr,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
253
#define bus_space_write_region_stream_1(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
254
__bs_nonsingle(wrs,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
255
#define bus_space_write_region_stream_2(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
256
__bs_nonsingle(wrs,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
257
#define bus_space_write_region_stream_4(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
258
__bs_nonsingle(wrs,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
259
#define bus_space_write_region_stream_8(t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
260
__bs_nonsingle(wrs,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/evbsh3/include/bus_funcs.h
266
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/arch/evbsh3/include/bus_funcs.h
267
__bs_set(sm,1,uint8_t,(t),(h),(o),(v),(c))
sys/arch/evbsh3/include/bus_funcs.h
268
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/arch/evbsh3/include/bus_funcs.h
269
__bs_set(sm,2,uint16_t,(t),(h),(o),(v),(c))
sys/arch/evbsh3/include/bus_funcs.h
270
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/arch/evbsh3/include/bus_funcs.h
271
__bs_set(sm,4,uint32_t,(t),(h),(o),(v),(c))
sys/arch/evbsh3/include/bus_funcs.h
272
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/arch/evbsh3/include/bus_funcs.h
273
__bs_set(sm,8,uint64_t,(t),(h),(o),(v),(c))
sys/arch/evbsh3/include/bus_funcs.h
279
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/evbsh3/include/bus_funcs.h
280
__bs_set(sr,1,uint8_t,(t),(h),(o),(v),(c))
sys/arch/evbsh3/include/bus_funcs.h
281
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/evbsh3/include/bus_funcs.h
282
__bs_set(sr,2,uint16_t,(t),(h),(o),(v),(c))
sys/arch/evbsh3/include/bus_funcs.h
283
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/evbsh3/include/bus_funcs.h
284
__bs_set(sr,4,uint32_t,(t),(h),(o),(v),(c))
sys/arch/evbsh3/include/bus_funcs.h
285
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arch/evbsh3/include/bus_funcs.h
286
__bs_set(sr,8,uint64_t,(t),(h),(o),(v),(c))
sys/arch/evbsh3/include/bus_funcs.h
292
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arch/evbsh3/include/bus_funcs.h
293
__bs_copy(1, uint8_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/evbsh3/include/bus_funcs.h
294
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arch/evbsh3/include/bus_funcs.h
295
__bs_copy(2, uint16_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/evbsh3/include/bus_funcs.h
296
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arch/evbsh3/include/bus_funcs.h
297
__bs_copy(4, uint32_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/evbsh3/include/bus_funcs.h
298
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arch/evbsh3/include/bus_funcs.h
299
__bs_copy(8, uint64_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/evbsh3/include/bus_funcs.h
93
#define __bs_nonsingle(type, sz, tn, t, h, o, a, c) \
sys/arch/evbsh3/include/bus_funcs.h
97
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, a, c); \
sys/arch/evbsh3/nextvod/stasc.c
189
int c;
sys/arch/evbsh3/nextvod/stasc.c
199
c = ASC_RX_BUFF;
sys/arch/evbsh3/nextvod/stasc.c
201
return (unsigned char)c;
sys/arch/evbsh3/nextvod/stasc.c
206
stasc_cnputc(dev_t dev, int c)
sys/arch/evbsh3/nextvod/stasc.c
218
ASC_TX_BUFF = c;
sys/arch/evbsh3/stand/mesboot/src/mesboot.c
31
int fd, size, c;
sys/arch/evbsh3/stand/mesboot/src/mesboot.c
90
c = 0;
sys/arch/evbsh3/stand/mesboot/src/mesboot.c
94
if((++c & 0x7) == 0) putchar('.');
sys/arch/evbsh3/t_sh7706lan/scimci.c
246
scimci_putc(int c)
sys/arch/evbsh3/t_sh7706lan/scimci.c
254
SHREG_SCTDR = (uint8_t)c;
sys/arch/evbsh3/t_sh7706lan/scimci.c
278
int c;
sys/arch/evbsh3/t_sh7706lan/scimci.c
288
c = SHREG_SCRDR;
sys/arch/evbsh3/t_sh7706lan/scimci.c
292
return (uint8_t)c;
sys/arch/evbsh3/t_sh7706lan/scimci.c
513
int c;
sys/arch/evbsh3/t_sh7706lan/scimci.c
518
c = scimci_getc();
sys/arch/evbsh3/t_sh7706lan/scimci.c
519
if (c < 0) {
sys/arch/evbsh3/t_sh7706lan/scimci.c
524
if (c != 0xff)
sys/arch/evbsh3/t_sh7706lan/scimci.c
532
if (c != 0xfe) {
sys/arch/evbsh3/t_sh7706lan/scimci.c
533
aprint_error_dev(sc->sc_dev, "cfg read error (data=%#x)\n", c);
sys/arch/evbsh3/t_sh7706lan/scimci.c
565
int c;
sys/arch/evbsh3/t_sh7706lan/scimci.c
570
c = scimci_getc();
sys/arch/evbsh3/t_sh7706lan/scimci.c
571
if (c < 0) {
sys/arch/evbsh3/t_sh7706lan/scimci.c
576
if (c != 0xff)
sys/arch/evbsh3/t_sh7706lan/scimci.c
584
if (c != 0xfe) {
sys/arch/evbsh3/t_sh7706lan/scimci.c
585
aprint_error_dev(sc->sc_dev, "read error (data=%#x)\n", c);
sys/arch/evbsh3/t_sh7706lan/scimci.c
617
int c;
sys/arch/evbsh3/t_sh7706lan/scimci.c
641
c = scimci_getc();
sys/arch/evbsh3/t_sh7706lan/scimci.c
642
if (c < 0) {
sys/arch/evbsh3/t_sh7706lan/scimci.c
648
if (c == 0xff)
sys/arch/evbsh3/t_sh7706lan/ssumci.c
442
int c;
sys/arch/evbsh3/t_sh7706lan/ssumci.c
447
c = ssumci_getc();
sys/arch/evbsh3/t_sh7706lan/ssumci.c
448
if (c != 0xff)
sys/arch/evbsh3/t_sh7706lan/ssumci.c
456
if (c != 0xfe) {
sys/arch/evbsh3/t_sh7706lan/ssumci.c
457
aprint_error_dev(sc->sc_dev, "cfg read error (data=%#x)\n", c);
sys/arch/evbsh3/t_sh7706lan/ssumci.c
482
int c;
sys/arch/evbsh3/t_sh7706lan/ssumci.c
487
c = ssumci_getc();
sys/arch/evbsh3/t_sh7706lan/ssumci.c
488
if (c != 0xff)
sys/arch/evbsh3/t_sh7706lan/ssumci.c
496
if (c != 0xfe) {
sys/arch/evbsh3/t_sh7706lan/ssumci.c
497
aprint_error_dev(sc->sc_dev, "read error (data=%#x)\n", c);
sys/arch/evbsh3/t_sh7706lan/ssumci.c
522
int c;
sys/arch/evbsh3/t_sh7706lan/ssumci.c
545
c = _reg_read_1(SSUMCI_SPIDR);
sys/arch/evbsh3/t_sh7706lan/ssumci.c
546
if (c == 0xff)
sys/arch/ews4800mips/dev/ewskbd.c
297
uint8_t c, r;
sys/arch/ews4800mips/dev/ewskbd.c
308
c = zs_read_data(cs);
sys/arch/ews4800mips/dev/ewskbd.c
310
dc->rxq[dc->rxq_tail] = c;
sys/arch/ews4800mips/dev/ewskbd.c
376
ewskbd_zsc_send(struct zs_chanstate *cs, uint8_t *c, u_int len)
sys/arch/ews4800mips/dev/ewskbd.c
387
zs_write_data(cs, c[i]);
sys/arch/ews4800mips/dev/ewskbd.c
390
dc->txq[dc->txq_tail] = c[i];
sys/arch/ews4800mips/dev/ewsms.c
222
uint8_t c, r;
sys/arch/ews4800mips/dev/ewsms.c
230
c = zs_read_data(cs);
sys/arch/ews4800mips/dev/ewsms.c
232
sc->sc_rxq[sc->sc_rxq_tail] = c;
sys/arch/ews4800mips/dev/ewsms.c
274
int8_t c = sc->sc_rxq[sc->sc_rxq_head];
sys/arch/ews4800mips/dev/ewsms.c
281
if ((c & EWSMS_SYNC_MASK) == sync) {
sys/arch/ews4800mips/dev/ewsms.c
282
sc->sc_packet[EWSMS_PACKET_SYNC] = c;
sys/arch/ews4800mips/dev/ewsms.c
288
sc->sc_packet[EWSMS_PACKET_X1] = c;
sys/arch/ews4800mips/dev/ewsms.c
293
sc->sc_packet[EWSMS_PACKET_Y1] = c;
sys/arch/ews4800mips/dev/ewsms.c
298
sc->sc_packet[EWSMS_PACKET_X2] = c;
sys/arch/ews4800mips/dev/ewsms.c
303
sc->sc_packet[EWSMS_PACKET_Y2] = c;
sys/arch/ews4800mips/dev/zs.c
257
int s, c;
sys/arch/ews4800mips/dev/zs.c
267
c = *cs->cs_reg_data;
sys/arch/ews4800mips/dev/zs.c
275
return c;
sys/arch/ews4800mips/dev/zs.c
282
zs_putc(void *arg, int c)
sys/arch/ews4800mips/dev/zs.c
295
*cs->cs_reg_data = c;
sys/arch/ews4800mips/dev/zs.c
308
zscnputc(dev_t dev, int c)
sys/arch/ews4800mips/dev/zs.c
311
zs_putc((void *)zs_conscs, c);
sys/arch/ews4800mips/ews4800mips/cons_machdep.c
111
rom_cnputc(dev_t dev, int c)
sys/arch/ews4800mips/ews4800mips/cons_machdep.c
118
switch (c) {
sys/arch/ews4800mips/ews4800mips/cons_machdep.c
120
ROM_PUTC(cons.x * ROM_FONT_WIDTH, cons.y * ROM_FONT_HEIGHT, c);
sys/arch/ews4800mips/ews4800mips/cons_machdep.c
127
ROM_PUTC(cons.x * ROM_FONT_WIDTH, cons.y * ROM_FONT_HEIGHT, c);
sys/arch/ews4800mips/ews4800mips/cons_machdep.c
142
ROM_PUTC(cons.x * ROM_FONT_WIDTH, cons.y * ROM_FONT_HEIGHT, c);
sys/arch/ews4800mips/ews4800mips/cons_machdep.c
148
ROM_PUTC(cons.x * ROM_FONT_WIDTH, cons.y * ROM_FONT_HEIGHT, c);
sys/arch/ews4800mips/include/bus.h
391
bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c) \
sys/arch/ews4800mips/include/bus.h
396
for (o = 0; c != 0; c--, o += BYTES) \
sys/arch/ews4800mips/include/bus.h
401
for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) \
sys/arch/ews4800mips/include/bus.h
469
#define __ebs_nonsingle(type, sz, tn, t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
473
(*(t)->__ebs_opname(type,sz))((t)->ebs_cookie, h, o, a, c); \
sys/arch/ews4800mips/include/bus.h
476
#define __ebs_set(type, sz, tn, t, h, o, v, c) \
sys/arch/ews4800mips/include/bus.h
479
(*(t)->__ebs_opname(type,sz))((t)->ebs_cookie, h, o, v, c); \
sys/arch/ews4800mips/include/bus.h
486
(*(t)->__ebs_opname(c,sz))((t)->ebs_cookie, h1, o1, h2, o2, cnt); \
sys/arch/ews4800mips/include/bus.h
555
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
556
__ebs_nonsingle(rm,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/ews4800mips/include/bus.h
557
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
558
__ebs_nonsingle(rm,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/ews4800mips/include/bus.h
559
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
560
__ebs_nonsingle(rm,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/ews4800mips/include/bus.h
561
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
562
__ebs_nonsingle(rm,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/ews4800mips/include/bus.h
568
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
569
__ebs_nonsingle(rr,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/ews4800mips/include/bus.h
570
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
571
__ebs_nonsingle(rr,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/ews4800mips/include/bus.h
572
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
573
__ebs_nonsingle(rr,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/ews4800mips/include/bus.h
574
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
575
__ebs_nonsingle(rr,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/ews4800mips/include/bus.h
590
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
591
__ebs_nonsingle(wm,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/ews4800mips/include/bus.h
592
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
593
__ebs_nonsingle(wm,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/ews4800mips/include/bus.h
594
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
595
__ebs_nonsingle(wm,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/ews4800mips/include/bus.h
596
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
597
__ebs_nonsingle(wm,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/ews4800mips/include/bus.h
603
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
604
__ebs_nonsingle(wr,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/ews4800mips/include/bus.h
605
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
606
__ebs_nonsingle(wr,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/ews4800mips/include/bus.h
607
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
608
__ebs_nonsingle(wr,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/ews4800mips/include/bus.h
609
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arch/ews4800mips/include/bus.h
610
__ebs_nonsingle(wr,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/ews4800mips/include/bus.h
616
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/arch/ews4800mips/include/bus.h
617
__ebs_set(sm,1,uint8_t,(t),(h),(o),(v),(c))
sys/arch/ews4800mips/include/bus.h
618
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/arch/ews4800mips/include/bus.h
619
__ebs_set(sm,2,uint16_t,(t),(h),(o),(v),(c))
sys/arch/ews4800mips/include/bus.h
620
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/arch/ews4800mips/include/bus.h
621
__ebs_set(sm,4,uint32_t,(t),(h),(o),(v),(c))
sys/arch/ews4800mips/include/bus.h
622
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/arch/ews4800mips/include/bus.h
623
__ebs_set(sm,8,uint64_t,(t),(h),(o),(v),(c))
sys/arch/ews4800mips/include/bus.h
629
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/ews4800mips/include/bus.h
630
__ebs_set(sr,1,uint8_t,(t),(h),(o),(v),(c))
sys/arch/ews4800mips/include/bus.h
631
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/ews4800mips/include/bus.h
632
__ebs_set(sr,2,uint16_t,(t),(h),(o),(v),(c))
sys/arch/ews4800mips/include/bus.h
633
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/ews4800mips/include/bus.h
634
__ebs_set(sr,4,uint32_t,(t),(h),(o),(v),(c))
sys/arch/ews4800mips/include/bus.h
635
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arch/ews4800mips/include/bus.h
636
__ebs_set(sr,8,uint64_t,(t),(h),(o),(v),(c))
sys/arch/ews4800mips/include/bus.h
642
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arch/ews4800mips/include/bus.h
643
__ebs_copy(1, uint8_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/ews4800mips/include/bus.h
644
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arch/ews4800mips/include/bus.h
645
__ebs_copy(2, uint16_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/ews4800mips/include/bus.h
646
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arch/ews4800mips/include/bus.h
647
__ebs_copy(4, uint32_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/ews4800mips/include/bus.h
648
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arch/ews4800mips/include/bus.h
649
__ebs_copy(8, uint64_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/ews4800mips/include/loadfile_machdep.h
43
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/ews4800mips/include/loadfile_machdep.h
44
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/ews4800mips/include/loadfile_machdep.h
45
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/ews4800mips/include/sbd.h
74
#define ROM_DK_READ(u, s, c, a) ROM_DK_RW(u, s, c, a)
sys/arch/ews4800mips/include/sbd.h
75
#define ROM_DK_WRITE(u, s, c, a) ROM_DK_RW(u | 0x1000, s, c, a)
sys/arch/ews4800mips/include/sbd.h
82
#define ROM_FD_READ(u, s, c, a) ROM_FD_RW(u, s, c, a)
sys/arch/ews4800mips/include/sbd.h
83
#define ROM_FD_WRITE(u, s, c, a) ROM_FD_RW(u | 0x1000, s, c, a)
sys/arch/ews4800mips/stand/common/boot.c
101
if ((c = cnscan()) == -1) {
sys/arch/ews4800mips/stand/common/boot.c
105
else if (c == '\r')
sys/arch/ews4800mips/stand/common/boot.c
97
int c;
sys/arch/ews4800mips/stand/common/cons_fb.c
158
fb_drawchar(int x, int y, int c)
sys/arch/ews4800mips/stand/common/cons_fb.c
166
if ((font_ofs = (c & 0x7f) - 0x20) < 0)
sys/arch/ews4800mips/stand/common/cons_zs.c
129
zs_cnputc(int x, int y, int c)
sys/arch/ews4800mips/stand/common/cons_zs.c
137
*zs.data = c;
sys/arch/ews4800mips/stand/common/cons_zskbd.c
165
int v, c;
sys/arch/ews4800mips/stand/common/cons_zskbd.c
226
c = v & 0x7f;
sys/arch/ews4800mips/stand/common/cons_zskbd.c
228
return *(zskbd.shift + c);
sys/arch/ews4800mips/stand/common/cons_zskbd.c
230
return *(zskbd.ctrl + c);
sys/arch/ews4800mips/stand/common/cons_zskbd.c
232
return *(zskbd.capslock + c);
sys/arch/ews4800mips/stand/common/cons_zskbd.c
234
return *(zskbd.normal + c);
sys/arch/ews4800mips/stand/common/console.c
146
PUTCHAR(int c)
sys/arch/ews4800mips/stand/common/console.c
151
if (c == '\n')
sys/arch/ews4800mips/stand/common/console.c
153
cons.putc(0, 0, c);
sys/arch/ews4800mips/stand/common/console.c
160
switch (c) {
sys/arch/ews4800mips/stand/common/console.c
162
cons.putc(cons.x * ROM_FONT_WIDTH, cons.y * ROM_FONT_HEIGHT, c);
sys/arch/ews4800mips/stand/common/console.c
169
cons.putc(cons.x * ROM_FONT_WIDTH, cons.y * ROM_FONT_HEIGHT, c);
sys/arch/ews4800mips/stand/common/console.c
174
cons.putc(cons.x * ROM_FONT_WIDTH, cons.y * ROM_FONT_HEIGHT, c);
sys/arch/ews4800mips/stand/common/console.c
188
cons.putc(cons.x * ROM_FONT_WIDTH, cons.y * ROM_FONT_HEIGHT, c);
sys/arch/ews4800mips/stand/common/console.c
194
cons.putc(cons.x * ROM_FONT_WIDTH, cons.y * ROM_FONT_HEIGHT, c);
sys/arch/ews4800mips/stand/common/mem.c
57
int i, c;
sys/arch/ews4800mips/stand/common/mem.c
66
c = *argp[1];
sys/arch/ews4800mips/stand/common/mem.c
68
if (c == 'g') {
sys/arch/ews4800mips/stand/common/mem.c
77
if ((c == 'd') || (c == 'b') || (c == 'g')) {
sys/arch/ews4800mips/stand/common/mem.c
98
switch (c) {
sys/arch/ews4800mips/stand/common/prompt.c
114
putchar(c);
sys/arch/ews4800mips/stand/common/prompt.c
120
putchar(c);
sys/arch/ews4800mips/stand/common/prompt.c
135
putchar(c);
sys/arch/ews4800mips/stand/common/prompt.c
183
putchar(int c)
sys/arch/ews4800mips/stand/common/prompt.c
186
__putchar(c);
sys/arch/ews4800mips/stand/common/prompt.c
188
__log[__log_cnt++] = c;
sys/arch/ews4800mips/stand/common/prompt.c
64
int c;
sys/arch/ews4800mips/stand/common/prompt.c
68
if ((c = getchar()) != 0)
sys/arch/ews4800mips/stand/common/prompt.c
69
prompt_input(c);
sys/arch/ews4800mips/stand/common/prompt.c
74
prompt_input(int c)
sys/arch/ews4800mips/stand/common/prompt.c
78
switch (c) {
sys/arch/ews4800mips/stand/common/prompt.c
80
__cmd->buf[__cmd->cur] = c;
sys/arch/ews4800mips/stand/common/prompt.c
85
putchar(c);
sys/arch/ews4800mips/stand/common/prompt.c
99
putchar(c);
sys/arch/hp300/dev/dcm.c
1389
int c;
sys/arch/hp300/dev/dcm.c
1394
c = tty_getctrlchar(tp, VSTART);
sys/arch/hp300/dev/dcm.c
1395
if (c != _POSIX_VDISABLE)
sys/arch/hp300/dev/dcm.c
1396
dcm->dcm_bmap[c].data_data |= (1 << i);
sys/arch/hp300/dev/dcm.c
1397
c = tty_getctrlchar(tp, VSTOP);
sys/arch/hp300/dev/dcm.c
1398
if (c != _POSIX_VDISABLE)
sys/arch/hp300/dev/dcm.c
1399
dcm->dcm_bmap[c].data_data |= (1 << i);
sys/arch/hp300/dev/dcm.c
1574
int s, c, stat;
sys/arch/hp300/dev/dcm.c
1592
c = fifo->data_char;
sys/arch/hp300/dev/dcm.c
1597
return c;
sys/arch/hp300/dev/dcm.c
1604
dcmcnputc(dev_t dev, int c)
sys/arch/hp300/dev/dcm.c
1623
dcm_cn->dcm_tfifos[3-DCMCONSPORT][tail].data_char = c;
sys/arch/hp300/dev/dcm.c
810
int c, stat;
sys/arch/hp300/dev/dcm.c
850
c = fifo->data_char;
sys/arch/hp300/dev/dcm.c
862
c&0xFF, c, stat&0xFF,
sys/arch/hp300/dev/dcm.c
874
stat, c&0xFF, c);
sys/arch/hp300/dev/dcm.c
877
c |= TTY_FE;
sys/arch/hp300/dev/dcm.c
879
c |= TTY_PE;
sys/arch/hp300/dev/dcm.c
889
(*tp->t_linesw->l_rint)(c, tp);
sys/arch/hp300/dev/dnkbd.c
707
int c, j;
sys/arch/hp300/dev/dnkbd.c
710
c = dnkbd_raw[key];
sys/arch/hp300/dev/dnkbd.c
711
if (c != 0) {
sys/arch/hp300/dev/dnkbd.c
713
if (c & 0x80)
sys/arch/hp300/dev/dnkbd.c
715
cbuf[j] = c & 0x7f;
sys/arch/hp300/dev/dnkbd.c
879
uint8_t iir, lsr, c;
sys/arch/hp300/dev/dnkbd.c
894
c = bus_space_read_1(bst, bsh, com_lsr);
sys/arch/hp300/dev/dnkbd.c
908
c = bus_space_read_1(bst, bsh, com_data);
sys/arch/hp300/dev/dnkbd.c
909
switch (dnkbd_input(sc, c)) {
sys/arch/hp300/dev/dnkbd.c
911
dnevent_kbd(sc, c);
sys/arch/hp300/dev/dnkbd.c
949
c = bus_space_read_1(bst, bsh, com_msr);
sys/arch/hp300/dev/rd.c
1150
int c, s;
sys/arch/hp300/dev/rd.c
1154
c = device_unit(device_parent(sc->sc_dev));
sys/arch/hp300/dev/rd.c
1161
rv = hpibsend(c, s, C_CMD, &sc->sc_rsc, sizeof(sc->sc_rsc));
sys/arch/hp300/dev/rd.c
1170
rv = hpibrecv(c, s, C_EXEC, &sc->sc_stat, sizeof(sc->sc_stat));
sys/arch/hp300/dev/rd.c
1179
rv = hpibrecv(c, s, C_QSTAT, &stat, 1);
sys/arch/hp300/dev/topcat.c
633
uint16_t c = clr[0];
sys/arch/hp300/dev/topcat.c
635
c = c << 8 | c;
sys/arch/hp300/dev/topcat.c
641
*(uint16_t *)dp = c;
sys/arch/hp300/dev/topcat.c
657
uint16_t c = clr[(fb >> 31) & 1];
sys/arch/hp300/dev/topcat.c
659
c = c << 8 | c;
sys/arch/hp300/dev/topcat.c
660
*(uint16_t *)dp = c;
sys/arch/hp300/dev/topcat.c
669
uint16_t c = clr[1];
sys/arch/hp300/dev/topcat.c
671
c = c << 8 | c;
sys/arch/hp300/dev/topcat.c
675
*(uint16_t *)rp = c;
sys/arch/hp300/include/bus.h
269
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/hp300/include/bus.h
272
((t)->bsrm1)(t, h, o, a, c); \
sys/arch/hp300/include/bus.h
282
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/hp300/include/bus.h
287
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/hp300/include/bus.h
290
((t)->bsrm2)(t, h, o, a, c); \
sys/arch/hp300/include/bus.h
300
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/hp300/include/bus.h
305
#define bus_space_read_multi_4(t, h, o, a, c) do { \
sys/arch/hp300/include/bus.h
307
((t)->bsrm4)(t, h, o, a, c); \
sys/arch/hp300/include/bus.h
317
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/hp300/include/bus.h
332
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/hp300/include/bus.h
335
((t)->bsrr1)(t, h, o, a, c); \
sys/arch/hp300/include/bus.h
345
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/hp300/include/bus.h
350
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/hp300/include/bus.h
353
((t)->bsrr2)(t, h, o, a, c); \
sys/arch/hp300/include/bus.h
363
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/hp300/include/bus.h
368
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/hp300/include/bus.h
371
((t)->bsrr4)(t, h, o, a, c); \
sys/arch/hp300/include/bus.h
381
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/hp300/include/bus.h
428
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/hp300/include/bus.h
431
((t)->bswm1)(t, h, o, a, c); \
sys/arch/hp300/include/bus.h
441
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/hp300/include/bus.h
446
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/hp300/include/bus.h
449
((t)->bswm2)(t, h, o, a, c); \
sys/arch/hp300/include/bus.h
459
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/hp300/include/bus.h
464
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/hp300/include/bus.h
468
((t)->bswm4)(t, h, o, a, c); \
sys/arch/hp300/include/bus.h
478
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/hp300/include/bus.h
492
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/hp300/include/bus.h
495
((t)->bswr1)(t, h, o, a, c); \
sys/arch/hp300/include/bus.h
505
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/hp300/include/bus.h
510
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/hp300/include/bus.h
513
((t)->bswr2)(t, h, o, a, c); \
sys/arch/hp300/include/bus.h
523
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/hp300/include/bus.h
528
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/hp300/include/bus.h
531
((t)->bswr4)(t, h, o, a, c); \
sys/arch/hp300/include/bus.h
541
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/hp300/include/bus.h
555
#define bus_space_set_multi_1(t, h, o, val, c) \
sys/arch/hp300/include/bus.h
558
((t)->bssm1)(t, h, o, val, c); \
sys/arch/hp300/include/bus.h
568
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/hp300/include/bus.h
573
#define bus_space_set_multi_2(t, h, o, val, c) \
sys/arch/hp300/include/bus.h
576
((t)->bssm2)(t, h, o, val, c); \
sys/arch/hp300/include/bus.h
586
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/hp300/include/bus.h
591
#define bus_space_set_multi_4(t, h, o, val, c) \
sys/arch/hp300/include/bus.h
594
((t)->bssm4)(t, h, o, val, c); \
sys/arch/hp300/include/bus.h
604
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/hp300/include/bus.h
618
#define bus_space_set_region_1(t, h, o, val, c) \
sys/arch/hp300/include/bus.h
621
((t)->bssr1)(t, h, o, val, c); \
sys/arch/hp300/include/bus.h
631
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/hp300/include/bus.h
636
#define bus_space_set_region_2(t, h, o, val, c) \
sys/arch/hp300/include/bus.h
639
((t)->bssr2)(t, h, o, val, c); \
sys/arch/hp300/include/bus.h
649
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/hp300/include/bus.h
654
#define bus_space_set_region_4(t, h, o, val, c) \
sys/arch/hp300/include/bus.h
658
((t)->bssr4)(t, h, o, val, c); \
sys/arch/hp300/include/bus.h
668
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/hp300/include/bus.h
687
bus_size_t o2, bus_size_t c) \
sys/arch/hp300/include/bus.h
693
for (o = 0; c != 0; c--, o += BYTES) \
sys/arch/hp300/include/bus.h
698
for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) \
sys/arch/hp300/include/loadfile_machdep.h
45
#define READ(f, b, c) pread((f), (void *)LOADADDR(b), (c))
sys/arch/hp300/include/loadfile_machdep.h
46
#define BCOPY(s, d, c) vpbcopy((s), (void *)LOADADDR(d), (c))
sys/arch/hp300/include/loadfile_machdep.h
47
#define BZERO(d, c) pbzero((void *)LOADADDR(d), (c))
sys/arch/hp300/include/loadfile_machdep.h
70
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/hp300/include/loadfile_machdep.h
71
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/hp300/include/loadfile_machdep.h
72
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/hp300/stand/common/apci.c
150
int c;
sys/arch/hp300/stand/common/apci.c
154
c = apci->ap_data;
sys/arch/hp300/stand/common/apci.c
155
return c;
sys/arch/hp300/stand/common/apci.c
167
apciputchar(dev_t dev, int c)
sys/arch/hp300/stand/common/apci.c
177
apci->ap_data = c;
sys/arch/hp300/stand/common/cons.c
115
cnputc(int c)
sys/arch/hp300/stand/common/cons.c
120
romputchar(c);
sys/arch/hp300/stand/common/cons.c
122
(*cn_tab->cn_putc)(0, c);
sys/arch/hp300/stand/common/dca.c
112
int c;
sys/arch/hp300/stand/common/dca.c
116
c = dca->dca_data;
sys/arch/hp300/stand/common/dca.c
117
return c;
sys/arch/hp300/stand/common/dca.c
129
dcaputchar(dev_t dev, int c)
sys/arch/hp300/stand/common/dca.c
139
dca->dca_data = c;
sys/arch/hp300/stand/common/dcm.c
114
int c, port;
sys/arch/hp300/stand/common/dcm.c
122
c = fifo->data_char;
sys/arch/hp300/stand/common/dcm.c
128
return c;
sys/arch/hp300/stand/common/dcm.c
140
dcmputchar(dev_t dev, int c)
sys/arch/hp300/stand/common/dcm.c
154
dcm->dcm_tfifos[3-port][tail].data_char = c;
sys/arch/hp300/stand/common/devopen.c
71
#define ispart(c) ((c) >= 'a' && (c) <= 'h')
sys/arch/hp300/stand/common/dnkbd.c
100
int c;
sys/arch/hp300/stand/common/dnkbd.c
103
c = 0;
sys/arch/hp300/stand/common/dnkbd.c
108
c = apci->ap_data;
sys/arch/hp300/stand/common/dnkbd.c
117
if (c == 0xdf) {
sys/arch/hp300/stand/common/dnkbd.c
123
switch (dnkbd_keymap[c]) {
sys/arch/hp300/stand/common/dnkbd.c
130
c = 0;
sys/arch/hp300/stand/common/dnkbd.c
134
c = dnkbd_keymap[c];
sys/arch/hp300/stand/common/dnkbd.c
139
return c;
sys/arch/hp300/stand/common/hil.c
231
int status, c;
sys/arch/hp300/stand/common/hil.c
237
c = hiladdr->hil_data;
sys/arch/hp300/stand/common/hil.c
240
c = hilkbd_shiftmap[c & KBD_CHARMASK];
sys/arch/hp300/stand/common/hil.c
243
c = hilkbd_ctrlmap[c & KBD_CHARMASK];
sys/arch/hp300/stand/common/hil.c
246
c = hilkbd_keymap[c & KBD_CHARMASK];
sys/arch/hp300/stand/common/hil.c
249
c = 0;
sys/arch/hp300/stand/common/hil.c
252
return c;
sys/arch/hp300/stand/common/ite.c
370
iteputchar(dev_t dev, int c)
sys/arch/hp300/stand/common/ite.c
375
c &= 0x7F;
sys/arch/hp300/stand/common/ite.c
376
switch (c) {
sys/arch/hp300/stand/common/ite.c
399
if (c < ' ' || c == 0177)
sys/arch/hp300/stand/common/ite.c
401
(*sp->ite_putc)(ip, c, ip->cury, ip->curx);
sys/arch/hp300/stand/common/ite_sti.c
204
sti_putc(struct ite_data *ip, int c, int dy, int dx)
sys/arch/hp300/stand/common/ite_sti.c
220
a.in.index = c;
sys/arch/hp300/stand/common/ite_subr.c
117
int c, i, romp;
sys/arch/hp300/stand/common/ite_subr.c
120
for (c = 0; c < 128; c++) {
sys/arch/hp300/stand/common/ite_subr.c
122
(ip->fonty + (c / ip->cpl) * ip->ftheight) * ip->fbwidth +
sys/arch/hp300/stand/common/ite_subr.c
123
(ip->fontx + (c % ip->cpl) * ip->ftwidth));
sys/arch/hp300/stand/common/ite_subr.c
185
ite_dio_putc1bpp(struct ite_data *ip, int c, int dy, int dx)
sys/arch/hp300/stand/common/ite_subr.c
188
ite_dio_windowmove1bpp(ip, charY(ip, c), charX1bpp(ip, c),
sys/arch/hp300/stand/common/ite_subr.c
194
ite_dio_putc8bpp(struct ite_data *ip, int c, int dy, int dx)
sys/arch/hp300/stand/common/ite_subr.c
197
(*ip->bmv)(ip, charY(ip, c), charX(ip, c),
sys/arch/hp300/stand/common/ite_subr.c
87
int c, l, b;
sys/arch/hp300/stand/common/ite_subr.c
95
for (c = 0; c < 128; c++) {
sys/arch/hp300/stand/common/ite_subr.c
97
(ip->fonty + (c / ip->cpl) * ip->ftheight) * stride;
sys/arch/hp300/stand/common/ite_subr.c
98
fbmem += (ip->fontx >> 3) + (c % ip->cpl) * width;
sys/arch/hp300/stand/common/itevar.h
87
#define charX(ip,c) \
sys/arch/hp300/stand/common/itevar.h
88
(((c) % (ip)->cpl) * (ip)->ftwidth + (ip)->fontx)
sys/arch/hp300/stand/common/itevar.h
90
#define charX1bpp(ip,c) \
sys/arch/hp300/stand/common/itevar.h
91
(((c) % (ip)->cpl) * ((((ip)->ftwidth + 7) / 8) * 8) + (ip)->fontx)
sys/arch/hp300/stand/common/itevar.h
93
#define charY(ip,c) \
sys/arch/hp300/stand/common/itevar.h
94
(((c) / (ip)->cpl) * (ip)->ftheight + (ip)->fonty)
sys/arch/hp300/stand/common/machdep.c
146
romputchar(int c)
sys/arch/hp300/stand/common/machdep.c
152
switch (c) {
sys/arch/hp300/stand/common/machdep.c
174
buf[col] = c;
sys/arch/hp300/stand/common/prf.c
40
int c;
sys/arch/hp300/stand/common/prf.c
42
while ((c = cngetc()) == 0)
sys/arch/hp300/stand/common/prf.c
44
if (c == '\r')
sys/arch/hp300/stand/common/prf.c
45
c = '\n';
sys/arch/hp300/stand/common/prf.c
46
else if (c == ('c'&037)) {
sys/arch/hp300/stand/common/prf.c
50
return c;
sys/arch/hp300/stand/common/prf.c
56
int c;
sys/arch/hp300/stand/common/prf.c
58
if ((c = cngetc()) == 0)
sys/arch/hp300/stand/common/prf.c
61
if (c == '\r')
sys/arch/hp300/stand/common/prf.c
62
c = '\n';
sys/arch/hp300/stand/common/prf.c
63
else if (c == ('c'&037)) {
sys/arch/hp300/stand/common/prf.c
67
return c;
sys/arch/hp300/stand/common/prf.c
71
putchar(int c)
sys/arch/hp300/stand/common/prf.c
73
cnputc(c);
sys/arch/hp300/stand/common/prf.c
74
if (c == '\n')
sys/arch/hp300/stand/common/tgets.c
43
int c;
sys/arch/hp300/stand/common/tgets.c
53
c = tgetchar() & 0177;
sys/arch/hp300/stand/common/tgets.c
54
if (c) {
sys/arch/hp300/stand/common/tgets.c
56
switch (c) {
sys/arch/hp300/stand/common/tgets.c
90
*lp++ = c;
sys/arch/hp300/stand/common/tgets.c
91
putchar(c);
sys/arch/hp300/stand/common/tgets.c
93
c = getchar() & 0177;
sys/arch/hp300/stand/mkboot/mkboot.c
91
#define CLEAR(a, b, c) \
sys/arch/hp300/stand/mkboot/mkboot.c
92
__CTASSERT(sizeof(b) - 1 == c); \
sys/arch/hp300/stand/mkboot/mkboot.c
93
memcpy((a), (b), (c))
sys/arch/hp300/stand/uboot/uboot.c
103
char c, *ptr = line;
sys/arch/hp300/stand/uboot/uboot.c
114
while ((c = *ptr) != '\0') {
sys/arch/hp300/stand/uboot/uboot.c
115
while (c == ' ')
sys/arch/hp300/stand/uboot/uboot.c
116
c = *++ptr;
sys/arch/hp300/stand/uboot/uboot.c
117
if (!c)
sys/arch/hp300/stand/uboot/uboot.c
119
if (c == '-')
sys/arch/hp300/stand/uboot/uboot.c
120
while ((c = *++ptr) && c != ' ')
sys/arch/hp300/stand/uboot/uboot.c
121
BOOT_FLAG(c, *howto);
sys/arch/hp300/stand/uboot/uboot.c
124
while ((c = *++ptr) && c != ' ');
sys/arch/hp300/stand/uboot/uboot.c
125
if (c)
sys/arch/hpc/stand/hpcboot/arm/arm_pxa2x0.cpp
132
#define COM_PUTCHAR(c) (COM_DATA = (c))
sys/arch/hpc/stand/hpcboot/arm/arm_pxa2x0.cpp
134
#define _(c) \
sys/arch/hpc/stand/hpcboot/arm/arm_pxa2x0.cpp
137
COM_PUTCHAR(c); \
sys/arch/hpc/stand/hpcboot/arm/arm_sa1100.cpp
128
#define UTDR_PUTCHAR(c) (UTDR =(c))
sys/arch/hpc/stand/hpcboot/arm/arm_sa1100.cpp
129
#define _(c) \
sys/arch/hpc/stand/hpcboot/arm/arm_sa1100.cpp
132
UTDR_PUTCHAR(c); \
sys/arch/hpc/stand/hpcboot/console.cpp
184
char c = *buf;
sys/arch/hpc/stand/hpcboot/console.cpp
185
if (c == '\n')
sys/arch/hpc/stand/hpcboot/console.cpp
187
WriteFile(_handle, &c, 1, &wrote, 0);
sys/arch/hpc/stand/hpcboot/file_manager.cpp
296
int c;
sys/arch/hpc/stand/hpcboot/file_manager.cpp
300
c = _get_byte();
sys/arch/hpc/stand/hpcboot/file_manager.cpp
301
if (c == EOF)
sys/arch/hpc/stand/hpcboot/file_manager.cpp
303
x +=(static_cast<uint32_t>(c)) << 24;
sys/arch/hpc/stand/hpcboot/file_manager.cpp
314
int c;
sys/arch/hpc/stand/hpcboot/file_manager.cpp
318
c = _get_byte();
sys/arch/hpc/stand/hpcboot/file_manager.cpp
319
if (c == _gz_magic[len])
sys/arch/hpc/stand/hpcboot/file_manager.cpp
321
if ((c == EOF) &&(len == 0)) {
sys/arch/hpc/stand/hpcboot/file_manager.cpp
332
if (c != EOF) {
sys/arch/hpc/stand/hpcboot/file_manager.cpp
360
while ((c = _get_byte()) != 0 && c != EOF) /*void*/;
sys/arch/hpc/stand/hpcboot/file_manager.cpp
364
while ((c = _get_byte()) != 0 && c != EOF) /*void*/;
sys/arch/hpc/stand/hpcboot/hpcboot.cpp
298
_bitdisp(uint32_t a, int s, int e, int m, int c)
sys/arch/hpc/stand/hpcboot/hpcboot.cpp
321
if (c) {
sys/arch/hpc/stand/hpcboot/hpcmenu.cpp
214
#define SETOPT(c) \
sys/arch/hpc/stand/hpcboot/hpcmenu.cpp
217
*loc++ =(c); \
sys/arch/hpc/stand/hpcboot/menu/menu.cpp
411
char c;
sys/arch/hpc/stand/hpcboot/menu/menu.cpp
413
c = *buf & 0x7f;
sys/arch/hpc/stand/hpcboot/menu/menu.cpp
414
WriteFile(_logfile, &c, 1, &cnt, 0);
sys/arch/hpc/stand/hpcboot/menu/menu.cpp
435
TCHAR c = *buf++;
sys/arch/hpc/stand/hpcboot/menu/menu.cpp
436
if (c == TEXT('\n'))
sys/arch/hpc/stand/hpcboot/menu/menu.cpp
438
*d++ = c;
sys/arch/hpc/stand/hpcboot/sh3/dev/sh.h
226
#define SH3_SCI_PUTC(c) \
sys/arch/hpc/stand/hpcboot/sh3/dev/sh.h
229
_reg_write_1(SH3_SCTDR, c); \
sys/arch/hpc/stand/hpcboot/sh3/dev/sh.h
339
#define SH3_SCIF_PUTC(c) \
sys/arch/hpc/stand/hpcboot/sh3/dev/sh.h
343
_reg_write_1(SH3_SCFTDR2, c); \
sys/arch/hpc/stand/hpcboot/sh3/dev/sh4_dev.cpp
98
#define ON(x, c) ((x) & (c) ? check[1] : check[0])
sys/arch/hpc/stand/hpcboot/sh3/sh_mmu.cpp
147
#define ON(x, c) ((x) & (c) ? '|' : '.')
sys/arch/hpc/stand/libsa/strtok.cpp
44
int c, sc;
sys/arch/hpc/stand/libsa/strtok.cpp
55
c = *s++;
sys/arch/hpc/stand/libsa/strtok.cpp
57
if (c == sc)
sys/arch/hpc/stand/libsa/strtok.cpp
61
if (c == 0) { /* no non-delimiter characters */
sys/arch/hpc/stand/libsa/strtok.cpp
72
c = *s++;
sys/arch/hpc/stand/libsa/strtok.cpp
75
if ((sc = *spanp++) == c) {
sys/arch/hpc/stand/libsa/strtok.cpp
76
if (c == 0)
sys/arch/hpc/stand/libsa/tolower.cpp
40
tolower(char c)
sys/arch/hpc/stand/libsa/tolower.cpp
43
if (c >= 'A' && c <= 'Z')
sys/arch/hpc/stand/libsa/tolower.cpp
44
return c - 'A' + 'a';
sys/arch/hpc/stand/libsa/tolower.cpp
46
return c;
sys/arch/hpc/stand/libsa/winblk.c
60
#define islower(c) ('a' <= (c) && (c) <= 'z')
sys/arch/hpc/stand/libsa/winblk.c
61
#define _toupper(c) (islower(c) ? ((c) - 'a' + 'A') : (c))
sys/arch/hpcarm/dev/wzero3_lcd.c
62
.c = {
sys/arch/hpcarm/dev/wzero3_lcd.c
74
&wzero3lcd_std_screen.c
sys/arch/hpcmips/hpcmips/bus_space.c
636
bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c) \
sys/arch/hpcmips/hpcmips/bus_space.c
642
for (o = 0; c != 0; c--, o += n) \
sys/arch/hpcmips/hpcmips/bus_space.c
647
for (o = (c - 1) * n; c != 0; c--, o -= n) \
sys/arch/hpcmips/include/bus.h
283
#define __bs_nonsingle(type, sz, t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
284
(*__bs_ops(t).__bs_opname(type,sz))(t, h, o, a, c)
sys/arch/hpcmips/include/bus.h
285
#define __bs_set(type, sz, t, h, o, v, c) \
sys/arch/hpcmips/include/bus.h
286
(*__bs_ops(t).__bs_opname(type,sz))(t, h, o, v, c)
sys/arch/hpcmips/include/bus.h
288
(*__bs_ops(t).__bs_opname(c,sz))(t, h1, o1, h2, o2, cnt)
sys/arch/hpcmips/include/bus.h
294
#define bus_space_map(t, a, s, c, hp) \
sys/arch/hpcmips/include/bus.h
295
(*__bs_ops(t).bs_map)(t, (a), (s), (c), (hp))
sys/arch/hpcmips/include/bus.h
305
#define bus_space_alloc(t, rs, re, s, a, b, c, ap, hp) \
sys/arch/hpcmips/include/bus.h
306
(*__bs_ops(t).bs_alloc)(t, (rs), (re), (s), (a), (b), (c), (ap), (hp))
sys/arch/hpcmips/include/bus.h
353
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
354
__bs_nonsingle(rm,1,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
355
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
356
__bs_nonsingle(rm,2,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
357
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
358
__bs_nonsingle(rm,4,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
359
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
360
__bs_nonsingle(rm,8,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
366
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
367
__bs_nonsingle(rr,1,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
368
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
369
__bs_nonsingle(rr,2,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
370
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
371
__bs_nonsingle(rr,4,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
372
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
373
__bs_nonsingle(rr,8,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
388
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
389
__bs_nonsingle(wm,1,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
390
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
391
__bs_nonsingle(wm,2,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
392
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
393
__bs_nonsingle(wm,4,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
394
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
395
__bs_nonsingle(wm,8,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
401
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
402
__bs_nonsingle(wr,1,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
403
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
404
__bs_nonsingle(wr,2,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
405
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
406
__bs_nonsingle(wr,4,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
407
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
408
__bs_nonsingle(wr,8,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
424
#define bus_space_read_multi_stream_1(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
425
__bs_nonsingle(rms,1,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
426
#define bus_space_read_multi_stream_2(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
427
__bs_nonsingle(rms,2,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
428
#define bus_space_read_multi_stream_4(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
429
__bs_nonsingle(rms,4,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
430
#define bus_space_read_multi_stream_8(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
431
__bs_nonsingle(rms,8,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
437
#define bus_space_read_region_stream_1(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
438
__bs_nonsingle(rrs,1,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
439
#define bus_space_read_region_stream_2(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
440
__bs_nonsingle(rrs,2,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
441
#define bus_space_read_region_stream_4(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
442
__bs_nonsingle(rrs,4,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
443
#define bus_space_read_region_stream_8(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
444
__bs_nonsingle(rrs,8,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
459
#define bus_space_write_multi_stream_1(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
460
__bs_nonsingle(wms,1,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
461
#define bus_space_write_multi_stream_2(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
462
__bs_nonsingle(wms,2,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
463
#define bus_space_write_multi_stream_4(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
464
__bs_nonsingle(wms,4,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
465
#define bus_space_write_multi_stream_8(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
466
__bs_nonsingle(wms,8,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
472
#define bus_space_write_region_stream_1(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
473
__bs_nonsingle(wrs,1,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
474
#define bus_space_write_region_stream_2(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
475
__bs_nonsingle(wrs,2,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
476
#define bus_space_write_region_stream_4(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
477
__bs_nonsingle(wrs,4,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
478
#define bus_space_write_region_stream_8(t, h, o, a, c) \
sys/arch/hpcmips/include/bus.h
479
__bs_nonsingle(wrs,8,(t),(h),(o),(a),(c))
sys/arch/hpcmips/include/bus.h
513
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/arch/hpcmips/include/bus.h
514
__bs_set(sm,1,(t),(h),(o),(v),(c))
sys/arch/hpcmips/include/bus.h
515
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/arch/hpcmips/include/bus.h
516
__bs_set(sm,2,(t),(h),(o),(v),(c))
sys/arch/hpcmips/include/bus.h
517
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/arch/hpcmips/include/bus.h
518
__bs_set(sm,4,(t),(h),(o),(v),(c))
sys/arch/hpcmips/include/bus.h
519
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/arch/hpcmips/include/bus.h
520
__bs_set(sm,8,(t),(h),(o),(v),(c))
sys/arch/hpcmips/include/bus.h
526
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/hpcmips/include/bus.h
527
__bs_set(sr,1,(t),(h),(o),(v),(c))
sys/arch/hpcmips/include/bus.h
528
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/hpcmips/include/bus.h
529
__bs_set(sr,2,(t),(h),(o),(v),(c))
sys/arch/hpcmips/include/bus.h
530
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/hpcmips/include/bus.h
531
__bs_set(sr,4,(t),(h),(o),(v),(c))
sys/arch/hpcmips/include/bus.h
532
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arch/hpcmips/include/bus.h
533
__bs_set(sr,8,(t),(h),(o),(v),(c))
sys/arch/hpcmips/include/bus.h
539
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arch/hpcmips/include/bus.h
540
__bs_copy(1, t, h1, o1, h2, o2, c)
sys/arch/hpcmips/include/bus.h
541
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arch/hpcmips/include/bus.h
542
__bs_copy(2, t, h1, o1, h2, o2, c)
sys/arch/hpcmips/include/bus.h
543
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arch/hpcmips/include/bus.h
544
__bs_copy(4, t, h1, o1, h2, o2, c)
sys/arch/hpcmips/include/bus.h
545
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arch/hpcmips/include/bus.h
546
__bs_copy(8, t, h1, o1, h2, o2, c)
sys/arch/hpcmips/include/isa_machdep.h
60
#define isa_dmacascade(ic, c) \
sys/arch/hpcmips/include/isa_machdep.h
61
_isa_dmacascade(&(ic)->ic_dmastate, (c))
sys/arch/hpcmips/include/isa_machdep.h
62
#define isa_dmamaxsize(ic, c) \
sys/arch/hpcmips/include/isa_machdep.h
63
_isa_dmamaxsize(&(ic)->ic_dmastate, (c))
sys/arch/hpcmips/include/isa_machdep.h
64
#define isa_dmamap_create(ic, c, s, f) \
sys/arch/hpcmips/include/isa_machdep.h
65
_isa_dmamap_create(&(ic)->ic_dmastate, (c), (s), (f))
sys/arch/hpcmips/include/isa_machdep.h
66
#define isa_dmamap_destroy(ic, c) \
sys/arch/hpcmips/include/isa_machdep.h
67
_isa_dmamap_destroy(&(ic)->ic_dmastate, (c))
sys/arch/hpcmips/include/isa_machdep.h
68
#define isa_dmastart(ic, c, a, n, p, f, bf) \
sys/arch/hpcmips/include/isa_machdep.h
69
_isa_dmastart(&(ic)->ic_dmastate, (c), (a), (n), (p), (f), (bf))
sys/arch/hpcmips/include/isa_machdep.h
70
#define isa_dmaabort(ic, c) \
sys/arch/hpcmips/include/isa_machdep.h
71
_isa_dmaabort(&(ic)->ic_dmastate, (c))
sys/arch/hpcmips/include/isa_machdep.h
72
#define isa_dmacount(ic, c) \
sys/arch/hpcmips/include/isa_machdep.h
73
_isa_dmacount(&(ic)->ic_dmastate, (c))
sys/arch/hpcmips/include/isa_machdep.h
74
#define isa_dmafinished(ic, c) \
sys/arch/hpcmips/include/isa_machdep.h
75
_isa_dmafinished(&(ic)->ic_dmastate, (c))
sys/arch/hpcmips/include/isa_machdep.h
76
#define isa_dmadone(ic, c) \
sys/arch/hpcmips/include/isa_machdep.h
77
_isa_dmadone(&(ic)->ic_dmastate, (c))
sys/arch/hpcmips/include/isa_machdep.h
82
#define isa_dmamem_alloc(ic, c, s, ap, f) \
sys/arch/hpcmips/include/isa_machdep.h
83
_isa_dmamem_alloc(&(ic)->ic_dmastate, (c), (s), (ap), (f))
sys/arch/hpcmips/include/isa_machdep.h
84
#define isa_dmamem_free(ic, c, a, s) \
sys/arch/hpcmips/include/isa_machdep.h
85
_isa_dmamem_free(&(ic)->ic_dmastate, (c), (a), (s))
sys/arch/hpcmips/include/isa_machdep.h
86
#define isa_dmamem_map(ic, c, a, s, kp, f) \
sys/arch/hpcmips/include/isa_machdep.h
87
_isa_dmamem_map(&(ic)->ic_dmastate, (c), (a), (s), (kp), (f))
sys/arch/hpcmips/include/isa_machdep.h
88
#define isa_dmamem_unmap(ic, c, k, s) \
sys/arch/hpcmips/include/isa_machdep.h
89
_isa_dmamem_unmap(&(ic)->ic_dmastate, (c), (k), (s))
sys/arch/hpcmips/include/isa_machdep.h
90
#define isa_dmamem_mmap(ic, c, a, s, o, p, f) \
sys/arch/hpcmips/include/isa_machdep.h
91
_isa_dmamem_mmap(&(ic)->ic_dmastate, (c), (a), (s), (o), (p), (f))
sys/arch/hpcmips/include/isa_machdep.h
92
#define isa_drq_alloc(ic, c) \
sys/arch/hpcmips/include/isa_machdep.h
93
_isa_drq_alloc(&(ic)->ic_dmastate, c)
sys/arch/hpcmips/include/isa_machdep.h
94
#define isa_drq_free(ic, c) \
sys/arch/hpcmips/include/isa_machdep.h
95
_isa_drq_free(&(ic)->ic_dmastate, c)
sys/arch/hpcmips/include/isa_machdep.h
96
#define isa_drq_isfree(ic, c) \
sys/arch/hpcmips/include/isa_machdep.h
97
_isa_drq_isfree(&(ic)->ic_dmastate, (c))
sys/arch/hpcmips/include/isa_machdep.h
98
#define isa_malloc(ic, c, s, p, f) \
sys/arch/hpcmips/include/isa_machdep.h
99
_isa_malloc(&(ic)->ic_dmastate, (c), (s), (p), (f))
sys/arch/hpcmips/include/loadfile_machdep.h
38
#define READ(f, b, c) pread((f), (void *)LOADADDR(b), (c))
sys/arch/hpcmips/include/loadfile_machdep.h
39
#define BCOPY(s, d, c) vpbcopy((s), (void *)LOADADDR(d), (c))
sys/arch/hpcmips/include/loadfile_machdep.h
40
#define BZERO(d, c) pbzero((void *)LOADADDR(d), (c))
sys/arch/hpcmips/include/pci_machdep.h
76
#define pci_bus_maxdevs(c, b) \
sys/arch/hpcmips/include/pci_machdep.h
77
(*(c)->pc_bus_maxdevs)((c), (b))
sys/arch/hpcmips/include/pci_machdep.h
78
#define pci_make_tag(c, b, d, f) \
sys/arch/hpcmips/include/pci_machdep.h
79
(*(c)->pc_make_tag)((c), (b), (d), (f))
sys/arch/hpcmips/include/pci_machdep.h
80
#define pci_decompose_tag(c, t, bp, dp, fp) \
sys/arch/hpcmips/include/pci_machdep.h
81
(*(c)->pc_decompose_tag)((c), (t), (bp), (dp), (fp))
sys/arch/hpcmips/include/pci_machdep.h
82
#define pci_conf_read(c, t, r) \
sys/arch/hpcmips/include/pci_machdep.h
83
(*(c)->pc_conf_read)((c), (t), (r))
sys/arch/hpcmips/include/pci_machdep.h
84
#define pci_conf_write(c, t, r, v) \
sys/arch/hpcmips/include/pci_machdep.h
85
(*(c)->pc_conf_write)((c), (t), (r), (v))
sys/arch/hpcmips/include/pci_machdep.h
88
#define pci_intr_string(c, ih, buf, len) \
sys/arch/hpcmips/include/pci_machdep.h
89
(*(c)->pc_intr_string)((c), (ih), (buf), (len))
sys/arch/hpcmips/include/pci_machdep.h
90
#define pci_intr_evcnt(c, ih) \
sys/arch/hpcmips/include/pci_machdep.h
91
(*(c)->pc_intr_evcnt)((c), (ih))
sys/arch/hpcmips/include/pci_machdep.h
92
#define pci_intr_establish(c, ih, l, h, a) \
sys/arch/hpcmips/include/pci_machdep.h
93
(*(c)->pc_intr_establish)((c), (ih), (l), (h), (a))
sys/arch/hpcmips/include/pci_machdep.h
94
#define pci_intr_disestablish(c, iv) \
sys/arch/hpcmips/include/pci_machdep.h
95
(*(c)->pc_intr_disestablish)((c), (iv))
sys/arch/hpcmips/stand/lcboot/com.c
100
return c;
sys/arch/hpcmips/stand/lcboot/com.c
104
comcnputc(int c)
sys/arch/hpcmips/stand/lcboot/com.c
114
REGWRITE_1(VR4181_SIU_ADDR, com_data, c);
sys/arch/hpcmips/stand/lcboot/com.c
124
putchar(int c)
sys/arch/hpcmips/stand/lcboot/com.c
126
if (c == '\n')
sys/arch/hpcmips/stand/lcboot/com.c
128
comcnputc(c);
sys/arch/hpcmips/stand/lcboot/com.c
91
u_int8_t c;
sys/arch/hpcmips/stand/lcboot/com.c
97
c = REGREAD_1(VR4181_SIU_ADDR, com_data);
sys/arch/hpcmips/stand/lcboot/main.c
515
char c;
sys/arch/hpcmips/stand/lcboot/main.c
529
if ((c = getchar()) != 'S')
sys/arch/hpcmips/stand/lcboot/main.c
548
c = getchar();
sys/arch/hpcmips/stand/lcboot/main.c
549
} while (c != '\r' && c != '\n');
sys/arch/hpcmips/stand/lcboot/main.c
616
c = getchar();
sys/arch/hpcmips/stand/lcboot/main.c
617
if (c != '\r' && c != '\n')
sys/arch/hpcmips/stand/lcboot/main.c
629
c = getchar();
sys/arch/hpcmips/stand/lcboot/main.c
630
} while (c != '\r' && c != '\n');
sys/arch/hpcmips/stand/lcboot/main.c
653
int c;
sys/arch/hpcmips/stand/lcboot/main.c
669
c = strtoul(opt, &endptr, 16);
sys/arch/hpcmips/stand/lcboot/main.c
671
c = '\0';
sys/arch/hpcmips/stand/lcboot/main.c
673
memset(p, c, limit - p);
sys/arch/hpcmips/stand/lcboot/main.c
869
char c = 0;
sys/arch/hpcmips/stand/lcboot/main.c
879
c = getchar();
sys/arch/hpcmips/stand/lcboot/main.c
887
return(c);
sys/arch/hpcmips/stand/lcboot/main.c
900
char c;
sys/arch/hpcmips/stand/lcboot/main.c
910
c = awaitkey();
sys/arch/hpcmips/stand/lcboot/main.c
911
if (c != '\r' && c != '\n' && c != '\0') {
sys/arch/hpcmips/stand/libsa/winblk.c
60
#define islower(c) ('a' <= (c) && (c) <= 'z')
sys/arch/hpcmips/stand/libsa/winblk.c
61
#define toupper(c) (islower(c) ? ((c) - 'a' + 'A') : (c))
sys/arch/hpcmips/stand/libsa/winprintf.c
62
putchar(int c)
sys/arch/hpcmips/stand/libsa/winprintf.c
64
win_printf(TEXT("%C"), c);
sys/arch/hpcmips/stand/pbsdboot/preference.c
104
int read1byte(HANDLE file,char *c){
sys/arch/hpcmips/stand/pbsdboot/preference.c
106
if(!ReadFile(file,c,sizeof(char),&n,NULL)){
sys/arch/hpcmips/stand/pbsdboot/preference.c
185
char c;
sys/arch/hpcmips/stand/pbsdboot/preference.c
211
d = read1byte(file,&c);
sys/arch/hpcmips/stand/pbsdboot/preference.c
225
while(c != ':' && c != '\r' && c!= '\n'){
sys/arch/hpcmips/stand/pbsdboot/preference.c
226
tempbuf[i] = c;
sys/arch/hpcmips/stand/pbsdboot/preference.c
227
d = read1byte(file,&c);
sys/arch/hpcmips/stand/pbsdboot/preference.c
241
if(c == ':'){
sys/arch/hpcmips/stand/pbsdboot/preference.c
249
d = read1byte(file,&c);
sys/arch/hpcmips/stand/pbsdboot/preference.c
251
while(c != '\r' && c != '\n' && flag){/* get unidata */
sys/arch/hpcmips/stand/pbsdboot/preference.c
262
tempbuf[i] = c;
sys/arch/hpcmips/stand/pbsdboot/preference.c
263
d = read1byte(file,&c);
sys/arch/hpcmips/stand/pbsdboot/preference.c
267
if(c == '\r'){/* skip \n */
sys/arch/hpcmips/stand/pbsdboot/preference.c
268
read1byte(file,&c);
sys/arch/hpcmips/tx/tx39biu.c
198
int r, c;
sys/arch/hpcmips/tx/tx39biu.c
217
c = TX39_MEMCONFIG0_COLSEL1(reg);
sys/arch/hpcmips/tx/tx39biu.c
220
c = TX39_MEMCONFIG0_COLSEL0(reg);
sys/arch/hpcmips/tx/tx39biu.c
222
printf(" ROW %s COL %s\n", rowsel[r], colsel[c]);
sys/arch/hpcmips/tx/tx39ioreg.h
279
#define tx39io_get_mfio_map(c) \
sys/arch/hpcmips/tx/tx39ioreg.h
280
(IS_TX391X(c) ? tx391x_mfio_map : tx392x_mfio_map)
sys/arch/hpcmips/tx/tx39ioreg.h
281
#define tx39io_get_io_max(c) \
sys/arch/hpcmips/tx/tx39ioreg.h
282
(IS_TX391X(c) ? TX391X_IO_IO_MAX : TX392X_IO_IO_MAX)
sys/arch/hpcmips/tx/tx39ioreg.h
284
#define tx39io_get_mfio_map(c) tx391x_mfio_map
sys/arch/hpcmips/tx/tx39ioreg.h
285
#define tx39io_get_io_max(c) TX391X_IO_IO_MAX
sys/arch/hpcmips/tx/tx39ioreg.h
287
#define tx39io_get_mfio_map(c) tx392x_mfio_map
sys/arch/hpcmips/tx/tx39ioreg.h
288
#define tx39io_get_io_max(c) TX392X_IO_IO_MAX
sys/arch/hpcmips/tx/txcom.c
445
int ofs, c, s;
sys/arch/hpcmips/tx/txcom.c
455
c = TX39_UARTRXHOLD_RXDATA(
sys/arch/hpcmips/tx/txcom.c
458
if (c == '\r')
sys/arch/hpcmips/tx/txcom.c
459
c = '\n';
sys/arch/hpcmips/tx/txcom.c
463
return c;
sys/arch/hpcmips/tx/txcom.c
467
txcom_cnputc(dev_t dev, int c)
sys/arch/hpcmips/tx/txcom.c
479
(c & TX39_UARTTXHOLD_TXDATA_MASK));
sys/arch/hpcmips/tx/txcom.c
696
u_int8_t c;
sys/arch/hpcmips/tx/txcom.c
698
c = TX39_UARTRXHOLD_RXDATA(
sys/arch/hpcmips/tx/txcom.c
702
sc->sc_rbuf[sc->sc_rbput] = c;
sys/arch/hpcmips/vr/vrpiu.c
131
int n, int scale, int *a, int *b, int *c);
sys/arch/hpcmips/vr/vrpiu.c
686
#define ISVALID(n, c) ((c) - (c)/5 < (n) && (n) < (c) + (c)/5)
sys/arch/hpcsh/dev/hd64461/hd64461uartvar.h
40
#define HD64461COM_PUTC(c) \
sys/arch/hpcsh/dev/hd64461/hd64461uartvar.h
43
*(volatile uint8_t *)HD64461_UTBR_REG8 = c; \
sys/arch/hpcsh/dev/hd64461/hd64461video.c
81
int c, cw, cstep;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
891
sc->sc_font.c = (w * bpp) / NBBY;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
895
DPRINTF("c = %d cw = %d cstep = %d\n", sc->sc_font.c,
sys/arch/hpcsh/dev/hd64461/hd64461video.c
909
base += (n / font->cw) * font->cstep + font->c * (n % font->cw);
sys/arch/hpcsh/dev/hd64461/hd64461video.c
928
step = sc->sc_font.cw * sc->sc_font.c;
sys/arch/hpcsh/dev/hd64465/hd64465uartvar.h
39
#define HD64465COM_PUTC(c) \
sys/arch/hpcsh/dev/hd64465/hd64465uartvar.h
42
VOLATILE_REF8(HD64465_UTBR_REG8) = (c); \
sys/arch/hpcsh/dev/j6x0lcd.c
299
unsigned int c;
sys/arch/hpcsh/dev/j6x0lcd.c
301
c = (bcr >> (pin[bit] << 1)) & 0x3;
sys/arch/hpcsh/dev/j6x0lcd.c
302
if (c == 1) /* pin in output mode? */
sys/arch/hpcsh/dev/pfckbd.c
388
uint16_t cc, dc, ec; uint8_t c, d, e;
sys/arch/hpcsh/dev/pfckbd.c
418
_reg_write_1(SH7709_PCDR, cd | scan[i].c);
sys/arch/hpcsh/dev/pfckbd.c
442
uint16_t cc, dc, ec; uint8_t c, d, e;
sys/arch/hpcsh/dev/pfckbd.c
468
_reg_write_1(SH7709_PCDR, cd | poll.c);
sys/arch/hpcsh/include/bus_funcs.h
102
(*(t)->__hbs_opname(c,sz))((t)->hbs_cookie, h1, o1, h2, o2, cnt); \
sys/arch/hpcsh/include/bus_funcs.h
149
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
150
__hbs_nonsingle(rm,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/hpcsh/include/bus_funcs.h
151
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
152
__hbs_nonsingle(rm,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/hpcsh/include/bus_funcs.h
153
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
154
__hbs_nonsingle(rm,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/hpcsh/include/bus_funcs.h
155
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
156
__hbs_nonsingle(rm,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/hpcsh/include/bus_funcs.h
162
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
163
__hbs_nonsingle(rr,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/hpcsh/include/bus_funcs.h
164
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
165
__hbs_nonsingle(rr,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/hpcsh/include/bus_funcs.h
166
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
167
__hbs_nonsingle(rr,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/hpcsh/include/bus_funcs.h
168
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
169
__hbs_nonsingle(rr,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/hpcsh/include/bus_funcs.h
184
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
185
__hbs_nonsingle(wm,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/hpcsh/include/bus_funcs.h
186
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
187
__hbs_nonsingle(wm,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/hpcsh/include/bus_funcs.h
188
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
189
__hbs_nonsingle(wm,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/hpcsh/include/bus_funcs.h
190
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
191
__hbs_nonsingle(wm,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/hpcsh/include/bus_funcs.h
197
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
198
__hbs_nonsingle(wr,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/hpcsh/include/bus_funcs.h
199
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
200
__hbs_nonsingle(wr,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/hpcsh/include/bus_funcs.h
201
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
202
__hbs_nonsingle(wr,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/hpcsh/include/bus_funcs.h
203
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
204
__hbs_nonsingle(wr,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/hpcsh/include/bus_funcs.h
210
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/arch/hpcsh/include/bus_funcs.h
211
__hbs_set(sm,1,uint8_t,(t),(h),(o),(v),(c))
sys/arch/hpcsh/include/bus_funcs.h
212
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/arch/hpcsh/include/bus_funcs.h
213
__hbs_set(sm,2,uint16_t,(t),(h),(o),(v),(c))
sys/arch/hpcsh/include/bus_funcs.h
214
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/arch/hpcsh/include/bus_funcs.h
215
__hbs_set(sm,4,uint32_t,(t),(h),(o),(v),(c))
sys/arch/hpcsh/include/bus_funcs.h
216
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/arch/hpcsh/include/bus_funcs.h
217
__hbs_set(sm,8,uint64_t,(t),(h),(o),(v),(c))
sys/arch/hpcsh/include/bus_funcs.h
223
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/hpcsh/include/bus_funcs.h
224
__hbs_set(sr,1,uint8_t,(t),(h),(o),(v),(c))
sys/arch/hpcsh/include/bus_funcs.h
225
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/hpcsh/include/bus_funcs.h
226
__hbs_set(sr,2,uint16_t,(t),(h),(o),(v),(c))
sys/arch/hpcsh/include/bus_funcs.h
227
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/hpcsh/include/bus_funcs.h
228
__hbs_set(sr,4,uint32_t,(t),(h),(o),(v),(c))
sys/arch/hpcsh/include/bus_funcs.h
229
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arch/hpcsh/include/bus_funcs.h
230
__hbs_set(sr,8,uint64_t,(t),(h),(o),(v),(c))
sys/arch/hpcsh/include/bus_funcs.h
236
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arch/hpcsh/include/bus_funcs.h
237
__hbs_copy(1, uint8_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/hpcsh/include/bus_funcs.h
238
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arch/hpcsh/include/bus_funcs.h
239
__hbs_copy(2, uint16_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/hpcsh/include/bus_funcs.h
240
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arch/hpcsh/include/bus_funcs.h
241
__hbs_copy(4, uint32_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/hpcsh/include/bus_funcs.h
242
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arch/hpcsh/include/bus_funcs.h
243
__hbs_copy(8, uint64_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/hpcsh/include/bus_funcs.h
85
#define __hbs_nonsingle(type, sz, tn, t, h, o, a, c) \
sys/arch/hpcsh/include/bus_funcs.h
89
(*(t)->__hbs_opname(type,sz))((t)->hbs_cookie, h, o, a, c); \
sys/arch/hpcsh/include/bus_funcs.h
92
#define __hbs_set(type, sz, tn, t, h, o, v, c) \
sys/arch/hpcsh/include/bus_funcs.h
95
(*(t)->__hbs_opname(type,sz))((t)->hbs_cookie, h, o, v, c); \
sys/arch/hpcsh/include/bus_util.h
117
bus_size_t o2, bus_size_t c) \
sys/arch/hpcsh/include/bus_util.h
124
while (c--) \
sys/arch/hpcsh/include/bus_util.h
127
addr1 += c - 1; \
sys/arch/hpcsh/include/bus_util.h
128
addr2 += c - 1; \
sys/arch/hpcsh/include/bus_util.h
129
while (c--) \
sys/arch/hppa/dev/dino.c
1002
dino_sm_1(void *v, bus_space_handle_t h, bus_size_t o, uint8_t vv, bus_size_t c)
sys/arch/hppa/dev/dino.c
1017
while (c--)
sys/arch/hppa/dev/dino.c
1022
dino_sm_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t vv, bus_size_t c)
sys/arch/hppa/dev/dino.c
1039
while (c--)
sys/arch/hppa/dev/dino.c
1044
dino_sm_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t vv, bus_size_t c)
sys/arch/hppa/dev/dino.c
1059
while (c--)
sys/arch/hppa/dev/dino.c
1064
dino_sm_8(void *v, bus_space_handle_t h, bus_size_t o, uint64_t vv, bus_size_t c)
sys/arch/hppa/dev/dino.c
1071
uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1088
while (c--)
sys/arch/hppa/dev/dino.c
1094
uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1109
while (c--)
sys/arch/hppa/dev/dino.c
1115
uint64_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1122
const uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1139
while (c--)
sys/arch/hppa/dev/dino.c
1145
const uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1160
while (c--)
sys/arch/hppa/dev/dino.c
1166
const uint64_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1172
dino_rr_1(void *v, bus_space_handle_t h, bus_size_t o, uint8_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1179
while (c--)
sys/arch/hppa/dev/dino.c
1185
for (; c--; h++) {
sys/arch/hppa/dev/dino.c
1194
dino_rr_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1201
while (c--) {
sys/arch/hppa/dev/dino.c
1209
for (; c--; h += 2) {
sys/arch/hppa/dev/dino.c
1221
dino_rr_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1228
while (c--) {
sys/arch/hppa/dev/dino.c
1236
for (; c--; h += 4) {
sys/arch/hppa/dev/dino.c
1245
dino_rr_8(void *v, bus_space_handle_t h, bus_size_t o, uint64_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1251
dino_wr_1(void *v, bus_space_handle_t h, bus_size_t o, const uint8_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1258
while (c--)
sys/arch/hppa/dev/dino.c
1264
for (; c--; h++) {
sys/arch/hppa/dev/dino.c
1273
dino_wr_2(void *v, bus_space_handle_t h, bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1280
while (c--) {
sys/arch/hppa/dev/dino.c
1288
for (; c--; h += 2) {
sys/arch/hppa/dev/dino.c
1300
dino_wr_4(void *v, bus_space_handle_t h, bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1307
while (c--) {
sys/arch/hppa/dev/dino.c
1315
for (; c--; h += 4) {
sys/arch/hppa/dev/dino.c
1324
dino_wr_8(void *v, bus_space_handle_t h, bus_size_t o, const uint64_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1331
uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1338
while (c--)
sys/arch/hppa/dev/dino.c
1344
for (; c--; h += 2) {
sys/arch/hppa/dev/dino.c
1356
uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1363
while (c--)
sys/arch/hppa/dev/dino.c
1369
for (; c--; h += 4) {
sys/arch/hppa/dev/dino.c
1378
uint64_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1385
const uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1392
while (c--)
sys/arch/hppa/dev/dino.c
1398
for (; c--; h += 2) {
sys/arch/hppa/dev/dino.c
1410
const uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1414
c /= 4;
sys/arch/hppa/dev/dino.c
1418
while (c--)
sys/arch/hppa/dev/dino.c
1424
for (; c--; h += 4) {
sys/arch/hppa/dev/dino.c
1433
const uint64_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
1439
dino_sr_1(void *v, bus_space_handle_t h, bus_size_t o, uint8_t vv, bus_size_t c)
sys/arch/hppa/dev/dino.c
1446
while (c--)
sys/arch/hppa/dev/dino.c
1452
for (; c--; h++) {
sys/arch/hppa/dev/dino.c
1461
dino_sr_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t vv, bus_size_t c)
sys/arch/hppa/dev/dino.c
1469
while (c--)
sys/arch/hppa/dev/dino.c
1475
for (; c--; h += 2) {
sys/arch/hppa/dev/dino.c
1486
dino_sr_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t vv, bus_size_t c)
sys/arch/hppa/dev/dino.c
1494
while (c--)
sys/arch/hppa/dev/dino.c
1500
for (; c--; h += 4) {
sys/arch/hppa/dev/dino.c
1508
dino_sr_8(void *v, bus_space_handle_t h, bus_size_t o, uint64_t vv, bus_size_t c)
sys/arch/hppa/dev/dino.c
1515
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/hppa/dev/dino.c
1517
while (c--)
sys/arch/hppa/dev/dino.c
1523
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/hppa/dev/dino.c
1525
while (c--) {
sys/arch/hppa/dev/dino.c
1534
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/hppa/dev/dino.c
1536
while (c--) {
sys/arch/hppa/dev/dino.c
1545
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/hppa/dev/dino.c
1547
while (c--) {
sys/arch/hppa/dev/dino.c
866
dino_rm_1(void *v, bus_space_handle_t h, bus_size_t o, uint8_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
881
while (c--)
sys/arch/hppa/dev/dino.c
886
dino_rm_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
903
while (c--)
sys/arch/hppa/dev/dino.c
908
dino_rm_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
923
while (c--)
sys/arch/hppa/dev/dino.c
928
dino_rm_8(void *v, bus_space_handle_t h, bus_size_t o, uint64_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
934
dino_wm_1(void *v, bus_space_handle_t h, bus_size_t o, const uint8_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
949
while (c--)
sys/arch/hppa/dev/dino.c
954
dino_wm_2(void *v, bus_space_handle_t h, bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
971
while (c--)
sys/arch/hppa/dev/dino.c
976
dino_wm_4(void *v, bus_space_handle_t h, bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/dino.c
991
while (c--)
sys/arch/hppa/dev/dino.c
996
dino_wm_8(void *v, bus_space_handle_t h, bus_size_t o, const uint64_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
1003
const uint64_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
1010
while (c--)
sys/arch/hppa/dev/elroy.c
1015
elroy_sr_1(void *v, bus_space_handle_t h, bus_size_t o, uint8_t vv, bus_size_t c)
sys/arch/hppa/dev/elroy.c
1021
while (c--)
sys/arch/hppa/dev/elroy.c
1026
elroy_sr_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t vv, bus_size_t c)
sys/arch/hppa/dev/elroy.c
1033
while (c--)
sys/arch/hppa/dev/elroy.c
1038
elroy_sr_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t vv, bus_size_t c)
sys/arch/hppa/dev/elroy.c
1045
while (c--)
sys/arch/hppa/dev/elroy.c
1050
elroy_sr_8(void *v, bus_space_handle_t h, bus_size_t o, uint64_t vv, bus_size_t c)
sys/arch/hppa/dev/elroy.c
1057
while (c--)
sys/arch/hppa/dev/elroy.c
1063
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/hppa/dev/elroy.c
1065
while (c--)
sys/arch/hppa/dev/elroy.c
1071
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/hppa/dev/elroy.c
1073
while (c--) {
sys/arch/hppa/dev/elroy.c
1082
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/hppa/dev/elroy.c
1084
while (c--) {
sys/arch/hppa/dev/elroy.c
1093
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/hppa/dev/elroy.c
1095
while (c--) {
sys/arch/hppa/dev/elroy.c
630
elroy_rm_1(void *v, bus_space_handle_t h, bus_size_t o, uint8_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
636
while (c--)
sys/arch/hppa/dev/elroy.c
641
elroy_rm_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
647
while (c--)
sys/arch/hppa/dev/elroy.c
652
elroy_rm_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
658
while (c--)
sys/arch/hppa/dev/elroy.c
663
elroy_rm_8(void *v, bus_space_handle_t h, bus_size_t o, uint64_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
669
while (c--)
sys/arch/hppa/dev/elroy.c
674
elroy_wm_1(void *v, bus_space_handle_t h, bus_size_t o, const uint8_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
680
while (c--)
sys/arch/hppa/dev/elroy.c
685
elroy_wm_2(void *v, bus_space_handle_t h, bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
691
while (c--)
sys/arch/hppa/dev/elroy.c
696
elroy_wm_4(void *v, bus_space_handle_t h, bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
702
while (c--)
sys/arch/hppa/dev/elroy.c
707
elroy_wm_8(void *v, bus_space_handle_t h, bus_size_t o, const uint64_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
713
while (c--)
sys/arch/hppa/dev/elroy.c
718
elroy_sm_1(void *v, bus_space_handle_t h, bus_size_t o, uint8_t vv, bus_size_t c)
sys/arch/hppa/dev/elroy.c
724
while (c--)
sys/arch/hppa/dev/elroy.c
729
elroy_sm_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t vv, bus_size_t c)
sys/arch/hppa/dev/elroy.c
736
while (c--)
sys/arch/hppa/dev/elroy.c
741
elroy_sm_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t vv, bus_size_t c)
sys/arch/hppa/dev/elroy.c
748
while (c--)
sys/arch/hppa/dev/elroy.c
753
elroy_sm_8(void *v, bus_space_handle_t h, bus_size_t o, uint64_t vv, bus_size_t c)
sys/arch/hppa/dev/elroy.c
760
while (c--)
sys/arch/hppa/dev/elroy.c
766
uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
772
while (c--)
sys/arch/hppa/dev/elroy.c
778
uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
784
while (c--)
sys/arch/hppa/dev/elroy.c
790
uint64_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
796
while (c--)
sys/arch/hppa/dev/elroy.c
802
const uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
809
while (c--)
sys/arch/hppa/dev/elroy.c
815
const uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
822
while (c--)
sys/arch/hppa/dev/elroy.c
828
const uint64_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
835
while (c--)
sys/arch/hppa/dev/elroy.c
840
elroy_rr_1(void *v, bus_space_handle_t h, bus_size_t o, uint8_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
846
while (c--)
sys/arch/hppa/dev/elroy.c
851
elroy_rr_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
857
while (c--) {
sys/arch/hppa/dev/elroy.c
864
elroy_rr_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
870
while (c--) {
sys/arch/hppa/dev/elroy.c
877
elroy_rr_8(void *v, bus_space_handle_t h, bus_size_t o, uint64_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
883
while (c--) {
sys/arch/hppa/dev/elroy.c
890
elroy_wr_1(void *v, bus_space_handle_t h, bus_size_t o, const uint8_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
896
while (c--)
sys/arch/hppa/dev/elroy.c
901
elroy_wr_2(void *v, bus_space_handle_t h, bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
907
while (c--) {
sys/arch/hppa/dev/elroy.c
914
elroy_wr_4(void *v, bus_space_handle_t h, bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
920
while (c--) {
sys/arch/hppa/dev/elroy.c
927
elroy_wr_8(void *v, bus_space_handle_t h, bus_size_t o, const uint64_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
933
while (c--) {
sys/arch/hppa/dev/elroy.c
941
uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
947
while (c--)
sys/arch/hppa/dev/elroy.c
953
uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
959
while (c--)
sys/arch/hppa/dev/elroy.c
965
uint64_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
971
while (c--)
sys/arch/hppa/dev/elroy.c
977
const uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
984
while (c--)
sys/arch/hppa/dev/elroy.c
990
const uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/elroy.c
997
while (c--)
sys/arch/hppa/dev/gftfb.c
1027
gftfb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/arch/hppa/dev/gftfb.c
1030
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/arch/hppa/dev/gftfb.c
1043
if (!CHAR_IN_FONT(c, font))
sys/arch/hppa/dev/gftfb.c
1058
if (c == 0x20) {
sys/arch/hppa/dev/gftfb.c
1065
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/arch/hppa/dev/gftfb.c
1098
data8 = WSFONT_GLYPH(c, font);
sys/arch/hppa/dev/gftfb.c
1137
glyphcache_add(&sc->sc_gc, c, x, y);
sys/arch/hppa/dev/gftfb.c
916
gftfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/arch/hppa/dev/gftfb.c
919
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/arch/hppa/dev/gftfb.c
929
if (!CHAR_IN_FONT(c, font))
sys/arch/hppa/dev/gftfb.c
946
if (c == 0x20) {
sys/arch/hppa/dev/gftfb.c
953
data = WSFONT_GLYPH(c, font);
sys/arch/hppa/dev/hyperfb.c
1127
hyperfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/arch/hppa/dev/hyperfb.c
1130
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/arch/hppa/dev/hyperfb.c
1140
if (!CHAR_IN_FONT(c, font))
sys/arch/hppa/dev/hyperfb.c
1158
if (c == 0x20) {
sys/arch/hppa/dev/hyperfb.c
1166
data = WSFONT_GLYPH(c, font);
sys/arch/hppa/dev/hyperfb.c
1236
hyperfb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/arch/hppa/dev/hyperfb.c
1239
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/arch/hppa/dev/hyperfb.c
1252
if (!CHAR_IN_FONT(c, font))
sys/arch/hppa/dev/hyperfb.c
1267
if (c == 0x20) {
sys/arch/hppa/dev/hyperfb.c
1274
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/arch/hppa/dev/hyperfb.c
1308
data8 = WSFONT_GLYPH(c, font);
sys/arch/hppa/dev/hyperfb.c
1347
glyphcache_add(&sc->sc_gc, c, x, y);
sys/arch/hppa/dev/mongoose.c
433
mg_isa_rm_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/mongoose.c
436
while (c--)
sys/arch/hppa/dev/mongoose.c
441
mg_isa_rm_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/mongoose.c
444
while (c--)
sys/arch/hppa/dev/mongoose.c
449
mg_isa_wm_2(void *v, bus_space_handle_t h, bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/mongoose.c
454
while (c--) {
sys/arch/hppa/dev/mongoose.c
461
mg_isa_wm_4(void *v, bus_space_handle_t h, bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/mongoose.c
466
while (c--) {
sys/arch/hppa/dev/mongoose.c
473
mg_isa_sm_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t vv, bus_size_t c)
sys/arch/hppa/dev/mongoose.c
477
while (c--)
sys/arch/hppa/dev/mongoose.c
482
mg_isa_sm_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t vv, bus_size_t c)
sys/arch/hppa/dev/mongoose.c
486
while (c--)
sys/arch/hppa/dev/mongoose.c
491
mg_isa_rr_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/mongoose.c
498
while (c--) {
sys/arch/hppa/dev/mongoose.c
505
mg_isa_rr_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/mongoose.c
512
while (c--) {
sys/arch/hppa/dev/mongoose.c
519
mg_isa_wr_2(void *v, bus_space_handle_t h, bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/hppa/dev/mongoose.c
526
while (c--) {
sys/arch/hppa/dev/mongoose.c
533
mg_isa_wr_4(void *v, bus_space_handle_t h, bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/hppa/dev/mongoose.c
540
while (c--) {
sys/arch/hppa/dev/mongoose.c
547
mg_isa_sr_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t vv, bus_size_t c)
sys/arch/hppa/dev/mongoose.c
554
while (c--)
sys/arch/hppa/dev/mongoose.c
559
mg_isa_sr_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t vv, bus_size_t c)
sys/arch/hppa/dev/mongoose.c
566
while (c--)
sys/arch/hppa/dev/pdc.c
434
int c;
sys/arch/hppa/dev/pdc.c
436
while (pdccnlookc(tp->t_dev, &c)) {
sys/arch/hppa/dev/pdc.c
437
cn_check_magic(tp->t_dev, c, pdc_cnm_state);
sys/arch/hppa/dev/pdc.c
439
(*tp->t_linesw->l_rint)(c, tp);
sys/arch/hppa/dev/pdc.c
496
int c;
sys/arch/hppa/dev/pdc.c
500
while (!pdccnlookc(dev, &c))
sys/arch/hppa/dev/pdc.c
502
return (c);
sys/arch/hppa/dev/pdc.c
506
pdccnputc(dev_t dev, int c)
sys/arch/hppa/dev/pdc.c
512
*pdc_consbuf = c;
sys/arch/hppa/dev/summitfb.c
1012
summitfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/arch/hppa/dev/summitfb.c
1015
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/arch/hppa/dev/summitfb.c
1025
if (!CHAR_IN_FONT(c, font))
sys/arch/hppa/dev/summitfb.c
1044
if (c == 0x20) {
sys/arch/hppa/dev/summitfb.c
1061
data = WSFONT_GLYPH(c, font);
sys/arch/hppa/dev/summitfb.c
1112
summitfb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/arch/hppa/dev/summitfb.c
1115
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/arch/hppa/dev/summitfb.c
1125
if (!CHAR_IN_FONT(c, font))
sys/arch/hppa/dev/summitfb.c
1140
if (c == 0x20) {
sys/arch/hppa/dev/summitfb.c
1147
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/arch/hppa/dev/summitfb.c
1170
data = WSFONT_GLYPH(c, font);
sys/arch/hppa/dev/summitfb.c
1191
glyphcache_add(&sc->sc_gc, c, x, y);
sys/arch/hppa/gsc/harmony.c
1007
c->c_intr = intr;
sys/arch/hppa/gsc/harmony.c
1008
c->c_intrarg = intrarg;
sys/arch/hppa/gsc/harmony.c
1009
c->c_blksz = blksize;
sys/arch/hppa/gsc/harmony.c
1010
c->c_current = d;
sys/arch/hppa/gsc/harmony.c
1011
c->c_segsz = (char *)end - (char *)start;
sys/arch/hppa/gsc/harmony.c
1012
c->c_cnt = 0;
sys/arch/hppa/gsc/harmony.c
1013
c->c_lastaddr = d->d_map->dm_segs[0].ds_addr;
sys/arch/hppa/gsc/harmony.c
1027
struct harmony_channel *c;
sys/arch/hppa/gsc/harmony.c
1034
c = &sc->sc_capture;
sys/arch/hppa/gsc/harmony.c
1038
d = c->c_current;
sys/arch/hppa/gsc/harmony.c
1039
togo = c->c_segsz - c->c_cnt;
sys/arch/hppa/gsc/harmony.c
1042
c->c_cnt = togo = c->c_blksz;
sys/arch/hppa/gsc/harmony.c
1044
nextaddr = c->c_lastaddr;
sys/arch/hppa/gsc/harmony.c
1045
if (togo > c->c_blksz)
sys/arch/hppa/gsc/harmony.c
1046
togo = c->c_blksz;
sys/arch/hppa/gsc/harmony.c
1047
c->c_cnt += togo;
sys/arch/hppa/gsc/harmony.c
1052
c->c_blksz, BUS_DMASYNC_PREWRITE);
sys/arch/hppa/gsc/harmony.c
1056
c->c_theaddr = nextaddr;
sys/arch/hppa/gsc/harmony.c
1058
c->c_lastaddr = nextaddr + togo;
sys/arch/hppa/gsc/harmony.c
1070
struct harmony_channel *c;
sys/arch/hppa/gsc/harmony.c
1077
c = &sc->sc_playback;
sys/arch/hppa/gsc/harmony.c
1081
d = c->c_current;
sys/arch/hppa/gsc/harmony.c
1082
togo = c->c_segsz - c->c_cnt;
sys/arch/hppa/gsc/harmony.c
1085
c->c_cnt = togo = c->c_blksz;
sys/arch/hppa/gsc/harmony.c
1087
nextaddr = c->c_lastaddr;
sys/arch/hppa/gsc/harmony.c
1088
if (togo > c->c_blksz)
sys/arch/hppa/gsc/harmony.c
1089
togo = c->c_blksz;
sys/arch/hppa/gsc/harmony.c
1090
c->c_cnt += togo;
sys/arch/hppa/gsc/harmony.c
1095
c->c_blksz, BUS_DMASYNC_PREWRITE);
sys/arch/hppa/gsc/harmony.c
1099
c->c_theaddr = nextaddr;
sys/arch/hppa/gsc/harmony.c
1101
c->c_lastaddr = nextaddr + togo;
sys/arch/hppa/gsc/harmony.c
1113
struct harmony_channel *c = &sc->sc_capture;
sys/arch/hppa/gsc/harmony.c
1126
c->c_intr = intr;
sys/arch/hppa/gsc/harmony.c
1127
c->c_intrarg = intrarg;
sys/arch/hppa/gsc/harmony.c
1128
c->c_blksz = blksize;
sys/arch/hppa/gsc/harmony.c
1129
c->c_current = d;
sys/arch/hppa/gsc/harmony.c
1130
c->c_segsz = (char *)end - (char *)start;
sys/arch/hppa/gsc/harmony.c
1131
c->c_cnt = 0;
sys/arch/hppa/gsc/harmony.c
1132
c->c_lastaddr = d->d_map->dm_segs[0].ds_addr;
sys/arch/hppa/gsc/harmony.c
1228
struct harmony_channel *c)
sys/arch/hppa/gsc/harmony.c
1234
d = c->c_current;
sys/arch/hppa/gsc/harmony.c
1241
cur >= (d->d_map->dm_segs[0].ds_addr + c->c_segsz))
sys/arch/hppa/gsc/harmony.c
1245
d->d_map->dm_segs[0].ds_addr + c->c_segsz);
sys/arch/hppa/gsc/harmony.c
1248
if (cur > c->c_theaddr) {
sys/arch/hppa/gsc/harmony.c
1249
nsegs = (cur - c->c_theaddr) / HARMONY_BUFSIZE;
sys/arch/hppa/gsc/harmony.c
1250
} else if (cur < c->c_theaddr) {
sys/arch/hppa/gsc/harmony.c
1251
nsegs = (d->d_map->dm_segs[0].ds_addr + c->c_segsz -
sys/arch/hppa/gsc/harmony.c
1252
c->c_theaddr) / HARMONY_BUFSIZE;
sys/arch/hppa/gsc/harmony.c
1257
if (nsegs != 0 && c->c_intr != NULL) {
sys/arch/hppa/gsc/harmony.c
1259
(*c->c_intr)(c->c_intrarg);
sys/arch/hppa/gsc/harmony.c
1260
c->c_theaddr = cur;
sys/arch/hppa/gsc/harmony.c
994
struct harmony_channel *c;
sys/arch/hppa/gsc/harmony.c
998
c = &sc->sc_playback;
sys/arch/hppa/hppa/db_machdep.c
137
char c;
sys/arch/hppa/hppa/db_machdep.c
141
while ((c = *cp++) != 0) {
sys/arch/hppa/hppa/db_machdep.c
142
if (c == 'l')
sys/arch/hppa/hppa/db_trace.c
59
char c;
sys/arch/hppa/hppa/db_trace.c
64
while ((c = *cp++) != 0) {
sys/arch/hppa/hppa/db_trace.c
65
if (c == 'a') {
sys/arch/hppa/hppa/db_trace.c
69
if (c == 't')
sys/arch/hppa/hppa/db_trace.c
72
if (c == 'u')
sys/arch/hppa/hppa/mainbus.c
410
mbus_rm_1(void *v, bus_space_handle_t h, bus_size_t o, uint8_t *a, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
413
while (c--)
sys/arch/hppa/hppa/mainbus.c
418
mbus_rm_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
421
while (c--)
sys/arch/hppa/hppa/mainbus.c
426
mbus_rm_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
429
while (c--)
sys/arch/hppa/hppa/mainbus.c
434
mbus_rm_8(void *v, bus_space_handle_t h, bus_size_t o, uint64_t *a, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
437
while (c--)
sys/arch/hppa/hppa/mainbus.c
442
mbus_wm_1(void *v, bus_space_handle_t h, bus_size_t o, const uint8_t *a, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
445
while (c--)
sys/arch/hppa/hppa/mainbus.c
450
mbus_wm_2(void *v, bus_space_handle_t h, bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
453
while (c--)
sys/arch/hppa/hppa/mainbus.c
458
mbus_wm_4(void *v, bus_space_handle_t h, bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
461
while (c--)
sys/arch/hppa/hppa/mainbus.c
466
mbus_wm_8(void *v, bus_space_handle_t h, bus_size_t o, const uint64_t *a, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
469
while (c--)
sys/arch/hppa/hppa/mainbus.c
474
mbus_sm_1(void *v, bus_space_handle_t h, bus_size_t o, uint8_t vv, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
477
while (c--)
sys/arch/hppa/hppa/mainbus.c
482
mbus_sm_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t vv, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
485
while (c--)
sys/arch/hppa/hppa/mainbus.c
490
mbus_sm_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t vv, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
493
while (c--)
sys/arch/hppa/hppa/mainbus.c
498
mbus_sm_8(void *v, bus_space_handle_t h, bus_size_t o, uint64_t vv, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
501
while (c--)
sys/arch/hppa/hppa/mainbus.c
505
void mbus_rrm_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t*a, bus_size_t c);
sys/arch/hppa/hppa/mainbus.c
506
void mbus_rrm_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t*a, bus_size_t c);
sys/arch/hppa/hppa/mainbus.c
507
void mbus_rrm_8(void *v, bus_space_handle_t h, bus_size_t o, uint64_t*a, bus_size_t c);
sys/arch/hppa/hppa/mainbus.c
509
void mbus_wrm_2(void *v, bus_space_handle_t h, bus_size_t o, const uint16_t *a, bus_size_t c);
sys/arch/hppa/hppa/mainbus.c
510
void mbus_wrm_4(void *v, bus_space_handle_t h, bus_size_t o, const uint32_t *a, bus_size_t c);
sys/arch/hppa/hppa/mainbus.c
511
void mbus_wrm_8(void *v, bus_space_handle_t h, bus_size_t o, const uint64_t *a, bus_size_t c);
sys/arch/hppa/hppa/mainbus.c
514
mbus_rr_1(void *v, bus_space_handle_t h, bus_size_t o, uint8_t *a, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
520
while (c--)
sys/arch/hppa/hppa/mainbus.c
525
mbus_rr_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
531
while (c--)
sys/arch/hppa/hppa/mainbus.c
536
mbus_rr_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
542
while (c--)
sys/arch/hppa/hppa/mainbus.c
547
mbus_rr_8(void *v, bus_space_handle_t h, bus_size_t o, uint64_t *a, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
553
while (c--)
sys/arch/hppa/hppa/mainbus.c
558
mbus_wr_1(void *v, bus_space_handle_t h, bus_size_t o, const uint8_t *a, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
564
while (c--)
sys/arch/hppa/hppa/mainbus.c
569
mbus_wr_2(void *v, bus_space_handle_t h, bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
575
while (c--)
sys/arch/hppa/hppa/mainbus.c
580
mbus_wr_4(void *v, bus_space_handle_t h, bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
586
while (c--)
sys/arch/hppa/hppa/mainbus.c
591
mbus_wr_8(void *v, bus_space_handle_t h, bus_size_t o, const uint64_t *a, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
597
while (c--)
sys/arch/hppa/hppa/mainbus.c
610
mbus_sr_1(void *v, bus_space_handle_t h, bus_size_t o, uint8_t vv, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
616
while (c--)
sys/arch/hppa/hppa/mainbus.c
621
mbus_sr_2(void *v, bus_space_handle_t h, bus_size_t o, uint16_t vv, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
627
while (c--)
sys/arch/hppa/hppa/mainbus.c
632
mbus_sr_4(void *v, bus_space_handle_t h, bus_size_t o, uint32_t vv, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
638
while (c--)
sys/arch/hppa/hppa/mainbus.c
643
mbus_sr_8(void *v, bus_space_handle_t h, bus_size_t o, uint64_t vv, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
649
while (c--)
sys/arch/hppa/hppa/mainbus.c
655
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
663
while (c--)
sys/arch/hppa/hppa/mainbus.c
669
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
677
while (c--)
sys/arch/hppa/hppa/mainbus.c
683
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
691
while (c--)
sys/arch/hppa/hppa/mainbus.c
697
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/hppa/hppa/mainbus.c
705
while (c--)
sys/arch/hppa/hppa/trap.c
307
#define trap_kdebug(t, c, f) (0)
sys/arch/hppa/include/bus_defs.h
101
const uint16_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
103
const uint32_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
105
const uint64_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
108
uint8_t vv, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
110
uint16_t vv, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
112
uint32_t vv, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
114
uint64_t vv, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
117
bus_size_t o, uint16_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
119
bus_size_t o, uint32_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
121
bus_size_t o, uint64_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
124
bus_size_t o, const uint16_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
126
bus_size_t o, const uint32_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
128
bus_size_t o, const uint64_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
131
bus_size_t o, uint8_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
133
bus_size_t o, uint16_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
135
bus_size_t o, uint32_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
137
bus_size_t o, uint64_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
140
bus_size_t o, const uint8_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
142
bus_size_t o, const uint16_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
144
bus_size_t o, const uint32_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
146
bus_size_t o, const uint64_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
149
bus_size_t o, uint16_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
151
bus_size_t o, uint32_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
153
bus_size_t o, uint64_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
156
bus_size_t o, const uint16_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
158
bus_size_t o, const uint32_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
160
bus_size_t o, const uint64_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
163
bus_size_t o, uint8_t vv, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
165
bus_size_t o, uint16_t vv, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
167
bus_size_t o, uint32_t vv, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
169
bus_size_t o, uint64_t vv, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
172
bus_space_handle_t h2, bus_size_t o2, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
174
bus_space_handle_t h2, bus_size_t o2, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
176
bus_space_handle_t h2, bus_size_t o2, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
178
bus_space_handle_t h2, bus_size_t o2, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
90
bus_size_t o, uint8_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
92
bus_size_t o, uint16_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
94
bus_size_t o, uint32_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
96
bus_size_t o, uint64_t *a, bus_size_t c);
sys/arch/hppa/include/bus_defs.h
99
const uint8_t *a, bus_size_t c);
sys/arch/hppa/include/bus_funcs.h
101
#define bus_space_read_multi_stream_2(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
102
(((t)->hbt_rrm_2)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
103
#define bus_space_read_multi_stream_4(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
104
(((t)->hbt_rrm_4)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
105
#define bus_space_read_multi_stream_8(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
106
(((t)->hbt_rrm_8)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
108
#define bus_space_write_multi_stream_2(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
109
(((t)->hbt_wrm_2)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
110
#define bus_space_write_multi_stream_4(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
111
(((t)->hbt_wrm_4)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
112
#define bus_space_write_multi_stream_8(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
113
(((t)->hbt_wrm_8)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
115
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
116
(((t)->hbt_rr_1)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
117
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
118
(((t)->hbt_rr_2)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
119
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
120
(((t)->hbt_rr_4)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
121
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
122
(((t)->hbt_rr_8)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
124
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
125
(((t)->hbt_wr_1)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
126
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
127
(((t)->hbt_wr_2)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
128
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
129
(((t)->hbt_wr_4)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
130
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
131
(((t)->hbt_wr_8)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
133
#define bus_space_read_region_stream_2(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
134
(((t)->hbt_rrr_2)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
135
#define bus_space_read_region_stream_4(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
136
(((t)->hbt_rrr_4)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
137
#define bus_space_read_region_stream_8(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
138
(((t)->hbt_rrr_8)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
140
#define bus_space_write_region_stream_2(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
141
(((t)->hbt_wrr_2)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
142
#define bus_space_write_region_stream_4(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
143
(((t)->hbt_wrr_4)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
144
#define bus_space_write_region_stream_8(t, h, o, a, c) \
sys/arch/hppa/include/bus_funcs.h
145
(((t)->hbt_wrr_8)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
147
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/hppa/include/bus_funcs.h
148
(((t)->hbt_sr_1)((t)->hbt_cookie, (h), (o), (v), (c)))
sys/arch/hppa/include/bus_funcs.h
149
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/hppa/include/bus_funcs.h
150
(((t)->hbt_sr_2)((t)->hbt_cookie, (h), (o), (v), (c)))
sys/arch/hppa/include/bus_funcs.h
151
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/hppa/include/bus_funcs.h
152
(((t)->hbt_sr_4)((t)->hbt_cookie, (h), (o), (v), (c)))
sys/arch/hppa/include/bus_funcs.h
153
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arch/hppa/include/bus_funcs.h
154
(((t)->hbt_sr_8)((t)->hbt_cookie, (h), (o), (v), (c)))
sys/arch/hppa/include/bus_funcs.h
156
#define bus_space_copy_1(t, h1, o1, h2, o2, c) \
sys/arch/hppa/include/bus_funcs.h
157
(((t)->hbt_cp_1)((t)->hbt_cookie, (h1), (o1), (h2), (o2), (c)))
sys/arch/hppa/include/bus_funcs.h
158
#define bus_space_copy_2(t, h1, o1, h2, o2, c) \
sys/arch/hppa/include/bus_funcs.h
159
(((t)->hbt_cp_2)((t)->hbt_cookie, (h1), (o1), (h2), (o2), (c)))
sys/arch/hppa/include/bus_funcs.h
160
#define bus_space_copy_4(t, h1, o1, h2, o2, c) \
sys/arch/hppa/include/bus_funcs.h
161
(((t)->hbt_cp_4)((t)->hbt_cookie, (h1), (o1), (h2), (o2), (c)))
sys/arch/hppa/include/bus_funcs.h
162
#define bus_space_copy_8(t, h1, o1, h2, o2, c) \
sys/arch/hppa/include/bus_funcs.h
163
(((t)->hbt_cp_8)((t)->hbt_cookie, (h1), (o1), (h2), (o2), (c)))
sys/arch/hppa/include/bus_funcs.h
37
#define bus_space_map(t,a,c,ca,hp) \
sys/arch/hppa/include/bus_funcs.h
38
(((t)->hbt_map)((t)->hbt_cookie,(a),(c),(ca),(hp)))
sys/arch/hppa/include/bus_funcs.h
39
#define bus_space_unmap(t,h,c) \
sys/arch/hppa/include/bus_funcs.h
40
(((t)->hbt_unmap)((t)->hbt_cookie,(h),(c)))
sys/arch/hppa/include/bus_funcs.h
41
#define bus_space_subregion(t,h,o,c,hp) \
sys/arch/hppa/include/bus_funcs.h
42
(((t)->hbt_subregion)((t)->hbt_cookie,(h),(o),(c),(hp)))
sys/arch/hppa/include/bus_funcs.h
43
#define bus_space_alloc(t,b,e,c,al,bn,ca,ap,hp) \
sys/arch/hppa/include/bus_funcs.h
44
(((t)->hbt_alloc)((t)->hbt_cookie,(b),(e),(c),(al),(bn),(ca),(ap),(hp)))
sys/arch/hppa/include/bus_funcs.h
45
#define bus_space_free(t,h,c) \
sys/arch/hppa/include/bus_funcs.h
46
(((t)->hbt_free)((t)->hbt_cookie,(h),(c)))
sys/arch/hppa/include/bus_funcs.h
74
#define bus_space_read_multi_1(t,h,o,a,c) \
sys/arch/hppa/include/bus_funcs.h
75
(((t)->hbt_rm_1)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
76
#define bus_space_read_multi_2(t,h,o,a,c) \
sys/arch/hppa/include/bus_funcs.h
77
(((t)->hbt_rm_2)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
78
#define bus_space_read_multi_4(t,h,o,a,c) \
sys/arch/hppa/include/bus_funcs.h
79
(((t)->hbt_rm_4)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
80
#define bus_space_read_multi_8(t,h,o,a,c) \
sys/arch/hppa/include/bus_funcs.h
81
(((t)->hbt_rm_8)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
83
#define bus_space_write_multi_1(t,h,o,a,c) \
sys/arch/hppa/include/bus_funcs.h
84
(((t)->hbt_wm_1)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
85
#define bus_space_write_multi_2(t,h,o,a,c) \
sys/arch/hppa/include/bus_funcs.h
86
(((t)->hbt_wm_2)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
87
#define bus_space_write_multi_4(t,h,o,a,c) \
sys/arch/hppa/include/bus_funcs.h
88
(((t)->hbt_wm_4)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
89
#define bus_space_write_multi_8(t,h,o,a,c) \
sys/arch/hppa/include/bus_funcs.h
90
(((t)->hbt_wm_8)((t)->hbt_cookie, (h), (o), (a), (c)))
sys/arch/hppa/include/bus_funcs.h
92
#define bus_space_set_multi_1(t,h,o,v,c) \
sys/arch/hppa/include/bus_funcs.h
93
(((t)->hbt_sm_1)((t)->hbt_cookie, (h), (o), (v), (c)))
sys/arch/hppa/include/bus_funcs.h
94
#define bus_space_set_multi_2(t,h,o,v,c) \
sys/arch/hppa/include/bus_funcs.h
95
(((t)->hbt_sm_2)((t)->hbt_cookie, (h), (o), (v), (c)))
sys/arch/hppa/include/bus_funcs.h
96
#define bus_space_set_multi_4(t,h,o,v,c) \
sys/arch/hppa/include/bus_funcs.h
97
(((t)->hbt_sm_4)((t)->hbt_cookie, (h), (o), (v), (c)))
sys/arch/hppa/include/bus_funcs.h
98
#define bus_space_set_multi_8(t,h,o,v,c) \
sys/arch/hppa/include/bus_funcs.h
99
(((t)->hbt_sm_8)((t)->hbt_cookie, (h), (o), (v), (c)))
sys/arch/hppa/include/eisa_machdep.h
60
#define eisa_maxslots(c) 8
sys/arch/hppa/include/eisa_machdep.h
61
#define eisa_intr_map(c, i, hp) \
sys/arch/hppa/include/eisa_machdep.h
62
(*(c)->ec_intr_map)((c)->ec_v, (i), (hp))
sys/arch/hppa/include/eisa_machdep.h
63
#define eisa_intr_string(c, h, buf, len) \
sys/arch/hppa/include/eisa_machdep.h
64
(*(c)->ec_intr_string)((c)->ec_v, (h), (buf), (len))
sys/arch/hppa/include/eisa_machdep.h
65
#define eisa_intr_establish(c, h, t, l, f, a) \
sys/arch/hppa/include/eisa_machdep.h
66
(*(c)->ec_intr_establish)((c)->ec_v, (h), (t), (l), (f), (a))
sys/arch/hppa/include/eisa_machdep.h
67
#define eisa_intr_disestablish(c, h) \
sys/arch/hppa/include/eisa_machdep.h
68
(*(c)->ec_intr_disestablish)((c)->ec_v, (h))
sys/arch/hppa/include/int_const.h
41
#define INT8_C(c) c
sys/arch/hppa/include/int_const.h
42
#define INT16_C(c) c
sys/arch/hppa/include/int_const.h
43
#define INT32_C(c) c
sys/arch/hppa/include/int_const.h
44
#define INT64_C(c) c ## LL
sys/arch/hppa/include/int_const.h
46
#define UINT8_C(c) c
sys/arch/hppa/include/int_const.h
47
#define UINT16_C(c) c
sys/arch/hppa/include/int_const.h
48
#define UINT32_C(c) c ## U
sys/arch/hppa/include/int_const.h
49
#define UINT64_C(c) c ## ULL
sys/arch/hppa/include/int_const.h
53
#define INTMAX_C(c) c ## LL
sys/arch/hppa/include/int_const.h
54
#define UINTMAX_C(c) c ## ULL
sys/arch/hppa/include/isa_machdep.h
55
#define isa_detach_hook(c, s) \
sys/arch/hppa/include/isa_machdep.h
56
(*(c)->ic_detach_hook)((c), (s))
sys/arch/hppa/include/isa_machdep.h
57
#define isa_intr_establish(c, i, t, l, f, a) \
sys/arch/hppa/include/isa_machdep.h
58
(*(c)->ic_intr_establish)((c)->ic_v, (i), (t), (l), (f), (a))
sys/arch/hppa/include/isa_machdep.h
59
#define isa_intr_establish_xname(c, i, t, l, f, a, x) \
sys/arch/hppa/include/isa_machdep.h
60
(*(c)->ic_intr_establish)((c)->ic_v, (i), (t), (l), (f), (a))
sys/arch/hppa/include/isa_machdep.h
61
#define isa_intr_disestablish(c, h) \
sys/arch/hppa/include/isa_machdep.h
62
(*(c)->ic_intr_disestablish)((c)->ic_v, (h))
sys/arch/hppa/include/isa_machdep.h
63
#define isa_intr_check(c, i, t) \
sys/arch/hppa/include/isa_machdep.h
64
(*(c)->ic_intr_check)((c)->ic_v, (i), (t))
sys/arch/hppa/include/loadfile_machdep.h
44
#define READ(f, b, c) pread((f), (void *)LOADADDR(b), (c))
sys/arch/hppa/include/loadfile_machdep.h
45
#define BCOPY(s, d, c) vpbcopy((s), (void *)LOADADDR(d), (c))
sys/arch/hppa/include/loadfile_machdep.h
46
#define BZERO(d, c) pbzero((void *)LOADADDR(d), (c))
sys/arch/hppa/include/loadfile_machdep.h
67
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/hppa/include/loadfile_machdep.h
68
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/hppa/include/loadfile_machdep.h
69
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/hppa/include/pci_machdep.h
100
#define pciide_machdep_compat_intr_establish(a, b, c, d, e) (NULL)
sys/arch/hppa/include/pci_machdep.h
71
#define pci_bus_maxdevs(c, b) \
sys/arch/hppa/include/pci_machdep.h
72
(*(c)->pc_bus_maxdevs)((c)->_cookie, (b))
sys/arch/hppa/include/pci_machdep.h
73
#define pci_make_tag(c, b, d, f) \
sys/arch/hppa/include/pci_machdep.h
74
(*(c)->pc_make_tag)((c)->_cookie, (b), (d), (f))
sys/arch/hppa/include/pci_machdep.h
75
#define pci_decompose_tag(c, t, bp, dp, fp) \
sys/arch/hppa/include/pci_machdep.h
76
(*(c)->pc_decompose_tag)((c)->_cookie, (t), (bp), (dp), (fp))
sys/arch/hppa/include/pci_machdep.h
77
#define pci_conf_read(c, t, r) \
sys/arch/hppa/include/pci_machdep.h
78
(*(c)->pc_conf_read)((c)->_cookie, (t), (r))
sys/arch/hppa/include/pci_machdep.h
79
#define pci_conf_write(c, t, r, v) \
sys/arch/hppa/include/pci_machdep.h
80
(*(c)->pc_conf_write)((c)->_cookie, (t), (r), (v))
sys/arch/hppa/include/pci_machdep.h
84
#define pci_intr_string(c, ih, buf, len) \
sys/arch/hppa/include/pci_machdep.h
85
(*(c)->pc_intr_string)((c)->_cookie, (ih), (buf), (len))
sys/arch/hppa/include/pci_machdep.h
86
#define pci_intr_establish(c, ih, l, h, a) \
sys/arch/hppa/include/pci_machdep.h
87
(*(c)->pc_intr_establish)((c)->_cookie, (ih), (l), (h), (a))
sys/arch/hppa/include/pci_machdep.h
88
#define pci_intr_disestablish(c, iv) \
sys/arch/hppa/include/pci_machdep.h
89
(*(c)->pc_intr_disestablish)((c)->_cookie, (iv))
sys/arch/hppa/stand/boot/boot.c
180
char c, *ptr = line;
sys/arch/hppa/stand/boot/boot.c
199
while ((c = *ptr) != '\0') {
sys/arch/hppa/stand/boot/boot.c
200
while (c == ' ')
sys/arch/hppa/stand/boot/boot.c
201
c = *++ptr;
sys/arch/hppa/stand/boot/boot.c
202
if (!c)
sys/arch/hppa/stand/boot/boot.c
204
if (c == '-')
sys/arch/hppa/stand/boot/boot.c
205
while ((c = *++ptr) && c != ' ')
sys/arch/hppa/stand/boot/boot.c
206
BOOT_FLAG(c, *boot_howto);
sys/arch/hppa/stand/boot/boot.c
209
while ((c = *++ptr) && c != ' ');
sys/arch/hppa/stand/boot/boot.c
210
if (c)
sys/arch/hppa/stand/boot/tgets.c
43
int c, i;
sys/arch/hppa/stand/boot/tgets.c
49
c = tgetchar() & 0177;
sys/arch/hppa/stand/boot/tgets.c
50
if (c) {
sys/arch/hppa/stand/boot/tgets.c
52
switch (c) {
sys/arch/hppa/stand/boot/tgets.c
88
*lp++ = c;
sys/arch/hppa/stand/boot/tgets.c
89
putchar(c);
sys/arch/hppa/stand/boot/tgets.c
91
c = getchar() & 0177;
sys/arch/hppa/stand/common/cons.c
85
cnputc(int c)
sys/arch/hppa/stand/common/cons.c
90
(*cn_tab->cn_putc)(0, c);
sys/arch/hppa/stand/common/dev_hppa.c
181
putchar(int c)
sys/arch/hppa/stand/common/dev_hppa.c
183
switch(c) {
sys/arch/hppa/stand/common/dev_hppa.c
202
cnputc(c);
sys/arch/hppa/stand/common/dev_hppa.c
203
c = '\r';
sys/arch/hppa/stand/common/dev_hppa.c
206
cnputc(c);
sys/arch/hppa/stand/common/dev_hppa.c
210
cnputc(c);
sys/arch/hppa/stand/common/dev_hppa.c
219
int c = cngetc();
sys/arch/hppa/stand/common/dev_hppa.c
221
if (c == '\r')
sys/arch/hppa/stand/common/dev_hppa.c
222
c = '\n';
sys/arch/hppa/stand/common/dev_hppa.c
224
if ((c < ' ' && c != '\n') || c == '\177')
sys/arch/hppa/stand/common/dev_hppa.c
225
return(c);
sys/arch/hppa/stand/common/dev_hppa.c
232
putchar(c);
sys/arch/hppa/stand/common/dev_hppa.c
235
return(c);
sys/arch/hppa/stand/common/dev_hppa.c
241
int c;
sys/arch/hppa/stand/common/dev_hppa.c
243
if ((c = tcngetc()) == 0)
sys/arch/hppa/stand/common/itecons.c
145
ite_putc(dev_t dev, int c)
sys/arch/hppa/stand/common/itecons.c
150
*cnbuf = c;
sys/arch/hppa/stand/common/itecons.c
164
int err __debugused, c, l, i;
sys/arch/hppa/stand/common/itecons.c
170
c = stash;
sys/arch/hppa/stand/common/itecons.c
173
return c;
sys/arch/hppa/stand/common/itecons.c
182
c = cnbuf[0];
sys/arch/hppa/stand/common/itecons.c
193
dev, l, c);
sys/arch/hppa/stand/common/itecons.c
204
printf("kbd: \'%c\' (0x%x)\n", c, c);
sys/arch/hppa/stand/common/itecons.c
207
stash = c;
sys/arch/hppa/stand/common/itecons.c
209
return (c);
sys/arch/hppa/stand/mkboot/mkboot.c
140
int to, n, pos, c;
sys/arch/hppa/stand/mkboot/mkboot.c
145
while ((c = getopt(argc, argv, "l:t:v")) != -1) {
sys/arch/hppa/stand/mkboot/mkboot.c
146
switch (c) {
sys/arch/hppa/stand/xxboot/main.c
186
int c, c1;
sys/arch/hppa/stand/xxboot/main.c
215
while ((c = getch()) >= 0) {
sys/arch/hppa/stand/xxboot/main.c
216
switch (c) {
sys/arch/hppa/stand/xxboot/main.c
234
if (c1 == 0 && c >= 'a' && c <= 'p') {
sys/arch/hppa/stand/xxboot/main.c
235
part = c - 'a';
sys/arch/hppa/stand/xxboot/main.c
237
putch(c);
sys/arch/i386/i386/machdep.c
887
int c;
sys/arch/i386/i386/machdep.c
888
for (c = BEEP_ONHALT_COUNT; c > 0; c--) {
sys/arch/i386/i386/trap.c
170
#define SIGDEBUG(a, b, c) sigdebug(a, b, c)
sys/arch/i386/i386/trap.c
172
#define SIGDEBUG(a, b, c)
sys/arch/i386/include/int_const.h
45
#define INT8_C(c) c
sys/arch/i386/include/int_const.h
46
#define INT16_C(c) c
sys/arch/i386/include/int_const.h
47
#define INT32_C(c) c
sys/arch/i386/include/int_const.h
48
#define INT64_C(c) c ## LL
sys/arch/i386/include/int_const.h
50
#define UINT8_C(c) c
sys/arch/i386/include/int_const.h
51
#define UINT16_C(c) c
sys/arch/i386/include/int_const.h
52
#define UINT32_C(c) c ## U
sys/arch/i386/include/int_const.h
53
#define UINT64_C(c) c ## ULL
sys/arch/i386/include/int_const.h
57
#define INTMAX_C(c) c ## LL
sys/arch/i386/include/int_const.h
58
#define UINTMAX_C(c) c ## ULL
sys/arch/i386/include/segments.h
123
#define USERMODE(c) (ISPL(c) == SEL_UPL)
sys/arch/i386/include/segments.h
124
#define KERNELMODE(c) (ISPL(c) == SEL_KPL)
sys/arch/i386/pnpbios/pnpbios.c
206
char *p, *c;
sys/arch/i386/pnpbios/pnpbios.c
221
for (c = p; c < p + structlen; c++)
sys/arch/i386/pnpbios/pnpbios.c
222
cksum += *(uint8_t *)c;
sys/arch/i386/stand/boot/boot2.c
213
#define isvalidname(c) ((c) >= 'a' && (c) <= 'z')
sys/arch/i386/stand/boot/boot2.c
222
#define isnum(c) ((c) >= '0' && (c) <= '9')
sys/arch/i386/stand/boot/boot2.c
232
#define isvalidpart(c) ((c) >= 'a' && (c) <= 'z')
sys/arch/i386/stand/boot/boot2.c
308
char c;
sys/arch/i386/stand/boot/boot2.c
375
c = awaitkey(boot_params.bp_timeout, 1);
sys/arch/i386/stand/boot/boot2.c
377
c = awaitkey((bootcfg_info.timeout < 0) ? 0
sys/arch/i386/stand/boot/boot2.c
380
if ((c != '\r') && (c != '\n') && (c != '\0')) {
sys/arch/i386/stand/dosboot/doscommain.c
48
whitespace(char c)
sys/arch/i386/stand/dosboot/doscommain.c
50
if ((c == '\0') || (c == ' ') || (c == '\t')
sys/arch/i386/stand/dosboot/doscommain.c
51
|| (c == '\r') || (c == '\n'))
sys/arch/i386/stand/dosboot/main.c
110
#define isvalidname(c) ((c) >= 'a' && (c) <= 'z')
sys/arch/i386/stand/dosboot/main.c
119
#define isnum(c) ((c) >= '0' && (c) <= '9')
sys/arch/i386/stand/dosboot/main.c
129
#define isvalidpart(c) ((c) >= 'a' && (c) <= 'z')
sys/arch/i386/stand/efiboot/boot.c
182
#define isvalidname(c) ((c) >= 'a' && (c) <= 'z')
sys/arch/i386/stand/efiboot/boot.c
191
#define isnum(c) ((c) >= '0' && (c) <= '9')
sys/arch/i386/stand/efiboot/boot.c
201
#define isvalidpart(c) ((c) >= 'a' && (c) <= 'z')
sys/arch/i386/stand/efiboot/boot.c
293
int c;
sys/arch/i386/stand/efiboot/boot.c
350
c = awaitkey((bootcfg_info.timeout < 0) ? 0
sys/arch/i386/stand/efiboot/boot.c
352
if ((c != '\r') && (c != '\n') && (c != '\0')) {
sys/arch/i386/stand/efiboot/efichar.c
101
*cp++ = (char)(0x80 | (c & 0x3f));
sys/arch/i386/stand/efiboot/efichar.c
104
*cp++ = (char)(c & 0x7f);
sys/arch/i386/stand/efiboot/efichar.c
127
int c, bytes;
sys/arch/i386/stand/efiboot/efichar.c
141
c = *name++;
sys/arch/i386/stand/efiboot/efichar.c
146
if ((c & 0xc0) != 0x80) {
sys/arch/i386/stand/efiboot/efichar.c
150
if ((c & 0xf8) == 0xf0) {
sys/arch/i386/stand/efiboot/efichar.c
151
ucs4 = c & 0x07;
sys/arch/i386/stand/efiboot/efichar.c
153
} else if ((c & 0xf0) == 0xe0) {
sys/arch/i386/stand/efiboot/efichar.c
154
ucs4 = c & 0x0f;
sys/arch/i386/stand/efiboot/efichar.c
156
} else if ((c & 0xe0) == 0xc0) {
sys/arch/i386/stand/efiboot/efichar.c
157
ucs4 = c & 0x1f;
sys/arch/i386/stand/efiboot/efichar.c
160
ucs4 = c & 0x7f;
sys/arch/i386/stand/efiboot/efichar.c
166
ucs4 = (ucs4 << 6) + (c & 0x3f);
sys/arch/i386/stand/efiboot/efichar.c
55
CHAR16 c;
sys/arch/i386/stand/efiboot/efichar.c
59
c = *nm++;
sys/arch/i386/stand/efiboot/efichar.c
60
if (c > 0x7ff)
sys/arch/i386/stand/efiboot/efichar.c
62
else if (c > 0x7f)
sys/arch/i386/stand/efiboot/efichar.c
75
CHAR16 c;
sys/arch/i386/stand/efiboot/efichar.c
89
c = *nm++;
sys/arch/i386/stand/efiboot/efichar.c
90
if (c > 0x7ff) {
sys/arch/i386/stand/efiboot/efichar.c
92
*cp++ = (char)(0xE0 | (c >> 12));
sys/arch/i386/stand/efiboot/efichar.c
94
*cp++ = (char)(0x80 | ((c >> 6) & 0x3f));
sys/arch/i386/stand/efiboot/efichar.c
96
*cp++ = (char)(0x80 | (c & 0x3f));
sys/arch/i386/stand/efiboot/efichar.c
97
} else if (c > 0x7f) {
sys/arch/i386/stand/efiboot/efichar.c
99
*cp++ = (char)(0xC0 | ((c >> 6) & 0x1f));
sys/arch/i386/stand/efiboot/eficons.c
1001
status = uefi_call_wrapper(serio->Read, 3, serio, &sz, &c);
sys/arch/i386/stand/efiboot/eficons.c
1008
return c;
sys/arch/i386/stand/efiboot/eficons.c
1012
efi_com_putc(int c)
sys/arch/i386/stand/efiboot/eficons.c
1023
buf = c;
sys/arch/i386/stand/efiboot/eficons.c
1037
u_char c;
sys/arch/i386/stand/efiboot/eficons.c
1047
status = uefi_call_wrapper(serio->Read, 3, serio, &sz, &c);
sys/arch/i386/stand/efiboot/eficons.c
1051
serbuf[serbuf_write] = c;
sys/arch/i386/stand/efiboot/eficons.c
1133
raw_com_putc(int c)
sys/arch/i386/stand/efiboot/eficons.c
1138
return computc_d(c, raw_com_addr);
sys/arch/i386/stand/efiboot/eficons.c
286
int c;
sys/arch/i386/stand/efiboot/eficons.c
289
c = keybuf[keybuf_read];
sys/arch/i386/stand/efiboot/eficons.c
291
return c;
sys/arch/i386/stand/efiboot/eficons.c
305
efi_cons_putc(int c)
sys/arch/i386/stand/efiboot/eficons.c
309
buf[0] = c;
sys/arch/i386/stand/efiboot/eficons.c
357
putchar(int c)
sys/arch/i386/stand/efiboot/eficons.c
360
if (c == '\n')
sys/arch/i386/stand/efiboot/eficons.c
362
internal_putchar(c);
sys/arch/i386/stand/efiboot/eficons.c
375
char c = 0;
sys/arch/i386/stand/efiboot/eficons.c
395
c = getchar();
sys/arch/i386/stand/efiboot/eficons.c
396
if (c == 0)
sys/arch/i386/stand/efiboot/eficons.c
397
c = -1;
sys/arch/i386/stand/efiboot/eficons.c
431
return c;
sys/arch/i386/stand/efiboot/eficons.c
986
u_char c;
sys/arch/i386/stand/efiboot/eficons.c
992
c = serbuf[serbuf_read];
sys/arch/i386/stand/efiboot/eficons.c
994
return c;
sys/arch/i386/stand/efiboot/eficpufunc.c
37
uint8_t c;
sys/arch/i386/stand/efiboot/eficpufunc.c
39
__asm volatile ("inb %%dx, %%al" : "=a"(c) : "d"(addr));
sys/arch/i386/stand/efiboot/eficpufunc.c
40
return c;
sys/arch/i386/stand/efiboot/eficpufunc.c
44
outb(uint32_t addr, uint8_t c)
sys/arch/i386/stand/efiboot/eficpufunc.c
47
__asm volatile ("outb %%al, %%dx" : : "a"(c), "d"(addr));
sys/arch/i386/stand/lib/biosdisk.c
1494
#define isnum(c) ((c) >= '0' && (c) <= '9')
sys/arch/i386/stand/lib/biosdisk.c
1503
#define isvalidpart(c) ((c) >= 'a' && (c) <= 'z')
sys/arch/i386/stand/lib/biosdisk.c
335
char *c = utf8_dst;
sys/arch/i386/stand/lib/biosdisk.c
344
n = wput_utf8(c, r, le16toh(utf16_src[j]));
sys/arch/i386/stand/lib/biosdisk.c
347
c += n; r -= n;
sys/arch/i386/stand/lib/biosdisk.c
349
*c = '\0';
sys/arch/i386/stand/lib/comio_direct.c
113
u_char stat, c;
sys/arch/i386/stand/lib/comio_direct.c
116
c = serbuf[serbuf_read++];
sys/arch/i386/stand/lib/comio_direct.c
119
return c;
sys/arch/i386/stand/lib/comio_direct.c
125
c = inb(combase + com_data);
sys/arch/i386/stand/lib/comio_direct.c
127
if (c != XOFF) {
sys/arch/i386/stand/lib/comio_direct.c
133
return c;
sys/arch/i386/stand/lib/comio_direct.c
140
computc_d(int c, int combase)
sys/arch/i386/stand/lib/comio_direct.c
164
outb(combase + com_data, c);
sys/arch/i386/stand/lib/comio_direct.c
227
int c = inb(combase + com_data);
sys/arch/i386/stand/lib/comio_direct.c
229
if (c == XOFF) {
sys/arch/i386/stand/lib/comio_direct.c
233
serbuf[serbuf_write++] = c;
sys/arch/i386/stand/lib/menuutils.c
70
char *c = input;
sys/arch/i386/stand/lib/menuutils.c
79
while (*c == ' ')
sys/arch/i386/stand/lib/menuutils.c
80
c++;
sys/arch/i386/stand/lib/menuutils.c
81
if (*c)
sys/arch/i386/stand/lib/menuutils.c
82
docommand(c);
sys/arch/i386/stand/lib/pcio.c
234
internal_putchar(int c)
sys/arch/i386/stand/lib/pcio.c
240
conputc(c);
sys/arch/i386/stand/lib/pcio.c
247
computc_x(c);
sys/arch/i386/stand/lib/pcio.c
254
putchar(int c)
sys/arch/i386/stand/lib/pcio.c
256
if (c == '\n')
sys/arch/i386/stand/lib/pcio.c
258
internal_putchar(c);
sys/arch/i386/stand/lib/pcio.c
264
int c;
sys/arch/i386/stand/lib/pcio.c
272
c = congetc();
sys/arch/i386/stand/lib/pcio.c
275
char *cp = strchr(CONSOLE_KEYMAP, c);
sys/arch/i386/stand/lib/pcio.c
277
c = cp[1];
sys/arch/i386/stand/lib/pcio.c
280
return c;
sys/arch/i386/stand/lib/pcio.c
287
c = comgetc_x();
sys/arch/i386/stand/lib/pcio.c
290
c = comgetc_x();
sys/arch/i386/stand/lib/pcio.c
291
} while ((c >> 8) == 0xe0); /* catch timeout */
sys/arch/i386/stand/lib/pcio.c
293
if (c & 0x8000) {
sys/arch/i386/stand/lib/pcio.c
295
c, comstatus_x());
sys/arch/i386/stand/lib/pcio.c
298
c &= 0xff;
sys/arch/i386/stand/lib/pcio.c
300
return c;
sys/arch/i386/stand/lib/pcio.c
332
char c = 0;
sys/arch/i386/stand/lib/pcio.c
355
c = getchar();
sys/arch/i386/stand/lib/pcio.c
356
if (c == 0)
sys/arch/i386/stand/lib/pcio.c
357
c = -1;
sys/arch/i386/stand/lib/pcio.c
370
return c;
sys/arch/i386/stand/lib/test/stand_user.c
89
saputchar(int c)
sys/arch/i386/stand/lib/test/stand_user.c
91
putchar(c);
sys/arch/i386/stand/pxeboot/main.c
113
char c;
sys/arch/i386/stand/pxeboot/main.c
160
c = awaitkey(boot_params.bp_timeout, 1);
sys/arch/i386/stand/pxeboot/main.c
162
c = awaitkey((bootcfg_info.timeout < 0) ? 0 : bootcfg_info.timeout, 1);
sys/arch/i386/stand/pxeboot/main.c
164
if ((c != '\r') && (c != '\n') && (c != '\0') &&
sys/arch/ia64/disasm/disasm_extract.c
46
asm_cmpltr_add(struct asm_inst *i, enum asm_cmpltr_class c,
sys/arch/ia64/disasm/disasm_extract.c
50
i->i_cmpltr[i->i_ncmpltrs].c_class = c;
sys/arch/ia64/disasm/disasm_extract.c
57
asm_hint(struct asm_inst *i, enum asm_cmpltr_class c)
sys/arch/ia64/disasm/disasm_extract.c
62
asm_cmpltr_add(i, c, ASM_CT_NONE);
sys/arch/ia64/disasm/disasm_extract.c
65
asm_cmpltr_add(i, c, ASM_CT_NT1);
sys/arch/ia64/disasm/disasm_extract.c
68
asm_cmpltr_add(i, c, ASM_CT_NT2);
sys/arch/ia64/disasm/disasm_extract.c
71
asm_cmpltr_add(i, c, ASM_CT_NTA);
sys/arch/ia64/disasm/disasm_format.c
116
asm_completer(const struct asm_cmpltr *c, char *buf, size_t buflen)
sys/arch/ia64/disasm/disasm_format.c
118
strlcpy(buf, asm_completers[c->c_type], buflen);
sys/arch/ia64/ia64/db_trace.c
70
char c;
sys/arch/ia64/ia64/db_trace.c
81
while ((c = *cp++) != 0) {
sys/arch/ia64/ia64/db_trace.c
82
trace_thread |= c == 't';
sys/arch/ia64/ia64/db_trace.c
83
trace_user |= c == 'u';
sys/arch/ia64/ia64/ssc.c
84
ssccnputc(dev_t dev, int c)
sys/arch/ia64/ia64/ssc.c
87
ssc(c, 0, 0, 0, SSC_PUTCHAR);
sys/arch/ia64/ia64/ssc.c
93
int c;
sys/arch/ia64/ia64/ssc.c
96
c = ssc(0, 0, 0, 0, SSC_GETCHAR);
sys/arch/ia64/ia64/ssc.c
97
} while (c == 0);
sys/arch/ia64/ia64/ssc.c
99
return c;
sys/arch/ia64/include/bus.h
600
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/arch/ia64/include/bus.h
601
ia64_bus_space_set_multi_1((t), (h), (o), (v), (c))
sys/arch/ia64/include/bus.h
603
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/arch/ia64/include/bus.h
606
ia64_bus_space_set_multi_2((t), (h), (o), (v), (c)); \
sys/arch/ia64/include/bus.h
609
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/arch/ia64/include/bus.h
612
ia64_bus_space_set_multi_4((t), (h), (o), (v), (c)); \
sys/arch/ia64/include/bus.h
615
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/arch/ia64/include/bus.h
618
ia64_bus_space_set_multi_8((t), (h), (o), (v), (c)); \
sys/arch/ia64/include/bus.h
623
bus_size_t o, uint8_t v, size_t c)
sys/arch/ia64/include/bus.h
628
while (c--)
sys/arch/ia64/include/bus.h
631
while (c--)
sys/arch/ia64/include/bus.h
637
bus_size_t o, uint16_t v, size_t c)
sys/arch/ia64/include/bus.h
642
while (c--)
sys/arch/ia64/include/bus.h
645
while (c--)
sys/arch/ia64/include/bus.h
651
bus_size_t o, uint32_t v, size_t c)
sys/arch/ia64/include/bus.h
656
while (c--)
sys/arch/ia64/include/bus.h
659
while (c--)
sys/arch/ia64/include/bus.h
665
bus_size_t o, uint64_t v, size_t c)
sys/arch/ia64/include/bus.h
672
while (c--)
sys/arch/ia64/include/bus.h
693
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/ia64/include/bus.h
694
ia64_bus_space_set_region_1((t), (h), (o), (v), (c))
sys/arch/ia64/include/bus.h
696
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/ia64/include/bus.h
699
ia64_bus_space_set_region_2((t), (h), (o), (v), (c)); \
sys/arch/ia64/include/bus.h
702
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/ia64/include/bus.h
705
ia64_bus_space_set_region_4((t), (h), (o), (v), (c)); \
sys/arch/ia64/include/bus.h
708
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arch/ia64/include/bus.h
711
ia64_bus_space_set_region_8((t), (h), (o), (v), (c)); \
sys/arch/ia64/include/bus.h
716
bus_size_t o, uint8_t v, size_t c)
sys/arch/ia64/include/bus.h
721
for (; c != 0; c--, addr++)
sys/arch/ia64/include/bus.h
724
for (; c != 0; c--, addr++)
sys/arch/ia64/include/bus.h
730
bus_size_t o, uint16_t v, size_t c)
sys/arch/ia64/include/bus.h
735
for (; c != 0; c--, addr += 2)
sys/arch/ia64/include/bus.h
738
for (; c != 0; c--, addr += 2)
sys/arch/ia64/include/bus.h
744
bus_size_t o, uint32_t v, size_t c)
sys/arch/ia64/include/bus.h
749
for (; c != 0; c--, addr += 4)
sys/arch/ia64/include/bus.h
752
for (; c != 0; c--, addr += 4)
sys/arch/ia64/include/bus.h
758
bus_size_t o, uint64_t v, size_t c)
sys/arch/ia64/include/bus.h
765
for (; c != 0; c--, addr += 8)
sys/arch/ia64/include/bus.h
790
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arch/ia64/include/bus.h
791
ia64_bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
sys/arch/ia64/include/bus.h
793
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arch/ia64/include/bus.h
797
ia64_bus_space_copy_region_2((t), (h1), (o1), (h2), (o2), (c)); \
sys/arch/ia64/include/bus.h
800
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arch/ia64/include/bus.h
804
ia64_bus_space_copy_region_4((t), (h1), (o1), (h2), (o2), (c)); \
sys/arch/ia64/include/bus.h
807
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arch/ia64/include/bus.h
811
ia64_bus_space_copy_region_8((t), (h1), (o1), (h2), (o2), (c)); \
sys/arch/ia64/include/bus.h
817
bus_space_handle_t h2, bus_size_t o2, size_t c)
sys/arch/ia64/include/bus.h
825
for (; c != 0; c--, addr1++, addr2++)
sys/arch/ia64/include/bus.h
829
for (addr1 += (c - 1), addr2 += (c - 1);
sys/arch/ia64/include/bus.h
830
c != 0; c--, addr1--, addr2--)
sys/arch/ia64/include/bus.h
836
for (; c != 0; c--, addr1++, addr2++)
sys/arch/ia64/include/bus.h
841
for (addr1 += (c - 1), addr2 += (c - 1);
sys/arch/ia64/include/bus.h
842
c != 0; c--, addr1--, addr2--)
sys/arch/ia64/include/bus.h
852
bus_space_handle_t h2, bus_size_t o2, size_t c)
sys/arch/ia64/include/bus.h
860
for (; c != 0; c--, addr1 += 2, addr2 += 2)
sys/arch/ia64/include/bus.h
864
for (addr1 += 2 * (c - 1), addr2 += 2 * (c - 1);
sys/arch/ia64/include/bus.h
865
c != 0; c--, addr1 -= 2, addr2 -= 2)
sys/arch/ia64/include/bus.h
871
for (; c != 0; c--, addr1 += 2, addr2 += 2)
sys/arch/ia64/include/bus.h
876
for (addr1 += 2 * (c - 1), addr2 += 2 * (c - 1);
sys/arch/ia64/include/bus.h
877
c != 0; c--, addr1 -= 2, addr2 -= 2)
sys/arch/ia64/include/bus.h
887
bus_space_handle_t h2, bus_size_t o2, size_t c)
sys/arch/ia64/include/bus.h
895
for (; c != 0; c--, addr1 += 4, addr2 += 4)
sys/arch/ia64/include/bus.h
899
for (addr1 += 4 * (c - 1), addr2 += 4 * (c - 1);
sys/arch/ia64/include/bus.h
900
c != 0; c--, addr1 -= 4, addr2 -= 4)
sys/arch/ia64/include/bus.h
906
for (; c != 0; c--, addr1 += 4, addr2 += 4)
sys/arch/ia64/include/bus.h
911
for (addr1 += 4 * (c - 1), addr2 += 4 * (c - 1);
sys/arch/ia64/include/bus.h
912
c != 0; c--, addr1 -= 4, addr2 -= 4)
sys/arch/ia64/include/bus.h
922
bus_space_handle_t h2, bus_size_t o2, size_t c)
sys/arch/ia64/include/bus.h
932
for (; c != 0; c--, addr1 += 8, addr2 += 8)
sys/arch/ia64/include/bus.h
937
for (addr1 += 8 * (c - 1), addr2 += 8 * (c - 1);
sys/arch/ia64/include/bus.h
938
c != 0; c--, addr1 -= 8, addr2 -= 8)
sys/arch/ia64/include/int_const.h
45
#define INT8_C(c) c
sys/arch/ia64/include/int_const.h
46
#define INT16_C(c) c
sys/arch/ia64/include/int_const.h
47
#define INT32_C(c) c
sys/arch/ia64/include/int_const.h
48
#define INT64_C(c) c ## L
sys/arch/ia64/include/int_const.h
50
#define UINT8_C(c) c
sys/arch/ia64/include/int_const.h
51
#define UINT16_C(c) c
sys/arch/ia64/include/int_const.h
52
#define UINT32_C(c) c ## U
sys/arch/ia64/include/int_const.h
53
#define UINT64_C(c) c ## UL
sys/arch/ia64/include/int_const.h
57
#define INTMAX_C(c) c ## L
sys/arch/ia64/include/int_const.h
58
#define UINTMAX_C(c) c ## UL
sys/arch/ia64/include/loadfile_machdep.h
55
#define READ(f, b, c) pread((f), LOADADDR(b), (c))
sys/arch/ia64/include/loadfile_machdep.h
56
#define BCOPY(s, d, c) vpbcopy((s), LOADADDR(d), (c))
sys/arch/ia64/include/loadfile_machdep.h
57
#define BZERO(d, c) pbzero(LOADADDR(d), (c))
sys/arch/ia64/include/loadfile_machdep.h
82
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/ia64/include/loadfile_machdep.h
83
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/ia64/include/loadfile_machdep.h
84
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/ia64/stand/common/boot.c
165
int c, yes;
sys/arch/ia64/stand/common/boot.c
201
c = getchar();
sys/arch/ia64/stand/common/boot.c
202
if ((c == '\r') || (c == '\n'))
sys/arch/ia64/stand/common/bootstrap.h
124
void (* c_out)(int c); /* emit c */
sys/arch/ia64/stand/common/bootstrap.h
261
#define COMMAND_SET(a, b, c, d) /* nothing */
sys/arch/ia64/stand/common/commands.c
377
int c;
sys/arch/ia64/stand/common/commands.c
383
while ((c = getopt(argc, argv, "p:t:")) != -1) {
sys/arch/ia64/stand/common/commands.c
384
switch(c) {
sys/arch/ia64/stand/common/console.c
121
putchar(int c)
sys/arch/ia64/stand/common/console.c
126
if (c == '\n')
sys/arch/ia64/stand/common/console.c
131
consoles[cons]->c_out(c);
sys/arch/ia64/stand/common/gets.c
100
err = read(fd, &c, sizeof(c));
sys/arch/ia64/stand/common/gets.c
108
if ((c == '\r') || /* line terminators */
sys/arch/ia64/stand/common/gets.c
109
(c == '\n'))
sys/arch/ia64/stand/common/gets.c
111
*buf++ = c; /* keep char */
sys/arch/ia64/stand/common/gets.c
50
int c;
sys/arch/ia64/stand/common/gets.c
54
switch (c = getchar() & 0177) {
sys/arch/ia64/stand/common/gets.c
84
*lp++ = c;
sys/arch/ia64/stand/common/gets.c
85
putchar(c);
sys/arch/ia64/stand/common/gets.c
94
char c;
sys/arch/ia64/stand/common/misc.c
177
int x, c;
sys/arch/ia64/stand/common/misc.c
197
c = *(u_int8_t *)(line + x);
sys/arch/ia64/stand/common/misc.c
198
if ((c < ' ') || (c > '~')) /* !isprint(c) */
sys/arch/ia64/stand/common/misc.c
199
c = '.';
sys/arch/ia64/stand/common/misc.c
200
emit("%c", c);
sys/arch/ia64/stand/common/misc.c
73
char c;
sys/arch/ia64/stand/common/misc.c
77
archsw.arch_copyout(src++, &c, 1);
sys/arch/ia64/stand/common/misc.c
78
if (c == 0)
sys/arch/ia64/stand/common/strspn.c
52
char c, sc;
sys/arch/ia64/stand/common/strspn.c
61
c = *p++;
sys/arch/ia64/stand/common/strspn.c
63
if (sc == c)
sys/arch/ia64/stand/common/strtol.c
112
for (acc = 0, any = 0;; c = *s++) {
sys/arch/ia64/stand/common/strtol.c
113
if (!isascii(c))
sys/arch/ia64/stand/common/strtol.c
115
if (isdigit(c))
sys/arch/ia64/stand/common/strtol.c
116
c -= '0';
sys/arch/ia64/stand/common/strtol.c
117
else if (isalpha(c))
sys/arch/ia64/stand/common/strtol.c
118
c -= isupper(c) ? 'A' - 10 : 'a' - 10;
sys/arch/ia64/stand/common/strtol.c
121
if (c >= base)
sys/arch/ia64/stand/common/strtol.c
123
if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
sys/arch/ia64/stand/common/strtol.c
128
acc += c;
sys/arch/ia64/stand/common/strtol.c
61
unsigned char c;
sys/arch/ia64/stand/common/strtol.c
76
c = *s++;
sys/arch/ia64/stand/common/strtol.c
77
} while (isspace(c));
sys/arch/ia64/stand/common/strtol.c
78
if (c == '-') {
sys/arch/ia64/stand/common/strtol.c
80
c = *s++;
sys/arch/ia64/stand/common/strtol.c
81
} else if (c == '+')
sys/arch/ia64/stand/common/strtol.c
82
c = *s++;
sys/arch/ia64/stand/common/strtol.c
84
c == '0' && (*s == 'x' || *s == 'X')) {
sys/arch/ia64/stand/common/strtol.c
85
c = s[1];
sys/arch/ia64/stand/common/strtol.c
90
base = c == '0' ? 8 : 10;
sys/arch/ia64/stand/efi/libefi/efi_console.c
58
efi_cons_putchar(int c)
sys/arch/ia64/stand/efi/libefi/efi_console.c
62
if (c == '\n')
sys/arch/ia64/stand/efi/libefi/efi_console.c
65
buf[0] = c;
sys/arch/ia64/stand/ia64/ski/sal_stub.c
41
void ski_cons_putchar(int c);
sys/arch/ia64/stand/ia64/ski/skiconsole.c
51
ski_cons_putchar(int c)
sys/arch/ia64/stand/ia64/ski/skiconsole.c
53
ssc(c, 0, 0, 0, SSC_PUTCHAR);
sys/arch/ia64/stand/ia64/ski/skiconsole.c
61
int c;
sys/arch/ia64/stand/ia64/ski/skiconsole.c
64
c = pollchar;
sys/arch/ia64/stand/ia64/ski/skiconsole.c
66
return c;
sys/arch/ia64/stand/ia64/ski/skiconsole.c
70
c = ssc(0, 0, 0, 0, SSC_GETCHAR);
sys/arch/ia64/stand/ia64/ski/skiconsole.c
71
} while (c == 0);
sys/arch/ia64/stand/ia64/ski/skiconsole.c
73
return c;
sys/arch/ia64/stand/ia64/ski/skiconsole.c
79
int c;
sys/arch/ia64/stand/ia64/ski/skiconsole.c
82
c = ssc(0, 0, 0, 0, SSC_GETCHAR);
sys/arch/ia64/stand/ia64/ski/skiconsole.c
83
if (!c)
sys/arch/ia64/stand/ia64/ski/skiconsole.c
85
pollchar = c;
sys/arch/ibmnws/include/isa_machdep.h
52
#define isa_detach_hook(c, s) \
sys/arch/ibmnws/include/isa_machdep.h
53
genppc_isa_detach_hook(c, s)
sys/arch/landisk/include/bus_funcs.h
101
(*(t)->__bs_opname(c,sz))((t)->bs_cookie, h1, o1, h2, o2, cnt); \
sys/arch/landisk/include/bus_funcs.h
155
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
156
__bs_nonsingle(rm,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/landisk/include/bus_funcs.h
157
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
158
__bs_nonsingle(rm,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/landisk/include/bus_funcs.h
159
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
160
__bs_nonsingle(rm,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/landisk/include/bus_funcs.h
161
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
162
__bs_nonsingle(rm,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/landisk/include/bus_funcs.h
168
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
169
__bs_nonsingle(rr,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/landisk/include/bus_funcs.h
170
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
171
__bs_nonsingle(rr,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/landisk/include/bus_funcs.h
172
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
173
__bs_nonsingle(rr,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/landisk/include/bus_funcs.h
174
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
175
__bs_nonsingle(rr,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/landisk/include/bus_funcs.h
190
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
191
__bs_nonsingle(wm,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/landisk/include/bus_funcs.h
192
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
193
__bs_nonsingle(wm,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/landisk/include/bus_funcs.h
194
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
195
__bs_nonsingle(wm,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/landisk/include/bus_funcs.h
196
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
197
__bs_nonsingle(wm,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/landisk/include/bus_funcs.h
203
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
204
__bs_nonsingle(wr,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/landisk/include/bus_funcs.h
205
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
206
__bs_nonsingle(wr,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/landisk/include/bus_funcs.h
207
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
208
__bs_nonsingle(wr,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/landisk/include/bus_funcs.h
209
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
210
__bs_nonsingle(wr,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/landisk/include/bus_funcs.h
216
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/arch/landisk/include/bus_funcs.h
217
__bs_set(sm,1,uint8_t,(t),(h),(o),(v),(c))
sys/arch/landisk/include/bus_funcs.h
218
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/arch/landisk/include/bus_funcs.h
219
__bs_set(sm,2,uint16_t,(t),(h),(o),(v),(c))
sys/arch/landisk/include/bus_funcs.h
220
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/arch/landisk/include/bus_funcs.h
221
__bs_set(sm,4,uint32_t,(t),(h),(o),(v),(c))
sys/arch/landisk/include/bus_funcs.h
222
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/arch/landisk/include/bus_funcs.h
223
__bs_set(sm,8,uint64_t,(t),(h),(o),(v),(c))
sys/arch/landisk/include/bus_funcs.h
229
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/landisk/include/bus_funcs.h
230
__bs_set(sr,1,uint8_t,(t),(h),(o),(v),(c))
sys/arch/landisk/include/bus_funcs.h
231
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/landisk/include/bus_funcs.h
232
__bs_set(sr,2,uint16_t,(t),(h),(o),(v),(c))
sys/arch/landisk/include/bus_funcs.h
233
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/landisk/include/bus_funcs.h
234
__bs_set(sr,4,uint32_t,(t),(h),(o),(v),(c))
sys/arch/landisk/include/bus_funcs.h
235
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arch/landisk/include/bus_funcs.h
236
__bs_set(sr,8,uint64_t,(t),(h),(o),(v),(c))
sys/arch/landisk/include/bus_funcs.h
242
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arch/landisk/include/bus_funcs.h
243
__bs_copy(1, uint8_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/landisk/include/bus_funcs.h
244
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arch/landisk/include/bus_funcs.h
245
__bs_copy(2, uint16_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/landisk/include/bus_funcs.h
246
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arch/landisk/include/bus_funcs.h
247
__bs_copy(4, uint32_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/landisk/include/bus_funcs.h
248
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arch/landisk/include/bus_funcs.h
249
__bs_copy(8, uint64_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/landisk/include/bus_funcs.h
84
#define __bs_nonsingle(type, sz, tn, t, h, o, a, c) \
sys/arch/landisk/include/bus_funcs.h
88
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, a, c); \
sys/arch/landisk/include/bus_funcs.h
91
#define __bs_set(type, sz, tn, t, h, o, v, c) \
sys/arch/landisk/include/bus_funcs.h
94
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, v, c); \
sys/arch/landisk/include/loadfile_machdep.h
39
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/landisk/include/loadfile_machdep.h
40
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/landisk/include/loadfile_machdep.h
41
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/landisk/stand/boot/boot.h
27
void bioscons_putc(int c);
sys/arch/landisk/stand/boot/boot2.c
136
#define isvalidname(c) ((c) >= 'a' && (c) <= 'z')
sys/arch/landisk/stand/boot/boot2.c
145
#define isnum(c) ((c) >= '0' && (c) <= '9')
sys/arch/landisk/stand/boot/boot2.c
155
#define isvalidpart(c) ((c) >= 'a' && (c) <= 'p')
sys/arch/landisk/stand/boot/boot2.c
226
int c;
sys/arch/landisk/stand/boot/boot2.c
249
c = awaitkey(boot_params.bp_timeout, 1);
sys/arch/landisk/stand/boot/boot2.c
250
if ((c != '\r') && (c != '\n') && (c != '\0')) {
sys/arch/landisk/stand/boot/boot2.c
406
char *c;
sys/arch/landisk/stand/boot/boot2.c
409
c = input;
sys/arch/landisk/stand/boot/boot2.c
418
while (*c == ' ') {
sys/arch/landisk/stand/boot/boot2.c
419
c++;
sys/arch/landisk/stand/boot/boot2.c
421
if (*c != '\0') {
sys/arch/landisk/stand/boot/boot2.c
422
docommand(bootcmds, c);
sys/arch/landisk/stand/boot/cons.c
101
bioscons_putc(c);
sys/arch/landisk/stand/boot/cons.c
105
if (c == '\n')
sys/arch/landisk/stand/boot/cons.c
107
scif_putc(c);
sys/arch/landisk/stand/boot/cons.c
131
char c = 0;
sys/arch/landisk/stand/boot/cons.c
150
c = getchar();
sys/arch/landisk/stand/boot/cons.c
151
if (c == 0)
sys/arch/landisk/stand/boot/cons.c
152
c = -1;
sys/arch/landisk/stand/boot/cons.c
166
return (c);
sys/arch/landisk/stand/boot/cons.c
95
putchar(int c)
sys/arch/landisk/stand/boot/cons.h
38
void cnputc(int c);
sys/arch/landisk/stand/boot/cons.h
43
void bioscons_putc(int c);
sys/arch/landisk/stand/boot/cons.h
47
void scif_putc(int c);
sys/arch/landisk/stand/boot/scifcons.c
173
unsigned char c, err_c;
sys/arch/landisk/stand/boot/scifcons.c
177
c = serbuf[serbuf_read];
sys/arch/landisk/stand/boot/scifcons.c
179
return (c);
sys/arch/landisk/stand/boot/scifcons.c
187
c = scif_frdr_read();
sys/arch/landisk/stand/boot/scifcons.c
198
return (c);
sys/arch/landisk/stand/boot/scifcons.c
205
scif_putc(int c)
sys/arch/landisk/stand/boot/scifcons.c
213
scif_ftdr_write(c);
sys/arch/landisk/stand/boot/scifcons.c
222
unsigned char c, err_c;
sys/arch/landisk/stand/boot/scifcons.c
230
c = scif_frdr_read();
sys/arch/landisk/stand/boot/scifcons.c
242
serbuf[serbuf_write] = (u_char)c;
sys/arch/luna68k/dev/lunaws.c
422
int c, j = 0;
sys/arch/luna68k/dev/lunaws.c
424
c = omkbd_raw[key];
sys/arch/luna68k/dev/lunaws.c
425
if (c == 0x70 /* Kana */ ||
sys/arch/luna68k/dev/lunaws.c
426
c == 0x3a /* CAP */) {
sys/arch/luna68k/dev/lunaws.c
428
cbuf[0] = c;
sys/arch/luna68k/dev/lunaws.c
430
cbuf[0] = c | 0x80;
sys/arch/luna68k/dev/lunaws.c
433
if (c != 0x00) {
sys/arch/luna68k/dev/lunaws.c
435
if (c & 0x80)
sys/arch/luna68k/dev/lunaws.c
437
cbuf[j] = c & 0x7f;
sys/arch/luna68k/dev/omrasops.c
1593
om_mapchar(void *cookie, int c, u_int *cp)
sys/arch/luna68k/dev/omrasops.c
1599
c = wsfont_map_unichar(wf, c);
sys/arch/luna68k/dev/omrasops.c
1601
if (c < 0)
sys/arch/luna68k/dev/omrasops.c
1604
if (c < wf->firstchar || c >= (wf->firstchar + wf->numchars))
sys/arch/luna68k/dev/omrasops.c
1607
*cp = c;
sys/arch/luna68k/dev/omrasops.c
1690
uint16_t c;
sys/arch/luna68k/dev/omrasops.c
1693
c = 0;
sys/arch/luna68k/dev/omrasops.c
1736
c += c;
sys/arch/luna68k/dev/omrasops.c
1737
c += ((fg & 1) << 1) | (bg & 1);
sys/arch/luna68k/dev/omrasops.c
1742
c = (fg << 8) | bg;
sys/arch/luna68k/dev/omrasops.c
1744
a |= c;
sys/arch/luna68k/dev/siotty.c
229
uint8_t c;
sys/arch/luna68k/dev/siotty.c
249
c = sio->sio_data;
sys/arch/luna68k/dev/siotty.c
250
cn_check_magic(sc->sc_tty->t_dev, c,
sys/arch/luna68k/dev/siotty.c
252
put->data = c;
sys/arch/luna68k/dev/siotty.c
738
siottycnputc(dev_t dev, int c)
sys/arch/luna68k/dev/siotty.c
743
sioputc(sio, c);
sys/arch/luna68k/dev/siovar.h
104
sio->sio_data = c;
sys/arch/luna68k/dev/siovar.h
84
int s, c;
sys/arch/luna68k/dev/siovar.h
89
c = sio->sio_data;
sys/arch/luna68k/dev/siovar.h
92
return c;
sys/arch/luna68k/dev/siovar.h
96
sioputc(struct sioreg *sio, int c)
sys/arch/luna68k/include/bus.h
169
#define bus_space_read_multi_1(t, h, o, a, c) do { \
sys/arch/luna68k/include/bus.h
179
"r" ((h) + (o)*4), "g" (a), "g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
183
#define bus_space_read_multi_2(t, h, o, a, c) do { \
sys/arch/luna68k/include/bus.h
193
"r" ((h) + (o)*2), "g" (a), "g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
197
#define bus_space_read_multi_4(t, h, o, a, c) do { \
sys/arch/luna68k/include/bus.h
207
"r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
221
#define bus_space_read_region_1(t, h, o, a, c) do { \
sys/arch/luna68k/include/bus.h
232
"r" ((h) + (o)*4), "g" (a), "g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
236
#define bus_space_read_region_2(t, h, o, a, c) do { \
sys/arch/luna68k/include/bus.h
247
"r" ((h) + (o)*2), "g" (a), "g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
251
#define bus_space_read_region_4(t, h, o, a, c) do { \
sys/arch/luna68k/include/bus.h
261
"r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
292
#define bus_space_write_multi_1(t, h, o, a, c) do { \
sys/arch/luna68k/include/bus.h
302
"r" ((h) + (o)*4), "g" (a), "g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
306
#define bus_space_write_multi_2(t, h, o, a, c) do { \
sys/arch/luna68k/include/bus.h
316
"r" ((h) + (o)*2), "g" (a), "g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
320
#define bus_space_write_multi_4(t, h, o, a, c) do { \
sys/arch/luna68k/include/bus.h
330
"r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
343
#define bus_space_write_region_1(t, h, o, a, c) do { \
sys/arch/luna68k/include/bus.h
354
"r" ((h) + (o)*4), "g" (a), "g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
358
#define bus_space_write_region_2(t, h, o, a, c) do { \
sys/arch/luna68k/include/bus.h
369
"r" ((h) + (o)*2), "g" (a), "g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
373
#define bus_space_write_region_4(t, h, o, a, c) do { \
sys/arch/luna68k/include/bus.h
383
"r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
396
#define bus_space_set_multi_1(t, h, o, val, c) do { \
sys/arch/luna68k/include/bus.h
407
"g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
411
#define bus_space_set_multi_2(t, h, o, val, c) do { \
sys/arch/luna68k/include/bus.h
422
"g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
426
#define bus_space_set_multi_4(t, h, o, val, c) do { \
sys/arch/luna68k/include/bus.h
437
"g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
450
#define bus_space_set_region_1(t, h, o, val, c) do { \
sys/arch/luna68k/include/bus.h
462
"g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
466
#define bus_space_set_region_2(t, h, o, val, c) do { \
sys/arch/luna68k/include/bus.h
478
"g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
482
#define bus_space_set_region_4(t, h, o, val, c) do { \
sys/arch/luna68k/include/bus.h
493
"g" ((size_t)(c)) : \
sys/arch/luna68k/include/bus.h
521
bus_size_t c) \
sys/arch/luna68k/include/bus.h
527
for (o = 0; c != 0; c--, o += BYTES) \
sys/arch/luna68k/include/bus.h
532
for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) \
sys/arch/luna68k/include/loadfile_machdep.h
43
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/luna68k/include/loadfile_machdep.h
44
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/luna68k/include/loadfile_machdep.h
45
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/luna68k/luna68k/machdep.c
203
char c;
sys/arch/luna68k/luna68k/machdep.c
204
while ((c = *cp) != '\0' && c != ' ') {
sys/arch/luna68k/luna68k/machdep.c
205
BOOT_FLAG(c, boothowto);
sys/arch/luna68k/luna68k/machdep.c
447
romcnputc(dev_t dev, int c)
sys/arch/luna68k/luna68k/machdep.c
452
ROMPUTC(c);
sys/arch/luna68k/luna68k/machdep.c
459
int s, c;
sys/arch/luna68k/luna68k/machdep.c
463
c = ROMGETC();
sys/arch/luna68k/luna68k/machdep.c
465
} while (c == -1);
sys/arch/luna68k/luna68k/machdep.c
466
return c;
sys/arch/luna68k/stand/boot/awaitkey.c
57
char c = 0;
sys/arch/luna68k/stand/boot/awaitkey.c
68
c = tgetchar();
sys/arch/luna68k/stand/boot/awaitkey.c
69
if (c != 0)
sys/arch/luna68k/stand/boot/awaitkey.c
85
return c;
sys/arch/luna68k/stand/boot/bmc.c
118
int c;
sys/arch/luna68k/stand/boot/bmc.c
124
POP_RBUF(unit, c);
sys/arch/luna68k/stand/boot/bmc.c
127
return c;
sys/arch/luna68k/stand/boot/bmc.c
134
bmccnputc(dev_t dev, int c)
sys/arch/luna68k/stand/boot/bmc.c
137
bmdputc(c);
sys/arch/luna68k/stand/boot/bmd.c
174
bmd_escape(int c)
sys/arch/luna68k/stand/boot/bmd.c
178
switch (c) {
sys/arch/luna68k/stand/boot/bmd.c
193
bmd_escape_0(int c)
sys/arch/luna68k/stand/boot/bmd.c
198
switch (c) {
sys/arch/luna68k/stand/boot/bmd.c
230
*bp->bc_esc++ = c;
sys/arch/luna68k/stand/boot/bmd.c
244
bmd_escape_1(int c)
sys/arch/luna68k/stand/boot/bmd.c
251
switch (c) {
sys/arch/luna68k/stand/boot/bmd.c
275
*bp->bc_esc++ = c;
sys/arch/luna68k/stand/boot/bmd.c
357
bmdputc(int c)
sys/arch/luna68k/stand/boot/bmd.c
363
c &= 0x7F;
sys/arch/luna68k/stand/boot/bmd.c
372
*bp->bc_esc++ = c;
sys/arch/luna68k/stand/boot/bmd.c
373
(*bp->bc_escape)(c);
sys/arch/luna68k/stand/boot/bmd.c
377
if (isprint(c)) {
sys/arch/luna68k/stand/boot/bmd.c
379
bq->bl_col, bp->bc_row, c);
sys/arch/luna68k/stand/boot/bmd.c
395
switch (c) {
sys/arch/luna68k/stand/boot/bmd.c
451
return c;
sys/arch/luna68k/stand/boot/bmd.c
478
bmd_draw_char(uint8_t *raddr, uint8_t *waddr, int col, int row, int c)
sys/arch/luna68k/stand/boot/bmd.c
485
fp = &bmdfont[c][0];
sys/arch/luna68k/stand/boot/bmd.c
96
#define isprint(c) ((c) >= 0x20 && (c) < 0x7f)
sys/arch/luna68k/stand/boot/boot.c
91
char c;
sys/arch/luna68k/stand/boot/boot.c
98
while ((c = *++opts) && c != '\0')
sys/arch/luna68k/stand/boot/boot.c
99
BOOT_FLAG(c, howto);
sys/arch/luna68k/stand/boot/cons.c
136
cnputc(int c)
sys/arch/luna68k/stand/boot/cons.c
141
if (c != 0) {
sys/arch/luna68k/stand/boot/cons.c
142
(*cn_tab->cn_putc)(cn_tab->cn_dev, c);
sys/arch/luna68k/stand/boot/cons.c
143
if (c == '\n')
sys/arch/luna68k/stand/boot/getline.c
123
*lp++ = c;
sys/arch/luna68k/stand/boot/getline.c
124
putchar(c);
sys/arch/luna68k/stand/boot/getline.c
84
int c;
sys/arch/luna68k/stand/boot/getline.c
90
c = getchar() & 0x7f;
sys/arch/luna68k/stand/boot/getline.c
92
switch (c) {
sys/arch/luna68k/stand/boot/init_main.c
308
char c;
sys/arch/luna68k/stand/boot/init_main.c
313
c = awaitkey("%d seconds. ", boot_timeout, true);
sys/arch/luna68k/stand/boot/init_main.c
314
if (c == '\r' || c == '\n' || c == 0) {
sys/arch/luna68k/stand/boot/kbd.c
221
unsigned int c, updown = 0;
sys/arch/luna68k/stand/boot/kbd.c
238
c = kbd_keymap[code].km_type;
sys/arch/luna68k/stand/boot/kbd.c
240
if (c == KC_IGNORE)
sys/arch/luna68k/stand/boot/kbd.c
243
if ((c == KC_CODE) && updown)
sys/arch/luna68k/stand/boot/kbd.c
246
if (c == KC_SHIFT) {
sys/arch/luna68k/stand/boot/kbd.c
266
c = kbd_keymap[code].km_code[1];
sys/arch/luna68k/stand/boot/kbd.c
268
c = kbd_keymap[code].km_code[0];
sys/arch/luna68k/stand/boot/kbd.c
271
c |= 0x80;
sys/arch/luna68k/stand/boot/kbd.c
274
c &= 0x1F;
sys/arch/luna68k/stand/boot/kbd.c
276
return c;
sys/arch/luna68k/stand/boot/prf.c
40
int c;
sys/arch/luna68k/stand/boot/prf.c
42
while ((c = cngetc()) == 0)
sys/arch/luna68k/stand/boot/prf.c
44
if (c == '\r')
sys/arch/luna68k/stand/boot/prf.c
45
c = '\n';
sys/arch/luna68k/stand/boot/prf.c
46
else if (c == ('c'&037)) {
sys/arch/luna68k/stand/boot/prf.c
50
return c;
sys/arch/luna68k/stand/boot/prf.c
56
int c;
sys/arch/luna68k/stand/boot/prf.c
58
if ((c = cngetc()) == 0)
sys/arch/luna68k/stand/boot/prf.c
61
if (c == '\r')
sys/arch/luna68k/stand/boot/prf.c
62
c = '\n';
sys/arch/luna68k/stand/boot/prf.c
63
else if (c == ('c'&037)) {
sys/arch/luna68k/stand/boot/prf.c
67
return c;
sys/arch/luna68k/stand/boot/prf.c
71
putchar(int c)
sys/arch/luna68k/stand/boot/prf.c
73
cnputc(c);
sys/arch/luna68k/stand/boot/prf.c
74
if (c == '\n')
sys/arch/luna68k/stand/boot/rcvbuf.h
100
(c) = *(--rcvbuf[n].rb_pop); \
sys/arch/luna68k/stand/boot/rcvbuf.h
91
#define PUSH_RBUF(n, c) \
sys/arch/luna68k/stand/boot/rcvbuf.h
93
*(--rcvbuf[n].rb_push) = (c); \
sys/arch/luna68k/stand/boot/rcvbuf.h
98
#define POP_RBUF(n, c) \
sys/arch/luna68k/stand/boot/romcons.c
102
return c;
sys/arch/luna68k/stand/boot/romcons.c
106
romcnputc(dev_t dev, int c)
sys/arch/luna68k/stand/boot/romcons.c
109
ROM_putchar(c);
sys/arch/luna68k/stand/boot/romcons.c
96
int c;
sys/arch/luna68k/stand/boot/romcons.c
99
if ((c = ROM_getchar()) != -1)
sys/arch/luna68k/stand/boot/sio.c
120
int c = kbd_decode(sio_addr[unit]->sio_data);
sys/arch/luna68k/stand/boot/sio.c
122
if ((c & KC_TYPE) == KC_CODE)
sys/arch/luna68k/stand/boot/sio.c
123
PUSH_RBUF(unit, c);
sys/arch/luna68k/stand/boot/sio.c
167
int c, unit = dev;
sys/arch/luna68k/stand/boot/sio.c
172
POP_RBUF(unit, c);
sys/arch/luna68k/stand/boot/sio.c
174
return c;
sys/arch/luna68k/stand/boot/sio.c
178
siocnputc(dev_t dev, int c)
sys/arch/luna68k/stand/boot/sio.c
194
sio_addr[unit]->sio_data = (c & 0xFF);
sys/arch/m68k/fpsp/fpsp.h
7
* M68040 Software Package Copyright (c) 1993, 1994 Motorola Inc.
sys/arch/m68k/fpsp/l_fpsp.h
7
* M68040 Software Package Copyright (c) 1993, 1994 Motorola Inc.
sys/arch/m68k/include/bus_space_simple.h
235
#define bus_space_read_multi_1(t, h, o, a, c) do { \
sys/arch/m68k/include/bus_space_simple.h
245
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
249
#define bus_space_read_multi_2(t, h, o, a, c) do { \
sys/arch/m68k/include/bus_space_simple.h
259
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
263
#define bus_space_read_multi_4(t, h, o, a, c) do { \
sys/arch/m68k/include/bus_space_simple.h
273
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
287
#define bus_space_read_region_1(t, h, o, a, c) do { \
sys/arch/m68k/include/bus_space_simple.h
297
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
301
#define bus_space_read_region_2(t, h, o, a, c) do { \
sys/arch/m68k/include/bus_space_simple.h
311
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
315
#define bus_space_read_region_4(t, h, o, a, c) do { \
sys/arch/m68k/include/bus_space_simple.h
325
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
362
#define bus_space_write_multi_1(t, h, o, a, c) do { \
sys/arch/m68k/include/bus_space_simple.h
372
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
376
#define bus_space_write_multi_2(t, h, o, a, c) do { \
sys/arch/m68k/include/bus_space_simple.h
386
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
390
#define bus_space_write_multi_4(t, h, o, a, c) do { \
sys/arch/m68k/include/bus_space_simple.h
400
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
413
#define bus_space_write_region_1(t, h, o, a, c) do { \
sys/arch/m68k/include/bus_space_simple.h
423
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
427
#define bus_space_write_region_2(t, h, o, a, c) do { \
sys/arch/m68k/include/bus_space_simple.h
437
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
441
#define bus_space_write_region_4(t, h, o, a, c) do { \
sys/arch/m68k/include/bus_space_simple.h
451
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
464
#define bus_space_set_multi_1(t, h, o, val, c) do { \
sys/arch/m68k/include/bus_space_simple.h
474
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
478
#define bus_space_set_multi_2(t, h, o, val, c) do { \
sys/arch/m68k/include/bus_space_simple.h
488
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
492
#define bus_space_set_multi_4(t, h, o, val, c) do { \
sys/arch/m68k/include/bus_space_simple.h
502
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
515
#define bus_space_set_region_1(t, h, o, val, c) do { \
sys/arch/m68k/include/bus_space_simple.h
525
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
529
#define bus_space_set_region_2(t, h, o, val, c) do { \
sys/arch/m68k/include/bus_space_simple.h
539
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
543
#define bus_space_set_region_4(t, h, o, val, c) do { \
sys/arch/m68k/include/bus_space_simple.h
553
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/m68k/include/bus_space_simple.h
581
bus_size_t c) \
sys/arch/m68k/include/bus_space_simple.h
588
for (o = 0; c != 0; c--, o += BYTES) \
sys/arch/m68k/include/bus_space_simple.h
593
for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) \
sys/arch/m68k/include/int_const.h
44
#define INT8_C(c) c
sys/arch/m68k/include/int_const.h
45
#define INT16_C(c) c
sys/arch/m68k/include/int_const.h
46
#define INT32_C(c) c
sys/arch/m68k/include/int_const.h
47
#define INT64_C(c) c ## LL
sys/arch/m68k/include/int_const.h
49
#define UINT8_C(c) c
sys/arch/m68k/include/int_const.h
50
#define UINT16_C(c) c
sys/arch/m68k/include/int_const.h
51
#define UINT32_C(c) c ## U
sys/arch/m68k/include/int_const.h
52
#define UINT64_C(c) c ## ULL
sys/arch/m68k/include/int_const.h
56
#define INTMAX_C(c) c ## LL
sys/arch/m68k/include/int_const.h
57
#define UINTMAX_C(c) c ## ULL
sys/arch/m68k/m68k/db_trace.c
406
char c;
sys/arch/m68k/m68k/db_trace.c
408
while ((c = *cp++) != 0) {
sys/arch/m68k/m68k/db_trace.c
409
if (c == 'a') {
sys/arch/m68k/m68k/db_trace.c
412
} else if (c == 't')
sys/arch/m68k/m68k/db_trace.c
415
else if (c == 'u')
sys/arch/m68k/m68k/m68k_trap.c
156
#define KDFAULT(c) (((c) & (SSW1_IF|SSW1_FCMASK)) == (FC_SUPERD))
sys/arch/m68k/m68k/m68k_trap.c
157
#define WRFAULT(c) (((c) & (SSW1_IF|SSW1_DF|SSW1_RW)) == (0))
sys/arch/m68k/m68k/m68k_trap.c
191
#define KDFAULT_60(c) (CPU_IS_60 && ((c) & FSLW_TM_SV))
sys/arch/m68k/m68k/m68k_trap.c
192
#define WRFAULT_60(c) (CPU_IS_60 && ((c) & FSLW_RW_W))
sys/arch/m68k/m68k/m68k_trap.c
194
#define KDFAULT_40(c) (CPU_IS_40 && \
sys/arch/m68k/m68k/m68k_trap.c
195
((c) & SSW4_TMMASK) == SSW4_TMKD)
sys/arch/m68k/m68k/m68k_trap.c
196
#define WRFAULT_40(c) (CPU_IS_40 && \
sys/arch/m68k/m68k/m68k_trap.c
197
((c) & (SSW4_LK|SSW4_RW)) != SSW4_RW)
sys/arch/m68k/m68k/m68k_trap.c
199
#define KDFAULT_2030(c) (CPU_IS_2030 && \
sys/arch/m68k/m68k/m68k_trap.c
200
((c) & (SSW_DF|SSW_FCMASK)) == (SSW_DF|FC_SUPERD))
sys/arch/m68k/m68k/m68k_trap.c
201
#define WRFAULT_2030(c) (CPU_IS_2030 && \
sys/arch/m68k/m68k/m68k_trap.c
202
(((c) & SSW_DF) != 0 && \
sys/arch/m68k/m68k/m68k_trap.c
203
((((c) & SSW_RW) == 0) || (((c) & SSW_RM) != 0))))
sys/arch/m68k/m68k/m68k_trap.c
205
#define KDFAULT(c) (KDFAULT_60(c) || KDFAULT_40(c) || KDFAULT_2030(c))
sys/arch/m68k/m68k/m68k_trap.c
206
#define WRFAULT(c) (WRFAULT_60(c) || WRFAULT_40(c) || WRFAULT_2030(c))
sys/arch/mac68k/dev/akbd.c
539
int c = keyboard[ADBK_KEYVAL(key)][3];
sys/arch/mac68k/dev/akbd.c
541
if (c == 0) /* XXX */
sys/arch/mac68k/dev/akbd.c
544
if (c & 0x80)
sys/arch/mac68k/dev/akbd.c
547
cbuf[j++] = (c & 0x7f) | (ADBK_PRESS(key)? 0 : 0x80);
sys/arch/mac68k/dev/mac68k5380.c
86
# define DBG_PIOPRINT(a,b,c) printf(a,b,c)
sys/arch/mac68k/dev/mac68k5380.c
88
# define DBG_PIOPRINT(a,b,c)
sys/arch/mac68k/dev/mac68k5380.c
91
# define DBG_INFPRINT(a,b,c) a(b,c)
sys/arch/mac68k/dev/mac68k5380.c
93
# define DBG_INFPRINT(a,b,c)
sys/arch/mac68k/dev/maccons.c
119
maccnputc(dev_t dev, int c)
sys/arch/mac68k/dev/maccons.c
128
wsdisplay_cnputc(dev,c);
sys/arch/mac68k/dev/maccons.c
132
zscnputc(mac68k_zsdev, c);
sys/arch/mac68k/dev/zs.c
1001
c = zs_getc(zc);
sys/arch/mac68k/dev/zs.c
1002
return (c);
sys/arch/mac68k/dev/zs.c
1009
zscnputc(dev_t dev, int c)
sys/arch/mac68k/dev/zs.c
1013
zs_putc(zc, c);
sys/arch/mac68k/dev/zs.c
947
int s, c, rr0;
sys/arch/mac68k/dev/zs.c
956
c = zc->zc_data;
sys/arch/mac68k/dev/zs.c
964
return (c);
sys/arch/mac68k/dev/zs.c
971
zs_putc(void *arg, int c)
sys/arch/mac68k/dev/zs.c
985
zc->zc_data = c;
sys/arch/mac68k/dev/zs.c
999
int c;
sys/arch/mac68k/dev/zs_kgdb.c
233
u_char c, rr1;
sys/arch/mac68k/dev/zs_kgdb.c
240
c = zs_read_data(cs);
sys/arch/mac68k/dev/zs_kgdb.c
247
if (c == KGDB_START) {
sys/arch/mac68k/include/bus.h
302
#define bus_space_read_multi_1(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
303
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
305
(h).bsrm1(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
306
#define bus_space_read_multi_2(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
307
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
309
(h).bsrm2(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
310
#define bus_space_read_multi_4(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
311
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
313
(h).bsrm4(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
314
#define bus_space_read_multi_stream_1(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
315
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
317
(h).bsrms1(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
318
#define bus_space_read_multi_stream_2(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
319
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
321
(h).bsrms2(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
322
#define bus_space_read_multi_stream_4(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
323
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
325
(h).bsrms4(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
327
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
328
do { if (c) (h).bsrm1(t, &(h), o, a, c); } while (0)
sys/arch/mac68k/include/bus.h
329
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
330
do { if (c) (h).bsrm2(t, &(h), o, a, c); } while (0)
sys/arch/mac68k/include/bus.h
331
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
332
do { if (c) (h).bsrm4(t, &(h), o, a, c); } while (0)
sys/arch/mac68k/include/bus.h
333
#define bus_space_read_multi_stream_1(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
334
do { if (c) (h).bsrms1(t, &(h), o, a, c); } while (0)
sys/arch/mac68k/include/bus.h
335
#define bus_space_read_multi_stream_2(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
336
do { if (c) (h).bsrms2(t, &(h), o, a, c); } while (0)
sys/arch/mac68k/include/bus.h
337
#define bus_space_read_multi_stream_4(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
338
do { if (c) (h).bsrms4(t, &(h), o, a, c); } while (0)
sys/arch/mac68k/include/bus.h
373
#define bus_space_read_region_1(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
374
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
376
(h).bsrr1(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
377
#define bus_space_read_region_2(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
378
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
380
(h).bsrr2(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
381
#define bus_space_read_region_4(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
382
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
384
(h).bsrr4(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
385
#define bus_space_read_region_stream_1(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
386
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
388
(h).bsrrs1(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
389
#define bus_space_read_region_stream_2(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
390
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
392
(h).bsrrs2(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
393
#define bus_space_read_region_stream_4(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
394
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
396
(h).bsrrs4(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
398
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
399
do { if (c) (h).bsrr1(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
400
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
401
do { if (c) (h).bsrr2(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
402
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
403
do { if (c) (h).bsrr4(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
404
#define bus_space_read_region_stream_1(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
405
do { if (c) (h).bsrrs1(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
406
#define bus_space_read_region_stream_2(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
407
do { if (c) (h).bsrrs2(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
408
#define bus_space_read_region_stream_4(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
409
do { if (c) (h).bsrrs4(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
476
#define bus_space_write_multi_1(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
477
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
479
(h).bswm1(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
480
#define bus_space_write_multi_2(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
481
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
483
(h).bswm2(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
484
#define bus_space_write_multi_4(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
485
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
487
(h).bswm4(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
488
#define bus_space_write_multi_stream_1(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
489
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
491
(h).bswms1(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
492
#define bus_space_write_multi_stream_2(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
493
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
495
(h).bswms2(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
496
#define bus_space_write_multi_stream_4(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
497
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
499
(h).bswms4(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
501
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
502
do { if (c) (h).bswm1(t, &(h), o, a, c); } while (0)
sys/arch/mac68k/include/bus.h
503
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
504
do { if (c) (h).bswm2(t, &(h), o, a, c); } while (0)
sys/arch/mac68k/include/bus.h
505
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
506
do { if (c) (h).bswm4(t, &(h), o, a, c); } while (0)
sys/arch/mac68k/include/bus.h
507
#define bus_space_write_multi_stream_1(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
508
do { if (c) (h).bswms1(t, &(h), o, a, c); } while (0)
sys/arch/mac68k/include/bus.h
509
#define bus_space_write_multi_stream_2(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
510
do { if (c) (h).bswms2(t, &(h), o, a, c); } while (0)
sys/arch/mac68k/include/bus.h
511
#define bus_space_write_multi_stream_4(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
512
do { if (c) (h).bswms4(t, &(h), o, a, c); } while (0)
sys/arch/mac68k/include/bus.h
546
#define bus_space_write_region_1(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
547
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
549
(h).bswr1(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
550
#define bus_space_write_region_2(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
551
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
553
(h).bswr2(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
554
#define bus_space_write_region_4(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
555
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
557
(h).bswr4(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
558
#define bus_space_write_region_stream_1(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
559
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
561
(h).bswrs1(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
562
#define bus_space_write_region_stream_2(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
563
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
565
(h).bswrs2(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
566
#define bus_space_write_region_stream_4(t, h, o, a, c) do { \
sys/arch/mac68k/include/bus.h
567
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
569
(h).bswrs4(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
571
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
572
do { if (c) (h).bswr1(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
573
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
574
do { if (c) (h).bswr2(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
575
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
576
do { if (c) (h).bswr4(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
577
#define bus_space_write_region_stream_1(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
578
do { if (c) (h).bswrs1(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
579
#define bus_space_write_region_stream_2(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
580
do { if (c) (h).bswrs2(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
581
#define bus_space_write_region_stream_4(t, h, o, a, c) \
sys/arch/mac68k/include/bus.h
582
do { if (c) (h).bswrs4(t,&(h),o,a,c); } while (0)
sys/arch/mac68k/include/bus.h
612
#define bus_space_set_multi_1(t, h, o, val, c) do { \
sys/arch/mac68k/include/bus.h
613
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
615
(h).bssm1(t,&(h),o,val,c); } while (0)
sys/arch/mac68k/include/bus.h
616
#define bus_space_set_multi_2(t, h, o, val, c) do { \
sys/arch/mac68k/include/bus.h
617
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
619
(h).bssm2(t,&(h),o,val,c); } while (0)
sys/arch/mac68k/include/bus.h
620
#define bus_space_set_multi_4(t, h, o, val, c) do { \
sys/arch/mac68k/include/bus.h
621
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
623
(h).bssm4(t,&(h),o,val,c); } while (0)
sys/arch/mac68k/include/bus.h
625
#define bus_space_set_multi_1(t, h, o, val, c) \
sys/arch/mac68k/include/bus.h
626
do { if (c) (h).bssm1(t,&(h),o,val,c); } while (0)
sys/arch/mac68k/include/bus.h
627
#define bus_space_set_multi_2(t, h, o, val, c) \
sys/arch/mac68k/include/bus.h
628
do { if (c) (h).bssm2(t,&(h),o,val,c); } while (0)
sys/arch/mac68k/include/bus.h
629
#define bus_space_set_multi_4(t, h, o, val, c) \
sys/arch/mac68k/include/bus.h
630
do { if (c) (h).bssm4(t,&(h),o,val,c); } while (0)
sys/arch/mac68k/include/bus.h
660
#define bus_space_set_region_1(t, h, o, val, c) do { \
sys/arch/mac68k/include/bus.h
661
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
663
(h).bssr1(t,&(h),o,val,c); } while (0)
sys/arch/mac68k/include/bus.h
664
#define bus_space_set_region_2(t, h, o, val, c) do { \
sys/arch/mac68k/include/bus.h
665
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
667
(h).bssr2(t,&(h),o,val,c); } while (0)
sys/arch/mac68k/include/bus.h
668
#define bus_space_set_region_4(t, h, o, val, c) do { \
sys/arch/mac68k/include/bus.h
669
if ((c) == 0) \
sys/arch/mac68k/include/bus.h
671
(h).bssr4(t,&(h),o,val,c); } while (0)
sys/arch/mac68k/include/bus.h
673
#define bus_space_set_region_1(t, h, o, val, c) \
sys/arch/mac68k/include/bus.h
674
do { if (c) (h).bssr1(t,&(h),o,val,c); } while (0)
sys/arch/mac68k/include/bus.h
675
#define bus_space_set_region_2(t, h, o, val, c) \
sys/arch/mac68k/include/bus.h
676
do { if (c) (h).bssr2(t,&(h),o,val,c); } while (0)
sys/arch/mac68k/include/bus.h
677
#define bus_space_set_region_4(t, h, o, val, c) \
sys/arch/mac68k/include/bus.h
678
do { if (c) (h).bssr4(t,&(h),o,val,c); } while (0)
sys/arch/mac68k/include/bus.h
704
bus_size_t c) \
sys/arch/mac68k/include/bus.h
710
for (o = 0; c != 0; c--, o += BYTES) \
sys/arch/mac68k/include/bus.h
715
for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) \
sys/arch/mac68k/mac68k/bus_space.c
1005
const u_int16_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1007
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
1015
const u_int16_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1017
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
1025
const u_int32_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1035
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
1041
const u_int32_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1055
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
1061
const u_int32_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1063
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
1071
const u_int32_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1073
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
1081
u_int8_t v, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1091
"r" (h->base + offset), "g" ((u_long)v), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
1097
u_int8_t v, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1099
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
1106
u_int16_t v, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1116
"r" (h->base + offset), "g" ((u_long)v), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
1122
u_int16_t v, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1133
"r" (h->base + offset), "g" ((u_long)v), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
1139
u_int16_t v, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1141
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
1148
u_int32_t v, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1158
"r" (h->base + offset), "g" ((u_long)v), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
1164
u_int32_t v, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1177
"r" (h->base + offset), "g" ((u_long)v), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
1183
u_int32_t v, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1185
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
1192
u_int8_t v, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1202
"r" (h->base + offset), "g" ((u_long)v), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
1208
u_int8_t v, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1210
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
1218
u_int16_t v, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1228
"r" (h->base + offset), "g" ((u_long)v), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
1234
u_int16_t v, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1245
"r" (h->base + offset), "g" ((u_long)v), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
1251
u_int16_t v, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1253
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
1261
u_int32_t v, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1271
"r" (h->base + offset), "g" ((u_long)v), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
1277
u_int32_t v, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1290
"r" (h->base + offset), "g" ((u_long)v), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
1296
u_int32_t v, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
1298
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
457
u_int8_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
467
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
473
u_int8_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
475
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
482
u_int16_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
492
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
498
u_int16_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
510
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
516
u_int16_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
518
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
525
u_int16_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
527
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
534
u_int32_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
544
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
550
u_int32_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
564
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
570
u_int32_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
572
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
579
u_int32_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
581
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
588
u_int8_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
598
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
604
u_int8_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
606
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
614
u_int16_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
624
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
630
u_int16_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
642
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
648
u_int16_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
650
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
658
u_int16_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
660
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
668
u_int32_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
678
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
684
u_int32_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
698
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
704
u_int32_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
706
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
714
u_int32_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
716
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
814
const u_int8_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
824
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
830
const u_int8_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
832
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
839
const u_int16_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
849
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
855
const u_int16_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
867
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
873
const u_int16_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
875
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
882
const u_int16_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
884
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
891
const u_int32_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
901
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
907
const u_int32_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
921
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
927
const u_int32_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
929
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
936
const u_int32_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
938
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
945
const u_int8_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
955
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
961
const u_int8_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
963
while (c--) {
sys/arch/mac68k/mac68k/bus_space.c
971
const u_int16_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
981
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/mac68k/bus_space.c
987
const u_int16_t *a, size_t c)
sys/arch/mac68k/mac68k/bus_space.c
999
"r" (h->base + offset), "g" (a), "g" (c) :
sys/arch/mac68k/nubus/cpi_nubusvar.h
44
#define CPI_UNIT(c) (minor(c) & 0x1f)
sys/arch/mac68k/nubus/grf_nubus.c
434
u_int8_t c;
sys/arch/mac68k/nubus/grf_nubus.c
436
c = sc->cli_value;
sys/arch/mac68k/nubus/grf_nubus.c
438
c |= 0x80;
sys/arch/mac68k/nubus/grf_nubus.c
439
bus_space_write_1(sc->sc_tag, sc->sc_handle, 0xd00403, c);
sys/arch/mac68k/nubus/grf_nubus.c
440
c &= 0x7f;
sys/arch/mac68k/nubus/grf_nubus.c
441
bus_space_write_1(sc->sc_tag, sc->sc_handle, 0xd00403, c);
sys/arch/mac68k/nubus/grf_nubus.c
453
u_int8_t c;
sys/arch/mac68k/nubus/grf_nubus.c
455
c = 0x80 | bus_space_read_1(sc->sc_tag, sc->sc_handle, 0xfffd8);
sys/arch/mac68k/nubus/grf_nubus.c
456
bus_space_write_1(sc->sc_tag, sc->sc_handle, 0xd00403, c);
sys/arch/mac68k/nubus/grf_nubus.c
457
c &= 0x7f;
sys/arch/mac68k/nubus/grf_nubus.c
458
bus_space_write_1(sc->sc_tag, sc->sc_handle, 0xd00403, c);
sys/arch/mac68k/nubus/grf_nubus.c
475
u_int8_t c;
sys/arch/mac68k/nubus/grf_nubus.c
477
c = bus_space_read_1(sc->sc_tag, sc->sc_handle, 0x80000);
sys/arch/mac68k/nubus/grf_nubus.c
478
c |= 0x02;
sys/arch/mac68k/nubus/grf_nubus.c
479
bus_space_write_1(sc->sc_tag, sc->sc_handle, 0x80000, c);
sys/arch/mac68k/nubus/grf_nubus.c
480
c &= 0xfd;
sys/arch/mac68k/nubus/grf_nubus.c
481
bus_space_write_1(sc->sc_tag, sc->sc_handle, 0x80000, c);
sys/arch/mac68k/obio/esp.c
873
volatile uint8_t *c;
sys/arch/mac68k/obio/esp.c
874
c = (volatile uint8_t *) addr;
sys/arch/mac68k/obio/esp.c
882
*(volatile int8_t *)pdma = *c;
sys/arch/mac68k/obio/esp.c
916
volatile uint8_t *c;
sys/arch/mac68k/obio/esp.c
917
c = (volatile int8_t *)addr;
sys/arch/mac68k/obio/esp.c
925
*c = *(volatile uint8_t *)pdma;
sys/arch/macppc/dev/akbd.c
483
int c = keyboard[ADBK_KEYVAL(key)][3];
sys/arch/macppc/dev/akbd.c
485
if (c == 0) /* XXX */
sys/arch/macppc/dev/akbd.c
488
if (c & 0x80)
sys/arch/macppc/dev/akbd.c
491
cbuf[j++] = (c & 0x7f) | (ADBK_PRESS(key)? 0 : 0x80);
sys/arch/macppc/dev/am79c950.c
651
register u_char *cp, c;
sys/arch/macppc/dev/am79c950.c
685
c = *cp++;
sys/arch/macppc/dev/am79c950.c
687
if ((crc & 0x01) ^ (c & 0x01)) {
sys/arch/macppc/dev/am79c950.c
692
c >>= 1;
sys/arch/macppc/dev/awacs.c
1208
int c;
sys/arch/macppc/dev/awacs.c
1212
c = AWACS_RATE_44100;
sys/arch/macppc/dev/awacs.c
1215
c = AWACS_RATE_29400;
sys/arch/macppc/dev/awacs.c
1218
c = AWACS_RATE_22050;
sys/arch/macppc/dev/awacs.c
1221
c = AWACS_RATE_17640;
sys/arch/macppc/dev/awacs.c
1224
c = AWACS_RATE_14700;
sys/arch/macppc/dev/awacs.c
1227
c = AWACS_RATE_11025;
sys/arch/macppc/dev/awacs.c
1230
c = AWACS_RATE_8820;
sys/arch/macppc/dev/awacs.c
1233
c = AWACS_RATE_7350;
sys/arch/macppc/dev/awacs.c
1240
sc->sc_soundctl |= c;
sys/arch/macppc/dev/zs.c
130
void zscnputc(dev_t dev, int c);
sys/arch/macppc/dev/zs.c
881
int s, c, rr0;
sys/arch/macppc/dev/zs.c
890
c = in8(&zc->zc_data);
sys/arch/macppc/dev/zs.c
898
return (c);
sys/arch/macppc/dev/zs.c
905
zs_putc(void *v, int c)
sys/arch/macppc/dev/zs.c
919
out8(&zc->zc_data, c);
sys/arch/macppc/dev/zs.c
933
int c;
sys/arch/macppc/dev/zs.c
936
c = zs_getc(__UNVOLATILE(zc));
sys/arch/macppc/dev/zs.c
940
c = ch;
sys/arch/macppc/dev/zs.c
942
return c;
sys/arch/macppc/dev/zs.c
949
zscnputc(dev_t dev, int c)
sys/arch/macppc/dev/zs.c
954
zs_putc(__UNVOLATILE(zc), c);
sys/arch/macppc/dev/zs.c
956
char ch = c;
sys/arch/macppc/dev/zs_kgdb.c
231
register u_char c, rr1;
sys/arch/macppc/dev/zs_kgdb.c
238
c = zs_read_data(cs);
sys/arch/macppc/dev/zs_kgdb.c
245
if (c == KGDB_START) {
sys/arch/macppc/include/loadfile_machdep.h
45
#define READ(f, b, c) macppc_read((f), (void *)LOADADDR(b), (c))
sys/arch/macppc/include/loadfile_machdep.h
46
#define BCOPY(s, d, c) macppc_memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/macppc/include/loadfile_machdep.h
47
#define BZERO(d, c) macppc_memset((void *)LOADADDR(d), 0, (c))
sys/arch/macppc/include/loadfile_machdep.h
49
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/macppc/include/loadfile_machdep.h
50
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/macppc/include/loadfile_machdep.h
51
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/macppc/macppc/failsafe.c
120
failsafe_putc(dev_t dev, int c)
sys/arch/macppc/macppc/failsafe.c
122
char ch = c;
sys/arch/macppc/macppc/failsafe.c
66
uint8_t c;
sys/arch/macppc/macppc/failsafe.c
79
c = *addr;
sys/arch/macppc/macppc/failsafe.c
88
return c;
sys/arch/macppc/stand/ofwboot/Locore.c
799
putchar(int c)
sys/arch/macppc/stand/ofwboot/Locore.c
801
char ch = c;
sys/arch/macppc/stand/ofwboot/Locore.c
803
if (c == '\n')
sys/arch/macppc/stand/ofwboot/boot.c
366
int c;
sys/arch/macppc/stand/ofwboot/boot.c
370
c = getchar();
sys/arch/macppc/stand/ofwboot/boot.c
371
if (c == 'q') {
sys/arch/macppc/stand/ofwboot/loadfile_machdep.c
442
macppc_memset(void *dst, int c, size_t size)
sys/arch/macppc/stand/ofwboot/loadfile_machdep.c
447
return memset(dst, c, size);
sys/arch/mips/adm5120/dev/uart.c
173
uart_cnputc(dev_t dev, int c)
sys/arch/mips/adm5120/dev/uart.c
177
(*((volatile unsigned long *)0xb2600000)) = c;
sys/arch/mips/adm5120/dev/uart.c
337
int c;
sys/arch/mips/adm5120/dev/uart.c
345
c = REG_READ(UART_DR_REG) & 0xff;
sys/arch/mips/adm5120/dev/uart.c
347
(*tp->t_linesw->l_rint)(c, tp);
sys/arch/mips/alchemy/au_himem_space.c
208
au_himem_cookie_t *c = (au_himem_cookie_t *)cookie;
sys/arch/mips/alchemy/au_himem_space.c
216
if (addr < c->c_start || (addr + size) > c->c_end) {
sys/arch/mips/alchemy/au_himem_space.c
221
pa = TRUNC_PAGE(c->c_physoff + addr);
sys/arch/mips/alchemy/au_himem_space.c
251
if (acct && c->c_extent != NULL) {
sys/arch/mips/alchemy/au_himem_space.c
252
err = extent_alloc_region(c->c_extent, addr, size, EX_NOWAIT);
sys/arch/mips/alchemy/au_himem_space.c
265
au_himem_cookie_t *c = (au_himem_cookie_t *)cookie;
sys/arch/mips/alchemy/au_himem_space.c
297
addr = ((pa - c->c_physoff) + (bsh & PAGE_MASK));
sys/arch/mips/alchemy/au_himem_space.c
298
extent_free(c->c_extent, addr, size, EX_NOWAIT);
sys/arch/mips/alchemy/au_himem_space.c
321
au_himem_cookie_t *c = (au_himem_cookie_t *)cookie;
sys/arch/mips/alchemy/au_himem_space.c
324
if (c->c_flags & AU_HIMEM_SPACE_IO)
sys/arch/mips/alchemy/au_himem_space.c
327
if (addr < c->c_start || (addr + off) >= c->c_end)
sys/arch/mips/alchemy/au_himem_space.c
330
return mips_btop(c->c_physoff + addr + off);
sys/arch/mips/alchemy/au_himem_space.c
338
au_himem_cookie_t *c = (au_himem_cookie_t *)cookie;
sys/arch/mips/alchemy/au_himem_space.c
342
err = extent_alloc_subregion(c->c_extent, start, end, size,
sys/arch/mips/alchemy/au_himem_space.c
349
extent_free(c->c_extent, addr, size, EX_NOWAIT);
sys/arch/mips/alchemy/au_himem_space.c
382
au_himem_cookie_t *c = (au_himem_cookie_t *)v;
sys/arch/mips/alchemy/au_himem_space.c
386
return (c->c_swswap ? bswap16(val) : val);
sys/arch/mips/alchemy/au_himem_space.c
393
au_himem_cookie_t *c = (au_himem_cookie_t *)v;
sys/arch/mips/alchemy/au_himem_space.c
397
return (c->c_swswap ? bswap32(val) : val);
sys/arch/mips/alchemy/au_himem_space.c
404
au_himem_cookie_t *c = (au_himem_cookie_t *)v;
sys/arch/mips/alchemy/au_himem_space.c
408
return (c->c_swswap ? bswap64(val) : val);
sys/arch/mips/alchemy/au_himem_space.c
422
au_himem_cookie_t *c = (au_himem_cookie_t *)v;
sys/arch/mips/alchemy/au_himem_space.c
424
*(volatile uint16_t *)(intptr_t)(h + o) = c->c_swswap ? bswap16(val) : val;
sys/arch/mips/alchemy/au_himem_space.c
431
au_himem_cookie_t *c = (au_himem_cookie_t *)v;
sys/arch/mips/alchemy/au_himem_space.c
433
*(volatile uint32_t *)(intptr_t)(h + o) = c->c_swswap ? bswap32(val) : val;
sys/arch/mips/alchemy/au_himem_space.c
440
au_himem_cookie_t *c = (au_himem_cookie_t *)v;
sys/arch/mips/alchemy/au_himem_space.c
442
*(volatile uint64_t *)(intptr_t)(h + o) = c->c_swswap ? bswap64(val) : val;
sys/arch/mips/alchemy/au_himem_space.c
450
au_himem_cookie_t *c = (au_himem_cookie_t *)v;
sys/arch/mips/alchemy/au_himem_space.c
454
return (c->c_hwswap ? bswap16(val) : val);
sys/arch/mips/alchemy/au_himem_space.c
461
au_himem_cookie_t *c = (au_himem_cookie_t *)v;
sys/arch/mips/alchemy/au_himem_space.c
465
return (c->c_hwswap ? bswap32(val) : val);
sys/arch/mips/alchemy/au_himem_space.c
472
au_himem_cookie_t *c = (au_himem_cookie_t *)v;
sys/arch/mips/alchemy/au_himem_space.c
476
return (c->c_hwswap ? bswap64(val) : val);
sys/arch/mips/alchemy/au_himem_space.c
482
au_himem_cookie_t *c = (au_himem_cookie_t *)v;
sys/arch/mips/alchemy/au_himem_space.c
484
*(volatile uint16_t *)(intptr_t)(h + o) = c->c_hwswap ? bswap16(val) : val;
sys/arch/mips/alchemy/au_himem_space.c
491
au_himem_cookie_t *c = (au_himem_cookie_t *)v;
sys/arch/mips/alchemy/au_himem_space.c
493
*(volatile uint32_t *)(intptr_t)(h + o) = c->c_hwswap ? bswap32(val) : val;
sys/arch/mips/alchemy/au_himem_space.c
500
au_himem_cookie_t *c = (au_himem_cookie_t *)v;
sys/arch/mips/alchemy/au_himem_space.c
502
*(volatile uint64_t *)(intptr_t)(h + o) = c->c_hwswap ? bswap64(val) : val;
sys/arch/mips/alchemy/au_himem_space.c
693
au_himem_cookie_t *c;
sys/arch/mips/alchemy/au_himem_space.c
695
c = kmem_zalloc(sizeof (struct au_himem_cookie), KM_SLEEP);
sys/arch/mips/alchemy/au_himem_space.c
696
c->c_name = name;
sys/arch/mips/alchemy/au_himem_space.c
697
c->c_start = start;
sys/arch/mips/alchemy/au_himem_space.c
698
c->c_end = end;
sys/arch/mips/alchemy/au_himem_space.c
699
c->c_physoff = physoff;
sys/arch/mips/alchemy/au_himem_space.c
702
c->c_extent = extent_create(name, start, end,
sys/arch/mips/alchemy/au_himem_space.c
704
if (c->c_extent == NULL)
sys/arch/mips/alchemy/au_himem_space.c
710
c->c_hwswap = 1;
sys/arch/mips/alchemy/au_himem_space.c
712
c->c_swswap = 1;
sys/arch/mips/alchemy/au_himem_space.c
718
c->c_hwswap = 1;
sys/arch/mips/alchemy/au_himem_space.c
720
c->c_swswap = 1;
sys/arch/mips/alchemy/au_himem_space.c
724
bst->bs_cookie = c;
sys/arch/mips/alchemy/au_wired_space.c
210
au_wired_cookie_t *c = (au_wired_cookie_t *)cookie;
sys/arch/mips/alchemy/au_wired_space.c
214
if (addr < c->c_start ||
sys/arch/mips/alchemy/au_wired_space.c
215
addr + size > c->c_start + c->c_size)
sys/arch/mips/alchemy/au_wired_space.c
218
pa = c->c_pbase + (addr - c->c_start);
sys/arch/mips/alchemy/au_wired_space.c
226
if (acct && c->c_extent != NULL) {
sys/arch/mips/alchemy/au_wired_space.c
227
err = extent_alloc_region(c->c_extent, addr, size, EX_NOWAIT);
sys/arch/mips/alchemy/au_wired_space.c
240
au_wired_cookie_t *c = (au_wired_cookie_t *)cookie;
sys/arch/mips/alchemy/au_wired_space.c
242
if (acct != 0 && c->c_extent != NULL) {
sys/arch/mips/alchemy/au_wired_space.c
243
extent_free(c->c_extent, (vaddr_t)bsh, size, EX_NOWAIT);
sys/arch/mips/alchemy/au_wired_space.c
266
au_wired_cookie_t *c = (au_wired_cookie_t *)cookie;
sys/arch/mips/alchemy/au_wired_space.c
269
if (c->c_flags & AU_WIRED_SPACE_IO)
sys/arch/mips/alchemy/au_wired_space.c
272
if (addr < c->c_start || (addr + off) >= (c->c_start + c->c_size))
sys/arch/mips/alchemy/au_wired_space.c
275
return mips_btop(c->c_pbase + (addr - c->c_start) + off);
sys/arch/mips/alchemy/au_wired_space.c
283
au_wired_cookie_t *c = (au_wired_cookie_t *)cookie;
sys/arch/mips/alchemy/au_wired_space.c
288
if (c->c_extent == NULL)
sys/arch/mips/alchemy/au_wired_space.c
289
panic("au_wired_alloc: extent map %s not avail", c->c_name);
sys/arch/mips/alchemy/au_wired_space.c
291
if (start < c->c_start || ((start + size) > (c->c_start + c->c_size)))
sys/arch/mips/alchemy/au_wired_space.c
294
err = extent_alloc_subregion(c->c_extent, start, end, size,
sys/arch/mips/alchemy/au_wired_space.c
299
pa = c->c_pbase + (addr - c->c_start);
sys/arch/mips/alchemy/au_wired_space.c
337
au_wired_cookie_t *c = (au_wired_cookie_t *)v;
sys/arch/mips/alchemy/au_wired_space.c
339
return (c->c_swswap ? bswap16(val) : val);
sys/arch/mips/alchemy/au_wired_space.c
346
au_wired_cookie_t *c = (au_wired_cookie_t *)v;
sys/arch/mips/alchemy/au_wired_space.c
348
return (c->c_swswap ? bswap32(val) : val);
sys/arch/mips/alchemy/au_wired_space.c
355
au_wired_cookie_t *c = (au_wired_cookie_t *)v;
sys/arch/mips/alchemy/au_wired_space.c
357
return (c->c_swswap ? bswap64(val) : val);
sys/arch/mips/alchemy/au_wired_space.c
370
au_wired_cookie_t *c = (au_wired_cookie_t *)v;
sys/arch/mips/alchemy/au_wired_space.c
372
*(volatile uint16_t *)(h + o) = c->c_swswap ? bswap16(val) : val;
sys/arch/mips/alchemy/au_wired_space.c
378
au_wired_cookie_t *c = (au_wired_cookie_t *)v;
sys/arch/mips/alchemy/au_wired_space.c
380
*(volatile uint32_t *)(h + o) = c->c_swswap ? bswap32(val) : val;
sys/arch/mips/alchemy/au_wired_space.c
386
au_wired_cookie_t *c = (au_wired_cookie_t *)v;
sys/arch/mips/alchemy/au_wired_space.c
388
*(volatile uint64_t *)(h + o) = c->c_swswap ? bswap64(val) : val;
sys/arch/mips/alchemy/au_wired_space.c
395
au_wired_cookie_t *c = (au_wired_cookie_t *)v;
sys/arch/mips/alchemy/au_wired_space.c
397
return (c->c_hwswap ? bswap16(val) : val);
sys/arch/mips/alchemy/au_wired_space.c
404
au_wired_cookie_t *c = (au_wired_cookie_t *)v;
sys/arch/mips/alchemy/au_wired_space.c
406
return (c->c_hwswap ? bswap32(val) : val);
sys/arch/mips/alchemy/au_wired_space.c
413
au_wired_cookie_t *c = (au_wired_cookie_t *)v;
sys/arch/mips/alchemy/au_wired_space.c
415
return (c->c_hwswap ? bswap64(val) : val);
sys/arch/mips/alchemy/au_wired_space.c
421
au_wired_cookie_t *c = (au_wired_cookie_t *)v;
sys/arch/mips/alchemy/au_wired_space.c
423
*(volatile uint16_t *)(h + o) = c->c_hwswap ? bswap16(val) : val;
sys/arch/mips/alchemy/au_wired_space.c
429
au_wired_cookie_t *c = (au_wired_cookie_t *)v;
sys/arch/mips/alchemy/au_wired_space.c
431
*(volatile uint32_t *)(h + o) = c->c_hwswap ? bswap32(val) : val;
sys/arch/mips/alchemy/au_wired_space.c
437
au_wired_cookie_t *c = (au_wired_cookie_t *)v;
sys/arch/mips/alchemy/au_wired_space.c
439
*(volatile uint64_t *)(h + o) = c->c_hwswap ? bswap64(val) : val;
sys/arch/mips/alchemy/au_wired_space.c
633
au_wired_cookie_t *c;
sys/arch/mips/alchemy/au_wired_space.c
635
c = kmem_zalloc(sizeof (struct au_wired_cookie), KM_SLEEP);
sys/arch/mips/alchemy/au_wired_space.c
636
c->c_pbase = paddr;
sys/arch/mips/alchemy/au_wired_space.c
637
c->c_name = name;
sys/arch/mips/alchemy/au_wired_space.c
638
c->c_start = start;
sys/arch/mips/alchemy/au_wired_space.c
639
c->c_size = size;
sys/arch/mips/alchemy/au_wired_space.c
642
c->c_extent = extent_create(name, start, start + size,
sys/arch/mips/alchemy/au_wired_space.c
643
(void *)c->c_exstore, sizeof (c->c_exstore), EX_NOWAIT);
sys/arch/mips/alchemy/au_wired_space.c
644
if (c->c_extent == NULL)
sys/arch/mips/alchemy/au_wired_space.c
650
c->c_hwswap = 1;
sys/arch/mips/alchemy/au_wired_space.c
652
c->c_swswap = 1;
sys/arch/mips/alchemy/au_wired_space.c
658
c->c_hwswap = 1;
sys/arch/mips/alchemy/au_wired_space.c
660
c->c_swswap = 1;
sys/arch/mips/alchemy/au_wired_space.c
664
bst->bs_cookie = c;
sys/arch/mips/atheros/ar_console.c
81
earlycons_putc(dev_t dev, int c)
sys/arch/mips/atheros/ar_console.c
89
uart[com_data] = htobe32(c);
sys/arch/mips/atheros/include/arbusvar.h
87
#define ARBUS_MAKE_IRQ(c,m) \
sys/arch/mips/atheros/include/arbusvar.h
88
(((c) << ARBUS_IRQ_CPU_S) | ((m) << ARBUS_IRQ_MISC_S))
sys/arch/mips/cavium/dev/octeon_uart.c
210
octputc(dev_t dev, int c)
sys/arch/mips/cavium/dev/octeon_uart.c
213
octeon_xkphys_write_8(MIO_UART0_RBR, (uint8_t)c);
sys/arch/mips/cfe/cfe_api.h
152
#define cfe_cpu_start(a,b,c,d,e) __cfe_cpu_start(a,b,c,d,e)
sys/arch/mips/cfe/cfe_api.h
155
#define cfe_enummem(a,b,c,d,e) __cfe_enummem(a,b,c,d,e)
sys/arch/mips/cfe/cfe_api.h
159
#define cfe_getenv(a,b,c) __cfe_getenv(a,b,c)
sys/arch/mips/cfe/cfe_api.h
164
#define cfe_ioctl(a,b,c,d,e,f) __cfe_ioctl(a,b,c,d,e,f)
sys/arch/mips/cfe/cfe_api.h
166
#define cfe_read(a,b,c) __cfe_read(a,b,c)
sys/arch/mips/cfe/cfe_api.h
167
#define cfe_readblk(a,b,c,d) __cfe_readblk(a,b,c,d)
sys/arch/mips/cfe/cfe_api.h
169
#define cfe_write(a,b,c) __cfe_write(a,b,c)
sys/arch/mips/cfe/cfe_api.h
170
#define cfe_writeblk(a,b,c,d) __cfe_writeblk(a,b,c,d)
sys/arch/mips/include/asm.h
742
#define SETUP_GPX64_L(a,b,c) /* n32/n64 specific */
sys/arch/mips/include/asm.h
771
#define SETUP_GPX64_L(a,b,c) \
sys/arch/mips/include/asm.h
775
bal c; \
sys/arch/mips/include/asm.h
777
c: .set pop; \
sys/arch/mips/include/asm.h
778
.cpsetup ra, a, c; \
sys/arch/mips/include/bus_space_funcs.h
171
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
172
__bs_nonsingle(rm,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
173
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
174
__bs_nonsingle(rm,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
175
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
176
__bs_nonsingle(rm,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
177
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
178
__bs_nonsingle(rm,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
179
#define bus_space_read_multi_stream_1(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
180
__bs_nonsingle(rms,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
181
#define bus_space_read_multi_stream_2(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
182
__bs_nonsingle(rms,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
183
#define bus_space_read_multi_stream_4(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
184
__bs_nonsingle(rms,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
185
#define bus_space_read_multi_stream_8(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
186
__bs_nonsingle(rms,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
192
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
193
__bs_nonsingle(rr,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
194
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
195
__bs_nonsingle(rr,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
196
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
197
__bs_nonsingle(rr,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
198
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
199
__bs_nonsingle(rr,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
200
#define bus_space_read_region_stream_1(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
201
__bs_nonsingle(rrs,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
202
#define bus_space_read_region_stream_2(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
203
__bs_nonsingle(rrs,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
204
#define bus_space_read_region_stream_4(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
205
__bs_nonsingle(rrs,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
206
#define bus_space_read_region_stream_8(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
207
__bs_nonsingle(rrs,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
234
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
235
__bs_nonsingle(wm,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
236
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
237
__bs_nonsingle(wm,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
238
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
239
__bs_nonsingle(wm,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
240
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
241
__bs_nonsingle(wm,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
242
#define bus_space_write_multi_stream_1(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
243
__bs_nonsingle(wms,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
244
#define bus_space_write_multi_stream_2(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
245
__bs_nonsingle(wms,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
246
#define bus_space_write_multi_stream_4(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
247
__bs_nonsingle(wms,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
248
#define bus_space_write_multi_stream_8(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
249
__bs_nonsingle(wms,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
255
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
256
__bs_nonsingle(wr,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
257
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
258
__bs_nonsingle(wr,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
259
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
260
__bs_nonsingle(wr,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
261
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
262
__bs_nonsingle(wr,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
263
#define bus_space_write_region_stream_1(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
264
__bs_nonsingle(wrs,1,uint8_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
265
#define bus_space_write_region_stream_2(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
266
__bs_nonsingle(wrs,2,uint16_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
267
#define bus_space_write_region_stream_4(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
268
__bs_nonsingle(wrs,4,uint32_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
269
#define bus_space_write_region_stream_8(t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
270
__bs_nonsingle(wrs,8,uint64_t,(t),(h),(o),(a),(c))
sys/arch/mips/include/bus_space_funcs.h
276
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/arch/mips/include/bus_space_funcs.h
277
__bs_set(sm,1,uint8_t,(t),(h),(o),(v),(c))
sys/arch/mips/include/bus_space_funcs.h
278
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/arch/mips/include/bus_space_funcs.h
279
__bs_set(sm,2,uint16_t,(t),(h),(o),(v),(c))
sys/arch/mips/include/bus_space_funcs.h
280
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/arch/mips/include/bus_space_funcs.h
281
__bs_set(sm,4,uint32_t,(t),(h),(o),(v),(c))
sys/arch/mips/include/bus_space_funcs.h
282
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/arch/mips/include/bus_space_funcs.h
283
__bs_set(sm,8,uint64_t,(t),(h),(o),(v),(c))
sys/arch/mips/include/bus_space_funcs.h
289
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/mips/include/bus_space_funcs.h
290
__bs_set(sr,1,uint8_t,(t),(h),(o),(v),(c))
sys/arch/mips/include/bus_space_funcs.h
291
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/mips/include/bus_space_funcs.h
292
__bs_set(sr,2,uint16_t,(t),(h),(o),(v),(c))
sys/arch/mips/include/bus_space_funcs.h
293
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/mips/include/bus_space_funcs.h
294
__bs_set(sr,4,uint32_t,(t),(h),(o),(v),(c))
sys/arch/mips/include/bus_space_funcs.h
295
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arch/mips/include/bus_space_funcs.h
296
__bs_set(sr,8,uint64_t,(t),(h),(o),(v),(c))
sys/arch/mips/include/bus_space_funcs.h
302
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arch/mips/include/bus_space_funcs.h
303
__bs_copy(1, uint8_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/mips/include/bus_space_funcs.h
304
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arch/mips/include/bus_space_funcs.h
305
__bs_copy(2, uint16_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/mips/include/bus_space_funcs.h
306
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arch/mips/include/bus_space_funcs.h
307
__bs_copy(4, uint32_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/mips/include/bus_space_funcs.h
308
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arch/mips/include/bus_space_funcs.h
309
__bs_copy(8, uint64_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/mips/include/bus_space_funcs.h
80
#define __bs_nonsingle(type, sz, tn, t, h, o, a, c) \
sys/arch/mips/include/bus_space_funcs.h
84
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, a, c); \
sys/arch/mips/include/bus_space_funcs.h
87
#define __bs_set(type, sz, tn, t, h, o, v, c) \
sys/arch/mips/include/bus_space_funcs.h
90
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, v, c); \
sys/arch/mips/include/bus_space_funcs.h
97
(*(t)->__bs_opname(c,sz))((t)->bs_cookie, h1, o1, h2, o2, cnt); \
sys/arch/mips/include/int_const.h
44
#define INT8_C(c) c
sys/arch/mips/include/int_const.h
45
#define INT16_C(c) c
sys/arch/mips/include/int_const.h
46
#define INT32_C(c) c
sys/arch/mips/include/int_const.h
48
#define INT64_C(c) c ## L
sys/arch/mips/include/int_const.h
50
#define INT64_C(c) c ## LL
sys/arch/mips/include/int_const.h
53
#define UINT8_C(c) c
sys/arch/mips/include/int_const.h
54
#define UINT16_C(c) c
sys/arch/mips/include/int_const.h
55
#define UINT32_C(c) c ## U
sys/arch/mips/include/int_const.h
57
#define UINT64_C(c) c ## UL
sys/arch/mips/include/int_const.h
59
#define UINT64_C(c) c ## ULL
sys/arch/mips/include/int_const.h
65
#define INTMAX_C(c) c ## L
sys/arch/mips/include/int_const.h
66
#define UINTMAX_C(c) c ## UL
sys/arch/mips/include/int_const.h
68
#define INTMAX_C(c) c ## LL
sys/arch/mips/include/int_const.h
69
#define UINTMAX_C(c) c ## ULL
sys/arch/mips/include/isa_machdep.h
100
(*(c)->ic_intr_alloc)((c)->ic_v, (m), (t), (i))
sys/arch/mips/include/isa_machdep.h
106
#define isa_dmacascade(ic, c) \
sys/arch/mips/include/isa_machdep.h
107
_isa_dmacascade(&(ic)->ic_dmastate, (c))
sys/arch/mips/include/isa_machdep.h
108
#define isa_dmamaxsize(ic, c) \
sys/arch/mips/include/isa_machdep.h
109
_isa_dmamaxsize(&(ic)->ic_dmastate, (c))
sys/arch/mips/include/isa_machdep.h
110
#define isa_dmamap_create(ic, c, s, f) \
sys/arch/mips/include/isa_machdep.h
111
_isa_dmamap_create(&(ic)->ic_dmastate, (c), (s), (f))
sys/arch/mips/include/isa_machdep.h
112
#define isa_dmamap_destroy(ic, c) \
sys/arch/mips/include/isa_machdep.h
113
_isa_dmamap_destroy(&(ic)->ic_dmastate, (c))
sys/arch/mips/include/isa_machdep.h
114
#define isa_dmastart(ic, c, a, n, p, f, bf) \
sys/arch/mips/include/isa_machdep.h
115
_isa_dmastart(&(ic)->ic_dmastate, (c), (a), (n), (p), (f), (bf))
sys/arch/mips/include/isa_machdep.h
116
#define isa_dmaabort(ic, c) \
sys/arch/mips/include/isa_machdep.h
117
_isa_dmaabort(&(ic)->ic_dmastate, (c))
sys/arch/mips/include/isa_machdep.h
118
#define isa_dmacount(ic, c) \
sys/arch/mips/include/isa_machdep.h
119
_isa_dmacount(&(ic)->ic_dmastate, (c))
sys/arch/mips/include/isa_machdep.h
120
#define isa_dmafinished(ic, c) \
sys/arch/mips/include/isa_machdep.h
121
_isa_dmafinished(&(ic)->ic_dmastate, (c))
sys/arch/mips/include/isa_machdep.h
122
#define isa_dmadone(ic, c) \
sys/arch/mips/include/isa_machdep.h
123
_isa_dmadone(&(ic)->ic_dmastate, (c))
sys/arch/mips/include/isa_machdep.h
128
#define isa_dmamem_alloc(ic, c, s, ap, f) \
sys/arch/mips/include/isa_machdep.h
129
_isa_dmamem_alloc(&(ic)->ic_dmastate, (c), (s), (ap), (f))
sys/arch/mips/include/isa_machdep.h
130
#define isa_dmamem_free(ic, c, a, s) \
sys/arch/mips/include/isa_machdep.h
131
_isa_dmamem_free(&(ic)->ic_dmastate, (c), (a), (s))
sys/arch/mips/include/isa_machdep.h
132
#define isa_dmamem_map(ic, c, a, s, kp, f) \
sys/arch/mips/include/isa_machdep.h
133
_isa_dmamem_map(&(ic)->ic_dmastate, (c), (a), (s), (kp), (f))
sys/arch/mips/include/isa_machdep.h
134
#define isa_dmamem_unmap(ic, c, k, s) \
sys/arch/mips/include/isa_machdep.h
135
_isa_dmamem_unmap(&(ic)->ic_dmastate, (c), (k), (s))
sys/arch/mips/include/isa_machdep.h
136
#define isa_dmamem_mmap(ic, c, a, s, o, p, f) \
sys/arch/mips/include/isa_machdep.h
137
_isa_dmamem_mmap(&(ic)->ic_dmastate, (c), (a), (s), (o), (p), (f))
sys/arch/mips/include/isa_machdep.h
138
#define isa_drq_alloc(ic, c) \
sys/arch/mips/include/isa_machdep.h
139
_isa_drq_alloc(&(ic)->ic_dmastate, c)
sys/arch/mips/include/isa_machdep.h
140
#define isa_drq_free(ic, c) \
sys/arch/mips/include/isa_machdep.h
141
_isa_drq_free(&(ic)->ic_dmastate, c)
sys/arch/mips/include/isa_machdep.h
142
#define isa_drq_isfree(ic, c) \
sys/arch/mips/include/isa_machdep.h
143
_isa_drq_isfree(&(ic)->ic_dmastate, (c))
sys/arch/mips/include/isa_machdep.h
144
#define isa_malloc(ic, c, s, p, f) \
sys/arch/mips/include/isa_machdep.h
145
_isa_malloc(&(ic)->ic_dmastate, (c), (s), (p), (f))
sys/arch/mips/include/isa_machdep.h
155
#define isa_intr_string(c, i, buf, len) \
sys/arch/mips/include/isa_machdep.h
156
(*(c)->ic_intr_string)((c)->ic_v, (i), buf, len)
sys/arch/mips/include/isa_machdep.h
89
#define isa_detach_hook(c, s) \
sys/arch/mips/include/isa_machdep.h
90
(*(c)->ic_detach_hook)((c), (s))
sys/arch/mips/include/isa_machdep.h
91
#define isa_intr_evcnt(c, i) \
sys/arch/mips/include/isa_machdep.h
92
(*(c)->ic_intr_evcnt)((c)->ic_v, (i))
sys/arch/mips/include/isa_machdep.h
93
#define isa_intr_establish(c, i, t, l, f, a) \
sys/arch/mips/include/isa_machdep.h
94
(*(c)->ic_intr_establish)((c)->ic_v, (i), (t), (l), (f), (a))
sys/arch/mips/include/isa_machdep.h
95
#define isa_intr_establish_xname(c, i, t, l, f, a, x) \
sys/arch/mips/include/isa_machdep.h
96
(*(c)->ic_intr_establish)((c)->ic_v, (i), (t), (l), (f), (a))
sys/arch/mips/include/isa_machdep.h
97
#define isa_intr_disestablish(c, h) \
sys/arch/mips/include/isa_machdep.h
98
(*(c)->ic_intr_disestablish)((c)->ic_v, (h))
sys/arch/mips/include/isa_machdep.h
99
#define isa_intr_alloc(c, m, t, i) \
sys/arch/mips/include/pci_machdep.h
100
#define pci_conf_write(c, t, r, v) \
sys/arch/mips/include/pci_machdep.h
101
(*(c)->pc_conf_write)((c)->pc_conf_v, (t), (r), (v))
sys/arch/mips/include/pci_machdep.h
104
#define pci_intr_string(c, ih, buf, len) \
sys/arch/mips/include/pci_machdep.h
105
(*(c)->pc_intr_string)((c)->pc_intr_v, (ih), (buf), (len))
sys/arch/mips/include/pci_machdep.h
106
#define pci_intr_evcnt(c, ih) \
sys/arch/mips/include/pci_machdep.h
107
(*(c)->pc_intr_evcnt)((c)->pc_intr_v, (ih))
sys/arch/mips/include/pci_machdep.h
108
#define pci_intr_establish(c, ih, l, h, a) \
sys/arch/mips/include/pci_machdep.h
109
(*(c)->pc_intr_establish)((c)->pc_intr_v, (ih), (l), (h), (a))
sys/arch/mips/include/pci_machdep.h
110
#define pci_intr_disestablish(c, iv) \
sys/arch/mips/include/pci_machdep.h
111
(*(c)->pc_intr_disestablish)((c)->pc_intr_v, (iv))
sys/arch/mips/include/pci_machdep.h
112
#define pci_conf_interrupt(c, b, d, p, s, lp) \
sys/arch/mips/include/pci_machdep.h
113
(*(c)->pc_conf_interrupt)((c)->pc_intr_v, (b), (d), (p), (s), (lp))
sys/arch/mips/include/pci_machdep.h
129
#define mips_pciide_compat_intr_establish(c, d, p, ch, f, a) \
sys/arch/mips/include/pci_machdep.h
130
((c)->pc_pciide_compat_intr_establish == NULL ? NULL : \
sys/arch/mips/include/pci_machdep.h
131
(*(c)->pc_pciide_compat_intr_establish)((c)->pc_conf_v, (d), (p), \
sys/arch/mips/include/pci_machdep.h
92
#define pci_bus_maxdevs(c, b) \
sys/arch/mips/include/pci_machdep.h
93
(*(c)->pc_bus_maxdevs)((c)->pc_conf_v, (b))
sys/arch/mips/include/pci_machdep.h
94
#define pci_make_tag(c, b, d, f) \
sys/arch/mips/include/pci_machdep.h
95
(*(c)->pc_make_tag)((c)->pc_conf_v, (b), (d), (f))
sys/arch/mips/include/pci_machdep.h
96
#define pci_decompose_tag(c, t, bp, dp, fp) \
sys/arch/mips/include/pci_machdep.h
97
(*(c)->pc_decompose_tag)((c)->pc_conf_v, (t), (bp), (dp), (fp))
sys/arch/mips/include/pci_machdep.h
98
#define pci_conf_read(c, t, r) \
sys/arch/mips/include/pci_machdep.h
99
(*(c)->pc_conf_read)((c)->pc_conf_v, (t), (r))
sys/arch/mips/ingenic/ingenic_com.c
125
ingenic_putchar(char c)
sys/arch/mips/ingenic/ingenic_com.c
133
com0addr[com_data] = htole32((uint32_t)c);
sys/arch/mips/ingenic/ingenic_com.c
143
char c;
sys/arch/mips/ingenic/ingenic_com.c
145
while ((c = *s++) != 0)
sys/arch/mips/ingenic/ingenic_com.c
146
ingenic_putchar(c);
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
1027
bus_size_t o, TYPE *a, bus_size_t c) \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
1030
while (c-- > 0) { \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
1044
bus_size_t o, TYPE *a, bus_size_t c) \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
1047
while (c-- > 0) { \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
1112
bus_size_t o, const TYPE *a, bus_size_t c) \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
1115
while (c-- > 0) { \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
1129
bus_size_t o, const TYPE *a, bus_size_t c) \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
1132
while (c-- > 0) { \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
778
bus_size_t o, TYPE *a, bus_size_t c) \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
781
while (c-- > 0) { \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
795
bus_size_t o, TYPE *a, bus_size_t c) \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
798
while (c-- > 0) { \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
884
bus_size_t o, const TYPE *a, bus_size_t c) \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
887
while (c-- > 0) { \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
901
bus_size_t o, const TYPE *a, bus_size_t c) \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
904
while (c-- > 0) { \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
917
bus_size_t o, TYPE val, bus_size_t c) \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
920
while (c-- > 0) { \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
934
bus_size_t o, TYPE val, bus_size_t c) \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
937
while (c-- > 0) { \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
950
bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c) \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
956
for (o = 0; c != 0; c--, o += BYTES) \
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
961
for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) \
sys/arch/mips/mips/db_trace.c
140
char c;
sys/arch/mips/mips/db_trace.c
162
while ((c = *cp++) != 0) {
sys/arch/mips/mips/db_trace.c
163
if (c == 'a') {
sys/arch/mips/mips/in_cksum.c
100
sum += (*(buf.c++) << 8);
sys/arch/mips/mips/in_cksum.c
190
buf.c += 64;
sys/arch/mips/mips/in_cksum.c
219
sum += *(buf.c++) << 8;
sys/arch/mips/mips/in_cksum.c
221
sum += *(buf.c++);
sys/arch/mips/mips/in_cksum.c
259
w.c = mtod(m, u_char *) + off;
sys/arch/mips/mips/in_cksum.c
62
uint8_t *c;
sys/arch/mips/mips/in_cksum.c
98
sum += *(buf.c++);
sys/arch/mips/mips/mips_machdep.c
178
#define _MKINSN(a,b,c,d,e) ((uint32_t)(((a) << 26)|((b) << 21)|((c) << 16)|((d) << 11)|(e)))
sys/arch/mips/mips/trap.c
137
#define SIGDEBUG(a, b, c, d) sigdebug(a, b, c, d)
sys/arch/mips/mips/trap.c
139
#define SIGDEBUG(a, b, c, d)
sys/arch/mips/ralink/ralink_com.c
258
ralink_cnputc(dev_t dv, int c)
sys/arch/mips/ralink/ralink_com.c
265
uart_write(RA_UART_TBR, c);
sys/arch/mips/rmi/rmixl_com.c
175
rmixl_putchar(char c)
sys/arch/mips/rmi/rmixl_com.c
183
com0addr[com_data] = htobe32((uint32_t)c);
sys/arch/mips/rmi/rmixl_com.c
193
char c;
sys/arch/mips/rmi/rmixl_com.c
195
while ((c = *s++) != 0)
sys/arch/mips/rmi/rmixl_com.c
196
rmixl_putchar(c);
sys/arch/mips/rmi/rmixl_comvar.h
40
void rmixl_putchar(char c); /* XXX DEBUG */
sys/arch/mips/rmi/rmixl_pcie.c
214
#define RMIXL_PCIE_CONCAT3(a,b,c) a ## b ## c
sys/arch/mips/rmi/rmixl_pcix.c
192
#define RMIXL_PCIX_CONCAT3(a,b,c) a ## b ## c
sys/arch/mips/sibyte/dev/sbjcn.c
1218
int (*rint)(int c, struct tty *tp) = tp->t_linesw->l_rint;
sys/arch/mips/sibyte/dev/sbjcn.c
1457
char c;
sys/arch/mips/sibyte/dev/sbjcn.c
1460
c = (ch->ch_input_buf >> 56) & 0xff;
sys/arch/mips/sibyte/dev/sbjcn.c
1463
return c;
sys/arch/mips/sibyte/dev/sbjcn.c
1524
char c;
sys/arch/mips/sibyte/dev/sbjcn.c
1529
c = (sbjcn_cons_input_buf >> 56) & 0xff;
sys/arch/mips/sibyte/dev/sbjcn.c
1533
return c;
sys/arch/mips/sibyte/dev/sbjcn.c
1540
sbjcn_cnputc(dev_t dev, int c)
sys/arch/mips/sibyte/dev/sbjcn.c
1544
outbuf = (1LL << 56) | (((uint64_t)c) << 48);
sys/arch/mips/sibyte/dev/sbjcn.c
1602
sbjcn_kgdb_putc(void *arg, int c)
sys/arch/mips/sibyte/dev/sbjcn.c
1605
sbjcn_common_putc(sbjcn_kgdb_addr, sbjcn_kgdb_chan, c);
sys/arch/mips/sibyte/dev/sbjcn.c
163
void sbjcn_common_putc(u_long addr, int chan, int c);
sys/arch/mips/sibyte/dev/sbjcn.c
166
void sbjcn_cnputc(dev_t dev, int c);
sys/arch/mips/sibyte/dev/sbscn.c
1264
u_char c;
sys/arch/mips/sibyte/dev/sbscn.c
1267
c = *ch->ch_tba++;
sys/arch/mips/sibyte/dev/sbscn.c
1269
WRITE_REG(ch->ch_base + 0x70, c);
sys/arch/mips/sibyte/dev/sbscn.c
1641
u_char c;
sys/arch/mips/sibyte/dev/sbscn.c
1647
c = *ch->ch_tba++;
sys/arch/mips/sibyte/dev/sbscn.c
1649
WRITE_REG(ch->ch_base + 0x70, c);
sys/arch/mips/sibyte/dev/sbscn.c
1685
int c;
sys/arch/mips/sibyte/dev/sbscn.c
1691
c = READ_REG(base + 0x60) & 0xff;
sys/arch/mips/sibyte/dev/sbscn.c
1693
return (c);
sys/arch/mips/sibyte/dev/sbscn.c
1697
sbscn_common_putc(u_long addr, int chan, int c)
sys/arch/mips/sibyte/dev/sbscn.c
1708
WRITE_REG(base + 0x70, c);
sys/arch/mips/sibyte/dev/sbscn.c
173
void sbscn_common_putc(u_long addr, int chan, int c);
sys/arch/mips/sibyte/dev/sbscn.c
177
void sbscn_cnputc(dev_t dev, int c);
sys/arch/mips/sibyte/dev/sbscn.c
1828
sbscn_cnputc(dev_t dev, int c)
sys/arch/mips/sibyte/dev/sbscn.c
1831
sbscn_common_putc(sbscn_cons_addr, sbscn_cons_chan, c);
sys/arch/mips/sibyte/dev/sbscn.c
1874
sbscn_kgdb_putc(void *arg, int c)
sys/arch/mips/sibyte/dev/sbscn.c
1877
sbscn_common_getc(sbscn_kgdb_addr, sbscn_kgdb_chan, c);
sys/arch/mips/sibyte/include/bcm1480_hsp.h
612
#define S_BCM1480_HSP_RX_CALENDAR_X(c) (((c)&7)*8)
sys/arch/mips/sibyte/include/bcm1480_hsp.h
613
#define M_BCM1480_HSP_RX_CALENDAR_X(c) _SB_MAKEMASK(12,S_BCM1480_HSP_RX_CALENDAR_X(c))
sys/arch/mips/sibyte/include/bcm1480_hsp.h
614
#define V_BCM1480_HSP_RX_CALENDAR_X(c,x) _SB_MAKEVALUE(x,S_BCM1480_HSP_RX_CALENDAR_X(c))
sys/arch/mips/sibyte/include/bcm1480_hsp.h
615
#define G_BCM1480_HSP_RX_CALENDAR_X(c,x) _SB_GETVALUE(x,S_BCM1480_HSP_RX_CALENDAR_X(c),M_BCM1480_HSP_RX_CALENDAR_X(c))
sys/arch/mips/sibyte/include/bcm1480_hsp.h
683
#define S_BCM1480_HSP_TX_CALENDAR_X(c) (((c)&7)*8)
sys/arch/mips/sibyte/include/bcm1480_hsp.h
684
#define M_BCM1480_HSP_TX_CALENDAR_X(c) _SB_MAKEMASK(12,S_BCM1480_HSP_TX_CALENDAR_X(c))
sys/arch/mips/sibyte/include/bcm1480_hsp.h
685
#define V_BCM1480_HSP_TX_CALENDAR_X(c,x) _SB_MAKEVALUE(x,S_BCM1480_HSP_TX_CALENDAR_X(c))
sys/arch/mips/sibyte/include/bcm1480_hsp.h
686
#define G_BCM1480_HSP_TX_CALENDAR_X(c,x) _SB_GETVALUE(x,S_BCM1480_HSP_TX_CALENDAR_X(c),M_BCM1480_HSP_TX_CALENDAR_X(c))
sys/arch/mips/sibyte/include/bcm1480_pm.h
412
#define S_BCM1480_SWPERF_CFG_CXSRC(c) (0+(c)*16)
sys/arch/mips/sibyte/include/bcm1480_pm.h
413
#define M_BCM1480_SWPERF_CFG_CXSRC(c) _SB_MAKEMASK(8,S_BCM1480_SWPERF_CFG_CXSRC(c))
sys/arch/mips/sibyte/include/bcm1480_pm.h
414
#define V_BCM1480_SWPERF_CFG_CXSRC(c,x) _SB_MAKEVALUE(x,S_BCM1480_SWPERF_CFG_CXSRC(c))
sys/arch/mips/sibyte/include/bcm1480_pm.h
415
#define G_BCM1480_SWPERF_CFG_CXSRC(c,x) _SB_GETVALUE(x,S_BCM1480_SWPERF_CFG_CXSRC(c),M_BCM1480_SWPERF_CFG_CXSRC(c))
sys/arch/mips/sibyte/include/bcm1480_pm.h
417
#define S_BCM1480_SWPERF_CFG_CXFILT(c) (8+(c)*16)
sys/arch/mips/sibyte/include/bcm1480_pm.h
418
#define M_BCM1480_SWPERF_CFG_CXFILT(c) _SB_MAKEMASK(3,S_BCM1480_SWPERF_CFG_CXFILT(c))
sys/arch/mips/sibyte/include/bcm1480_pm.h
419
#define V_BCM1480_SWPERF_CFG_CXFILT(c,x) _SB_MAKEVALUE(x,S_BCM1480_SWPERF_CFG_CXFILT(c))
sys/arch/mips/sibyte/include/bcm1480_pm.h
420
#define G_BCM1480_SWPERF_CFG_CXFILT(c,x) _SB_GETVALUE(x,S_BCM1480_SWPERF_CFG_CXFILT(c),M_BCM1480_SWPERF_CFG_CXFILT(c))
sys/arch/mips/sibyte/include/bcm1480_pm.h
422
#define M_BCM1480_SWPERF_CFG_CXFENA(c) _SB_MAKEMASK1(11+(c)*16)
sys/arch/mips/sibyte/pci/sbbrz_pci.c
238
char c;
sys/arch/mips/sibyte/pci/sbbrz_pci.c
241
default: c = '?'; break;
sys/arch/mips/sibyte/pci/sbbrz_pci.c
242
case K_INT_PCI_INTA: c = 'a'; break;
sys/arch/mips/sibyte/pci/sbbrz_pci.c
243
case K_INT_PCI_INTB: c = 'b'; break;
sys/arch/mips/sibyte/pci/sbbrz_pci.c
244
case K_INT_PCI_INTC: c = 'c'; break;
sys/arch/mips/sibyte/pci/sbbrz_pci.c
245
case K_INT_PCI_INTD: c = 'd'; break;
sys/arch/mips/sibyte/pci/sbbrz_pci.c
247
snprintf(buf, len, "pci int%c", c);
sys/arch/mipsco/include/bus.h
333
#define bus_intr_establish(t, i, c, f, ihf, iha) \
sys/arch/mipsco/include/bus.h
334
(*(t)->bs_intr_establish)((t), (i), (c), (f), (ihf), (iha))
sys/arch/mipsco/include/bus.h
393
size_t c) \
sys/arch/mipsco/include/bus.h
396
while (c--) \
sys/arch/mipsco/include/bus.h
427
size_t c) \
sys/arch/mipsco/include/bus.h
430
while (c--) { \
sys/arch/mipsco/include/bus.h
486
size_t c) \
sys/arch/mipsco/include/bus.h
489
while (c--) \
sys/arch/mipsco/include/bus.h
519
size_t c) \
sys/arch/mipsco/include/bus.h
522
while (c--) { \
sys/arch/mipsco/include/bus.h
554
size_t c) \
sys/arch/mipsco/include/bus.h
557
while (c--) \
sys/arch/mipsco/include/bus.h
587
size_t c) \
sys/arch/mipsco/include/bus.h
590
while (c--) { \
sys/arch/mipsco/include/bus.h
626
bus_size_t c) \
sys/arch/mipsco/include/bus.h
632
for (o = 0; c != 0; c--, o += BYTES) \
sys/arch/mipsco/include/bus.h
637
for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) \
sys/arch/mipsco/include/isa_machdep.h
121
#define isa_dmacascade(ic, c) \
sys/arch/mipsco/include/isa_machdep.h
122
_isa_dmacascade(&(ic)->ic_dmastate, (c))
sys/arch/mipsco/include/isa_machdep.h
123
#define isa_dmamaxsize(ic, c) \
sys/arch/mipsco/include/isa_machdep.h
124
_isa_dmamaxsize(&(ic)->ic_dmastate, (c))
sys/arch/mipsco/include/isa_machdep.h
125
#define isa_dmamap_create(ic, c, s, f) \
sys/arch/mipsco/include/isa_machdep.h
126
_isa_dmamap_create(&(ic)->ic_dmastate, (c), (s), (f))
sys/arch/mipsco/include/isa_machdep.h
127
#define isa_dmamap_destroy(ic, c) \
sys/arch/mipsco/include/isa_machdep.h
128
_isa_dmamap_destroy(&(ic)->ic_dmastate, (c))
sys/arch/mipsco/include/isa_machdep.h
129
#define isa_dmastart(ic, c, a, n, p, f, bf) \
sys/arch/mipsco/include/isa_machdep.h
130
_isa_dmastart(&(ic)->ic_dmastate, (c), (a), (n), (p), (f), (bf))
sys/arch/mipsco/include/isa_machdep.h
131
#define isa_dmaabort(ic, c) \
sys/arch/mipsco/include/isa_machdep.h
132
_isa_dmaabort(&(ic)->ic_dmastate, (c))
sys/arch/mipsco/include/isa_machdep.h
133
#define isa_dmacount(ic, c) \
sys/arch/mipsco/include/isa_machdep.h
134
_isa_dmacount(&(ic)->ic_dmastate, (c))
sys/arch/mipsco/include/isa_machdep.h
135
#define isa_dmafinished(ic, c) \
sys/arch/mipsco/include/isa_machdep.h
136
_isa_dmafinished(&(ic)->ic_dmastate, (c))
sys/arch/mipsco/include/isa_machdep.h
137
#define isa_dmadone(ic, c) \
sys/arch/mipsco/include/isa_machdep.h
138
_isa_dmadone(&(ic)->ic_dmastate, (c))
sys/arch/mipsco/include/isa_machdep.h
143
#define isa_dmamem_alloc(ic, c, s, ap, f) \
sys/arch/mipsco/include/isa_machdep.h
144
_isa_dmamem_alloc(&(ic)->ic_dmastate, (c), (s), (ap), (f))
sys/arch/mipsco/include/isa_machdep.h
145
#define isa_dmamem_free(ic, c, a, s) \
sys/arch/mipsco/include/isa_machdep.h
146
_isa_dmamem_free(&(ic)->ic_dmastate, (c), (a), (s))
sys/arch/mipsco/include/isa_machdep.h
147
#define isa_dmamem_map(ic, c, a, s, kp, f) \
sys/arch/mipsco/include/isa_machdep.h
148
_isa_dmamem_map(&(ic)->ic_dmastate, (c), (a), (s), (kp), (f))
sys/arch/mipsco/include/isa_machdep.h
149
#define isa_dmamem_unmap(ic, c, k, s) \
sys/arch/mipsco/include/isa_machdep.h
150
_isa_dmamem_unmap(&(ic)->ic_dmastate, (c), (k), (s))
sys/arch/mipsco/include/isa_machdep.h
151
#define isa_dmamem_mmap(ic, c, a, s, o, p, f) \
sys/arch/mipsco/include/isa_machdep.h
152
_isa_dmamem_mmap(&(ic)->ic_dmastate, (c), (a), (s), (o), (p), (f))
sys/arch/mipsco/include/isa_machdep.h
153
#define isa_drq_alloc(ic, c) \
sys/arch/mipsco/include/isa_machdep.h
154
_isa_drq_alloc(&(ic)->ic_dmastate, c)
sys/arch/mipsco/include/isa_machdep.h
155
#define isa_drq_free(ic, c) \
sys/arch/mipsco/include/isa_machdep.h
156
_isa_drq_free(&(ic)->ic_dmastate, c)
sys/arch/mipsco/include/isa_machdep.h
157
#define isa_drq_isfree(ic, c) \
sys/arch/mipsco/include/isa_machdep.h
158
_isa_drq_isfree(&(ic)->ic_dmastate, (c))
sys/arch/mipsco/include/isa_machdep.h
159
#define isa_malloc(ic, c, s, p, f) \
sys/arch/mipsco/include/isa_machdep.h
160
_isa_malloc(&(ic)->ic_dmastate, (c), (s), (p), (f))
sys/arch/mipsco/include/loadfile_machdep.h
43
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/mipsco/include/loadfile_machdep.h
44
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/mipsco/include/loadfile_machdep.h
45
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/mipsco/include/prom.h
84
int (*prom_putchar)(int c);
sys/arch/mipsco/include/prom.h
85
void (*prom_showchar)(int c);
sys/arch/mipsco/mipsco/machdep.c
518
prom_cnputc(dev_t dev, int c)
sys/arch/mipsco/mipsco/machdep.c
520
MIPS_PROM(putchar)(c);
sys/arch/mipsco/obio/zs.c
583
int s, c;
sys/arch/mipsco/obio/zs.c
593
c = zc->zc_data;
sys/arch/mipsco/obio/zs.c
597
return (c);
sys/arch/mipsco/obio/zs.c
604
zs_putc(void *arg, int c)
sys/arch/mipsco/obio/zs.c
617
zc->zc_data = c;
sys/arch/mipsco/obio/zs.c
667
zscnputc(dev_t dev, int c)
sys/arch/mipsco/obio/zs.c
672
zs_putc(zs, c);
sys/arch/mipsco/obio/zs_kgdb.c
210
register u_char c, rr1;
sys/arch/mipsco/obio/zs_kgdb.c
217
c = zs_read_data(cs);
sys/arch/mipsco/obio/zs_kgdb.c
224
if (c == KGDB_START) {
sys/arch/mipsco/obio/zs_kgdb.c
78
extern void zs_putc(void *arg, int c);
sys/arch/mipsco/stand/common/devopen.c
49
int c, rc;
sys/arch/mipsco/stand/common/devopen.c
62
while ((c = *cp) != '\0') {
sys/arch/mipsco/stand/common/devopen.c
63
if (c == '(') {
sys/arch/mipsco/stand/common/devopen.c
68
*ncp++ = c;
sys/arch/mipsco/stand/common/devopen.c
73
if ((c = *cp) >= '0' && c <= '9') {
sys/arch/mipsco/stand/common/devopen.c
74
ctlr = c - '0';
sys/arch/mipsco/stand/common/devopen.c
75
c = *++cp;
sys/arch/mipsco/stand/common/devopen.c
78
if (c == ',') {
sys/arch/mipsco/stand/common/devopen.c
80
if ((c = *++cp) >= '0' && c <= '9') {
sys/arch/mipsco/stand/common/devopen.c
81
unit = c - '0';
sys/arch/mipsco/stand/common/devopen.c
82
c = *++cp;
sys/arch/mipsco/stand/common/devopen.c
85
if (c == ',') {
sys/arch/mipsco/stand/common/devopen.c
87
if ((c = *++cp) >= '0' && c <= '9') {
sys/arch/mipsco/stand/common/devopen.c
88
part = c - '0';
sys/arch/mipsco/stand/common/devopen.c
92
c = *++cp;
sys/arch/mipsco/stand/common/devopen.c
96
if (c != ')')
sys/arch/mipsco/stand/installboot/installboot.c
81
int c, rflag, lflag;
sys/arch/mipsco/stand/installboot/installboot.c
85
while ((c = getopt(argc, argv, "lnrv")) != -1) {
sys/arch/mipsco/stand/installboot/installboot.c
86
switch (c) {
sys/arch/mmeye/include/loadfile_machdep.h
39
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/mmeye/include/loadfile_machdep.h
40
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/mmeye/include/loadfile_machdep.h
41
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/mmeye/mmeye/machdep.c
630
Send16550(int c)
sys/arch/mmeye/mmeye/machdep.c
633
OUTP(THR, c);
sys/arch/mmeye/mmeye/machdep.c
638
if (c == '\n')
sys/arch/mmeye/mmeye/machdep.c
639
c = '\r';
sys/arch/mmeye/stand/boot/boot.c
108
char c, namebuf[PATH_MAX];
sys/arch/mmeye/stand/boot/boot.c
120
while ((c = *ptr) != '\0') {
sys/arch/mmeye/stand/boot/boot.c
121
while (c == ' ')
sys/arch/mmeye/stand/boot/boot.c
122
c = *++ptr;
sys/arch/mmeye/stand/boot/boot.c
123
if (c == '\0')
sys/arch/mmeye/stand/boot/boot.c
125
if (c == '-')
sys/arch/mmeye/stand/boot/boot.c
126
while ((c = *++ptr) && c != ' ')
sys/arch/mmeye/stand/boot/boot.c
127
BOOT_FLAG(c, *howtop);
sys/arch/mmeye/stand/boot/boot.c
130
while ((c = *++ptr) && c != ' ')
sys/arch/mmeye/stand/boot/boot.c
132
if (c)
sys/arch/mmeye/stand/boot/com.c
158
com_putc(void *dev, int c)
sys/arch/mmeye/stand/boot/com.c
165
CSR_WRITE(com_port, com_data, c);
sys/arch/mmeye/stand/boot/cons.c
157
cnputc(int c)
sys/arch/mmeye/stand/boot/cons.c
161
(*cn_tab->cn_putc)(cn_tab->cn_dev, c);
sys/arch/mmeye/stand/boot/cons.c
199
scifcnputchar(void *dev, int c)
sys/arch/mmeye/stand/boot/cons.c
202
if (c == '\n')
sys/arch/mmeye/stand/boot/cons.c
204
scif_putc(c);
sys/arch/mmeye/stand/boot/cons.c
241
comcnputchar(void *dev, int c)
sys/arch/mmeye/stand/boot/cons.c
244
if (c == '\n')
sys/arch/mmeye/stand/boot/cons.c
246
com_putc(dev, c);
sys/arch/mmeye/stand/boot/devopen.c
69
#define isnum(c) (((c) >= '0') && ((c) <= '9'))
sys/arch/mmeye/stand/boot/devopen.c
70
#define isalpha(c) (((c) >= 'a') && ((c) <= 'z'))
sys/arch/mmeye/stand/boot/prf.c
36
putchar(int c)
sys/arch/mmeye/stand/boot/prf.c
39
cnputc(c);
sys/arch/mmeye/stand/boot/scif.c
102
unsigned char c, err_c;
sys/arch/mmeye/stand/boot/scif.c
112
c = SHREG_SCFRDR2;
sys/arch/mmeye/stand/boot/scif.c
127
return c;
sys/arch/mmeye/stand/boot/scif.c
135
unsigned char c, err_c;
sys/arch/mmeye/stand/boot/scif.c
145
c = SHREG_SCFRDR2;
sys/arch/mmeye/stand/boot/scif.c
160
return c;
sys/arch/mmeye/stand/boot/scif.c
85
scif_putc(int c)
sys/arch/mmeye/stand/boot/scif.c
93
SHREG_SCFTDR2 = c;
sys/arch/mmeye/stand/boot/tgets.c
42
int c;
sys/arch/mmeye/stand/boot/tgets.c
51
if ((c = cnscan()) != -1)
sys/arch/mmeye/stand/boot/tgets.c
58
c = getchar();
sys/arch/mmeye/stand/boot/tgets.c
60
for (lp = buf;; c = getchar()) {
sys/arch/mmeye/stand/boot/tgets.c
61
switch (c & 0177) {
sys/arch/mmeye/stand/boot/tgets.c
90
*lp++ = c;
sys/arch/mmeye/stand/boot/tgets.c
91
putchar(c);
sys/arch/mvme68k/dev/zs.c
445
int s, c, rr0, stat;
sys/arch/mvme68k/dev/zs.c
463
c = *cs->cs_reg_data;
sys/arch/mvme68k/dev/zs.c
467
return c;
sys/arch/mvme68k/dev/zs.c
474
zs_putc(void *arg, int c)
sys/arch/mvme68k/dev/zs.c
486
*cs->cs_reg_data = c;
sys/arch/mvme68k/dev/zs.c
547
int c;
sys/arch/mvme68k/dev/zs.c
549
c = zs_getc(cs);
sys/arch/mvme68k/dev/zs.c
550
return c;
sys/arch/mvme68k/dev/zs.c
557
zsc_pcccnputc(dev_t dev, int c)
sys/arch/mvme68k/dev/zs.c
561
zs_putc(cs, c);
sys/arch/mvme68k/include/loadfile_machdep.h
43
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/mvme68k/include/loadfile_machdep.h
44
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/mvme68k/include/loadfile_machdep.h
45
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/mvme68k/stand/installboot/installboot.c
102
while ((c = getopt(argc, argv, "vnh")) != -1) {
sys/arch/mvme68k/stand/installboot/installboot.c
103
switch (c) {
sys/arch/mvme68k/stand/installboot/installboot.c
97
int c;
sys/arch/mvme68k/stand/libbug/putchar.c
15
putchar(int c)
sys/arch/mvme68k/stand/libbug/putchar.c
19
if (c == '\n')
sys/arch/mvme68k/stand/libbug/putchar.c
21
ca[0] = c;
sys/arch/mvme68k/stand/libsa/parse_args.c
45
char c;
sys/arch/mvme68k/stand/libsa/parse_args.c
49
while ((c = *ptr)) {
sys/arch/mvme68k/stand/libsa/parse_args.c
50
while (c == ' ')
sys/arch/mvme68k/stand/libsa/parse_args.c
51
c = *++ptr;
sys/arch/mvme68k/stand/libsa/parse_args.c
52
if (c == '\0')
sys/arch/mvme68k/stand/libsa/parse_args.c
54
if (c != '-') {
sys/arch/mvme68k/stand/libsa/parse_args.c
68
while ((c = *++ptr) && c != ' ')
sys/arch/mvme68k/stand/libsa/parse_args.c
70
if (c)
sys/arch/mvme68k/stand/libsa/parse_args.c
74
while ((c = *++ptr) && c != ' ')
sys/arch/mvme68k/stand/libsa/parse_args.c
75
BOOT_FLAG(c, howto);
sys/arch/mvme68k/stand/sboot/console.c
90
void putchar(int c)
sys/arch/mvme68k/stand/sboot/console.c
92
if (c == '\n')
sys/arch/mvme68k/stand/sboot/console.c
99
zs->ctl = (char)c;
sys/arch/mvmeppc/include/isa_machdep.h
47
#define isa_detach_hook(c, s) \
sys/arch/mvmeppc/include/isa_machdep.h
48
genppc_isa_detach_hook(c, s)
sys/arch/mvmeppc/include/loadfile_machdep.h
39
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/mvmeppc/include/loadfile_machdep.h
40
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/mvmeppc/include/loadfile_machdep.h
41
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/mvmeppc/stand/libsa/parse_args.c
45
char c;
sys/arch/mvmeppc/stand/libsa/parse_args.c
49
while ((c = *ptr)) {
sys/arch/mvmeppc/stand/libsa/parse_args.c
50
while (c == ' ')
sys/arch/mvmeppc/stand/libsa/parse_args.c
51
c = *++ptr;
sys/arch/mvmeppc/stand/libsa/parse_args.c
52
if (c == '\0')
sys/arch/mvmeppc/stand/libsa/parse_args.c
54
if (c != '-') {
sys/arch/mvmeppc/stand/libsa/parse_args.c
68
while ((c = *++ptr) && c != ' ')
sys/arch/mvmeppc/stand/libsa/parse_args.c
70
if (c)
sys/arch/mvmeppc/stand/libsa/parse_args.c
74
while ((c = *++ptr) && c != ' ')
sys/arch/mvmeppc/stand/libsa/parse_args.c
75
BOOT_FLAG(c, howto);
sys/arch/mvmeppc/stand/libsa/putchar.c
38
putchar(int c)
sys/arch/mvmeppc/stand/libsa/putchar.c
41
if (c == '\n')
sys/arch/mvmeppc/stand/libsa/putchar.c
43
bugsys_outchr(c);
sys/arch/netwinder/netwinder/netwinder_machdep.c
1005
int stat, c;
sys/arch/netwinder/netwinder/netwinder_machdep.c
1011
c = KCOM_GETBYTE(com_data);
sys/arch/netwinder/netwinder/netwinder_machdep.c
1013
return c;
sys/arch/netwinder/netwinder/netwinder_machdep.c
1020
kcomcnputc(dev_t dev, int c)
sys/arch/netwinder/netwinder/netwinder_machdep.c
1029
KCOM_PUTBYTE(com_data, c);
sys/arch/news68k/dev/zs.c
490
int s, c, rr0;
sys/arch/news68k/dev/zs.c
499
c = *cs->cs_reg_data;
sys/arch/news68k/dev/zs.c
503
return c;
sys/arch/news68k/dev/zs.c
510
zs_putc(void *arg, int c)
sys/arch/news68k/dev/zs.c
522
*cs->cs_reg_data = c;
sys/arch/news68k/dev/zs.c
601
zscnputc(dev_t dev, int c)
sys/arch/news68k/dev/zs.c
604
zs_putc((void *)zs_conschan, c);
sys/arch/news68k/include/bus.h
185
#define bus_space_read_multi_1(t, h, o, a, c) do { \
sys/arch/news68k/include/bus.h
195
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/news68k/include/bus.h
199
#define bus_space_read_multi_2(t, h, o, a, c) do { \
sys/arch/news68k/include/bus.h
209
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/news68k/include/bus.h
213
#define bus_space_read_multi_4(t, h, o, a, c) do { \
sys/arch/news68k/include/bus.h
223
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/news68k/include/bus.h
237
#define bus_space_read_region_1(t, h, o, a, c) do { \
sys/arch/news68k/include/bus.h
247
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/news68k/include/bus.h
251
#define bus_space_read_region_2(t, h, o, a, c) do { \
sys/arch/news68k/include/bus.h
261
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/news68k/include/bus.h
265
#define bus_space_read_region_4(t, h, o, a, c) do { \
sys/arch/news68k/include/bus.h
275
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/news68k/include/bus.h
306
#define bus_space_write_multi_1(t, h, o, a, c) do { \
sys/arch/news68k/include/bus.h
316
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/news68k/include/bus.h
320
#define bus_space_write_multi_2(t, h, o, a, c) do { \
sys/arch/news68k/include/bus.h
330
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/news68k/include/bus.h
334
#define bus_space_write_multi_4(t, h, o, a, c) do { \
sys/arch/news68k/include/bus.h
344
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/news68k/include/bus.h
357
#define bus_space_write_region_1(t, h, o, a, c) do { \
sys/arch/news68k/include/bus.h
367
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/news68k/include/bus.h
371
#define bus_space_write_region_2(t, h, o, a, c) do { \
sys/arch/news68k/include/bus.h
381
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/news68k/include/bus.h
385
#define bus_space_write_region_4(t, h, o, a, c) do { \
sys/arch/news68k/include/bus.h
395
"r" ((h) + (o)), "g" (a), "g" (c) : \
sys/arch/news68k/include/bus.h
408
#define bus_space_set_multi_1(t, h, o, val, c) do { \
sys/arch/news68k/include/bus.h
418
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/news68k/include/bus.h
422
#define bus_space_set_multi_2(t, h, o, val, c) do { \
sys/arch/news68k/include/bus.h
432
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/news68k/include/bus.h
436
#define bus_space_set_multi_4(t, h, o, val, c) do { \
sys/arch/news68k/include/bus.h
446
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/news68k/include/bus.h
459
#define bus_space_set_region_1(t, h, o, val, c) do { \
sys/arch/news68k/include/bus.h
469
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/news68k/include/bus.h
473
#define bus_space_set_region_2(t, h, o, val, c) do { \
sys/arch/news68k/include/bus.h
483
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/news68k/include/bus.h
487
#define bus_space_set_region_4(t, h, o, val, c) do { \
sys/arch/news68k/include/bus.h
497
"r" ((h) + (o)), "g" (val), "g" (c) : \
sys/arch/news68k/include/bus.h
521
bus_size_t o1, bus_size_t o2, bus_size_t c) \
sys/arch/news68k/include/bus.h
527
for (o = 0; c != 0; c--, o += BYTES) \
sys/arch/news68k/include/bus.h
532
for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) \
sys/arch/news68k/include/loadfile_machdep.h
43
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/news68k/include/loadfile_machdep.h
44
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/news68k/include/loadfile_machdep.h
45
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/news68k/news68k/romcons.c
338
romcons_cnputc(dev_t dev, int c)
sys/arch/news68k/news68k/romcons.c
340
char ch = c;
sys/arch/news68k/stand/common/getchar.c
34
char c = '\0';
sys/arch/news68k/stand/common/getchar.c
38
i = rom_read(1, &c, 1);
sys/arch/news68k/stand/common/getchar.c
44
return c;
sys/arch/news68k/stand/common/putchar.c
60
char c = x;
sys/arch/news68k/stand/common/putchar.c
62
rom_write(1, &c, 1);
sys/arch/newsmips/apbus/zs_ap.c
468
int s, c;
sys/arch/newsmips/apbus/zs_ap.c
478
c = zc->zc_data;
sys/arch/newsmips/apbus/zs_ap.c
486
return c;
sys/arch/newsmips/apbus/zs_ap.c
493
zs_putc(void *arg, int c)
sys/arch/newsmips/apbus/zs_ap.c
506
zc->zc_data = c;
sys/arch/newsmips/apbus/zs_ap.c
586
zscnputc(dev_t dev, int c)
sys/arch/newsmips/apbus/zs_ap.c
589
zs_putc(sccport0a, c);
sys/arch/newsmips/dev/fb.c
680
int c, x;
sys/arch/newsmips/dev/fb.c
682
for (c = 0; c < 96; c++) {
sys/arch/newsmips/dev/fb.c
683
x = ((c & 0x1f) | ((c & 0xe0) << 2)) << 7;
sys/arch/newsmips/dev/fb.c
684
memcpy(fontarea16 + c, (uint8_t *)0xb8e00000 + x + 96, 32);
sys/arch/newsmips/dev/fb.c
685
memcpy(fontarea24 + c, (uint8_t *)0xb8e00000 + x, 96);
sys/arch/newsmips/dev/zs_hb.c
329
int s, c, rr0;
sys/arch/newsmips/dev/zs_hb.c
338
c = zc->zc_data;
sys/arch/newsmips/dev/zs_hb.c
346
return c;
sys/arch/newsmips/dev/zs_hb.c
353
zs_putc(void *arg, int c)
sys/arch/newsmips/dev/zs_hb.c
365
zc->zc_data = c;
sys/arch/newsmips/dev/zs_hb.c
413
zscnputc(dev_t dev, int c)
sys/arch/newsmips/dev/zs_hb.c
416
zs_putc((void *)SCCPORT0A, c);
sys/arch/newsmips/include/apcall.h
51
#define apcall_read(a,b,c) APCALL(APCALL_READ,(a),(b),(c))
sys/arch/newsmips/include/apcall.h
52
#define apcall_write(a,b,c) APCALL(APCALL_WRITE,(a),(b),(c))
sys/arch/newsmips/include/apcall.h
55
#define apcall_lseek(a,b,c) APCALL(APCALL_LSEEK,(a),(b),(c))
sys/arch/newsmips/include/apcall.h
56
#define apcall_ioctl(a,b,c) APCALL(APCALL_IOCTL,(a),(b),(c))
sys/arch/newsmips/include/bus.h
157
size_t c) \
sys/arch/newsmips/include/bus.h
160
while (c--) \
sys/arch/newsmips/include/bus.h
191
size_t c) \
sys/arch/newsmips/include/bus.h
194
while (c--) { \
sys/arch/newsmips/include/bus.h
253
size_t c) \
sys/arch/newsmips/include/bus.h
256
while (c--) \
sys/arch/newsmips/include/bus.h
286
size_t c) \
sys/arch/newsmips/include/bus.h
289
while (c--) { \
sys/arch/newsmips/include/bus.h
321
size_t c) \
sys/arch/newsmips/include/bus.h
324
while (c--) \
sys/arch/newsmips/include/bus.h
354
size_t c) \
sys/arch/newsmips/include/bus.h
357
while (c--) { \
sys/arch/newsmips/include/bus.h
393
bus_size_t c) \
sys/arch/newsmips/include/bus.h
399
for (o = 0; c != 0; c--, o += BYTES) \
sys/arch/newsmips/include/bus.h
404
for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) \
sys/arch/newsmips/include/loadfile_machdep.h
40
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/newsmips/include/loadfile_machdep.h
41
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/newsmips/include/loadfile_machdep.h
42
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/newsmips/stand/boot/boot.c
223
char c = x;
sys/arch/newsmips/stand/boot/boot.c
226
apcall_write(1, &c, 1);
sys/arch/newsmips/stand/boot/boot.c
228
rom_write(1, &c, 1);
sys/arch/newsmips/stand/boot/boot.c
234
unsigned char c = '\0';
sys/arch/newsmips/stand/boot/boot.c
238
i = apbus ? apcall_read(1, &c, 1) : rom_read(1, &c, 1);
sys/arch/newsmips/stand/boot/boot.c
244
return c;
sys/arch/newsmips/stand/bootxx/bootxx.c
150
char c = x;
sys/arch/newsmips/stand/bootxx/bootxx.c
153
apcall_write(1, &c, 1);
sys/arch/newsmips/stand/bootxx/bootxx.c
155
rom_write(1, &c, 1);
sys/arch/next68k/dev/esp.c
439
doze(volatile int c)
sys/arch/next68k/dev/esp.c
448
if (c > 244)
sys/arch/next68k/dev/esp.c
450
if (c == 0)
sys/arch/next68k/dev/esp.c
461
} while (tmp1 <= c);
sys/arch/next68k/dev/nextcons.c
96
nextcnputc(dev_t dev, int c)
sys/arch/next68k/dev/nextcons.c
99
wsdisplay_cnputc(dev,c);
sys/arch/next68k/dev/nextdma.c
111
ndtrace_addc(int c) {
sys/arch/next68k/dev/nextdma.c
114
ndtrace_buf[ndtrace_len++] = c;
sys/arch/next68k/dev/zs.c
534
int s, c, rr0;
sys/arch/next68k/dev/zs.c
543
c = zc->zc_data;
sys/arch/next68k/dev/zs.c
551
return (c);
sys/arch/next68k/dev/zs.c
558
zs_putc(void *arg, int c)
sys/arch/next68k/dev/zs.c
571
zc->zc_data = c;
sys/arch/next68k/dev/zs.c
660
zscnputc(dev_t dev, int c)
sys/arch/next68k/dev/zs.c
662
zs_putc(zs_conschan, c);
sys/arch/next68k/dev/zs_kgdb.c
223
uint8_t c, rr1;
sys/arch/next68k/dev/zs_kgdb.c
230
c = zs_read_data(cs);
sys/arch/next68k/dev/zs_kgdb.c
237
if (c == KGDB_START) {
sys/arch/next68k/include/loadfile_machdep.h
43
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/next68k/include/loadfile_machdep.h
44
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/next68k/include/loadfile_machdep.h
45
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/next68k/next68k/nextrom.c
80
#define ROM_PUTC(c) /* nop */
sys/arch/next68k/next68k/nextrom.c
85
#define ROM_PUTC(c) \
sys/arch/next68k/next68k/nextrom.c
86
(*MONRELOC(putcptr, MG_putc))(c)
sys/arch/next68k/stand/boot/machdep.c
81
putchar(int c)
sys/arch/next68k/stand/boot/machdep.c
83
MON(putcptr,MG_putc)(c);
sys/arch/ofppc/include/isa_machdep.h
49
#define isa_detach_hook(c, s) \
sys/arch/ofppc/include/isa_machdep.h
50
genppc_isa_detach_hook(c, s)
sys/arch/ofppc/include/loadfile_machdep.h
39
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/ofppc/include/loadfile_machdep.h
40
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/ofppc/include/loadfile_machdep.h
41
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/ofppc/stand/ofwboot/Locore.c
542
putchar(int c)
sys/arch/ofppc/stand/ofwboot/Locore.c
544
char ch = c;
sys/arch/ofppc/stand/ofwboot/Locore.c
546
if (c == '\n')
sys/arch/or1k/include/bus_funcs.h
101
#define CAT3(a,b,c) a##b##c
sys/arch/or1k/include/bus_funcs.h
223
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
224
((*(t)->pbs_multi->pbsg_read_1)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
225
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
226
((*(t)->pbs_multi->pbsg_read_2)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
227
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
228
((*(t)->pbs_multi->pbsg_read_4)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
229
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
230
((*(t)->pbs_multi->pbsg_read_8)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
241
#define bus_space_read_multi_stream_2(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
242
((*(t)->pbs_multi_stream->pbsg_read_2)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
243
#define bus_space_read_multi_stream_4(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
244
((*(t)->pbs_multi_stream->pbsg_read_4)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
245
#define bus_space_read_multi_stream_8(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
246
((*(t)->pbs_multi_stream->pbsg_read_8)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
293
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
294
((*(t)->pbs_multi->pbsg_write_1)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
295
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
296
((*(t)->pbs_multi->pbsg_write_2)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
297
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
298
((*(t)->pbs_multi->pbsg_write_4)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
299
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
300
((*(t)->pbs_multi->pbsg_write_8)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
311
#define bus_space_write_multi_stream_1(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
312
((*(t)->pbs_multi_stream->pbsg_write_1)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
313
#define bus_space_write_multi_stream_2(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
314
((*(t)->pbs_multi_stream->pbsg_write_2)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
315
#define bus_space_write_multi_stream_4(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
316
((*(t)->pbs_multi_stream->pbsg_write_4)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
317
#define bus_space_write_multi_stream_8(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
318
((*(t)->pbs_multi_stream->pbsg_write_8)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
329
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
330
((*(t)->pbs_region->pbsg_read_1)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
331
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
332
((*(t)->pbs_region->pbsg_read_2)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
333
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
334
((*(t)->pbs_region->pbsg_read_4)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
335
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
336
((*(t)->pbs_region->pbsg_read_8)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
347
#define bus_space_read_region_stream_2(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
348
((*(t)->pbs_region_stream->pbsg_read_2)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
349
#define bus_space_read_region_stream_4(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
350
((*(t)->pbs_region_stream->pbsg_read_4)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
351
#define bus_space_read_region_stream_8(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
352
((*(t)->pbs_region_stream->pbsg_read_8)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
362
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
363
((*(t)->pbs_region->pbsg_write_1)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
364
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
365
((*(t)->pbs_region->pbsg_write_2)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
366
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
367
((*(t)->pbs_region->pbsg_write_4)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
368
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
369
((*(t)->pbs_region->pbsg_write_8)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
379
#define bus_space_write_region_stream_2(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
380
((*(t)->pbs_region_stream->pbsg_write_2)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
381
#define bus_space_write_region_stream_4(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
382
((*(t)->pbs_region_stream->pbsg_write_4)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
383
#define bus_space_write_region_stream_8(t, h, o, a, c) \
sys/arch/or1k/include/bus_funcs.h
384
((*(t)->pbs_region_stream->pbsg_write_8)((t), (h), (o), (a), (c)))
sys/arch/or1k/include/bus_funcs.h
395
#define bus_space_set_multi_1(t, h, o, v, c)
sys/arch/or1k/include/bus_funcs.h
396
((*(t)->pbs_set_multi_1)((t), (h), (o), (v), (c)))
sys/arch/or1k/include/bus_funcs.h
397
#define bus_space_set_multi_2(t, h, o, v, c)
sys/arch/or1k/include/bus_funcs.h
398
((*(t)->pbs_set_multi_2)((t), (h), (o), (v), (c)))
sys/arch/or1k/include/bus_funcs.h
399
#define bus_space_set_multi_4(t, h, o, v, c)
sys/arch/or1k/include/bus_funcs.h
400
((*(t)->pbs_set_multi_4)((t), (h), (o), (v), (c)))
sys/arch/or1k/include/bus_funcs.h
401
#define bus_space_set_multi_8(t, h, o, v, c)
sys/arch/or1k/include/bus_funcs.h
402
((*(t)->pbs_set_multi_8)((t), (h), (o), (v), (c)))
sys/arch/or1k/include/bus_funcs.h
412
#define bus_space_set_multi_stream_2(t, h, o, v, c)
sys/arch/or1k/include/bus_funcs.h
413
((*(t)->pbs_set_multi_stream_2)((t), (h), (o), (v), (c)))
sys/arch/or1k/include/bus_funcs.h
414
#define bus_space_set_multi_stream_4(t, h, o, v, c)
sys/arch/or1k/include/bus_funcs.h
415
((*(t)->pbs_set_multi_stream_4)((t), (h), (o), (v), (c)))
sys/arch/or1k/include/bus_funcs.h
416
#define bus_space_set_multi_stream_8(t, h, o, v, c)
sys/arch/or1k/include/bus_funcs.h
417
((*(t)->pbs_set_multi_stream_8)((t), (h), (o), (v), (c)))
sys/arch/or1k/include/bus_funcs.h
429
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/or1k/include/bus_funcs.h
430
((*(t)->pbs_set->pbss_set_1)((t), (h), (o), (v), (c)))
sys/arch/or1k/include/bus_funcs.h
431
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/or1k/include/bus_funcs.h
432
((*(t)->pbs_set->pbss_set_2)((t), (h), (o), (v), (c)))
sys/arch/or1k/include/bus_funcs.h
433
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/or1k/include/bus_funcs.h
434
((*(t)->pbs_set->pbss_set_4)((t), (h), (o), (v), (c)))
sys/arch/or1k/include/bus_funcs.h
435
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arch/or1k/include/bus_funcs.h
436
((*(t)->pbs_set->pbss_set_8)((t), (h), (o), (v), (c)))
sys/arch/or1k/include/bus_funcs.h
446
#define bus_space_set_region_stream_2(t, h, o, v, c) \
sys/arch/or1k/include/bus_funcs.h
447
((*(t)->pbs_set_stream->pbss_set_2)((t), (h), (o), (v), (c)))
sys/arch/or1k/include/bus_funcs.h
448
#define bus_space_set_region_stream_4(t, h, o, v, c) \
sys/arch/or1k/include/bus_funcs.h
449
((*(t)->pbs_set_stream->pbss_set_4)((t), (h), (o), (v), (c)))
sys/arch/or1k/include/bus_funcs.h
450
#define bus_space_set_region_stream_8(t, h, o, v, c) \
sys/arch/or1k/include/bus_funcs.h
451
((*(t)->pbs_set_stream->pbss_set_8)((t), (h), (o), (v), (c)))
sys/arch/or1k/include/bus_funcs.h
463
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arch/or1k/include/bus_funcs.h
464
((*(t)->pbs_copy->pbsc_copy_1)((t), (h1), (o1), (h2), (o2), (c)))
sys/arch/or1k/include/bus_funcs.h
465
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arch/or1k/include/bus_funcs.h
466
((*(t)->pbs_copy->pbsc_copy_2)((t), (h1), (o1), (h2), (o2), (c)))
sys/arch/or1k/include/bus_funcs.h
467
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arch/or1k/include/bus_funcs.h
468
((*(t)->pbs_copy->pbsc_copy_4)((t), (h1), (o1), (h2), (o2), (c)))
sys/arch/or1k/include/bus_funcs.h
469
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arch/or1k/include/bus_funcs.h
470
((*(t)->pbs_copy->pbsc_copy_8)((t), (h1), (o1), (h2), (o2), (c)))
sys/arch/playstation2/ee/gsfb.c
412
_gsfb_mapchar(void *cookie, int c, unsigned int *cp)
sys/arch/playstation2/ee/gsfb.c
418
if ((c = wsfont_map_unichar(font, c)) < 0)
sys/arch/playstation2/ee/gsfb.c
421
if (c < font->firstchar || c >= font->firstchar + font->numchars)
sys/arch/playstation2/ee/gsfb.c
424
*cp = c;
sys/arch/playstation2/ee/gsfb.c
587
gsfb_font_expand_psmct32(const struct wsdisplay_font *font, u_int c, long attr,
sys/arch/playstation2/ee/gsfb.c
599
bitmap = (u_int8_t *)font->data + (c - font->firstchar) *
sys/arch/playstation2/ee/gsfb.c
637
u_int c;
sys/arch/playstation2/ee/gsfb.c
657
(c = (u_int)_gsfb_debug_buf[i] & 0x7f) != 0; i++) {
sys/arch/playstation2/ee/gsfb.c
658
if (c == '\n')
sys/arch/playstation2/ee/gsfb.c
661
_gsfb_putchar(0, y, x++, c, a);
sys/arch/playstation2/include/bus.h
433
bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c) \
sys/arch/playstation2/include/bus.h
438
for (o = 0; c != 0; c--, o += BYTES) \
sys/arch/playstation2/include/bus.h
443
for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) \
sys/arch/playstation2/include/bus.h
511
#define __pbs_nonsingle(type, sz, tn, t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
515
(*(t)->__pbs_opname(type,sz))((t)->pbs_cookie, h, o, a, c); \
sys/arch/playstation2/include/bus.h
518
#define __pbs_set(type, sz, tn, t, h, o, v, c) \
sys/arch/playstation2/include/bus.h
521
(*(t)->__pbs_opname(type,sz))((t)->pbs_cookie, h, o, v, c); \
sys/arch/playstation2/include/bus.h
528
(*(t)->__pbs_opname(c,sz))((t)->pbs_cookie, h1, o1, h2, o2, cnt); \
sys/arch/playstation2/include/bus.h
596
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
597
__pbs_nonsingle(rm,1,u_int8_t,(t),(h),(o),(a),(c))
sys/arch/playstation2/include/bus.h
598
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
599
__pbs_nonsingle(rm,2,u_int16_t,(t),(h),(o),(a),(c))
sys/arch/playstation2/include/bus.h
600
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
601
__pbs_nonsingle(rm,4,u_int32_t,(t),(h),(o),(a),(c))
sys/arch/playstation2/include/bus.h
602
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
603
__pbs_nonsingle(rm,8,u_int64_t,(t),(h),(o),(a),(c))
sys/arch/playstation2/include/bus.h
609
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
610
__pbs_nonsingle(rr,1,u_int8_t,(t),(h),(o),(a),(c))
sys/arch/playstation2/include/bus.h
611
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
612
__pbs_nonsingle(rr,2,u_int16_t,(t),(h),(o),(a),(c))
sys/arch/playstation2/include/bus.h
613
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
614
__pbs_nonsingle(rr,4,u_int32_t,(t),(h),(o),(a),(c))
sys/arch/playstation2/include/bus.h
615
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
616
__pbs_nonsingle(rr,8,u_int64_t,(t),(h),(o),(a),(c))
sys/arch/playstation2/include/bus.h
631
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
632
__pbs_nonsingle(wm,1,u_int8_t,(t),(h),(o),(a),(c))
sys/arch/playstation2/include/bus.h
633
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
634
__pbs_nonsingle(wm,2,u_int16_t,(t),(h),(o),(a),(c))
sys/arch/playstation2/include/bus.h
635
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
636
__pbs_nonsingle(wm,4,u_int32_t,(t),(h),(o),(a),(c))
sys/arch/playstation2/include/bus.h
637
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
638
__pbs_nonsingle(wm,8,u_int64_t,(t),(h),(o),(a),(c))
sys/arch/playstation2/include/bus.h
644
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
645
__pbs_nonsingle(wr,1,u_int8_t,(t),(h),(o),(a),(c))
sys/arch/playstation2/include/bus.h
646
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
647
__pbs_nonsingle(wr,2,u_int16_t,(t),(h),(o),(a),(c))
sys/arch/playstation2/include/bus.h
648
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
649
__pbs_nonsingle(wr,4,u_int32_t,(t),(h),(o),(a),(c))
sys/arch/playstation2/include/bus.h
650
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arch/playstation2/include/bus.h
651
__pbs_nonsingle(wr,8,u_int64_t,(t),(h),(o),(a),(c))
sys/arch/playstation2/include/bus.h
657
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/arch/playstation2/include/bus.h
658
__pbs_set(sm,1,u_int8_t,(t),(h),(o),(v),(c))
sys/arch/playstation2/include/bus.h
659
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/arch/playstation2/include/bus.h
660
__pbs_set(sm,2,u_int16_t,(t),(h),(o),(v),(c))
sys/arch/playstation2/include/bus.h
661
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/arch/playstation2/include/bus.h
662
__pbs_set(sm,4,u_int32_t,(t),(h),(o),(v),(c))
sys/arch/playstation2/include/bus.h
663
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/arch/playstation2/include/bus.h
664
__pbs_set(sm,8,u_int64_t,(t),(h),(o),(v),(c))
sys/arch/playstation2/include/bus.h
670
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/playstation2/include/bus.h
671
__pbs_set(sr,1,u_int8_t,(t),(h),(o),(v),(c))
sys/arch/playstation2/include/bus.h
672
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/playstation2/include/bus.h
673
__pbs_set(sr,2,u_int16_t,(t),(h),(o),(v),(c))
sys/arch/playstation2/include/bus.h
674
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/playstation2/include/bus.h
675
__pbs_set(sr,4,u_int32_t,(t),(h),(o),(v),(c))
sys/arch/playstation2/include/bus.h
676
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arch/playstation2/include/bus.h
677
__pbs_set(sr,8,u_int64_t,(t),(h),(o),(v),(c))
sys/arch/playstation2/include/bus.h
683
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arch/playstation2/include/bus.h
684
__pbs_copy(1, u_int8_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/playstation2/include/bus.h
685
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arch/playstation2/include/bus.h
686
__pbs_copy(2, u_int16_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/playstation2/include/bus.h
687
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arch/playstation2/include/bus.h
688
__pbs_copy(4, u_int32_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/playstation2/include/bus.h
689
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arch/playstation2/include/bus.h
690
__pbs_copy(8, u_int64_t, (t), (h1), (o1), (h2), (o2), (c))
sys/arch/playstation2/playstation2/sifbios.c
152
sifbios_putchar(int c)
sys/arch/playstation2/playstation2/sifbios.c
154
int sifbios_arg = c;
sys/arch/pmax/ibus/dz_ibus.c
312
int c, line, s;
sys/arch/pmax/ibus/dz_ibus.c
315
c = 0;
sys/arch/pmax/ibus/dz_ibus.c
326
c = rbuf & 0x7f;
sys/arch/pmax/ibus/dz_ibus.c
327
} while (c == 17 || c == 19); /* ignore XON/XOFF */
sys/arch/pmax/ibus/dz_ibus.c
330
if (c == 13)
sys/arch/pmax/ibus/dz_ibus.c
331
c = 10;
sys/arch/pmax/ibus/dz_ibus.c
332
return (c);
sys/arch/pmax/include/loadfile_machdep.h
44
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/pmax/include/loadfile_machdep.h
45
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/pmax/include/loadfile_machdep.h
46
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/pmax/pmax/promcall.c
93
romputc(dev_t dev, int c)
sys/arch/pmax/pmax/promcall.c
98
promcall(callv->_printf, "%c", c);
sys/arch/pmax/stand/common/boot.c
200
char c;
sys/arch/pmax/stand/common/boot.c
202
while ((c = *fname++) != '\0') {
sys/arch/pmax/stand/common/boot.c
203
if (c == ')')
sys/arch/pmax/stand/common/boot.c
205
if (c != '/')
sys/arch/pmax/stand/common/boot.c
207
while ((c = *fname++) != '\0')
sys/arch/pmax/stand/common/boot.c
208
if (c == '/')
sys/arch/pmax/stand/common/boot.c
214
if (c != '/') {
sys/arch/pmax/stand/common/bootxx.c
137
char c, *buf, bootfname[64];
sys/arch/pmax/stand/common/bootxx.c
143
while ((c = *buf++) != '\0') {
sys/arch/pmax/stand/common/bootxx.c
144
if (c == ')')
sys/arch/pmax/stand/common/bootxx.c
146
if (c != '/')
sys/arch/pmax/stand/common/bootxx.c
148
while ((c = *buf++) != '\0')
sys/arch/pmax/stand/common/bootxx.c
149
if (c == '/')
sys/arch/pmax/stand/common/bootxx.c
155
if (c != '/') {
sys/arch/pmax/stand/common/devopen.c
100
*ncp++ = c;
sys/arch/pmax/stand/common/devopen.c
105
if ((c = *cp) >= '0' && c <= '9') {
sys/arch/pmax/stand/common/devopen.c
106
ctlr = c - '0';
sys/arch/pmax/stand/common/devopen.c
107
c = *++cp;
sys/arch/pmax/stand/common/devopen.c
110
if (c == ',') {
sys/arch/pmax/stand/common/devopen.c
112
if ((c = *++cp) >= '0' && c <= '9') {
sys/arch/pmax/stand/common/devopen.c
113
unit = c - '0';
sys/arch/pmax/stand/common/devopen.c
114
c = *++cp;
sys/arch/pmax/stand/common/devopen.c
117
if (c == ',') {
sys/arch/pmax/stand/common/devopen.c
119
if ((c = *++cp) >= '0' && c <= '9') {
sys/arch/pmax/stand/common/devopen.c
120
part = c - '0';
sys/arch/pmax/stand/common/devopen.c
121
c = *++cp;
sys/arch/pmax/stand/common/devopen.c
125
if (c != ')')
sys/arch/pmax/stand/common/devopen.c
49
int c, rc;
sys/arch/pmax/stand/common/devopen.c
65
if ((c = *cp) >= '0' && c <= '9') {
sys/arch/pmax/stand/common/devopen.c
66
ctlr = c - '0';
sys/arch/pmax/stand/common/devopen.c
71
while ((c = *cp) != '\0') {
sys/arch/pmax/stand/common/devopen.c
72
if (c == '/')
sys/arch/pmax/stand/common/devopen.c
74
if (c >= '0' && c <= '9') {
sys/arch/pmax/stand/common/devopen.c
76
unit = c - '0';
sys/arch/pmax/stand/common/devopen.c
79
if ((c = *++cp) >= 'a' && c <= 'h') {
sys/arch/pmax/stand/common/devopen.c
80
part = c - 'a';
sys/arch/pmax/stand/common/devopen.c
81
c = *++cp;
sys/arch/pmax/stand/common/devopen.c
83
if (c != '/')
sys/arch/pmax/stand/common/devopen.c
89
*ncp++ = c;
sys/arch/pmax/stand/common/devopen.c
94
while ((c = *cp) != '\0') {
sys/arch/pmax/stand/common/devopen.c
95
if (c == '(') {
sys/arch/pmax/stand/common/if_prom.c
153
#define atox(c) (((c) <= '9') ? ((c) - '0') : ((toupper(c) - 'A') + 10))
sys/arch/pmax/stand/common/putchar.c
38
putchar(int c)
sys/arch/pmax/stand/common/putchar.c
40
(*callv -> _printf)("%c", c);
sys/arch/pmax/tc/dt.c
166
#define DT_PUT_BYTE(data,c) { *(data) = (c) << 8; wbflush(); }
sys/arch/pmax/tc/dt.c
382
uint8_t c;
sys/arch/pmax/tc/dt.c
416
c = DT_GET_BYTE(data);
sys/arch/pmax/tc/dt.c
419
switch (c) {
sys/arch/pmax/tc/dt.c
424
c += 0x10;
sys/arch/pmax/tc/dt.c
427
if (c == 'O') {
sys/arch/pmax/tc/dt.c
433
} else if (c == DT_ESC_CHAR) {
sys/arch/pmax/tc/dt.c
439
msg->src = c;
sys/arch/pmax/tc/dt.c
442
msg->ctl = c;
sys/arch/pmax/tc/dt.c
450
msg->body[dt_state.ds_ptr++] = c;
sys/arch/pmax/tc/dtkbd.c
228
u_int len, c, count;
sys/arch/pmax/tc/dtkbd.c
255
c = msg->body[i];
sys/arch/pmax/tc/dtkbd.c
258
if (dtkbd_map[j] == c)
sys/arch/pmax/tc/dtkbd.c
263
vals[count] = c - MIN_LK201_KEY;
sys/arch/pmax/tc/dtkbd.c
269
c = dtkbd_map[j];
sys/arch/pmax/tc/dtkbd.c
272
if (msg->body[i] == c)
sys/arch/pmax/tc/dtkbd.c
277
vals[count] = c - MIN_LK201_KEY;
sys/arch/pmax/tc/dtvar.h
54
#define DT_CTL_P(c) ((c >> 7) & 0x01)
sys/arch/pmax/tc/dtvar.h
55
#define DT_CTL_SUBADDR(c) ((c >> 5) & 0x03)
sys/arch/pmax/tc/dtvar.h
56
#define DT_CTL_LEN(c) (c & 0x1f)
sys/arch/powerpc/include/bus_funcs.h
104
#define CAT3(a,b,c) a##b##c
sys/arch/powerpc/include/bus_funcs.h
107
#define CAT3(a,b,c) a/**/b/**/c
sys/arch/powerpc/include/bus_funcs.h
230
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
231
((*(t)->pbs_multi->pbsg_read_1)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
232
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
233
((*(t)->pbs_multi->pbsg_read_2)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
234
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
235
((*(t)->pbs_multi->pbsg_read_4)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
236
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
237
((*(t)->pbs_multi->pbsg_read_8)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
248
#define bus_space_read_multi_stream_2(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
249
((*(t)->pbs_multi_stream->pbsg_read_2)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
250
#define bus_space_read_multi_stream_4(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
251
((*(t)->pbs_multi_stream->pbsg_read_4)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
252
#define bus_space_read_multi_stream_8(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
253
((*(t)->pbs_multi_stream->pbsg_read_8)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
300
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
301
((*(t)->pbs_multi->pbsg_write_1)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
302
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
303
((*(t)->pbs_multi->pbsg_write_2)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
304
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
305
((*(t)->pbs_multi->pbsg_write_4)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
306
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
307
((*(t)->pbs_multi->pbsg_write_8)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
318
#define bus_space_write_multi_stream_1(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
319
((*(t)->pbs_multi_stream->pbsg_write_1)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
320
#define bus_space_write_multi_stream_2(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
321
((*(t)->pbs_multi_stream->pbsg_write_2)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
322
#define bus_space_write_multi_stream_4(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
323
((*(t)->pbs_multi_stream->pbsg_write_4)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
324
#define bus_space_write_multi_stream_8(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
325
((*(t)->pbs_multi_stream->pbsg_write_8)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
336
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
337
((*(t)->pbs_region->pbsg_read_1)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
338
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
339
((*(t)->pbs_region->pbsg_read_2)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
340
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
341
((*(t)->pbs_region->pbsg_read_4)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
342
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
343
((*(t)->pbs_region->pbsg_read_8)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
354
#define bus_space_read_region_stream_2(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
355
((*(t)->pbs_region_stream->pbsg_read_2)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
356
#define bus_space_read_region_stream_4(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
357
((*(t)->pbs_region_stream->pbsg_read_4)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
358
#define bus_space_read_region_stream_8(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
359
((*(t)->pbs_region_stream->pbsg_read_8)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
369
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
370
((*(t)->pbs_region->pbsg_write_1)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
371
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
372
((*(t)->pbs_region->pbsg_write_2)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
373
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
374
((*(t)->pbs_region->pbsg_write_4)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
375
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
376
((*(t)->pbs_region->pbsg_write_8)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
386
#define bus_space_write_region_stream_2(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
387
((*(t)->pbs_region_stream->pbsg_write_2)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
388
#define bus_space_write_region_stream_4(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
389
((*(t)->pbs_region_stream->pbsg_write_4)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
390
#define bus_space_write_region_stream_8(t, h, o, a, c) \
sys/arch/powerpc/include/bus_funcs.h
391
((*(t)->pbs_region_stream->pbsg_write_8)((t), (h), (o), (a), (c)))
sys/arch/powerpc/include/bus_funcs.h
402
#define bus_space_set_multi_1(t, h, o, v, c)
sys/arch/powerpc/include/bus_funcs.h
403
((*(t)->pbs_set_multi_1)((t), (h), (o), (v), (c)))
sys/arch/powerpc/include/bus_funcs.h
404
#define bus_space_set_multi_2(t, h, o, v, c)
sys/arch/powerpc/include/bus_funcs.h
405
((*(t)->pbs_set_multi_2)((t), (h), (o), (v), (c)))
sys/arch/powerpc/include/bus_funcs.h
406
#define bus_space_set_multi_4(t, h, o, v, c)
sys/arch/powerpc/include/bus_funcs.h
407
((*(t)->pbs_set_multi_4)((t), (h), (o), (v), (c)))
sys/arch/powerpc/include/bus_funcs.h
408
#define bus_space_set_multi_8(t, h, o, v, c)
sys/arch/powerpc/include/bus_funcs.h
409
((*(t)->pbs_set_multi_8)((t), (h), (o), (v), (c)))
sys/arch/powerpc/include/bus_funcs.h
419
#define bus_space_set_multi_stream_2(t, h, o, v, c)
sys/arch/powerpc/include/bus_funcs.h
420
((*(t)->pbs_set_multi_stream_2)((t), (h), (o), (v), (c)))
sys/arch/powerpc/include/bus_funcs.h
421
#define bus_space_set_multi_stream_4(t, h, o, v, c)
sys/arch/powerpc/include/bus_funcs.h
422
((*(t)->pbs_set_multi_stream_4)((t), (h), (o), (v), (c)))
sys/arch/powerpc/include/bus_funcs.h
423
#define bus_space_set_multi_stream_8(t, h, o, v, c)
sys/arch/powerpc/include/bus_funcs.h
424
((*(t)->pbs_set_multi_stream_8)((t), (h), (o), (v), (c)))
sys/arch/powerpc/include/bus_funcs.h
436
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/powerpc/include/bus_funcs.h
437
((*(t)->pbs_set->pbss_set_1)((t), (h), (o), (v), (c)))
sys/arch/powerpc/include/bus_funcs.h
438
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/powerpc/include/bus_funcs.h
439
((*(t)->pbs_set->pbss_set_2)((t), (h), (o), (v), (c)))
sys/arch/powerpc/include/bus_funcs.h
440
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/powerpc/include/bus_funcs.h
441
((*(t)->pbs_set->pbss_set_4)((t), (h), (o), (v), (c)))
sys/arch/powerpc/include/bus_funcs.h
442
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arch/powerpc/include/bus_funcs.h
443
((*(t)->pbs_set->pbss_set_8)((t), (h), (o), (v), (c)))
sys/arch/powerpc/include/bus_funcs.h
453
#define bus_space_set_region_stream_2(t, h, o, v, c) \
sys/arch/powerpc/include/bus_funcs.h
454
((*(t)->pbs_set_stream->pbss_set_2)((t), (h), (o), (v), (c)))
sys/arch/powerpc/include/bus_funcs.h
455
#define bus_space_set_region_stream_4(t, h, o, v, c) \
sys/arch/powerpc/include/bus_funcs.h
456
((*(t)->pbs_set_stream->pbss_set_4)((t), (h), (o), (v), (c)))
sys/arch/powerpc/include/bus_funcs.h
457
#define bus_space_set_region_stream_8(t, h, o, v, c) \
sys/arch/powerpc/include/bus_funcs.h
458
((*(t)->pbs_set_stream->pbss_set_8)((t), (h), (o), (v), (c)))
sys/arch/powerpc/include/bus_funcs.h
470
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arch/powerpc/include/bus_funcs.h
471
((*(t)->pbs_copy->pbsc_copy_1)((t), (h1), (o1), (h2), (o2), (c)))
sys/arch/powerpc/include/bus_funcs.h
472
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arch/powerpc/include/bus_funcs.h
473
((*(t)->pbs_copy->pbsc_copy_2)((t), (h1), (o1), (h2), (o2), (c)))
sys/arch/powerpc/include/bus_funcs.h
474
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arch/powerpc/include/bus_funcs.h
475
((*(t)->pbs_copy->pbsc_copy_4)((t), (h1), (o1), (h2), (o2), (c)))
sys/arch/powerpc/include/bus_funcs.h
476
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arch/powerpc/include/bus_funcs.h
477
((*(t)->pbs_copy->pbsc_copy_8)((t), (h1), (o1), (h2), (o2), (c)))
sys/arch/powerpc/include/ibm4xx/dcr4xx.h
217
#define MAL0__XCAR_CHAN(c) (0x80000000 >> (c))
sys/arch/powerpc/include/int_const.h
44
#define INT8_C(c) c
sys/arch/powerpc/include/int_const.h
45
#define INT16_C(c) c
sys/arch/powerpc/include/int_const.h
46
#define INT32_C(c) c
sys/arch/powerpc/include/int_const.h
48
#define INT64_C(c) c ## L
sys/arch/powerpc/include/int_const.h
50
#define INT64_C(c) c ## LL
sys/arch/powerpc/include/int_const.h
53
#define UINT8_C(c) c
sys/arch/powerpc/include/int_const.h
54
#define UINT16_C(c) c
sys/arch/powerpc/include/int_const.h
55
#define UINT32_C(c) c ## U
sys/arch/powerpc/include/int_const.h
57
#define UINT64_C(c) c ## UL
sys/arch/powerpc/include/int_const.h
59
#define UINT64_C(c) c ## ULL
sys/arch/powerpc/include/int_const.h
65
#define INTMAX_C(c) c ## L
sys/arch/powerpc/include/int_const.h
66
#define UINTMAX_C(c) c ## UL
sys/arch/powerpc/include/int_const.h
68
#define INTMAX_C(c) c ## LL
sys/arch/powerpc/include/int_const.h
69
#define UINTMAX_C(c) c ## ULL
sys/arch/powerpc/include/isa_machdep.h
114
#define isa_dmacascade(ic, c) \
sys/arch/powerpc/include/isa_machdep.h
115
_isa_dmacascade(&(ic)->ic_dmastate, (c))
sys/arch/powerpc/include/isa_machdep.h
116
#define isa_dmamaxsize(ic, c) \
sys/arch/powerpc/include/isa_machdep.h
117
_isa_dmamaxsize(&(ic)->ic_dmastate, (c))
sys/arch/powerpc/include/isa_machdep.h
118
#define isa_dmamap_create(ic, c, s, f) \
sys/arch/powerpc/include/isa_machdep.h
119
_isa_dmamap_create(&(ic)->ic_dmastate, (c), (s), (f))
sys/arch/powerpc/include/isa_machdep.h
120
#define isa_dmamap_destroy(ic, c) \
sys/arch/powerpc/include/isa_machdep.h
121
_isa_dmamap_destroy(&(ic)->ic_dmastate, (c))
sys/arch/powerpc/include/isa_machdep.h
122
#define isa_dmastart(ic, c, a, n, p, f, bf) \
sys/arch/powerpc/include/isa_machdep.h
123
_isa_dmastart(&(ic)->ic_dmastate, (c), (a), (n), (p), (f), (bf))
sys/arch/powerpc/include/isa_machdep.h
124
#define isa_dmaabort(ic, c) \
sys/arch/powerpc/include/isa_machdep.h
125
_isa_dmaabort(&(ic)->ic_dmastate, (c))
sys/arch/powerpc/include/isa_machdep.h
126
#define isa_dmacount(ic, c) \
sys/arch/powerpc/include/isa_machdep.h
127
_isa_dmacount(&(ic)->ic_dmastate, (c))
sys/arch/powerpc/include/isa_machdep.h
128
#define isa_dmafinished(ic, c) \
sys/arch/powerpc/include/isa_machdep.h
129
_isa_dmafinished(&(ic)->ic_dmastate, (c))
sys/arch/powerpc/include/isa_machdep.h
130
#define isa_dmadone(ic, c) \
sys/arch/powerpc/include/isa_machdep.h
131
_isa_dmadone(&(ic)->ic_dmastate, (c))
sys/arch/powerpc/include/isa_machdep.h
136
#define isa_dmamem_alloc(ic, c, s, ap, f) \
sys/arch/powerpc/include/isa_machdep.h
137
_isa_dmamem_alloc(&(ic)->ic_dmastate, (c), (s), (ap), (f))
sys/arch/powerpc/include/isa_machdep.h
138
#define isa_dmamem_free(ic, c, a, s) \
sys/arch/powerpc/include/isa_machdep.h
139
_isa_dmamem_free(&(ic)->ic_dmastate, (c), (a), (s))
sys/arch/powerpc/include/isa_machdep.h
140
#define isa_dmamem_map(ic, c, a, s, kp, f) \
sys/arch/powerpc/include/isa_machdep.h
141
_isa_dmamem_map(&(ic)->ic_dmastate, (c), (a), (s), (kp), (f))
sys/arch/powerpc/include/isa_machdep.h
142
#define isa_dmamem_unmap(ic, c, k, s) \
sys/arch/powerpc/include/isa_machdep.h
143
_isa_dmamem_unmap(&(ic)->ic_dmastate, (c), (k), (s))
sys/arch/powerpc/include/isa_machdep.h
144
#define isa_dmamem_mmap(ic, c, a, s, o, p, f) \
sys/arch/powerpc/include/isa_machdep.h
145
_isa_dmamem_mmap(&(ic)->ic_dmastate, (c), (a), (s), (o), (p), (f))
sys/arch/powerpc/include/isa_machdep.h
146
#define isa_drq_alloc(ic, c) \
sys/arch/powerpc/include/isa_machdep.h
147
_isa_drq_alloc(&(ic)->ic_dmastate, c)
sys/arch/powerpc/include/isa_machdep.h
148
#define isa_drq_free(ic, c) \
sys/arch/powerpc/include/isa_machdep.h
149
_isa_drq_free(&(ic)->ic_dmastate, c)
sys/arch/powerpc/include/isa_machdep.h
150
#define isa_drq_isfree(ic, c) \
sys/arch/powerpc/include/isa_machdep.h
151
_isa_drq_isfree(&(ic)->ic_dmastate, (c))
sys/arch/powerpc/include/isa_machdep.h
152
#define isa_malloc(ic, c, s, p, f) \
sys/arch/powerpc/include/isa_machdep.h
153
_isa_malloc(&(ic)->ic_dmastate, (c), (s), (p), (f))
sys/arch/powerpc/include/pio.h
186
__outsb(volatile uint8_t *a, const uint8_t *s, size_t c)
sys/arch/powerpc/include/pio.h
188
while (c--)
sys/arch/powerpc/include/pio.h
194
__outsw(volatile uint16_t *a, const uint16_t *s, size_t c)
sys/arch/powerpc/include/pio.h
196
while (c--)
sys/arch/powerpc/include/pio.h
202
__outsl(volatile uint32_t *a, const uint32_t *s, size_t c)
sys/arch/powerpc/include/pio.h
204
while (c--)
sys/arch/powerpc/include/pio.h
210
__outswrb(volatile uint16_t *a, const uint16_t *s, size_t c)
sys/arch/powerpc/include/pio.h
212
while (c--)
sys/arch/powerpc/include/pio.h
218
__outslrb(volatile uint32_t *a, const uint32_t *s, size_t c)
sys/arch/powerpc/include/pio.h
220
while (c--)
sys/arch/powerpc/include/pio.h
226
__insb(volatile uint8_t *a, uint8_t *d, size_t c)
sys/arch/powerpc/include/pio.h
228
while (c--)
sys/arch/powerpc/include/pio.h
234
__insw(volatile uint16_t *a, uint16_t *d, size_t c)
sys/arch/powerpc/include/pio.h
236
while (c--)
sys/arch/powerpc/include/pio.h
242
__insl(volatile uint32_t *a, uint32_t *d, size_t c)
sys/arch/powerpc/include/pio.h
244
while (c--)
sys/arch/powerpc/include/pio.h
250
__inswrb(volatile uint16_t *a, uint16_t *d, size_t c)
sys/arch/powerpc/include/pio.h
252
while (c--)
sys/arch/powerpc/include/pio.h
258
__inslrb(volatile uint32_t *a, uint32_t *d, size_t c)
sys/arch/powerpc/include/pio.h
260
while (c--)
sys/arch/powerpc/include/pio.h
265
#define outsb(a,s,c) (__outsb((volatile uint8_t *)(a), s, c))
sys/arch/powerpc/include/pio.h
266
#define outs8(a,s,c) outsb(a,s,c)
sys/arch/powerpc/include/pio.h
267
#define outsw(a,s,c) (__outsw((volatile uint16_t *)(a), s, c))
sys/arch/powerpc/include/pio.h
268
#define outs16(a,s,c) outsw(a,s,c)
sys/arch/powerpc/include/pio.h
269
#define outsl(a,s,c) (__outsl((volatile uint32_t *)(a), s, c))
sys/arch/powerpc/include/pio.h
270
#define outs32(a,s,c) outsl(a,s,c)
sys/arch/powerpc/include/pio.h
271
#define insb(a,d,c) (__insb((volatile uint8_t *)(a), d, c))
sys/arch/powerpc/include/pio.h
272
#define ins8(a,d,c) insb(a,d,c)
sys/arch/powerpc/include/pio.h
273
#define insw(a,d,c) (__insw((volatile uint16_t *)(a), d, c))
sys/arch/powerpc/include/pio.h
274
#define ins16(a,d,c) insw(a,d,c)
sys/arch/powerpc/include/pio.h
275
#define insl(a,d,c) (__insl((volatile uint32_t *)(a), d, c))
sys/arch/powerpc/include/pio.h
276
#define ins32(a,d,c) insl(a,d,c)
sys/arch/powerpc/include/pio.h
278
#define outs8rb(a,s,c) outsb(a,s,c)
sys/arch/powerpc/include/pio.h
279
#define outswrb(a,s,c) (__outswrb((volatile uint16_t *)(a), s, c))
sys/arch/powerpc/include/pio.h
280
#define outs16rb(a,s,c) outswrb(a,s,c)
sys/arch/powerpc/include/pio.h
281
#define outslrb(a,s,c) (__outslrb((volatile uint32_t *)(a), s, c))
sys/arch/powerpc/include/pio.h
282
#define outs32rb(a,s,c) outslrb(a,s,c)
sys/arch/powerpc/include/pio.h
283
#define ins8rb(a,d,c) insb(a,d,c)
sys/arch/powerpc/include/pio.h
284
#define inswrb(a,d,c) (__inswrb((volatile uint16_t *)(a), d, c))
sys/arch/powerpc/include/pio.h
285
#define ins16rb(a,d,c) inswrb(a,d,c)
sys/arch/powerpc/include/pio.h
286
#define inslrb(a,d,c) (__inslrb((volatile uint32_t *)(a), d, c))
sys/arch/powerpc/include/pio.h
287
#define ins32rb(a,d,c) inslrb(a,d,c)
sys/arch/powerpc/mpc5200/psc.c
325
uint8_t c = PSC_READ_1(sc, PSC_RB);
sys/arch/powerpc/mpc5200/psc.c
329
sc->sc_rbuf[sc->sc_rbput] = c;
sys/arch/powerpc/mpc5200/psc.c
382
uint8_t c = sc->sc_rbuf[sc->sc_rbget];
sys/arch/powerpc/mpc5200/psc.c
384
if ((*rint)(c, tp) == -1)
sys/arch/powerpc/mpc5200/psc.c
636
psccnputc(dev_t dev, int c)
sys/arch/powerpc/mpc5200/psc.c
641
if (c == '\n')
sys/arch/powerpc/mpc5200/psc.c
645
PSC_CN_TB(&psc_console) = c;
sys/arch/powerpc/oea/ofw_consinit.c
380
u_char c = '\0';
sys/arch/powerpc/oea/ofw_consinit.c
386
len = OF_read(ofkbd_ihandle, &c, 1);
sys/arch/powerpc/oea/ofw_consinit.c
389
return c;
sys/arch/powerpc/pic/intr.c
95
find_pic_by_cookie(void *c)
sys/arch/powerpc/pic/intr.c
99
if (pics[i]->pic_cookie == c)
sys/arch/powerpc/powerpc/db_interface.c
789
char c;
sys/arch/powerpc/powerpc/db_interface.c
790
while ((c = *cp++) != 0)
sys/arch/powerpc/powerpc/db_interface.c
791
if (c == 'i')
sys/arch/powerpc/powerpc/db_trace.c
139
char c;
sys/arch/powerpc/powerpc/db_trace.c
154
while ((c = *cp++) != 0) {
sys/arch/powerpc/powerpc/db_trace.c
155
if (c == 'a') {
sys/arch/powerpc/powerpc/db_trace.c
159
if (c == 't')
sys/arch/powerpc/powerpc/db_trace.c
161
if (c == 'u')
sys/arch/powerpc/powerpc/db_trace.c
163
if (c == 'f')
sys/arch/powerpc/powerpc/in_cksum.c
113
s_util.c[0] = *w++;
sys/arch/powerpc/powerpc/in_cksum.c
218
s_util.c[1] = *w;
sys/arch/powerpc/powerpc/in_cksum.c
224
s_util.c[0] = *w;
sys/arch/powerpc/powerpc/in_cksum.c
232
s_util.c[1] = 0;
sys/arch/powerpc/powerpc/in_cksum.c
71
uint8_t c[2];
sys/arch/powerpc/powerpc/in_cksum.c
94
s_util.c[1] = *w++;
sys/arch/powerpc/powerpc/ofw_machdep.c
146
ofwbootcons_cnputc(dev_t dev, int c)
sys/arch/powerpc/powerpc/ofw_machdep.c
148
char ch = c;
sys/arch/powerpc/tools/chrpicon/chrpicontoppm/chrpicontoppm.c
170
int r, c;
sys/arch/powerpc/tools/chrpicon/chrpicontoppm/chrpicontoppm.c
199
for (c = 0; c < img->width; c++) {
sys/arch/powerpc/tools/chrpicon/chrpicontoppm/chrpicontoppm.c
203
img->pixels[r][c] = (chrpi_pixel)(strtoul(hexstr, NULL, 16));
sys/arch/prep/include/isa_machdep.h
52
#define isa_detach_hook(c, s) \
sys/arch/prep/include/isa_machdep.h
53
genppc_isa_detach_hook(c, s)
sys/arch/prep/include/loadfile_machdep.h
39
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/prep/include/loadfile_machdep.h
40
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/prep/include/loadfile_machdep.h
41
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/prep/pnpbus/nvram_pnpbus.c
449
u_int c;
sys/arch/prep/pnpbus/nvram_pnpbus.c
476
c = uimin(resid, PAGE_SIZE);
sys/arch/prep/pnpbus/nvram_pnpbus.c
477
error = uiomove(&nvramData[uio->uio_offset], c, uio);
sys/arch/prep/pnpbus/nvram_pnpbus.c
480
c = uimin(resid, PAGE_SIZE);
sys/arch/prep/pnpbus/nvram_pnpbus.c
481
error = uiomove(&rdata[uio->uio_offset], c, uio);
sys/arch/prep/stand/boot/boot.c
170
char c, *ptr;
sys/arch/prep/stand/boot/boot.c
196
while ((c = *ptr)) {
sys/arch/prep/stand/boot/boot.c
197
while (c == ' ')
sys/arch/prep/stand/boot/boot.c
198
c = *++ptr;
sys/arch/prep/stand/boot/boot.c
199
if (!c)
sys/arch/prep/stand/boot/boot.c
201
if (c == '-') {
sys/arch/prep/stand/boot/boot.c
202
while ((c = *++ptr) && c != ' ')
sys/arch/prep/stand/boot/boot.c
203
BOOT_FLAG(c, howto);
sys/arch/prep/stand/boot/boot.c
206
while ((c = *++ptr) && c != ' ');
sys/arch/prep/stand/boot/boot.c
207
if (c)
sys/arch/prep/stand/boot/cons.c
115
cnputc(int c)
sys/arch/prep/stand/boot/cons.c
119
(*cn_tab->cn_putc)(cn_tab->cn_dev, c);
sys/arch/prep/stand/boot/cons.c
157
vgacnputchar(void *dev, register int c)
sys/arch/prep/stand/boot/cons.c
160
vga_putc(c);
sys/arch/prep/stand/boot/cons.c
197
siocnputchar(void *dev, register int c)
sys/arch/prep/stand/boot/cons.c
200
if (c == '\n')
sys/arch/prep/stand/boot/cons.c
202
NS16550_putc((struct NS16550 *)dev, c);
sys/arch/prep/stand/boot/devopen.c
34
#define ispart(c) ((c) >= 'a' && (c) <= 'h')
sys/arch/prep/stand/boot/kbd.c
173
u_char c;
sys/arch/prep/stand/boot/kbd.c
182
if ((c = inb(KBDATAP)) != 0x55) {
sys/arch/prep/stand/boot/kbd.c
183
printf("Keyboard self test failed - result: %x\n", c);
sys/arch/prep/stand/boot/kbd.c
202
int c;
sys/arch/prep/stand/boot/kbd.c
203
while ((c = kbd(0)) == 0)
sys/arch/prep/stand/boot/kbd.c
205
return (c);
sys/arch/prep/stand/boot/ns16550.c
63
NS16550_putc(volatile struct NS16550 *com_port, int c)
sys/arch/prep/stand/boot/ns16550.c
68
com_port->thr = c;
sys/arch/prep/stand/boot/prf.c
35
putchar(int c)
sys/arch/prep/stand/boot/prf.c
38
cnputc(c);
sys/arch/prep/stand/boot/tgets.c
40
register int c;
sys/arch/prep/stand/boot/tgets.c
49
if ((c = cnscan()) != -1)
sys/arch/prep/stand/boot/tgets.c
56
c = getchar();
sys/arch/prep/stand/boot/tgets.c
58
for (lp = buf;; c = getchar()) {
sys/arch/prep/stand/boot/tgets.c
59
switch (c & 0177) {
sys/arch/prep/stand/boot/tgets.c
88
*lp++ = c;
sys/arch/prep/stand/boot/tgets.c
89
putchar(c);
sys/arch/prep/stand/boot/vga.c
127
#define wrtchar(c, d) { \
sys/arch/prep/stand/boot/vga.c
128
*(d->cp) = c; \
sys/arch/prep/stand/boot/vga.c
152
vga_putc(int c)
sys/arch/prep/stand/boot/vga.c
163
switch (c) {
sys/arch/prep/stand/boot/vga.c
198
wrtchar(d->color_so|(c<<8), d);
sys/arch/prep/stand/boot/vga.c
200
wrtchar(d->color | (c<<8), d);
sys/arch/prep/stand/boot/vga.c
214
switch (c) {
sys/arch/prep/stand/boot/vga.c
301
if ((c >= '0') && (c <= '9')) {
sys/arch/prep/stand/boot/vga.c
303
*(d->accp) += c - '0';
sys/arch/prep/stand/boot/vga.c
325
switch (c) {
sys/arch/prep/stand/boot/vga.c
357
if ((c >= '0') && (c <= '9')) {
sys/arch/prep/stand/boot/vga.c
359
d->cx += c - '0';
sys/arch/prep/stand/boot/vga.c
369
switch (c) {
sys/arch/prep/stand/boot/vga.c
399
char c;
sys/arch/prep/stand/boot/vga.c
400
while ((c = *s++)) {
sys/arch/prep/stand/boot/vga.c
401
vga_putc(c);
sys/arch/prep/stand/installboot/installboot.c
225
int c;
sys/arch/prep/stand/installboot/installboot.c
230
while ((c = getopt(argc, argv, "vn")) != EOF) {
sys/arch/prep/stand/installboot/installboot.c
231
switch (c) {
sys/arch/riscv/include/bus_funcs.h
108
#define bus_space_map(t, a, s, c, hp) \
sys/arch/riscv/include/bus_funcs.h
109
(*(t)->bs_map)((t), (a), (s), (c), (hp))
sys/arch/riscv/include/bus_funcs.h
119
#define bus_space_alloc(t, rs, re, s, a, b, c, ap, hp) \
sys/arch/riscv/include/bus_funcs.h
121
(c), (ap), (hp))
sys/arch/riscv/include/bus_funcs.h
161
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
162
__bs_nonsingle(rm,1,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
163
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
164
__bs_nonsingle(rm,2,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
165
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
166
__bs_nonsingle(rm,4,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
167
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
168
__bs_nonsingle(rm,8,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
170
#define bus_space_read_multi_stream_1(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
171
__bs_nonsingle_s(rm,1,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
172
#define bus_space_read_multi_stream_2(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
173
__bs_nonsingle_s(rm,2,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
174
#define bus_space_read_multi_stream_4(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
175
__bs_nonsingle_s(rm,4,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
176
#define bus_space_read_multi_stream_8(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
177
__bs_nonsingle_s(rm,8,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
184
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
185
__bs_nonsingle(rr,1,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
186
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
187
__bs_nonsingle(rr,2,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
188
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
189
__bs_nonsingle(rr,4,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
190
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
191
__bs_nonsingle(rr,8,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
193
#define bus_space_read_region_stream_1(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
194
__bs_nonsingle_s(rr,1,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
195
#define bus_space_read_region_stream_2(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
196
__bs_nonsingle_s(rr,2,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
197
#define bus_space_read_region_stream_4(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
198
__bs_nonsingle_s(rr,4,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
199
#define bus_space_read_region_stream_8(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
200
__bs_nonsingle_s(rr,8,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
222
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
223
__bs_nonsingle(wm,1,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
224
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
225
__bs_nonsingle(wm,2,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
226
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
227
__bs_nonsingle(wm,4,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
228
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
229
__bs_nonsingle(wm,8,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
231
#define bus_space_write_multi_stream_1(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
232
__bs_nonsingle_s(wm,1,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
233
#define bus_space_write_multi_stream_2(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
234
__bs_nonsingle_s(wm,2,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
235
#define bus_space_write_multi_stream_4(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
236
__bs_nonsingle_s(wm,4,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
237
#define bus_space_write_multi_stream_8(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
238
__bs_nonsingle_s(wm,8,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
245
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
246
__bs_nonsingle(wr,1,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
247
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
248
__bs_nonsingle(wr,2,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
249
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
250
__bs_nonsingle(wr,4,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
251
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
252
__bs_nonsingle(wr,8,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
254
#define bus_space_write_region_stream_1(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
255
__bs_nonsingle_s(wr,1,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
256
#define bus_space_write_region_stream_2(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
257
__bs_nonsingle_s(wr,2,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
258
#define bus_space_write_region_stream_4(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
259
__bs_nonsingle_s(wr,4,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
260
#define bus_space_write_region_stream_8(t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
261
__bs_nonsingle_s(wr,8,(t),(h),(o),(a),(c))
sys/arch/riscv/include/bus_funcs.h
268
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/arch/riscv/include/bus_funcs.h
269
__bs_set(sm,1,(t),(h),(o),(v),(c))
sys/arch/riscv/include/bus_funcs.h
270
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/arch/riscv/include/bus_funcs.h
271
__bs_set(sm,2,(t),(h),(o),(v),(c))
sys/arch/riscv/include/bus_funcs.h
272
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/arch/riscv/include/bus_funcs.h
273
__bs_set(sm,4,(t),(h),(o),(v),(c))
sys/arch/riscv/include/bus_funcs.h
274
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/arch/riscv/include/bus_funcs.h
275
__bs_set(sm,8,(t),(h),(o),(v),(c))
sys/arch/riscv/include/bus_funcs.h
280
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/riscv/include/bus_funcs.h
281
__bs_set(sr,1,(t),(h),(o),(v),(c))
sys/arch/riscv/include/bus_funcs.h
282
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/riscv/include/bus_funcs.h
283
__bs_set(sr,2,(t),(h),(o),(v),(c))
sys/arch/riscv/include/bus_funcs.h
284
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/riscv/include/bus_funcs.h
285
__bs_set(sr,4,(t),(h),(o),(v),(c))
sys/arch/riscv/include/bus_funcs.h
286
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arch/riscv/include/bus_funcs.h
287
__bs_set(sr,8,(t),(h),(o),(v),(c))
sys/arch/riscv/include/bus_funcs.h
292
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arch/riscv/include/bus_funcs.h
293
__bs_copy(1, t, h1, o1, h2, o2, c)
sys/arch/riscv/include/bus_funcs.h
294
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arch/riscv/include/bus_funcs.h
295
__bs_copy(2, t, h1, o1, h2, o2, c)
sys/arch/riscv/include/bus_funcs.h
296
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arch/riscv/include/bus_funcs.h
297
__bs_copy(4, t, h1, o1, h2, o2, c)
sys/arch/riscv/include/bus_funcs.h
298
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arch/riscv/include/bus_funcs.h
299
__bs_copy(8, t, h1, o1, h2, o2, c)
sys/arch/riscv/include/bus_funcs.h
77
#define __bs_nonsingle(type, sz, t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
78
(*(t)->__bs_opname(type,sz))(t, h, o, a, c)
sys/arch/riscv/include/bus_funcs.h
79
#define __bs_set(type, sz, t, h, o, v, c) \
sys/arch/riscv/include/bus_funcs.h
80
(*(t)->__bs_opname(type,sz))(t, h, o, v, c)
sys/arch/riscv/include/bus_funcs.h
82
(*(t)->__bs_opname(c,sz))(t, h1, o1, h2, o2, cnt)
sys/arch/riscv/include/bus_funcs.h
90
#define __bs_nonsingle_s(type, sz, t, h, o, a, c) \
sys/arch/riscv/include/bus_funcs.h
91
(*(t)->__bs_opname_s(type,sz))(t, h, o, a, c)
sys/arch/riscv/include/bus_funcs.h
92
#define __bs_set_s(type, sz, t, h, o, v, c) \
sys/arch/riscv/include/bus_funcs.h
93
(*(t)->__bs_opname_s(type,sz))(t, h, o, v, c)
sys/arch/riscv/include/bus_funcs.h
95
(*(t)->__bs_opname_s(c,sz))(t, h1, o1, h2, o2, cnt)
sys/arch/riscv/include/loadfile_machdep.h
23
#define READ(f, b, c) read((f), (void*)LOADADDR(b), (c))
sys/arch/riscv/include/loadfile_machdep.h
24
#define BCOPY(s, d, c) memmove((void*)LOADADDR(d), (void*)(s), (c))
sys/arch/riscv/include/loadfile_machdep.h
25
#define BZERO(d, c) memset((void*)LOADADDR(d), 0, (c))
sys/arch/riscv/include/pci_machdep.h
175
#define pci_bus_maxdevs(c, b) \
sys/arch/riscv/include/pci_machdep.h
176
(*(c)->pc_bus_maxdevs)((c)->pc_conf_v, (b))
sys/arch/riscv/include/pci_machdep.h
177
#define pci_make_tag(c, b, d, f) \
sys/arch/riscv/include/pci_machdep.h
178
(*(c)->pc_make_tag)((c)->pc_conf_v, (b), (d), (f))
sys/arch/riscv/include/pci_machdep.h
179
#define pci_decompose_tag(c, t, bp, dp, fp) \
sys/arch/riscv/include/pci_machdep.h
180
(*(c)->pc_decompose_tag)((c)->pc_conf_v, (t), (bp), (dp), (fp))
sys/arch/riscv/include/pci_machdep.h
181
#define pci_get_segment(c) \
sys/arch/riscv/include/pci_machdep.h
182
((c)->pc_get_segment ? (*(c)->pc_get_segment)((c)->pc_conf_v) : 0)
sys/arch/riscv/include/pci_machdep.h
183
#define pci_get_devid(c, d) \
sys/arch/riscv/include/pci_machdep.h
184
((c)->pc_get_devid ? (*(c)->pc_get_devid)((c)->pc_conf_v, (d)) : (d))
sys/arch/riscv/include/pci_machdep.h
185
#define pci_get_frameid(c, d) \
sys/arch/riscv/include/pci_machdep.h
186
((c)->pc_get_frameid ? (*(c)->pc_get_frameid)((c)->pc_conf_v, (d)) : 0)
sys/arch/riscv/include/pci_machdep.h
187
#define pci_conf_read(c, t, r) \
sys/arch/riscv/include/pci_machdep.h
188
(*(c)->pc_conf_read)((c)->pc_conf_v, (t), (r))
sys/arch/riscv/include/pci_machdep.h
189
#define pci_conf_write(c, t, r, v) \
sys/arch/riscv/include/pci_machdep.h
190
(*(c)->pc_conf_write)((c)->pc_conf_v, (t), (r), (v))
sys/arch/riscv/include/pci_machdep.h
193
#define pci_intr_string(c, ih, buf, len) \
sys/arch/riscv/include/pci_machdep.h
194
(*(c)->pc_intr_string)((c)->pc_intr_v, (ih), (buf), (len))
sys/arch/riscv/include/pci_machdep.h
195
#define pci_intr_evcnt(c, ih) \
sys/arch/riscv/include/pci_machdep.h
196
(*(c)->pc_intr_evcnt)((c)->pc_intr_v, (ih))
sys/arch/riscv/include/pci_machdep.h
197
#define pci_intr_establish(c, ih, l, h, a) \
sys/arch/riscv/include/pci_machdep.h
198
(*(c)->pc_intr_establish)((c)->pc_intr_v, (ih), (l), (h), (a), NULL)
sys/arch/riscv/include/pci_machdep.h
199
#define pci_intr_disestablish(c, iv) \
sys/arch/riscv/include/pci_machdep.h
200
(*(c)->pc_intr_disestablish)((c)->pc_intr_v, (iv))
sys/arch/riscv/include/pci_machdep.h
202
#define pci_conf_hook(c, b, d, f, id) \
sys/arch/riscv/include/pci_machdep.h
203
(*(c)->pc_conf_hook)((c)->pc_conf_v, (b), (d), (f), (id))
sys/arch/riscv/include/pci_machdep.h
205
#define pci_conf_interrupt(c, b, d, i, s, p) \
sys/arch/riscv/include/pci_machdep.h
206
(*(c)->pc_conf_interrupt)((c)->pc_conf_v, (b), (d), (i), (s), (p))
sys/arch/riscv/include/sbi.h
362
sbi_legacy_console_putchar(int c) {
sys/arch/riscv/include/sbi.h
363
struct sbiret ret = SBI_LEGACY_CALL1(SBI_LEGACY_CONSOLE_PUTCHAR, c);
sys/arch/riscv/riscv/mainbus.c
76
com_platform_early_putchar(char c)
sys/arch/riscv/riscv/mainbus.c
88
uartaddr[com_data] = c;
sys/arch/riscv/riscv/riscv_machdep.c
102
earlyconsputc(dev_t dev, int c)
sys/arch/riscv/riscv/riscv_machdep.c
104
uartputc(c);
sys/arch/riscv/riscv/sig32_machdep.c
10
#define UCLINK_SET(uc,c) ((uc)->uc_link = (uint32_t)(intptr_t)(c))
sys/arch/riscv/riscv/sig_machdep.c
53
#define UCLINK_SET(uc,c) ((uc)->uc_link = (c))
sys/arch/riscv/starfive/jh7110_pcie.c
412
for (u_int c = 0;
sys/arch/riscv/starfive/jh7110_pcie.c
413
(clk = fdtbus_clock_get_index(phsc->sc_phandle, c)) != NULL;
sys/arch/riscv/starfive/jh7110_pcie.c
414
c++) {
sys/arch/riscv/starfive/jh7110_pcie.c
417
"couldn't enable clock #%d\n", c);
sys/arch/rs6000/include/loadfile_machdep.h
39
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/rs6000/include/loadfile_machdep.h
40
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/rs6000/include/loadfile_machdep.h
41
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/rs6000/rs6000/machdep.c
578
int stat, c;
sys/arch/rs6000/rs6000/machdep.c
589
c = KCOM_GETBYTE(com_data);
sys/arch/rs6000/rs6000/machdep.c
593
return c;
sys/arch/rs6000/rs6000/machdep.c
600
kcomcnputc(dev_t dev, int c)
sys/arch/rs6000/rs6000/machdep.c
613
KCOM_PUTBYTE(com_data, c);
sys/arch/rs6000/stand/boot/boot.c
233
char c, *ptr;
sys/arch/rs6000/stand/boot/boot.c
259
while ((c = *ptr)) {
sys/arch/rs6000/stand/boot/boot.c
260
while (c == ' ')
sys/arch/rs6000/stand/boot/boot.c
261
c = *++ptr;
sys/arch/rs6000/stand/boot/boot.c
262
if (!c)
sys/arch/rs6000/stand/boot/boot.c
264
if (c == '-') {
sys/arch/rs6000/stand/boot/boot.c
265
while ((c = *++ptr) && c != ' ')
sys/arch/rs6000/stand/boot/boot.c
266
BOOT_FLAG(c, howto);
sys/arch/rs6000/stand/boot/boot.c
269
while ((c = *++ptr) && c != ' ');
sys/arch/rs6000/stand/boot/boot.c
270
if (c)
sys/arch/rs6000/stand/boot/cons.c
103
cnputc(int c)
sys/arch/rs6000/stand/boot/cons.c
107
(*cn_tab->cn_putc)(cn_tab->cn_dev, c);
sys/arch/rs6000/stand/boot/cons.c
145
siocnputchar(void *dev, register int c)
sys/arch/rs6000/stand/boot/cons.c
148
if (c == '\n')
sys/arch/rs6000/stand/boot/cons.c
150
NS16550_putc((struct NS16550 *)dev, c);
sys/arch/rs6000/stand/boot/devopen.c
34
#define ispart(c) ((c) >= 'a' && (c) <= 'h')
sys/arch/rs6000/stand/boot/ns16550.c
63
NS16550_putc(volatile struct NS16550 *com_port, int c)
sys/arch/rs6000/stand/boot/ns16550.c
68
com_port->thr = c;
sys/arch/rs6000/stand/boot/prf.c
35
putchar(int c)
sys/arch/rs6000/stand/boot/prf.c
38
cnputc(c);
sys/arch/rs6000/stand/boot/tgets.c
40
register int c;
sys/arch/rs6000/stand/boot/tgets.c
49
if ((c = cnscan()) != -1)
sys/arch/rs6000/stand/boot/tgets.c
56
c = getchar();
sys/arch/rs6000/stand/boot/tgets.c
58
for (lp = buf;; c = getchar()) {
sys/arch/rs6000/stand/boot/tgets.c
59
switch (c & 0177) {
sys/arch/rs6000/stand/boot/tgets.c
88
*lp++ = c;
sys/arch/rs6000/stand/boot/tgets.c
89
putchar(c);
sys/arch/sandpoint/include/isa_machdep.h
46
#define isa_detach_hook(c, s) \
sys/arch/sandpoint/include/isa_machdep.h
47
genppc_isa_detach_hook(c, s)
sys/arch/sandpoint/include/loadfile_machdep.h
39
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/sandpoint/include/loadfile_machdep.h
40
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/sandpoint/include/loadfile_machdep.h
41
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/sandpoint/sandpoint/machdep.c
602
int s, c;
sys/arch/sandpoint/sandpoint/machdep.c
619
c = UART_READ(RBR);
sys/arch/sandpoint/sandpoint/machdep.c
621
return c & 0xff;
sys/arch/sandpoint/sandpoint/machdep.c
625
kcomcnputc(dev_t dev, int c)
sys/arch/sandpoint/sandpoint/machdep.c
636
UART_WRITE(THR, c);
sys/arch/sandpoint/stand/altboot/brdsetup.c
1257
putchar(int c)
sys/arch/sandpoint/stand/altboot/brdsetup.c
1261
if (c == '\n')
sys/arch/sandpoint/stand/altboot/brdsetup.c
1269
UART_WRITE(uart1base, THR, c);
sys/arch/sandpoint/stand/altboot/main.c
247
unsigned c;
sys/arch/sandpoint/stand/altboot/main.c
249
c = toupper(getchar());
sys/arch/sandpoint/stand/altboot/main.c
250
if (c == 'C') {
sys/arch/sandpoint/stand/altboot/main.c
256
else if (c == 'F') {
sys/arch/sandpoint/stand/altboot/main.c
629
static int hex2nibble(char c)
sys/arch/sandpoint/stand/altboot/main.c
632
if (c >= 'a')
sys/arch/sandpoint/stand/altboot/main.c
633
c &= ~0x20;
sys/arch/sandpoint/stand/altboot/main.c
634
if (c >= 'A' && c <= 'F')
sys/arch/sandpoint/stand/altboot/main.c
635
c -= 'A' - ('9' + 1);
sys/arch/sandpoint/stand/altboot/main.c
636
else if (c < '0' || c > '9')
sys/arch/sandpoint/stand/altboot/main.c
639
return c - '0';
sys/arch/sandpoint/stand/altboot/main.c
715
is_space(char c)
sys/arch/sandpoint/stand/altboot/main.c
718
return c > '\0' && c <= ' ';
sys/arch/sandpoint/stand/altboot/main.c
727
unsigned char c, *p;
sys/arch/sandpoint/stand/altboot/main.c
734
for (i = 0, n = 0, c = 0; buf[i]; i++) {
sys/arch/sandpoint/stand/altboot/main.c
735
c <<= 4;
sys/arch/sandpoint/stand/altboot/main.c
736
c |= hex2nibble(buf[i]);
sys/arch/sandpoint/stand/altboot/main.c
738
buf[n++] = c;
sys/arch/sandpoint/stand/altboot/main.c
761
unsigned char c;
sys/arch/sandpoint/stand/altboot/main.c
782
c = buf[i + j];
sys/arch/sandpoint/stand/altboot/main.c
783
putchar((c >= 0x20 && c <= 0x7e) ? c : '.');
sys/arch/sandpoint/stand/altboot/main.c
794
for (i = 2, n = 0, c = 0; buf[i]; i++) {
sys/arch/sandpoint/stand/altboot/main.c
795
c <<= 4;
sys/arch/sandpoint/stand/altboot/main.c
796
c |= hex2nibble(buf[i]);
sys/arch/sandpoint/stand/altboot/main.c
798
buf[n++] = c;
sys/arch/sbmips/include/loadfile_machdep.h
40
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/sbmips/include/loadfile_machdep.h
41
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/sbmips/include/loadfile_machdep.h
42
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/sbmips/sbmips/machdep.c
398
cswarm_setled(u_int index, char c)
sys/arch/sbmips/sbmips/machdep.c
404
led_ptr[0x20 + ((3 - index) << 3)] = c;
sys/arch/sbmips/stand/common/cfe.c
52
void putchar(int c)
sys/arch/sbmips/stand/common/cfe.c
56
ch = (char) c;
sys/arch/sbmips/stand/common/cfe_api.h
164
#define cfe_cpu_start(a,b,c,d,e) __cfe_cpu_start(a,b,c,d,e)
sys/arch/sbmips/stand/common/cfe_api.h
167
#define cfe_enummem(a,b,c,d,e) __cfe_enummem(a,b,c,d,e)
sys/arch/sbmips/stand/common/cfe_api.h
171
#define cfe_getenv(a,b,c) __cfe_getenv(a,b,c)
sys/arch/sbmips/stand/common/cfe_api.h
176
#define cfe_ioctl(a,b,c,d,e,f) __cfe_ioctl(a,b,c,d,e,f)
sys/arch/sbmips/stand/common/cfe_api.h
178
#define cfe_read(a,b,c) __cfe_read(a,b,c)
sys/arch/sbmips/stand/common/cfe_api.h
179
#define cfe_readblk(a,b,c,d) __cfe_readblk(a,b,c,d)
sys/arch/sbmips/stand/common/cfe_api.h
181
#define cfe_write(a,b,c) __cfe_write(a,b,c)
sys/arch/sbmips/stand/common/cfe_api.h
182
#define cfe_writeblk(a,b,c,d) __cfe_writeblk(a,b,c,d)
sys/arch/sbmips/stand/netboot/devopen.c
101
*ncp++ = c;
sys/arch/sbmips/stand/netboot/devopen.c
106
if ((c = *cp) >= '0' && c <= '9') {
sys/arch/sbmips/stand/netboot/devopen.c
107
ctlr = c - '0';
sys/arch/sbmips/stand/netboot/devopen.c
108
c = *++cp;
sys/arch/sbmips/stand/netboot/devopen.c
111
if (c == ',') {
sys/arch/sbmips/stand/netboot/devopen.c
113
if ((c = *++cp) >= '0' && c <= '9') {
sys/arch/sbmips/stand/netboot/devopen.c
114
unit = c - '0';
sys/arch/sbmips/stand/netboot/devopen.c
115
c = *++cp;
sys/arch/sbmips/stand/netboot/devopen.c
118
if (c == ',') {
sys/arch/sbmips/stand/netboot/devopen.c
120
if ((c = *++cp) >= '0' && c <= '9') {
sys/arch/sbmips/stand/netboot/devopen.c
121
part = c - '0';
sys/arch/sbmips/stand/netboot/devopen.c
122
c = *++cp;
sys/arch/sbmips/stand/netboot/devopen.c
126
if (c != ')')
sys/arch/sbmips/stand/netboot/devopen.c
51
register int c, i;
sys/arch/sbmips/stand/netboot/devopen.c
62
if ((c = *cp) >= '0' && c <= '9') {
sys/arch/sbmips/stand/netboot/devopen.c
63
ctlr = c - '0';
sys/arch/sbmips/stand/netboot/devopen.c
68
while ((c = *cp) != '\0') {
sys/arch/sbmips/stand/netboot/devopen.c
69
if (c == '/')
sys/arch/sbmips/stand/netboot/devopen.c
71
if (c >= '0' && c <= '9') {
sys/arch/sbmips/stand/netboot/devopen.c
73
unit = c - '0';
sys/arch/sbmips/stand/netboot/devopen.c
76
if ((c = *++cp) >= 'a' && c <= 'h') {
sys/arch/sbmips/stand/netboot/devopen.c
77
part = c - 'a';
sys/arch/sbmips/stand/netboot/devopen.c
78
c = *++cp;
sys/arch/sbmips/stand/netboot/devopen.c
80
if (c != '/')
sys/arch/sbmips/stand/netboot/devopen.c
85
*ncp++ = c;
sys/arch/sbmips/stand/netboot/devopen.c
95
while ((c = *cp) != '\0') {
sys/arch/sbmips/stand/netboot/devopen.c
96
if (c == '(') {
sys/arch/sgimips/dev/crmfb.c
1443
crmfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/arch/sgimips/dev/crmfb.c
1448
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/arch/sgimips/dev/crmfb.c
1463
uc = c - font->firstchar;
sys/arch/sgimips/dev/crmfb.c
1465
if (c == 0x20) {
sys/arch/sgimips/dev/crmfb.c
1521
crmfb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/arch/sgimips/dev/crmfb.c
1526
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/arch/sgimips/dev/crmfb.c
1539
uc = c - font->firstchar;
sys/arch/sgimips/dev/crmfb.c
1546
if (c == 0x20)
sys/arch/sgimips/dev/crmfb.c
605
crmfb_init_screen(void *c, struct vcons_screen *scr, int existing,
sys/arch/sgimips/dev/crmfb.c
611
sc = (struct crmfb_softc *)c;
sys/arch/sgimips/dev/scn.c
1540
int c, sr;
sys/arch/sgimips/dev/scn.c
1547
c = sc->sc_rbuf[get++ & SCN_RING_MASK];
sys/arch/sgimips/dev/scn.c
1549
sr = c >> 8; /* extract status */
sys/arch/sgimips/dev/scn.c
1550
c &= 0xff; /* leave just character */
sys/arch/sgimips/dev/scn.c
1557
c |= TTY_PE;
sys/arch/sgimips/dev/scn.c
1561
c |= TTY_FE;
sys/arch/sgimips/dev/scn.c
1573
c = TTY_FE | 0;
sys/arch/sgimips/dev/scn.c
1577
(*tp->t_linesw->l_rint) (c, tp);
sys/arch/sgimips/dev/scn.c
1815
int s, c;
sys/arch/sgimips/dev/scn.c
1828
if ((c = getc(&tp->t_outq)) == -1)
sys/arch/sgimips/dev/scn.c
1830
sc->sc_chbase[CH_DAT] = c;
sys/arch/sgimips/dev/scn.c
1915
char c;
sys/arch/sgimips/dev/scn.c
1922
c = ch_base[CH_DAT];
sys/arch/sgimips/dev/scn.c
1925
return c;
sys/arch/sgimips/dev/scn.c
1937
scncnputc(dev_t dev, int c)
sys/arch/sgimips/dev/scn.c
1947
if (c == '\n')
sys/arch/sgimips/dev/scn.c
1952
ch_base[CH_DAT] = c;
sys/arch/sgimips/dev/zs.c
695
register int s, c, rr0;
sys/arch/sgimips/dev/zs.c
704
c = zc->zc_data;
sys/arch/sgimips/dev/zs.c
708
return (c);
sys/arch/sgimips/dev/zs.c
715
zs_putc(void *arg, int c)
sys/arch/sgimips/dev/zs.c
727
zc->zc_data = c;
sys/arch/sgimips/dev/zs.c
799
zscnputc(dev_t dev, int c)
sys/arch/sgimips/dev/zs.c
815
zs_putc(zs, c);
sys/arch/sgimips/dev/zs_kbd.c
259
uint8_t c, r;
sys/arch/sgimips/dev/zs_kbd.c
270
c = zs_read_data(cs);
sys/arch/sgimips/dev/zs_kbd.c
272
dc->rxq[dc->rxq_tail] = c;
sys/arch/sgimips/dev/zs_kbd.c
345
zskbd_send(struct zs_chanstate *cs, uint8_t *c, u_int len)
sys/arch/sgimips/dev/zs_kbd.c
356
zs_write_data(cs, c[i]);
sys/arch/sgimips/dev/zs_kbd.c
359
dc->txq[dc->txq_tail] = c[i];
sys/arch/sgimips/dev/zs_kgdb.c
210
register u_char c, rr1;
sys/arch/sgimips/dev/zs_kgdb.c
217
c = zs_read_data(cs);
sys/arch/sgimips/dev/zs_kgdb.c
224
if (c == KGDB_START) {
sys/arch/sgimips/dev/zs_ms.c
180
uint8_t c, r;
sys/arch/sgimips/dev/zs_ms.c
189
c = zs_read_data(cs);
sys/arch/sgimips/dev/zs_ms.c
191
sc->rxq[sc->rxq_tail] = c;
sys/arch/sgimips/dev/zs_ms.c
232
int8_t c = sc->rxq[sc->rxq_head];
sys/arch/sgimips/dev/zs_ms.c
236
if ((c & ZSMS_SYNC_MASK) == ZSMS_SYNC) {
sys/arch/sgimips/dev/zs_ms.c
237
sc->packet[ZSMS_PACKET_SYNC] = c;
sys/arch/sgimips/dev/zs_ms.c
243
sc->packet[ZSMS_PACKET_X1] = c;
sys/arch/sgimips/dev/zs_ms.c
248
sc->packet[ZSMS_PACKET_Y1] = c;
sys/arch/sgimips/dev/zs_ms.c
253
sc->packet[ZSMS_PACKET_X2] = c;
sys/arch/sgimips/dev/zs_ms.c
258
sc->packet[ZSMS_PACKET_Y2] = c;
sys/arch/sgimips/gio/grtwo.c
553
grtwo_cursor(void *c, int on, int row, int col)
sys/arch/sgimips/gio/grtwo.c
555
struct grtwo_devconfig *dc = (void *) c;
sys/arch/sgimips/gio/grtwo.c
576
grtwo_mapchar(void *c, int ch, unsigned int *cp)
sys/arch/sgimips/gio/grtwo.c
578
struct grtwo_devconfig *dc = (void *) c;
sys/arch/sgimips/gio/grtwo.c
599
grtwo_putchar(void *c, int row, int col, u_int ch, long attr)
sys/arch/sgimips/gio/grtwo.c
601
struct grtwo_devconfig *dc = (void *) c;
sys/arch/sgimips/gio/grtwo.c
643
grtwo_copycols(void *c, int row, int srccol, int dstcol, int ncols)
sys/arch/sgimips/gio/grtwo.c
648
struct grtwo_devconfig *dc = (void *) c;
sys/arch/sgimips/gio/grtwo.c
661
grtwo_erasecols(void *c, int row, int startcol, int ncols, long attr)
sys/arch/sgimips/gio/grtwo.c
663
struct grtwo_devconfig *dc = (void *) c;
sys/arch/sgimips/gio/grtwo.c
675
grtwo_copyrows(void *c, int srcrow, int dstrow, int nrows)
sys/arch/sgimips/gio/grtwo.c
677
struct grtwo_devconfig *dc = (void *) c;
sys/arch/sgimips/gio/grtwo.c
690
grtwo_eraserows(void *c, int startrow, int nrows, long attr)
sys/arch/sgimips/gio/grtwo.c
692
struct grtwo_devconfig *dc = (void *) c;
sys/arch/sgimips/gio/grtwo.c
703
grtwo_allocattr(void *c, int fg, int bg, int flags, long *attr)
sys/arch/sgimips/gio/grtwo.c
728
grtwo_ioctl(void *c, void *vs, u_long cmd, void *data, int flag,
sys/arch/sgimips/gio/grtwo.c
731
struct grtwo_softc *sc = c;
sys/arch/sgimips/gio/grtwo.c
750
grtwo_mmap(void *c, void *vs, off_t offset, int prot)
sys/arch/sgimips/gio/grtwo.c
752
struct grtwo_devconfig *dc = c;
sys/arch/sgimips/gio/grtwo.c
761
grtwo_alloc_screen(void *c, const struct wsscreen_descr * type, void **cookiep,
sys/arch/sgimips/gio/grtwo.c
773
grtwo_free_screen(void *c, void *cookie)
sys/arch/sgimips/gio/grtwo.c
778
grtwo_show_screen(void *c, void *cookie, int waitok,
sys/arch/sgimips/gio/light.c
364
light_cursor(void *c, int on, int row, int col)
sys/arch/sgimips/gio/light.c
370
light_mapchar(void *c, int ch, unsigned int *cp)
sys/arch/sgimips/gio/light.c
372
struct light_devconfig *dc = (void *)c;
sys/arch/sgimips/gio/light.c
394
light_putchar(void *c, int row, int col, u_int ch, long attr)
sys/arch/sgimips/gio/light.c
396
struct light_devconfig *dc = c;
sys/arch/sgimips/gio/light.c
434
light_copycols(void *c, int row, int srccol, int dstcol, int ncols)
sys/arch/sgimips/gio/light.c
436
struct light_devconfig *dc = c;
sys/arch/sgimips/gio/light.c
447
rex_copy_rect(c, from_x, from_y, to_x, to_y, width, height);
sys/arch/sgimips/gio/light.c
452
light_erasecols(void *c, int row, int startcol, int ncols, long attr)
sys/arch/sgimips/gio/light.c
454
struct light_devconfig *dc = c;
sys/arch/sgimips/gio/light.c
463
rex_fill_rect(c, from_x, from_y, to_x, to_y, attr);
sys/arch/sgimips/gio/light.c
468
light_copyrows(void *c, int srcrow, int dstrow, int nrows)
sys/arch/sgimips/gio/light.c
470
struct light_devconfig *dc = c;
sys/arch/sgimips/gio/light.c
481
rex_copy_rect(c, from_x, from_y, to_x, to_y, width, height);
sys/arch/sgimips/gio/light.c
486
light_eraserows(void *c, int row, int nrows, long attr)
sys/arch/sgimips/gio/light.c
488
struct light_devconfig *dc = c;
sys/arch/sgimips/gio/light.c
497
rex_fill_rect(c, from_x, from_y, to_x, to_y, attr);
sys/arch/sgimips/gio/light.c
501
light_allocattr(void *c, int fg, int bg, int flags, long *attr)
sys/arch/sgimips/gio/light.c
530
light_ioctl(void *c, void *vs, u_long cmd, void *data, int flag,
sys/arch/sgimips/gio/light.c
558
rex_vc1_write(c,rex_vc1_read(c) & ~VC1_SYSCTL_VIDEO_ON);
sys/arch/sgimips/gio/light.c
560
rex_vc1_write(c, rex_vc1_read(c) | VC1_SYSCTL_VIDEO_ON);
sys/arch/sgimips/gio/light.c
561
rex_fill_rect(c, 0, 0, LIGHT_XRES-1, LIGHT_YRES-1, 0);
sys/arch/sgimips/gio/light.c
570
light_mmap(void *c, void *vs, off_t off, int prot)
sys/arch/sgimips/gio/light.c
572
struct light_devconfig *dc = c;
sys/arch/sgimips/gio/light.c
581
light_alloc_screen(void *c, const struct wsscreen_descr *type, void **cookiep,
sys/arch/sgimips/gio/light.c
589
light_free_screen(void *c, void *cookie)
sys/arch/sgimips/gio/light.c
596
light_show_screen(void *c, void *cookie, int waitok,
sys/arch/sgimips/gio/newport.c
1125
newport_cursor_dummy(void *c, int on, int row, int col)
sys/arch/sgimips/gio/newport.c
1130
newport_cursor(void *c, int on, int row, int col)
sys/arch/sgimips/gio/newport.c
1132
struct rasops_info *ri = c;
sys/arch/sgimips/gio/newport.c
1160
newport_putchar(void *c, int row, int col, u_int ch, long attr)
sys/arch/sgimips/gio/newport.c
1162
struct rasops_info *ri = c;
sys/arch/sgimips/gio/newport.c
1222
newport_copycols(void *c, int row, int srccol, int dstcol, int ncols)
sys/arch/sgimips/gio/newport.c
1224
struct rasops_info *ri = c;
sys/arch/sgimips/gio/newport.c
1238
newport_erasecols(void *c, int row, int startcol, int ncols,
sys/arch/sgimips/gio/newport.c
1241
struct rasops_info *ri = c;
sys/arch/sgimips/gio/newport.c
1255
newport_copyrows(void *c, int srcrow, int dstrow, int nrows)
sys/arch/sgimips/gio/newport.c
1257
struct rasops_info *ri = c;
sys/arch/sgimips/gio/newport.c
1272
newport_eraserows(void *c, int startrow, int nrows, long attr)
sys/arch/sgimips/gio/newport.c
1274
struct rasops_info *ri = c;
sys/arch/sgimips/include/loadfile_machdep.h
44
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/sgimips/include/loadfile_machdep.h
45
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), \
sys/arch/sgimips/include/loadfile_machdep.h
46
(void *)(vaddr_t)(s), (c))
sys/arch/sgimips/include/loadfile_machdep.h
47
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/sgimips/sgimips/arcemu.c
712
arcemu_prom_putc(dev_t dummy, int c)
sys/arch/sgimips/sgimips/arcemu.c
714
sgi_prom_printf("%c", c);
sys/arch/sgimips/stand/common/iris_cons.c
128
zscnputchar(void *dev, int c)
sys/arch/sgimips/stand/common/iris_cons.c
131
if (c == '\n')
sys/arch/sgimips/stand/common/iris_cons.c
133
zscnputc(dev, c);
sys/arch/sgimips/stand/common/iris_cons.c
90
cnputc(int c)
sys/arch/sgimips/stand/common/iris_cons.c
94
(*cn_tab->cn_putc)(cn_tab->cn_dev, c);
sys/arch/sgimips/stand/common/iris_prf.c
36
putchar(int c)
sys/arch/sgimips/stand/common/iris_prf.c
39
cnputc(c);
sys/arch/sgimips/stand/common/iris_zs.c
180
zscnputc(void *dev, int c)
sys/arch/sgimips/stand/common/iris_zs.c
186
zs_putc(zs, c);
sys/arch/sgimips/stand/common/iris_zs.c
190
zs_putc(void *arg, int c)
sys/arch/sgimips/stand/common/iris_zs.c
201
zc->zc_data = c;
sys/arch/sgimips/stand/common/iris_zs.c
219
int c, rr0;
sys/arch/sgimips/stand/common/iris_zs.c
227
c = zc->zc_data;
sys/arch/sgimips/stand/common/iris_zs.c
230
return c;
sys/arch/sgimips/stand/common/iris_zs.c
247
int c, rr0;
sys/arch/sgimips/stand/common/iris_zs.c
257
c = zc->zc_data;
sys/arch/sgimips/stand/common/iris_zs.c
260
return c;
sys/arch/sgimips/stand/common/putchar.c
36
putchar(int c)
sys/arch/sgimips/stand/common/putchar.c
41
if (c == '\n') {
sys/arch/sgimips/stand/common/putchar.c
46
ch = c;
sys/arch/sh3/dev/sci.c
1299
int c;
sys/arch/sh3/dev/sci.c
1303
c = sci_getc();
sys/arch/sh3/dev/sci.c
1306
return (c);
sys/arch/sh3/dev/sci.c
1310
scicnputc(dev_t dev, int c)
sys/arch/sh3/dev/sci.c
1315
sci_putc((u_char)c);
sys/arch/sh3/dev/sci.c
324
sci_putc(unsigned char c)
sys/arch/sh3/dev/sci.c
332
SHREG_SCTDR = c;
sys/arch/sh3/dev/sci.c
357
unsigned char c, err_c;
sys/arch/sh3/dev/sci.c
367
c = SHREG_SCRDR;
sys/arch/sh3/dev/sci.c
371
return(c);
sys/arch/sh3/dev/scif.c
1219
u_char c = scif_frdr_read();
sys/arch/sh3/dev/scif.c
1230
put[0] = c;
sys/arch/sh3/dev/scif.c
1438
int c;
sys/arch/sh3/dev/scif.c
1442
c = scif_getc();
sys/arch/sh3/dev/scif.c
1445
return (c);
sys/arch/sh3/dev/scif.c
1449
scifcnputc(dev_t dev, int c)
sys/arch/sh3/dev/scif.c
1454
scif_putc((u_char)c);
sys/arch/sh3/dev/scif.c
379
scif_putc(unsigned char c)
sys/arch/sh3/dev/scif.c
387
scif_ftdr_write(c);
sys/arch/sh3/dev/scif.c
396
unsigned char c, err_c;
sys/arch/sh3/dev/scif.c
406
c = scif_frdr_read();
sys/arch/sh3/dev/scif.c
422
return(c);
sys/arch/sh3/include/int_const.h
44
#define INT8_C(c) c
sys/arch/sh3/include/int_const.h
45
#define INT16_C(c) c
sys/arch/sh3/include/int_const.h
46
#define INT32_C(c) c
sys/arch/sh3/include/int_const.h
47
#define INT64_C(c) c ## LL
sys/arch/sh3/include/int_const.h
49
#define UINT8_C(c) c
sys/arch/sh3/include/int_const.h
50
#define UINT16_C(c) c
sys/arch/sh3/include/int_const.h
51
#define UINT32_C(c) c ## U
sys/arch/sh3/include/int_const.h
52
#define UINT64_C(c) c ## ULL
sys/arch/sh3/include/int_const.h
56
#define INTMAX_C(c) c ## LL
sys/arch/sh3/include/int_const.h
57
#define UINTMAX_C(c) c ## ULL
sys/arch/sh3/include/sh_ipl.h
42
void sh_ipl_putc(char c);
sys/arch/sh3/sh3/db_interface.c
263
#define ON(x, c) ((x) & (c) ? '|' : '.')
sys/arch/sh3/sh3/db_trace.c
108
char c;
sys/arch/sh3/sh3/db_trace.c
113
while ((c = *cp++) != 0) {
sys/arch/sh3/sh3/db_trace.c
114
if (c == 'a')
sys/arch/sh3/sh3/db_trace.c
116
else if (c == 't')
sys/arch/sh3/sh3/sh3_bus_space.c
519
bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/sh3/sh3/sh3_bus_space.c
525
while (c--)
sys/arch/sh3/sh3/sh3_bus_space.c
528
addr1 += c - 1;
sys/arch/sh3/sh3/sh3_bus_space.c
529
addr2 += c - 1;
sys/arch/sh3/sh3/sh3_bus_space.c
530
while (c--)
sys/arch/sh3/sh3/sh3_bus_space.c
537
bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/sh3/sh3/sh3_bus_space.c
543
while (c--)
sys/arch/sh3/sh3/sh3_bus_space.c
546
addr1 += c - 1;
sys/arch/sh3/sh3/sh3_bus_space.c
547
addr2 += c - 1;
sys/arch/sh3/sh3/sh3_bus_space.c
548
while (c--)
sys/arch/sh3/sh3/sh3_bus_space.c
555
bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/sh3/sh3/sh3_bus_space.c
561
while (c--)
sys/arch/sh3/sh3/sh3_bus_space.c
564
addr1 += c - 1;
sys/arch/sh3/sh3/sh3_bus_space.c
565
addr2 += c - 1;
sys/arch/sh3/sh3/sh3_bus_space.c
566
while (c--)
sys/arch/shark/include/loadfile_machdep.h
40
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/shark/include/loadfile_machdep.h
41
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/shark/include/loadfile_machdep.h
42
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/shark/ofw/ofrom.c
143
int c, error = 0;
sys/arch/shark/ofw/ofrom.c
179
c = uimin(uio->uio_resid, (int)(PAGE_SIZE - o));
sys/arch/shark/ofw/ofrom.c
180
error = uiomove((char *)memhook + o, c, uio);
sys/arch/shark/shark/i8042.c
275
register u_char c = 0;
sys/arch/shark/shark/i8042.c
354
c = bus_space_read_1(iot, ioh, KBDATAPO);
sys/arch/shark/shark/i8042.c
355
if (c == responseExpected)
sys/arch/shark/shark/i8042.c
362
else if (c == KBR_RESEND)
sys/arch/shark/shark/i8042.c
375
("i8042_cmd: unexpected response 0x%x\n", c));
sys/arch/shark/shark/i8042.c
409
responseExpected, c, status));
sys/arch/shark/shark/scr.c
3391
Callout *c;
sys/arch/shark/shark/scr.c
3396
c = scrClkCallFree;
sys/arch/shark/shark/scr.c
3401
c->c_next = new;
sys/arch/shark/shark/scr.c
3402
c = new;
sys/arch/shark/shark/scr.c
3405
c->c_next = NULL;
sys/arch/shark/shark/scr.c
3592
register Callout *c;
sys/arch/shark/shark/scr.c
3616
while ((c = scrClkCallTodo.c_next) != NULL && c->c_time <= 0)
sys/arch/shark/shark/scr.c
3618
func = c->c_func;
sys/arch/shark/shark/scr.c
3619
sc = c->c_sc;
sys/arch/shark/shark/scr.c
3620
arg = c->c_arg;
sys/arch/shark/shark/scr.c
3621
scrClkCallTodo.c_next = c->c_next;
sys/arch/shark/shark/scr.c
3622
c->c_next = scrClkCallFree;
sys/arch/shark/shark/scr.c
3623
scrClkCallFree = c;
sys/arch/shark/stand/ofwboot/Locore.c
526
putchar(int c)
sys/arch/shark/stand/ofwboot/Locore.c
528
char ch = c;
sys/arch/shark/stand/ofwboot/Locore.c
530
if (c == '\n')
sys/arch/sparc/dev/cgfourteen.c
1595
cg14_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/arch/sparc/dev/cgfourteen.c
1598
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/arch/sparc/dev/cgfourteen.c
1610
if (!CHAR_IN_FONT(c, font))
sys/arch/sparc/dev/cgfourteen.c
1626
if (c == 0x20) {
sys/arch/sparc/dev/cgfourteen.c
1636
data = WSFONT_GLYPH(c, font);
sys/arch/sparc/dev/cgfourteen.c
1718
cg14_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/arch/sparc/dev/cgfourteen.c
1721
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/arch/sparc/dev/cgfourteen.c
1733
if (!CHAR_IN_FONT(c, font))
sys/arch/sparc/dev/cgfourteen.c
1747
if (c == 0x20) {
sys/arch/sparc/dev/cgfourteen.c
1754
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/arch/sparc/dev/cgfourteen.c
1759
data8 = WSFONT_GLYPH(c, font);
sys/arch/sparc/dev/cgfourteen.c
1827
glyphcache_add(&sc->sc_gc, c, x, y);
sys/arch/sparc/dev/cgfourteen.c
822
uint32_t r, g, b, c, cc;
sys/arch/sparc/dev/cgfourteen.c
831
c = 0x40000000 | r; /* becomes 0xff */
sys/arch/sparc/dev/cgfourteen.c
834
c |= ((g << 10) & 0xf000); /* make it 4 */
sys/arch/sparc/dev/cgfourteen.c
835
sc->sc_clut1->clut_lut[i] = c;
sys/arch/sparc/dev/fd.c
1433
#define FDC_WRFIFO(fdc, c) do { \
sys/arch/sparc/dev/fd.c
1434
if (fdc_wrfifo(fdc, (c))) { \
sys/arch/sparc/dev/fd.c
2330
int c;
sys/arch/sparc/dev/fd.c
2335
c = cngetc();
sys/arch/sparc/dev/fd.c
2336
if ((c == '\r') || (c == '\n')) {
sys/arch/sparc/dev/kd.c
420
kd_cons_input(int c)
sys/arch/sparc/dev/kd.c
432
(*tp->t_linesw->l_rint)(c, tp);
sys/arch/sparc/dev/kd.c
501
int s, c;
sys/arch/sparc/dev/kd.c
507
while ((c = prom_peekchar()) >= 0)
sys/arch/sparc/dev/kd.c
508
(*cc->cc_upstream)(c);
sys/arch/sparc/dev/kd.c
580
int s, c;
sys/arch/sparc/dev/kd.c
583
c = prom_getchar();
sys/arch/sparc/dev/kd.c
585
return (c);
sys/arch/sparc/dev/kd.c
592
prom_cnputc(dev_t dev, int c)
sys/arch/sparc/dev/kd.c
595
prom_putchar(c);
sys/arch/sparc/dev/tctrl.c
1095
uint8_t c;
sys/arch/sparc/dev/tctrl.c
1126
c = req.rspbuf[0];
sys/arch/sparc/dev/tctrl.c
1127
powerp->battery_life = c;
sys/arch/sparc/dev/tctrl.c
1128
if (c > 0x70) /* the tadpole sometimes dips below zero, and */
sys/arch/sparc/dev/tctrl.c
1129
c = 0; /* into the 255 range. */
sys/arch/sparc/dev/tctrl.c
1130
powerp->minutes_left = (45 * c) / 100; /* XXX based on 45 min */
sys/arch/sparc/dev/tctrl.c
1132
if (c < 0x20)
sys/arch/sparc/dev/tctrl.c
1134
else if (c < 0x40)
sys/arch/sparc/dev/tctrl.c
1136
else if (c < 0x66)
sys/arch/sparc/dev/zs.c
831
int s, c, rr0;
sys/arch/sparc/dev/zs.c
844
c = zc->zc_data;
sys/arch/sparc/dev/zs.c
853
return (c);
sys/arch/sparc/dev/zs.c
860
zs_putc(void *arg, int c)
sys/arch/sparc/dev/zs.c
885
zc->zc_data = c;
sys/arch/sparc/dev/zs.c
907
zscnputc(dev_t dev, int c)
sys/arch/sparc/dev/zs.c
910
zs_putc(zs_conschan_put, c);
sys/arch/sparc/dev/zs_kgdb.c
231
register u_char c, rr1;
sys/arch/sparc/dev/zs_kgdb.c
238
c = zs_read_data(cs);
sys/arch/sparc/dev/zs_kgdb.c
245
if (c == KGDB_START) {
sys/arch/sparc/include/instr.h
340
#define _I_BRANCH(a, c, op2, disp) \
sys/arch/sparc/include/instr.h
341
_I_ANY(IOP_OP2, (a) << 29 | (c) << 25 | (op2) << 22 | (disp))
sys/arch/sparc/include/int_const.h
44
#define INT8_C(c) c
sys/arch/sparc/include/int_const.h
45
#define INT16_C(c) c
sys/arch/sparc/include/int_const.h
46
#define INT32_C(c) c
sys/arch/sparc/include/int_const.h
48
#define INT64_C(c) c ## L
sys/arch/sparc/include/int_const.h
50
#define INT64_C(c) c ## LL
sys/arch/sparc/include/int_const.h
53
#define UINT8_C(c) c
sys/arch/sparc/include/int_const.h
54
#define UINT16_C(c) c
sys/arch/sparc/include/int_const.h
55
#define UINT32_C(c) c ## U
sys/arch/sparc/include/int_const.h
57
#define UINT64_C(c) c ## UL
sys/arch/sparc/include/int_const.h
59
#define UINT64_C(c) c ## ULL
sys/arch/sparc/include/int_const.h
65
#define INTMAX_C(c) c ## L
sys/arch/sparc/include/int_const.h
66
#define UINTMAX_C(c) c ## UL
sys/arch/sparc/include/int_const.h
68
#define INTMAX_C(c) c ## LL
sys/arch/sparc/include/int_const.h
69
#define UINTMAX_C(c) c ## ULL
sys/arch/sparc/include/loadfile_machdep.h
38
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/sparc/include/loadfile_machdep.h
39
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/sparc/include/loadfile_machdep.h
40
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/sparc/include/loadfile_machdep.h
56
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/sparc/include/loadfile_machdep.h
57
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/sparc/include/loadfile_machdep.h
58
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/sparc/include/promlib.h
185
#define prom_setcontext(c,a,p) ((*promops.po_setcontext)(c,a,p))
sys/arch/sparc/include/promlib.h
201
#define prom_putchar(c) ((*promops.po_putchar)(c))
sys/arch/sparc/include/promlib.h
224
#define prom_cpustart(m,a,c,pc) ((*promops.po_cpustart)(m,a,c,pc))
sys/arch/sparc/include/pte.h
402
#define setcontext4(c) stba(AC_CONTEXT, ASI_CONTROL, c)
sys/arch/sparc/include/pte.h
403
#define setcontext4m(c) sta(SRMMU_CXR, ASI_SRMMU, c)
sys/arch/sparc/include/pte.h
404
#define setcontext(c) (CPU_HAS_SRMMU ? setcontext4m(c) \
sys/arch/sparc/include/pte.h
405
: setcontext4(c))
sys/arch/sparc/sparc/autoconf.c
261
int v, c;
sys/arch/sparc/sparc/autoconf.c
263
for (v = 0;; v = v * 16 + c, str++) {
sys/arch/sparc/sparc/autoconf.c
264
c = (u_char)*str;
sys/arch/sparc/sparc/autoconf.c
265
if (c <= '9') {
sys/arch/sparc/sparc/autoconf.c
266
if ((c -= '0') < 0)
sys/arch/sparc/sparc/autoconf.c
268
} else if (c <= 'F') {
sys/arch/sparc/sparc/autoconf.c
269
if ((c -= 'A' - 10) < 10)
sys/arch/sparc/sparc/autoconf.c
271
} else if (c <= 'f') {
sys/arch/sparc/sparc/autoconf.c
272
if ((c -= 'a' - 10) < 10)
sys/arch/sparc/sparc/db_disasm.c
107
#define FORMAT3(a,b,c) (OP(a) | OP3(b) | F3I(c))
sys/arch/sparc/sparc/db_disasm.c
108
#define FORMAT3F(a,b,c) (OP(a) | OP3(b) | OPF(c))
sys/arch/sparc/sparc/db_trace.c
78
char c;
sys/arch/sparc/sparc/db_trace.c
85
while ((c = *cp++) != 0) {
sys/arch/sparc/sparc/db_trace.c
86
if (c == 'a') {
sys/arch/sparc/sparc/db_trace.c
90
if (c == 't')
sys/arch/sparc/sparc/db_trace.c
92
if (c == 'u')
sys/arch/sparc/sparc/emul.c
243
int8_t c[8];
sys/arch/sparc/sparc/machdep.c
1940
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
1942
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
1952
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
1954
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
1964
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
1966
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
1985
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
1987
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
1997
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
1999
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
2009
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2011
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
2021
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2023
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
2040
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2042
for (; c; a++, c--, o++)
sys/arch/sparc/sparc/machdep.c
2052
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2054
for (; c; a++, c--, o+=2)
sys/arch/sparc/sparc/machdep.c
2064
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2066
for (; c; a++, c--, o+=4)
sys/arch/sparc/sparc/machdep.c
2076
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2078
for (; c; a++, c--, o+=8)
sys/arch/sparc/sparc/machdep.c
2094
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2096
for (; c; a++, c--, o++)
sys/arch/sparc/sparc/machdep.c
2106
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2108
for (; c; a++, c--, o+=2)
sys/arch/sparc/sparc/machdep.c
2118
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2120
for (; c; a++, c--, o+=4)
sys/arch/sparc/sparc/machdep.c
2130
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2132
for (; c; a++, c--, o+=8)
sys/arch/sparc/sparc/machdep.c
2149
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2151
for (; c; c--, o++)
sys/arch/sparc/sparc/machdep.c
2161
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2163
for (; c; c--, o+=2)
sys/arch/sparc/sparc/machdep.c
2173
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2175
for (; c; c--, o+=4)
sys/arch/sparc/sparc/machdep.c
2185
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2187
for (; c; c--, o+=8)
sys/arch/sparc/sparc/machdep.c
2208
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2210
for (; c; c--, o1++, o2++)
sys/arch/sparc/sparc/machdep.c
2221
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2223
for (; c; c--, o1+=2, o2+=2)
sys/arch/sparc/sparc/machdep.c
2234
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2236
for (; c; c--, o1+=4, o2+=4)
sys/arch/sparc/sparc/machdep.c
2247
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2249
for (; c; c--, o1+=8, o2+=8)
sys/arch/sparc/sparc/machdep.c
2265
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2267
for (; c; a++, c--, o++)
sys/arch/sparc/sparc/machdep.c
2276
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2278
for (; c; a++, c--, o+=2)
sys/arch/sparc/sparc/machdep.c
2287
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2289
for (; c; a++, c--, o+=4)
sys/arch/sparc/sparc/machdep.c
2298
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2300
for (; c; a++, c--, o+=8)
sys/arch/sparc/sparc/machdep.c
2316
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2318
for (; c; a++, c--, o++)
sys/arch/sparc/sparc/machdep.c
2328
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2330
for (; c; a++, c--, o+=2)
sys/arch/sparc/sparc/machdep.c
2340
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2342
for (; c; a++, c--, o+=4)
sys/arch/sparc/sparc/machdep.c
2352
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2354
for (; c; a++, c--, o+=8)
sys/arch/sparc/sparc/machdep.c
2371
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2373
for (; c; c--, o++)
sys/arch/sparc/sparc/machdep.c
2383
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2385
for (; c; c--, o+=2)
sys/arch/sparc/sparc/machdep.c
2395
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2397
for (; c; c--, o+=4)
sys/arch/sparc/sparc/machdep.c
2407
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2409
for (; c; c--, o+=8)
sys/arch/sparc/sparc/machdep.c
2430
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2432
for (; c; c--, o1++, o2++)
sys/arch/sparc/sparc/machdep.c
2443
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2445
for (; c; c--, o1+=2, o2+=2)
sys/arch/sparc/sparc/machdep.c
2456
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2458
for (; c; c--, o1+=4, o2+=4)
sys/arch/sparc/sparc/machdep.c
2469
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2471
for (; c; c--, o1+=8, o2+=8)
sys/arch/sparc/sparc/machdep.c
2648
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2650
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
2660
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2662
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
2672
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2674
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
2684
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2686
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
2704
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2706
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
2716
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2718
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
2728
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2730
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
2748
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2750
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
2760
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2762
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
2772
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2774
while (c-- > 0)
sys/arch/sparc/sparc/machdep.c
2784
bus_size_t c)
sys/arch/sparc/sparc/machdep.c
2786
while (c-- > 0)
sys/arch/sparc/sparc/msiiep.c
528
struct mspcic_cookie *c = t->cookie;
sys/arch/sparc/sparc/msiiep.c
531
paddr = mspcic_pci_map_find(c->map, c->nmaps, ba, size);
sys/arch/sparc/sparc/msiiep.c
542
struct mspcic_cookie *c = t->cookie;
sys/arch/sparc/sparc/msiiep.c
546
paddr = mspcic_pci_map_find(c->map, c->nmaps, ba + off, PAGE_SIZE);
sys/arch/sparc/sparc/pmap.c
2132
union ctxinfo *c;
sys/arch/sparc/sparc/pmap.c
2156
if ((c = ctx_freelist) != NULL) {
sys/arch/sparc/sparc/pmap.c
2157
ctx_freelist = c->c_nextfree;
sys/arch/sparc/sparc/pmap.c
2158
cnum = c - ctxinfo;
sys/arch/sparc/sparc/pmap.c
2168
c = &ctxinfo[cnum = ctx_kick];
sys/arch/sparc/sparc/pmap.c
2170
if (c->c_pmap == NULL)
sys/arch/sparc/sparc/pmap.c
2175
cpu_number(), cnum, c->c_pmap);
sys/arch/sparc/sparc/pmap.c
2177
c->c_pmap->pm_ctx = NULL;
sys/arch/sparc/sparc/pmap.c
2178
c->c_pmap->pm_ctxnum = 0;
sys/arch/sparc/sparc/pmap.c
2181
if (gap_start < c->c_pmap->pm_gap_start)
sys/arch/sparc/sparc/pmap.c
2182
gap_start = c->c_pmap->pm_gap_start;
sys/arch/sparc/sparc/pmap.c
2183
if (gap_end > c->c_pmap->pm_gap_end)
sys/arch/sparc/sparc/pmap.c
2184
gap_end = c->c_pmap->pm_gap_end;
sys/arch/sparc/sparc/pmap.c
2188
c->c_pmap = pm;
sys/arch/sparc/sparc/pmap.c
2189
pm->pm_ctx = c;
sys/arch/sparc/sparc/pmap.c
2307
union ctxinfo *c;
sys/arch/sparc/sparc/pmap.c
2315
c = pm->pm_ctx;
sys/arch/sparc/sparc/pmap.c
2342
c->c_nextfree = ctx_freelist;
sys/arch/sparc/sparc/pmap.c
2343
ctx_freelist = c;
sys/arch/sparc/sparc/pmap.c
4390
union ctxinfo *c;
sys/arch/sparc/sparc/pmap.c
4395
if ((c = pm->pm_ctx) != NULL) {
sys/arch/sparc/sparc/promlib.c
639
char c, *cp;
sys/arch/sparc/sparc/promlib.c
641
#define IS_SEP(c) ((c) == '/' || (c) == '@' || (c) == ':')
sys/arch/sparc/sparc/promlib.c
656
while ((c = *endp) != '\0' && !IS_SEP(c))
sys/arch/sparc/sparc/promlib.c
671
while ((c = *startp) != '\0' && c != '/')
sys/arch/sparc/sparc/promlib.c
758
int c = buf[i];
sys/arch/sparc/sparc/promlib.c
759
if (c == '\n')
sys/arch/sparc/sparc/promlib.c
761
(*promops.po_putchar)(c);
sys/arch/sparc/sparc/promlib.c
795
obp_v2_putchar(int c)
sys/arch/sparc/sparc/promlib.c
799
c0 = (c & 0x7f);
sys/arch/sparc/sparc/promlib.c
805
obp_v2_putchar_cooked(int c)
sys/arch/sparc/sparc/promlib.c
808
if (c == '\n')
sys/arch/sparc/sparc/promlib.c
810
obp_v2_putchar(c);
sys/arch/sparc/sparc/promlib.c
817
char c;
sys/arch/sparc/sparc/promlib.c
820
while ((n = (*promops.po_read)(promops.po_stdin, &c, 1)) != 1)
sys/arch/sparc/sparc/promlib.c
822
if (c == '\r')
sys/arch/sparc/sparc/promlib.c
823
c = '\n';
sys/arch/sparc/sparc/promlib.c
824
return (c);
sys/arch/sparc/sparc/promlib.c
830
char c;
sys/arch/sparc/sparc/promlib.c
833
n = (*promops.po_read)(promops.po_stdin, &c, 1);
sys/arch/sparc/sparc/promlib.c
837
if (c == '\r')
sys/arch/sparc/sparc/promlib.c
838
c = '\n';
sys/arch/sparc/sparc/promlib.c
839
return (c);
sys/arch/sparc/sparc/promlib.c
888
int c;
sys/arch/sparc/sparc/promlib.c
895
if ((c = *(cp-1)) == ' ' || c == '\t')
sys/arch/sparc/sparc/promlib.c
937
int c;
sys/arch/sparc/sparc/promlib.c
944
if ((c = *(cp-1)) == ' ' || c == '\t')
sys/arch/sparc/sparc/timer_msiiep.c
212
u_int c, res;
sys/arch/sparc/sparc/timer_msiiep.c
218
c = mspcic_read_4(pcic_sccr);
sys/arch/sparc/sparc/timer_msiiep.c
220
res = c & ~MSIIEP_COUNTER_LIMIT;
sys/arch/sparc/sparc/timer_msiiep.c
221
if (res != c)
sys/arch/sparc/sparc/timerreg.h
131
#define tmr_cnttous(c) ((((c) >> TMR_SHIFT) & TMR_MASK) - 1)
sys/arch/sparc/stand/bootxx/promlib.c
80
obp_v2_putchar(int c)
sys/arch/sparc/stand/bootxx/promlib.c
84
c0 = (c & 0x7f);
sys/arch/sparc/stand/common/promdev.c
176
putchar(int c)
sys/arch/sparc/stand/common/promdev.c
179
if (c == '\n')
sys/arch/sparc/stand/common/promdev.c
181
prom_putchar(c);
sys/arch/sparc/stand/ofwboot/boot.c
422
char *c;
sys/arch/sparc/stand/ofwboot/boot.c
426
c = strrchr(bootdev, ':');
sys/arch/sparc/stand/ofwboot/boot.c
427
if (!c) return;
sys/arch/sparc/stand/ofwboot/boot.c
428
if (c[1] == 0) return;
sys/arch/sparc/stand/ofwboot/boot.c
429
if (strlen(arg) > strlen(c)) return;
sys/arch/sparc/stand/ofwboot/boot.c
430
strcpy(c, arg);
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c
111
void* (* memset)(void *dst, int c, size_t size);
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c
477
mmu_memset(void *dst, int c, size_t size)
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c
480
return memset(dst, c, size);
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c
531
ofw_memset(void *dst, int c, size_t size)
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c
534
return memset(dst, c, size);
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c
573
nop_memset(void *dst, int c, size_t size)
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c
575
return memset(dst, c, size);
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c
598
sparc64_memset(void *dst, int c, size_t size)
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c
600
return (*memsw->memset)(dst, c, size);
sys/arch/sparc/stand/ofwboot/prf.c
36
putchar(int c)
sys/arch/sparc/stand/ofwboot/prf.c
39
prom_putchar(c);
sys/arch/sparc/stand/ofwboot/promlib.c
117
openfirmware_putchar(int c)
sys/arch/sparc/stand/ofwboot/promlib.c
119
char ch = c;
sys/arch/sparc/stand/ofwboot/promlib.c
121
if (c == '\n')
sys/arch/sparc64/dev/cons.h
58
extern void zs_putc(void *arg, int c);
sys/arch/sparc64/dev/consinit.c
127
prom_cnputc(dev_t dev, int c)
sys/arch/sparc64/dev/consinit.c
130
char c0 = (c & 0x7f);
sys/arch/sparc64/dev/fdc.c
1616
#define FDC_WRFIFO(fdc, c) do { \
sys/arch/sparc64/dev/fdc.c
1617
if (fdc_wrfifo(fdc, (c))) { \
sys/arch/sparc64/dev/fdc.c
2518
int c;
sys/arch/sparc64/dev/fdc.c
2523
c = cngetc();
sys/arch/sparc64/dev/fdc.c
2524
if ((c == '\r') || (c == '\n')) {
sys/arch/sparc64/dev/ffb.c
1038
ffb_putchar_mono(void *cookie, int row, int col, u_int c, long attr)
sys/arch/sparc64/dev/ffb.c
1042
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/arch/sparc64/dev/ffb.c
1055
if (!CHAR_IN_FONT(c, font))
sys/arch/sparc64/dev/ffb.c
1063
data = WSFONT_GLYPH(c, font);
sys/arch/sparc64/dev/ffb.c
1135
ffb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/arch/sparc64/dev/ffb.c
1139
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/arch/sparc64/dev/ffb.c
1155
if (!CHAR_IN_FONT(c, font))
sys/arch/sparc64/dev/ffb.c
1163
data8 = WSFONT_GLYPH(c, font);
sys/arch/sparc64/dev/ffb.c
1175
if (c == ' ') goto out;
sys/arch/sparc64/dev/iommureg.h
162
#define MAKEIOTTE(pa,w,c,s) (((pa)&IOTTE_PAMASK)|((w)?IOTTE_W:0)|((c)?IOTTE_C:0)|((s)?IOTTE_STREAM:0)|(IOTTE_V|IOTTE_8K))
sys/arch/sparc64/dev/kd.c
423
kd_cons_input(int c)
sys/arch/sparc64/dev/kd.c
435
(*tp->t_linesw->l_rint)(c, tp);
sys/arch/sparc64/dev/kd.c
584
kdcnputc(dev_t dev, int c)
sys/arch/sparc64/dev/kd.c
587
char c0 = (c & 0x7f);
sys/arch/sparc64/dev/pcf8591_envctrl.c
289
int c, i;
sys/arch/sparc64/dev/pcf8591_envctrl.c
304
for (c = 0; c < 5; c++) {
sys/arch/sparc64/dev/sab.c
1199
sabtty_cnputc(struct sabtty_softc *sc, int c)
sys/arch/sparc64/dev/sab.c
1202
SAB_WRITE(sc, SAB_TIC, c);
sys/arch/sparc64/dev/sab.c
1269
sab_cnputc(dev_t dev, int c)
sys/arch/sparc64/dev/sab.c
1275
sabtty_cnputc(sc, c);
sys/arch/sparc64/dev/sab.c
128
#define SAB_WRITE_BLOCK(sc,r,p,c) \
sys/arch/sparc64/dev/sab.c
129
bus_space_write_region_1((sc)->sc_bt, (sc)->sc_bh, (r), (p), (c))
sys/arch/sparc64/dev/sab.c
1357
sab_kgdb_putc(void *arg, int c)
sys/arch/sparc64/dev/sab.c
1361
return sabtty_cnputc(sc, c);
sys/arch/sparc64/dev/tda.c
55
#define DEGC_TO_mK(c) (((c) * 1000000) + 273150000)
sys/arch/sparc64/dev/zs.c
747
int s, c, rr0;
sys/arch/sparc64/dev/zs.c
756
c = zc->zc_data;
sys/arch/sparc64/dev/zs.c
764
return (c);
sys/arch/sparc64/dev/zs.c
771
zs_putc(void *arg, int c)
sys/arch/sparc64/dev/zs.c
793
zc->zc_data = c;
sys/arch/sparc64/dev/zs.c
817
zscnputc(dev_t dev, int c)
sys/arch/sparc64/dev/zs.c
819
zs_putc(zs_conschan_put, c);
sys/arch/sparc64/dev/zsvar.h
173
#define ZS_READ(c, r) zs_read(c, r)
sys/arch/sparc64/dev/zsvar.h
174
#define ZS_WRITE(c, r, v) zs_write(c, r, v)
sys/arch/sparc64/dev/zsvar.h
180
#define ZS_READ(c, r) ((c)->zc_csr = (r), (c)->zc_csr)
sys/arch/sparc64/dev/zsvar.h
181
#define ZS_WRITE(c, r, v) ((c)->zc_csr = (r), (c)->zc_csr = (v))
sys/arch/sparc64/include/ctlreg.h
285
#define TAG_TARGET(c,v) ((((uint64_t)c)<<48)|(((uint64_t)v)&TAG_TARGET_VA_MASK))
sys/arch/sparc64/include/loadfile_machdep.h
38
#define READ(f, b, c) sparc64_read((f), (void *)LOADADDR(b), (c))
sys/arch/sparc64/include/loadfile_machdep.h
39
#define BCOPY(s, d, c) sparc64_memcpy((void *)LOADADDR(d), \
sys/arch/sparc64/include/loadfile_machdep.h
40
(void *)(s), (c))
sys/arch/sparc64/include/loadfile_machdep.h
41
#define BZERO(d, c) sparc64_memset((void *)LOADADDR(d), 0, (c))
sys/arch/sparc64/include/loadfile_machdep.h
62
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/sparc64/include/loadfile_machdep.h
63
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/sparc64/include/loadfile_machdep.h
64
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/sparc64/sparc64/autoconf.c
666
char *c;
sys/arch/sparc64/sparc64/autoconf.c
690
if (((c = strchr(machine_banner, '(')) != NULL) &&
sys/arch/sparc64/sparc64/autoconf.c
691
c != &machine_banner[0]) {
sys/arch/sparc64/sparc64/autoconf.c
692
while (*c == '(' || *c == ' ') {
sys/arch/sparc64/sparc64/autoconf.c
693
*c = '\0';
sys/arch/sparc64/sparc64/autoconf.c
694
c--;
sys/arch/sparc64/sparc64/db_disasm.c
112
#define FORMAT3(a,b,c) (OP(a) | OP3(b) | F3I(c))
sys/arch/sparc64/sparc64/db_disasm.c
113
#define FORMAT3F(a,b,c) (OP(a) | OP3(b) | OPF(c))
sys/arch/sparc64/sparc64/db_interface.c
465
register char c;
sys/arch/sparc64/sparc64/db_interface.c
467
while ((c = *cp++) != 0)
sys/arch/sparc64/sparc64/db_interface.c
468
if (c == 'u')
sys/arch/sparc64/sparc64/db_interface.c
531
register char c;
sys/arch/sparc64/sparc64/db_interface.c
533
while ((c = *cp++) != 0)
sys/arch/sparc64/sparc64/db_interface.c
534
if (c == 'f')
sys/arch/sparc64/sparc64/db_interface.c
586
register char c;
sys/arch/sparc64/sparc64/db_interface.c
589
while ((c = *cp++) != 0)
sys/arch/sparc64/sparc64/db_interface.c
590
if (c == 'f')
sys/arch/sparc64/sparc64/db_interface.c
855
register char c;
sys/arch/sparc64/sparc64/db_interface.c
858
while ((c = *cp++) != 0) {
sys/arch/sparc64/sparc64/db_interface.c
859
if (c == 'f')
sys/arch/sparc64/sparc64/db_interface.c
861
if (c == 'r')
sys/arch/sparc64/sparc64/db_interface.c
921
register char c;
sys/arch/sparc64/sparc64/db_interface.c
924
while ((c = *cp++) != 0)
sys/arch/sparc64/sparc64/db_interface.c
925
switch (c) {
sys/arch/sparc64/sparc64/db_trace.c
316
char c;
sys/arch/sparc64/sparc64/db_trace.c
319
while ((c = *cp++) != 0)
sys/arch/sparc64/sparc64/db_trace.c
320
if (c == 'u')
sys/arch/sparc64/sparc64/db_trace.c
376
register char c;
sys/arch/sparc64/sparc64/db_trace.c
378
while ((c = *cp++) != 0)
sys/arch/sparc64/sparc64/db_trace.c
379
if (c == 'u')
sys/arch/sparc64/sparc64/db_trace.c
82
char c;
sys/arch/sparc64/sparc64/db_trace.c
85
while ((c = *cp++) != 0) {
sys/arch/sparc64/sparc64/db_trace.c
86
if (c == 'a') {
sys/arch/sparc64/sparc64/db_trace.c
90
if (c == 't')
sys/arch/sparc64/sparc64/db_trace.c
92
if (c == 'u')
sys/arch/sparc64/sparc64/emul.c
240
int8_t c[8];
sys/arch/sparc64/sparc64/machdep.c
1623
bus_size_t o, uint8_t * a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1625
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1631
bus_size_t o, uint16_t * a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1633
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1639
bus_size_t o, uint32_t * a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1641
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1647
bus_size_t o, uint64_t * a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1649
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1664
const uint8_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1666
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1673
const uint16_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1675
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1682
const uint32_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1684
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1691
const uint64_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1693
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1708
bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1710
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1717
bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1719
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1726
bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1728
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1735
bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1737
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1752
bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1754
for (; c; c--, o1++, o2++)
sys/arch/sparc64/sparc64/machdep.c
1760
bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1762
for (; c; c--, o1+=2, o2+=2)
sys/arch/sparc64/sparc64/machdep.c
1768
bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1770
for (; c; c--, o1+=4, o2+=4)
sys/arch/sparc64/sparc64/machdep.c
1776
bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1778
for (; c; c--, o1+=8, o2+=8)
sys/arch/sparc64/sparc64/machdep.c
1790
bus_size_t o, const uint8_t v, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1792
for (; c; c--, o++)
sys/arch/sparc64/sparc64/machdep.c
1798
bus_size_t o, const uint16_t v, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1800
for (; c; c--, o+=2)
sys/arch/sparc64/sparc64/machdep.c
1806
bus_size_t o, const uint32_t v, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1808
for (; c; c--, o+=4)
sys/arch/sparc64/sparc64/machdep.c
1814
bus_size_t o, const uint64_t v, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1816
for (; c; c--, o+=8)
sys/arch/sparc64/sparc64/machdep.c
1832
uint8_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1834
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1841
uint16_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1843
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1850
uint32_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1852
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1859
uint64_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1861
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1873
bus_size_t o, uint8_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1875
for (; c; a++, c--, o++)
sys/arch/sparc64/sparc64/machdep.c
1880
bus_size_t o, uint16_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1882
for (; c; a++, c--, o+=2)
sys/arch/sparc64/sparc64/machdep.c
1887
bus_size_t o, uint32_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1889
for (; c; a++, c--, o+=4)
sys/arch/sparc64/sparc64/machdep.c
1894
bus_size_t o, uint64_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1896
for (; c; a++, c--, o+=8)
sys/arch/sparc64/sparc64/machdep.c
1911
const uint8_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1913
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1920
const uint16_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1922
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1929
const uint32_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1931
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1938
const uint64_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1940
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
1955
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1957
for (; c; c--, o1++, o2++)
sys/arch/sparc64/sparc64/machdep.c
1963
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1965
for (; c; c--, o1+=2, o2+=2)
sys/arch/sparc64/sparc64/machdep.c
1971
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1973
for (; c; c--, o1+=4, o2+=4)
sys/arch/sparc64/sparc64/machdep.c
1979
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1981
for (; c; c--, o1+=8, o2+=8)
sys/arch/sparc64/sparc64/machdep.c
1993
const uint8_t v, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
1995
for (; c; c--, o++)
sys/arch/sparc64/sparc64/machdep.c
2001
const uint16_t v, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2003
for (; c; c--, o+=2)
sys/arch/sparc64/sparc64/machdep.c
2009
const uint32_t v, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2011
for (; c; c--, o+=4)
sys/arch/sparc64/sparc64/machdep.c
2017
const uint64_t v, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2019
for (; c; c--, o+=8)
sys/arch/sparc64/sparc64/machdep.c
2035
bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2037
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
2044
bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2046
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
2053
bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2055
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
2062
bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2064
while (c-- > 0)
sys/arch/sparc64/sparc64/machdep.c
2076
const uint8_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2078
for (; c; a++, c--, o++)
sys/arch/sparc64/sparc64/machdep.c
2084
const uint16_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2086
for (; c; a++, c--, o+=2)
sys/arch/sparc64/sparc64/machdep.c
2092
const uint32_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2094
for (; c; a++, c--, o+=4)
sys/arch/sparc64/sparc64/machdep.c
2100
const uint64_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2102
for (; c; a++, c--, o+=8)
sys/arch/sparc64/sparc64/machdep.c
2115
uint8_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2117
for (; c; a++, c--, o++)
sys/arch/sparc64/sparc64/machdep.c
2122
uint16_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2124
for (; c; a++, c--, o+=2)
sys/arch/sparc64/sparc64/machdep.c
2129
uint32_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2131
for (; c; a++, c--, o+=4)
sys/arch/sparc64/sparc64/machdep.c
2136
uint64_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2138
for (; c; a++, c--, o+=8)
sys/arch/sparc64/sparc64/machdep.c
2150
bus_size_t o, const uint8_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2152
for (; c; a++, c--, o++)
sys/arch/sparc64/sparc64/machdep.c
2158
bus_size_t o, const uint16_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2160
for (; c; a++, c--, o+=2)
sys/arch/sparc64/sparc64/machdep.c
2166
bus_size_t o, const uint32_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2168
for (; c; a++, c--, o+=4)
sys/arch/sparc64/sparc64/machdep.c
2174
bus_size_t o, const uint64_t *a, bus_size_t c)
sys/arch/sparc64/sparc64/machdep.c
2176
for (; c; a++, c--, o+=8)
sys/arch/sun2/dev/cons.h
58
extern void zs_putc(void *arg, int c);
sys/arch/sun2/dev/consinit.c
135
prom_cnputc(dev_t dev, int c)
sys/arch/sun2/dev/consinit.c
140
prom_putchar(c);
sys/arch/sun2/dev/kd.c
468
kd_cons_input(int c)
sys/arch/sun2/dev/kd.c
480
(*tp->t_linesw->l_rint)(c, tp);
sys/arch/sun2/dev/kd.c
630
kdcnputc(dev_t dev, int c)
sys/arch/sun2/dev/kd.c
635
prom_putchar(c);
sys/arch/sun2/dev/pcons.c
269
int c;
sys/arch/sun2/dev/pcons.c
272
while ((c = prom_peekchar()) >= 0) {
sys/arch/sun2/dev/pcons.c
273
ch = c;
sys/arch/sun2/dev/zs.c
585
int s, c, rr0;
sys/arch/sun2/dev/zs.c
594
c = zc->zc_data;
sys/arch/sun2/dev/zs.c
602
return (c);
sys/arch/sun2/dev/zs.c
609
zs_putc(void *arg, int c)
sys/arch/sun2/dev/zs.c
631
zc->zc_data = c;
sys/arch/sun2/dev/zs.c
652
zscnputc(dev_t dev, int c)
sys/arch/sun2/dev/zs.c
654
zs_putc(zs_conschan_put, c);
sys/arch/sun2/dev/zs_kgdb.c
221
u_char c, rr1;
sys/arch/sun2/dev/zs_kgdb.c
228
c = zs_read_data(cs);
sys/arch/sun2/dev/zs_kgdb.c
235
if (c == KGDB_START) {
sys/arch/sun2/dev/zs_kgdb.c
67
extern void zs_putc(void *arg, int c);
sys/arch/sun2/include/promlib.h
84
#define prom_getpropint(a, b, c) (0)
sys/arch/sun2/sun2/control.c
47
set_context(int c)
sys/arch/sun2/sun2/control.c
49
set_control_byte(CONTEXT_REG, (c & CONTEXT_MASK));
sys/arch/sun2/sun2/idprom.c
107
hid.c[0] = idp->idp_machtype;
sys/arch/sun2/sun2/idprom.c
108
hid.c[1] = idp->idp_serialnum[0];
sys/arch/sun2/sun2/idprom.c
109
hid.c[2] = idp->idp_serialnum[1];
sys/arch/sun2/sun2/idprom.c
110
hid.c[3] = idp->idp_serialnum[2];
sys/arch/sun2/sun2/idprom.c
99
char c[4];
sys/arch/sun2/sun2/promlib.c
165
PROMLIB_FUNC(void, prom_putchar, (int c), putChar, (c), return)
sys/arch/sun3/dev/fd.c
1155
#define OUT_FDC(fdc, c, s) \
sys/arch/sun3/dev/fd.c
1157
if (out_fdc(fdc, (c))) { \
sys/arch/sun3/dev/fd.c
1949
int c;
sys/arch/sun3/dev/fd.c
1956
c = cngetc();
sys/arch/sun3/dev/fd.c
1957
if ((c == '\r') || (c == '\n')) {
sys/arch/sun3/dev/fd.c
603
#define OUT_FDC(sc, c) do { \
sys/arch/sun3/dev/fd.c
604
if (out_fdc((sc), (c)) != 0) \
sys/arch/sun3/dev/kd.c
406
kd_cons_input(int c)
sys/arch/sun3/dev/kd.c
418
(*tp->t_linesw->l_rint)(c, tp);
sys/arch/sun3/dev/kd.c
514
kdcnputc(dev_t dev, int c)
sys/arch/sun3/dev/kd.c
516
(romVectorPtr->fbWriteChar)(c & 0x7f);
sys/arch/sun3/dev/zs.c
577
int s, c, rr0;
sys/arch/sun3/dev/zs.c
586
c = zc->zc_data;
sys/arch/sun3/dev/zs.c
594
return (c);
sys/arch/sun3/dev/zs.c
601
zs_putc(void *arg, int c)
sys/arch/sun3/dev/zs.c
613
zc->zc_data = c;
sys/arch/sun3/dev/zs.c
654
zscnputc(dev_t dev, int c)
sys/arch/sun3/dev/zs.c
656
zs_putc(zs_conschan, c);
sys/arch/sun3/dev/zs.c
702
prom_cnputc(dev_t dev, int c)
sys/arch/sun3/dev/zs.c
704
(*romVectorPtr->putChar)(c & 0x7f);
sys/arch/sun3/dev/zs_kgdb.c
224
u_char c, rr1;
sys/arch/sun3/dev/zs_kgdb.c
231
c = zs_read_data(cs);
sys/arch/sun3/dev/zs_kgdb.c
238
if (c == KGDB_START) {
sys/arch/sun3/sun3/control.c
47
set_context(int c)
sys/arch/sun3/sun3/control.c
49
set_control_byte(CONTEXT_REG, (c & CONTEXT_MASK));
sys/arch/sun3/sun3/idprom.c
101
char c[4];
sys/arch/sun3/sun3/idprom.c
109
hid.c[0] = idp->idp_machtype;
sys/arch/sun3/sun3/idprom.c
110
hid.c[1] = idp->idp_serialnum[0];
sys/arch/sun3/sun3/idprom.c
111
hid.c[2] = idp->idp_serialnum[1];
sys/arch/sun3/sun3/idprom.c
112
hid.c[3] = idp->idp_serialnum[2];
sys/arch/sun3/sun3x/idprom.c
103
char c[4];
sys/arch/sun3/sun3x/idprom.c
111
hid.c[0] = idp->idp_machtype;
sys/arch/sun3/sun3x/idprom.c
112
hid.c[1] = idp->idp_serialnum[0];
sys/arch/sun3/sun3x/idprom.c
113
hid.c[2] = idp->idp_serialnum[1];
sys/arch/sun3/sun3x/idprom.c
114
hid.c[3] = idp->idp_serialnum[2];
sys/arch/sun3/sun3x/pmap.c
610
int b, c, i, j; /* running table counts */
sys/arch/sun3/sun3x/pmap.c
745
b = c = 0;
sys/arch/sun3/sun3x/pmap.c
769
mmu_vtop(&kernCbase[c]) | MMU_DT_SHORT;
sys/arch/sun3/sun3x/pmap.c
770
c += MMU_C_TBL_SIZE;
sys/arch/sun68k/include/bus.h
442
uint8_t *a, bus_size_t c)
sys/arch/sun68k/include/bus.h
447
while (c-- > 0)
sys/arch/sun68k/include/bus.h
453
uint16_t *a, bus_size_t c)
sys/arch/sun68k/include/bus.h
458
while (c-- > 0)
sys/arch/sun68k/include/bus.h
464
uint32_t *a, bus_size_t c)
sys/arch/sun68k/include/bus.h
469
while (c-- > 0)
sys/arch/sun68k/include/bus.h
475
uint64_t *a, bus_size_t c)
sys/arch/sun68k/include/bus.h
480
while (c-- > 0)
sys/arch/sun68k/include/bus.h
496
const uint8_t *a, bus_size_t c)
sys/arch/sun68k/include/bus.h
501
while (c-- > 0)
sys/arch/sun68k/include/bus.h
507
const uint16_t *a, bus_size_t c)
sys/arch/sun68k/include/bus.h
512
while (c-- > 0)
sys/arch/sun68k/include/bus.h
518
const uint32_t *a, bus_size_t c)
sys/arch/sun68k/include/bus.h
523
while (c-- > 0)
sys/arch/sun68k/include/bus.h
529
const uint64_t *a, bus_size_t c)
sys/arch/sun68k/include/bus.h
534
while (c-- > 0)
sys/arch/sun68k/include/bus.h
549
const uint8_t v, bus_size_t c)
sys/arch/sun68k/include/bus.h
554
while (c-- > 0)
sys/arch/sun68k/include/bus.h
560
const uint16_t v, bus_size_t c)
sys/arch/sun68k/include/bus.h
565
while (c-- > 0)
sys/arch/sun68k/include/bus.h
571
const uint32_t v, bus_size_t c)
sys/arch/sun68k/include/bus.h
576
while (c-- > 0)
sys/arch/sun68k/include/bus.h
582
const uint64_t v, bus_size_t c)
sys/arch/sun68k/include/bus.h
587
while (c-- > 0)
sys/arch/sun68k/include/bus.h
601
uint8_t *a, bus_size_t c)
sys/arch/sun68k/include/bus.h
606
while (c-- > 0)
sys/arch/sun68k/include/bus.h
611
uint16_t *a, bus_size_t c)
sys/arch/sun68k/include/bus.h
616
while (c-- > 0)
sys/arch/sun68k/include/bus.h
621
uint32_t *a, bus_size_t c)
sys/arch/sun68k/include/bus.h
626
while (c-- > 0)
sys/arch/sun68k/include/bus.h
631
uint64_t *a, bus_size_t c)
sys/arch/sun68k/include/bus.h
636
while (c-- > 0)
sys/arch/sun68k/include/bus.h
649
const uint8_t *a, bus_size_t c)
sys/arch/sun68k/include/bus.h
654
while (c-- > 0)
sys/arch/sun68k/include/bus.h
660
const uint16_t *a, bus_size_t c)
sys/arch/sun68k/include/bus.h
665
while (c-- > 0)
sys/arch/sun68k/include/bus.h
671
const uint32_t *a, bus_size_t c)
sys/arch/sun68k/include/bus.h
676
while (c-- > 0)
sys/arch/sun68k/include/bus.h
682
const uint64_t *a, bus_size_t c)
sys/arch/sun68k/include/bus.h
687
while (c-- > 0)
sys/arch/sun68k/include/bus.h
701
const uint8_t v, bus_size_t c)
sys/arch/sun68k/include/bus.h
706
while (c-- > 0)
sys/arch/sun68k/include/bus.h
712
const uint16_t v, bus_size_t c)
sys/arch/sun68k/include/bus.h
717
while (c-- > 0)
sys/arch/sun68k/include/bus.h
723
const uint32_t v, bus_size_t c)
sys/arch/sun68k/include/bus.h
728
while (c-- > 0)
sys/arch/sun68k/include/bus.h
734
const uint64_t v, bus_size_t c)
sys/arch/sun68k/include/bus.h
739
while (c-- > 0)
sys/arch/sun68k/include/bus.h
756
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/sun68k/include/bus.h
765
for (offset = 0; c > 0; c--, offset++)
sys/arch/sun68k/include/bus.h
769
for (offset = c; c > 0; c--, offset--)
sys/arch/sun68k/include/bus.h
776
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/sun68k/include/bus.h
785
for (offset = 0; c > 0; c--, offset++)
sys/arch/sun68k/include/bus.h
789
for (offset = c; c > 0; c--, offset--)
sys/arch/sun68k/include/bus.h
796
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/sun68k/include/bus.h
805
for (offset = 0; c > 0; c--, offset++)
sys/arch/sun68k/include/bus.h
809
for (offset = c; c > 0; c--, offset--)
sys/arch/sun68k/include/bus.h
816
bus_space_handle_t h2, bus_size_t o2, bus_size_t c)
sys/arch/sun68k/include/bus.h
825
for (offset = 0; c > 0; c--, offset++)
sys/arch/sun68k/include/bus.h
829
for (offset = c; c > 0; c--, offset--)
sys/arch/sun68k/include/bus.h
844
#define bus_space_copyin(t, h, o, a, c) \
sys/arch/sun68k/include/bus.h
845
((void)t, w16copy((uint8_t *)((h) + (o)), (a), (c)))
sys/arch/sun68k/include/bus.h
857
#define bus_space_copyout(t, h, o, a, c) \
sys/arch/sun68k/include/bus.h
858
((void)t, w16copy((a), (uint8_t *)((h) + (o)), (c)))
sys/arch/sun68k/include/loadfile_machdep.h
43
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/sun68k/include/loadfile_machdep.h
44
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/sun68k/include/loadfile_machdep.h
45
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/sun68k/stand/libsa/gets.c
50
int c;
sys/arch/sun68k/stand/libsa/gets.c
62
c = getchar() & 0177;
sys/arch/sun68k/stand/libsa/gets.c
65
putchar(c);
sys/arch/sun68k/stand/libsa/gets.c
68
switch (c) {
sys/arch/sun68k/stand/libsa/gets.c
71
*lp++ = c;
sys/arch/sun68k/stand/libsa/promboot.c
29
char c, *src, *dst;
sys/arch/sun68k/stand/libsa/promboot.c
44
c = *src++;
sys/arch/sun68k/stand/libsa/promboot.c
45
*dst++ = c;
sys/arch/sun68k/stand/libsa/promboot.c
46
if (c == ')')
sys/arch/sun68k/stand/libsa/promcons.c
23
putchar(int c)
sys/arch/sun68k/stand/libsa/promcons.c
25
if (c == '\n')
sys/arch/sun68k/stand/libsa/promcons.c
27
(*romVectorPtr->putChar)(c);
sys/arch/sun68k/sun68k/autoconf.c
292
int c;
sys/arch/sun68k/sun68k/autoconf.c
294
for (val = 0;; val = (val << 4) + c, p++) {
sys/arch/sun68k/sun68k/autoconf.c
295
c = *((const unsigned char *)p);
sys/arch/sun68k/sun68k/autoconf.c
296
if (c >= 'a')
sys/arch/sun68k/sun68k/autoconf.c
297
c-= ('a' + 10);
sys/arch/sun68k/sun68k/autoconf.c
298
else if (c >= 'A')
sys/arch/sun68k/sun68k/autoconf.c
299
c -= ('A' + 10);
sys/arch/sun68k/sun68k/autoconf.c
300
else if (c >= '0')
sys/arch/sun68k/sun68k/autoconf.c
301
c -= '0';
sys/arch/sun68k/sun68k/autoconf.c
302
if (c < 0 || c > 15)
sys/arch/usermode/dev/ttycons.c
188
ttycons_cnputc(dev_t dev, int c)
sys/arch/usermode/dev/ttycons.c
190
thunk_putchar(c);
sys/arch/usermode/dev/ttycons.c
353
ttycons_param(struct tty *t, struct termios *c)
sys/arch/usermode/dev/ttycons.c
355
t->t_ispeed = c->c_ispeed;
sys/arch/usermode/dev/ttycons.c
356
t->t_ospeed = c->c_ospeed;
sys/arch/usermode/dev/ttycons.c
357
t->t_cflag = c->c_cflag;
sys/arch/usermode/dev/ttycons.c
377
int c;
sys/arch/usermode/dev/ttycons.c
379
while ((c = thunk_pollchar()) >= 0) {
sys/arch/usermode/dev/ttycons.c
380
ch = (unsigned char)c;
sys/arch/usermode/dev/vncfb.c
323
vncfb_putchar(void *priv, int row, int col, u_int c, long attr)
sys/arch/usermode/dev/vncfb.c
331
ops->putchar(ri, row, col, c, attr);
sys/arch/usermode/dev/vncfb.c
373
int x, y, w, h, c;
sys/arch/usermode/dev/vncfb.c
381
c = ri->ri_devcmap[(fillattr >> 16) & 0xf] & 0xffffff;
sys/arch/usermode/dev/vncfb.c
383
vncfb_fillrect(sc, x, y, w, h, c);
sys/arch/usermode/dev/vncfb.c
422
int x, y, w, h, c;
sys/arch/usermode/dev/vncfb.c
430
c = ri->ri_devcmap[(fillattr >> 16) & 0xf] & 0xffffff;
sys/arch/usermode/dev/vncfb.c
432
vncfb_fillrect(sc, x, y, w, h, c);
sys/arch/usermode/dev/vncfb.c
540
vncfb_fillrect(struct vncfb_softc *sc, int x, int y, int w, int h, uint32_t c)
sys/arch/usermode/dev/vncfb.c
543
thunk_rfb_fillrect(&sc->sc_rfb, x, y, w, h, (uint8_t *)&c);
sys/arch/usermode/usermode/thunk.c
465
uint8_t c;
sys/arch/usermode/usermode/thunk.c
473
if (read(STDIN_FILENO, &c, 1) != 1)
sys/arch/usermode/usermode/thunk.c
475
return c;
sys/arch/usermode/usermode/thunk.c
489
thunk_putchar(int c)
sys/arch/usermode/usermode/thunk.c
491
char wc = (char) c;
sys/arch/usermode/usermode/trap.c
298
#define print_mem_access_siginfo(s, i, c, p, v, sp) {}
sys/arch/usermode/usermode/trap.c
299
#define print_illegal_instruction_siginfo(s, i, c, p, v, sp) {}
sys/arch/vax/boot/boot/boot.c
163
char *c, *d;
sys/arch/vax/boot/boot/boot.c
168
c = line;
sys/arch/vax/boot/boot/boot.c
169
while (*c == ' ')
sys/arch/vax/boot/boot/boot.c
170
c++;
sys/arch/vax/boot/boot/boot.c
172
if (c[0] == 0)
sys/arch/vax/boot/boot/boot.c
175
if ((d = strchr(c, ' ')))
sys/arch/vax/boot/boot/boot.c
179
if (strcmp(v->namn, c) == 0)
sys/arch/vax/boot/boot/boot.c
186
printf("Unknown command: %s\n", c);
sys/arch/vax/boot/boot/consio.c
102
c = (*get_fp)() & 0177;
sys/arch/vax/boot/boot/consio.c
103
while (c == 17 || c == 19); /* ignore XON/XOFF */
sys/arch/vax/boot/boot/consio.c
104
if (c < 96 && c > 64)
sys/arch/vax/boot/boot/consio.c
105
c += 32;
sys/arch/vax/boot/boot/consio.c
106
return c;
sys/arch/vax/boot/boot/consio.c
188
pr_putchar(int c)
sys/arch/vax/boot/boot/consio.c
210
mtpr(c, PR_TXDB); /* xmit character */
sys/arch/vax/boot/boot/consio.c
282
vxt_putchar(int c)
sys/arch/vax/boot/boot/consio.c
286
vxtregs[CH_DAT] = c;
sys/arch/vax/boot/boot/consio.c
48
void pr_putchar(int c); /* putchar() using mtpr/mfpr */
sys/arch/vax/boot/boot/consio.c
52
void rom_putchar(int c); /* putchar() using ROM routines */
sys/arch/vax/boot/boot/consio.c
66
void ka630_rom_putchar(int c);
sys/arch/vax/boot/boot/consio.c
74
void ka53_rom_putchar(int c);
sys/arch/vax/boot/boot/consio.c
78
void vxt_putchar(int c);
sys/arch/vax/boot/boot/consio.c
89
putchar(int c)
sys/arch/vax/boot/boot/consio.c
91
(*put_fp)(c);
sys/arch/vax/boot/boot/consio.c
92
if (c == 10)
sys/arch/vax/boot/boot/consio.c
99
int c;
sys/arch/vax/boot/boot/ctu.c
146
int c;
sys/arch/vax/boot/boot/ctu.c
151
c = tu_sc.sc_rsp[tu_sc.sc_xbytes++] & 0xff;
sys/arch/vax/boot/boot/ctu.c
152
mtpr(c, PR_CSTD);
sys/arch/vax/boot/boot/devopen.c
114
*file = c;
sys/arch/vax/boot/boot/devopen.c
117
c = (char *)fname;
sys/arch/vax/boot/boot/devopen.c
54
char *s, *c;
sys/arch/vax/boot/boot/devopen.c
92
if ((c = strchr(s, ')')) == 0)
sys/arch/vax/boot/boot/devopen.c
95
*c++ = 0;
sys/arch/vax/include/bus.h
239
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arch/vax/include/bus.h
240
vax_mem_read_multi_1((t), (h), (o), (a), (c))
sys/arch/vax/include/bus.h
242
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arch/vax/include/bus.h
246
vax_mem_read_multi_2((t), (h), (o), (a), (c)); \
sys/arch/vax/include/bus.h
249
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arch/vax/include/bus.h
253
vax_mem_read_multi_4((t), (h), (o), (a), (c)); \
sys/arch/vax/include/bus.h
258
uint8_t *a, size_t c)
sys/arch/vax/include/bus.h
262
for (; c != 0; c--, a++)
sys/arch/vax/include/bus.h
268
uint16_t *a, size_t c)
sys/arch/vax/include/bus.h
272
for (; c != 0; c--, a++)
sys/arch/vax/include/bus.h
278
uint32_t *a, size_t c)
sys/arch/vax/include/bus.h
282
for (; c != 0; c--, a++)
sys/arch/vax/include/bus.h
303
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arch/vax/include/bus.h
305
vax_mem_read_region_1((t), (h), (o), (a), (c)); \
sys/arch/vax/include/bus.h
308
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arch/vax/include/bus.h
312
vax_mem_read_region_2((t), (h), (o), (a), (c)); \
sys/arch/vax/include/bus.h
315
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arch/vax/include/bus.h
319
vax_mem_read_region_4((t), (h), (o), (a), (c)); \
sys/arch/vax/include/bus.h
324
uint8_t *a, size_t c)
sys/arch/vax/include/bus.h
328
for (; c != 0; c--, addr++, a++)
sys/arch/vax/include/bus.h
334
uint16_t *a, size_t c)
sys/arch/vax/include/bus.h
338
for (; c != 0; c--, addr += 2, a++)
sys/arch/vax/include/bus.h
344
uint32_t *a, size_t c)
sys/arch/vax/include/bus.h
348
for (; c != 0; c--, addr += 4, a++)
sys/arch/vax/include/bus.h
397
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arch/vax/include/bus.h
399
vax_mem_write_multi_1((t), (h), (o), (a), (c)); \
sys/arch/vax/include/bus.h
402
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arch/vax/include/bus.h
406
vax_mem_write_multi_2((t), (h), (o), (a), (c)); \
sys/arch/vax/include/bus.h
409
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arch/vax/include/bus.h
413
vax_mem_write_multi_4((t), (h), (o), (a), (c)); \
sys/arch/vax/include/bus.h
418
const uint8_t *a, size_t c)
sys/arch/vax/include/bus.h
422
for (; c != 0; c--, a++)
sys/arch/vax/include/bus.h
428
const uint16_t *a, size_t c)
sys/arch/vax/include/bus.h
432
for (; c != 0; c--, a++)
sys/arch/vax/include/bus.h
438
const uint32_t *a, size_t c)
sys/arch/vax/include/bus.h
442
for (; c != 0; c--, a++)
sys/arch/vax/include/bus.h
462
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arch/vax/include/bus.h
463
vax_mem_write_region_1((t), (h), (o), (a), (c))
sys/arch/vax/include/bus.h
465
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arch/vax/include/bus.h
469
vax_mem_write_region_2((t), (h), (o), (a), (c)); \
sys/arch/vax/include/bus.h
472
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arch/vax/include/bus.h
476
vax_mem_write_region_4((t), (h), (o), (a), (c)); \
sys/arch/vax/include/bus.h
481
const uint8_t *a, size_t c)
sys/arch/vax/include/bus.h
485
for (; c != 0; c--, addr++, a++)
sys/arch/vax/include/bus.h
491
const uint16_t *a, size_t c)
sys/arch/vax/include/bus.h
495
for (; c != 0; c--, addr++, a++)
sys/arch/vax/include/bus.h
501
const uint32_t *a, size_t c)
sys/arch/vax/include/bus.h
505
for (; c != 0; c--, addr++, a++)
sys/arch/vax/include/bus.h
526
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/arch/vax/include/bus.h
527
vax_mem_set_multi_1((t), (h), (o), (v), (c))
sys/arch/vax/include/bus.h
529
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/arch/vax/include/bus.h
532
vax_mem_set_multi_2((t), (h), (o), (v), (c)); \
sys/arch/vax/include/bus.h
535
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/arch/vax/include/bus.h
538
vax_mem_set_multi_4((t), (h), (o), (v), (c)); \
sys/arch/vax/include/bus.h
543
uint8_t v, size_t c)
sys/arch/vax/include/bus.h
547
while (c--)
sys/arch/vax/include/bus.h
553
uint16_t v, size_t c)
sys/arch/vax/include/bus.h
557
while (c--)
sys/arch/vax/include/bus.h
563
uint32_t v, size_t c)
sys/arch/vax/include/bus.h
567
while (c--)
sys/arch/vax/include/bus.h
588
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arch/vax/include/bus.h
589
vax_mem_set_region_1((t), (h), (o), (v), (c))
sys/arch/vax/include/bus.h
591
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arch/vax/include/bus.h
594
vax_mem_set_region_2((t), (h), (o), (v), (c)); \
sys/arch/vax/include/bus.h
597
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arch/vax/include/bus.h
600
vax_mem_set_region_4((t), (h), (o), (v), (c)); \
sys/arch/vax/include/bus.h
605
uint8_t v, size_t c)
sys/arch/vax/include/bus.h
609
for (; c != 0; c--, addr++)
sys/arch/vax/include/bus.h
615
uint16_t v, size_t c)
sys/arch/vax/include/bus.h
619
for (; c != 0; c--, addr += 2)
sys/arch/vax/include/bus.h
625
uint32_t v, size_t c)
sys/arch/vax/include/bus.h
629
for (; c != 0; c--, addr += 4)
sys/arch/vax/include/bus.h
651
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arch/vax/include/bus.h
652
vax_mem_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
sys/arch/vax/include/bus.h
654
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arch/vax/include/bus.h
658
vax_mem_copy_region_2((t), (h1), (o1), (h2), (o2), (c)); \
sys/arch/vax/include/bus.h
661
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arch/vax/include/bus.h
665
vax_mem_copy_region_4((t), (h1), (o1), (h2), (o2), (c)); \
sys/arch/vax/include/bus.h
670
bus_space_handle_t h2, bus_size_t o2, size_t c)
sys/arch/vax/include/bus.h
677
for (; c != 0; c--, addr1++, addr2++)
sys/arch/vax/include/bus.h
682
for (addr1 += (c - 1), addr2 += (c - 1);
sys/arch/vax/include/bus.h
683
c != 0; c--, addr1--, addr2--)
sys/arch/vax/include/bus.h
691
bus_space_handle_t h2, bus_size_t o2, size_t c)
sys/arch/vax/include/bus.h
698
for (; c != 0; c--, addr1 += 2, addr2 += 2)
sys/arch/vax/include/bus.h
703
for (addr1 += 2 * (c - 1), addr2 += 2 * (c - 1);
sys/arch/vax/include/bus.h
704
c != 0; c--, addr1 -= 2, addr2 -= 2)
sys/arch/vax/include/bus.h
712
bus_space_handle_t h2, bus_size_t o2, size_t c)
sys/arch/vax/include/bus.h
719
for (; c != 0; c--, addr1 += 4, addr2 += 4)
sys/arch/vax/include/bus.h
724
for (addr1 += 4 * (c - 1), addr2 += 4 * (c - 1);
sys/arch/vax/include/bus.h
725
c != 0; c--, addr1 -= 4, addr2 -= 4)
sys/arch/vax/include/int_const.h
44
#define INT8_C(c) c
sys/arch/vax/include/int_const.h
45
#define INT16_C(c) c
sys/arch/vax/include/int_const.h
46
#define INT32_C(c) c
sys/arch/vax/include/int_const.h
47
#define INT64_C(c) c ## LL
sys/arch/vax/include/int_const.h
49
#define UINT8_C(c) c
sys/arch/vax/include/int_const.h
50
#define UINT16_C(c) c
sys/arch/vax/include/int_const.h
51
#define UINT32_C(c) c ## U
sys/arch/vax/include/int_const.h
52
#define UINT64_C(c) c ## ULL
sys/arch/vax/include/int_const.h
56
#define INTMAX_C(c) c ## LL
sys/arch/vax/include/int_const.h
57
#define UINTMAX_C(c) c ## ULL
sys/arch/vax/include/loadfile_machdep.h
43
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/vax/include/loadfile_machdep.h
44
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/vax/include/loadfile_machdep.h
45
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/vax/include/macros.h
106
vax_memset(void *block, int c, size_t len)
sys/arch/vax/include/macros.h
109
__blkset(block, c, len);
sys/arch/vax/include/macros.h
113
: "g" (len), "g" (c)
sys/arch/vax/include/macros.h
221
memchr(const void *cp, int c, size_t len)
sys/arch/vax/include/macros.h
230
: "r" (cp), "r" (c), "g"(len)
sys/arch/vax/include/pmap.h
235
#define pmap_copy(a,b,c,d,e) /* Dont do anything */
sys/arch/vax/uba/qv.c
522
qv_font(struct qv_softc *sc, int c, int line)
sys/arch/vax/uba/qv.c
525
if (c < 32)
sys/arch/vax/uba/qv.c
526
c = 32;
sys/arch/vax/uba/qv.c
527
else if (c > 127)
sys/arch/vax/uba/qv.c
528
c -= 66;
sys/arch/vax/uba/qv.c
530
c -= 32;
sys/arch/vax/uba/qv.c
533
return &sc->sc_font[c*QV_CHEIGHT + line];
sys/arch/vax/uba/qv.c
597
qv_putchar(void *id, int row, int col, u_int c, long attr)
sys/arch/vax/uba/qv.c
605
c &= 0xff;
sys/arch/vax/uba/qv.c
607
ss->ss_image[row][col] = c;
sys/arch/vax/uba/qv.c
612
gp = qv_font(ss->ss_sc, c, 0);
sys/arch/vax/uba/qv.c
945
u_char s, c = ss->ss_image[row][col];
sys/arch/vax/uba/qv.c
947
if (c < 32)
sys/arch/vax/uba/qv.c
948
c = 32;
sys/arch/vax/uba/qv.c
949
s = *qv_font(ss->ss_sc, c, line);
sys/arch/vax/uba/qvavar.h
90
#define QVA_C2I(c) (0) /* convert controller # to index */
sys/arch/vax/uba/qvavar.h
91
#define QVA_I2C(c) (0) /* convert minor to controller # */
sys/arch/vax/uba/qvkbd.c
227
qvkbd_sendchar(void *v, u_char c)
sys/arch/vax/uba/qvkbd.c
233
qvauxputc(ls, c);
sys/arch/vax/uba/qvkbd.c
242
int c;
sys/arch/vax/uba/qvkbd.c
245
c = qvauxgetc(qvi->qvi_ls);
sys/arch/vax/uba/qvkbd.c
246
} while (!lk201_decode(&qvi->qvi_ks, 0, c, type, data));
sys/arch/vax/vax/clock.c
260
struct clock_ymdhms c;
sys/arch/vax/vax/clock.c
280
c.dt_year = ((u_char)REGPEEK(YR_OFF)) + 1970;
sys/arch/vax/vax/clock.c
281
c.dt_mon = REGPEEK(MON_OFF);
sys/arch/vax/vax/clock.c
282
c.dt_day = REGPEEK(DAY_OFF);
sys/arch/vax/vax/clock.c
283
c.dt_wday = REGPEEK(WDAY_OFF);
sys/arch/vax/vax/clock.c
284
c.dt_hour = REGPEEK(HR_OFF);
sys/arch/vax/vax/clock.c
285
c.dt_min = REGPEEK(MIN_OFF);
sys/arch/vax/vax/clock.c
286
c.dt_sec = REGPEEK(SEC_OFF);
sys/arch/vax/vax/clock.c
289
tvp->tv_sec = clock_ymdhms_to_secs(&c);
sys/arch/vax/vax/clock.c
297
struct clock_ymdhms c;
sys/arch/vax/vax/clock.c
306
clock_secs_to_ymdhms(tvp->tv_sec, &c);
sys/arch/vax/vax/clock.c
308
REGPOKE(YR_OFF, ((u_char)(c.dt_year - 1970)));
sys/arch/vax/vax/clock.c
309
REGPOKE(MON_OFF, c.dt_mon);
sys/arch/vax/vax/clock.c
310
REGPOKE(DAY_OFF, c.dt_day);
sys/arch/vax/vax/clock.c
311
REGPOKE(WDAY_OFF, c.dt_wday);
sys/arch/vax/vax/clock.c
312
REGPOKE(HR_OFF, c.dt_hour);
sys/arch/vax/vax/clock.c
313
REGPOKE(MIN_OFF, c.dt_min);
sys/arch/vax/vax/clock.c
314
REGPOKE(SEC_OFF, c.dt_sec);
sys/arch/vax/vax/ctu.c
281
int i, c, tck;
sys/arch/vax/vax/ctu.c
299
if ((c = readchr()) < 0) {
sys/arch/vax/vax/ctu.c
306
buf[tu_sc.sc_xbytes++] = c;
sys/arch/vax/vax/ctu.c
308
ck = (c & 0xff);
sys/arch/vax/vax/ctu.c
310
ck |= ((c & 0xff) << 8);
sys/arch/vax/vax/ctu.c
354
if ((c = readchr()) < 0) {
sys/arch/vax/vax/ctu.c
361
((c != RSP_MOD_OK) && (c != RSP_MOD_RETR))) {
sys/arch/vax/vax/ctu.c
363
printf("end packet status bad: %d\n", c);
sys/arch/vax/vax/db_disasm.c
123
static inline void add_char(inst_buffer * ib, char c);
sys/arch/vax/vax/db_disasm.c
307
int c = get_byte(ib);
sys/arch/vax/vax/db_disasm.c
308
int mode = c >> 4;
sys/arch/vax/vax/db_disasm.c
309
int reg = c & 0x0F;
sys/arch/vax/vax/db_disasm.c
310
int lit = c & 0x3F;
sys/arch/vax/vax/db_disasm.c
464
add_char(inst_buffer *ib, char c)
sys/arch/vax/vax/db_disasm.c
466
*ib->curp++ = c;
sys/arch/vax/vax/ka6400.c
262
int c = mfpr(PR_RXCD);
sys/arch/vax/vax/ka6400.c
264
if (c == 0)
sys/arch/vax/vax/ka6400.c
268
if ((c & 0xff) == 0) {
sys/arch/vax/vax/ka6400.c
274
if (expect == ((c >> 8) & 0xf))
sys/arch/vax/vax/ka6400.c
275
rxbuf[got++] = c & 0xff;
sys/arch/vax/vax/ka6400.c
423
ka6400_putc(int c)
sys/arch/vax/vax/ka6400.c
426
gencnputc(0, c);
sys/arch/vax/vax/ka6400.c
429
ch = c;
sys/arch/vax/vax/ka820.c
147
char c;
sys/arch/vax/vax/ka820.c
152
c = rev & 0x8000 ? '5' : '0';
sys/arch/vax/vax/ka820.c
154
cpu_setmodel("VAX 82%c0", c);
sys/arch/vax/vax/ka820.c
156
c, mastercpu == ba->ba_nodenr ? "master" : "slave",
sys/arch/vax/vax/ka820.c
448
int c = mfpr(PR_RXCD);
sys/arch/vax/vax/ka820.c
450
if (c == 0)
sys/arch/vax/vax/ka820.c
454
if (expect == ((c >> 8) & 0xf))
sys/arch/vax/vax/ka820.c
455
rxbuf[got++] = c & 0xff;
sys/arch/vax/vax/ka820.c
481
struct clock_ymdhms c;
sys/arch/vax/vax/ka820.c
488
c.dt_sec = ka820_clkpage->sec;
sys/arch/vax/vax/ka820.c
489
c.dt_min = ka820_clkpage->min;
sys/arch/vax/vax/ka820.c
490
c.dt_hour = ka820_clkpage->hr;
sys/arch/vax/vax/ka820.c
491
c.dt_wday = ka820_clkpage->dayofwk;
sys/arch/vax/vax/ka820.c
492
c.dt_day = ka820_clkpage->day;
sys/arch/vax/vax/ka820.c
493
c.dt_mon = ka820_clkpage->mon;
sys/arch/vax/vax/ka820.c
494
c.dt_year = ka820_clkpage->yr;
sys/arch/vax/vax/ka820.c
498
c.dt_sec = ((c.dt_sec << 7) | (c.dt_sec >> 1)) & 0377;
sys/arch/vax/vax/ka820.c
499
c.dt_min = ((c.dt_min << 7) | (c.dt_min >> 1)) & 0377;
sys/arch/vax/vax/ka820.c
500
c.dt_hour = ((c.dt_hour << 7) | (c.dt_hour >> 1)) & 0377;
sys/arch/vax/vax/ka820.c
501
c.dt_wday = ((c.dt_wday << 7) | (c.dt_wday >> 1)) & 0377;
sys/arch/vax/vax/ka820.c
502
c.dt_day = ((c.dt_day << 7) | (c.dt_day >> 1)) & 0377;
sys/arch/vax/vax/ka820.c
503
c.dt_mon = ((c.dt_mon << 7) | (c.dt_mon >> 1)) & 0377;
sys/arch/vax/vax/ka820.c
504
c.dt_year = ((c.dt_year << 7) | (c.dt_year >> 1)) & 0377;
sys/arch/vax/vax/ka820.c
506
tvp->tv_sec = clock_ymdhms_to_secs(&c);
sys/arch/vax/vax/ka820.c
513
struct clock_ymdhms c;
sys/arch/vax/vax/ka820.c
515
clock_secs_to_ymdhms(tvp->tv_sec, &c);
sys/arch/vax/vax/ka820.c
518
ka820_clkpage->sec = ((c.dt_sec << 1) | (c.dt_sec >> 7)) & 0377;
sys/arch/vax/vax/ka820.c
519
ka820_clkpage->min = ((c.dt_min << 1) | (c.dt_min >> 7)) & 0377;
sys/arch/vax/vax/ka820.c
520
ka820_clkpage->hr = ((c.dt_hour << 1) | (c.dt_hour >> 7)) & 0377;
sys/arch/vax/vax/ka820.c
521
ka820_clkpage->dayofwk = ((c.dt_wday << 1) | (c.dt_wday >> 7)) & 0377;
sys/arch/vax/vax/ka820.c
522
ka820_clkpage->day = ((c.dt_day << 1) | (c.dt_day >> 7)) & 0377;
sys/arch/vax/vax/ka820.c
523
ka820_clkpage->mon = ((c.dt_mon << 1) | (c.dt_mon >> 7)) & 0377;
sys/arch/vax/vax/ka820.c
524
ka820_clkpage->yr = ((c.dt_year << 1) | (c.dt_year >> 7)) & 0377;
sys/arch/vax/vax/ka820.c
627
ka820_putc(int c)
sys/arch/vax/vax/ka820.c
630
gencnputc(0, c);
sys/arch/vax/vax/ka820.c
633
ch = c;
sys/arch/vax/vax/ka88.c
244
int c = mfpr(PR_RXCD);
sys/arch/vax/vax/ka88.c
246
if (c == 0)
sys/arch/vax/vax/ka88.c
250
if ((c & 0xff) == 0) {
sys/arch/vax/vax/ka88.c
256
if (expect == ((c >> 8) & 0xf))
sys/arch/vax/vax/ka88.c
257
rxbuf[got++] = c & 0xff;
sys/arch/vax/vax/ka88.c
323
char c = '0', d = '0';
sys/arch/vax/vax/ka88.c
331
c = '5';
sys/arch/vax/vax/ka88.c
341
c = '7';
sys/arch/vax/vax/ka88.c
344
cpu_setmodel("VAX 88%c%c", c, d);
sys/arch/vax/vax/ka88.c
459
ka88_putc(int c)
sys/arch/vax/vax/ka88.c
462
gencnputc(0, c);
sys/arch/vax/vax/ka88.c
465
ch = c;
sys/arch/vax/vax/nmi_mainbus.c
50
const char *c;
sys/arch/vax/vax/nmi_mainbus.c
54
c = "bi";
sys/arch/vax/vax/nmi_mainbus.c
56
c = "mem";
sys/arch/vax/vax/nmi_mainbus.c
58
c = "cpu";
sys/arch/vax/vax/nmi_mainbus.c
59
aprint_normal("%s at %s", c, name);
sys/arch/vax/vax/opcodes.c
531
int c = get_byte(ib++);
sys/arch/vax/vax/opcodes.c
533
switch (c >> 4) { /* mode */
sys/arch/vax/vax/opcodes.c
539
if (c == 0x9f) { /* pc: immediate deferred */
sys/arch/vax/vax/opcodes.c
547
if (c == 0x8f) { /* pc: immediate ==> special syntax */
sys/arch/vax/vsa/dz_vsbus.c
220
int c = 0, s;
sys/arch/vax/vsa/dz_vsbus.c
231
c = rbuf & 0x7f;
sys/arch/vax/vsa/dz_vsbus.c
232
} while (c == 17 || c == 19); /* ignore XON/XOFF */
sys/arch/vax/vsa/dz_vsbus.c
235
if (c == 13)
sys/arch/vax/vsa/dz_vsbus.c
236
c = 10;
sys/arch/vax/vsa/dz_vsbus.c
238
return (c);
sys/arch/vax/vsa/gpx.c
1145
uint8_t ramp[256], *c, *r;
sys/arch/vax/vsa/gpx.c
1154
c = ss->ss_cmap + 0 + index * 3;
sys/arch/vax/vsa/gpx.c
1156
*r++ = *c << (8 - ss->ss_depth), c += 3;
sys/arch/vax/vsa/gpx.c
1161
c = ss->ss_cmap + 1 + index * 3;
sys/arch/vax/vsa/gpx.c
1163
*r++ = *c << (8 - ss->ss_depth), c += 3;
sys/arch/vax/vsa/gpx.c
1168
c = ss->ss_cmap + 2 + index * 3;
sys/arch/vax/vsa/gpx.c
1170
*r++ = *c << (8 - ss->ss_depth), c += 3;
sys/arch/vax/vsa/gpx.c
1183
uint8_t r[256], g[256], b[256], *nr, *ng, *nb, *c;
sys/arch/vax/vsa/gpx.c
1196
c = ss->ss_cmap + index * 3;
sys/arch/vax/vsa/gpx.c
1198
*c++ = *nr++ >> (8 - ss->ss_depth);
sys/arch/vax/vsa/gpx.c
1199
*c++ = *ng++ >> (8 - ss->ss_depth);
sys/arch/vax/vsa/gpx.c
1200
*c++ = *nb++ >> (8 - ss->ss_depth);
sys/arch/vax/vsa/lcg.c
201
#define QCHAR(c) (c < lcg_font.firstchar ? 0 : \
sys/arch/vax/vsa/lcg.c
202
(c >= (lcg_font.firstchar + lcg_font.numchars) ? 0 : c - lcg_font.firstchar))
sys/arch/vax/vsa/lcg.c
203
#define QFONT(c,line) ((lcg_font.stride == 2 ? \
sys/arch/vax/vsa/lcg.c
204
qf2[QCHAR(c) * lcg_font.fontheight + line] : \
sys/arch/vax/vsa/lcg.c
205
qf[QCHAR(c) * lcg_font.fontheight + line]))
sys/arch/vax/vsa/lcg.c
562
lcg_putchar(void *id, int row, int col, u_int c, long attr)
sys/arch/vax/vsa/lcg.c
568
c &= 0xff;
sys/arch/vax/vsa/lcg.c
570
ss->ss_image[row * lcg_cols + col].data = c;
sys/arch/vax/vsa/lcg.c
583
renderchar(LCG_FONT_ADDR + (c * lcg_glyph_size),
sys/arch/vax/vsa/lcg.c
588
unsigned char ch = QFONT(c,i);
sys/arch/vax/vsa/lcg.c
847
u_char c = ss->ss_image[row * lcg_cols + col].data;
sys/arch/vax/vsa/lcg.c
849
if (c < 32)
sys/arch/vax/vsa/lcg.c
850
c = 32;
sys/arch/vax/vsa/lcg.c
852
renderchar(LCG_FONT_ADDR + (c * lcg_glyph_size),
sys/arch/vax/vsa/lcg.c
857
ch = QFONT(c,iter);
sys/arch/vax/vsa/spx.c
1087
u_char c;
sys/arch/vax/vsa/spx.c
1099
c = ss->ss_image[idx].data;
sys/arch/vax/vsa/spx.c
1103
(c != prevscr->ss_image[idx].data) ||
sys/arch/vax/vsa/spx.c
1105
if (c < 32)
sys/arch/vax/vsa/spx.c
1106
c = 32;
sys/arch/vax/vsa/spx.c
1107
spx_putchar(ss, row, col, c, attr);
sys/arch/vax/vsa/spx.c
299
#define QCHAR_INVALID(c) (((c) < spx_font.firstchar) || \
sys/arch/vax/vsa/spx.c
300
((c) >= spx_font.firstchar + spx_font.numchars))
sys/arch/vax/vsa/spx.c
301
#define QCHAR(c) (QCHAR_INVALID(c) ? 0 : (c) - spx_font.firstchar)
sys/arch/vax/vsa/spx.c
303
#define QFONT_INDEX(c, line) (QCHAR(c) * spx_font.fontheight + line)
sys/arch/vax/vsa/spx.c
304
#define QFONT_QF(c, line) qf[QFONT_INDEX(c, line)]
sys/arch/vax/vsa/spx.c
305
#define QFONT_QF2(c, line) qf2[QFONT_INDEX(c, line)]
sys/arch/vax/vsa/spx.c
306
#define QFONT(c, line) (spx_font.stride == 2 ? \
sys/arch/vax/vsa/spx.c
307
QFONT_QF2(c, line) : \
sys/arch/vax/vsa/spx.c
308
QFONT_QF(c, line))
sys/arch/vax/vsa/spx.c
372
#define spx_blkset(x, y, xd, yd, c) spx_blkset_func(x, y, xd, yd, c)
sys/arch/vax/vsa/spx.c
743
SPX_putchar(int row, int col, u_int c, char dot_fg, char dot_bg)
sys/arch/vax/vsa/spx.c
763
+ (c * spx_font.fontheight * spx_font.fontwidth);
sys/arch/vax/vsa/spx.c
779
SPXg_putchar(int row, int col, u_int c, char dot_fg, char dot_bg)
sys/arch/vax/vsa/spx.c
809
(c * spx_font.fontheight * spx_font.fontwidth);
sys/arch/vax/vsa/spx.c
830
spx_putchar(void *id, int row, int col, u_int c, long attr)
sys/arch/vax/vsa/spx.c
835
c &= 0xff;
sys/arch/vax/vsa/spx.c
837
ss->ss_image[row * spx_cols + col].data = c;
sys/arch/vax/vsa/spx.c
851
c += 0x100;
sys/arch/vax/vsa/spx.c
853
spx_putchar_func(row, col, c, dot_fg, dot_bg);
sys/arch/vax/vsa/vsbus.c
185
u_char c;
sys/arch/vax/vsa/vsbus.c
198
c = *sc->sc_intreq & ~sc->sc_mask;
sys/arch/vax/vsa/vsbus.c
202
c = sc->sc_mask; /* Fooling interrupt */
sys/arch/vax/vsa/vsbus.c
203
else if (c == 0)
sys/arch/vax/vsa/vsbus.c
206
*sc->sc_intmsk = c;
sys/arch/vax/vsa/vsbus.c
209
va.va_maskno = ffs((u_int)c);
sys/arch/vax/vsa/vsbus.c
220
*sc->sc_intmsk = c; /* Allow interrupts during attach */
sys/arch/x68k/dev/fd.c
1912
int c;
sys/arch/x68k/dev/fd.c
1918
c = cngetc();
sys/arch/x68k/dev/fd.c
1919
if ((c == '\r') || (c == '\n')) {
sys/arch/x68k/dev/intio_dmac.c
355
int c = 0;
sys/arch/x68k/dev/intio_dmac.c
414
c = dmac_program_arraychain(dmac->sc_dev, xf, offset, size);
sys/arch/x68k/dev/intio_dmac.c
418
DMAC_REG_BTCR, c);
sys/arch/x68k/dev/intio_dmac.c
432
if (dmamap->dm_nsegs != 1 && mmutype == MMU_68040 && c > 0)
sys/arch/x68k/dev/intio_dmac.c
434
sizeof(struct dmac_sg_array) * c);
sys/arch/x68k/dev/intio_dmac.c
482
int c;
sys/arch/x68k/dev/intio_dmac.c
502
c = dmac_program_arraychain(sc->sc_dev, xf, 0, map->dm_mapsize);
sys/arch/x68k/dev/intio_dmac.c
509
bus_space_write_2(sc->sc_bst, chan->ch_bht, DMAC_REG_BTCR, c);
sys/arch/x68k/dev/ite.c
1232
iteputchar(int c, struct ite_softc *ip)
sys/arch/x68k/dev/ite.c
1238
if ((c >= 0x20 && ip->escape != 0) || ip->escape == DCS) {
sys/arch/x68k/dev/ite.c
1240
if (c >= 0x20 && ip->escape != 0) {
sys/arch/x68k/dev/ite.c
1245
switch (c) {
sys/arch/x68k/dev/ite.c
1252
c = IND;
sys/arch/x68k/dev/ite.c
1262
c = NEL;
sys/arch/x68k/dev/ite.c
1268
c = HTS;
sys/arch/x68k/dev/ite.c
1274
c = RI;
sys/arch/x68k/dev/ite.c
1280
c = SS2;
sys/arch/x68k/dev/ite.c
1286
c = SS3;
sys/arch/x68k/dev/ite.c
1292
c = DCS;
sys/arch/x68k/dev/ite.c
1297
c = CSI;
sys/arch/x68k/dev/ite.c
1303
c = ST;
sys/arch/x68k/dev/ite.c
1313
c = OSC;
sys/arch/x68k/dev/ite.c
1318
c = PM;
sys/arch/x68k/dev/ite.c
1323
c = APC;
sys/arch/x68k/dev/ite.c
1337
ip->escape = c;
sys/arch/x68k/dev/ite.c
1477
switch (c) {
sys/arch/x68k/dev/ite.c
1511
switch (c) {
sys/arch/x68k/dev/ite.c
1531
switch (c) {
sys/arch/x68k/dev/ite.c
1550
switch (c) {
sys/arch/x68k/dev/ite.c
1585
switch (c) {
sys/arch/x68k/dev/ite.c
1601
*ip->ap++ = c;
sys/arch/x68k/dev/ite.c
1709
ip->imode = (c == 'h');
sys/arch/x68k/dev/ite.c
1712
ip->linefeed_newline = (c == 'h');
sys/arch/x68k/dev/ite.c
2090
switch (c) {
sys/arch/x68k/dev/ite.c
2109
*ip->ap++ = c;
sys/arch/x68k/dev/ite.c
2135
ip->cursor_appmode = (c == 'h');
sys/arch/x68k/dev/ite.c
2153
ip->inside_margins = (c == 'h');
sys/arch/x68k/dev/ite.c
2163
ip->auto_wrap = (c == 'h');
sys/arch/x68k/dev/ite.c
2167
ip->key_repeat = (c == 'h');
sys/arch/x68k/dev/ite.c
2171
ip->linefeed_newline = (c == 'h');
sys/arch/x68k/dev/ite.c
2175
SUBR_CURSOR(ip, (c == 'h') ?
sys/arch/x68k/dev/ite.c
2195
if (ite_dcs(c, ip) == 0) {
sys/arch/x68k/dev/ite.c
2207
switch (c) {
sys/arch/x68k/dev/ite.c
2363
(*((c & 0x80) ? ip->GR : ip->GL) & CSET_MULTI) != 0) {
sys/arch/x68k/dev/ite.c
2364
ip->save_char = c;
sys/arch/x68k/dev/ite.c
2373
SUBR_PUTC(ip, c, ip->cury, ip->curx, ATTR_INV);
sys/arch/x68k/dev/ite.c
2376
SUBR_PUTC(ip, c, ip->cury, ip->curx, ATTR_NOR);
sys/arch/x68k/dev/ite.c
2378
SUBR_PUTC(ip, c, ip->cury, ip->curx, ip->attribute);
sys/arch/x68k/dev/ite.c
2404
ite_dcs(const int c, struct ite_softc *ip)
sys/arch/x68k/dev/ite.c
2428
switch (c) {
sys/arch/x68k/dev/ite.c
2451
switch (c) {
sys/arch/x68k/dev/ite.c
2465
*ip->ap++ = c;
sys/arch/x68k/dev/ite.c
2521
switch (c) {
sys/arch/x68k/dev/ite.c
2536
ip->decsixel_state = c;
sys/arch/x68k/dev/ite.c
2542
ip->decsixel_state = c;
sys/arch/x68k/dev/ite.c
2567
if ('?' <= c && c <= '~'
sys/arch/x68k/dev/ite.c
2570
d = table[c - '?'] * ip->decsixel_color;
sys/arch/x68k/dev/ite.c
2581
if ('0' <= c && c <= '9') {
sys/arch/x68k/dev/ite.c
2583
ip->decsixel_repcount * 10 + (c - '0');
sys/arch/x68k/dev/ite.c
2584
} else if ('?' <= c && c <= '~') {
sys/arch/x68k/dev/ite.c
2589
d = table[c - '?'] * ip->decsixel_color;
sys/arch/x68k/dev/ite.c
2606
switch (c) {
sys/arch/x68k/dev/ite.c
2618
*ip->ap++ = c;
sys/arch/x68k/dev/ite.c
2657
switch (c) {
sys/arch/x68k/dev/ite.c
2670
*ip->ap++ = c;
sys/arch/x68k/dev/ite.c
2871
int c;
sys/arch/x68k/dev/ite.c
2874
c = kbdcngetc();
sys/arch/x68k/dev/ite.c
2875
c = ite_cnfilter(c);
sys/arch/x68k/dev/ite.c
2876
} while (c == -1);
sys/arch/x68k/dev/ite.c
2877
return (c);
sys/arch/x68k/dev/ite.c
2881
itecnputc(dev_t dev, int c)
sys/arch/x68k/dev/ite.c
2885
char ch = c;
sys/arch/x68k/dev/ite.c
611
ite_cnfilter(u_char c)
sys/arch/x68k/dev/ite.c
618
up = c & 0x80 ? 1 : 0;
sys/arch/x68k/dev/ite.c
619
c &= 0x7f;
sys/arch/x68k/dev/ite.c
625
if (c >= KBD_LEFT_ALT &&
sys/arch/x68k/dev/ite.c
626
!(c >= 0x63 && c <= 0x6c)) { /* 0x63: F1, 0x6c:F10 */
sys/arch/x68k/dev/ite.c
627
switch (c) {
sys/arch/x68k/dev/ite.c
688
key = kbdmap.alt_shift_keys[c];
sys/arch/x68k/dev/ite.c
690
key = kbdmap.shift_keys[c];
sys/arch/x68k/dev/ite.c
692
key = kbdmap.alt_keys[c];
sys/arch/x68k/dev/ite.c
694
key = kbdmap.keys[c];
sys/arch/x68k/dev/ite.c
698
key = kbdmap.shift_keys[c];
sys/arch/x68k/dev/ite.c
733
ite_filter(u_char c)
sys/arch/x68k/dev/ite.c
748
up = c & 0x80 ? 1 : 0;
sys/arch/x68k/dev/ite.c
749
c &= 0x7f;
sys/arch/x68k/dev/ite.c
753
if (c >= KBD_LEFT_ALT &&
sys/arch/x68k/dev/ite.c
754
!(c >= 0x63 && c <= 0x6c)) { /* 0x63: F1, 0x6c:F10 */
sys/arch/x68k/dev/ite.c
755
switch (c) {
sys/arch/x68k/dev/ite.c
832
if (mod == (KBD_MOD_LALT|KBD_MOD_LMETA) && c == 0x63) {
sys/arch/x68k/dev/ite.c
841
key = kbdmap.alt_shift_keys[c];
sys/arch/x68k/dev/ite.c
843
key = kbdmap.shift_keys[c];
sys/arch/x68k/dev/ite.c
845
key = kbdmap.alt_keys[c];
sys/arch/x68k/dev/ite.c
847
key = kbdmap.keys[c];
sys/arch/x68k/dev/ite.c
851
key = kbdmap.shift_keys[c];
sys/arch/x68k/dev/ite.c
854
key = kbdmap.shift_keys[c];
sys/arch/x68k/dev/ite.c
89
#define SUBR_PUTC(ip,c,dy,dx,m) ip->isw->ite_putc(ip,c,dy,dx,m)
sys/arch/x68k/dev/ite.c
902
if (c >= 0x3b && c <= 0x3e && kbd_ite->cursor_appmode != 0 &&
sys/arch/x68k/dev/ite.c
973
int c = ip->save_char;
sys/arch/x68k/dev/ite.c
985
ip->save_char = c;
sys/arch/x68k/dev/itevar.h
165
#define charX(ip,c) \
sys/arch/x68k/dev/itevar.h
166
(((c) % (ip)->cpl) * (ip)->ftwidth + (ip)->fontx)
sys/arch/x68k/dev/itevar.h
168
#define charY(ip,c) \
sys/arch/x68k/dev/itevar.h
169
(((c) / (ip)->cpl) * (ip)->ftheight + (ip)->fonty)
sys/arch/x68k/dev/kbd.c
158
#define KEY_CODE(c) ((c) & 0x7f)
sys/arch/x68k/dev/kbd.c
159
#define KEY_UP(c) ((c) & 0x80)
sys/arch/x68k/dev/kbd.c
336
uint8_t c, st;
sys/arch/x68k/dev/kbd.c
344
c = mfp_get_udr();
sys/arch/x68k/dev/kbd.c
346
rnd_add_uint32(&sc->sc_rndsource, (st << 8) | c);
sys/arch/x68k/dev/kbd.c
353
kbdbuf[kbdputoff++ & KBDBUFMASK] = c;
sys/arch/x68k/dev/kbd.c
369
fe->id = KEY_CODE(c);
sys/arch/x68k/dev/kbd.c
370
fe->value = KEY_UP(c) ? VKEY_UP : VKEY_DOWN;
sys/arch/x68k/dev/kbd.c
445
u_char ints, c;
sys/arch/x68k/dev/kbd.c
452
c = mfp_receive_usart();
sys/arch/x68k/dev/kbd.c
457
return c;
sys/arch/x68k/dev/mha.c
567
unsigned c = cmd[i];
sys/arch/x68k/dev/mha.c
569
c |= lun << 5;
sys/arch/x68k/dev/mha.c
570
SPC_MISC((" %02x", c));
sys/arch/x68k/dev/mha.c
571
sc->sc_pcx[i] = c;
sys/arch/x68k/dev/ms.c
365
ms_input(struct ms_softc *ms, int c)
sys/arch/x68k/dev/ms.c
393
ms->ms_mb = c & 0x3;
sys/arch/x68k/dev/ms.c
399
ms->ms_dx += (char)c;
sys/arch/x68k/dev/ms.c
405
ms->ms_dy += (char)c;
sys/arch/x68k/dev/ms.c
499
u_char c, rr1;
sys/arch/x68k/dev/ms.c
509
c = zs_read_data(cs);
sys/arch/x68k/dev/ms.c
516
ms->ms_rbuf[put] = (c << 8) | rr1;
sys/arch/x68k/dev/ms.c
579
int get, c;
sys/arch/x68k/dev/ms.c
599
c = (ring_data >> 8) & 0xff;
sys/arch/x68k/dev/ms.c
606
c = -1; /* signal input error */
sys/arch/x68k/dev/ms.c
610
ms_input(ms, c);
sys/arch/x68k/dev/powsw.c
57
#define DEBUG_LOG_ADD(c) sc->sc_log[sc->sc_loglen++] = (c)
sys/arch/x68k/dev/powsw.c
64
#define DEBUG_LOG_ADD(c)
sys/arch/x68k/dev/zs.c
538
int s, c, rr0;
sys/arch/x68k/dev/zs.c
546
c = zs_read_data(&zscn_cs);
sys/arch/x68k/dev/zs.c
553
return (c);
sys/arch/x68k/dev/zs.c
560
zs_putc(int c)
sys/arch/x68k/dev/zs.c
570
zs_write_data(&zscn_cs, c);
sys/arch/x68k/dev/zs.c
610
zscnputc(dev_t dev, int c)
sys/arch/x68k/dev/zs.c
612
zs_putc(c);
sys/arch/x68k/include/bus.h
155
#define bus_space_read_multi_1(t,h,o,p,c) _bus_space_read_multi_1(t,h,o,p,c)
sys/arch/x68k/include/bus.h
156
#define bus_space_read_multi_2(t,h,o,p,c) _bus_space_read_multi_2(t,h,o,p,c)
sys/arch/x68k/include/bus.h
157
#define bus_space_read_multi_4(t,h,o,p,c) _bus_space_read_multi_4(t,h,o,p,c)
sys/arch/x68k/include/bus.h
159
#define bus_space_read_region_1(t,h,o,p,c) _bus_space_read_region_1(t,h,o,p,c)
sys/arch/x68k/include/bus.h
160
#define bus_space_read_region_2(t,h,o,p,c) _bus_space_read_region_2(t,h,o,p,c)
sys/arch/x68k/include/bus.h
161
#define bus_space_read_region_4(t,h,o,p,c) _bus_space_read_region_4(t,h,o,p,c)
sys/arch/x68k/include/bus.h
167
#define bus_space_write_multi_1(t,h,o,p,c) _bus_space_write_multi_1(t,h,o,p,c)
sys/arch/x68k/include/bus.h
168
#define bus_space_write_multi_2(t,h,o,p,c) _bus_space_write_multi_2(t,h,o,p,c)
sys/arch/x68k/include/bus.h
169
#define bus_space_write_multi_4(t,h,o,p,c) _bus_space_write_multi_4(t,h,o,p,c)
sys/arch/x68k/include/bus.h
171
#define bus_space_write_region_1(t,h,o,p,c) \
sys/arch/x68k/include/bus.h
172
_bus_space_write_region_1(t,h,o,p,c)
sys/arch/x68k/include/bus.h
173
#define bus_space_write_region_2(t,h,o,p,c) \
sys/arch/x68k/include/bus.h
174
_bus_space_write_region_2(t,h,o,p,c)
sys/arch/x68k/include/bus.h
175
#define bus_space_write_region_4(t,h,o,p,c) \
sys/arch/x68k/include/bus.h
176
_bus_space_write_region_4(t,h,o,p,c)
sys/arch/x68k/include/bus.h
178
#define bus_space_set_region_1(t,h,o,v,c) _bus_space_set_region_1(t,h,o,v,c)
sys/arch/x68k/include/bus.h
179
#define bus_space_set_region_2(t,h,o,v,c) _bus_space_set_region_2(t,h,o,v,c)
sys/arch/x68k/include/bus.h
180
#define bus_space_set_region_4(t,h,o,v,c) _bus_space_set_region_4(t,h,o,v,c)
sys/arch/x68k/include/bus.h
182
#define bus_space_copy_region_1(t,sh,so,dh,do,c) \
sys/arch/x68k/include/bus.h
183
_bus_space_copy_region_1(t,sh,so,dh,do,c)
sys/arch/x68k/include/bus.h
184
#define bus_space_copy_region_2(t,sh,so,dh,do,c) \
sys/arch/x68k/include/bus.h
185
_bus_space_copy_region_2(t,sh,so,dh,do,c)
sys/arch/x68k/include/bus.h
186
#define bus_space_copy_region_4(t,sh,so,dh,do,c) \
sys/arch/x68k/include/bus.h
187
_bus_space_copy_region_4(t,sh,so,dh,do,c)
sys/arch/x68k/include/loadfile_machdep.h
48
#define READ(f, b, c) pread((f), (void *)LOADADDR(b), (c))
sys/arch/x68k/include/loadfile_machdep.h
49
#define BCOPY(s, d, c) vpbcopy((s), (void *)LOADADDR(d), (c))
sys/arch/x68k/include/loadfile_machdep.h
50
#define BZERO(d, c) pbzero((void *)LOADADDR(d), (c))
sys/arch/x68k/include/loadfile_machdep.h
66
#define READ(f, b, c) pread((f), (void *)LOADADDR(b), (c))
sys/arch/x68k/include/loadfile_machdep.h
67
#define BCOPY(s, d, c) vpbcopy((s), (void *)LOADADDR(d), (c))
sys/arch/x68k/include/loadfile_machdep.h
68
#define BZERO(d, c) pbzero((void *)LOADADDR(d), (c))
sys/arch/x68k/include/loadfile_machdep.h
84
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/x68k/include/loadfile_machdep.h
85
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/x68k/include/loadfile_machdep.h
86
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/x68k/stand/boot/boot.c
307
int n = 5, c;
sys/arch/x68k/stand/boot/boot.c
312
while (n-- > 0 && (c = awaitkey_1sec()) == 0) {
sys/arch/x68k/stand/boot/boot.c
321
if (c == 0 || c == '\r') {
sys/arch/x68k/stand/boot/switch.c
68
char *c;
sys/arch/x68k/stand/boot/switch.c
72
c = (char *)in;
sys/arch/x68k/stand/boot/switch.c
73
for (; isxdigit(*c); c++) {
sys/arch/x68k/stand/boot/switch.c
75
(*c > '9' ? ((*c | 0x20) - 'a' + 10) : *c - '0');
sys/arch/x68k/stand/boot_ufs/boot_ufs.h
17
void B_PUTC(unsigned int c);
sys/arch/x68k/stand/common/xprintf.c
43
#define UC(c) ((unsigned char) (c))
sys/arch/x68k/stand/common/xprintf.c
44
#define IS_SJIS1(c) ((UC(c) > 0x80 && UC(c) < 0xa0) || \
sys/arch/x68k/stand/common/xprintf.c
45
(UC(c) >= 0xe0 && UC(c) <= 0xfc))
sys/arch/x68k/stand/common/xprintf.c
46
#define IS_SJIS2(c) (UC(c) >= 0x40 && UC(c) <= 0xfc && UC(c) != 0x7f)
sys/arch/x68k/stand/installboot/installboot.c
174
int c;
sys/arch/x68k/stand/installboot/installboot.c
179
while ((c = getopt(argc, argv, "nvf")) != -1) {
sys/arch/x68k/stand/installboot/installboot.c
180
switch (c) {
sys/arch/x68k/stand/libsa/consio.c
131
int i, c;
sys/arch/x68k/stand/libsa/consio.c
136
for (i = 0; i < 100 && (c = check_getchar()) == 0; i++) {
sys/arch/x68k/stand/libsa/consio.c
146
return c;
sys/arch/x68k/stand/libsa/consio.c
88
putchar(int c)
sys/arch/x68k/stand/libsa/consio.c
91
if (c == '\n')
sys/arch/x68k/stand/libsa/consio.c
95
IOCS_B_PUTC(c);
sys/arch/x68k/stand/libsa/consio.c
98
IOCS_OUT232C(c);
sys/arch/x68k/stand/loadbsd/loadbsd.c
46
#define ISDIGIT(c) ((c) >= '0' && (c) <= '9')
sys/arch/x68k/stand/loadbsd/loadbsd.c
461
int c;
sys/arch/x68k/stand/loadbsd/loadbsd.c
463
while ((c = *++p))
sys/arch/x68k/stand/loadbsd/loadbsd.c
464
switch (c) {
sys/arch/x68k/stand/xxboot/consio1.c
45
putchar(int c)
sys/arch/x68k/stand/xxboot/consio1.c
47
if (c == '\n')
sys/arch/x68k/stand/xxboot/consio1.c
49
IOCS_B_PUTC (c);
sys/arch/x68k/usr.bin/palette/palette.c
30
int c = 7;
sys/arch/x68k/usr.bin/palette/palette.c
57
c = atoi(argv[--argc]);
sys/arch/x68k/usr.bin/palette/palette.c
58
if (c > 15) {
sys/arch/x68k/usr.bin/palette/palette.c
75
printf("color table offset = %d\n", c);
sys/arch/x68k/usr.bin/palette/palette.c
82
palette[c] = r | g | b | 1;
sys/arch/x68k/x68k/disksubr.c
408
int c = 0;
sys/arch/x68k/x68k/disksubr.c
418
c++;
sys/arch/x68k/x68k/disksubr.c
421
c++;
sys/arch/x68k/x68k/disksubr.c
424
c++;
sys/arch/x68k/x68k/disksubr.c
426
if (c > 1)
sys/arch/x86/include/bios32.h
73
#define BIOS32_MAKESIG(a, b, c, d) \
sys/arch/x86/include/bios32.h
74
((a) | ((b) << 8) | ((c) << 16) | ((d) << 24))
sys/arch/x86/include/cacheinfo.h
210
#define __CI_TBL(a,b,c,d,e,f) { a, b, c, d, e }
sys/arch/x86/include/cacheinfo.h
212
#define __CI_TBL(a,b,c,d,e,f) { a, b, c, d, e, f }
sys/arch/x86/include/isa_machdep.h
119
#define isa_dmacascade(ic, c) \
sys/arch/x86/include/isa_machdep.h
120
_isa_dmacascade(&(ic)->ic_dmastate, (c))
sys/arch/x86/include/isa_machdep.h
121
#define isa_dmamaxsize(ic, c) \
sys/arch/x86/include/isa_machdep.h
122
_isa_dmamaxsize(&(ic)->ic_dmastate, (c))
sys/arch/x86/include/isa_machdep.h
123
#define isa_dmamap_create(ic, c, s, f) \
sys/arch/x86/include/isa_machdep.h
124
_isa_dmamap_create(&(ic)->ic_dmastate, (c), (s), (f))
sys/arch/x86/include/isa_machdep.h
125
#define isa_dmamap_destroy(ic, c) \
sys/arch/x86/include/isa_machdep.h
126
_isa_dmamap_destroy(&(ic)->ic_dmastate, (c))
sys/arch/x86/include/isa_machdep.h
127
#define isa_dmastart(ic, c, a, n, p, f, bf) \
sys/arch/x86/include/isa_machdep.h
128
_isa_dmastart(&(ic)->ic_dmastate, (c), (a), (n), (p), (f), (bf))
sys/arch/x86/include/isa_machdep.h
129
#define isa_dmaabort(ic, c) \
sys/arch/x86/include/isa_machdep.h
130
_isa_dmaabort(&(ic)->ic_dmastate, (c))
sys/arch/x86/include/isa_machdep.h
131
#define isa_dmacount(ic, c) \
sys/arch/x86/include/isa_machdep.h
132
_isa_dmacount(&(ic)->ic_dmastate, (c))
sys/arch/x86/include/isa_machdep.h
133
#define isa_dmafinished(ic, c) \
sys/arch/x86/include/isa_machdep.h
134
_isa_dmafinished(&(ic)->ic_dmastate, (c))
sys/arch/x86/include/isa_machdep.h
135
#define isa_dmadone(ic, c) \
sys/arch/x86/include/isa_machdep.h
136
_isa_dmadone(&(ic)->ic_dmastate, (c))
sys/arch/x86/include/isa_machdep.h
141
#define isa_dmamem_alloc(ic, c, s, ap, f) \
sys/arch/x86/include/isa_machdep.h
142
_isa_dmamem_alloc(&(ic)->ic_dmastate, (c), (s), (ap), (f))
sys/arch/x86/include/isa_machdep.h
143
#define isa_dmamem_free(ic, c, a, s) \
sys/arch/x86/include/isa_machdep.h
144
_isa_dmamem_free(&(ic)->ic_dmastate, (c), (a), (s))
sys/arch/x86/include/isa_machdep.h
145
#define isa_dmamem_map(ic, c, a, s, kp, f) \
sys/arch/x86/include/isa_machdep.h
146
_isa_dmamem_map(&(ic)->ic_dmastate, (c), (a), (s), (kp), (f))
sys/arch/x86/include/isa_machdep.h
147
#define isa_dmamem_unmap(ic, c, k, s) \
sys/arch/x86/include/isa_machdep.h
148
_isa_dmamem_unmap(&(ic)->ic_dmastate, (c), (k), (s))
sys/arch/x86/include/isa_machdep.h
149
#define isa_dmamem_mmap(ic, c, a, s, o, p, f) \
sys/arch/x86/include/isa_machdep.h
150
_isa_dmamem_mmap(&(ic)->ic_dmastate, (c), (a), (s), (o), (p), (f))
sys/arch/x86/include/isa_machdep.h
151
#define isa_drq_alloc(ic, c) \
sys/arch/x86/include/isa_machdep.h
152
_isa_drq_alloc(&(ic)->ic_dmastate, c)
sys/arch/x86/include/isa_machdep.h
153
#define isa_drq_free(ic, c) \
sys/arch/x86/include/isa_machdep.h
154
_isa_drq_free(&(ic)->ic_dmastate, c)
sys/arch/x86/include/isa_machdep.h
155
#define isa_drq_isfree(ic, c) \
sys/arch/x86/include/isa_machdep.h
156
_isa_drq_isfree(&(ic)->ic_dmastate, (c))
sys/arch/x86/include/isa_machdep.h
157
#define isa_malloc(ic, c, s, p, f) \
sys/arch/x86/include/isa_machdep.h
158
_isa_malloc(&(ic)->ic_dmastate, (c), (s), (p), (f))
sys/arch/x86/include/loadfile_machdep.h
42
#define READ(f, b, c) pread((f), (void *)LOADADDR(b), (c))
sys/arch/x86/include/loadfile_machdep.h
43
#define BCOPY(s, d, c) vpbcopy((s), (void *)LOADADDR(d), (c))
sys/arch/x86/include/loadfile_machdep.h
44
#define BZERO(d, c) pbzero((void *)LOADADDR(d), (c))
sys/arch/x86/include/loadfile_machdep.h
66
#define READ(f, b, c) c
sys/arch/x86/include/loadfile_machdep.h
67
#define BCOPY(s, d, c)
sys/arch/x86/include/loadfile_machdep.h
68
#define BZERO(d, c)
sys/arch/x86/include/loadfile_machdep.h
72
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/x86/include/loadfile_machdep.h
73
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/x86/include/loadfile_machdep.h
74
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/x86/isa/clock.c
262
int c = a; \
sys/arch/x86/isa/clock.c
264
b = c; \
sys/arch/x86/x86/bus_space.c
675
uint8_t v, size_t c)
sys/arch/x86/x86/bus_space.c
680
while (c--)
sys/arch/x86/x86/bus_space.c
683
while (c--)
sys/arch/x86/x86/bus_space.c
689
uint16_t v, size_t c)
sys/arch/x86/x86/bus_space.c
696
while (c--)
sys/arch/x86/x86/bus_space.c
699
while (c--)
sys/arch/x86/x86/bus_space.c
705
uint32_t v, size_t c)
sys/arch/x86/x86/bus_space.c
712
while (c--)
sys/arch/x86/x86/bus_space.c
715
while (c--)
sys/arch/x86/x86/bus_space.c
721
uint8_t v, size_t c)
sys/arch/x86/x86/bus_space.c
726
for (; c != 0; c--, addr++)
sys/arch/x86/x86/bus_space.c
729
for (; c != 0; c--, addr++)
sys/arch/x86/x86/bus_space.c
735
uint16_t v, size_t c)
sys/arch/x86/x86/bus_space.c
742
for (; c != 0; c--, addr += 2)
sys/arch/x86/x86/bus_space.c
745
for (; c != 0; c--, addr += 2)
sys/arch/x86/x86/bus_space.c
751
uint32_t v, size_t c)
sys/arch/x86/x86/bus_space.c
758
for (; c != 0; c--, addr += 4)
sys/arch/x86/x86/bus_space.c
761
for (; c != 0; c--, addr += 4)
sys/arch/x86/x86/bus_space.c
768
bus_size_t o2, size_t c)
sys/arch/x86/x86/bus_space.c
776
for (; c != 0; c--, addr1++, addr2++)
sys/arch/x86/x86/bus_space.c
780
for (addr1 += (c - 1), addr2 += (c - 1);
sys/arch/x86/x86/bus_space.c
781
c != 0; c--, addr1--, addr2--)
sys/arch/x86/x86/bus_space.c
787
for (; c != 0; c--, addr1++, addr2++)
sys/arch/x86/x86/bus_space.c
792
for (addr1 += (c - 1), addr2 += (c - 1);
sys/arch/x86/x86/bus_space.c
793
c != 0; c--, addr1--, addr2--)
sys/arch/x86/x86/bus_space.c
803
bus_size_t o2, size_t c)
sys/arch/x86/x86/bus_space.c
814
for (; c != 0; c--, addr1 += 2, addr2 += 2)
sys/arch/x86/x86/bus_space.c
818
for (addr1 += 2 * (c - 1), addr2 += 2 * (c - 1);
sys/arch/x86/x86/bus_space.c
819
c != 0; c--, addr1 -= 2, addr2 -= 2)
sys/arch/x86/x86/bus_space.c
825
for (; c != 0; c--, addr1 += 2, addr2 += 2)
sys/arch/x86/x86/bus_space.c
830
for (addr1 += 2 * (c - 1), addr2 += 2 * (c - 1);
sys/arch/x86/x86/bus_space.c
831
c != 0; c--, addr1 -= 2, addr2 -= 2)
sys/arch/x86/x86/bus_space.c
841
bus_size_t o2, size_t c)
sys/arch/x86/x86/bus_space.c
852
for (; c != 0; c--, addr1 += 4, addr2 += 4)
sys/arch/x86/x86/bus_space.c
856
for (addr1 += 4 * (c - 1), addr2 += 4 * (c - 1);
sys/arch/x86/x86/bus_space.c
857
c != 0; c--, addr1 -= 4, addr2 -= 4)
sys/arch/x86/x86/bus_space.c
863
for (; c != 0; c--, addr1 += 4, addr2 += 4)
sys/arch/x86/x86/bus_space.c
868
for (addr1 += 4 * (c - 1), addr2 += 4 * (c - 1);
sys/arch/x86/x86/bus_space.c
869
c != 0; c--, addr1 -= 4, addr2 -= 4)
sys/arch/x86/x86/cpu_topology.c
60
struct acpisrat_cpu c;
sys/arch/x86/x86/cpu_topology.c
66
acpisrat_cpu(i, j, &c);
sys/arch/x86/x86/cpu_topology.c
67
if (c.apicid == apic_id) {
sys/arch/x86/x86/cpu_topology.c
68
return c.nodeid;
sys/arch/x86/x86/db_trace.c
127
char c;
sys/arch/x86/x86/db_trace.c
129
while ((c = *cp++) != 0) {
sys/arch/x86/x86/db_trace.c
130
if (c == 'a') {
sys/arch/x86/x86/db_trace.c
134
if (c == 't')
sys/arch/x86/x86/db_trace.c
136
if (c == 'u')
sys/arch/x86/x86/via_padlock.c
131
struct cryptoini *c;
sys/arch/x86/x86/via_padlock.c
172
for (c = cri; c != NULL; c = c->cri_next) {
sys/arch/x86/x86/via_padlock.c
173
switch (c->cri_alg) {
sys/arch/x86/x86/via_padlock.c
178
switch (c->cri_klen) {
sys/arch/x86/x86/via_padlock.c
186
c->cri_key, 16);
sys/arch/x86/x86/via_padlock.c
188
c->cri_key, 16);
sys/arch/x86/x86/via_padlock.c
193
c->cri_key, 24);
sys/arch/x86/x86/via_padlock.c
195
c->cri_key, 24);
sys/arch/x86/x86/via_padlock.c
200
c->cri_key, 32);
sys/arch/x86/x86/via_padlock.c
202
c->cri_key, 32);
sys/arch/x86/x86/via_padlock.c
212
ses->ses_klen = c->cri_klen;
sys/arch/x86/x86/via_padlock.c
274
for (i = 0; i < c->cri_klen / 8; i++)
sys/arch/x86/x86/via_padlock.c
275
c->cri_key[i] ^= HMAC_IPAD_VAL;
sys/arch/x86/x86/via_padlock.c
278
axf->Update(swd->sw_ictx, c->cri_key, c->cri_klen / 8);
sys/arch/x86/x86/via_padlock.c
280
HMAC_BLOCK_LEN - (c->cri_klen / 8));
sys/arch/x86/x86/via_padlock.c
282
for (i = 0; i < c->cri_klen / 8; i++)
sys/arch/x86/x86/via_padlock.c
283
c->cri_key[i] ^= (HMAC_IPAD_VAL ^
sys/arch/x86/x86/via_padlock.c
287
axf->Update(swd->sw_octx, c->cri_key, c->cri_klen / 8);
sys/arch/x86/x86/via_padlock.c
289
HMAC_BLOCK_LEN - (c->cri_klen / 8));
sys/arch/x86/x86/via_padlock.c
291
for (i = 0; i < c->cri_klen / 8; i++)
sys/arch/x86/x86/via_padlock.c
292
c->cri_key[i] ^= HMAC_OPAD_VAL;
sys/arch/x86/x86/via_padlock.c
295
swd->sw_alg = c->cri_alg;
sys/arch/x86/x86/x86_tlb.c
100
#define TP_SET_VA(tp, c, va) ((tp)->tp_store[(c)] |= ((va) & ~PAGE_MASK))
sys/arch/xen/xen/pciback.c
368
char *pcidevs, *c;
sys/arch/xen/xen/pciback.c
383
c = strchr(pcidevs, ')');
sys/arch/xen/xen/pciback.c
384
if (c == NULL)
sys/arch/xen/xen/pciback.c
386
*c = '\0';
sys/arch/xen/xen/pciback.c
397
pcidevs = c + 1;
sys/arch/xen/xen/pciback.c
418
char *c;
sys/arch/xen/xen/pciback.c
421
c = strchr(str, ':');
sys/arch/xen/xen/pciback.c
422
if (c == NULL)
sys/arch/xen/xen/pciback.c
426
str = c + 1;
sys/arch/xen/xen/pciback.c
428
*busp = strtoul(str, &c, 16);
sys/arch/xen/xen/pciback.c
429
if (*c != ':')
sys/arch/xen/xen/pciback.c
431
str = c + 1;
sys/arch/xen/xen/pciback.c
432
*devp = strtoul(str, &c, 16);
sys/arch/xen/xen/pciback.c
433
if (*c != '.')
sys/arch/xen/xen/pciback.c
435
str = c + 1;
sys/arch/xen/xen/pciback.c
436
*funcp = strtoul(str, &c, 16);
sys/arch/xen/xen/pciback.c
437
if (*c != '\0')
sys/arch/xen/xen/pciback.c
441
aprint_error("pciback_pci_init: syntax error at char %c\n", *c);
sys/arch/xen/xen/xen_machdep.c
470
early_xenconscn_putc(dev_t dev, int c)
sys/arch/xen/xen/xen_machdep.c
472
printk("%c", c);
sys/arch/xen/xen/xencons.c
546
char c;
sys/arch/xen/xen/xencons.c
556
while (HYPERVISOR_console_io(CONSOLEIO_read, 1, &c) == 0)
sys/arch/xen/xen/xencons.c
558
cn_check_magic(dev, c, xencons_cnm_state);
sys/arch/xen/xen/xencons.c
560
return c;
sys/arch/xen/xen/xencons.c
583
c = xencons_interface->in[MASK_XENCONS_IDX(xencons_interface->in_cons,
sys/arch/xen/xen/xencons.c
587
cn_check_magic(dev, c, xencons_cnm_state);
sys/arch/xen/xen/xencons.c
589
return c;
sys/arch/xen/xen/xencons.c
593
xenconscn_putc(dev_t dev, int c)
sys/arch/xen/xen/xencons.c
601
buf[0] = c;
sys/arch/xen/xen/xencons.c
604
XENPRINTK(("xenconscn_putc(%c)\n", c));
sys/arch/xen/xen/xencons.c
615
xencons_interface->out)] = c;
sys/arch/zaurus/dev/w100.c
209
wsdisplay_cnattach(&descr->c, ri, ri->ri_ccol, ri->ri_crow,
sys/arch/zaurus/dev/w100.c
279
if (descr->c.nrows == 0) {
sys/arch/zaurus/dev/w100.c
283
rasops_init(rinfo, descr->c.nrows, descr->c.ncols);
sys/arch/zaurus/dev/w100.c
286
descr->c.nrows = rinfo->ri_rows;
sys/arch/zaurus/dev/w100.c
287
descr->c.ncols = rinfo->ri_cols;
sys/arch/zaurus/dev/w100.c
288
descr->c.capabilities = rinfo->ri_caps;
sys/arch/zaurus/dev/w100.c
289
descr->c.textops = &rinfo->ri_ops;
sys/arch/zaurus/dev/w100.c
372
descr->c.nrows = rinfo.ri_rows;
sys/arch/zaurus/dev/w100.c
373
descr->c.ncols = rinfo.ri_cols;
sys/arch/zaurus/dev/w100.c
374
descr->c.capabilities = rinfo.ri_caps;
sys/arch/zaurus/dev/w100.c
416
rasops_init(&scr->rinfo, type->c.nrows, type->c.ncols);
sys/arch/zaurus/dev/w100.c
517
w100_mapchar(void *cookie, int c, unsigned int *cp)
sys/arch/zaurus/dev/w100.c
521
return (*scr->rinfo.ri_ops.mapchar)(&scr->rinfo, c, cp);
sys/arch/zaurus/dev/w100lcd.c
71
.c = {
sys/arch/zaurus/dev/w100lcd.c
83
&w100lcd_std_screen.c
sys/arch/zaurus/dev/w100var.h
49
struct wsscreen_descr c; /* standard descriptor */
sys/arch/zaurus/dev/zkbd.c
390
int npress = 0, ncbuf = 0, c;
sys/arch/zaurus/dev/zkbd.c
479
c = sc->sc_xt_keymap[i];
sys/arch/zaurus/dev/zkbd.c
480
if (c & 0x80) {
sys/arch/zaurus/dev/zkbd.c
483
cbuf[ncbuf] = c & 0x7f;
sys/arch/zaurus/dev/zkbd.c
486
if (c & 0x80) {
sys/arch/zaurus/dev/zkbd.c
489
sc->sc_rep[npress++] = c & 0x7f;
sys/arch/zaurus/dev/zlcd.c
74
.c = {
sys/arch/zaurus/dev/zlcd.c
86
&lcd_std_screen.c
sys/arch/zaurus/dev/zrc.c
362
int c;
sys/arch/zaurus/dev/zrc.c
366
c = zrc_xt_keymap[key];
sys/arch/zaurus/dev/zrc.c
367
if (c & 0x80)
sys/arch/zaurus/dev/zrc.c
369
cbuf[ncbuf] = c & 0x7f;
sys/arch/zaurus/include/loadfile_machdep.h
39
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
sys/arch/zaurus/include/loadfile_machdep.h
40
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))
sys/arch/zaurus/include/loadfile_machdep.h
41
#define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c))
sys/arch/zaurus/stand/zboot/boot.c
113
#define isvalidname(c) ((c) >= 'a' && (c) <= 'z')
sys/arch/zaurus/stand/zboot/boot.c
122
#define isnum(c) ((c) >= '0' && (c) <= '9')
sys/arch/zaurus/stand/zboot/boot.c
132
#define isvalidpart(c) ((c) >= 'a' && (c) < 'a' + MAXPARTITIONS)
sys/arch/zaurus/stand/zboot/boot.c
186
int c;
sys/arch/zaurus/stand/zboot/boot.c
231
c = awaitkey((bootcfg_info.timeout < 0) ? 0
sys/arch/zaurus/stand/zboot/boot.c
233
if ((c != '\r') && (c != '\n') && (c != '\0')) {
sys/arch/zaurus/stand/zboot/boot.c
412
char *c;
sys/arch/zaurus/stand/zboot/boot.c
415
c = input;
sys/arch/zaurus/stand/zboot/boot.c
424
while (*c == ' ') {
sys/arch/zaurus/stand/zboot/boot.c
425
c++;
sys/arch/zaurus/stand/zboot/boot.c
427
if (*c != '\0') {
sys/arch/zaurus/stand/zboot/boot.c
428
docommand(c);
sys/arch/zaurus/stand/zboot/unixcons.c
104
putchar(int c)
sys/arch/zaurus/stand/zboot/unixcons.c
107
common_putc(outfd, c);
sys/arch/zaurus/stand/zboot/unixcons.c
118
common_putc(int fd, int c)
sys/arch/zaurus/stand/zboot/unixcons.c
121
(void)uwrite(fd, &c, 1);
sys/arch/zaurus/stand/zboot/unixcons.c
130
char c;
sys/arch/zaurus/stand/zboot/unixcons.c
148
return (uread(fd, &c, 1) < 1 ? -1 : c);
sys/arch/zaurus/stand/zboot/unixcons.c
159
int c = 0;
sys/arch/zaurus/stand/zboot/unixcons.c
179
c = common_getc(infd, 1);
sys/arch/zaurus/stand/zboot/unixcons.c
180
if (c == 0)
sys/arch/zaurus/stand/zboot/unixcons.c
181
c = -1;
sys/arch/zaurus/stand/zboot/unixcons.c
182
if (c >= 0)
sys/arch/zaurus/stand/zboot/unixcons.c
186
c = '\0';
sys/arch/zaurus/stand/zboot/unixcons.c
194
return c;
sys/arch/zaurus/stand/zboot/unixcons.c
45
static void common_putc(int fd, int c);
sys/compat/linux/common/linux_file64.c
253
uint8_t c;
sys/compat/linux/common/linux_file64.c
263
error = ufetch_8(path, &c);
sys/compat/linux/common/linux_file64.c
266
if (c == '\0') {
sys/compat/linux/common/linux_sched.c
797
unsigned int c = SCARG(uap, code);
sys/compat/linux/common/linux_sched.c
800
switch(c) {
sys/compat/linux/common/linux_sched.c
814
printf("Unimplemented linux prctl code: (%d)", c);
sys/compat/netbsd32/netbsd32_ioctl.c
1000
NETBSD32PTR32(c32->red, c->red);
sys/compat/netbsd32/netbsd32_ioctl.c
1001
NETBSD32PTR32(c32->green, c->green);
sys/compat/netbsd32/netbsd32_ioctl.c
1002
NETBSD32PTR32(c32->blue, c->blue);
sys/compat/netbsd32/netbsd32_ioctl.c
495
struct wsdisplay_cursor *c, u_long cmd)
sys/compat/netbsd32/netbsd32_ioctl.c
498
c->which = c32->which;
sys/compat/netbsd32/netbsd32_ioctl.c
499
c->enable = c32->enable;
sys/compat/netbsd32/netbsd32_ioctl.c
500
c->pos.x = c32->pos.x;
sys/compat/netbsd32/netbsd32_ioctl.c
501
c->pos.y = c32->pos.y;
sys/compat/netbsd32/netbsd32_ioctl.c
502
c->hot.x = c32->hot.x;
sys/compat/netbsd32/netbsd32_ioctl.c
503
c->hot.y = c32->hot.y;
sys/compat/netbsd32/netbsd32_ioctl.c
504
c->size.x = c32->size.x;
sys/compat/netbsd32/netbsd32_ioctl.c
505
c->size.y = c32->size.y;
sys/compat/netbsd32/netbsd32_ioctl.c
506
c->cmap.index = c32->cmap.index;
sys/compat/netbsd32/netbsd32_ioctl.c
507
c->cmap.count = c32->cmap.count;
sys/compat/netbsd32/netbsd32_ioctl.c
508
c->cmap.red = NETBSD32PTR64(c32->cmap.red);
sys/compat/netbsd32/netbsd32_ioctl.c
509
c->cmap.green = NETBSD32PTR64(c32->cmap.green);
sys/compat/netbsd32/netbsd32_ioctl.c
510
c->cmap.blue = NETBSD32PTR64(c32->cmap.blue);
sys/compat/netbsd32/netbsd32_ioctl.c
511
c->image = NETBSD32PTR64(c32->image);
sys/compat/netbsd32/netbsd32_ioctl.c
512
c->mask = NETBSD32PTR64(c32->mask);
sys/compat/netbsd32/netbsd32_ioctl.c
517
struct wsdisplay_cmap *c, u_long cmd)
sys/compat/netbsd32/netbsd32_ioctl.c
520
c->index = c32->index;
sys/compat/netbsd32/netbsd32_ioctl.c
521
c->count = c32->count;
sys/compat/netbsd32/netbsd32_ioctl.c
522
c->red = NETBSD32PTR64(c32->red);
sys/compat/netbsd32/netbsd32_ioctl.c
523
c->green = NETBSD32PTR64(c32->green);
sys/compat/netbsd32/netbsd32_ioctl.c
524
c->blue = NETBSD32PTR64(c32->blue);
sys/compat/netbsd32/netbsd32_ioctl.c
972
netbsd32_from_wsdisplay_cursor(struct wsdisplay_cursor *c,
sys/compat/netbsd32/netbsd32_ioctl.c
976
c32->which = c->which;
sys/compat/netbsd32/netbsd32_ioctl.c
977
c32->enable = c->enable;
sys/compat/netbsd32/netbsd32_ioctl.c
978
c32->pos.x = c->pos.x;
sys/compat/netbsd32/netbsd32_ioctl.c
979
c32->pos.y = c->pos.y;
sys/compat/netbsd32/netbsd32_ioctl.c
980
c32->hot.x = c->hot.x;
sys/compat/netbsd32/netbsd32_ioctl.c
981
c32->hot.y = c->hot.y;
sys/compat/netbsd32/netbsd32_ioctl.c
982
c32->size.x = c->size.x;
sys/compat/netbsd32/netbsd32_ioctl.c
983
c32->size.y = c->size.y;
sys/compat/netbsd32/netbsd32_ioctl.c
984
c32->cmap.index = c->cmap.index;
sys/compat/netbsd32/netbsd32_ioctl.c
985
c32->cmap.count = c->cmap.count;
sys/compat/netbsd32/netbsd32_ioctl.c
986
NETBSD32PTR32(c32->cmap.red, c->cmap.red);
sys/compat/netbsd32/netbsd32_ioctl.c
987
NETBSD32PTR32(c32->cmap.green, c->cmap.green);
sys/compat/netbsd32/netbsd32_ioctl.c
988
NETBSD32PTR32(c32->cmap.blue, c->cmap.blue);
sys/compat/netbsd32/netbsd32_ioctl.c
989
NETBSD32PTR32(c32->image, c->image);
sys/compat/netbsd32/netbsd32_ioctl.c
990
NETBSD32PTR32(c32->mask, c->mask);
sys/compat/netbsd32/netbsd32_ioctl.c
994
netbsd32_from_wsdisplay_cmap(struct wsdisplay_cmap *c,
sys/compat/netbsd32/netbsd32_ioctl.c
998
c32->index = c->index;
sys/compat/netbsd32/netbsd32_ioctl.c
999
c32->count = c->count;
sys/crypto/adiantum/adiantum.c
117
unsigned i, c;
sys/crypto/adiantum/adiantum.c
119
c = 0;
sys/crypto/adiantum/adiantum.c
121
c = a[i] + b[i] + c;
sys/crypto/adiantum/adiantum.c
122
s[i] = c & 0xff;
sys/crypto/adiantum/adiantum.c
123
c >>= 8;
sys/crypto/adiantum/adiantum.c
132
unsigned i, c;
sys/crypto/adiantum/adiantum.c
134
c = 0;
sys/crypto/adiantum/adiantum.c
136
c = a[i] - b[i] - c;
sys/crypto/adiantum/adiantum.c
137
d[i] = c & 0xff;
sys/crypto/adiantum/adiantum.c
138
c = 1 & (c >> 8);
sys/crypto/adiantum/adiantum.c
165
static const uint8_t c[16] = {
sys/crypto/adiantum/adiantum.c
179
if (memcmp(r, c, 16)) {
sys/crypto/adiantum/adiantum.c
1858
adiantum_enc(void *c, const void *p, size_t len, const void *t, size_t tlen,
sys/crypto/adiantum/adiantum.c
1863
uint8_t *c8 = c;
sys/crypto/adiantum/adiantum.c
1891
adiantum_dec(void *p, const void *c, size_t len, const void *t, size_t tlen,
sys/crypto/adiantum/adiantum.c
1896
const uint8_t *c8 = c;
sys/crypto/adiantum/adiantum.c
225
uint32_t c; /* carry */
sys/crypto/adiantum/adiantum.c
272
p0 += 0; c = p0 >> 26; h0 = p0 & 0x03ffffff;
sys/crypto/adiantum/adiantum.c
273
p1 += c; c = p1 >> 26; h1 = p1 & 0x03ffffff;
sys/crypto/adiantum/adiantum.c
274
p2 += c; c = p2 >> 26; h2 = p2 & 0x03ffffff;
sys/crypto/adiantum/adiantum.c
275
p3 += c; c = p3 >> 26; h3 = p3 & 0x03ffffff;
sys/crypto/adiantum/adiantum.c
276
p4 += c; c = p4 >> 26; h4 = p4 & 0x03ffffff;
sys/crypto/adiantum/adiantum.c
279
h0 += c*5; c = h0 >> 26; h0 &= 0x03ffffff;
sys/crypto/adiantum/adiantum.c
280
h1 += c;
sys/crypto/adiantum/adiantum.c
301
uint32_t c;
sys/crypto/adiantum/adiantum.c
304
h1 += 0; c = h1 >> 26; h1 &= 0x03ffffff;
sys/crypto/adiantum/adiantum.c
305
h2 += c; c = h2 >> 26; h2 &= 0x03ffffff;
sys/crypto/adiantum/adiantum.c
306
h3 += c; c = h3 >> 26; h3 &= 0x03ffffff;
sys/crypto/adiantum/adiantum.c
307
h4 += c; c = h4 >> 26; h4 &= 0x03ffffff;
sys/crypto/adiantum/adiantum.c
310
h0 += c*5; c = h0 >> 26; h0 &= 0x03ffffff;
sys/crypto/adiantum/adiantum.c
311
h1 += c;
sys/crypto/adiantum/adiantum.c
314
c = 5;
sys/crypto/adiantum/adiantum.c
315
s0 = h0 + c; c = s0 >> 26; s0 &= 0x03ffffff;
sys/crypto/adiantum/adiantum.c
316
s1 = h1 + c; c = s1 >> 26; s1 &= 0x03ffffff;
sys/crypto/adiantum/adiantum.c
317
s2 = h2 + c; c = s2 >> 26; s2 &= 0x03ffffff;
sys/crypto/adiantum/adiantum.c
318
s3 = h3 + c; c = s3 >> 26; s3 &= 0x03ffffff;
sys/crypto/adiantum/adiantum.c
319
s4 = h4 + c;
sys/crypto/adiantum/adiantum_selftest.c
106
.c = {
sys/crypto/adiantum/adiantum_selftest.c
1220
.c = {
sys/crypto/adiantum/adiantum_selftest.c
138
.c = {
sys/crypto/adiantum/adiantum_selftest.c
1753
.c = {
sys/crypto/adiantum/adiantum_selftest.c
1790
.c = {
sys/crypto/adiantum/adiantum_selftest.c
1818
if (memcmp(buf, C[i].c, C[i].len)) {
sys/crypto/adiantum/adiantum_selftest.c
1825
adiantum_dec(buf, C[i].c, C[i].len, C[i].t, C[i].tlen, &A);
sys/crypto/adiantum/adiantum_selftest.c
232
.c = {
sys/crypto/adiantum/adiantum_selftest.c
502
.c = {
sys/crypto/adiantum/adiantum_selftest.c
91
uint8_t c[4096];
sys/crypto/aes/arch/x86/aes_sse2_4x32_subr.c
327
__m128i s, m, c;
sys/crypto/aes/arch/x86/aes_sse2_4x32_subr.c
332
c = _mm_set_epi64x(1, 0x87); /* carry */
sys/crypto/aes/arch/x86/aes_sse2_4x32_subr.c
334
return _mm_slli_epi64(t, 1) ^ (c & ~m);
sys/crypto/aes/arch/x86/aes_ssse3_subr.c
124
__m128i s, m, c;
sys/crypto/aes/arch/x86/aes_ssse3_subr.c
129
c = _mm_set_epi64x(1, 0x87); /* carry */
sys/crypto/aes/arch/x86/aes_ssse3_subr.c
131
return _mm_slli_epi64(t, 1) ^ (c & ~m);
sys/crypto/aes/arch/x86/aes_via.c
46
#define EVCNT_INITIALIZER(a,b,c,d) {0}
sys/crypto/arch/arm/arm_neon_imm.h
41
#define V_N_U8(a,b,c,d,e,f,g,h) \
sys/crypto/arch/arm/arm_neon_imm.h
42
{h,g,f,e,d,c,b,a}
sys/crypto/arch/arm/arm_neon_imm.h
43
#define VQ_N_U8(a,b,c,d,e,f,g,h, i,j,k,l,m,n,o,p) \
sys/crypto/arch/arm/arm_neon_imm.h
44
{p,o,n,m,l,k,j,i, h,g,f,e,d,c,b,a}
sys/crypto/arch/arm/arm_neon_imm.h
45
#define VQ_N_U32(a,b,c,d) \
sys/crypto/arch/arm/arm_neon_imm.h
46
{d,c, b,a}
sys/crypto/arch/arm/arm_neon_imm.h
48
#define V_N_U8(a,b,c,d,e,f,g,h) \
sys/crypto/arch/arm/arm_neon_imm.h
49
{h,g,f,e,d,c,b,a}
sys/crypto/arch/arm/arm_neon_imm.h
50
#define VQ_N_U8(a,b,c,d,e,f,g,h, i,j,k,l,m,n,o,p) \
sys/crypto/arch/arm/arm_neon_imm.h
51
{h,g,f,e,d,c,b,a, p,o,n,m,l,k,j,i}
sys/crypto/arch/arm/arm_neon_imm.h
52
#define VQ_N_U32(a,b,c,d) \
sys/crypto/arch/arm/arm_neon_imm.h
53
{b,a, d,c}
sys/crypto/arch/arm/arm_neon_imm.h
55
#define V_N_U8(a,b,c,d,e,f,g,h) \
sys/crypto/arch/arm/arm_neon_imm.h
56
{a,b,c,d,e,f,g,h}
sys/crypto/arch/arm/arm_neon_imm.h
57
#define VQ_N_U8(a,b,c,d,e,f,g,h, i,j,k,l,m,n,o,p) \
sys/crypto/arch/arm/arm_neon_imm.h
58
{a,b,c,d,e,f,g,h, i,j,k,l,m,n,o,p}
sys/crypto/arch/arm/arm_neon_imm.h
59
#define VQ_N_U32(a,b,c,d) \
sys/crypto/arch/arm/arm_neon_imm.h
60
{a,b, c,d}
sys/crypto/arch/arm/arm_neon_imm.h
64
#define V_N_U8(a,b,c,d,e,f,g,h) \
sys/crypto/arch/arm/arm_neon_imm.h
65
{a,b,c,d,e,f,g,h}
sys/crypto/arch/arm/arm_neon_imm.h
66
#define VQ_N_U8(a,b,c,d,e,f,g,h, i,j,k,l,m,n,o,p) \
sys/crypto/arch/arm/arm_neon_imm.h
67
{a,b,c,d,e,f,g,h, i,j,k,l,m,n,o,p}
sys/crypto/arch/arm/arm_neon_imm.h
68
#define VQ_N_U32(a,b,c,d) \
sys/crypto/arch/arm/arm_neon_imm.h
69
{a,b, c,d}
sys/crypto/arch/arm/arm_neon_imm.h
71
#define V_N_U8(a,b,c,d,e,f,g,h) \
sys/crypto/arch/arm/arm_neon_imm.h
72
{h,g,f,e,d,c,b,a}
sys/crypto/arch/arm/arm_neon_imm.h
73
#define VQ_N_U8(a,b,c,d,e,f,g,h, i,j,k,l,m,n,o,p) \
sys/crypto/arch/arm/arm_neon_imm.h
74
{p,o,n,m,l,k,j,i, h,g,f,e,d,c,b,a}
sys/crypto/arch/arm/arm_neon_imm.h
75
#define VQ_N_U32(a,b,c,d) \
sys/crypto/arch/arm/arm_neon_imm.h
76
{d,c, b,a}
sys/crypto/blake2/blake2s.c
117
v12 ^= c & 0xffffffffU;
sys/crypto/blake2/blake2s.c
118
v13 ^= c >> 32;
sys/crypto/blake2/blake2s.c
169
B->c = 0;
sys/crypto/blake2/blake2s.c
208
B->c += 64;
sys/crypto/blake2/blake2s.c
209
blake2s_compress(B->h, B->c, 0, B->b);
sys/crypto/blake2/blake2s.c
216
B->c += 64;
sys/crypto/blake2/blake2s.c
217
blake2s_compress(B->h, B->c, 0, p);
sys/crypto/blake2/blake2s.c
239
B->c += B->nb;
sys/crypto/blake2/blake2s.c
242
blake2s_compress(B->h, B->c, ~(uint32_t)0, B->b);
sys/crypto/blake2/blake2s.c
54
rotr32(uint32_t x, unsigned c)
sys/crypto/blake2/blake2s.c
57
return ((x >> c) | (x << (32 - c)));
sys/crypto/blake2/blake2s.c
91
blake2s_compress(uint32_t h[8], uint64_t c, uint32_t last,
sys/crypto/blake2/blake2s.h
42
uint64_t c; /* 64-bit input byte counter */
sys/crypto/blowfish/bf_locl.h
100
#define l2cn(l1,l2,c,n) { \
sys/crypto/blowfish/bf_locl.h
101
c+=n; \
sys/crypto/blowfish/bf_locl.h
103
case 8: *(--(c))=(unsigned char)(((l2)>>24L)&0xff); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
104
case 7: *(--(c))=(unsigned char)(((l2)>>16L)&0xff); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
105
case 6: *(--(c))=(unsigned char)(((l2)>> 8L)&0xff); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
106
case 5: *(--(c))=(unsigned char)(((l2) )&0xff); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
107
case 4: *(--(c))=(unsigned char)(((l1)>>24L)&0xff); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
108
case 3: *(--(c))=(unsigned char)(((l1)>>16L)&0xff); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
109
case 2: *(--(c))=(unsigned char)(((l1)>> 8L)&0xff); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
110
case 1: *(--(c))=(unsigned char)(((l1) )&0xff); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
115
#define n2ln(c,l1,l2,n) { \
sys/crypto/blowfish/bf_locl.h
116
c+=n; \
sys/crypto/blowfish/bf_locl.h
119
case 8: l2 =((BF_LONG)(*(--(c)))) ; /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
120
case 7: l2|=((BF_LONG)(*(--(c))))<< 8; /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
121
case 6: l2|=((BF_LONG)(*(--(c))))<<16; /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
122
case 5: l2|=((BF_LONG)(*(--(c))))<<24; /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
123
case 4: l1 =((BF_LONG)(*(--(c)))) ; /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
124
case 3: l1|=((BF_LONG)(*(--(c))))<< 8; /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
125
case 2: l1|=((BF_LONG)(*(--(c))))<<16; /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
126
case 1: l1|=((BF_LONG)(*(--(c))))<<24; /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
131
#define l2nn(l1,l2,c,n) { \
sys/crypto/blowfish/bf_locl.h
132
c+=n; \
sys/crypto/blowfish/bf_locl.h
134
case 8: *(--(c))=(unsigned char)(((l2) )&0xff); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
135
case 7: *(--(c))=(unsigned char)(((l2)>> 8)&0xff); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
136
case 6: *(--(c))=(unsigned char)(((l2)>>16)&0xff); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
137
case 5: *(--(c))=(unsigned char)(((l2)>>24)&0xff); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
138
case 4: *(--(c))=(unsigned char)(((l1) )&0xff); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
139
case 3: *(--(c))=(unsigned char)(((l1)>> 8)&0xff); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
140
case 2: *(--(c))=(unsigned char)(((l1)>>16)&0xff); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
141
case 1: *(--(c))=(unsigned char)(((l1)>>24)&0xff); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
146
#define n2l(c,l) (l =((BF_LONG)(*((c)++)))<<24L, \
sys/crypto/blowfish/bf_locl.h
147
l|=((BF_LONG)(*((c)++)))<<16L, \
sys/crypto/blowfish/bf_locl.h
148
l|=((BF_LONG)(*((c)++)))<< 8L, \
sys/crypto/blowfish/bf_locl.h
149
l|=((BF_LONG)(*((c)++))))
sys/crypto/blowfish/bf_locl.h
152
#define l2n(l,c) (*((c)++)=(unsigned char)(((l)>>24L)&0xff), \
sys/crypto/blowfish/bf_locl.h
153
*((c)++)=(unsigned char)(((l)>>16L)&0xff), \
sys/crypto/blowfish/bf_locl.h
154
*((c)++)=(unsigned char)(((l)>> 8L)&0xff), \
sys/crypto/blowfish/bf_locl.h
155
*((c)++)=(unsigned char)(((l) )&0xff))
sys/crypto/blowfish/bf_locl.h
70
#define c2l(c,l) (l =((BF_LONG)(*((c)++))) , \
sys/crypto/blowfish/bf_locl.h
71
l|=((BF_LONG)(*((c)++)))<< 8L, \
sys/crypto/blowfish/bf_locl.h
72
l|=((BF_LONG)(*((c)++)))<<16L, \
sys/crypto/blowfish/bf_locl.h
73
l|=((BF_LONG)(*((c)++)))<<24L)
sys/crypto/blowfish/bf_locl.h
77
#define c2ln(c,l1,l2,n) { \
sys/crypto/blowfish/bf_locl.h
78
c+=n; \
sys/crypto/blowfish/bf_locl.h
81
case 8: l2 =((BF_LONG)(*(--(c))))<<24L; /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
82
case 7: l2|=((BF_LONG)(*(--(c))))<<16L; /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
83
case 6: l2|=((BF_LONG)(*(--(c))))<< 8L; /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
84
case 5: l2|=((BF_LONG)(*(--(c)))); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
85
case 4: l1 =((BF_LONG)(*(--(c))))<<24L; /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
86
case 3: l1|=((BF_LONG)(*(--(c))))<<16L; /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
87
case 2: l1|=((BF_LONG)(*(--(c))))<< 8L; /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
88
case 1: l1|=((BF_LONG)(*(--(c)))); /* FALLTHROUGH */ \
sys/crypto/blowfish/bf_locl.h
93
#define l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \
sys/crypto/blowfish/bf_locl.h
94
*((c)++)=(unsigned char)(((l)>> 8L)&0xff), \
sys/crypto/blowfish/bf_locl.h
95
*((c)++)=(unsigned char)(((l)>>16L)&0xff), \
sys/crypto/blowfish/bf_locl.h
96
*((c)++)=(unsigned char)(((l)>>24L)&0xff))
sys/crypto/chacha/arch/arm/chacha_neon.c
153
const uint8_t c[static 16],
sys/crypto/chacha/arch/arm/chacha_neon.c
159
r0 = in0 = vreinterpretq_u32_u8(vld1q_u8(c));
sys/crypto/chacha/arch/arm/chacha_neon.c
176
const uint8_t c[static 16],
sys/crypto/chacha/arch/arm/chacha_neon.c
181
r0 = vreinterpretq_u32_u8(vld1q_u8(c));
sys/crypto/chacha/arch/arm/chacha_neon.c
338
xchacha_stream_xor_neon(uint8_t *restrict c, const uint8_t *p, size_t nbytes,
sys/crypto/chacha/arch/arm/chacha_neon.c
350
chacha_stream_xor_neon(c, p, nbytes, blkno, subnonce, subkey, nr);
sys/crypto/chacha/arch/arm/chacha_neon_impl.c
115
xchacha_stream_xor_neon_impl(uint8_t *c, const uint8_t *p, size_t nbytes,
sys/crypto/chacha/arch/arm/chacha_neon_impl.c
123
xchacha_stream_xor_neon(c, p, nbytes, blkno, nonce, key, nr);
sys/crypto/chacha/arch/arm/chacha_neon_impl.c
55
const uint8_t c[static 16],
sys/crypto/chacha/arch/arm/chacha_neon_impl.c
60
chacha_core_neon(out, in, k, c, nr);
sys/crypto/chacha/arch/arm/chacha_neon_impl.c
68
const uint8_t c[static 16],
sys/crypto/chacha/arch/arm/chacha_neon_impl.c
73
hchacha_neon(out, in, k, c, nr);
sys/crypto/chacha/arch/arm/chacha_neon_impl.c
90
chacha_stream_xor_neon_impl(uint8_t *c, const uint8_t *p, size_t nbytes,
sys/crypto/chacha/arch/arm/chacha_neon_impl.c
98
chacha_stream_xor_neon(c, p, nbytes, blkno, nonce, key, nr);
sys/crypto/chacha/arch/x86/chacha_sse2.c
110
const uint8_t c[static 16],
sys/crypto/chacha/arch/x86/chacha_sse2.c
115
r0 = _mm_loadu_si128((const __m128i *)c);
sys/crypto/chacha/arch/x86/chacha_sse2.c
126
#define CHACHA_QUARTERROUND(a, b, c, d) do \
sys/crypto/chacha/arch/x86/chacha_sse2.c
129
(c) = _mm_add_epi32((c), (d)); (b) ^= c; (b) = rol32((b), 12); \
sys/crypto/chacha/arch/x86/chacha_sse2.c
131
(c) = _mm_add_epi32((c), (d)); (b) ^= c; (b) = rol32((b), 7); \
sys/crypto/chacha/arch/x86/chacha_sse2.c
153
unpack0_epi32(__m128i a, __m128i b, __m128i c, __m128i d)
sys/crypto/chacha/arch/x86/chacha_sse2.c
156
__m128 hi = (__m128)_mm_unpacklo_epi32(c, d); /* (c[0], d[0], ...) */
sys/crypto/chacha/arch/x86/chacha_sse2.c
163
unpack1_epi32(__m128i a, __m128i b, __m128i c, __m128i d)
sys/crypto/chacha/arch/x86/chacha_sse2.c
166
__m128 hi = (__m128)_mm_unpacklo_epi32(c, d); /* (..., c[1], d[1]) */
sys/crypto/chacha/arch/x86/chacha_sse2.c
173
unpack2_epi32(__m128i a, __m128i b, __m128i c, __m128i d)
sys/crypto/chacha/arch/x86/chacha_sse2.c
176
__m128 hi = (__m128)_mm_unpackhi_epi32(c, d); /* (c[2], d[2], ...) */
sys/crypto/chacha/arch/x86/chacha_sse2.c
183
unpack3_epi32(__m128i a, __m128i b, __m128i c, __m128i d)
sys/crypto/chacha/arch/x86/chacha_sse2.c
186
__m128 hi = (__m128)_mm_unpackhi_epi32(c, d); /* (..., c[3], d[3]) */
sys/crypto/chacha/arch/x86/chacha_sse2.c
531
xchacha_stream_xor_sse2(uint8_t *restrict c, const uint8_t *p, size_t nbytes,
sys/crypto/chacha/arch/x86/chacha_sse2.c
543
chacha_stream_xor_sse2(c, p, nbytes, blkno, subnonce, subkey, nr);
sys/crypto/chacha/arch/x86/chacha_sse2.c
87
const uint8_t c[static 16],
sys/crypto/chacha/arch/x86/chacha_sse2.c
93
r0 = in0 = _mm_loadu_si128((const __m128i *)c);
sys/crypto/chacha/arch/x86/chacha_sse2_impl.c
109
xchacha_stream_xor_sse2_impl(uint8_t *c, const uint8_t *p, size_t nbytes,
sys/crypto/chacha/arch/x86/chacha_sse2_impl.c
117
xchacha_stream_xor_sse2(c, p, nbytes, blkno, nonce, key, nr);
sys/crypto/chacha/arch/x86/chacha_sse2_impl.c
49
const uint8_t c[static 16],
sys/crypto/chacha/arch/x86/chacha_sse2_impl.c
54
chacha_core_sse2(out, in, k, c, nr);
sys/crypto/chacha/arch/x86/chacha_sse2_impl.c
62
const uint8_t c[static 16],
sys/crypto/chacha/arch/x86/chacha_sse2_impl.c
67
hchacha_sse2(out, in, k, c, nr);
sys/crypto/chacha/arch/x86/chacha_sse2_impl.c
84
chacha_stream_xor_sse2_impl(uint8_t *c, const uint8_t *p, size_t nbytes,
sys/crypto/chacha/arch/x86/chacha_sse2_impl.c
92
chacha_stream_xor_sse2(c, p, nbytes, blkno, nonce, key, nr);
sys/crypto/chacha/chacha_impl.c
123
const uint8_t c[static CHACHA_CORE_CONSTBYTES],
sys/crypto/chacha/chacha_impl.c
127
(*chacha_impl->ci_chacha_core)(out, in, k, c, nr);
sys/crypto/chacha/chacha_impl.c
134
const uint8_t c[static HCHACHA_CONSTBYTES],
sys/crypto/chacha/chacha_impl.c
138
(*chacha_impl->ci_hchacha)(out, in, k, c, nr);
sys/crypto/chacha/chacha_impl.c
152
chacha_stream_xor(uint8_t *c, const uint8_t *p, size_t nbytes, uint32_t blkno,
sys/crypto/chacha/chacha_impl.c
158
(*chacha_impl->ci_chacha_stream_xor)(c, p, nbytes, blkno, nonce, key,
sys/crypto/chacha/chacha_impl.c
173
xchacha_stream_xor(uint8_t *c, const uint8_t *p, size_t nbytes, uint32_t blkno,
sys/crypto/chacha/chacha_impl.c
179
(*chacha_impl->ci_xchacha_stream_xor)(c, p, nbytes, blkno, nonce, key,
sys/crypto/chacha/chacha_ref.c
128
const uint8_t *c = chacha_const32;
sys/crypto/chacha/chacha_ref.c
133
x0 = le32dec(c + 0);
sys/crypto/chacha/chacha_ref.c
134
x1 = le32dec(c + 4);
sys/crypto/chacha/chacha_ref.c
135
x2 = le32dec(c + 8);
sys/crypto/chacha/chacha_ref.c
136
x3 = le32dec(c + 12);
sys/crypto/chacha/chacha_ref.c
251
const uint8_t *c = chacha_const32;
sys/crypto/chacha/chacha_ref.c
256
x0 = le32dec(c + 0);
sys/crypto/chacha/chacha_ref.c
257
x1 = le32dec(c + 4);
sys/crypto/chacha/chacha_ref.c
258
x2 = le32dec(c + 8);
sys/crypto/chacha/chacha_ref.c
259
x3 = le32dec(c + 12);
sys/crypto/chacha/chacha_ref.c
374
const uint8_t k[static 32], const uint8_t c[static 16], unsigned nr)
sys/crypto/chacha/chacha_ref.c
378
y0 = le32dec(c + 0);
sys/crypto/chacha/chacha_ref.c
379
y1 = le32dec(c + 4);
sys/crypto/chacha/chacha_ref.c
380
y2 = le32dec(c + 8);
sys/crypto/chacha/chacha_ref.c
381
y3 = le32dec(c + 12);
sys/crypto/chacha/chacha_ref.c
434
xchacha_stream_xor_ref(uint8_t *restrict c, const uint8_t *p, size_t nbytes,
sys/crypto/chacha/chacha_ref.c
446
chacha_stream_xor_ref(c, p, nbytes, blkno, subnonce, subkey, nr);
sys/crypto/chacha/chacha_ref.c
50
rol32(uint32_t u, unsigned c)
sys/crypto/chacha/chacha_ref.c
53
return (u << c) | (u >> (32 - c));
sys/crypto/chacha/chacha_ref.c
56
#define CHACHA_QUARTERROUND(a, b, c, d) do \
sys/crypto/chacha/chacha_ref.c
59
(c) += (d); (b) ^= (c); (b) = rol32((b), 12); \
sys/crypto/chacha/chacha_ref.c
61
(c) += (d); (b) ^= (c); (b) = rol32((b), 7); \
sys/crypto/chacha/chacha_ref.c
68
const uint8_t k[static 32], const uint8_t c[static 16], unsigned nr)
sys/crypto/chacha/chacha_ref.c
73
x0 = y0 = le32dec(c + 0);
sys/crypto/chacha/chacha_ref.c
74
x1 = y1 = le32dec(c + 4);
sys/crypto/chacha/chacha_ref.c
75
x2 = y2 = le32dec(c + 8);
sys/crypto/chacha/chacha_ref.c
76
x3 = y3 = le32dec(c + 12);
sys/crypto/chacha/chacha_selftest.c
331
uint8_t c[608];
sys/crypto/chacha/chacha_selftest.c
346
(*ci->ci_xchacha_stream)(c, 608, 0, nonce, k, 20);
sys/crypto/chacha/chacha_selftest.c
348
c[i] ^= p[i];
sys/crypto/chacha/chacha_selftest.c
349
if (memcmp(c, expected, 608)) {
sys/crypto/chacha/chacha_selftest.c
351
c[i] ^= p[i];
sys/crypto/chacha/chacha_selftest.c
352
hexdump(printf, "xchacha_stream", c, 608);
sys/crypto/chacha/chacha_selftest.c
354
c[i] = expected[i] ^ p[i];
sys/crypto/chacha/chacha_selftest.c
355
hexdump(printf, "expected", c, 608);
sys/crypto/chacha/chacha_selftest.c
359
(*ci->ci_xchacha_stream)(c, 607, 0, nonce, k, 20);
sys/crypto/chacha/chacha_selftest.c
361
c[i] ^= p[i];
sys/crypto/chacha/chacha_selftest.c
362
if (memcmp(c, expected, 607)) {
sys/crypto/chacha/chacha_selftest.c
364
c[i] ^= p[i];
sys/crypto/chacha/chacha_selftest.c
365
hexdump(printf, "xchacha_stream", c, 607);
sys/crypto/chacha/chacha_selftest.c
367
c[i] = expected[i] ^ p[i];
sys/crypto/chacha/chacha_selftest.c
368
hexdump(printf, "expected", c, 607);
sys/crypto/chacha/chacha_selftest.c
372
(*ci->ci_xchacha_stream)(c, 543, 0, nonce, k, 20);
sys/crypto/chacha/chacha_selftest.c
374
c[i] ^= p[i];
sys/crypto/chacha/chacha_selftest.c
375
if (memcmp(c, expected, 543)) {
sys/crypto/chacha/chacha_selftest.c
377
c[i] ^= p[i];
sys/crypto/chacha/chacha_selftest.c
378
hexdump(printf, "xchacha_stream", c, 543);
sys/crypto/chacha/chacha_selftest.c
380
c[i] = expected[i] ^ p[i];
sys/crypto/chacha/chacha_selftest.c
381
hexdump(printf, "expected", c, 543);
sys/crypto/chacha/chacha_selftest.c
385
(*ci->ci_xchacha_stream)(c, 511, 0, nonce, k, 20);
sys/crypto/chacha/chacha_selftest.c
387
c[i] ^= p[i];
sys/crypto/chacha/chacha_selftest.c
388
if (memcmp(c, expected, 511)) {
sys/crypto/chacha/chacha_selftest.c
390
c[i] ^= p[i];
sys/crypto/chacha/chacha_selftest.c
391
hexdump(printf, "xchacha_stream", c, 511);
sys/crypto/chacha/chacha_selftest.c
393
c[i] = expected[i] ^ p[i];
sys/crypto/chacha/chacha_selftest.c
394
hexdump(printf, "expected", c, 511);
sys/crypto/chacha/chacha_selftest.c
398
(*ci->ci_xchacha_stream)(c, 63, 0, nonce, k, 20);
sys/crypto/chacha/chacha_selftest.c
400
c[i] ^= p[i];
sys/crypto/chacha/chacha_selftest.c
401
if (memcmp(c, expected, 63)) {
sys/crypto/chacha/chacha_selftest.c
403
c[i] ^= p[i];
sys/crypto/chacha/chacha_selftest.c
404
hexdump(printf, "xchacha_stream", c, 63);
sys/crypto/chacha/chacha_selftest.c
406
c[i] = expected[i] ^ p[i];
sys/crypto/chacha/chacha_selftest.c
407
hexdump(printf, "expected", c, 63);
sys/crypto/chacha/chacha_selftest.c
411
(*ci->ci_xchacha_stream_xor)(c, p, 608, 0, nonce, k, 20);
sys/crypto/chacha/chacha_selftest.c
412
if (memcmp(c, expected, 608)) {
sys/crypto/chacha/chacha_selftest.c
413
hexdump(printf, "xchacha_stream_xor", c, 608);
sys/crypto/chacha/chacha_selftest.c
418
memset(c, 0, sizeof c);
sys/crypto/chacha/chacha_selftest.c
419
(*ci->ci_xchacha_stream_xor)(c, p, 607, 0, nonce, k, 20);
sys/crypto/chacha/chacha_selftest.c
420
if (memcmp(c, expected, 607)) {
sys/crypto/chacha/chacha_selftest.c
421
hexdump(printf, "xchacha_stream_xor", c, 607);
sys/crypto/chacha/chacha_selftest.c
426
memset(c, 0, sizeof c);
sys/crypto/chacha/chacha_selftest.c
427
(*ci->ci_xchacha_stream_xor)(c, p, 543, 0, nonce, k, 20);
sys/crypto/chacha/chacha_selftest.c
428
if (memcmp(c, expected, 543)) {
sys/crypto/chacha/chacha_selftest.c
429
hexdump(printf, "xchacha_stream_xor", c, 543);
sys/crypto/chacha/chacha_selftest.c
434
memset(c, 0, sizeof c);
sys/crypto/chacha/chacha_selftest.c
435
(*ci->ci_xchacha_stream_xor)(c, p, 511, 0, nonce, k, 20);
sys/crypto/chacha/chacha_selftest.c
436
if (memcmp(c, expected, 511)) {
sys/crypto/chacha/chacha_selftest.c
437
hexdump(printf, "xchacha_stream_xor", c, 511);
sys/crypto/chacha/chacha_selftest.c
442
memset(c, 0, sizeof c);
sys/crypto/chacha/chacha_selftest.c
443
(*ci->ci_xchacha_stream_xor)(c, p, 63, 0, nonce, k, 20);
sys/crypto/chacha/chacha_selftest.c
444
if (memcmp(c, expected, 63)) {
sys/crypto/chacha/chacha_selftest.c
445
hexdump(printf, "xchacha_stream_xor", c, 63);
sys/crypto/des/des_locl.h
100
l|=((DES_LONG)(*((c)++)))<<16L, \
sys/crypto/des/des_locl.h
101
l|=((DES_LONG)(*((c)++)))<< 8L, \
sys/crypto/des/des_locl.h
102
l|=((DES_LONG)(*((c)++))))
sys/crypto/des/des_locl.h
104
#define l2n(l,c) (*((c)++)=(unsigned char)(((l)>>24L)&0xff), \
sys/crypto/des/des_locl.h
105
*((c)++)=(unsigned char)(((l)>>16L)&0xff), \
sys/crypto/des/des_locl.h
106
*((c)++)=(unsigned char)(((l)>> 8L)&0xff), \
sys/crypto/des/des_locl.h
107
*((c)++)=(unsigned char)(((l) )&0xff))
sys/crypto/des/des_locl.h
110
#define l2cn(l1,l2,c,n) { \
sys/crypto/des/des_locl.h
111
c+=n; \
sys/crypto/des/des_locl.h
113
case 8: *(--(c))=(unsigned char)(((l2)>>24L)&0xff); /* FALLTHROUGH */\
sys/crypto/des/des_locl.h
114
case 7: *(--(c))=(unsigned char)(((l2)>>16L)&0xff); /* FALLTHROUGH */\
sys/crypto/des/des_locl.h
115
case 6: *(--(c))=(unsigned char)(((l2)>> 8L)&0xff); /* FALLTHROUGH */\
sys/crypto/des/des_locl.h
116
case 5: *(--(c))=(unsigned char)(((l2) )&0xff); /* FALLTHROUGH */\
sys/crypto/des/des_locl.h
117
case 4: *(--(c))=(unsigned char)(((l1)>>24L)&0xff); /* FALLTHROUGH */\
sys/crypto/des/des_locl.h
118
case 3: *(--(c))=(unsigned char)(((l1)>>16L)&0xff); /* FALLTHROUGH */\
sys/crypto/des/des_locl.h
119
case 2: *(--(c))=(unsigned char)(((l1)>> 8L)&0xff); /* FALLTHROUGH */\
sys/crypto/des/des_locl.h
120
case 1: *(--(c))=(unsigned char)(((l1) )&0xff); /* FALLTHROUGH */\
sys/crypto/des/des_locl.h
126
#define LOAD_DATA_tmp(a,b,c,d,e,f) LOAD_DATA(a,b,c,d,e,f,g)
sys/crypto/des/des_locl.h
69
#define c2l(c,l) (l =((DES_LONG)(*((c)++))) , \
sys/crypto/des/des_locl.h
70
l|=((DES_LONG)(*((c)++)))<< 8L, \
sys/crypto/des/des_locl.h
71
l|=((DES_LONG)(*((c)++)))<<16L, \
sys/crypto/des/des_locl.h
72
l|=((DES_LONG)(*((c)++)))<<24L)
sys/crypto/des/des_locl.h
75
#define c2ln(c,l1,l2,n) { \
sys/crypto/des/des_locl.h
76
c+=n; \
sys/crypto/des/des_locl.h
79
case 8: l2 =((DES_LONG)(*(--(c))))<<24L; /* FALLTHROUGH */\
sys/crypto/des/des_locl.h
80
case 7: l2|=((DES_LONG)(*(--(c))))<<16L; /* FALLTHROUGH */\
sys/crypto/des/des_locl.h
81
case 6: l2|=((DES_LONG)(*(--(c))))<< 8L; /* FALLTHROUGH */\
sys/crypto/des/des_locl.h
82
case 5: l2|=((DES_LONG)(*(--(c)))); /* FALLTHROUGH */\
sys/crypto/des/des_locl.h
83
case 4: l1 =((DES_LONG)(*(--(c))))<<24L; /* FALLTHROUGH */\
sys/crypto/des/des_locl.h
84
case 3: l1|=((DES_LONG)(*(--(c))))<<16L; /* FALLTHROUGH */\
sys/crypto/des/des_locl.h
85
case 2: l1|=((DES_LONG)(*(--(c))))<< 8L; /* FALLTHROUGH */\
sys/crypto/des/des_locl.h
86
case 1: l1|=((DES_LONG)(*(--(c)))); /* FALLTHROUGH */\
sys/crypto/des/des_locl.h
90
#define l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \
sys/crypto/des/des_locl.h
91
*((c)++)=(unsigned char)(((l)>> 8L)&0xff), \
sys/crypto/des/des_locl.h
92
*((c)++)=(unsigned char)(((l)>>16L)&0xff), \
sys/crypto/des/des_locl.h
93
*((c)++)=(unsigned char)(((l)>>24L)&0xff))
sys/crypto/des/des_locl.h
99
#define n2l(c,l) (l =((DES_LONG)(*((c)++)))<<24L, \
sys/crypto/des/des_setkey.c
179
register DES_LONG c,d,t,s,t2;
sys/crypto/des/des_setkey.c
187
c2l(in,c);
sys/crypto/des/des_setkey.c
193
PERM_OP (d,c,t,4,0x0f0f0f0fL);
sys/crypto/des/des_setkey.c
194
HPERM_OP(c,t,-2,0xcccc0000L);
sys/crypto/des/des_setkey.c
196
PERM_OP (d,c,t,1,0x55555555L);
sys/crypto/des/des_setkey.c
197
PERM_OP (c,d,t,8,0x00ff00ffL);
sys/crypto/des/des_setkey.c
198
PERM_OP (d,c,t,1,0x55555555L);
sys/crypto/des/des_setkey.c
200
((d&0x00ff0000L)>>16L)|((c&0xf0000000L)>>4L));
sys/crypto/des/des_setkey.c
201
c&=0x0fffffffL;
sys/crypto/des/des_setkey.c
206
{ c=((c>>2L)|(c<<26L)); d=((d>>2L)|(d<<26L)); }
sys/crypto/des/des_setkey.c
208
{ c=((c>>1L)|(c<<27L)); d=((d>>1L)|(d<<27L)); }
sys/crypto/des/des_setkey.c
209
c&=0x0fffffffL;
sys/crypto/des/des_setkey.c
213
s= des_skb[0][ (c )&0x3f ]|
sys/crypto/des/des_setkey.c
214
des_skb[1][((c>> 6L)&0x03)|((c>> 7L)&0x3c)]|
sys/crypto/des/des_setkey.c
215
des_skb[2][((c>>13L)&0x0f)|((c>>14L)&0x30)]|
sys/crypto/des/des_setkey.c
216
des_skb[3][((c>>20L)&0x01)|((c>>21L)&0x06) |
sys/crypto/des/des_setkey.c
217
((c>>22L)&0x38)];
sys/crypto/nist_hash_drbg/nist_hash_drbg.c
310
secret unsigned c = 0;
sys/crypto/nist_hash_drbg/nist_hash_drbg.c
314
c += s[smax - i] + a[amax - i];
sys/crypto/nist_hash_drbg/nist_hash_drbg.c
315
s[smax - i] = c & 0xff;
sys/crypto/nist_hash_drbg/nist_hash_drbg.c
316
c >>= 8;
sys/crypto/nist_hash_drbg/nist_hash_drbg.c
321
c += s[smax - i];
sys/crypto/nist_hash_drbg/nist_hash_drbg.c
322
s[smax - i] = c & 0xff;
sys/crypto/nist_hash_drbg/nist_hash_drbg.c
323
c >>= 8;
sys/crypto/nist_hash_drbg/nist_hash_drbg.c
326
explicit_memset(&c, 0, sizeof c);
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
115
int crypto_aead_chacha20poly1305_encrypt(unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
129
const unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
138
int crypto_aead_chacha20poly1305_encrypt_detached(unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
152
const unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
218
int crypto_aead_chacha20poly1305_ietf_encrypt(unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
232
const unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
241
int crypto_aead_chacha20poly1305_ietf_encrypt_detached(unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
255
const unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
291
int crypto_aead_chacha20poly1305_encrypt(unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
305
const unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
314
int crypto_aead_chacha20poly1305_encrypt_detached(unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
328
const unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
394
int crypto_aead_chacha20poly1305_ietf_encrypt(unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
408
const unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
417
int crypto_aead_chacha20poly1305_ietf_encrypt_detached(unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
42
int crypto_aead_chacha20poly1305_ietf_encrypt(unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
431
const unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
467
int crypto_aead_chacha20poly1305_encrypt(unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
481
const unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
490
int crypto_aead_chacha20poly1305_encrypt_detached(unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
504
const unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
56
const unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
570
int crypto_aead_chacha20poly1305_ietf_encrypt(unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
584
const unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
593
int crypto_aead_chacha20poly1305_ietf_encrypt_detached(unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
607
const unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
643
int crypto_aead_chacha20poly1305_encrypt(unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
65
int crypto_aead_chacha20poly1305_ietf_encrypt_detached(unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
657
const unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
666
int crypto_aead_chacha20poly1305_encrypt_detached(unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
680
const unsigned char *c,
sys/crypto/sodium/crypto_aead_chacha20poly1305.h
79
const unsigned char *c,
sys/crypto/sodium/crypto_aead_xchacha20poly1305.h
137
int crypto_aead_xchacha20poly1305_ietf_encrypt(unsigned char *c,
sys/crypto/sodium/crypto_aead_xchacha20poly1305.h
151
const unsigned char *c,
sys/crypto/sodium/crypto_aead_xchacha20poly1305.h
160
int crypto_aead_xchacha20poly1305_ietf_encrypt_detached(unsigned char *c,
sys/crypto/sodium/crypto_aead_xchacha20poly1305.h
174
const unsigned char *c,
sys/crypto/sodium/crypto_aead_xchacha20poly1305.h
236
int crypto_aead_xchacha20poly1305_ietf_encrypt(unsigned char *c,
sys/crypto/sodium/crypto_aead_xchacha20poly1305.h
250
const unsigned char *c,
sys/crypto/sodium/crypto_aead_xchacha20poly1305.h
259
int crypto_aead_xchacha20poly1305_ietf_encrypt_detached(unsigned char *c,
sys/crypto/sodium/crypto_aead_xchacha20poly1305.h
273
const unsigned char *c,
sys/crypto/sodium/crypto_aead_xchacha20poly1305.h
335
int crypto_aead_xchacha20poly1305_ietf_encrypt(unsigned char *c,
sys/crypto/sodium/crypto_aead_xchacha20poly1305.h
349
const unsigned char *c,
sys/crypto/sodium/crypto_aead_xchacha20poly1305.h
358
int crypto_aead_xchacha20poly1305_ietf_encrypt_detached(unsigned char *c,
sys/crypto/sodium/crypto_aead_xchacha20poly1305.h
372
const unsigned char *c,
sys/crypto/sodium/crypto_aead_xchacha20poly1305.h
38
int crypto_aead_xchacha20poly1305_ietf_encrypt(unsigned char *c,
sys/crypto/sodium/crypto_aead_xchacha20poly1305.h
52
const unsigned char *c,
sys/crypto/sodium/crypto_aead_xchacha20poly1305.h
61
int crypto_aead_xchacha20poly1305_ietf_encrypt_detached(unsigned char *c,
sys/crypto/sodium/crypto_aead_xchacha20poly1305.h
75
const unsigned char *c,
sys/ddb/db_command.c
1627
register char c;
sys/ddb/db_command.c
1631
while ((c = *cp++) != 0)
sys/ddb/db_command.c
1632
if (c == 'l')
sys/ddb/db_examine.c
72
int i, c;
sys/ddb/db_examine.c
84
while ((c = *fp++) != 0) {
sys/ddb/db_examine.c
91
switch (c) {
sys/ddb/db_expr.c
55
int i, c, byte;
sys/ddb/db_expr.c
58
for (i = 0; (c = db_tok_string[i]) != '\0'; i++) {
sys/ddb/db_expr.c
60
if (c >= '0' && c <= '9')
sys/ddb/db_expr.c
61
byte = c - '0';
sys/ddb/db_expr.c
62
else if (db_radix == 16 && c >= 'a' && c <= 'f')
sys/ddb/db_expr.c
63
byte = c - 'a' + 10;
sys/ddb/db_expr.c
64
else if (db_radix == 16 && c >= 'A' && c <= 'F')
sys/ddb/db_expr.c
65
byte = c - 'A' + 10;
sys/ddb/db_input.c
145
db_hist_put(int c)
sys/ddb/db_input.c
150
*db_history_last++ = c;
sys/ddb/db_input.c
160
db_inputchar(int c)
sys/ddb/db_input.c
162
switch (c) {
sys/ddb/db_input.c
215
c = db_lc[-1];
sys/ddb/db_input.c
217
db_lc[0] = c;
sys/ddb/db_input.c
223
c = db_lc[-2];
sys/ddb/db_input.c
225
db_lc[-1] = c;
sys/ddb/db_input.c
312
*db_le++ = c;
sys/ddb/db_input.c
328
*db_le++ = c;
sys/ddb/db_input.c
334
else if (c >= ' ' && c <= '~') {
sys/ddb/db_input.c
339
*db_lc++ = c;
sys/ddb/db_input.c
341
cnputc(c);
sys/ddb/db_input.c
373
int c;
sys/ddb/db_input.c
375
c = cnmaygetc();
sys/ddb/db_input.c
376
switch (c) {
sys/ddb/db_input.c
386
c = cnmaygetc();
sys/ddb/db_input.c
387
if (c == CTRL('c')) {
sys/ddb/db_input.c
391
} while (c != CTRL('q'));
sys/ddb/db_input.c
71
#define CTRL(c) ((c) & 0x1f)
sys/ddb/db_input.c
72
#define isspace(c) ((c) == ' ' || (c) == '\t')
sys/ddb/db_input.c
92
db_putnchars(int c, int count)
sys/ddb/db_input.c
96
cnputc(c);
sys/ddb/db_interface.h
93
#define db_stack_trace_print_ra(ra, have_ra, addr, have_addr, c, m, pr) \
sys/ddb/db_interface.h
95
db_stack_trace_print(addr, have_addr, c, m, pr))
sys/ddb/db_lex.c
113
int c;
sys/ddb/db_lex.c
116
c = db_look_char;
sys/ddb/db_lex.c
120
c = -1;
sys/ddb/db_lex.c
122
c = *db_lp++;
sys/ddb/db_lex.c
123
return (c);
sys/ddb/db_lex.c
127
db_unread_char(int c)
sys/ddb/db_lex.c
130
db_look_char = c;
sys/ddb/db_lex.c
204
int c;
sys/ddb/db_lex.c
206
c = db_read_char();
sys/ddb/db_lex.c
207
while (c <= ' ' || c > '~') {
sys/ddb/db_lex.c
208
if (c == '\n' || c == -1)
sys/ddb/db_lex.c
210
c = db_read_char();
sys/ddb/db_lex.c
213
if (c >= '0' && c <= '9') {
sys/ddb/db_lex.c
217
if (c > '0')
sys/ddb/db_lex.c
220
c = db_read_char();
sys/ddb/db_lex.c
221
if (c == 'O' || c == 'o')
sys/ddb/db_lex.c
223
else if (c == 'T' || c == 't')
sys/ddb/db_lex.c
225
else if (c == 'X' || c == 'x')
sys/ddb/db_lex.c
229
db_unread_char(c);
sys/ddb/db_lex.c
231
c = db_read_char();
sys/ddb/db_lex.c
235
if (c >= '0' && c <= ((r == 8) ? '7' : '9'))
sys/ddb/db_lex.c
236
digit = c - '0';
sys/ddb/db_lex.c
238
if (c >= 'A' && c <= 'F')
sys/ddb/db_lex.c
239
digit = c - 'A' + 10;
sys/ddb/db_lex.c
240
else if (c >= 'a' && c <= 'f')
sys/ddb/db_lex.c
241
digit = c - 'a' + 10;
sys/ddb/db_lex.c
247
c = db_read_char();
sys/ddb/db_lex.c
249
if ((c >= '0' && c <= '9') ||
sys/ddb/db_lex.c
250
(c >= 'A' && c <= 'Z') ||
sys/ddb/db_lex.c
251
(c >= 'a' && c <= 'z') ||
sys/ddb/db_lex.c
252
(c == '_')) {
sys/ddb/db_lex.c
256
db_unread_char(c);
sys/ddb/db_lex.c
259
if ((c >= 'A' && c <= 'Z') ||
sys/ddb/db_lex.c
260
(c >= 'a' && c <= 'z') ||
sys/ddb/db_lex.c
261
c == '_' || c == '\\') {
sys/ddb/db_lex.c
266
if (c == '\\') {
sys/ddb/db_lex.c
267
c = db_read_char();
sys/ddb/db_lex.c
268
if (c == '\n' || c == -1) {
sys/ddb/db_lex.c
273
*cp++ = c;
sys/ddb/db_lex.c
275
c = db_read_char();
sys/ddb/db_lex.c
276
if ((c >= 'A' && c <= 'Z') ||
sys/ddb/db_lex.c
277
(c >= 'a' && c <= 'z') ||
sys/ddb/db_lex.c
278
(c >= '0' && c <= '9') ||
sys/ddb/db_lex.c
279
c == '_' || c == '\\' || c == ':') {
sys/ddb/db_lex.c
280
if (c == '\\') {
sys/ddb/db_lex.c
281
c = db_read_char();
sys/ddb/db_lex.c
282
if (c == '\n' || c == -1) {
sys/ddb/db_lex.c
287
*cp++ = c;
sys/ddb/db_lex.c
298
db_unread_char(c);
sys/ddb/db_lex.c
302
switch (c) {
sys/ddb/db_lex.c
308
c = db_read_char();
sys/ddb/db_lex.c
309
if (c == '.')
sys/ddb/db_lex.c
311
db_unread_char(c);
sys/ddb/db_lex.c
336
c = db_read_char();
sys/ddb/db_lex.c
337
if (c == '<')
sys/ddb/db_lex.c
339
db_unread_char(c);
sys/ddb/db_lex.c
342
c = db_read_char();
sys/ddb/db_lex.c
343
if (c == '>')
sys/ddb/db_lex.c
345
db_unread_char(c);
sys/ddb/db_output.c
159
db_putchar(int c)
sys/ddb/db_output.c
163
if (c > ' ' && c <= '~') {
sys/ddb/db_output.c
171
cnputc(c);
sys/ddb/db_output.c
175
} else if (c == '\n') {
sys/ddb/db_output.c
177
cnputc(c);
sys/ddb/db_output.c
182
} else if (c == '\t') {
sys/ddb/db_output.c
185
} else if (c == ' ') {
sys/ddb/db_output.c
188
} else if (c == '\007') {
sys/ddb/db_output.c
190
cnputc(c);
sys/ddb/db_output.c
71
#define CTRL(c) ((c) & 0xff)
sys/ddb/db_sym.c
145
char c, sc;
sys/ddb/db_sym.c
157
if ((c = *find++) != 0) {
sys/ddb/db_sym.c
163
} while (sc != c);
sys/ddb/db_sym.c
76
db_eqname(const char *src, const char *dst, int c)
sys/ddb/db_sym.c
81
if (src[0] == c)
sys/dev/acpi/acpi_ec.c
530
ACPI_OBJECT *p, *c;
sys/dev/acpi/acpi_ec.c
562
c = &p->Package.Elements[0];
sys/dev/acpi/acpi_ec.c
563
rv = acpi_eval_reference_handle(c, gpe_handle);
sys/dev/acpi/acpi_ec.c
571
c = &p->Package.Elements[1];
sys/dev/acpi/acpi_ec.c
573
if (c->Type != ACPI_TYPE_INTEGER) {
sys/dev/acpi/acpi_ec.c
579
*gpebit = c->Integer.Value;
sys/dev/acpi/acpi_srat.c
482
struct acpisrat_cpu c;
sys/dev/acpi/acpi_srat.c
490
acpisrat_cpu(i, j, &c);
sys/dev/acpi/acpi_srat.c
493
c.nodeid, j, c.apicid, c.sapiceid, c.flags,
sys/dev/acpi/acpi_srat.c
494
c.clockdomain);
sys/dev/acpi/acpi_srat.c
559
struct acpisrat_cpu *c)
sys/dev/acpi/acpi_srat.c
561
memcpy(c, node_array[nodeid].cpu[cpunum],
sys/dev/acpi/acpi_srat.c
88
cpu_free(struct cpulist *c)
sys/dev/acpi/acpi_srat.c
90
kmem_free(c, sizeof(struct cpulist));
sys/dev/acpi/acpi_util.c
1093
acpi_intr_establish(device_t dev, uint64_t c, int ipl, bool mpsafe,
sys/dev/acpi/acpi_util.c
1097
ACPI_HANDLE hdl = (void *)(uintptr_t)c;
sys/dev/acpi/acpi_util.c
1140
acpi_intr_mask(void *c)
sys/dev/acpi/acpi_util.c
1142
struct acpi_irq_handler * const aih = c;
sys/dev/acpi/acpi_util.c
1148
acpi_intr_unmask(void *c)
sys/dev/acpi/acpi_util.c
1150
struct acpi_irq_handler * const aih = c;
sys/dev/acpi/acpi_util.c
1156
acpi_intr_disestablish(void *c)
sys/dev/acpi/acpi_util.c
1158
struct acpi_irq_handler *aih = c;
sys/dev/acpi/acpi_util.c
1165
acpi_intr_string(void *c, char *buf, size_t size)
sys/dev/acpi/acpi_util.c
1167
struct acpi_irq_handler *aih = c;
sys/dev/acpi/smbus_acpi.c
260
const uint8_t *c = cmdbuf;
sys/dev/acpi/smbus_acpi.c
303
arg[2].Integer.Value = *c;
sys/dev/acpi/smbus_acpi.c
308
arg[2].Integer.Value = *c;
sys/dev/acpi/smbus_acpi.c
313
arg[2].Integer.Value = *c;
sys/dev/acpi/smbus_acpi.c
331
arg[2].Integer.Value = *c;
sys/dev/acpi/smbus_acpi.c
340
arg[2].Integer.Value = *c;
sys/dev/acpi/smbus_acpi.c
346
arg[2].Integer.Value = *c;
sys/dev/acpi/smbus_acpi.c
353
arg[2].Integer.Value = *c;
sys/dev/arcbios/arcbios.c
193
char c;
sys/dev/arcbios/arcbios.c
195
arcbios_Read(ARCBIOS_STDIN, &c, 1, &count);
sys/dev/arcbios/arcbios.c
196
return (c);
sys/dev/arcbios/arcbios.c
200
arcbios_cnputc(dev_t dev, int c)
sys/dev/arcbios/arcbios.c
203
char ch = c;
sys/dev/arcbios/arcbios_tty.c
227
char c;
sys/dev/arcbios/arcbios_tty.c
234
arcbios_Read(ARCBIOS_STDIN, &c, 1, &count);
sys/dev/arcbios/arcbios_tty.c
235
*cp = c;
sys/dev/arcbios/arcbios_tty.c
247
int c;
sys/dev/arcbios/arcbios_tty.c
249
while (arcbios_tty_getchar(&c)) {
sys/dev/arcbios/arcbios_tty.c
251
(void)(*tp->t_linesw->l_rint)(c, tp);
sys/dev/ata/wd.c
311
char tbuf[41],pbuf[9], c, *p, *q;
sys/dev/ata/wd.c
349
c = *p++;
sys/dev/ata/wd.c
350
if (c == '\0')
sys/dev/ata/wd.c
352
if (c != ' ') {
sys/dev/ata/wd.c
357
*q++ = c;
sys/dev/audio/mulaw.c
252
int c;
sys/dev/audio/mulaw.c
277
c = 0;
sys/dev/audio/mulaw.c
278
if (val >= 0xf000) c += 4, val <<= 4;
sys/dev/audio/mulaw.c
279
if (val >= 0xc000) c += 2, val <<= 2;
sys/dev/audio/mulaw.c
280
if (val >= 0x8000) c += 1, val <<= 1;
sys/dev/audio/mulaw.c
283
m += (c << 4);
sys/dev/bluetooth/bcsp.c
605
bcsp_slip_receive(int c, struct tty *tp)
sys/dev/bluetooth/bcsp.c
612
c &= TTY_CHARMASK;
sys/dev/bluetooth/bcsp.c
633
if (c != BCSP_SLIP_PKTSTART) {
sys/dev/bluetooth/bcsp.c
639
switch (c) {
sys/dev/bluetooth/bcsp.c
694
c, (m->m_len % 16 == 15) ? "\n" : ""));
sys/dev/bluetooth/bcsp.c
703
if (c == BCSP_SLIP_ESCAPE_PKTEND)
sys/dev/bluetooth/bcsp.c
706
else if (c == BCSP_SLIP_ESCAPE_ESCAPE)
sys/dev/bluetooth/bcsp.c
717
mtod(m, uint8_t *)[m->m_len++] = c;
sys/dev/bluetooth/bcsp.c
725
device_xname(sc->sc_dev), c, errstr));
sys/dev/bluetooth/bth5.c
641
bth5_slip_receive(int c, struct tty *tp)
sys/dev/bluetooth/bth5.c
648
c &= TTY_CHARMASK;
sys/dev/bluetooth/bth5.c
669
if (c != BTH5_SLIP_PKTSTART) {
sys/dev/bluetooth/bth5.c
675
switch (c) {
sys/dev/bluetooth/bth5.c
730
c, (m->m_len % 16 == 15) ? "\n" : ""));
sys/dev/bluetooth/bth5.c
739
if (c == BTH5_SLIP_ESCAPE_PKTEND)
sys/dev/bluetooth/bth5.c
743
c == BTH5_SLIP_ESCAPE_XON)
sys/dev/bluetooth/bth5.c
747
c == BTH5_SLIP_ESCAPE_XOFF)
sys/dev/bluetooth/bth5.c
750
else if (c == BTH5_SLIP_ESCAPE_ESCAPE)
sys/dev/bluetooth/bth5.c
761
mtod(m, uint8_t *)[m->m_len++] = c;
sys/dev/bluetooth/bth5.c
769
device_xname(sc->sc_dev), c, errstr));
sys/dev/bluetooth/btkbd.c
468
#define ADDKEY(c) ibuf[nkeys++] = (c)
sys/dev/bluetooth/btkbd.c
550
int c;
sys/dev/bluetooth/btkbd.c
557
c = btkbd_trtab[key & CODEMASK];
sys/dev/bluetooth/btkbd.c
558
if (c == NN)
sys/dev/bluetooth/btkbd.c
561
if (c & 0x80)
sys/dev/bluetooth/btkbd.c
564
cbuf[j] = c & 0x7f;
sys/dev/bluetooth/btkbd.c
570
if (c & 0x80)
sys/dev/bluetooth/btkbd.c
573
sc->sc_rep[npress++] = c & 0x7f;
sys/dev/bluetooth/btuart.c
333
btuartinput(int c, struct tty *tp)
sys/dev/bluetooth/btuart.c
342
c &= TTY_CHARMASK;
sys/dev/bluetooth/btuart.c
389
mtod(m, uint8_t *)[m->m_len++] = c;
sys/dev/bluetooth/btuart.c
400
switch (c) {
sys/dev/bluetooth/btuart.c
418
"Unknown packet type=%#x!\n", c);
sys/dev/cgd.c
1652
char *c = buf;
sys/dev/cgd.c
1657
printf("%02x", (unsigned char) *c++);
sys/dev/cons.c
338
int c, len;
sys/dev/cons.c
345
c = cngetc();
sys/dev/cons.c
346
switch (c) {
sys/dev/cons.c
369
if (len + 1 >= size || c < ' ') {
sys/dev/cons.c
373
printf("%c", c);
sys/dev/cons.c
375
*lp++ = c;
sys/dev/cons.c
381
cnputc(int c)
sys/dev/cons.c
394
if (c) {
sys/dev/cons.c
395
if (c == '\n') {
sys/dev/cons.c
399
(*cn_tab->cn_putc)(cn_tab->cn_dev, c);
sys/dev/cons.c
402
if (c) {
sys/dev/cons.c
403
(*cn_tab->cn_putc)(cn_tab->cn_dev, c);
sys/dev/cons.c
404
if (c == '\n') {
sys/dev/dec/dz.c
261
unsigned c;
sys/dev/dec/dz.c
266
while ((c = dz_read2(sc, sc->sc_dr.dr_rbuf)) & DZ_RBUF_DATA_VALID) {
sys/dev/dec/dz.c
267
cc = c & 0xFF;
sys/dev/dec/dz.c
268
line = DZ_PORT(c>>8);
sys/dev/dec/dz.c
276
if ((c & (DZ_RBUF_FRAMING_ERR | 0xff)) == DZ_RBUF_FRAMING_ERR)
sys/dev/dec/dz.c
288
if ((c & DZ_RBUF_OVERRUN_ERR) && overrun == 0) {
sys/dev/dec/dz.c
294
if (c & DZ_RBUF_FRAMING_ERR)
sys/dev/dec/dz.c
296
if (c & DZ_RBUF_PARITY_ERR)
sys/dev/dec/dzkbd.c
231
dzkbd_sendchar(void *v, u_char c)
sys/dev/dec/dzkbd.c
237
dzputc(ls, c);
sys/dev/dec/dzkbd.c
246
int c;
sys/dev/dec/dzkbd.c
249
c = dzgetc(dzi->dzi_ls);
sys/dev/dec/dzkbd.c
250
} while (lk201_decode(&dzi->dzi_ks, 0, c, type, data) == LKD_NODATA);
sys/dev/dec/dzvar.h
80
#define DZ_C2I(c) ((c)<<3) /* convert controller # to index */
sys/dev/dec/dzvar.h
81
#define DZ_I2C(c) ((c)>>3) /* convert minor to controller # */
sys/dev/dec/lk201_ws.c
42
#define send(lks, c) ((*((lks)->attmt.sendchar))((lks)->attmt.cookie, c))
sys/dev/dkwedge/dkwedge_gpt.c
128
uint8_t *c;
sys/dev/dkwedge/dkwedge_gpt.c
264
c = dkw.dkw_wname;
sys/dev/dkwedge/dkwedge_gpt.c
268
n = wput_utf8(c, r, le16toh(ent->ent_name[j]));
sys/dev/dkwedge/dkwedge_gpt.c
271
c += n; r -= n;
sys/dev/dkwedge/dkwedge_gpt.c
273
*c = '\0';
sys/dev/fdt/dwiic_fdt.c
101
if (c == 0) {
sys/dev/fdt/dwiic_fdt.c
94
u_int c;
sys/dev/fdt/dwiic_fdt.c
95
for (c = 0; (clk = fdtbus_clock_get_index(phandle, c)) != NULL; c++) {
sys/dev/fdt/dwiic_fdt.c
97
aprint_error(": couldn't enable clock #%d\n", c);
sys/dev/fdt/fdt_ddb.c
47
const uint8_t *c = (const uint8_t *)data;
sys/dev/fdt/fdt_ddb.c
55
if (c[j] == '\0')
sys/dev/fdt/fdt_ddb.c
57
else if (isprint(c[j]))
sys/dev/fdt/fdt_ddb.c
85
const uint8_t *c = (const uint8_t *)prop->data;
sys/dev/fdt/fdt_ddb.c
89
if (c[j] == '\0') {
sys/dev/fdt/fdt_ddb.c
93
pr("%c", c[j]);
sys/dev/fdt/fdt_intr.c
152
struct fdtbus_interrupt_cookie *c;
sys/dev/fdt/fdt_intr.c
155
LIST_FOREACH(c, &fdtbus_interrupt_cookies, c_next) {
sys/dev/fdt/fdt_intr.c
156
if (c->c_ih == cookie) {
sys/dev/fdt/fdt_intr.c
157
c->c_refcnt++;
sys/dev/fdt/fdt_intr.c
158
KASSERT(c->c_refcnt > 0);
sys/dev/fdt/fdt_intr.c
163
return c;
sys/dev/fdt/fdt_intr.c
167
fdtbus_put_interrupt_cookie(struct fdtbus_interrupt_cookie *c)
sys/dev/fdt/fdt_intr.c
171
KASSERT(c->c_refcnt > 0);
sys/dev/fdt/fdt_intr.c
172
c->c_refcnt--;
sys/dev/fdt/fdt_intr.c
229
struct fdtbus_interrupt_cookie *c;
sys/dev/fdt/fdt_intr.c
238
c = kmem_zalloc(sizeof(*c), KM_SLEEP);
sys/dev/fdt/fdt_intr.c
239
c->c_ic = ic;
sys/dev/fdt/fdt_intr.c
241
LIST_INSERT_HEAD(&fdtbus_interrupt_cookies, c, c_next);
sys/dev/fdt/fdt_intr.c
255
atomic_store_release(&c->c_ih, ih);
sys/dev/fdt/fdt_intr.c
258
LIST_REMOVE(c, c_next);
sys/dev/fdt/fdt_intr.c
260
kmem_free(c, sizeof(*c));
sys/dev/fdt/fdt_intr.c
269
struct fdtbus_interrupt_cookie *c;
sys/dev/fdt/fdt_intr.c
271
if ((c = fdtbus_get_interrupt_cookie(cookie)) == NULL) {
sys/dev/fdt/fdt_intr.c
275
const struct fdtbus_interrupt_controller *ic = c->c_ic;
sys/dev/fdt/fdt_intr.c
283
while (c->c_refcnt != 1) {
sys/dev/fdt/fdt_intr.c
284
KASSERT(c->c_refcnt > 0);
sys/dev/fdt/fdt_intr.c
289
LIST_REMOVE(c, c_next);
sys/dev/fdt/fdt_intr.c
292
kmem_free(c, sizeof(*c));
sys/dev/fdt/fdt_intr.c
298
struct fdtbus_interrupt_cookie *c;
sys/dev/fdt/fdt_intr.c
300
if ((c = fdtbus_get_interrupt_cookie(cookie)) == NULL) {
sys/dev/fdt/fdt_intr.c
304
struct fdtbus_interrupt_controller * const ic = c->c_ic;
sys/dev/fdt/fdt_intr.c
312
fdtbus_put_interrupt_cookie(c);
sys/dev/fdt/fdt_intr.c
318
struct fdtbus_interrupt_cookie *c;
sys/dev/fdt/fdt_intr.c
320
if ((c = fdtbus_get_interrupt_cookie(cookie)) == NULL) {
sys/dev/fdt/fdt_intr.c
324
struct fdtbus_interrupt_controller * const ic = c->c_ic;
sys/dev/fdt/fdt_intr.c
332
fdtbus_put_interrupt_cookie(c);
sys/dev/fss.c
1162
u_int32_t c, cl, ch, *indirp;
sys/dev/fss.c
1281
for (c = cl; c <= ch; c++) {
sys/dev/fss.c
1282
if (isset(sc->sc_copied, c))
sys/dev/fss.c
1322
for (c = cl; c <= ch; c++, off = 0, todo -= len, addr += len) {
sys/dev/fss.c
1326
if (isclr(sc->sc_copied, c))
sys/dev/fss.c
1330
indirp = fss_bs_indir(sc, c);
sys/dev/fss.c
1340
scp->fc_cluster == c)
sys/dev/fss.c
654
u_int32_t cl, ch, c;
sys/dev/fss.c
667
for (c = cl; c <= ch; c++)
sys/dev/fss.c
668
if (isclr(sc->sc_copied, c)) {
sys/dev/fss.c
676
for (c = cl; c <= ch; c++) {
sys/dev/fss.c
677
error = fss_read_cluster(sc, c);
sys/dev/goldfish/gftty.c
255
gftty_init_config(struct gftty_config *c, bus_space_tag_t bst,
sys/dev/goldfish/gftty.c
258
c->c_bst = bst;
sys/dev/goldfish/gftty.c
259
c->c_bsh = bsh;
sys/dev/goldfish/gftty.c
260
c->c_version = REG_READ0(c, GFTTY_VERSION);
sys/dev/goldfish/gftty.c
272
struct gftty_config *c = kmem_zalloc(sizeof(*c), KM_SLEEP);
sys/dev/goldfish/gftty.c
274
gftty_init_config(c, bst, bsh);
sys/dev/goldfish/gftty.c
275
sc->sc_config = c;
sys/dev/goldfish/gftty.c
283
gftty_set_buffer(struct gftty_config *c, bus_addr_t addr, bus_size_t size)
sys/dev/goldfish/gftty.c
285
REG_WRITE0(c, GFTTY_DATA_PTR, BUS_ADDR_LO32(addr));
sys/dev/goldfish/gftty.c
287
REG_WRITE0(c, GFTTY_DATA_PTR_HIGH, BUS_ADDR_HI32(addr));
sys/dev/goldfish/gftty.c
289
REG_WRITE0(c, GFTTY_DATA_LEN, (uint32_t)size);
sys/dev/goldfish/gftty.c
73
#define REG_READ0(c, r) \
sys/dev/goldfish/gftty.c
74
bus_space_read_4((c)->c_bst, (c)->c_bsh, (r))
sys/dev/goldfish/gftty.c
75
#define REG_WRITE0(c, r, v) \
sys/dev/goldfish/gftty.c
76
bus_space_write_4((c)->c_bst, (c)->c_bsh, (r), (v))
sys/dev/goldfish/gftty.c
761
struct gftty_config * const c = &gftty_cnconfig;
sys/dev/goldfish/gftty.c
763
if (REG_READ0(c, GFTTY_BYTES_READY) == 0) {
sys/dev/goldfish/gftty.c
775
if (c->c_version == 0) {
sys/dev/goldfish/gftty.c
781
gftty_set_buffer(c, addr, sizeof(buf));
sys/dev/goldfish/gftty.c
782
REG_WRITE0(c, GFTTY_CMD, CMD_READ_BUFFER);
sys/dev/hdaudio/hdafg.c
3190
int tag, chn, maxchan, c;
sys/dev/hdaudio/hdafg.c
3247
c = (tag << 4) | chn;
sys/dev/hdaudio/hdafg.c
3250
c = 0;
sys/dev/hdaudio/hdafg.c
3292
CORB_SET_CONVERTER_STREAM_CHANNEL, c);
sys/dev/hdaudio/hdafg_dd.c
120
uint8_t *dip = (uint8_t *)hdmi, c = 0;
sys/dev/hdaudio/hdafg_dd.c
125
c += dip[i];
sys/dev/hdaudio/hdafg_dd.c
126
hdmi->checksum = -c;
sys/dev/hid/hid.c
120
struct hid_item *c = &s->cur;
sys/dev/hid/hid.c
136
c->usage = s->usages[uimin(s->multi, s->nu-1)];
sys/dev/hid/hid.c
138
*h = *c;
sys/dev/hid/hid.c
139
c->loc.pos += c->loc.size;
sys/dev/hid/hid.c
144
c->loc.count = s->multimax;
sys/dev/hid/hid.c
147
hid_clear_local(c);
sys/dev/hid/hid.c
220
hid_clear_local(c);
sys/dev/hid/hid.c
223
c->kind = retkind;
sys/dev/hid/hid.c
224
c->flags = uval;
sys/dev/hid/hid.c
225
if (c->flags & HIO_VARIABLE) {
sys/dev/hid/hid.c
226
s->multimax = c->loc.count;
sys/dev/hid/hid.c
228
c->loc.count = 1;
sys/dev/hid/hid.c
230
for (i = c->usage_minimum;
sys/dev/hid/hid.c
231
i <= c->usage_maximum;
sys/dev/hid/hid.c
242
c->usage = c->usage_minimum;
sys/dev/hid/hid.c
243
*h = *c;
sys/dev/hid/hid.c
245
c->loc.pos +=
sys/dev/hid/hid.c
246
c->loc.size * c->loc.count;
sys/dev/hid/hid.c
249
hid_clear_local(c);
sys/dev/hid/hid.c
256
c->kind = hid_collection;
sys/dev/hid/hid.c
257
c->collection = uval;
sys/dev/hid/hid.c
258
c->collevel++;
sys/dev/hid/hid.c
259
*h = *c;
sys/dev/hid/hid.c
260
hid_clear_local(c);
sys/dev/hid/hid.c
267
c->kind = hid_endcollection;
sys/dev/hid/hid.c
268
c->collevel--;
sys/dev/hid/hid.c
269
*h = *c;
sys/dev/hid/hid.c
280
c->_usage_page = uval << 16;
sys/dev/hid/hid.c
283
c->logical_minimum = dval;
sys/dev/hid/hid.c
286
c->logical_maximum = dval;
sys/dev/hid/hid.c
289
c->physical_minimum = dval;
sys/dev/hid/hid.c
292
c->physical_maximum = dval;
sys/dev/hid/hid.c
295
c->unit_exponent = uval;
sys/dev/hid/hid.c
298
c->unit = uval;
sys/dev/hid/hid.c
301
c->loc.size = uval;
sys/dev/hid/hid.c
304
c->report_ID = uval;
sys/dev/hid/hid.c
305
c->loc.pos = 0;
sys/dev/hid/hid.c
308
c->loc.count = uval;
sys/dev/hid/hid.c
312
*hi = *c;
sys/dev/hid/hid.c
313
c->next = hi;
sys/dev/hid/hid.c
316
hi = c->next;
sys/dev/hid/hid.c
319
oldpos = c->loc.pos;
sys/dev/hid/hid.c
320
*c = *hi;
sys/dev/hid/hid.c
321
c->loc.pos = oldpos;
sys/dev/hid/hid.c
333
uval = c->_usage_page | uval;
sys/dev/hid/hid.c
334
c->usage = uval;
sys/dev/hid/hid.c
342
uval = c->_usage_page | uval;
sys/dev/hid/hid.c
343
c->usage_minimum = uval;
sys/dev/hid/hid.c
347
uval = c->_usage_page | uval;
sys/dev/hid/hid.c
348
c->usage_maximum = uval;
sys/dev/hid/hid.c
351
c->designator_index = uval;
sys/dev/hid/hid.c
354
c->designator_minimum = uval;
sys/dev/hid/hid.c
357
c->designator_maximum = uval;
sys/dev/hid/hid.c
360
c->string_index = uval;
sys/dev/hid/hid.c
363
c->string_minimum = uval;
sys/dev/hid/hid.c
366
c->string_maximum = uval;
sys/dev/hid/hid.c
369
c->set_delimiter = uval;
sys/dev/hid/hid.c
77
hid_clear_local(struct hid_item *c)
sys/dev/hid/hid.c
81
c->usage = 0;
sys/dev/hid/hid.c
82
c->usage_minimum = 0;
sys/dev/hid/hid.c
83
c->usage_maximum = 0;
sys/dev/hid/hid.c
84
c->designator_index = 0;
sys/dev/hid/hid.c
85
c->designator_minimum = 0;
sys/dev/hid/hid.c
86
c->designator_maximum = 0;
sys/dev/hid/hid.c
87
c->string_index = 0;
sys/dev/hid/hid.c
88
c->string_minimum = 0;
sys/dev/hid/hid.c
89
c->string_maximum = 0;
sys/dev/hid/hid.c
90
c->set_delimiter = 0;
sys/dev/hid/hidkbd.c
484
#define ADDKEY(c) ibuf[nkeys++] = (c)
sys/dev/hid/hidkbd.c
571
int c;
sys/dev/hid/hidkbd.c
575
c = hidkbd_trtab[key & CODEMASK];
sys/dev/hid/hidkbd.c
576
if (c == NN)
sys/dev/hid/hidkbd.c
578
if (c & 0x80)
sys/dev/hid/hidkbd.c
580
cbuf[j] = c & 0x7f;
sys/dev/hid/hidkbd.c
584
c & 0x80 ? "0xe0 " : "",
sys/dev/hid/hidkbd.c
687
int c;
sys/dev/hid/hidkbd.c
689
c = kbd->sc_pollchars[0];
sys/dev/hid/hidkbd.c
693
*type = c & RELEASE ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN;
sys/dev/hid/hidkbd.c
694
*data = c & CODEMASK;
sys/dev/hil/hil.c
274
uint8_t c, stat;
sys/dev/hil/hil.c
285
c = bus_space_read_1(sc->sc_bst, sc->sc_bsh,
sys/dev/hil/hil.c
289
hil_process_int(sc, stat, c);
sys/dev/hil/hil.c
294
rnd_add_uint32(&sc->sc_rndsource, (stat << 8) | c);
sys/dev/hil/hil.c
300
hil_process_int(struct hil_softc *sc, uint8_t stat, uint8_t c)
sys/dev/hil/hil.c
307
if (c & HIL_ERROR) {
sys/dev/hil/hil.c
309
switch (c) {
sys/dev/hil/hil.c
319
if (c & HIL_COMMAND) {
sys/dev/hil/hil.c
320
if (c & HIL_POLLDATA) { /* End of data */
sys/dev/hil/hil.c
335
if (c & HIL_POLLDATA) { /* Start of polled data */
sys/dev/hil/hil.c
336
sc->sc_actdev = (c & HIL_DEVMASK);
sys/dev/hil/hil.c
339
if (sc->sc_cmddev == (c & HIL_DEVMASK)) {
sys/dev/hil/hil.c
348
*sc->sc_pollbp++ = c;
sys/dev/hil/hil.c
355
*sc->sc_cmdbp++ = c;
sys/dev/hil/hil.c
367
hil_process_poll(struct hil_softc *sc, uint8_t stat, uint8_t c)
sys/dev/hil/hil.c
373
if (c & HIL_ERROR) {
sys/dev/hil/hil.c
375
switch (c) {
sys/dev/hil/hil.c
404
if (c & HIL_COMMAND) {
sys/dev/hil/hil.c
405
if (!(c & HIL_POLLDATA)) {
sys/dev/hil/hil.c
411
if (c & HIL_POLLDATA) {
sys/dev/hil/hil.c
413
sc->sc_actdev = (c & HIL_DEVMASK);
sys/dev/hil/hil.c
417
if (sc->sc_cmddev == (c & HIL_DEVMASK)) {
sys/dev/hil/hil.c
699
uint8_t status, c;
sys/dev/hil/hil.c
743
c = bus_space_read_1(sc->sc_bst, sc->sc_bsh, HILP_DATA);
sys/dev/hil/hil.c
745
hil_process_int(sc, status, c);
sys/dev/hil/hil.c
867
uint8_t s, c;
sys/dev/hil/hil.c
873
c = bus_space_read_1(sc->sc_bst, sc->sc_bsh, HILP_DATA);
sys/dev/hil/hil.c
876
if (hil_process_poll(sc, s, c)) {
sys/dev/hil/hil.c
880
*data = c;
sys/dev/hil/hilkbd.c
326
uint8_t c, stat;
sys/dev/hil/hilkbd.c
329
while (hil_poll_data(hdsc, &stat, &c) != 0)
sys/dev/hil/hilkbd.c
336
if (c != HIL_KBDBUTTON)
sys/dev/hil/hilkbd.c
340
hilkbd_decode(sc, c, type, data, HIL_KBDBUTTON);
sys/dev/hil/hilkbd.c
400
int c, j;
sys/dev/hil/hilkbd.c
405
c = hilkbd_raw[key];
sys/dev/hil/hilkbd.c
406
if (c == 0)
sys/dev/hil/hilkbd.c
409
if (c & 0x80)
sys/dev/hil/hilkbd.c
411
cbuf[j] = c & 0x7f;
sys/dev/hpc/bicons.c
219
biconscnputc(dev_t dev, int c)
sys/dev/hpc/bicons.c
223
switch (c) {
sys/dev/hpc/bicons.c
239
draw_char(curs_x, curs_y, c);
sys/dev/hpc/bicons.c
291
draw_char(int x, int y, int c)
sys/dev/hpc/bicons.c
303
[FONT_WIDTH * (FONT_HEIGHT * c + i)], 0xff);
sys/dev/hpc/hpcfb.c
1009
vc->c = uc;
sys/dev/hpc/hpcfb.c
101
u_int c;
sys/dev/hpc/hpcfb.c
1306
rasops_emul.putchar(ri, row + i, j, svc->c, svc->attr);
sys/dev/hpc/hpcfb.c
971
hpcfb_mapchar(void *cookie, int c, unsigned int *cp)
sys/dev/hpc/hpcfb.c
976
return (rasops_emul.mapchar(ri, c, cp));
sys/dev/hpc/hpf1275a_tty.c
367
hpf1275a_input(int c, struct tty *tp)
sys/dev/hpc/hpf1275a_tty.c
377
if (c & TTY_ERRORMASK)
sys/dev/hpc/hpf1275a_tty.c
380
code = c & TTY_CHARMASK;
sys/dev/hpc/video_subr.c
61
#define BRESENHAM(a, b, c, d, func) ({ \
sys/dev/hpc/video_subr.c
70
x = xbase c; \
sys/dev/i2c/act8846.c
143
static void act8846_print(struct act8846_ctrl *c);
sys/dev/i2c/act8846.c
198
act8846_print(struct act8846_ctrl *c)
sys/dev/i2c/act8846.c
200
struct act8846_softc *sc = device_private(c->c_dev);
sys/dev/i2c/act8846.c
204
device_printf(sc->sc_dev, "%s:", c->c_name);
sys/dev/i2c/act8846.c
205
if (act8846_get_voltage(c, &voltage)) {
sys/dev/i2c/act8846.c
211
if (act8846_is_enabled(c, &enabled)) {
sys/dev/i2c/act8846.c
223
struct act8846_ctrl *c;
sys/dev/i2c/act8846.c
227
c = &sc->sc_ctrl[n];
sys/dev/i2c/act8846.c
228
if (strcmp(c->c_name, name) == 0) {
sys/dev/i2c/act8846.c
229
return c;
sys/dev/i2c/act8846.c
237
act8846_set_voltage(struct act8846_ctrl *c, u_int min, u_int max)
sys/dev/i2c/act8846.c
239
struct act8846_softc *sc = device_private(c->c_dev);
sys/dev/i2c/act8846.c
243
if (min < c->c_min || min > c->c_max || (min % 25) != 0)
sys/dev/i2c/act8846.c
257
error = act8846_write(sc, c->c_base + ACT_VSET0_OFFSET, val);
sys/dev/i2c/act8846.c
261
act8846_print(c);
sys/dev/i2c/act8846.c
267
act8846_get_voltage(struct act8846_ctrl *c, u_int *pvol)
sys/dev/i2c/act8846.c
269
struct act8846_softc *sc = device_private(c->c_dev);
sys/dev/i2c/act8846.c
274
error = act8846_read(sc, c->c_base + ACT_VSET0_OFFSET, &val);
sys/dev/i2c/act8846.c
285
act8846_is_enabled(struct act8846_ctrl *c, bool *penabled)
sys/dev/i2c/act8846.c
287
struct act8846_softc *sc = device_private(c->c_dev);
sys/dev/i2c/act8846.c
291
if (c->c_type == ACT_CTRL_DCDC) {
sys/dev/i2c/act8846.c
300
error = act8846_read(sc, c->c_base + regoff, &val);
sys/dev/i2c/act8846.c
310
act8846_enable(struct act8846_ctrl *c)
sys/dev/i2c/act8846.c
312
struct act8846_softc *sc = device_private(c->c_dev);
sys/dev/i2c/act8846.c
316
if (c->c_type == ACT_CTRL_DCDC) {
sys/dev/i2c/act8846.c
325
if ((error = act8846_read(sc, c->c_base + regoff, &val)) != 0)
sys/dev/i2c/act8846.c
328
error = act8846_write(sc, c->c_base + regoff, val);
sys/dev/i2c/act8846.c
333
act8846_print(c);
sys/dev/i2c/act8846.c
340
act8846_disable(struct act8846_ctrl *c)
sys/dev/i2c/act8846.c
342
struct act8846_softc *sc = device_private(c->c_dev);
sys/dev/i2c/act8846.c
346
if (c->c_type == ACT_CTRL_DCDC) {
sys/dev/i2c/act8846.c
355
if ((error = act8846_read(sc, c->c_base + regoff, &val)) != 0)
sys/dev/i2c/act8846.c
358
error = act8846_write(sc, c->c_base + regoff, val);
sys/dev/i2c/act8846.c
363
act8846_print(c);
sys/dev/i2c/axp809.c
100
static void axp809_print(struct axp809_ctrl *c);
sys/dev/i2c/axp809.c
160
axp809_print(struct axp809_ctrl *c)
sys/dev/i2c/axp809.c
162
struct axp809_softc *sc = device_private(c->c_dev);
sys/dev/i2c/axp809.c
166
device_printf(sc->sc_dev, "%s:", c->c_name);
sys/dev/i2c/axp809.c
167
if (c->c_voltage_reg) {
sys/dev/i2c/axp809.c
168
if (axp809_get_voltage(c, &voltage)) {
sys/dev/i2c/axp809.c
175
if (c->c_enable_reg) {
sys/dev/i2c/axp809.c
176
if (axp809_is_enabled(c, &enabled)) {
sys/dev/i2c/axp809.c
189
struct axp809_ctrl *c;
sys/dev/i2c/axp809.c
193
c = &sc->sc_ctrl[n];
sys/dev/i2c/axp809.c
194
if (strcmp(c->c_name, name) == 0) {
sys/dev/i2c/axp809.c
195
return c;
sys/dev/i2c/axp809.c
203
axp809_set_voltage(struct axp809_ctrl *c, u_int min, u_int max)
sys/dev/i2c/axp809.c
205
struct axp809_softc *sc = device_private(c->c_dev);
sys/dev/i2c/axp809.c
210
if (!c->c_voltage_mask)
sys/dev/i2c/axp809.c
213
if (min < c->c_min || min > c->c_max)
sys/dev/i2c/axp809.c
218
vol = c->c_min;
sys/dev/i2c/axp809.c
220
for (nstep = 0; nstep < c->c_step1cnt && vol < min; nstep++) {
sys/dev/i2c/axp809.c
222
vol += c->c_step1;
sys/dev/i2c/axp809.c
224
for (nstep = 0; nstep < c->c_step2cnt && vol < min; nstep++) {
sys/dev/i2c/axp809.c
226
vol += c->c_step2;
sys/dev/i2c/axp809.c
233
if ((error = axp809_read(sc, c->c_voltage_reg, &val)) != 0)
sys/dev/i2c/axp809.c
235
val &= ~c->c_voltage_mask;
sys/dev/i2c/axp809.c
236
val |= __SHIFTIN(reg_val, c->c_voltage_mask);
sys/dev/i2c/axp809.c
237
error = axp809_write(sc, c->c_voltage_reg, val);
sys/dev/i2c/axp809.c
242
axp809_print(c);
sys/dev/i2c/axp809.c
249
axp809_get_voltage(struct axp809_ctrl *c, u_int *pvol)
sys/dev/i2c/axp809.c
251
struct axp809_softc *sc = device_private(c->c_dev);
sys/dev/i2c/axp809.c
255
if (!c->c_voltage_mask)
sys/dev/i2c/axp809.c
259
error = axp809_read(sc, c->c_voltage_reg, &val);
sys/dev/i2c/axp809.c
264
reg_val = __SHIFTOUT(val, c->c_voltage_mask);
sys/dev/i2c/axp809.c
265
if (reg_val < c->c_step1cnt) {
sys/dev/i2c/axp809.c
266
*pvol = c->c_min + reg_val * c->c_step1;
sys/dev/i2c/axp809.c
268
*pvol = c->c_min + (c->c_step1cnt * c->c_step1) +
sys/dev/i2c/axp809.c
269
((reg_val - c->c_step1cnt) * c->c_step2);
sys/dev/i2c/axp809.c
276
axp809_is_enabled(struct axp809_ctrl *c, bool *penabled)
sys/dev/i2c/axp809.c
278
struct axp809_softc *sc = device_private(c->c_dev);
sys/dev/i2c/axp809.c
282
if (!c->c_enable_mask)
sys/dev/i2c/axp809.c
286
error = axp809_read(sc, c->c_enable_reg, &val);
sys/dev/i2c/axp809.c
291
*penabled = !!(val & c->c_enable_mask);
sys/dev/i2c/axp809.c
296
axp809_enable(struct axp809_ctrl *c)
sys/dev/i2c/axp809.c
298
struct axp809_softc *sc = device_private(c->c_dev);
sys/dev/i2c/axp809.c
302
if (!c->c_enable_mask)
sys/dev/i2c/axp809.c
306
if ((error = axp809_read(sc, c->c_enable_reg, &val)) != 0)
sys/dev/i2c/axp809.c
308
val |= c->c_enable_mask;
sys/dev/i2c/axp809.c
309
error = axp809_write(sc, c->c_enable_reg, val);
sys/dev/i2c/axp809.c
314
axp809_print(c);
sys/dev/i2c/axp809.c
321
axp809_disable(struct axp809_ctrl *c)
sys/dev/i2c/axp809.c
323
struct axp809_softc *sc = device_private(c->c_dev);
sys/dev/i2c/axp809.c
327
if (!c->c_enable_mask)
sys/dev/i2c/axp809.c
331
if ((error = axp809_read(sc, c->c_enable_reg, &val)) != 0)
sys/dev/i2c/axp809.c
333
val &= ~c->c_enable_mask;
sys/dev/i2c/axp809.c
334
error = axp809_write(sc, c->c_enable_reg, val);
sys/dev/i2c/axp809.c
339
axp809_print(c);
sys/dev/i2c/axppmic.c
1001
if (n == c->poklirq.reg && (stat & c->poklirq.mask) != 0)
sys/dev/i2c/axppmic.c
1003
if (n == c->acinirq.reg && (stat & c->acinirq.mask) != 0)
sys/dev/i2c/axppmic.c
1005
if (n == c->vbusirq.reg && (stat & c->vbusirq.mask) != 0)
sys/dev/i2c/axppmic.c
1007
if (n == c->battirq.reg && (stat & c->battirq.mask) != 0)
sys/dev/i2c/axppmic.c
1009
if (n == c->chargeirq.reg && (stat & c->chargeirq.mask) != 0)
sys/dev/i2c/axppmic.c
1011
if (n == c->chargestirq.reg && (stat & c->chargestirq.mask) != 0)
sys/dev/i2c/axppmic.c
1046
const struct axppmic_config *c = sc->sc_conf;
sys/dev/i2c/axppmic.c
1080
if (c->batsense_step) {
sys/dev/i2c/axppmic.c
1089
if (c->charge_step) {
sys/dev/i2c/axppmic.c
1098
if (c->discharge_step) {
sys/dev/i2c/axppmic.c
1107
if (c->has_fuel_gauge) {
sys/dev/i2c/axppmic.c
1117
if (c->maxcap_step) {
sys/dev/i2c/axppmic.c
1126
if (c->coulomb_step) {
sys/dev/i2c/axppmic.c
1174
const struct axppmic_config *c;
sys/dev/i2c/axppmic.c
1183
c = dce->data;
sys/dev/i2c/axppmic.c
1189
sc->sc_conf = c;
sys/dev/i2c/axppmic.c
1192
aprint_normal(": %s\n", c->name);
sys/dev/i2c/axppmic.c
1194
if (c->has_mode_set) {
sys/dev/i2c/axppmic.c
1220
if (c->irq_regs > 0) {
sys/dev/i2c/axppmic.c
1250
for (i = 1; i <= c->irq_regs; i++) {
sys/dev/i2c/axppmic.c
1252
if (i == c->poklirq.reg)
sys/dev/i2c/axppmic.c
1253
irq_mask |= c->poklirq.mask;
sys/dev/i2c/axppmic.c
1254
if (i == c->acinirq.reg)
sys/dev/i2c/axppmic.c
1255
irq_mask |= c->acinirq.mask;
sys/dev/i2c/axppmic.c
1256
if (i == c->vbusirq.reg)
sys/dev/i2c/axppmic.c
1257
irq_mask |= c->vbusirq.mask;
sys/dev/i2c/axppmic.c
1258
if (i == c->battirq.reg)
sys/dev/i2c/axppmic.c
1259
irq_mask |= c->battirq.mask;
sys/dev/i2c/axppmic.c
1260
if (i == c->chargeirq.reg)
sys/dev/i2c/axppmic.c
1261
irq_mask |= c->chargeirq.mask;
sys/dev/i2c/axppmic.c
1262
if (i == c->chargestirq.reg)
sys/dev/i2c/axppmic.c
1263
irq_mask |= c->chargestirq.mask;
sys/dev/i2c/axppmic.c
1275
if (c->gpio_compat != NULL) {
sys/dev/i2c/axppmic.c
1276
phandle = of_find_bycompat(sc->sc_phandle, c->gpio_compat);
sys/dev/i2c/axppmic.c
1287
for (i = 0; i < c->ncontrols; i++) {
sys/dev/i2c/axppmic.c
1288
const struct axppmic_ctrl *ctrl = &c->controls[i];
sys/dev/i2c/axppmic.c
1298
if (c->has_battery)
sys/dev/i2c/axppmic.c
1317
const struct axppmic_ctrl *c = sc->sc_ctrl;
sys/dev/i2c/axppmic.c
1322
if (!c->c_enable_mask)
sys/dev/i2c/axppmic.c
1326
if ((error = axppmic_read(sc->sc_i2c, sc->sc_addr, c->c_enable_reg, &val, flags)) == 0) {
sys/dev/i2c/axppmic.c
1327
val &= ~c->c_enable_mask;
sys/dev/i2c/axppmic.c
1329
val |= c->c_enable_val;
sys/dev/i2c/axppmic.c
1331
val |= c->c_disable_val;
sys/dev/i2c/axppmic.c
1332
error = axppmic_write(sc->sc_i2c, sc->sc_addr, c->c_enable_reg, val, flags);
sys/dev/i2c/axppmic.c
1343
const struct axppmic_ctrl *c = sc->sc_ctrl;
sys/dev/i2c/axppmic.c
1345
return axppmic_set_voltage(sc->sc_i2c, sc->sc_addr, c,
sys/dev/i2c/axppmic.c
1353
const struct axppmic_ctrl *c = sc->sc_ctrl;
sys/dev/i2c/axppmic.c
1357
error = axppmic_get_voltage(sc->sc_i2c, sc->sc_addr, c, &vol);
sys/dev/i2c/axppmic.c
594
axppmic_set_voltage(i2c_tag_t tag, i2c_addr_t addr, const struct axppmic_ctrl *c, u_int min, u_int max)
sys/dev/i2c/axppmic.c
600
if (!c->c_voltage_mask)
sys/dev/i2c/axppmic.c
603
if (min < c->c_min || min > c->c_max)
sys/dev/i2c/axppmic.c
608
vol = c->c_min;
sys/dev/i2c/axppmic.c
610
for (nstep = 0; nstep < c->c_step1cnt && vol < min; nstep++) {
sys/dev/i2c/axppmic.c
612
vol += c->c_step1;
sys/dev/i2c/axppmic.c
615
if (c->c_step2start)
sys/dev/i2c/axppmic.c
616
vol = c->c_step2start;
sys/dev/i2c/axppmic.c
618
for (nstep = 0; nstep < c->c_step2cnt && vol < min; nstep++) {
sys/dev/i2c/axppmic.c
620
vol += c->c_step2;
sys/dev/i2c/axppmic.c
627
if ((error = axppmic_read(tag, addr, c->c_voltage_reg, &val, 0)) == 0) {
sys/dev/i2c/axppmic.c
628
val &= ~c->c_voltage_mask;
sys/dev/i2c/axppmic.c
629
val |= __SHIFTIN(reg_val, c->c_voltage_mask);
sys/dev/i2c/axppmic.c
630
error = axppmic_write(tag, addr, c->c_voltage_reg, val, 0);
sys/dev/i2c/axppmic.c
638
axppmic_get_voltage(i2c_tag_t tag, i2c_addr_t addr, const struct axppmic_ctrl *c, u_int *pvol)
sys/dev/i2c/axppmic.c
643
if (!c->c_voltage_mask)
sys/dev/i2c/axppmic.c
647
error = axppmic_read(tag, addr, c->c_voltage_reg, &val, 0);
sys/dev/i2c/axppmic.c
652
reg_val = __SHIFTOUT(val, c->c_voltage_mask);
sys/dev/i2c/axppmic.c
653
if (reg_val < c->c_step1cnt) {
sys/dev/i2c/axppmic.c
654
*pvol = c->c_min + reg_val * c->c_step1;
sys/dev/i2c/axppmic.c
655
} else if (c->c_step2start) {
sys/dev/i2c/axppmic.c
656
*pvol = c->c_step2start +
sys/dev/i2c/axppmic.c
657
((reg_val - c->c_step1cnt) * c->c_step2);
sys/dev/i2c/axppmic.c
659
*pvol = c->c_min + (c->c_step1cnt * c->c_step1) +
sys/dev/i2c/axppmic.c
660
((reg_val - c->c_step1cnt) * c->c_step2);
sys/dev/i2c/axppmic.c
828
const struct axppmic_config *c = sc->sc_conf;
sys/dev/i2c/axppmic.c
894
e->value_cur = AXP_ADC_RAW(hi, lo) * c->batsense_step;
sys/dev/i2c/axppmic.c
904
e->value_cur = AXP_ADC_RAW(hi, lo) * c->charge_step;
sys/dev/i2c/axppmic.c
914
e->value_cur = AXP_ADC_RAW(hi, lo) * c->discharge_step;
sys/dev/i2c/axppmic.c
922
e->value_cur = AXP_COULOMB_RAW(hi, lo) * c->maxcap_step;
sys/dev/i2c/axppmic.c
930
e->value_cur = AXP_COULOMB_RAW(hi, lo) * c->coulomb_step;
sys/dev/i2c/axppmic.c
986
const struct axppmic_config * const c = sc->sc_conf;
sys/dev/i2c/axppmic.c
994
for (n = 1; n <= c->irq_regs; n++) {
sys/dev/i2c/i2cmux.c
192
#define BUS_DEVHANDLE(sc, c) \
sys/dev/i2c/i2cmux.c
193
devhandle_from_of((sc)->sc_i2c_mux_devhandle, (c))
sys/dev/i2c/i2cmux.c
229
#define BUS_DEVHANDLE(sc, c) \
sys/dev/i2c/i2cmux.c
230
devhandle_from_acpi((sc)->sc_i2c_mux_devhandle, (c))
sys/dev/i2c/motoi2c.c
68
#define I2C_SETCLR(r, s, c) \
sys/dev/i2c/motoi2c.c
69
((*sc->sc_iowr)(sc, (r), ((*sc->sc_iord)(sc, (r)) | (s)) & ~(c)))
sys/dev/i2c/rkpmic.c
548
const struct rkpmic_ctrl *c = sc->sc_ctrl;
sys/dev/i2c/rkpmic.c
551
if (!c->enable_mask)
sys/dev/i2c/rkpmic.c
555
if (c->flags & F_ENABLE_WRITE_MASK)
sys/dev/i2c/rkpmic.c
556
val |= c->enable_mask << 4;
sys/dev/i2c/rkpmic.c
558
val = I2C_READ(sc->sc_pmic, c->enable_reg);
sys/dev/i2c/rkpmic.c
560
val |= c->enable_mask;
sys/dev/i2c/rkpmic.c
562
val &= ~c->enable_mask;
sys/dev/i2c/rkpmic.c
563
I2C_WRITE(sc->sc_pmic, c->enable_reg, val);
sys/dev/i2c/rkpmic.c
573
const struct rkpmic_ctrl *c = sc->sc_ctrl;
sys/dev/i2c/rkpmic.c
577
if (!c->vsel_mask)
sys/dev/i2c/rkpmic.c
580
if (min_uvol < c->base)
sys/dev/i2c/rkpmic.c
583
vsel = (min_uvol - c->base) / c->step;
sys/dev/i2c/rkpmic.c
584
if (vsel > __SHIFTOUT_MASK(c->vsel_mask))
sys/dev/i2c/rkpmic.c
588
val = I2C_READ(sc->sc_pmic, c->vsel_reg);
sys/dev/i2c/rkpmic.c
589
val &= ~c->vsel_mask;
sys/dev/i2c/rkpmic.c
590
val |= __SHIFTIN(vsel, c->vsel_mask);
sys/dev/i2c/rkpmic.c
591
I2C_WRITE(sc->sc_pmic, c->vsel_reg, val);
sys/dev/i2c/rkpmic.c
601
const struct rkpmic_ctrl *c = sc->sc_ctrl;
sys/dev/i2c/rkpmic.c
604
if (!c->vsel_mask)
sys/dev/i2c/rkpmic.c
608
val = I2C_READ(sc->sc_pmic, c->vsel_reg);
sys/dev/i2c/rkpmic.c
611
*puvol = __SHIFTOUT(val, c->vsel_mask) * c->step + c->base;
sys/dev/i2c/sensirion_voc_algorithm.c
598
fix16_t c;
sys/dev/i2c/sensirion_voc_algorithm.c
620
c = (params->m_Mean_Variance_Estimator___Std - delta_sgp);
sys/dev/i2c/sensirion_voc_algorithm.c
622
c = (params->m_Mean_Variance_Estimator___Std + delta_sgp);
sys/dev/i2c/sensirion_voc_algorithm.c
625
if ((c > F16(1440.))) {
sys/dev/i2c/sht3x.c
381
uint8_t c = sht3x_crc(&buf[0], 2);
sys/dev/i2c/sht3x.c
382
if (c == buf[2]) {
sys/dev/i2c/tcakp.c
78
#define TCA_EVENT(c) (0x04 + (c) - 'A')
sys/dev/i2c/zl10353.c
351
static const uint64_t c = 1497965625;
sys/dev/i2c/zl10353.c
358
val = zl->zl_bw * c;
sys/dev/ic/ac97.c
1326
#define ISASCII(c) ((c) >= ' ' && (c) < 0x7f)
sys/dev/ic/adv.h
80
#define ADV_CCB_OFF(c) (offsetof(struct adv_control, ccbs[0]) + \
sys/dev/ic/adv.h
81
(((u_long)(c)) - ((u_long)&sc->sc_control->ccbs[0])))
sys/dev/ic/adw.h
98
#define ADW_CCB_OFF(c) (offsetof(struct adw_control, ccbs[0]) + \
sys/dev/ic/adw.h
99
(((u_long)(c)) - ((u_long)&sc->sc_control->ccbs[0])))
sys/dev/ic/ahavar.h
107
#define AHA_CCB_OFF(c) (offsetof(struct aha_control, ac_ccbs[0]) + \
sys/dev/ic/ahavar.h
108
(((u_long)(c)) - ((u_long)&sc->sc_control->ac_ccbs[0])))
sys/dev/ic/arn5008.c
1676
ar5008_set_rf_mode(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn5008.c
1680
reg = IEEE80211_IS_CHAN_2GHZ(c) ?
sys/dev/ic/arn5008.c
1683
reg |= IEEE80211_IS_CHAN_2GHZ(c) ?
sys/dev/ic/arn5008.c
1686
else if (IEEE80211_IS_CHAN_5GHZ(c) &&
sys/dev/ic/arn5008.c
1736
ar5008_set_phy(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn5008.c
1750
if (extc > c) /* XXX */
sys/dev/ic/arn5008.c
1767
ar5008_set_delta_slope(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn5008.c
1773
coeff = (100 << 24) / c->ic_freq;
sys/dev/ic/arn5008.c
1905
ar5008_get_noisefloor(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn5008.c
2358
ar5008_hw_init(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn5008.c
2371
ar5416_reset_addac(sc, c);
sys/dev/ic/arn5008.c
2378
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn5008.c
2386
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn5008.c
2410
ar9280_reset_rx_gain(sc, c);
sys/dev/ic/arn5008.c
2412
ar9280_reset_tx_gain(sc, c);
sys/dev/ic/arn5008.c
2434
ar5416_reset_bb_gain(sc, c);
sys/dev/ic/arn5008.c
2436
if (IEEE80211_IS_CHAN_5GHZ(c) &&
sys/dev/ic/arn5008.c
2485
ar5008_set_phy(sc, c, extc);
sys/dev/ic/arn5008.c
2493
ops->set_txpower(sc, c, extc);
sys/dev/ic/arn5008.c
2496
ar5416_rf_reset(sc, c);
sys/dev/ic/arn5008.c
2632
ar5008_get_lg_tpow(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn5008.c
2640
fbin = athn_chan2fbin(c);
sys/dev/ic/arn5008.c
2664
ar5008_get_ht_tpow(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn5008.c
2672
fbin = athn_chan2fbin(c);
sys/dev/ic/arn5416.c
163
ar5416_set_synth(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn5416.c
167
uint32_t freq = c->ic_freq;
sys/dev/ic/arn5416.c
171
if (IEEE80211_IS_CHAN_2GHZ(c)) {
sys/dev/ic/arn5416.c
192
ar5416_force_bias(sc, c);
sys/dev/ic/arn5416.c
223
ar5416_init_from_rom(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn5416.c
233
modal = &eep->modalHeader[IEEE80211_IS_CHAN_2GHZ(c)];
sys/dev/ic/arn5416.c
268
txRxAtten = IEEE80211_IS_CHAN_2GHZ(c) ? 23 : 44;
sys/dev/ic/arn5416.c
323
ar5416_init_calib(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn5416.c
354
ar5416_get_pdadcs(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn5416.c
366
if (IEEE80211_IS_CHAN_2GHZ(c)) {
sys/dev/ic/arn5416.c
377
fbin = athn_chan2fbin(c);
sys/dev/ic/arn5416.c
416
ar5416_set_power_calib(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn5416.c
428
modal = &eep->modalHeader[IEEE80211_IS_CHAN_2GHZ(c)];
sys/dev/ic/arn5416.c
437
if ((sc->sc_flags & ATHN_FLAG_OLPC) && IEEE80211_IS_CHAN_2GHZ(c)) {
sys/dev/ic/arn5416.c
470
ar9280_olpc_get_pdadcs(sc, c, i, boundaries,
sys/dev/ic/arn5416.c
488
ar5416_get_pdadcs(sc, c, i, nxpdgains, overlap,
sys/dev/ic/arn5416.c
517
ar5416_set_txpower(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn5416.c
532
ar5416_set_power_calib(sc, c);
sys/dev/ic/arn5416.c
534
modal = &eep->modalHeader[IEEE80211_IS_CHAN_2GHZ(c)];
sys/dev/ic/arn5416.c
552
if (IEEE80211_IS_CHAN_2GHZ(c)) {
sys/dev/ic/arn5416.c
554
ar5008_get_lg_tpow(sc, c, AR_CTL_11B, eep->calTargetPowerCck,
sys/dev/ic/arn5416.c
558
ar5008_get_lg_tpow(sc, c, AR_CTL_11G, eep->calTargetPower2G,
sys/dev/ic/arn5416.c
563
ar5008_get_ht_tpow(sc, c, AR_CTL_2GHT20,
sys/dev/ic/arn5416.c
569
ar5008_get_ht_tpow(sc, c, AR_CTL_2GHT40,
sys/dev/ic/arn5416.c
587
ar5008_get_lg_tpow(sc, c, AR_CTL_11A, eep->calTargetPower5G,
sys/dev/ic/arn5416.c
592
ar5008_get_ht_tpow(sc, c, AR_CTL_5GHT20,
sys/dev/ic/arn5416.c
598
ar5008_get_ht_tpow(sc, c, AR_CTL_5GHT40,
sys/dev/ic/arn5416.c
624
if (IEEE80211_IS_CHAN_2GHZ(c)) {
sys/dev/ic/arn5416.c
647
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn5416.c
678
ar5416_spur_mitigate(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn5416.c
684
spurchans = sc->sc_ops.get_spur_chans(sc, IEEE80211_IS_CHAN_2GHZ(c));
sys/dev/ic/arn5416.c
689
spur -= c->ic_freq * 10;
sys/dev/ic/arn5416.c
712
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn5416.c
782
ar5416_rw_bank6tpc(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn5416.c
788
if (IEEE80211_IS_CHAN_5GHZ(c)) {
sys/dev/ic/arn5416.c
808
ar5416_rf_reset(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn5416.c
826
if (IEEE80211_IS_CHAN_5GHZ(c))
sys/dev/ic/arn5416.c
841
ar5416_rw_bank6tpc(sc, c, rwbank6tpc);
sys/dev/ic/arn5416.c
847
if (IEEE80211_IS_CHAN_5GHZ(c))
sys/dev/ic/arn5416.c
859
ar5416_reset_bb_gain(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn5416.c
864
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn5416.c
877
ar5416_force_bias(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn5416.c
883
KASSERT(IEEE80211_IS_CHAN_2GHZ(c));
sys/dev/ic/arn5416.c
888
if (c->ic_freq < 2412)
sys/dev/ic/arn5416.c
890
else if (c->ic_freq < 2422)
sys/dev/ic/arn5416.c
909
ar9160_rw_addac(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn5416.c
920
modal = &eep->modalHeader[IEEE80211_IS_CHAN_2GHZ(c)];
sys/dev/ic/arn5416.c
923
fbin = athn_chan2fbin(c);
sys/dev/ic/arn5416.c
937
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn5416.c
944
ar5416_reset_addac(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn5416.c
955
ar9160_rw_addac(sc, c, rwaddac);
sys/dev/ic/arn9003.c
1857
ar9003_set_rf_mode(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn9003.c
1861
reg = IEEE80211_IS_CHAN_2GHZ(c) ?
sys/dev/ic/arn9003.c
1863
if (IEEE80211_IS_CHAN_5GHZ(c) &&
sys/dev/ic/arn9003.c
1912
ar9003_set_phy(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9003.c
1923
if (extc > c) /* XXX */
sys/dev/ic/arn9003.c
1942
ar9003_set_delta_slope(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9003.c
1948
coeff = (100 << 24) / c->ic_freq;
sys/dev/ic/arn9003.c
2072
ar9003_get_noisefloor(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn9003.c
2085
if (IEEE80211_IS_CHAN_2GHZ(c)) {
sys/dev/ic/arn9003.c
2320
int32_t m, p, c;
sys/dev/ic/arn9003.c
2323
int32_t div, f1, f2, f3, m, p, c;
sys/dev/ic/arn9003.c
2331
val[0][0].c = ((res[0] >> 24) & 0xff) | (res[1] & 0xf) << 8;
sys/dev/ic/arn9003.c
2335
val[0][1].c = (res[2] >> 12) & 0xfff;
sys/dev/ic/arn9003.c
2339
val[1][0].c = res[4] & 0xfff;
sys/dev/ic/arn9003.c
2343
val[1][1].c = (res[5] >> 4) & 0xfff;
sys/dev/ic/arn9003.c
2350
c = SIGN_EXT(val[i][j].c);
sys/dev/ic/arn9003.c
2356
phs[i][j] = (c * SCALE) / p;
sys/dev/ic/arn9003.c
2519
ar9003_paprd_calib(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn9003.c
2530
ops->get_paprd_masks(sc, c, &ht20mask, &ht40mask);
sys/dev/ic/arn9003.c
3171
ar9003_reset_rx_gain(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn9003.c
3178
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn9003.c
3189
ar9003_reset_tx_gain(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn9003.c
3196
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn9003.c
3207
ar9003_hw_init(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9003.c
3236
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn9003.c
3244
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn9003.c
3259
ar9003_reset_rx_gain(sc, c);
sys/dev/ic/arn9003.c
3261
ar9003_reset_tx_gain(sc, c);
sys/dev/ic/arn9003.c
3263
if (IEEE80211_IS_CHAN_5GHZ(c) &&
sys/dev/ic/arn9003.c
3295
ar9003_set_phy(sc, c, extc);
sys/dev/ic/arn9003.c
3298
ops->set_txpower(sc, c, extc);
sys/dev/ic/arn9003.c
3303
ar9003_get_lg_tpow(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9003.c
3311
fbin = athn_chan2fbin(c);
sys/dev/ic/arn9003.c
3335
ar9003_get_ht_tpow(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9003.c
3343
fbin = athn_chan2fbin(c);
sys/dev/ic/arn9280.c
164
ar9280_set_synth(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9280.c
168
uint32_t freq = c->ic_freq;
sys/dev/ic/arn9280.c
172
if (IEEE80211_IS_CHAN_2GHZ(c)) {
sys/dev/ic/arn9280.c
233
ar9280_init_from_rom(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9280.c
243
modal = &eep->modalHeader[IEEE80211_IS_CHAN_2GHZ(c)];
sys/dev/ic/arn9280.c
278
txRxAtten = IEEE80211_IS_CHAN_2GHZ(c) ? 23 : 44;
sys/dev/ic/arn9280.c
286
if (IEEE80211_IS_CHAN_2GHZ(c)) {
sys/dev/ic/arn9280.c
317
if ((sc->sc_flags & ATHN_FLAG_USB) && IEEE80211_IS_CHAN_5GHZ(c)) {
sys/dev/ic/arn9280.c
393
(IEEE80211_IS_CHAN_2GHZ(c) ||
sys/dev/ic/arn9280.c
416
ar9280_olpc_get_pdadcs(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9280.c
425
if (IEEE80211_IS_CHAN_2GHZ(c)) {
sys/dev/ic/arn9280.c
438
fbin = athn_chan2fbin(c);
sys/dev/ic/arn9280.c
465
ar9280_spur_mitigate(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9280.c
477
spurchans = sc->sc_ops.get_spur_chans(sc, IEEE80211_IS_CHAN_2GHZ(c));
sys/dev/ic/arn9280.c
483
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn9280.c
487
spur -= c->ic_freq;
sys/dev/ic/arn9280.c
527
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn9280.c
546
ar9280_reset_rx_gain(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn9280.c
552
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn9280.c
561
ar9280_reset_tx_gain(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn9280.c
567
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn9285.c
182
ar9285_init_from_rom(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9285.c
588
ar9285_cl_cal(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9285.c
653
ar9285_init_calib(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9285.c
660
if ((error = ar9285_cl_cal(sc, c, extc)) != 0)
sys/dev/ic/arn9285.c
700
error = ar9285_cl_cal(sc, c, extc);
sys/dev/ic/arn9285.c
707
ar9285_get_pdadcs(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9285.c
722
fbin = athn_chan2fbin(c);
sys/dev/ic/arn9285.c
738
ar9285_set_power_calib(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn9285.c
770
ar9285_get_pdadcs(sc, c, nxpdgains, overlap, boundaries, pdadcs);
sys/dev/ic/arn9285.c
792
ar9285_set_txpower(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9285.c
808
ar9285_set_power_calib(sc, c);
sys/dev/ic/arn9285.c
817
ar5008_get_lg_tpow(sc, c, AR_CTL_11B, eep->calTargetPowerCck,
sys/dev/ic/arn9285.c
821
ar5008_get_lg_tpow(sc, c, AR_CTL_11G, eep->calTargetPower2G,
sys/dev/ic/arn9285.c
826
ar5008_get_ht_tpow(sc, c, AR_CTL_2GHT20, eep->calTargetPower2GHT20,
sys/dev/ic/arn9285.c
831
ar5008_get_ht_tpow(sc, c, AR_CTL_2GHT40,
sys/dev/ic/arn9287.c
159
ar9287_init_from_rom(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9287.c
263
ar9287_get_pdadcs(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9287.c
281
fbin = athn_chan2fbin(c);
sys/dev/ic/arn9287.c
307
ar9287_olpc_get_pdgain(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9287.c
322
fbin = athn_chan2fbin(c);
sys/dev/ic/arn9287.c
334
ar9287_set_power_calib(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn9287.c
381
ar9287_olpc_get_pdgain(sc, c, i, &txpower);
sys/dev/ic/arn9287.c
401
ar9287_get_pdadcs(sc, c, i, nxpdgains, overlap,
sys/dev/ic/arn9287.c
431
ar9287_set_txpower(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9287.c
447
ar9287_set_power_calib(sc, c);
sys/dev/ic/arn9287.c
465
ar5008_get_lg_tpow(sc, c, AR_CTL_11B, eep->calTargetPowerCck,
sys/dev/ic/arn9287.c
469
ar5008_get_lg_tpow(sc, c, AR_CTL_11G, eep->calTargetPower2G,
sys/dev/ic/arn9287.c
474
ar5008_get_ht_tpow(sc, c, AR_CTL_2GHT20, eep->calTargetPower2GHT20,
sys/dev/ic/arn9287.c
479
ar5008_get_ht_tpow(sc, c, AR_CTL_2GHT40,
sys/dev/ic/arn9287.c
527
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn9380.c
249
ar9380_get_paprd_masks(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9380.c
255
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn9380.c
264
ar9380_set_synth(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9380.c
267
uint32_t freq = c->ic_freq;
sys/dev/ic/arn9380.c
270
if (IEEE80211_IS_CHAN_2GHZ(c)) {
sys/dev/ic/arn9380.c
300
ar9380_init_from_rom(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9380.c
309
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn9380.c
399
if (IEEE80211_IS_CHAN_5GHZ(c) &&
sys/dev/ic/arn9380.c
401
if (c->ic_freq <= 5500) {
sys/dev/ic/arn9380.c
402
db = athn_interpolate(c->ic_freq,
sys/dev/ic/arn9380.c
407
db = athn_interpolate(c->ic_freq,
sys/dev/ic/arn9380.c
414
if (IEEE80211_IS_CHAN_5GHZ(c) &&
sys/dev/ic/arn9380.c
416
if (c->ic_freq <= 5500) {
sys/dev/ic/arn9380.c
417
margin = athn_interpolate(c->ic_freq,
sys/dev/ic/arn9380.c
422
margin = athn_interpolate(c->ic_freq,
sys/dev/ic/arn9380.c
520
ar9380_spur_mitigate_cck(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9380.c
529
spur = freqs[i] - c->ic_freq;
sys/dev/ic/arn9380.c
561
ar9380_spur_mitigate_ofdm(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9380.c
570
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn9380.c
600
freq = c->ic_freq;
sys/dev/ic/arn9380.c
617
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn9380.c
707
ar9380_spur_mitigate(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9380.c
712
ar9380_spur_mitigate_cck(sc, c, extc);
sys/dev/ic/arn9380.c
713
ar9380_spur_mitigate_ofdm(sc, c, extc);
sys/dev/ic/arn9380.c
717
ar9380_set_txpower(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9380.c
725
if (IEEE80211_IS_CHAN_2GHZ(c)) {
sys/dev/ic/arn9380.c
727
ar9003_get_lg_tpow(sc, c, AR_CTL_11B,
sys/dev/ic/arn9380.c
732
ar9003_get_lg_tpow(sc, c, AR_CTL_11G,
sys/dev/ic/arn9380.c
737
ar9003_get_ht_tpow(sc, c, AR_CTL_2GHT20,
sys/dev/ic/arn9380.c
743
ar9003_get_ht_tpow(sc, c, AR_CTL_2GHT40,
sys/dev/ic/arn9380.c
751
ar9003_get_lg_tpow(sc, c, AR_CTL_11A,
sys/dev/ic/arn9380.c
756
ar9003_get_ht_tpow(sc, c, AR_CTL_5GHT20,
sys/dev/ic/arn9380.c
762
ar9003_get_ht_tpow(sc, c, AR_CTL_5GHT40,
sys/dev/ic/arn9380.c
779
if (IEEE80211_IS_CHAN_2GHZ(c)) {
sys/dev/ic/arn9380.c
827
ar9380_set_correction(sc, c);
sys/dev/ic/arn9380.c
831
ar9380_get_correction(struct athn_softc *sc, struct ieee80211_channel *c,
sys/dev/ic/arn9380.c
840
if (IEEE80211_IS_CHAN_2GHZ(c)) {
sys/dev/ic/arn9380.c
851
fbin = athn_chan2fbin(c);
sys/dev/ic/arn9380.c
863
ar9380_set_correction(struct athn_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/arn9380.c
871
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/arn9380.c
878
ar9380_get_correction(sc, c, i, &corr, &temp);
sys/dev/ic/arn9380.c
893
if (IEEE80211_IS_CHAN_5GHZ(c) &&
sys/dev/ic/arn9380.c
895
if (c->ic_freq <= 5500) {
sys/dev/ic/arn9380.c
896
slope = athn_interpolate(c->ic_freq,
sys/dev/ic/arn9380.c
901
slope = athn_interpolate(c->ic_freq,
sys/dev/ic/ath.c
1211
struct ieee80211_channel *c;
sys/dev/ic/ath.c
1218
c = ic->ic_curchan;
sys/dev/ic/ath.c
1219
sc->sc_curchan.channel = c->ic_freq;
sys/dev/ic/ath.c
1220
sc->sc_curchan.channelFlags = ath_chan2flags(ic, c);
sys/dev/ic/ath.c
1241
ath_chan_change(sc, c);
sys/dev/ic/ath.c
4976
HAL_CHANNEL *c = &chans[i];
sys/dev/ic/ath.c
4979
ix = ath_hal_mhz2ieee(ah, c->channel, c->channelFlags);
sys/dev/ic/ath.c
4982
ix, c->channel, c->channelFlags);
sys/dev/ic/ath.c
4990
ix, c->channel, c->channelFlags);
sys/dev/ic/ath.c
4999
flags = c->channelFlags & COMPAT;
sys/dev/ic/ath.c
5000
if (c->channelFlags & CHANNEL_STURBO)
sys/dev/ic/ath.c
5003
ic->ic_channels[ix].ic_freq = c->channel;
sys/dev/ic/athn.c
1677
athn_chan2fbin(struct ieee80211_channel *c)
sys/dev/ic/athn.c
1680
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/athn.c
1681
return c->ic_freq - 2300;
sys/dev/ic/athn.c
1683
return (c->ic_freq - 4800) / 5;
sys/dev/ic/athn.c
790
athn_init_pll(struct athn_softc *sc, const struct ieee80211_channel *c)
sys/dev/ic/athn.c
801
if (c != NULL && IEEE80211_IS_CHAN_5GHZ(c)) {
sys/dev/ic/athn.c
812
if (c != NULL && IEEE80211_IS_CHAN_5GHZ(c))
sys/dev/ic/athn.c
818
if (c != NULL && IEEE80211_IS_CHAN_5GHZ(c))
sys/dev/ic/bmx280.c
734
int c = sc->sc_readattempts;
sys/dev/ic/bmx280.c
751
c--;
sys/dev/ic/bmx280.c
752
} while (c > 0 && (running & BMX280_STATUS_MEASURING_MASK));
sys/dev/ic/bwfmvar.h
91
#define BWFM_FW_ENTRY(c, r, b) \
sys/dev/ic/bwfmvar.h
92
{ .fwsel_chip = (c), \
sys/dev/ic/bwi.c
8812
bwi_set_chan(struct bwi_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/bwi.c
8822
chan = ieee80211_chan2ieee(ic, c);
sys/dev/ic/cd18xxvar.h
161
#define cd18xx_read_multi(sc, o, b, c) \
sys/dev/ic/cd18xxvar.h
162
bus_space_read_multi_1((sc)->sc_tag, (sc)->sc_handle, o, b, c)
sys/dev/ic/cd18xxvar.h
166
#define cd18xx_write_multi(sc, o, b, c) \
sys/dev/ic/cd18xxvar.h
167
bus_space_write_multi_1((sc)->sc_tag, (sc)->sc_handle, o, b, c)
sys/dev/ic/cd18xxvar.h
170
#define cd18xx_set_car(sc, c) \
sys/dev/ic/cd18xxvar.h
172
bus_space_write_1((sc)->sc_tag, (sc)->sc_handle, CD18xx_CAR, c); \
sys/dev/ic/clmpcc.c
1342
u_int c;
sys/dev/ic/clmpcc.c
1356
c = get[0];
sys/dev/ic/clmpcc.c
1357
c |= ((u_int)get[1]) << 8;
sys/dev/ic/clmpcc.c
1358
if ( (rint)(c, tp) == -1 ) {
sys/dev/ic/clmpcc.c
1503
clmpcc_common_putc(struct clmpcc_softc *sc, int chan, int c)
sys/dev/ic/clmpcc.c
1517
clmpcc_wrreg(sc, CLMPCC_REG_SCHR4, c);
sys/dev/ic/clmpcc.c
1541
clmpcccnputc(dev_t dev, int c)
sys/dev/ic/clmpcc.c
1543
if ( c == '\n' )
sys/dev/ic/clmpcc.c
1546
clmpcc_common_putc(cons_sc, cons_chan, c);
sys/dev/ic/clmpcc.c
257
int c, co, br;
sys/dev/ic/clmpcc.c
259
for (co = 0, c = 8; c <= 2048; co++, c *= 4) {
sys/dev/ic/clmpcc.c
260
br = ((sc->sc_clk / c) / speed) - 1;
sys/dev/ic/clmpccreg.h
405
#define CLMPCC_MSEC_TO_TPR(c,m) (((((c)/2048)/(1000/(m))) > 0x0a) ? \
sys/dev/ic/clmpccreg.h
406
(((c)/2048)/(1000/(m))) : 0x0a)
sys/dev/ic/com.c
2717
u_char stat, c;
sys/dev/ic/com.c
2723
c = com_readahead[0];
sys/dev/ic/com.c
2729
return (c);
sys/dev/ic/com.c
2738
c = CSR_READ_1(regsp, COM_REG_RXDATA);
sys/dev/ic/com.c
2743
cn_check_magic(dev, c, com_cnm_state);
sys/dev/ic/com.c
2746
return (c);
sys/dev/ic/com.c
2750
com_common_putc(dev_t dev, struct com_regs *regsp, int c, int with_readahead)
sys/dev/ic/com.c
2769
CSR_WRITE_1(regsp, COM_REG_TXDATA, c);
sys/dev/ic/com.c
2920
comcnputc(dev_t dev, int c)
sys/dev/ic/com.c
2923
com_common_putc(dev, &comcons_info.regs, c, cold);
sys/dev/ic/com.c
2989
com_kgdb_putc(void *arg, int c)
sys/dev/ic/com.c
2992
com_common_putc(NODEV, &comkgdbregs, c, 0);
sys/dev/ic/cs4215var.h
40
} c;
sys/dev/ic/cs89x0var.h
142
#define IO_READ_MULTI_2(sc, a, b, c) \
sys/dev/ic/cs89x0var.h
144
(sc)->sc_io_read_multi_2((sc), (a), (b), (c)); else \
sys/dev/ic/cs89x0var.h
145
bus_space_read_multi_2((sc)->sc_iot, (sc)->sc_ioh, (a), (b), (c))
sys/dev/ic/cs89x0var.h
150
#define IO_WRITE_MULTI_2(sc, a, d, c) \
sys/dev/ic/cs89x0var.h
152
(sc)->sc_io_write_multi_2((sc), (a), (d), (c)); else \
sys/dev/ic/cs89x0var.h
153
bus_space_write_multi_2((sc)->sc_iot, (sc)->sc_ioh, (a), (d), (c))
sys/dev/ic/cs89x0var.h
162
#define MEM_WRITE_REGION_2(sc, a, d, c) \
sys/dev/ic/cs89x0var.h
164
(sc)->sc_mem_write_region_2((sc), (a), (d), (c)); else \
sys/dev/ic/cs89x0var.h
165
bus_space_write_region_2((sc)->sc_memt, (sc)->sc_memh, (a), (d), (c))
sys/dev/ic/ct65550.c
596
chipsfb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/dev/ic/ct65550.c
599
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/ic/ct65550.c
615
if (__predict_false((!CHAR_IN_FONT(c, font))))
sys/dev/ic/ct65550.c
625
if (c == 0x20) {
sys/dev/ic/ct65550.c
630
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/ic/ct65550.c
634
data8 = WSFONT_GLYPH(c, font);
sys/dev/ic/ct65550.c
706
glyphcache_add(&sc->sc_gc, c, x, y);
sys/dev/ic/ct65550.c
711
chipsfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/ic/ct65550.c
714
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/ic/ct65550.c
730
if (!CHAR_IN_FONT(c, font))
sys/dev/ic/ct65550.c
736
if (c == 0x20) {
sys/dev/ic/ct65550.c
739
uc = c - font->firstchar;
sys/dev/ic/cy.c
1381
int c, co, br;
sys/dev/ic/cy.c
1386
for (c = 0, co = 8; co <= 2048; co <<= 2, c++) {
sys/dev/ic/cy.c
1390
*cor = c;
sys/dev/ic/dc21040reg.h
34
#define TULIP_BITFIELD3(a, b, c) c, b, a
sys/dev/ic/dc21040reg.h
35
#define TULIP_BITFIELD4(a, b, c, d) d, c, b, a
sys/dev/ic/dc21040reg.h
38
#define TULIP_BITFIELD3(a, b, c) a, b, c
sys/dev/ic/dc21040reg.h
39
#define TULIP_BITFIELD4(a, b, c, d) a, b, c, d
sys/dev/ic/hd44780_subr.c
129
hlcd_putchar(void *id, int row, int col, u_int c, long attr)
sys/dev/ic/hd44780_subr.c
133
c &= 0xff;
sys/dev/ic/hd44780_subr.c
135
hdscr->image[hdscr->hlcd_sc->sc_cols * row + col] = c;
sys/dev/ic/hd44780_subr.c
137
hdscr->image[col] = c;
sys/dev/ic/hd44780_subr.c
270
hlcd_updatechar(struct hd44780_chip *sc, int daddr, int c)
sys/dev/ic/hd44780_subr.c
281
hd44780_dr_write(sc, en, c);
sys/dev/ic/hd44780reg.h
82
#define cmd_dispctl(d, c, b) \
sys/dev/ic/hd44780reg.h
83
((uint8_t)(0x08 | bset(d, 0x04) | bset(c, 0x02) | bset(b, 0x01)))
sys/dev/ic/i82557reg.h
165
#define __FXP_BITFIELD3(a, b, c) a, b, c
sys/dev/ic/i82557reg.h
166
#define __FXP_BITFIELD4(a, b, c, d) a, b, c, d
sys/dev/ic/i82557reg.h
167
#define __FXP_BITFIELD5(a, b, c, d, e) a, b, c, d, e
sys/dev/ic/i82557reg.h
168
#define __FXP_BITFIELD6(a, b, c, d, e, f) a, b, c, d, e, f
sys/dev/ic/i82557reg.h
169
#define __FXP_BITFIELD7(a, b, c, d, e, f, g) a, b, c, d, e, f, g
sys/dev/ic/i82557reg.h
170
#define __FXP_BITFIELD8(a, b, c, d, e, f, g, h) a, b, c, d, e, f, g, h
sys/dev/ic/i82557reg.h
173
#define __FXP_BITFIELD3(a, b, c) c, b, a
sys/dev/ic/i82557reg.h
174
#define __FXP_BITFIELD4(a, b, c, d) d, c, b, a
sys/dev/ic/i82557reg.h
175
#define __FXP_BITFIELD5(a, b, c, d, e) e, d, c, b, a
sys/dev/ic/i82557reg.h
176
#define __FXP_BITFIELD6(a, b, c, d, e, f) f, e, d, c, b, a
sys/dev/ic/i82557reg.h
177
#define __FXP_BITFIELD7(a, b, c, d, e, f, g) g, f, e, d, c, b, a
sys/dev/ic/i82557reg.h
178
#define __FXP_BITFIELD8(a, b, c, d, e, f, g, h) h, g, f, e, d, c, b, a
sys/dev/ic/isp.c
3026
int a, b, c;
sys/dev/ic/isp.c
3029
c = (tmp.portid == 0);
sys/dev/ic/isp.c
3042
a, b, c, handle);
sys/dev/ic/isp.c
68
#define ISP_MARK_PORTDB(a, b, c) \
sys/dev/ic/isp.c
71
isp_mark_portdb(a, b, c)
sys/dev/ic/isp_netbsd.h
141
#define MEMORYBARRIER(isp, type, offset, size, c) \
sys/dev/ic/isp_netbsd.h
199
#define XS_GET_DMA64_SEG(a, b, c) \
sys/dev/ic/isp_netbsd.h
203
uint32_t f = c; \
sys/dev/ic/isp_netbsd.h
209
#define XS_GET_DMA_SEG(a, b, c) \
sys/dev/ic/isp_netbsd.h
213
uint32_t f = c; \
sys/dev/ic/ispreg.h
1020
#define ISP12160_NVRAM_TGT_RENEG(c, t, b) \
sys/dev/ic/ispreg.h
1021
ISPBSMX(c, _IxT16(t, 0, (b)), 0, 0x01)
sys/dev/ic/ispreg.h
1022
#define ISP12160_NVRAM_TGT_QFRZ(c, t, b) \
sys/dev/ic/ispreg.h
1023
ISPBSMX(c, _IxT16(t, 0, (b)), 1, 0x01)
sys/dev/ic/ispreg.h
1024
#define ISP12160_NVRAM_TGT_ARQ(c, t, b) \
sys/dev/ic/ispreg.h
1025
ISPBSMX(c, _IxT16(t, 0, (b)), 2, 0x01)
sys/dev/ic/ispreg.h
1026
#define ISP12160_NVRAM_TGT_TQING(c, t, b) \
sys/dev/ic/ispreg.h
1027
ISPBSMX(c, _IxT16(t, 0, (b)), 3, 0x01)
sys/dev/ic/ispreg.h
1028
#define ISP12160_NVRAM_TGT_SYNC(c, t, b) \
sys/dev/ic/ispreg.h
1029
ISPBSMX(c, _IxT16(t, 0, (b)), 4, 0x01)
sys/dev/ic/ispreg.h
1030
#define ISP12160_NVRAM_TGT_WIDE(c, t, b) \
sys/dev/ic/ispreg.h
1031
ISPBSMX(c, _IxT16(t, 0, (b)), 5, 0x01)
sys/dev/ic/ispreg.h
1032
#define ISP12160_NVRAM_TGT_PARITY(c, t, b) \
sys/dev/ic/ispreg.h
1033
ISPBSMX(c, _IxT16(t, 0, (b)), 6, 0x01)
sys/dev/ic/ispreg.h
1034
#define ISP12160_NVRAM_TGT_DISC(c, t, b) \
sys/dev/ic/ispreg.h
1035
ISPBSMX(c, _IxT16(t, 0, (b)), 7, 0x01)
sys/dev/ic/ispreg.h
1037
#define ISP12160_NVRAM_TGT_EXEC_THROTTLE(c, t, b) \
sys/dev/ic/ispreg.h
1038
ISPBSMX(c, _IxT16(t, 1, (b)), 0, 0xff)
sys/dev/ic/ispreg.h
1039
#define ISP12160_NVRAM_TGT_SYNC_PERIOD(c, t, b) \
sys/dev/ic/ispreg.h
1040
ISPBSMX(c, _IxT16(t, 2, (b)), 0, 0xff)
sys/dev/ic/ispreg.h
1042
#define ISP12160_NVRAM_TGT_SYNC_OFFSET(c, t, b) \
sys/dev/ic/ispreg.h
1043
ISPBSMX(c, _IxT16(t, 3, (b)), 0, 0x1f)
sys/dev/ic/ispreg.h
1044
#define ISP12160_NVRAM_TGT_DEVICE_ENABLE(c, t, b) \
sys/dev/ic/ispreg.h
1045
ISPBSMX(c, _IxT16(t, 3, (b)), 5, 0x01)
sys/dev/ic/ispreg.h
1047
#define ISP12160_NVRAM_PPR_OPTIONS(c, t, b) \
sys/dev/ic/ispreg.h
1048
ISPBSMX(c, _IxT16(t, 4, (b)), 0, 0x0f)
sys/dev/ic/ispreg.h
1049
#define ISP12160_NVRAM_PPR_WIDTH(c, t, b) \
sys/dev/ic/ispreg.h
1050
ISPBSMX(c, _IxT16(t, 4, (b)), 4, 0x03)
sys/dev/ic/ispreg.h
1051
#define ISP12160_NVRAM_PPR_ENABLE(c, t, b) \
sys/dev/ic/ispreg.h
1052
ISPBSMX(c, _IxT16(t, 4, (b)), 7, 0x01)
sys/dev/ic/ispreg.h
1066
#define ISP2100_NVRAM_RISCVER(c) (c)[6]
sys/dev/ic/ispreg.h
1067
#define ISP2100_NVRAM_OPTIONS(c) ((c)[8] | ((c)[9] << 8))
sys/dev/ic/ispreg.h
1068
#define ISP2100_NVRAM_MAXFRAMELENGTH(c) (((c)[10]) | ((c)[11] << 8))
sys/dev/ic/ispreg.h
1069
#define ISP2100_NVRAM_MAXIOCBALLOCATION(c) (((c)[12]) | ((c)[13] << 8))
sys/dev/ic/ispreg.h
1070
#define ISP2100_NVRAM_EXECUTION_THROTTLE(c) (((c)[14]) | ((c)[15] << 8))
sys/dev/ic/ispreg.h
1071
#define ISP2100_NVRAM_RETRY_COUNT(c) (c)[16]
sys/dev/ic/ispreg.h
1072
#define ISP2100_NVRAM_RETRY_DELAY(c) (c)[17]
sys/dev/ic/ispreg.h
1074
#define ISP2100_NVRAM_PORT_NAME(c) (\
sys/dev/ic/ispreg.h
1075
(((uint64_t)(c)[18]) << 56) | \
sys/dev/ic/ispreg.h
1076
(((uint64_t)(c)[19]) << 48) | \
sys/dev/ic/ispreg.h
1077
(((uint64_t)(c)[20]) << 40) | \
sys/dev/ic/ispreg.h
1078
(((uint64_t)(c)[21]) << 32) | \
sys/dev/ic/ispreg.h
1079
(((uint64_t)(c)[22]) << 24) | \
sys/dev/ic/ispreg.h
1080
(((uint64_t)(c)[23]) << 16) | \
sys/dev/ic/ispreg.h
1081
(((uint64_t)(c)[24]) << 8) | \
sys/dev/ic/ispreg.h
1082
(((uint64_t)(c)[25]) << 0))
sys/dev/ic/ispreg.h
1084
#define ISP2100_NVRAM_HARDLOOPID(c) ((c)[26] | ((c)[27] << 8))
sys/dev/ic/ispreg.h
1085
#define ISP2100_NVRAM_TOV(c) ((c)[29])
sys/dev/ic/ispreg.h
1087
#define ISP2100_NVRAM_NODE_NAME(c) (\
sys/dev/ic/ispreg.h
1088
(((uint64_t)(c)[30]) << 56) | \
sys/dev/ic/ispreg.h
1089
(((uint64_t)(c)[31]) << 48) | \
sys/dev/ic/ispreg.h
1090
(((uint64_t)(c)[32]) << 40) | \
sys/dev/ic/ispreg.h
1091
(((uint64_t)(c)[33]) << 32) | \
sys/dev/ic/ispreg.h
1092
(((uint64_t)(c)[34]) << 24) | \
sys/dev/ic/ispreg.h
1093
(((uint64_t)(c)[35]) << 16) | \
sys/dev/ic/ispreg.h
1094
(((uint64_t)(c)[36]) << 8) | \
sys/dev/ic/ispreg.h
1095
(((uint64_t)(c)[37]) << 0))
sys/dev/ic/ispreg.h
1097
#define ISP2100_XFW_OPTIONS(c) ((c)[38] | ((c)[39] << 8))
sys/dev/ic/ispreg.h
1099
#define ISP2100_RACC_TIMER(c) (c)[40]
sys/dev/ic/ispreg.h
1100
#define ISP2100_IDELAY_TIMER(c) (c)[41]
sys/dev/ic/ispreg.h
1102
#define ISP2100_ZFW_OPTIONS(c) ((c)[42] | ((c)[43] << 8))
sys/dev/ic/ispreg.h
1104
#define ISP2100_SERIAL_LINK(c) ((c)[68] | ((c)[69] << 8))
sys/dev/ic/ispreg.h
1106
#define ISP2100_NVRAM_HBA_OPTIONS(c) ((c)[70] | ((c)[71] << 8))
sys/dev/ic/ispreg.h
1107
#define ISP2100_NVRAM_HBA_DISABLE(c) ISPBSMX(c, 70, 0, 0x01)
sys/dev/ic/ispreg.h
1108
#define ISP2100_NVRAM_BIOS_DISABLE(c) ISPBSMX(c, 70, 1, 0x01)
sys/dev/ic/ispreg.h
1109
#define ISP2100_NVRAM_LUN_DISABLE(c) ISPBSMX(c, 70, 2, 0x01)
sys/dev/ic/ispreg.h
1110
#define ISP2100_NVRAM_ENABLE_SELECT_BOOT(c) ISPBSMX(c, 70, 3, 0x01)
sys/dev/ic/ispreg.h
1111
#define ISP2100_NVRAM_DISABLE_CODELOAD(c) ISPBSMX(c, 70, 4, 0x01)
sys/dev/ic/ispreg.h
1112
#define ISP2100_NVRAM_SET_CACHELINESZ(c) ISPBSMX(c, 70, 5, 0x01)
sys/dev/ic/ispreg.h
1114
#define ISP2100_NVRAM_BOOT_NODE_NAME(c) (\
sys/dev/ic/ispreg.h
1115
(((uint64_t)(c)[72]) << 56) | \
sys/dev/ic/ispreg.h
1116
(((uint64_t)(c)[73]) << 48) | \
sys/dev/ic/ispreg.h
1117
(((uint64_t)(c)[74]) << 40) | \
sys/dev/ic/ispreg.h
1118
(((uint64_t)(c)[75]) << 32) | \
sys/dev/ic/ispreg.h
1119
(((uint64_t)(c)[76]) << 24) | \
sys/dev/ic/ispreg.h
1120
(((uint64_t)(c)[77]) << 16) | \
sys/dev/ic/ispreg.h
1121
(((uint64_t)(c)[78]) << 8) | \
sys/dev/ic/ispreg.h
1122
(((uint64_t)(c)[79]) << 0))
sys/dev/ic/ispreg.h
1124
#define ISP2100_NVRAM_BOOT_LUN(c) (c)[80]
sys/dev/ic/ispreg.h
1125
#define ISP2100_RESET_DELAY(c) (c)[81]
sys/dev/ic/ispreg.h
1127
#define ISP2100_HBA_FEATURES(c) ((c)[232] | ((c)[233] << 8))
sys/dev/ic/ispreg.h
1136
#define ISP2400_NVRAM_VERSION(c) ((c)[4] | ((c)[5] << 8))
sys/dev/ic/ispreg.h
1137
#define ISP2400_NVRAM_MAXFRAMELENGTH(c) (((c)[12]) | ((c)[13] << 8))
sys/dev/ic/ispreg.h
1138
#define ISP2400_NVRAM_EXECUTION_THROTTLE(c) (((c)[14]) | ((c)[15] << 8))
sys/dev/ic/ispreg.h
1139
#define ISP2400_NVRAM_EXCHANGE_COUNT(c) (((c)[16]) | ((c)[17] << 8))
sys/dev/ic/ispreg.h
1140
#define ISP2400_NVRAM_HARDLOOPID(c) ((c)[18] | ((c)[19] << 8))
sys/dev/ic/ispreg.h
1142
#define ISP2400_NVRAM_PORT_NAME(c) (\
sys/dev/ic/ispreg.h
1143
(((uint64_t)(c)[20]) << 56) | \
sys/dev/ic/ispreg.h
1144
(((uint64_t)(c)[21]) << 48) | \
sys/dev/ic/ispreg.h
1145
(((uint64_t)(c)[22]) << 40) | \
sys/dev/ic/ispreg.h
1146
(((uint64_t)(c)[23]) << 32) | \
sys/dev/ic/ispreg.h
1147
(((uint64_t)(c)[24]) << 24) | \
sys/dev/ic/ispreg.h
1148
(((uint64_t)(c)[25]) << 16) | \
sys/dev/ic/ispreg.h
1149
(((uint64_t)(c)[26]) << 8) | \
sys/dev/ic/ispreg.h
1150
(((uint64_t)(c)[27]) << 0))
sys/dev/ic/ispreg.h
1152
#define ISP2400_NVRAM_NODE_NAME(c) (\
sys/dev/ic/ispreg.h
1153
(((uint64_t)(c)[28]) << 56) | \
sys/dev/ic/ispreg.h
1154
(((uint64_t)(c)[29]) << 48) | \
sys/dev/ic/ispreg.h
1155
(((uint64_t)(c)[30]) << 40) | \
sys/dev/ic/ispreg.h
1156
(((uint64_t)(c)[31]) << 32) | \
sys/dev/ic/ispreg.h
1157
(((uint64_t)(c)[32]) << 24) | \
sys/dev/ic/ispreg.h
1158
(((uint64_t)(c)[33]) << 16) | \
sys/dev/ic/ispreg.h
1159
(((uint64_t)(c)[34]) << 8) | \
sys/dev/ic/ispreg.h
1160
(((uint64_t)(c)[35]) << 0))
sys/dev/ic/ispreg.h
1162
#define ISP2400_NVRAM_LOGIN_RETRY_CNT(c) ((c)[36] | ((c)[37] << 8))
sys/dev/ic/ispreg.h
1163
#define ISP2400_NVRAM_LINK_DOWN_ON_NOS(c) ((c)[38] | ((c)[39] << 8))
sys/dev/ic/ispreg.h
1164
#define ISP2400_NVRAM_INTERRUPT_DELAY(c) ((c)[40] | ((c)[41] << 8))
sys/dev/ic/ispreg.h
1165
#define ISP2400_NVRAM_LOGIN_TIMEOUT(c) ((c)[42] | ((c)[43] << 8))
sys/dev/ic/ispreg.h
1167
#define ISP2400_NVRAM_FIRMWARE_OPTIONS1(c) \
sys/dev/ic/ispreg.h
1168
((c)[44] | ((c)[45] << 8) | ((c)[46] << 16) | ((c)[47] << 24))
sys/dev/ic/ispreg.h
1169
#define ISP2400_NVRAM_FIRMWARE_OPTIONS2(c) \
sys/dev/ic/ispreg.h
1170
((c)[48] | ((c)[49] << 8) | ((c)[50] << 16) | ((c)[51] << 24))
sys/dev/ic/ispreg.h
1171
#define ISP2400_NVRAM_FIRMWARE_OPTIONS3(c) \
sys/dev/ic/ispreg.h
1172
((c)[52] | ((c)[53] << 8) | ((c)[54] << 16) | ((c)[55] << 24))
sys/dev/ic/ispreg.h
809
#define ISPBSMX(c, byte, shift, mask) \
sys/dev/ic/ispreg.h
810
(((c)[(byte)] >> (shift)) & (mask))
sys/dev/ic/ispreg.h
822
#define ISP_NVRAM_VERSION(c) (c)[4]
sys/dev/ic/ispreg.h
823
#define ISP_NVRAM_FIFO_THRESHOLD(c) ISPBSMX(c, 5, 0, 0x03)
sys/dev/ic/ispreg.h
824
#define ISP_NVRAM_BIOS_DISABLE(c) ISPBSMX(c, 5, 2, 0x01)
sys/dev/ic/ispreg.h
825
#define ISP_NVRAM_HBA_ENABLE(c) ISPBSMX(c, 5, 3, 0x01)
sys/dev/ic/ispreg.h
826
#define ISP_NVRAM_INITIATOR_ID(c) ISPBSMX(c, 5, 4, 0x0f)
sys/dev/ic/ispreg.h
827
#define ISP_NVRAM_BUS_RESET_DELAY(c) (c)[6]
sys/dev/ic/ispreg.h
828
#define ISP_NVRAM_BUS_RETRY_COUNT(c) (c)[7]
sys/dev/ic/ispreg.h
829
#define ISP_NVRAM_BUS_RETRY_DELAY(c) (c)[8]
sys/dev/ic/ispreg.h
830
#define ISP_NVRAM_ASYNC_DATA_SETUP_TIME(c) ISPBSMX(c, 9, 0, 0x0f)
sys/dev/ic/ispreg.h
831
#define ISP_NVRAM_REQ_ACK_ACTIVE_NEGATION(c) ISPBSMX(c, 9, 4, 0x01)
sys/dev/ic/ispreg.h
832
#define ISP_NVRAM_DATA_LINE_ACTIVE_NEGATION(c) ISPBSMX(c, 9, 5, 0x01)
sys/dev/ic/ispreg.h
833
#define ISP_NVRAM_DATA_DMA_BURST_ENABLE(c) ISPBSMX(c, 9, 6, 0x01)
sys/dev/ic/ispreg.h
834
#define ISP_NVRAM_CMD_DMA_BURST_ENABLE(c) ISPBSMX(c, 9, 7, 0x01)
sys/dev/ic/ispreg.h
835
#define ISP_NVRAM_TAG_AGE_LIMIT(c) (c)[10]
sys/dev/ic/ispreg.h
836
#define ISP_NVRAM_LOWTRM_ENABLE(c) ISPBSMX(c, 11, 0, 0x01)
sys/dev/ic/ispreg.h
837
#define ISP_NVRAM_HITRM_ENABLE(c) ISPBSMX(c, 11, 1, 0x01)
sys/dev/ic/ispreg.h
838
#define ISP_NVRAM_PCMC_BURST_ENABLE(c) ISPBSMX(c, 11, 2, 0x01)
sys/dev/ic/ispreg.h
839
#define ISP_NVRAM_ENABLE_60_MHZ(c) ISPBSMX(c, 11, 3, 0x01)
sys/dev/ic/ispreg.h
840
#define ISP_NVRAM_SCSI_RESET_DISABLE(c) ISPBSMX(c, 11, 4, 0x01)
sys/dev/ic/ispreg.h
841
#define ISP_NVRAM_ENABLE_AUTO_TERM(c) ISPBSMX(c, 11, 5, 0x01)
sys/dev/ic/ispreg.h
842
#define ISP_NVRAM_FIFO_THRESHOLD_128(c) ISPBSMX(c, 11, 6, 0x01)
sys/dev/ic/ispreg.h
843
#define ISP_NVRAM_AUTO_TERM_SUPPORT(c) ISPBSMX(c, 11, 7, 0x01)
sys/dev/ic/ispreg.h
844
#define ISP_NVRAM_SELECTION_TIMEOUT(c) (((c)[12]) | ((c)[13] << 8))
sys/dev/ic/ispreg.h
845
#define ISP_NVRAM_MAX_QUEUE_DEPTH(c) (((c)[14]) | ((c)[15] << 8))
sys/dev/ic/ispreg.h
846
#define ISP_NVRAM_SCSI_BUS_SIZE(c) ISPBSMX(c, 16, 0, 0x01)
sys/dev/ic/ispreg.h
847
#define ISP_NVRAM_SCSI_BUS_TYPE(c) ISPBSMX(c, 16, 1, 0x01)
sys/dev/ic/ispreg.h
848
#define ISP_NVRAM_ADAPTER_CLK_SPEED(c) ISPBSMX(c, 16, 2, 0x01)
sys/dev/ic/ispreg.h
849
#define ISP_NVRAM_SOFT_TERM_SUPPORT(c) ISPBSMX(c, 16, 3, 0x01)
sys/dev/ic/ispreg.h
850
#define ISP_NVRAM_FLASH_ONBOARD(c) ISPBSMX(c, 16, 4, 0x01)
sys/dev/ic/ispreg.h
851
#define ISP_NVRAM_FAST_MTTR_ENABLE(c) ISPBSMX(c, 22, 0, 0x01)
sys/dev/ic/ispreg.h
857
#define ISP_NVRAM_TGT_RENEG(c, t) ISPBSMX(c, _IxT(t, 0), 0, 0x01)
sys/dev/ic/ispreg.h
858
#define ISP_NVRAM_TGT_QFRZ(c, t) ISPBSMX(c, _IxT(t, 0), 1, 0x01)
sys/dev/ic/ispreg.h
859
#define ISP_NVRAM_TGT_ARQ(c, t) ISPBSMX(c, _IxT(t, 0), 2, 0x01)
sys/dev/ic/ispreg.h
860
#define ISP_NVRAM_TGT_TQING(c, t) ISPBSMX(c, _IxT(t, 0), 3, 0x01)
sys/dev/ic/ispreg.h
861
#define ISP_NVRAM_TGT_SYNC(c, t) ISPBSMX(c, _IxT(t, 0), 4, 0x01)
sys/dev/ic/ispreg.h
862
#define ISP_NVRAM_TGT_WIDE(c, t) ISPBSMX(c, _IxT(t, 0), 5, 0x01)
sys/dev/ic/ispreg.h
863
#define ISP_NVRAM_TGT_PARITY(c, t) ISPBSMX(c, _IxT(t, 0), 6, 0x01)
sys/dev/ic/ispreg.h
864
#define ISP_NVRAM_TGT_DISC(c, t) ISPBSMX(c, _IxT(t, 0), 7, 0x01)
sys/dev/ic/ispreg.h
865
#define ISP_NVRAM_TGT_EXEC_THROTTLE(c, t) ISPBSMX(c, _IxT(t, 1), 0, 0xff)
sys/dev/ic/ispreg.h
866
#define ISP_NVRAM_TGT_SYNC_PERIOD(c, t) ISPBSMX(c, _IxT(t, 2), 0, 0xff)
sys/dev/ic/ispreg.h
867
#define ISP_NVRAM_TGT_SYNC_OFFSET(c, t) ISPBSMX(c, _IxT(t, 3), 0, 0x0f)
sys/dev/ic/ispreg.h
868
#define ISP_NVRAM_TGT_DEVICE_ENABLE(c, t) ISPBSMX(c, _IxT(t, 3), 4, 0x01)
sys/dev/ic/ispreg.h
869
#define ISP_NVRAM_TGT_LUN_DISABLE(c, t) ISPBSMX(c, _IxT(t, 3), 5, 0x01)
sys/dev/ic/ispreg.h
882
#define ISP1080_NVRAM_VERSION(c) ISP_NVRAM_VERSION(c)
sys/dev/ic/ispreg.h
908
#define ISP1080_NVRAM_HBA_ENABLE(c) ISPBSMX(c, 16, 3, 0x01)
sys/dev/ic/ispreg.h
910
#define ISP1080_NVRAM_BURST_ENABLE(c) ISPBSMX(c, 16, 1, 0x01)
sys/dev/ic/ispreg.h
911
#define ISP1080_NVRAM_FIFO_THRESHOLD(c) ISPBSMX(c, 16, 4, 0x0f)
sys/dev/ic/ispreg.h
913
#define ISP1080_NVRAM_AUTO_TERM_SUPPORT(c) ISPBSMX(c, 17, 7, 0x01)
sys/dev/ic/ispreg.h
914
#define ISP1080_NVRAM_BUS0_TERM_MODE(c) ISPBSMX(c, 17, 0, 0x03)
sys/dev/ic/ispreg.h
915
#define ISP1080_NVRAM_BUS1_TERM_MODE(c) ISPBSMX(c, 17, 2, 0x03)
sys/dev/ic/ispreg.h
917
#define ISP1080_ISP_PARAMETER(c) \
sys/dev/ic/ispreg.h
918
(((c)[18]) | ((c)[19] << 8))
sys/dev/ic/ispreg.h
920
#define ISP1080_FAST_POST(c) ISPBSMX(c, 20, 0, 0x01)
sys/dev/ic/ispreg.h
921
#define ISP1080_REPORT_LVD_TRANSITION(c) ISPBSMX(c, 20, 1, 0x01)
sys/dev/ic/ispreg.h
925
#define ISP1080_NVRAM_INITIATOR_ID(c, b) \
sys/dev/ic/ispreg.h
926
ISPBSMX(c, ((b == 0)? 0 : ISP1080_BUS1_OFF) + 24, 0, 0x0f)
sys/dev/ic/ispreg.h
927
#define ISP1080_NVRAM_BUS_RESET_DELAY(c, b) \
sys/dev/ic/ispreg.h
928
(c)[((b == 0)? 0 : ISP1080_BUS1_OFF) + 25]
sys/dev/ic/ispreg.h
929
#define ISP1080_NVRAM_BUS_RETRY_COUNT(c, b) \
sys/dev/ic/ispreg.h
930
(c)[((b == 0)? 0 : ISP1080_BUS1_OFF) + 26]
sys/dev/ic/ispreg.h
931
#define ISP1080_NVRAM_BUS_RETRY_DELAY(c, b) \
sys/dev/ic/ispreg.h
932
(c)[((b == 0)? 0 : ISP1080_BUS1_OFF) + 27]
sys/dev/ic/ispreg.h
934
#define ISP1080_NVRAM_ASYNC_DATA_SETUP_TIME(c, b) \
sys/dev/ic/ispreg.h
935
ISPBSMX(c, ((b == 0)? 0 : ISP1080_BUS1_OFF) + 28, 0, 0x0f)
sys/dev/ic/ispreg.h
936
#define ISP1080_NVRAM_REQ_ACK_ACTIVE_NEGATION(c, b) \
sys/dev/ic/ispreg.h
937
ISPBSMX(c, ((b == 0)? 0 : ISP1080_BUS1_OFF) + 28, 4, 0x01)
sys/dev/ic/ispreg.h
938
#define ISP1080_NVRAM_DATA_LINE_ACTIVE_NEGATION(c, b) \
sys/dev/ic/ispreg.h
939
ISPBSMX(c, ((b == 0)? 0 : ISP1080_BUS1_OFF) + 28, 5, 0x01)
sys/dev/ic/ispreg.h
940
#define ISP1080_NVRAM_SELECTION_TIMEOUT(c, b) \
sys/dev/ic/ispreg.h
941
(((c)[((b == 0)? 0 : ISP1080_BUS1_OFF) + 30]) | \
sys/dev/ic/ispreg.h
942
((c)[((b == 0)? 0 : ISP1080_BUS1_OFF) + 31] << 8))
sys/dev/ic/ispreg.h
943
#define ISP1080_NVRAM_MAX_QUEUE_DEPTH(c, b) \
sys/dev/ic/ispreg.h
944
(((c)[((b == 0)? 0 : ISP1080_BUS1_OFF) + 32]) | \
sys/dev/ic/ispreg.h
945
((c)[((b == 0)? 0 : ISP1080_BUS1_OFF) + 33] << 8))
sys/dev/ic/ispreg.h
953
#define ISP1080_NVRAM_TGT_RENEG(c, t, b) \
sys/dev/ic/ispreg.h
954
ISPBSMX(c, _IxT8(t, 0, (b)), 0, 0x01)
sys/dev/ic/ispreg.h
955
#define ISP1080_NVRAM_TGT_QFRZ(c, t, b) \
sys/dev/ic/ispreg.h
956
ISPBSMX(c, _IxT8(t, 0, (b)), 1, 0x01)
sys/dev/ic/ispreg.h
957
#define ISP1080_NVRAM_TGT_ARQ(c, t, b) \
sys/dev/ic/ispreg.h
958
ISPBSMX(c, _IxT8(t, 0, (b)), 2, 0x01)
sys/dev/ic/ispreg.h
959
#define ISP1080_NVRAM_TGT_TQING(c, t, b) \
sys/dev/ic/ispreg.h
960
ISPBSMX(c, _IxT8(t, 0, (b)), 3, 0x01)
sys/dev/ic/ispreg.h
961
#define ISP1080_NVRAM_TGT_SYNC(c, t, b) \
sys/dev/ic/ispreg.h
962
ISPBSMX(c, _IxT8(t, 0, (b)), 4, 0x01)
sys/dev/ic/ispreg.h
963
#define ISP1080_NVRAM_TGT_WIDE(c, t, b) \
sys/dev/ic/ispreg.h
964
ISPBSMX(c, _IxT8(t, 0, (b)), 5, 0x01)
sys/dev/ic/ispreg.h
965
#define ISP1080_NVRAM_TGT_PARITY(c, t, b) \
sys/dev/ic/ispreg.h
966
ISPBSMX(c, _IxT8(t, 0, (b)), 6, 0x01)
sys/dev/ic/ispreg.h
967
#define ISP1080_NVRAM_TGT_DISC(c, t, b) \
sys/dev/ic/ispreg.h
968
ISPBSMX(c, _IxT8(t, 0, (b)), 7, 0x01)
sys/dev/ic/ispreg.h
969
#define ISP1080_NVRAM_TGT_EXEC_THROTTLE(c, t, b) \
sys/dev/ic/ispreg.h
970
ISPBSMX(c, _IxT8(t, 1, (b)), 0, 0xff)
sys/dev/ic/ispreg.h
971
#define ISP1080_NVRAM_TGT_SYNC_PERIOD(c, t, b) \
sys/dev/ic/ispreg.h
972
ISPBSMX(c, _IxT8(t, 2, (b)), 0, 0xff)
sys/dev/ic/ispreg.h
973
#define ISP1080_NVRAM_TGT_SYNC_OFFSET(c, t, b) \
sys/dev/ic/ispreg.h
974
ISPBSMX(c, _IxT8(t, 3, (b)), 0, 0x0f)
sys/dev/ic/ispreg.h
975
#define ISP1080_NVRAM_TGT_DEVICE_ENABLE(c, t, b) \
sys/dev/ic/ispreg.h
976
ISPBSMX(c, _IxT8(t, 3, (b)), 4, 0x01)
sys/dev/ic/ispreg.h
977
#define ISP1080_NVRAM_TGT_LUN_DISABLE(c, t, b) \
sys/dev/ic/ispreg.h
978
ISPBSMX(c, _IxT8(t, 3, (b)), 5, 0x01)
sys/dev/ic/ispvar.h
352
#define ISP_VALID_INI_HANDLE(c, hdl) \
sys/dev/ic/ispvar.h
353
(ISP_H2HT(hdl) == ISP_HANDLE_INITIATOR && (hdl & ISP_HANDLE_CMD_MASK) < (c)->isp_maxcmds && \
sys/dev/ic/ispvar.h
354
ISP_H2SEQ(hdl) == ISP_H2SEQ((c)->isp_xflist[hdl & ISP_HANDLE_CMD_MASK].handle))
sys/dev/ic/ispvar.h
356
#define ISP_VALID_TGT_HANDLE(c, hdl) \
sys/dev/ic/ispvar.h
357
(ISP_H2HT(hdl) == ISP_HANDLE_TARGET && (hdl & ISP_HANDLE_CMD_MASK) < (c)->isp_maxcmds && \
sys/dev/ic/ispvar.h
358
ISP_H2SEQ(hdl) == ISP_H2SEQ((c)->isp_tgtlist[hdl & ISP_HANDLE_CMD_MASK].handle))
sys/dev/ic/ispvar.h
359
#define ISP_VALID_HANDLE(c, hdl) \
sys/dev/ic/ispvar.h
360
(ISP_VALID_INI_HANDLE((c), hdl) || ISP_VALID_TGT_HANDLE((c), hdl))
sys/dev/ic/joy.c
194
struct joystick c;
sys/dev/ic/joy.c
220
c.x = x ? sc->x_off[JOYPART(dev)] + x : 0x80000000;
sys/dev/ic/joy.c
221
c.y = y ? sc->y_off[JOYPART(dev)] + y : 0x80000000;
sys/dev/ic/joy.c
223
c.b1 = ~state & 1;
sys/dev/ic/joy.c
224
c.b2 = ~(state >> 1) & 1;
sys/dev/ic/joy.c
225
return uiomove(&c, sizeof(struct joystick), uio);
sys/dev/ic/lcdkp_subr.c
119
u_int8_t c;
sys/dev/ic/lcdkp_subr.c
121
c = lcdkp_dr_read(sc);
sys/dev/ic/lcdkp_subr.c
123
if (sc->sc_kpad[i].x_keycode == c) {
sys/dev/ic/msm6258.c
73
short dl, c;
sys/dev/ic/msm6258.c
79
c = (df / 16) * 8 / dl;
sys/dev/ic/msm6258.c
81
b = (unsigned char)(-c) / 2;
sys/dev/ic/msm6258.c
84
b = (unsigned char)(c) / 2;
sys/dev/ic/ninjascsi32.c
1201
struct njsc32_cmd *c;
sys/dev/ic/ninjascsi32.c
1208
TAILQ_FOREACH(c, &sc->sc_freecmd, c_q) {
sys/dev/ic/ninjascsi32.c
1209
if (cmd == c)
sys/dev/ic/nvme.c
1386
struct nvme_cqe c;
sys/dev/ic/nvme.c
1411
while (!ISSET(state.c.flags, htole16(NVME_CQE_PHASE))) {
sys/dev/ic/nvme.c
1422
flags = lemtoh16(&state.c.flags);
sys/dev/ic/nvme.c
1456
state->c = *cqe;
sys/dev/ic/nvme.c
1457
SET(state->c.flags, htole16(NVME_CQE_PHASE));
sys/dev/ic/nvme.c
1460
state->done(q, ccb, &state->c);
sys/dev/ic/osiop.c
162
#define OSIOP_TRACE(a,b,c,d) do { \
sys/dev/ic/osiop.c
165
osiop_trbuf[osiop_trix + 2] = (c); \
sys/dev/ic/osiop.c
174
#define OSIOP_TRACE(a,b,c,d)
sys/dev/ic/pcdisplay_subr.c
156
pcdisplay_putchar(void *id, int row, int col, unsigned int c, long attr)
sys/dev/ic/pcdisplay_subr.c
171
c | (attr << 8));
sys/dev/ic/pcdisplay_subr.c
173
scr->mem[off] = c | (attr << 8);
sys/dev/ic/pckbc.c
132
u_char stat, c;
sys/dev/ic/pckbc.c
140
c = q->poll_data;
sys/dev/ic/pckbc.c
149
c = bus_space_read_1(t->t_iot, t->t_ioh_d, 0);
sys/dev/ic/pckbc.c
155
printf("pckbc: lost aux 0x%x\n", c);
sys/dev/ic/pckbc.c
162
printf("pckbc: lost kbd 0x%x\n", c);
sys/dev/ic/pckbc.c
168
return (c);
sys/dev/ic/rt2560.c
2326
rt2560_set_chan(struct rt2560_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/rt2560.c
2332
chan = ieee80211_chan2ieee(ic, c);
sys/dev/ic/rt2560.c
2336
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/rt2661.c
2170
rt2661_select_band(struct rt2661_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/rt2661.c
2178
if (IEEE80211_IS_CHAN_5GHZ(c)) {
sys/dev/ic/rt2661.c
2182
if ((IEEE80211_IS_CHAN_2GHZ(c) && sc->ext_2ghz_lna) ||
sys/dev/ic/rt2661.c
2183
(IEEE80211_IS_CHAN_5GHZ(c) && sc->ext_5ghz_lna)) {
sys/dev/ic/rt2661.c
2192
if ((IEEE80211_IS_CHAN_2GHZ(c) && sc->ext_2ghz_lna) ||
sys/dev/ic/rt2661.c
2193
(IEEE80211_IS_CHAN_5GHZ(c) && sc->ext_5ghz_lna)) {
sys/dev/ic/rt2661.c
2205
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/ic/rt2661.c
2212
sc->sifs = IEEE80211_IS_CHAN_5GHZ(c) ? 16 : 10;
sys/dev/ic/rt2661.c
2216
rt2661_set_chan(struct rt2661_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/rt2661.c
2224
chan = ieee80211_chan2ieee(ic, c);
sys/dev/ic/rt2661.c
2248
if (sc->sc_curchan == NULL || c->ic_flags != sc->sc_curchan->ic_flags) {
sys/dev/ic/rt2661.c
2249
rt2661_select_band(sc, c);
sys/dev/ic/rt2661.c
2252
sc->sc_curchan = c;
sys/dev/ic/rt2661.c
2286
if (IEEE80211_IS_CHAN_5GHZ(c))
sys/dev/ic/rt2860.c
3243
struct ieee80211_channel *c = ic->ic_curchan;
sys/dev/ic/rt2860.c
3246
if (IEEE80211_IS_CHAN_5GHZ(c)) {
sys/dev/ic/rt2860.c
3247
u_int chan = ieee80211_chan2ieee(ic, c);
sys/dev/ic/rt2860.c
4187
rt2860_switch_chan(struct rt2860_softc *sc, struct ieee80211_channel *c)
sys/dev/ic/rt2860.c
4192
chan = ieee80211_chan2ieee(ic, c);
sys/dev/ic/sc16is7xx.c
591
int c = 3;
sys/dev/ic/sc16is7xx.c
594
c = -1;
sys/dev/ic/sc16is7xx.c
607
if (i > c)
sys/dev/ic/scmd.c
145
int c = 0;
sys/dev/ic/scmd.c
162
c++;
sys/dev/ic/scmd.c
163
} while (c <= 20 && buf != 0x00);
sys/dev/ic/scmd.c
342
int c;
sys/dev/ic/scmd.c
361
c = 0;
sys/dev/ic/scmd.c
365
c++;
sys/dev/ic/scmd.c
366
} while ((c < 10) && (b != 0x00) && (!err));
sys/dev/ic/scmd.c
452
int c;
sys/dev/ic/scmd.c
470
c = 0;
sys/dev/ic/scmd.c
474
c++;
sys/dev/ic/scmd.c
475
} while ((c < 10) && (b != 0x00) && (!err));
sys/dev/ic/siisata.c
127
bus_size_t o, uint32_t *p, bus_size_t c)
sys/dev/ic/siisata.c
129
bus_space_read_region_4(t, h, o, p, c);
sys/dev/ic/siisata.c
130
for (bus_size_t i = 0; i < c; i++) {
sys/dev/ic/sl811hs.c
1582
#define BSB(a, b, c, d, e) bus_space_barrier(a, b, c, d, BUS_SPACE_BARRIER_ # e)
sys/dev/ic/sl811hs.c
1583
#define BSB_SYNC(a, b, c, d) bus_space_barrier(a, b, c, d, BUS_SPACE_BARRIER_READ|BUS_SPACE_BARRIER_WRITE)
sys/dev/ic/sl811hs.c
1585
#define BSB(a, b, c, d, e) __USE(d)
sys/dev/ic/sl811hs.c
1586
#define BSB_SYNC(a, b, c, d)
sys/dev/ic/sl811hs.c
2886
char c;
sys/dev/ic/sl811hs.c
2895
while ((c = *ptr++) != '\0')
sys/dev/ic/sl811hs.c
2896
switch (tolower((int)c)) {
sys/dev/ic/sl811hs.c
2929
db = (c - '0') ? ~dbs[i] : dbs[i];
sys/dev/ic/sl811hs.c
573
#define DDOLOG(f, a, b, c, d) do { KERNHIST_LOG(usbhist, f, a, b, c, d); \
sys/dev/ic/sl811hs.c
575
#define DLOG(x, f, a, b, c, d) SLHCI_DEXEC(x, DDOLOG(f, a, b, c, d))
sys/dev/ic/sl811hs.c
669
#define DDOLOG(f, a, b, c, d) ((void)0)
sys/dev/ic/sl811hs.c
670
#define DLOG(x, f, a, b, c, d) ((void)0)
sys/dev/ic/spdmemvar.h
37
#define SPD_BITFIELD(a, b, c, d) d; c; b; a
sys/dev/ic/spdmemvar.h
39
#define SPD_BITFIELD(a, b, c, d) a; b; c; d
sys/dev/ic/ssdfb.c
1493
int c;
sys/dev/ic/ssdfb.c
1503
c = wsfont_find(NULL, d[i][0], d[i][1], 0,
sys/dev/ic/ssdfb.c
1506
if (c > 0)
sys/dev/ic/ssdfb.c
1509
if (c <= 0)
sys/dev/ic/ssdfb.c
1511
error = wsfont_lock(c, &f);
sys/dev/ic/ssdfb.c
1514
*cookiep = c;
sys/dev/ic/ssdfb.c
262
#define SSDFB_CMD1(c) do { cmd[0] = (c); error = sc->sc_cmd(sc->sc_cookie, cmd, 1, usepoll); } while(0)
sys/dev/ic/ssdfb.c
263
#define SSDFB_CMD2(c, a) do { cmd[0] = (c); cmd[1] = (a); error = sc->sc_cmd(sc->sc_cookie, cmd, 2, usepoll); } while(0)
sys/dev/ic/ssdfb.c
264
#define SSDFB_CMD3(c, a, b) do { cmd[0] = (c); cmd[1] = (a); cmd[2] = (b); error = sc->sc_cmd(sc->sc_cookie, cmd, 3, usepoll); } while(0)
sys/dev/ic/ssdfb.c
637
ssdfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/ic/ssdfb.c
642
sc->sc_orig_riops.putchar(cookie, row, col, c, attr);
sys/dev/ic/sti.c
1335
int c;
sys/dev/ic/sti.c
1340
c = -1;
sys/dev/ic/sti.c
1342
c = (int)sti_unitoroman[uni - 0xa0];
sys/dev/ic/sti.c
1343
if (c == 0)
sys/dev/ic/sti.c
1344
c = -1;
sys/dev/ic/sti.c
1346
c = uni;
sys/dev/ic/sti.c
1349
c = uni;
sys/dev/ic/sti.c
1353
if (c == -1 || c < fp->first || c > fp->last) {
sys/dev/ic/sti.c
1358
*index = c;
sys/dev/ic/tulip.c
5512
#define ADD(m, c) ifmedia_add(&mii->mii_media, (m), (c), NULL)
sys/dev/ic/vga.c
1499
vga_putchar(void *c, int row, int col, u_int uc, long attr)
sys/dev/ic/vga.c
1502
pcdisplay_putchar(c, row, col, uc, attr);
sys/dev/ic/vga_raster.c
1125
vga_raster_putchar(void *id, int row, int col, u_int c, long attr)
sys/dev/ic/vga_raster.c
1139
(c >= fs->font->firstchar) &&
sys/dev/ic/vga_raster.c
1140
(c < fs->font->firstchar + fs->font->numchars) &&
sys/dev/ic/vga_raster.c
1143
tmp_ch = c - fs->font->firstchar;
sys/dev/ic/vga_raster.c
1148
scr->mem[off].ch = c;
sys/dev/ic/vga_raster.c
1154
scr->mem[off + 1].ch = c;
sys/dev/ic/vga_raster.c
1174
scr->mem[off].ch = c;
sys/dev/ic/vga_raster.c
1181
_vga_raster_putchar(void *id, int row, int col, u_int c, long attr,
sys/dev/ic/vga_raster.c
1217
pattern = ((u_int8_t *)fs->font->data)[c * fheight + i];
sys/dev/ic/vga_raster.c
1239
[(c * fheight + i) * 2];
sys/dev/ic/vga_raster.c
1245
[(c * fheight + i) * 2 + 1];
sys/dev/ic/z8530tty.c
1353
uint8_t rr0, rr1, c;
sys/dev/ic/z8530tty.c
1365
c = zs_read_data(cs);
sys/dev/ic/z8530tty.c
1372
cn_check_magic(zst->zst_tty->t_dev, c, zstty_cnm_state);
sys/dev/ic/z8530tty.c
1373
put[0] = c;
sys/dev/ieee1394/firewire.h
136
#define COMMON_HDR(a,b,c,d) uint32_t a:16,b:8,c:4,d:4
sys/dev/ieee1394/firewire.h
137
#define COMMON_RES(a,b,c,d) uint32_t a:16,b:4,c:4,d:8
sys/dev/ieee1394/firewire.h
139
#define COMMON_HDR(a,b,c,d) uint32_t d:4,c:4,b:8,a:16
sys/dev/ieee1394/firewire.h
140
#define COMMON_RES(a,b,c,d) uint32_t d:8,c:4,b:4,a:16
sys/dev/ieee1394/fwcrom.c
147
struct crom_context c, *cc;
sys/dev/ieee1394/fwcrom.c
150
cc = &c;
sys/dev/ieee1394/fwphyreg.h
59
c:1,
sys/dev/ieee1394/fwphyreg.h
91
c:1,
sys/dev/ieee1394/sbp.c
867
struct crom_context c, *cc = &c;
sys/dev/ipmi.c
1326
int64_t a,b,c,d;
sys/dev/ipmi.c
1341
c = FIX2INT(y);
sys/dev/ipmi.c
1342
d = y - INT2FIX(c);
sys/dev/ipmi.c
1344
z = INT2FIX(a*c) + a * d + b * c + (b/2 * d/2 >> 30);
sys/dev/ipmi.c
1817
int typ, idx, dupcnt, c;
sys/dev/ipmi.c
1869
c = psensor->i_envdesc +
sys/dev/ipmi.c
1873
snprintf(e, c, "%d", dupcnt);
sys/dev/ir/irframe_tty.c
500
irframetinput(int c, struct tty *tp)
sys/dev/ir/irframe_tty.c
504
c &= 0xff;
sys/dev/ir/irframe_tty.c
508
DPRINTF(("%s: tp=%p c=0x%02x\n", __func__, tp, c));
sys/dev/ir/irframe_tty.c
517
switch (c) {
sys/dev/ir/irframe_tty.c
546
DPRINTF(("%s: c=0x%02x, inchar=%d state=%d\n", __func__, c,
sys/dev/ir/irframe_tty.c
552
c ^= SIR_ESC_BIT;
sys/dev/ir/irframe_tty.c
555
sc->sc_inbuf[sc->sc_inchars++] = c;
sys/dev/ir/irframe_tty.c
556
sc->sc_inFCS = updateFCS(sc->sc_inFCS, c);
sys/dev/ir/irframe_tty.c
676
irt_putc(struct tty *tp, int c)
sys/dev/ir/irframe_tty.c
682
DPRINTF(("%s: tp=%p c=0x%02x cc=%d\n", __func__, tp, c,
sys/dev/ir/irframe_tty.c
702
if (putc(c, &tp->t_outq) < 0) {
sys/dev/ir/sir.c
105
int c;
sys/dev/ir/sir.c
126
c = *cp++;
sys/dev/ir/sir.c
127
ofcs = updateFCS(ofcs, c);
sys/dev/ir/sir.c
128
PUTESC(c);
sys/dev/ir/sir.c
133
c = ofcs & 0xff;
sys/dev/ir/sir.c
134
PUTESC(c);
sys/dev/ir/sir.c
135
c = (ofcs >> 8) & 0xff;
sys/dev/ir/sir.c
136
PUTESC(c);
sys/dev/ir/sir.c
86
#define PUTC(c) if (p < end) *p++ = (c)
sys/dev/ir/sir.c
87
#define PUTESC(c) \
sys/dev/ir/sir.c
88
if (c == SIR_BOF || c == SIR_EOF || c == SIR_CE) { \
sys/dev/ir/sir.c
90
PUTC(SIR_ESC_BIT^c); \
sys/dev/ir/sir.c
92
PUTC(c); \
sys/dev/ir/sir.h
87
static __inline u_int16_t updateFCS(u_int16_t fcs, int c) {
sys/dev/ir/sir.h
88
return (fcs >> 8) ^ irda_fcstab[(fcs^c) & 0xff];
sys/dev/isa/elink.c
109
u_char c;
sys/dev/isa/elink.c
111
c = 0xff;
sys/dev/isa/elink.c
113
bus_space_write_1(iot, ioh, 0, c);
sys/dev/isa/elink.c
114
if (c & 0x80) {
sys/dev/isa/elink.c
115
c <<= 1;
sys/dev/isa/elink.c
116
c ^= p;
sys/dev/isa/elink.c
118
c <<= 1;
sys/dev/isa/fd.c
1650
int c;
sys/dev/isa/fd.c
1655
c = cngetc();
sys/dev/isa/fd.c
1656
if ((c == '\r') || (c == '\n')) {
sys/dev/isa/gus.c
2021
unsigned char c;
sys/dev/isa/gus.c
2028
c = (unsigned char) flags;
sys/dev/isa/gus.c
2040
c |= GUSMASK_DMA_WIDTH;
sys/dev/isa/gus.c
2048
c |= GUSMASK_DMA_ENABLE | GUSMASK_DMA_R0 | GUSMASK_DMA_IRQ;
sys/dev/isa/gus.c
2080
bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, c);
sys/dev/isa/gus.c
817
unsigned char c, m;
sys/dev/isa/gus.c
868
c = bus_space_read_1(iot, ioh3, GUS_BOARD_REV);
sys/dev/isa/gus.c
869
if (c != 0xff)
sys/dev/isa/gus.c
870
sc->sc_revision = c;
sys/dev/isa/gus.c
888
c = ((unsigned char) gus_irq_map[ia->ia_irq[0].ir_irq]) |
sys/dev/isa/gus.c
922
bus_space_write_1(iot, ioh1, GUS_IRQ_CONTROL, c);
sys/dev/isa/gus.c
928
bus_space_write_1(iot, ioh1, GUS_IRQ_CONTROL, c);
sys/dev/isa/if_iy.c
182
uint8_t c, d;
sys/dev/isa/if_iy.c
203
c = bus_space_read_1(iot, ioh, ID_REG);
sys/dev/isa/if_iy.c
204
if ((c & ID_REG_MASK) != ID_REG_SIG)
sys/dev/isa/if_iy.c
211
if (((d-c) & R_ROBIN_BITS) != 0x40)
sys/dev/isa/if_iy.c
218
if (((d-c) & R_ROBIN_BITS) != 0x80)
sys/dev/isa/if_iy.c
225
if (((d-c) & R_ROBIN_BITS) != 0xC0)
sys/dev/isa/if_iy.c
232
if (((d-c) & R_ROBIN_BITS) != 0x00)
sys/dev/isa/isadmareg.h
56
#define DMA1_CHN(c) (1*(2*(c))) /* addr reg for channel c */
sys/dev/isa/isadmareg.h
68
#define DMA2_CHN(c) (2*(2*(c))) /* addr reg for channel c */
sys/dev/isa/isadmavar.h
134
#define _isa_malloc(dma_state, c, s, p, f) \
sys/dev/isa/isadmavar.h
135
_isa_malloc(dma_state, c, s, f)
sys/dev/isa/seagate.c
1027
} while (--c);
sys/dev/isa/seagate.c
1029
*count = c;
sys/dev/isa/seagate.c
1037
if (c && (*phase != p))
sys/dev/isa/seagate.c
970
int c = *count;
sys/dev/isa/wds.c
225
u_char c;
sys/dev/isa/wds.c
232
c = bus_space_read_1(iot, ioh, WDS_STAT);
sys/dev/isa/wds.c
233
if (c & WDSS_REJ)
sys/dev/isa/wds.c
473
u_char c;
sys/dev/isa/wds.c
480
c = bus_space_read_1(iot, ioh, WDS_IRQSTAT) & WDSI_MASK;
sys/dev/isa/wds.c
485
switch (c) {
sys/dev/isa/wds.c
496
"unrecognized interrupt type %02x", c);
sys/dev/isa/wds.c
719
u_char c;
sys/dev/isa/wds.c
727
c = WDSC_IRQMFREE;
sys/dev/isa/wds.c
728
wds_cmd(iot, ioh, &c, sizeof c);
sys/dev/isa/wds.c
745
c = WDSC_MSTART(wmbo - wmbx->mbo);
sys/dev/isa/wds.c
746
wds_cmd(sc->sc_iot, sc->sc_ioh, &c, sizeof c);
sys/dev/isa/wds.c
932
u_char c;
sys/dev/isa/wds.c
988
c = WDSC_DISUNSOL;
sys/dev/isa/wds.c
989
wds_cmd(iot, ioh, &c, sizeof c);
sys/dev/isapnp/isapnp.c
399
struct isapnp_attach_args *c, *best, *f = *ipa;
sys/dev/isapnp/isapnp.c
409
for (best = c = f; c != NULL; c = c->ipa_sibling) {
sys/dev/isapnp/isapnp.c
410
if (!SAMEDEV(c, f))
sys/dev/isapnp/isapnp.c
412
if (c->ipa_pref < best->ipa_pref)
sys/dev/isapnp/isapnp.c
413
best = c;
sys/dev/isapnp/isapnp.c
429
for (c = f; c->ipa_sibling != best; c = c->ipa_sibling)
sys/dev/isapnp/isapnp.c
431
c->ipa_sibling = best->ipa_sibling;
sys/dev/isapnp/isapnp.c
437
for (c = f; c != NULL; c = c->ipa_sibling)
sys/dev/isapnp/isapnp.c
438
if (c != best && SAMEDEV(c, best))
sys/dev/isapnp/isapnp.c
441
if (c == NULL) {
sys/dev/isapnp/isapnp.c
453
for (c = f; c; ) {
sys/dev/isapnp/isapnp.c
454
if (c == best)
sys/dev/isapnp/isapnp.c
456
d = c->ipa_sibling;
sys/dev/isapnp/isapnp.c
457
if (SAMEDEV(c, best))
sys/dev/isapnp/isapnp.c
458
ISAPNP_FREE(c);
sys/dev/isapnp/isapnp.c
461
n->ipa_sibling = c;
sys/dev/isapnp/isapnp.c
464
l = c;
sys/dev/isapnp/isapnp.c
465
n = c;
sys/dev/isapnp/isapnp.c
466
c->ipa_sibling = NULL;
sys/dev/isapnp/isapnp.c
468
c = d;
sys/dev/isapnp/isapnp.c
937
int c, d;
sys/dev/isapnp/isapnp.c
953
for (c = 0; c < sc->sc_ncards; c++) {
sys/dev/isapnp/isapnp.c
955
isapnp_write_reg(sc, ISAPNP_WAKE, c + 1);
sys/dev/isapnp/isapnp.c
957
if ((ipa = isapnp_get_resource(sc, c)) == NULL)
sys/dev/isapnp/isapnpres.c
148
isapnp_merge(struct isapnp_attach_args *c, const struct isapnp_attach_args *d)
sys/dev/isapnp/isapnpres.c
153
c->ipa_io[c->ipa_nio++] = d->ipa_io[i];
sys/dev/isapnp/isapnpres.c
156
c->ipa_mem[c->ipa_nmem++] = d->ipa_mem[i];
sys/dev/isapnp/isapnpres.c
159
c->ipa_mem32[c->ipa_nmem32++] = d->ipa_mem32[i];
sys/dev/isapnp/isapnpres.c
162
c->ipa_irq[c->ipa_nirq++] = d->ipa_irq[i];
sys/dev/isapnp/isapnpres.c
165
c->ipa_drq[c->ipa_ndrq++] = d->ipa_drq[i];
sys/dev/isapnp/isapnpres.c
175
struct isapnp_attach_args *dev, *conf, *d, *c, *pa;
sys/dev/isapnp/isapnpres.c
180
for (conf = c = NULL, d = dev; d; d = dev) {
sys/dev/isapnp/isapnpres.c
202
if (c == NULL)
sys/dev/isapnp/isapnpres.c
203
c = conf = pa;
sys/dev/isapnp/isapnpres.c
205
c->ipa_sibling = pa;
sys/dev/isapnp/isapnpres.c
207
while (c->ipa_sibling)
sys/dev/isapnp/isapnpres.c
208
c = c->ipa_sibling;
sys/dev/isapnp/isapnpres.c
440
isapnp_get_resource(struct isapnp_softc *sc, int c)
sys/dev/isapnp/isapnpres.c
462
if (d != sc->sc_id[c][i] && i != ISAPNP_SERIAL_SIZE - 1) {
sys/dev/isapnp/isapnpres.c
466
c + 1, i);
sys/dev/isapnp/isapnpres.c
505
c + 1);
sys/dev/isapnp/isapnpres.c
515
c + 1);
sys/dev/isapnp/isapnpres.c
530
warned >= 10 ? "Too many tag errors" : "Resource timeout", c + 1);
sys/dev/iscsi/base64.c
101
c = q[i++];
sys/dev/iscsi/base64.c
102
c *= 256;
sys/dev/iscsi/base64.c
104
c += q[i];
sys/dev/iscsi/base64.c
107
c *= 256;
sys/dev/iscsi/base64.c
109
c += q[i];
sys/dev/iscsi/base64.c
112
p[0] = base64_chars[(c & 0x00fc0000) >> 18];
sys/dev/iscsi/base64.c
113
p[1] = base64_chars[(c & 0x0003f000) >> 12];
sys/dev/iscsi/base64.c
114
p[2] = base64_chars[(c & 0x00000fc0) >> 6];
sys/dev/iscsi/base64.c
115
p[3] = base64_chars[(c & 0x0000003f) >> 0];
sys/dev/iscsi/base64.c
75
pos(char c)
sys/dev/iscsi/base64.c
80
if (*p == c) {
sys/dev/iscsi/base64.c
92
int c;
sys/dev/iscsi/iscsi_text.c
250
hexdig(uint8_t c)
sys/dev/iscsi/iscsi_text.c
253
if (!c) {
sys/dev/iscsi/iscsi_text.c
256
if (isdigit(c)) {
sys/dev/iscsi/iscsi_text.c
257
return c - '0';
sys/dev/iscsi/iscsi_text.c
259
c = toupper(c);
sys/dev/iscsi/iscsi_text.c
260
if (c >= 'A' && c <= 'F') {
sys/dev/iscsi/iscsi_text.c
261
return c - 'A' + 10;
sys/dev/iscsi/iscsi_text.c
303
char c;
sys/dev/iscsi/iscsi_text.c
310
while ((c = *buf) != 0x0) {
sys/dev/iscsi/iscsi_text.c
312
val = (hexdig(c) << 4) | hexdig(*buf);
sys/dev/iscsi/iscsi_text.c
351
char c;
sys/dev/iscsi/iscsi_text.c
364
c = *buf++;
sys/dev/iscsi/iscsi_text.c
365
if (!isdigit(c))
sys/dev/iscsi/iscsi_text.c
367
val = val * 10 + (c - '0');
sys/dev/iscsi/iscsi_text.c
635
int k, c;
sys/dev/iscsi/iscsi_text.c
640
c = par->val.sval[k] >> 4;
sys/dev/iscsi/iscsi_text.c
641
buf[2+2*k] = c < 10 ? '0' + c : 'a' + (c-10);
sys/dev/iscsi/iscsi_text.c
642
c = par->val.sval[k] & 0xf;
sys/dev/iscsi/iscsi_text.c
643
buf[2+2*k+1] = c < 10 ? '0' + c : 'a' + (c-10);
sys/dev/marvell/gtbrgreg.h
55
#define BRG_BCR(c) (0xb200 + ((c) << 3)) /* Baud Config Register */
sys/dev/marvell/gtbrgreg.h
56
#define BRG_BTR(c) (0xb204 + ((c) << 3)) /* Baud Tuning Register */
sys/dev/marvell/gtidmacreg.h
111
#define GTIDMAC_CCHR(c) /* Chan Control High */ \
sys/dev/marvell/gtidmacreg.h
112
(GTIDMAC_CHAN2BASE(c) + 0x0880)
sys/dev/marvell/gtidmacreg.h
116
#define GTIDMAC_ARBR(c) (0x0860 + (((c) & 0x04) << 6)) /* Arbitrate ??*/
sys/dev/marvell/gtidmacreg.h
117
#define GTIDMAC_XTOR(c) (0x08d0 + (((c) & 0x04) << 6)) /* x-bar t/o?? */
sys/dev/marvell/gtidmacreg.h
119
#define GTIDMAC_ICR(c) (0x08c0 + (((c) & 0x04) << 6)) /* Intr Cause */
sys/dev/marvell/gtidmacreg.h
120
#define GTIDMAC_IMR(c) (0x08c4 + (((c) & 0x04) << 6)) /* Intr Mask */
sys/dev/marvell/gtidmacreg.h
122
#define GTIDMAC_I(c, b) ((b) << (GTIDMAC_I_BITS * ((c) & 0x3)))
sys/dev/marvell/gtidmacreg.h
128
#define GTIDMAC_EAR(c) (0x08c8 + (((c) & 0x04) << 6)) /* Err Address */
sys/dev/marvell/gtidmacreg.h
129
#define GTIDMAC_ESR(c) (0x08cc + (((c) & 0x04) << 6)) /* Err Select */
sys/dev/marvell/gtidmacreg.h
135
#define MVXORE_XECHAR_SLICEOWN(s, c) ((c) << (s))
sys/dev/marvell/gtidmacreg.h
172
#define MVXORE_I(c, b) ((b) << (MVXORE_I_BITS * (c)))
sys/dev/marvell/gtidmacreg.h
50
#define GTIDMAC_CHAN2BASE(c) ((((c) & 0x4) << 6) + (((c) & 0x3) << 2))
sys/dev/marvell/gtidmacreg.h
53
#define MVXORE_CHAN2BASE(sc, c) \
sys/dev/marvell/gtidmacreg.h
54
(MVXORE_PORT2BASE(sc, (c) & 0xe) + (((c) & 0x1) << 2))
sys/dev/marvell/gtidmacreg.h
58
#define GTIDMAC_CIDMABCR(c) /* Chan IDMA Byte Count */ \
sys/dev/marvell/gtidmacreg.h
59
(GTIDMAC_CHAN2BASE(c) + 0x0800)
sys/dev/marvell/gtidmacreg.h
63
#define GTIDMAC_CIDMASAR(c) /* Chan IDMA Source Address */ \
sys/dev/marvell/gtidmacreg.h
64
(GTIDMAC_CHAN2BASE(c) + 0x0810)
sys/dev/marvell/gtidmacreg.h
65
#define GTIDMAC_CIDMADAR(c) /* Chan IDMA Destination Address */ \
sys/dev/marvell/gtidmacreg.h
66
(GTIDMAC_CHAN2BASE(c) + 0x0820)
sys/dev/marvell/gtidmacreg.h
67
#define GTIDMAC_CNDPR(c) /* Chan Next Descriptor Pointer */ \
sys/dev/marvell/gtidmacreg.h
68
(GTIDMAC_CHAN2BASE(c) + 0x0830)
sys/dev/marvell/gtidmacreg.h
69
#define GTIDMAC_CCDPR(c) /* Chan Current Descriptor Pointer */ \
sys/dev/marvell/gtidmacreg.h
70
(GTIDMAC_CHAN2BASE(c) + 0x0870)
sys/dev/marvell/gtidmacreg.h
72
#define GTIDMAC_CCLR(c) /* Chan Control Low */ \
sys/dev/marvell/gtidmacreg.h
73
(GTIDMAC_CHAN2BASE(c) + 0x0840)
sys/dev/marvell/gtmpsc.c
1262
gtmpsccnputc(dev_t dev, int c)
sys/dev/marvell/gtmpsc.c
1265
gtmpsc_common_putc(&gtmpsc_cn_softc, c);
sys/dev/marvell/gtmpsc.c
1413
gtmpsc_kgdb_putc(void *arg, int c)
sys/dev/marvell/gtmpsc.c
1417
return gtmpsc_common_putc(sc, c);
sys/dev/marvell/gtmpsc.c
1501
gtmpsc_common_putc(struct gtmpsc_softc *sc, int c)
sys/dev/marvell/gtmpsc.c
1520
vtxp->txbuf[0] = c;
sys/dev/marvell/if_mvgbe.c
1570
struct mvgbe_chain *c;
sys/dev/marvell/if_mvgbe.c
1614
c = &sc->sc_cdata.mvgbe_rx_chain[i];
sys/dev/marvell/if_mvgbe.c
1615
r = c->mvgbe_desc;
sys/dev/marvell/if_mvgbe.c
1616
c->mvgbe_mbuf = m_new;
sys/dev/marvell/if_mvgbe.c
84
#define MVGBE_READ_FILTER(sc, reg, val, c) \
sys/dev/marvell/if_mvgbe.c
85
bus_space_read_region_4((sc)->sc_iot, (sc)->sc_dafh, (reg), (val), (c))
sys/dev/marvell/if_mvgbe.c
86
#define MVGBE_WRITE_FILTER(sc, reg, val, c) \
sys/dev/marvell/if_mvgbe.c
87
bus_space_write_region_4((sc)->sc_iot, (sc)->sc_dafh, (reg), (val), (c))
sys/dev/marvell/if_mvxpevar.h
77
#define MVXPE_READ_REGION(sc, reg, val, c) \
sys/dev/marvell/if_mvxpevar.h
78
bus_space_read_region_4((sc)->sc_iot, (sc)->sc_ioh, (reg), (val), (c))
sys/dev/marvell/if_mvxpevar.h
79
#define MVXPE_WRITE_REGION(sc, reg, val, c) \
sys/dev/marvell/if_mvxpevar.h
80
bus_space_write_region_4((sc)->sc_iot, (sc)->sc_ioh, (reg), (val), (c))
sys/dev/marvell/mvcesa.c
198
struct cryptoini *c;
sys/dev/marvell/mvcesa.c
230
for (c = cri; c != NULL; c = c->cri_next) {
sys/dev/marvell/mvcesa.c
231
switch (c->cri_alg) {
sys/dev/marvell/mvcesa.c
239
ses->ses_klen = c->cri_klen;
sys/dev/marvell/mvcesa.c
240
memcpy(ses->ses_key, c->cri_key, c->cri_klen / 8);
sys/dev/marvell/mvcesa.c
241
switch (c->cri_alg) {
sys/dev/marvell/mvcesa.c
260
int klen_bytes = c->cri_klen / 8;
sys/dev/marvell/mvcesa.c
262
KASSERT(c->cri_klen == 512);
sys/dev/marvell/mvcesa.c
265
c->cri_key[i] ^= HMAC_IPAD_VAL;
sys/dev/marvell/mvcesa.c
266
if (c->cri_alg == CRYPTO_MD5_HMAC_96) {
sys/dev/marvell/mvcesa.c
268
MD5Update(&md5ctx, c->cri_key, klen_bytes);
sys/dev/marvell/mvcesa.c
275
SHA1Update(&sha1ctx, c->cri_key, klen_bytes);
sys/dev/marvell/mvcesa.c
283
c->cri_key[i] ^=
sys/dev/marvell/mvcesa.c
285
if (c->cri_alg == CRYPTO_MD5_HMAC_96) {
sys/dev/marvell/mvcesa.c
287
MD5Update(&md5ctx, c->cri_key, klen_bytes);
sys/dev/marvell/mvcesa.c
294
SHA1Update(&sha1ctx, c->cri_key, klen_bytes);
sys/dev/marvell/mvcesa.c
302
c->cri_key[i] ^= HMAC_OPAD_VAL;
sys/dev/marvell/mvcesareg.h
100
(MVCESA_AES_DIOC_OFF + ((c) - MVCESA_AES_DIOC_MAX) * 4)
sys/dev/marvell/mvcesareg.h
101
#define MVCESA_AES_KC(c) \
sys/dev/marvell/mvcesareg.h
102
(MVCESA_AES_KC_OFF + ((c) - MVCESA_AES_KC_MAX) * 4)
sys/dev/marvell/mvcesareg.h
99
#define MVCESA_AES_DIOC(c) \
sys/dev/marvell/mvgbereg.h
531
#define MVGBE_PRXF01_PREFETCHCOMMAND0(c) (((c) & 0xffff) << 0) xxxx
sys/dev/marvell/mvgbereg.h
532
#define MVGBE_PRXF01_PREFETCHCOMMAND1(c) (((c) & 0xffff) << 16) xxxx
sys/dev/marvell/mvsdio.c
528
uint32_t tm, c, hc, aacc, nisie, wait;
sys/dev/marvell/mvsdio.c
629
c = C_CMDINDEX(cmd->c_opcode);
sys/dev/marvell/mvsdio.c
632
c |= C_RESPTYPE_136BR;
sys/dev/marvell/mvsdio.c
634
c |= C_RESPTYPE_48BR;
sys/dev/marvell/mvsdio.c
636
c |= C_RESPTYPE_48BRCB;
sys/dev/marvell/mvsdio.c
637
c |= C_UNEXPECTEDRESPEN;
sys/dev/marvell/mvsdio.c
639
c |= C_RESPTYPE_NR;
sys/dev/marvell/mvsdio.c
641
c |= C_CMDCRCCHKEN;
sys/dev/marvell/mvsdio.c
643
c |= C_CMDINDEXCHKEN;
sys/dev/marvell/mvsdio.c
645
c |= (C_DATAPRESENT | C_DATACRC16CHKEN);
sys/dev/marvell/mvsdio.c
647
DPRINTF(2, ("%s: TM=0x%x, C=0x%x, HC=0x%x\n", __func__, tm, c, hc));
sys/dev/marvell/mvsdio.c
657
bus_space_write_4(sc->sc_iot, sc->sc_ioh, MVSDIO_C, c);
sys/dev/marvell/mvsdioreg.h
44
#define DBC_BLOCKCOUNT(c) ((c) & DBC_BLOCKCOUNT_MASK)
sys/dev/marvell/mvsdioreg.h
65
#define C_CMDINDEX(c) ((c) << 8)
sys/dev/marvell/mvxpsec.c
1867
struct cryptoini *c;
sys/dev/marvell/mvxpsec.c
1929
for (c = cri; c; c = c->cri_next) {
sys/dev/marvell/mvxpsec.c
1930
switch (c->cri_alg) {
sys/dev/marvell/mvxpsec.c
1935
if (mvxpsec_key_precomp(c->cri_alg,
sys/dev/marvell/mvxpsec.c
1936
c->cri_key, c->cri_klen,
sys/dev/marvell/mvxpsec.c
1941
__func__, s_ctlalg(c->cri_alg));
sys/dev/marvell/mvxpsec.c
1950
s_ctlalg(c->cri_alg));
sys/dev/marvell/mvxpsec.c
1953
mv_s->enc_klen = c->cri_klen;
sys/dev/marvell/mvxpsec.c
1954
mv_s->cipher_alg = c->cri_alg;
sys/dev/marvell/mvxpsec.c
1962
if (mvxpsec_hmac_precomp(c->cri_alg,
sys/dev/marvell/mvxpsec.c
1963
c->cri_key, c->cri_klen,
sys/dev/marvell/mvxpsec.c
1976
s_ctlalg(c->cri_alg));
sys/dev/marvell/mvxpsec.c
1981
mv_s->mac_klen = c->cri_klen;
sys/dev/marvell/mvxpsec.c
1982
mv_s->hmac_alg = c->cri_alg;
sys/dev/marvell/mvxpsec.c
1986
__func__, c->cri_alg);
sys/dev/microcode/cyclades-z/cyzfirm2h.c
136
unsigned char c = (in_ptr - 8)[j];
sys/dev/microcode/cyclades-z/cyzfirm2h.c
137
fputc(isprint(c) ? c : '.', out_file);
sys/dev/microcode/siop/ncr53cxxx.c
557
char c;
sys/dev/microcode/siop/ncr53cxxx.c
563
while ((c = *p++) && c != '\n' && (c <= ' ' || c == '\t'))
sys/dev/microcode/siop/ncr53cxxx.c
565
if (c == '\n' || c == 0 || c == ';')
sys/dev/microcode/siop/ncr53cxxx.c
571
if ((c >= '0' && c <= '9') || (c >= 'a' && c <= 'z') ||
sys/dev/microcode/siop/ncr53cxxx.c
572
(c >= 'A' && c <= 'Z') || c == '$' || c == '_') {
sys/dev/microcode/siop/ncr53cxxx.c
574
*s++ = c;
sys/dev/microcode/siop/ncr53cxxx.c
575
while (((c = *p) >= '0' && c <= '9') ||
sys/dev/microcode/siop/ncr53cxxx.c
576
(c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') ||
sys/dev/microcode/siop/ncr53cxxx.c
577
c == '_' || c == '$') {
sys/dev/microcode/siop/ncr53cxxx.c
586
tokens[ntokens].type = c;
sys/dev/midi.c
435
midi_fst(struct midi_state *s, u_char c, enum fst_form form)
sys/dev/midi.c
439
if (c >= 0xf8) { /* All realtime messages bypass state machine */
sys/dev/midi.c
440
if (c == 0xf9 || c == 0xfd) {
sys/dev/midi.c
442
s, c));
sys/dev/midi.c
447
s, c));
sys/dev/midi.c
448
s->msg[2] = c;
sys/dev/midi.c
453
s, c, s->state));
sys/dev/midi.c
455
switch (s->state | MIDI_CAT(c)) { /* break ==> return FST_MORE */
sys/dev/midi.c
460
s->msg[0] = c;
sys/dev/midi.c
461
switch ( c) {
sys/dev/midi.c
473
if (c == s->msg[0]) {
sys/dev/midi.c
482
s->msg[0] = c;
sys/dev/midi.c
487
if (c == s->msg[0]) {
sys/dev/midi.c
491
if ((c ^ s->msg[0]) == 0x10 && (c & 0xe0) == 0x80) {
sys/dev/midi.c
493
s->msg[0] = c;
sys/dev/midi.c
500
s->msg[0] = c;
sys/dev/midi.c
505
s->msg[1] = c;
sys/dev/midi.c
510
s->msg[1] = c;
sys/dev/midi.c
515
s->msg[2] = c;
sys/dev/midi.c
520
s->msg[1] = c;
sys/dev/midi.c
526
s->msg[1] = c;
sys/dev/midi.c
531
s->msg[1] = c;
sys/dev/midi.c
535
if (FST_CANON == form && 0 == c && (s->msg[0]&0xf0) == 0x90) {
sys/dev/midi.c
541
s->msg[2] = c;
sys/dev/midi.c
547
s->msg[1] = c;
sys/dev/midi.c
553
s->msg[1] = c;
sys/dev/midi.c
558
s->msg[1] = c;
sys/dev/midi.c
563
s->msg[1] = c;
sys/dev/midi.c
568
if (FST_CANON == form && 0 == c && (s->msg[0]&0xf0) == 0x90) {
sys/dev/midi.c
575
s->msg[2] = c;
sys/dev/midi.c
580
if (( 0 == c && (s->msg[0]&0xf0) == 0x90)
sys/dev/midi.c
581
|| (64 == c && (s->msg[0]&0xf0) == 0x80
sys/dev/midi.c
585
s->msg[2] = 64 - c;
sys/dev/midi.c
589
s->msg[2] = c;
sys/dev/midi.c
594
s->msg[1] = c;
sys/dev/midi.c
599
s->msg[2] = c;
sys/dev/midi.c
604
s->msg[0] = c;
sys/dev/midi.c
621
if (c == 0xf7) {
sys/dev/midi.c
622
s->msg[syxpos] = c;
sys/dev/midi.c
631
c, s->state));
sys/dev/midi.c
661
c, MIDI_CAT(c), s->state));
sys/dev/midictl.c
215
class c;
sys/dev/midictl.c
279
c = RPN;
sys/dev/midictl.c
282
c = NRPN;
sys/dev/midictl.c
287
enter14(mc, chan, c, key, islsb, ctlval[1]);
sys/dev/midictl.c
301
c = classify(&key, &islsb);
sys/dev/midictl.c
303
switch ( c ) {
sys/dev/midictl.c
305
enter14(mc, chan, c, key, islsb, ctlval[1]);
sys/dev/midictl.c
308
present = store_locate(mc->store, c, chan, key);
sys/dev/midictl.c
312
val = store_extract(mc->store, c, chan, key);
sys/dev/midictl.c
316
store_update(mc->store, c, chan, key,
sys/dev/midictl.c
321
present = store_locate(mc->store, c, chan, key);
sys/dev/midictl.c
325
val = store_extract(mc->store, c, chan, key);
sys/dev/midictl.c
329
store_update(mc->store, c, chan, key,
sys/dev/midictl.c
344
class c;
sys/dev/midictl.c
351
c = classify(&key, &islsb);
sys/dev/midictl.c
352
switch ( c ) {
sys/dev/midictl.c
354
present = store_locate(mc->store, c, chan, key);
sys/dev/midictl.c
356
!(C1_SET&(val = store_extract(mc->store, c, chan, key))) ) {
sys/dev/midictl.c
358
store_update(mc->store, c, chan, key, val);
sys/dev/midictl.c
362
present = store_locate(mc->store, c, chan, key);
sys/dev/midictl.c
364
!(C7_SET&(val = store_extract(mc->store, c, chan, key))) ) {
sys/dev/midictl.c
366
store_update(mc->store, c, chan, key, val);
sys/dev/midictl.c
371
return read14(mc, chan, c, key, dflt);
sys/dev/midictl.c
405
class c;
sys/dev/midictl.c
435
c = classify(&key, &islsb);
sys/dev/midictl.c
437
present = store_locate(mc->store, c, chan, key);
sys/dev/midictl.c
440
store_update(mc->store, c, chan, key, 0); /* no C*SET */
sys/dev/midictl.c
447
enter14(midictl *mc, uint_fast8_t chan, class c, uint_fast16_t key,
sys/dev/midictl.c
455
present = store_locate(mc->store, c, chan, key);
sys/dev/midictl.c
456
stval = (present) ? store_extract(mc->store, c, chan, key) : 0;
sys/dev/midictl.c
458
if ( !((NRPN==c)? mc->accept_any_nrpn: mc->accept_any_ctl_rpn) )
sys/dev/midictl.c
465
store_update(mc->store, c, chan, key, stval);
sys/dev/midictl.c
466
mc->notify(mc->cookie, CTL14 == c ? MIDICTL_CTLR
sys/dev/midictl.c
467
: RPN == c ? MIDICTL_RPN
sys/dev/midictl.c
472
read14(midictl *mc, uint_fast8_t chan, class c, uint_fast16_t key,
sys/dev/midictl.c
480
present = store_locate(mc->store, c, chan, key);
sys/dev/midictl.c
484
val = store_extract(mc->store, c, chan, key);
sys/dev/midictl.c
498
store_update(mc->store, c, chan, key, val);
sys/dev/midictl.c
559
store_locate(midictl_store *s, class c, uint_fast8_t chan, uint_fast16_t key)
sys/dev/midictl.c
568
chan = packing[c] * (chan/packing[c]);
sys/dev/midictl.c
570
if ( CTL7 == c ) { /* only 16 bits here (key's only 7) */
sys/dev/midictl.c
574
s->key = (c << 20) | (chan << 16) | IS_USED | key;
sys/dev/midictl.c
587
store_extract(midictl_store *s, class c, uint_fast8_t chan,
sys/dev/midictl.c
593
chan %= packing[c];
sys/dev/midictl.c
594
switch ( c ) {
sys/dev/midictl.c
608
store_update(midictl_store *s, class c, uint_fast8_t chan,
sys/dev/midictl.c
621
chan %= packing[c];
sys/dev/midictl.c
623
switch ( c ) {
sys/dev/midictl.c
81
static void enter14(midictl *mc, uint_fast8_t chan, class c,
sys/dev/midictl.c
83
static uint_fast16_t read14(midictl *mc, uint_fast8_t chan, class c,
sys/dev/midictl.c
88
static _Bool store_locate(midictl_store *s, class c,
sys/dev/midictl.c
97
static uint16_t store_extract(midictl_store *s, class c,
sys/dev/midictl.c
99
static void store_update(midictl_store *s, class c,
sys/dev/mii/acphy.c
125
#define ADD(m, c) ifmedia_add(&mii->mii_media, (m), (c), NULL)
sys/dev/mii/brgphy.c
295
#define ADD(m, c) ifmedia_add(&mii->mii_media, (m), (c), NULL)
sys/dev/mii/lxtphy.c
151
#define ADD(m, c) ifmedia_add(&mii->mii_media, (m), (c), NULL)
sys/dev/mii/mii_physubr.c
525
#define ADD(m, c) ifmedia_add(&mii->mii_media, (m), (c), NULL)
sys/dev/mii/tlphy.c
166
#define ADD(m, c) ifmedia_add(&mii->mii_media, (m), (c), NULL)
sys/dev/mscp/mscp.h
344
#define MSCP_MKDRIVE3(a, b, c, n) \
sys/dev/mscp/mscp.h
345
(((a) - '@') << 17 | ((b) - '@') << 12 | ((c) - '@') << 7 | (n))
sys/dev/mscp/mscp_subr.c
818
int c, sc;
sys/dev/mscp/mscp_subr.c
828
c = event & M_ST_MASK;
sys/dev/mscp/mscp_subr.c
829
sc = (c != 6 ? event >> 5 : event >> 12) & 0x7ff;
sys/dev/mscp/mscp_subr.c
830
if (c >= sizeof code_decode / sizeof code_decode[0])
sys/dev/mscp/mscp_subr.c
833
cdc = &code_decode[c];
sys/dev/mscp/mscp_subr.c
840
printf(" %s (%s) (code %d, subcode %d)\n", cm, scm, c, sc);
sys/dev/mvme/vme_tworeg.h
325
#define VME2_PRESCALER_CTRL(c) (256 - (c))
sys/dev/nor/cfi.c
911
u_int c = (int)data[i];
sys/dev/nor/cfi.c
912
if (c >= 0x20 && c < 0x7f)
sys/dev/nor/cfi.c
913
printf("%c", c);
sys/dev/nullcons_subr.c
146
nullcnputc(dev_t dev, int c)
sys/dev/ofw/ofcons.c
320
ofcons_cnputc(dev_t dev, int c)
sys/dev/ofw/ofcons.c
322
char ch = c;
sys/dev/pci/cxgb/cxgb_jhash.h
105
__jhash_mix(a,b,c);
sys/dev/pci/cxgb/cxgb_jhash.h
107
return c;
sys/dev/pci/cxgb/cxgb_jhash.h
117
static __inline u32 jhash_3words(u32 a, u32 b, u32 c, u32 initval)
sys/dev/pci/cxgb/cxgb_jhash.h
121
c += initval;
sys/dev/pci/cxgb/cxgb_jhash.h
123
__jhash_mix(a, b, c);
sys/dev/pci/cxgb/cxgb_jhash.h
125
return c;
sys/dev/pci/cxgb/cxgb_jhash.h
19
#define __jhash_mix(a, b, c) \
sys/dev/pci/cxgb/cxgb_jhash.h
21
a -= b; a -= c; a ^= (c>>13); \
sys/dev/pci/cxgb/cxgb_jhash.h
22
b -= c; b -= a; b ^= (a<<8); \
sys/dev/pci/cxgb/cxgb_jhash.h
23
c -= a; c -= b; c ^= (b>>13); \
sys/dev/pci/cxgb/cxgb_jhash.h
24
a -= b; a -= c; a ^= (c>>12); \
sys/dev/pci/cxgb/cxgb_jhash.h
25
b -= c; b -= a; b ^= (a<<16); \
sys/dev/pci/cxgb/cxgb_jhash.h
26
c -= a; c -= b; c ^= (b>>5); \
sys/dev/pci/cxgb/cxgb_jhash.h
27
a -= b; a -= c; a ^= (c>>3); \
sys/dev/pci/cxgb/cxgb_jhash.h
28
b -= c; b -= a; b ^= (a<<10); \
sys/dev/pci/cxgb/cxgb_jhash.h
29
c -= a; c -= b; c ^= (b>>15); \
sys/dev/pci/cxgb/cxgb_jhash.h
41
u32 a, b, c, len;
sys/dev/pci/cxgb/cxgb_jhash.h
46
c = initval;
sys/dev/pci/cxgb/cxgb_jhash.h
51
c += (k[8] +((u32)k[9]<<8) +((u32)k[10]<<16)+((u32)k[11]<<24));
sys/dev/pci/cxgb/cxgb_jhash.h
53
__jhash_mix(a,b,c);
sys/dev/pci/cxgb/cxgb_jhash.h
59
c += length;
sys/dev/pci/cxgb/cxgb_jhash.h
61
case 11: c += ((u32)k[10]<<24);
sys/dev/pci/cxgb/cxgb_jhash.h
62
case 10: c += ((u32)k[9]<<16);
sys/dev/pci/cxgb/cxgb_jhash.h
63
case 9 : c += ((u32)k[8]<<8);
sys/dev/pci/cxgb/cxgb_jhash.h
74
__jhash_mix(a,b,c);
sys/dev/pci/cxgb/cxgb_jhash.h
76
return c;
sys/dev/pci/cxgb/cxgb_jhash.h
84
u32 a, b, c, len;
sys/dev/pci/cxgb/cxgb_jhash.h
87
c = initval;
sys/dev/pci/cxgb/cxgb_jhash.h
93
c += k[2];
sys/dev/pci/cxgb/cxgb_jhash.h
94
__jhash_mix(a, b, c);
sys/dev/pci/cxgb/cxgb_jhash.h
98
c += length * 4;
sys/dev/pci/cxgb/cxgb_osdep.h
151
#define atomic_cmpset_int(a, b, c) atomic_cmpset_ptr((volatile long *)a, (long)b, (long)c)
sys/dev/pci/cxgb/cxgb_osdep.h
71
#define mtx_init(a, b, c, d) { mutex_init(a, MUTEX_DEFAULT, IPL_HIGH) }
sys/dev/pci/cxgb/cxgb_t3_hw.c
622
static unsigned int hex2int(unsigned char c)
sys/dev/pci/cxgb/cxgb_t3_hw.c
624
return isdigit(c) ? c - '0' : toupper(c) - 'A' + 10;
sys/dev/pci/cxgb/cxgb_t3_hw.c
829
unsigned int i, c, left, val, offset = addr & 0xff;
sys/dev/pci/cxgb/cxgb_t3_hw.c
840
for (left = n; left; left -= c) {
sys/dev/pci/cxgb/cxgb_t3_hw.c
841
c = uimin(left, 4U);
sys/dev/pci/cxgb/cxgb_t3_hw.c
842
for (val = 0, i = 0; i < c; ++i)
sys/dev/pci/cxgb/cxgb_t3_hw.c
845
ret = sf1_write(adapter, c, c != left, val);
sys/dev/pci/cxgb/cxgb_xgmac.c
290
int hash = 0, octet, bit, i = 0, c;
sys/dev/pci/cxgb/cxgb_xgmac.c
293
for (c = addr[octet], bit = 0; bit < 8; c >>= 1, ++bit) {
sys/dev/pci/cxgb/cxgb_xgmac.c
294
hash ^= (c & 1) << i;
sys/dev/pci/eapreg.h
227
#define EAP_SET_SIZE(c,s) (((c)<<16) | (s))
sys/dev/pci/gffb.c
1355
gffb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/gffb.c
1358
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/gffb.c
1367
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/gffb.c
1378
if (c == 0x20) {
sys/dev/pci/gffb.c
1384
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/pci/gffb.c
1396
sc->sc_putchar(cookie, row, col, c, attr & 0xfffffff0);
sys/dev/pci/gffb.c
1406
glyphcache_add(&sc->sc_gc, c, x, y);
sys/dev/pci/gffb.c
1413
gffb_putchar_mono(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/gffb.c
1416
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/gffb.c
1426
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/gffb.c
1437
if (c == 0x20) {
sys/dev/pci/gffb.c
1444
data = WSFONT_GLYPH(c, font);
sys/dev/pci/hifn7751.c
2075
struct cryptoini *c;
sys/dev/pci/hifn7751.c
2088
for (c = cri; c != NULL; c = c->cri_next) {
sys/dev/pci/hifn7751.c
2089
switch (c->cri_alg) {
sys/dev/pci/if_enavar.h
454
#define if_setcapabilitiesbit(ifp, s, c) do { \
sys/dev/pci/if_enavar.h
455
CLR((ifp)->if_capabilities, c); \
sys/dev/pci/if_enavar.h
461
#define if_setdrvflagbits(ifp, s, c) do { \
sys/dev/pci/if_enavar.h
462
CLR((ifp)->if_flags, c); \
sys/dev/pci/if_enavar.h
466
#define if_sethwassistbits(ifp, s, c) do { \
sys/dev/pci/if_enavar.h
467
CLR((ifp)->if_csum_flags_rx, c); \
sys/dev/pci/if_enavar.h
521
#define buf_ring_alloc(a, b, c, d) (void *)&a
sys/dev/pci/if_enavar.h
544
#define m_getjcl(a, b, c, d) NULL
sys/dev/pci/if_iwm.c
4176
struct ieee80211_channel *c = NULL;
sys/dev/pci/if_iwm.c
4230
c = &ic->ic_channels[le32toh(phy_info->channel)];
sys/dev/pci/if_iwm.c
4235
if (c)
sys/dev/pci/if_iwm.c
4236
ni->ni_chan = c;
sys/dev/pci/if_iwm.c
5595
struct ieee80211_channel *c;
sys/dev/pci/if_iwm.c
5598
for (nchan = 0, c = &ic->ic_channels[1];
sys/dev/pci/if_iwm.c
5599
c <= &ic->ic_channels[IEEE80211_CHAN_MAX] &&
sys/dev/pci/if_iwm.c
5601
c++) {
sys/dev/pci/if_iwm.c
5602
if (c->ic_flags == 0)
sys/dev/pci/if_iwm.c
5605
chan->channel_num = htole16(ieee80211_mhz2ieee(c->ic_freq, 0));
sys/dev/pci/if_iwm.c
5610
if (!IEEE80211_IS_CHAN_PASSIVE(c) && n_ssids != 0)
sys/dev/pci/if_iwm.c
5624
struct ieee80211_channel *c;
sys/dev/pci/if_iwm.c
5627
for (nchan = 0, c = &ic->ic_channels[1];
sys/dev/pci/if_iwm.c
5628
c <= &ic->ic_channels[IEEE80211_CHAN_MAX] &&
sys/dev/pci/if_iwm.c
5630
c++) {
sys/dev/pci/if_iwm.c
5631
if (c->ic_flags == 0)
sys/dev/pci/if_iwm.c
5634
chan->channel_num = ieee80211_mhz2ieee(c->ic_freq, 0);
sys/dev/pci/if_iwm.c
5868
struct ieee80211_channel *c;
sys/dev/pci/if_iwm.c
5908
for (c = &ic->ic_channels[1], nchan = 0;
sys/dev/pci/if_iwm.c
5909
c <= &ic->ic_channels[IEEE80211_CHAN_MAX] &&
sys/dev/pci/if_iwm.c
5910
nchan < sc->sc_capa_n_scan_channels; c++) {
sys/dev/pci/if_iwm.c
5911
if (c->ic_flags == 0)
sys/dev/pci/if_iwm.c
5914
ieee80211_mhz2ieee(c->ic_freq, 0);
sys/dev/pci/if_iwn.c
1725
int j, c;
sys/dev/pci/if_iwn.c
1730
for (c = 0; c < 2; c++) {
sys/dev/pci/if_iwn.c
1733
"power=%d pa_det=%d\n", c, j,
sys/dev/pci/if_iwn.c
1734
chans[0].samples[c][j].temp,
sys/dev/pci/if_iwn.c
1735
chans[0].samples[c][j].gain,
sys/dev/pci/if_iwn.c
1736
chans[0].samples[c][j].power,
sys/dev/pci/if_iwn.c
1737
chans[0].samples[c][j].pa_det);
sys/dev/pci/if_iwn.c
1741
for (c = 0; c < 2; c++) {
sys/dev/pci/if_iwn.c
1744
"power=%d pa_det=%d\n", c, j,
sys/dev/pci/if_iwn.c
1745
chans[1].samples[c][j].temp,
sys/dev/pci/if_iwn.c
1746
chans[1].samples[c][j].gain,
sys/dev/pci/if_iwn.c
1747
chans[1].samples[c][j].power,
sys/dev/pci/if_iwn.c
1748
chans[1].samples[c][j].pa_det);
sys/dev/pci/if_iwn.c
3724
int i, c, grp, maxpwr;
sys/dev/pci/if_iwn.c
3778
for (c = 0; c < 2; c++) {
sys/dev/pci/if_iwn.c
3783
chans[0].num, chans[0].samples[c][1].power,
sys/dev/pci/if_iwn.c
3784
chans[1].num, chans[1].samples[c][1].power, 1);
sys/dev/pci/if_iwn.c
3786
chans[0].num, chans[0].samples[c][1].gain,
sys/dev/pci/if_iwn.c
3787
chans[1].num, chans[1].samples[c][1].gain, 1);
sys/dev/pci/if_iwn.c
3789
chans[0].num, chans[0].samples[c][1].temp,
sys/dev/pci/if_iwn.c
3790
chans[1].num, chans[1].samples[c][1].temp, 1);
sys/dev/pci/if_iwn.c
3792
c, power, gain, temp));
sys/dev/pci/if_iwn.c
3823
idx += (int32_t)le32toh(uc->atten[grp][c]);
sys/dev/pci/if_iwn.c
3837
c, ridx, idx));
sys/dev/pci/if_iwn.c
3838
cmd.power[ridx].rf_gain[c] = rf_gain[idx];
sys/dev/pci/if_iwn.c
3839
cmd.power[ridx].dsp_gain[c] = dsp_gain[idx];
sys/dev/pci/if_iwn.c
4740
struct ieee80211_channel *c;
sys/dev/pci/if_iwn.c
4873
for (c = &ic->ic_channels[1];
sys/dev/pci/if_iwn.c
4874
c <= &ic->ic_channels[IEEE80211_CHAN_MAX]; c++) {
sys/dev/pci/if_iwn.c
4875
if ((c->ic_flags & flags) != flags)
sys/dev/pci/if_iwn.c
4878
chan->chan = htole16(ieee80211_chan2ieee(ic, c));
sys/dev/pci/if_iwn.c
4881
if (!(c->ic_flags & IEEE80211_CHAN_PASSIVE))
sys/dev/pci/if_iwn.c
4901
if (IEEE80211_IS_CHAN_5GHZ(c)) {
sys/dev/pci/if_iwnreg.h
1000
#define IWN_CTOK(c) ((c) + 273)
sys/dev/pci/if_iwnreg.h
1002
#define IWN_CTOMUK(c) (((c) * 1000000) + 273150000)
sys/dev/pci/if_jme.c
1898
#define xor8(a,b,c,d,e,f,g,h) \
sys/dev/pci/if_jme.c
1899
(((a != 0) + (b != 0) + (c != 0) + (d != 0) + \
sys/dev/pci/if_mcx.c
6868
struct mcx_calibration *c = &sc->sc_calibration[0];
sys/dev/pci/if_mcx.c
6874
c->c_ubase = mcx_uptime();
sys/dev/pci/if_mcx.c
6875
c->c_tbase = mcx_timer(sc);
sys/dev/pci/if_mcx.c
6877
c->c_ratio = 0;
sys/dev/pci/if_mcx.c
6934
const struct mcx_calibration *c)
sys/dev/pci/if_mcx.c
6982
if (ISSET(sc->sc_ec.ec_if.if_flags, IFF_LINK0) && c->c_ratio) {
sys/dev/pci/if_mcx.c
6984
t -= c->c_timestamp;
sys/dev/pci/if_mcx.c
6985
t *= c->c_ratio;
sys/dev/pci/if_mcx.c
6987
t += c->c_uptime;
sys/dev/pci/if_mcx.c
7053
const struct mcx_calibration *c;
sys/dev/pci/if_mcx.c
7064
c = &sc->sc_calibration[gen % __arraycount(sc->sc_calibration)];
sys/dev/pci/if_mcx.c
7079
rxfree += mcx_process_rx(sc, rx, cqe, &mq, c);
sys/dev/pci/if_msk.c
2800
int c, i, j;
sys/dev/pci/if_msk.c
2804
c = len - i;
sys/dev/pci/if_msk.c
2805
if (c > 16) c = 16;
sys/dev/pci/if_msk.c
2807
for (j = 0; j < c; j++) {
sys/dev/pci/if_msk.c
2817
for (j = 0; j < c; j++) {
sys/dev/pci/if_msk.c
2824
if (c < 16)
sys/dev/pci/if_msk.c
519
struct sk_chain *c;
sys/dev/pci/if_msk.c
588
c = &sc_if->sk_cdata.sk_rx_chain[frag];
sys/dev/pci/if_msk.c
589
c->sk_mbuf = NULL;
sys/dev/pci/if_msk.c
605
c = &sc_if->sk_cdata.sk_rx_chain[frag];
sys/dev/pci/if_rtwn.c
2976
struct ieee80211_channel *c, struct ieee80211_channel *extc,
sys/dev/pci/if_rtwn.c
2988
chan = ieee80211_chan2ieee(ic, c); /* XXX center freq! */
sys/dev/pci/if_rtwn.c
3076
rtwn_set_txpower(struct rtwn_softc *sc, struct ieee80211_channel *c,
sys/dev/pci/if_rtwn.c
3086
rtwn_get_txpower(sc, i, c, extc, power);
sys/dev/pci/if_rtwn.c
3093
rtwn_set_chan(struct rtwn_softc *sc, struct ieee80211_channel *c,
sys/dev/pci/if_rtwn.c
3102
chan = ieee80211_chan2ieee(ic, c); /* XXX center freq! */
sys/dev/pci/if_rtwn.c
3105
rtwn_set_txpower(sc, c, extc);
sys/dev/pci/if_rtwn.c
3116
int prichlo = c->ic_freq < extc->ic_freq;
sys/dev/pci/if_sk.c
3032
int c, i, j;
sys/dev/pci/if_sk.c
3036
c = len - i;
sys/dev/pci/if_sk.c
3037
if (c > 16) c = 16;
sys/dev/pci/if_sk.c
3039
for (j = 0; j < c; j++) {
sys/dev/pci/if_sk.c
3049
for (j = 0; j < c; j++) {
sys/dev/pci/if_sk.c
3056
if (c < 16)
sys/dev/pci/if_sk.c
779
struct sk_chain *c;
sys/dev/pci/if_sk.c
817
c = &sc_if->sk_cdata.sk_rx_chain[i];
sys/dev/pci/if_sk.c
818
r = c->sk_desc;
sys/dev/pci/if_sk.c
819
c->sk_mbuf = m_new;
sys/dev/pci/if_tl.c
1589
#define xor8(a, b, c, d, e, f, g, h) \
sys/dev/pci/if_tl.c
1590
(((a != 0) + (b != 0) + (c != 0) + (d != 0) + \
sys/dev/pci/if_tl.c
1613
uint8_t *c = (uint8_t *)eh;
sys/dev/pci/if_tl.c
1617
printf("%02x ", (u_int)c[i]);
sys/dev/pci/if_tlp_pci.c
1407
#define ADD(m, c) \
sys/dev/pci/if_tlp_pci.c
1409
tm->tm_opmode = (c); \
sys/dev/pci/if_tlp_pci.c
1622
#define ADD(m, c) \
sys/dev/pci/if_tlp_pci.c
1624
tm->tm_opmode = (c); \
sys/dev/pci/if_wpi.c
2545
wpi_set_txpower(struct wpi_softc *sc, struct ieee80211_channel *c, int async)
sys/dev/pci/if_wpi.c
2554
chan = ieee80211_chan2ieee(ic, c);
sys/dev/pci/if_wpi.c
2557
if (IEEE80211_IS_CHAN_5GHZ(c)) {
sys/dev/pci/if_wpi.c
2565
txpower.band = IEEE80211_IS_CHAN_5GHZ(c) ? 0 : 1;
sys/dev/pci/if_wpi.c
2571
int idx = wpi_get_power_index(sc, group, c,
sys/dev/pci/if_wpi.c
2576
if (IEEE80211_IS_CHAN_5GHZ(c)) {
sys/dev/pci/if_wpi.c
2597
struct ieee80211_channel *c, int rate)
sys/dev/pci/if_wpi.c
2613
chan = ieee80211_chan2ieee(ic, c);
sys/dev/pci/if_wpi.c
2621
pwr -= IEEE80211_IS_CHAN_2GHZ(c) ? 0 : 5;
sys/dev/pci/if_wpi.c
2624
pwr -= IEEE80211_IS_CHAN_2GHZ(c) ? 7 : 10;
sys/dev/pci/if_wpi.c
2627
pwr -= IEEE80211_IS_CHAN_2GHZ(c) ? 9 : 12;
sys/dev/pci/if_wpi.c
2820
struct ieee80211_channel *c;
sys/dev/pci/if_wpi.c
2925
c = ic->ic_curchan;
sys/dev/pci/if_wpi.c
2927
chan->chan = ieee80211_chan2ieee(ic, c);
sys/dev/pci/if_wpi.c
2929
if (!(c->ic_flags & IEEE80211_CHAN_PASSIVE)) {
sys/dev/pci/if_wpi.c
2935
if (IEEE80211_IS_CHAN_5GHZ(c)) {
sys/dev/pci/igc/igc_nvm.c
46
uint16_t IGC_UNUSEDARG b, uint16_t IGC_UNUSEDARG *c)
sys/dev/pci/igc/igc_nvm.c
93
uint16_t IGC_UNUSEDARG b, uint16_t IGC_UNUSEDARG *c)
sys/dev/pci/igmareg.h
159
#define BLM_PHASEIN_COUNT(c) ((c) << 8)
sys/dev/pci/ips.c
566
#define ips_exec(s, c) (s)->sc_chip->ic_exec((s), (c))
sys/dev/pci/machfb.c
1592
mach64_putchar_mono(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/machfb.c
1595
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/machfb.c
1606
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/machfb.c
1612
if (c == 0x20) {
sys/dev/pci/machfb.c
1615
uc = c - font->firstchar;
sys/dev/pci/machfb.c
1628
mach64_putchar_aa8(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/machfb.c
1631
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/machfb.c
1643
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/machfb.c
1653
if (c == 0x20) {
sys/dev/pci/machfb.c
1660
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/pci/machfb.c
1664
data8 = WSFONT_GLYPH(c, font);
sys/dev/pci/machfb.c
1735
glyphcache_add(&sc->sc_gc, c, x, y);
sys/dev/pci/mlyreg.h
1104
#define MLY_PHYADDR(c, b, t, l) \
sys/dev/pci/mlyreg.h
1105
((l) | ((t) << 8) | ((b) << 16) | ((c) << 19))
sys/dev/pci/mlyreg.h
1106
#define MLY_LOGADDR(c, u) \
sys/dev/pci/mlyreg.h
1107
((u) | ((c) << 19))
sys/dev/pci/pci.c
477
struct pci_child *c;
sys/dev/pci/pci.c
481
c = &sc->PCI_SC_DEVICESC(device, function);
sys/dev/pci/pci.c
482
pci_conf_capture(pc, tag, &c->c_conf);
sys/dev/pci/pci.c
483
if (pci_get_powerstate(pc, tag, &c->c_powerstate) == 0)
sys/dev/pci/pci.c
484
c->c_psok = true;
sys/dev/pci/pci.c
486
c->c_psok = false;
sys/dev/pci/pci.c
488
c->c_dev = config_found(sc->sc_dev, &pa, pciprint,
sys/dev/pci/pci.c
493
ret = (c->c_dev != NULL);
sys/dev/pci/pci.c
505
struct pci_child *c;
sys/dev/pci/pci.c
510
c = &sc->PCI_SC_DEVICESC(d, f);
sys/dev/pci/pci.c
512
KASSERT(c->c_dev == child);
sys/dev/pci/pci.c
515
if (c->c_psok)
sys/dev/pci/pci.c
516
pci_set_powerstate(sc->sc_pc, tag, c->c_powerstate);
sys/dev/pci/pci.c
517
pci_conf_restore(sc->sc_pc, tag, &c->c_conf);
sys/dev/pci/pci.c
518
c->c_dev = NULL;
sys/dev/pci/pci_usrreq.c
158
struct pci_child *c;
sys/dev/pci/pci_usrreq.c
195
c = &sc->sc_devices[device];
sys/dev/pci/pci_usrreq.c
196
if (c->c_dev == NULL)
sys/dev/pci/pci_usrreq.c
198
for (range = 0; range < __arraycount(c->c_range); range++) {
sys/dev/pci/pci_usrreq.c
199
r = &c->c_range[range];
sys/dev/pci/pciide_ixp_reg.h
39
#define IXP_UDMA_ENABLE(u, c, d) do { \
sys/dev/pci/pciide_ixp_reg.h
40
(u) |= (1 << (2 * (c) + (d))); \
sys/dev/pci/pciide_ixp_reg.h
42
#define IXP_UDMA_DISABLE(u, c, d) do { \
sys/dev/pci/pciide_ixp_reg.h
43
(u) &= ~(1 << (2 * (c) + (d))); \
sys/dev/pci/pciide_ixp_reg.h
52
#define IXP_SET_MODE(u, c, d, m) do { \
sys/dev/pci/pciide_ixp_reg.h
53
int __ixpshift = 16 + 8*(c) + 4*(d); \
sys/dev/pci/pciide_ixp_reg.h
62
#define IXP_SET_TIMING(m, c, d, t) do { \
sys/dev/pci/pciide_ixp_reg.h
63
int __ixpshift = 16*(c) + 8*(d); \
sys/dev/pci/pciide_natsemi_reg.h
97
#define NATSEMI_RTREG(c,d) (0x44 + (c * 8) + (d * 4) + 0)
sys/dev/pci/pciide_natsemi_reg.h
98
#define NATSEMI_WTREG(c,d) (0x44 + (c * 8) + (d * 4) + 1)
sys/dev/pci/pciide_opti_reg.h
63
#define OPTI_ENH_MODE_MASK(c,d) (3u << (((c) * 4) + ((d) * 2)))
sys/dev/pci/pciide_opti_reg.h
64
#define OPTI_ENH_MODE_USE_TIMING(c,d) 0
sys/dev/pci/pciide_opti_reg.h
65
#define OPTI_ENH_MODE(c,d,m) ((m) << (((c) * 4) + ((d) * 2)))
sys/dev/pci/pm2fb.c
1027
pm2fb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/pm2fb.c
1030
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/pm2fb.c
1044
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/pm2fb.c
1050
if (c == 0x20) {
sys/dev/pci/pm2fb.c
1053
uc = c - font->firstchar;
sys/dev/pci/pm2fb.c
1133
pm2fb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/pm2fb.c
1136
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/pm2fb.c
1148
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/pm2fb.c
1163
if (c == 0x20) {
sys/dev/pci/pm2fb.c
1172
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/pci/pm2fb.c
1177
data8 = WSFONT_GLYPH(c, font);
sys/dev/pci/pm2fb.c
1242
glyphcache_add(&sc->sc_gc, c, x, y);
sys/dev/pci/pm2fb.c
224
#define PARTPROD(a,b,c) (((a)<<6) | ((b)<<3) | (c))
sys/dev/pci/pm3fb.c
1070
glyphcache_add(&sc->sc_gc, c, x, y);
sys/dev/pci/pm3fb.c
846
pm3fb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/pm3fb.c
849
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/pm3fb.c
863
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/pm3fb.c
870
if (c == 0x20) {
sys/dev/pci/pm3fb.c
873
uc = c - font->firstchar;
sys/dev/pci/pm3fb.c
959
pm3fb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/pm3fb.c
962
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/pm3fb.c
974
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/pm3fb.c
986
if (c == 0x20) {
sys/dev/pci/pm3fb.c
993
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/pci/pm3fb.c
997
data8 = WSFONT_GLYPH(c, font);
sys/dev/pci/qat/qat_ae.c
3415
u_int s, p, c;
sys/dev/pci/qat/qat_ae.c
3479
for (c = 0; c < MAX_AE_CTX; c++) {
sys/dev/pci/qat/qat_ae.c
3480
if (ctx_mask & (1 << c))
sys/dev/pci/qat/qat_ae.c
3481
qas->qas_cur_pages[c] = qap;
sys/dev/pci/qat/qat_ae.c
3483
qas->qas_cur_pages[c] = NULL;
sys/dev/pci/r128fb.c
1045
glyphcache_add(&sc->sc_gc, c, x, y);
sys/dev/pci/r128fb.c
832
r128fb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/r128fb.c
835
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/r128fb.c
845
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/r128fb.c
856
if (c == 0x20) {
sys/dev/pci/r128fb.c
861
data = WSFONT_GLYPH(c, font);
sys/dev/pci/r128fb.c
932
r128fb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/r128fb.c
935
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/r128fb.c
947
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/r128fb.c
956
if (c == 0x20) {
sys/dev/pci/r128fb.c
961
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/pci/r128fb.c
965
data8 = WSFONT_GLYPH(c, font);
sys/dev/pci/radeonfb.c
3137
radeonfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/radeonfb.c
3143
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/radeonfb.c
3156
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/radeonfb.c
3168
if (c == 0x20) {
sys/dev/pci/radeonfb.c
3174
data = WSFONT_GLYPH(c, font);
sys/dev/pci/radeonfb.c
3292
radeonfb_putchar_aa32(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/radeonfb.c
3298
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/radeonfb.c
3310
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/radeonfb.c
3322
if (c == 0x20) {
sys/dev/pci/radeonfb.c
3328
rv = glyphcache_try(&dp->rd_gc, c, xd, yd, attr);
sys/dev/pci/radeonfb.c
3332
data = WSFONT_GLYPH(c, font);
sys/dev/pci/radeonfb.c
3391
glyphcache_add(&dp->rd_gc, c, xd, yd);
sys/dev/pci/radeonfb.c
3397
radeonfb_putchar_aa8(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/radeonfb.c
3403
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/radeonfb.c
3413
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/radeonfb.c
3425
if (c == 0x20) {
sys/dev/pci/radeonfb.c
3431
rv = glyphcache_try(&dp->rd_gc, c, x, y, attr);
sys/dev/pci/radeonfb.c
3435
data8 = WSFONT_GLYPH(c, font);
sys/dev/pci/radeonfb.c
3517
glyphcache_add(&dp->rd_gc, c, x, y);
sys/dev/pci/radeonfb.c
3530
radeonfb_putchar_wrapper(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/radeonfb.c
3537
dp->rd_putchar(ri, row, col, c, attr);
sys/dev/pci/radeonfb_bios.c
260
uint8_t c;
sys/dev/pci/radeonfb_bios.c
263
while ((c = GETBIOS8(sc, offset + 1)) != 0) {
sys/dev/pci/radeonfb_bios.c
264
if (c & 0x40)
sys/dev/pci/radeonfb_bios.c
266
else if (c & 0x80)
sys/dev/pci/tga.c
1215
tga_putchar(void *c, int row, int col, u_int uc, long attr)
sys/dev/pci/tga.c
1217
struct rasops_info *ri = c;
sys/dev/pci/tga.c
1276
tga_eraserows(void *c, int row, int num, long attr)
sys/dev/pci/tga.c
1278
struct rasops_info *ri = c;
sys/dev/pci/tga.c
1326
tga_erasecols (void *c, int row, int col, int num, long attr)
sys/dev/pci/tga.c
1328
struct rasops_info *ri = c;
sys/dev/pci/tga.c
90
static void tga_putchar(void *c, int row, int col, u_int uc, long attr);
sys/dev/pci/ubsec.c
3018
ubsec_dump_ctx2(volatile struct ubsec_ctx_keyop *c)
sys/dev/pci/ubsec.c
3020
printf("CTX (0x%x):\n", c->ctx_len);
sys/dev/pci/ubsec.c
3021
switch (letoh16(c->ctx_op)) {
sys/dev/pci/ubsec.c
3027
struct ubsec_ctx_modexp *cx = (void *)c;
sys/dev/pci/ubsec.c
3039
printf("unknown context: %x\n", c->ctx_op);
sys/dev/pci/ubsec.c
3076
u_int8_t c, *p = cr->crp_p;
sys/dev/pci/ubsec.c
3079
c = p[i];
sys/dev/pci/ubsec.c
3080
if (c != 0) {
sys/dev/pci/ubsec.c
3081
while ((c & 0x80) == 0) {
sys/dev/pci/ubsec.c
3083
c <<= 1;
sys/dev/pci/ubsec.c
957
struct cryptoini *c, *encini = NULL, *macini = NULL;
sys/dev/pci/ubsec.c
964
for (c = cri; c != NULL; c = c->cri_next) {
sys/dev/pci/ubsec.c
965
if (c->cri_alg == CRYPTO_MD5_HMAC_96 ||
sys/dev/pci/ubsec.c
966
c->cri_alg == CRYPTO_SHA1_HMAC_96) {
sys/dev/pci/ubsec.c
969
macini = c;
sys/dev/pci/ubsec.c
970
} else if (c->cri_alg == CRYPTO_DES_CBC ||
sys/dev/pci/ubsec.c
971
c->cri_alg == CRYPTO_3DES_CBC ||
sys/dev/pci/ubsec.c
972
c->cri_alg == CRYPTO_AES_CBC) {
sys/dev/pci/ubsec.c
975
encini = c;
sys/dev/pci/unichromefb.c
1545
uni_putchar(void *opaque, int row, int col, u_int c, long attr)
sys/dev/pci/unichromefb.c
1563
if (!CHAR_IN_FONT(c, ri->ri_font))
sys/dev/pci/unichromefb.c
1569
if (c == 0x20)
sys/dev/pci/unichromefb.c
1572
uc = c - ri->ri_font->firstchar;
sys/dev/pci/unichromefb.c
498
unichromefb_init_screen(void *c, struct vcons_screen *scr, int existing,
sys/dev/pci/unichromefb.c
504
sc = (struct unichromefb_softc *)c;
sys/dev/pci/veritefb.c
1950
uint32_t c, p1, p2;
sys/dev/pci/veritefb.c
1975
for (c = 0; c < VRISC_ICACHESIZE * 2; c += VRISC_ICACHELINESIZE)
sys/dev/pci/veritefb.c
1976
veritefb_risc_forcestep(sc, VRISC_JMP(c >> 2));
sys/dev/pci/veritefb.c
3449
veritefb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/veritefb.c
3454
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/veritefb.c
3462
sc->sc_orig_putchar(cookie, row, col, c, attr);
sys/dev/pci/veritefb.c
3467
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/veritefb.c
3477
if (c == ' ') {
sys/dev/pci/veritefb.c
3479
sc->sc_orig_putchar(cookie, row, col, c, attr);
sys/dev/pci/veritefb.c
3489
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/pci/veritefb.c
3499
sc->sc_orig_putchar(cookie, row, col, c, attr &
sys/dev/pci/veritefb.c
3504
glyphcache_add(&sc->sc_gc, c, x, y);
sys/dev/pci/viogpu.c
859
viogpu_cursor(void *c, int on, int row, int col)
sys/dev/pci/viogpu.c
861
struct rasops_info *ri = c;
sys/dev/pci/viogpu.c
865
sc->ri_cursor(c, on, row, col);
sys/dev/pci/viogpu.c
871
viogpu_putchar(void *c, int row, int col, u_int uc, long attr)
sys/dev/pci/viogpu.c
873
struct rasops_info *ri = c;
sys/dev/pci/viogpu.c
877
sc->ri_putchar(c, row, col, uc, attr);
sys/dev/pci/viogpu.c
883
viogpu_copycols(void *c, int row, int srccol, int dstcol, int ncols)
sys/dev/pci/viogpu.c
885
struct rasops_info *ri = c;
sys/dev/pci/viogpu.c
889
sc->ri_copycols(c, row, srccol, dstcol, ncols);
sys/dev/pci/viogpu.c
895
viogpu_erasecols(void *c, int row, int startcol, int ncols, long attr)
sys/dev/pci/viogpu.c
897
struct rasops_info *ri = c;
sys/dev/pci/viogpu.c
901
sc->ri_erasecols(c, row, startcol, ncols, attr);
sys/dev/pci/viogpu.c
907
viogpu_copyrows(void *c, int srcrow, int dstrow, int nrows)
sys/dev/pci/viogpu.c
909
struct rasops_info *ri = c;
sys/dev/pci/viogpu.c
913
sc->ri_copyrows(c, srcrow, dstrow, nrows);
sys/dev/pci/viogpu.c
919
viogpu_eraserows(void *c, int row, int nrows, long attr)
sys/dev/pci/viogpu.c
921
struct rasops_info *ri = c;
sys/dev/pci/viogpu.c
925
sc->ri_eraserows(c, row, nrows, attr);
sys/dev/pci/viogpu.c
931
viogpu_replaceattr(void *c, long oldattr, long newattr)
sys/dev/pci/viogpu.c
933
struct rasops_info *ri = c;
sys/dev/pci/viogpu.c
937
sc->ri_replaceattr(c, oldattr, newattr);
sys/dev/pci/voodoofb.c
757
voodoofb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/voodoofb.c
760
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/voodoofb.c
772
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/voodoofb.c
778
if (c == 0x20) {
sys/dev/pci/voodoofb.c
781
uc = c - font->firstchar;
sys/dev/pci/voodoofb.c
794
voodoofb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/voodoofb.c
797
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/voodoofb.c
808
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/voodoofb.c
817
if (c == 0x20) {
sys/dev/pci/voodoofb.c
823
if ((attr == sc->sc_defattr) && (c < 256)) {
sys/dev/pci/voodoofb.c
824
uint32_t offset = sc->sc_glyphs_defattr[c];
sys/dev/pci/voodoofb.c
842
sc->sc_glyphs_defattr[c] = save_offset;
sys/dev/pci/voodoofb.c
845
data = WSFONT_GLYPH(c, font);
sys/dev/pci/voyager/voyagerfb.c
1359
voyagerfb_putchar_mono(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/voyager/voyagerfb.c
1362
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/voyager/voyagerfb.c
1373
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/voyager/voyagerfb.c
1383
if (c == 0x20) {
sys/dev/pci/voyager/voyagerfb.c
1388
data = WSFONT_GLYPH(c, font);
sys/dev/pci/voyager/voyagerfb.c
1417
voyagerfb_putchar_aa32(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/voyager/voyagerfb.c
1420
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/voyager/voyagerfb.c
1435
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/voyager/voyagerfb.c
1445
if (c == 0x20) {
sys/dev/pci/voyager/voyagerfb.c
1450
data = WSFONT_GLYPH(c, font);
sys/dev/pci/voyager/voyagerfb.c
1457
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/pci/voyager/voyagerfb.c
1502
glyphcache_add(&sc->sc_gc, c, x, y);
sys/dev/pci/voyager/voyagerfb.c
1507
voyagerfb_putchar_aa8(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/voyager/voyagerfb.c
1510
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/voyager/voyagerfb.c
1525
if (!CHAR_IN_FONT(c, font))
sys/dev/pci/voyager/voyagerfb.c
1534
if (c == 0x20) {
sys/dev/pci/voyager/voyagerfb.c
1539
data = WSFONT_GLYPH(c, font);
sys/dev/pci/voyager/voyagerfb.c
1546
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/pci/voyager/voyagerfb.c
1613
glyphcache_add(&sc->sc_gc, c, x, y);
sys/dev/pci/wcfb.c
546
wcfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/wcfb.c
556
sc->putchar(ri, row, col, c, attr);
sys/dev/pci/wcfb.c
843
wcfb_acc_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/wcfb.c
848
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/pci/wcfb.c
857
if (c == 0x20) {
sys/dev/pci/wcfb.c
864
sc->putchar(ri, row, col, c, attr);
sys/dev/pci/yds.c
144
#define YWRITEREGION4(sc, r, x, c) \
sys/dev/pci/yds.c
145
bus_space_write_region_4((sc)->memt, (sc)->memh, (r), (x), (c) / 4)
sys/dev/pckbport/pckbport.c
204
int c;
sys/dev/pckbport/pckbport.c
206
c = pckbport_poll_data1(t, slot);
sys/dev/pckbport/pckbport.c
207
if (c != -1 && q && CMD_IN_QUEUE(q))
sys/dev/pckbport/pckbport.c
212
if (pckbport_cmdresponse(t, slot, c))
sys/dev/pckbport/pckbport.c
214
return c;
sys/dev/pckbport/pckbport.c
251
int i, c = 0;
sys/dev/pckbport/pckbport.c
260
c = pckbport_poll_data1(t, slot);
sys/dev/pckbport/pckbport.c
261
if (c != -1)
sys/dev/pckbport/pckbport.c
264
switch (c) {
sys/dev/pckbport/pckbport.c
271
DPRINTF(("%s: %s\n", __func__, c == KBR_RESEND ?
sys/dev/pckbport/pckbport.c
272
"RESEND" : (c == KBR_BAT_DONE ? "BAT_DONE" :
sys/dev/pckbport/pckbport.c
286
DPRINTF(("%s: lost 0x%x\n", __func__, c));
sys/dev/pckbport/pckbport.c
295
c = pckbport_poll_data1(t, slot);
sys/dev/pckbport/pckbport.c
296
if (c != -1)
sys/dev/pckbport/pckbport.c
299
if (c == -1) {
sys/dev/pckbport/pckbport.c
304
cmd->response[cmd->responseidx++] = c;
sys/dev/pckbport/synapticsvar.h
71
#define SYN_TIME(sc,c) (((sc)->total_packets >= (c)) ? \
sys/dev/pckbport/synapticsvar.h
72
((sc)->total_packets - (c)) : \
sys/dev/pckbport/synapticsvar.h
73
((c) - (sc)->total_packets))
sys/dev/pcmcia/if_ray.c
2965
ray_read_region(struct ray_softc *sc, bus_size_t off, void *vp, size_t c)
sys/dev/pcmcia/if_ray.c
2976
if ((n4 = c / 4)) {
sys/dev/pcmcia/if_ray.c
2979
tmp = c & ~0x3;
sys/dev/pcmcia/if_ray.c
2980
c &= 0x3;
sys/dev/pcmcia/if_ray.c
2984
switch (c) {
sys/dev/pcmcia/if_ray.c
2996
if ((n2 = (c >> 1)))
sys/dev/pcmcia/if_ray.c
2999
if (c & 1) {
sys/dev/pcmcia/if_ray.c
3000
c &= ~0x1;
sys/dev/pcmcia/if_ray.c
3001
*(p + c) = bus_space_read_1(sc->sc_memt, sc->sc_memh,
sys/dev/pcmcia/if_ray.c
3002
off + c);
sys/dev/pcmcia/if_ray.c
3007
bus_space_read_region_1(sc->sc_memt, sc->sc_memh, off, p, c);
sys/dev/pcmcia/if_ray.c
3011
bus_space_read_region_1(sc->sc_memt, sc->sc_memh, off, vp, c);
sys/dev/pcmcia/if_ray.c
3021
ray_write_region(struct ray_softc *sc, bus_size_t off, void *vp, size_t c)
sys/dev/pcmcia/if_ray.c
3031
if ((n4 = (c >> 2))) {
sys/dev/pcmcia/if_ray.c
3034
tmp = c & ~0x3;
sys/dev/pcmcia/if_ray.c
3035
c &= 0x3;
sys/dev/pcmcia/if_ray.c
3039
switch (c) {
sys/dev/pcmcia/if_ray.c
3051
if ((n2 = (c >> 1)))
sys/dev/pcmcia/if_ray.c
3054
if (c & 0x1) {
sys/dev/pcmcia/if_ray.c
3055
c &= ~0x1;
sys/dev/pcmcia/if_ray.c
3057
off + c, *(p + c));
sys/dev/pcmcia/if_ray.c
3062
bus_space_write_region_1(sc->sc_memt, sc->sc_memh, off, p, c);
sys/dev/pcmcia/if_ray.c
3066
bus_space_write_region_1(sc->sc_memt, sc->sc_memh, off, vp, c);
sys/dev/ppbus/if_plip.c
484
u_char c, cl;
sys/dev/ppbus/if_plip.c
501
c = ppbus_rstr(ppbus);
sys/dev/ppbus/if_plip.c
504
return (ctrecvl[cl] | ctrecvh[c]);
sys/dev/ppbus/if_plip.c
540
u_char c, cl;
sys/dev/ppbus/if_plip.c
615
c = ppbus_rstr(ppbus);
sys/dev/ppbus/if_plip.c
618
*bp++= trecvh[cl] | trecvl[c];
sys/dev/ppbus/if_plip.c
622
if (cl != c &&
sys/dev/ppbus/if_plip.c
624
0xf8) == (c & 0xf8))
sys/dev/ppbus/ppbus_msq.h
50
char *c;
sys/dev/qbus/dhu.c
100
#define DHU_M2U(c) ((c)>>4) /* convert minor(dev) to unit # */
sys/dev/qbus/dhu.c
254
unsigned c;
sys/dev/qbus/dhu.c
266
c = DHU_READ_WORD(DHU_UBA_RBUF);
sys/dev/qbus/dhu.c
268
if ((c&DHU_DIAG_CODE) == DHU_DIAG_CODE) {
sys/dev/qbus/dhu.c
269
if ((c&0200) == 0000)
sys/dev/qbus/dhu.c
271
((c>>1)&01), ((c>>2)&037));
sys/dev/qbus/dhu.c
272
else if (((c>>2)&07) != 0)
sys/dev/qbus/dhu.c
274
((c>>1)&01), ((c>>2)&07));
sys/dev/qbus/dhu.c
278
c = DHU_READ_WORD(DHU_UBA_STAT);
sys/dev/qbus/dhu.c
280
sc->sc_type = (c & DHU_STAT_DHU)? IS_DHU: IS_DHV;
sys/dev/qbus/dhu.c
283
if (sc->sc_type == IS_DHU && (c & DHU_STAT_MDL))
sys/dev/qbus/dhu.c
322
unsigned c, delta;
sys/dev/qbus/dhu.c
325
while ((c = DHU_READ_WORD(DHU_UBA_RBUF)) & DHU_RBUF_DATA_VALID) {
sys/dev/qbus/dhu.c
329
if ((c & DHU_DIAG_CODE) == DHU_DIAG_CODE)
sys/dev/qbus/dhu.c
332
cc = c & 0xFF;
sys/dev/qbus/dhu.c
333
line = DHU_LINE(c>>8);
sys/dev/qbus/dhu.c
338
if ((c & DHU_DIAG_CODE) == DHU_MODEM_CODE) {
sys/dev/qbus/dhu.c
339
c = (c << 8);
sys/dev/qbus/dhu.c
341
if (c & DHU_STAT_DCD) {
sys/dev/qbus/dhu.c
350
delta = c ^ sc->sc_dhu[line].dhu_modem;
sys/dev/qbus/dhu.c
351
sc->sc_dhu[line].dhu_modem = c;
sys/dev/qbus/dhu.c
355
if (c & DHU_STAT_CTS) {
sys/dev/qbus/dhu.c
371
if ((c & DHU_RBUF_OVERRUN_ERR) && overrun == 0) {
sys/dev/qbus/dhu.c
377
if (c & DHU_RBUF_FRAMING_ERR)
sys/dev/qbus/dhu.c
379
if (c & DHU_RBUF_PARITY_ERR)
sys/dev/qbus/dl.c
283
unsigned c;
sys/dev/qbus/dl.c
286
c = DL_READ_WORD(DL_UBA_RBUF);
sys/dev/qbus/dl.c
287
cc = c & 0xFF;
sys/dev/qbus/dl.c
294
if (c & DL_RBUF_OVERRUN_ERR) {
sys/dev/qbus/dl.c
302
if (c & DL_RBUF_FRAMING_ERR)
sys/dev/qbus/dl.c
304
if (c & DL_RBUF_PARITY_ERR)
sys/dev/qbus/if_de.c
203
const char *c;
sys/dev/qbus/if_de.c
218
c = "broken";
sys/dev/qbus/if_de.c
220
c = "delua";
sys/dev/qbus/if_de.c
222
c = "deuna";
sys/dev/qbus/if_de.c
251
printf(": %s, hardware address %s\n", c, ether_sprintf(myaddr));
sys/dev/qbus/qd.c
1765
int which_unit, unit, c;
sys/dev/qbus/qd.c
1789
c = getc(&tp->t_outq);
sys/dev/qbus/qd.c
1791
blitc(which_unit, (u_char)c);
sys/dev/qbus/qd.c
2305
char a, b, c; /* mouse button test variables */
sys/dev/qbus/qd.c
2517
for ( c = 1; c < 8; c <<= 1) {
sys/dev/qbus/qd.c
2519
if (!( c & (a ^ b))) /* this button change? */
sys/dev/qbus/qd.c
2543
if (c == RIGHT_BUTTON)
sys/dev/qbus/qd.c
2545
else if (c == MIDDLE_BUTTON)
sys/dev/qbus/qd.c
2547
else if (c == LEFT_BUTTON)
sys/dev/qbus/qd.c
2552
if (c & a)
sys/dev/qbus/qd.c
2717
for ( c = 1; c <= 0x10; c <<= 1) {
sys/dev/qbus/qd.c
2718
if (c & (a ^ b)) {
sys/dev/qbus/qd.c
2719
if (c == T_LEFT_BUTTON)
sys/dev/qbus/qd.c
2721
else if (c == T_FRONT_BUTTON)
sys/dev/qbus/qd.c
2723
else if (c == T_RIGHT_BUTTON)
sys/dev/qbus/qd.c
2725
else if (c == T_BACK_BUTTON)
sys/dev/qbus/qd.c
2733
if (c & a)
sys/dev/raidframe/rf_dagfuncs.c
647
unsigned long *c, int len, void *bp)
sys/dev/raidframe/rf_dagfuncs.c
657
pg_c = c;
sys/dev/raidframe/rf_dagfuncs.c
671
c++;
sys/dev/raidframe/rf_dagfuncs.c
682
if (RF_PAGE_ALIGNED(c)) {
sys/dev/raidframe/rf_dagfuncs.c
691
longs_this_time = RF_MIN(len, RF_MIN(RF_BLIP(a), RF_MIN(RF_BLIP(b), RF_MIN(RF_BLIP(c), RF_BLIP(dst)))) >> RF_LONGSHIFT);
sys/dev/raidframe/rf_dagfuncs.c
694
c += longs_this_time;
sys/dev/raidframe/rf_dagfuncs.c
758
if (RF_PAGE_ALIGNED(c)) {
sys/dev/raidframe/rf_dagfuncs.c
759
pg_c = c;
sys/dev/raidframe/rf_dagfuncs.c
776
c++;
sys/dev/raidframe/rf_dagfuncs.c
789
if (RF_PAGE_ALIGNED(c)) {
sys/dev/raidframe/rf_dagfuncs.c
790
pg_c = c;
sys/dev/raidframe/rf_dagfuncs.c
807
unsigned char *c, unsigned long len, void *bp)
sys/dev/raidframe/rf_dagfuncs.c
809
RF_ASSERT(((RF_UL(dst) | RF_UL(a) | RF_UL(b) | RF_UL(c) | len) & 0x7) == 0);
sys/dev/raidframe/rf_dagfuncs.c
812
(unsigned long *) b, (unsigned long *) c, len >> RF_LONGSHIFT, bp));
sys/dev/raidframe/rf_dagfuncs.h
65
unsigned long *c, int len, void *bp);
sys/dev/raidframe/rf_dagfuncs.h
68
unsigned char *c, unsigned long len, void *bp);
sys/dev/raidframe/rf_diskqueue.c
102
#define Dprintf3(s,a,b,c)
sys/dev/raidframe/rf_diskqueue.c
169
RF_RowCol_t c, const RF_DiskQueueSW_t *p,
sys/dev/raidframe/rf_diskqueue.c
174
diskqueue->col = c;
sys/dev/raidframe/rf_diskqueue.c
184
diskqueue->rf_cinfo = &raidPtr->raid_cinfo[c];
sys/dev/raidframe/rf_diskqueue.c
229
RF_RowCol_t r,c;
sys/dev/raidframe/rf_diskqueue.c
253
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_diskqueue.c
254
rc = rf_ConfigureDiskQueue(raidPtr, &diskQueues[c],
sys/dev/raidframe/rf_diskqueue.c
255
c, p,
sys/dev/raidframe/rf_diskqueue.c
257
raidPtr->Disks[c].dev,
sys/dev/raidframe/rf_diskqueue.c
98
#define Dprintf3(s,a,b,c) if (rf_queueDebug) rf_debug_printf(s,(void *)((unsigned long)a),(void *)((unsigned long)b),(void *)((unsigned long)c),NULL,NULL,NULL,NULL,NULL)
sys/dev/raidframe/rf_disks.c
115
RF_RowCol_t c;
sys/dev/raidframe/rf_disks.c
129
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_disks.c
131
&cfgPtr->devnames[0][c][0],
sys/dev/raidframe/rf_disks.c
132
&disks[c], c);
sys/dev/raidframe/rf_disks.c
137
if (disks[c].status == rf_ds_optimal) {
sys/dev/raidframe/rf_disks.c
138
ret = raidfetch_component_label(raidPtr, c);
sys/dev/raidframe/rf_disks.c
143
if (!rf_reasonable_label(&raidPtr->raid_cinfo[c].ci_label,0) && !force) {
sys/dev/raidframe/rf_disks.c
144
disks[c].status = rf_ds_failed;
sys/dev/raidframe/rf_disks.c
148
if (disks[c].status != rf_ds_optimal) {
sys/dev/raidframe/rf_disks.c
151
if (disks[c].numBlocks < min_numblks)
sys/dev/raidframe/rf_disks.c
152
min_numblks = disks[c].numBlocks;
sys/dev/raidframe/rf_disks.c
154
c, disks[c].devname,
sys/dev/raidframe/rf_disks.c
155
disks[c].numBlocks,
sys/dev/raidframe/rf_disks.c
156
disks[c].blockSize,
sys/dev/raidframe/rf_disks.c
157
(long int) disks[c].numBlocks *
sys/dev/raidframe/rf_disks.c
158
disks[c].blockSize / 1024 / 1024);
sys/dev/raidframe/rf_disks.c
171
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_disks.c
172
if (disks[c].status == rf_ds_optimal) {
sys/dev/raidframe/rf_disks.c
173
bs = disks[c].blockSize;
sys/dev/raidframe/rf_disks.c
203
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_disks.c
204
if (disks[c].status == rf_ds_optimal) {
sys/dev/raidframe/rf_disks.c
205
if (disks[c].blockSize != bs) {
sys/dev/raidframe/rf_disks.c
206
RF_ERRORMSG1("Error: block size of disk at c %d different from disk at c 0\n", c);
sys/dev/raidframe/rf_disks.c
210
if (disks[c].numBlocks != min_numblks) {
sys/dev/raidframe/rf_disks.c
212
c, (int) min_numblks);
sys/dev/raidframe/rf_disks.c
213
disks[c].numBlocks = min_numblks;
sys/dev/raidframe/rf_disks.c
364
RF_RowCol_t c;
sys/dev/raidframe/rf_disks.c
406
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_disks.c
407
diskPtr = &disks[c];
sys/dev/raidframe/rf_disks.c
411
printf("Looking for %d in autoconfig\n",c);
sys/dev/raidframe/rf_disks.c
419
if ((ac->clabel->column == c) &&
sys/dev/raidframe/rf_disks.c
427
ac->devname,c);
sys/dev/raidframe/rf_disks.c
449
if (ac->clabel->column == c) {
sys/dev/raidframe/rf_disks.c
456
ac->devname,c);
sys/dev/raidframe/rf_disks.c
474
raidPtr->raid_cinfo[c].ci_vp = ac->vp;
sys/dev/raidframe/rf_disks.c
475
raidPtr->raid_cinfo[c].ci_dev = ac->dev;
sys/dev/raidframe/rf_disks.c
477
memcpy(raidget_component_label(raidPtr, c),
sys/dev/raidframe/rf_disks.c
519
disks[c].status = rf_ds_failed;
sys/dev/raidframe/rf_disks.c
529
disks[c].status = rf_ds_failed;
sys/dev/raidframe/rf_disks.c
530
snprintf(disks[c].devname, sizeof(disks[c].devname),
sys/dev/raidframe/rf_disks.c
531
"component%d", c);
sys/dev/raidframe/rf_disks.c
738
int c;
sys/dev/raidframe/rf_disks.c
783
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_disks.c
784
if (raidPtr->Disks[c].status != rf_ds_optimal)
sys/dev/raidframe/rf_disks.c
786
ci_label = raidget_component_label(raidPtr, c);
sys/dev/raidframe/rf_disks.c
840
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_disks.c
841
if (raidPtr->Disks[c].status != rf_ds_optimal)
sys/dev/raidframe/rf_disks.c
843
ci_label = raidget_component_label(raidPtr, c);
sys/dev/raidframe/rf_disks.c
845
hosed_column = c;
sys/dev/raidframe/rf_disks.c
889
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_disks.c
890
if (raidPtr->Disks[c].status != rf_ds_optimal)
sys/dev/raidframe/rf_disks.c
893
ci_label = raidget_component_label(raidPtr, c);
sys/dev/raidframe/rf_disks.c
895
if (hosed_column == c) {
sys/dev/raidframe/rf_disks.c
899
hosed_column = c;
sys/dev/raidframe/rf_disks.c
92
#define DPRINTF6(a,b,c,d,e,f) if (rf_diskDebug) printf(a,b,c,d,e,f)
sys/dev/raidframe/rf_disks.c
93
#define DPRINTF7(a,b,c,d,e,f,g) if (rf_diskDebug) printf(a,b,c,d,e,f,g)
sys/dev/raidframe/rf_disks.c
943
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_disks.c
944
if (raidPtr->Disks[c].status != rf_ds_optimal) {
sys/dev/raidframe/rf_disks.c
945
hosed_column = c;
sys/dev/raidframe/rf_disks.c
955
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_disks.c
956
dev_name = &cfgPtr->devnames[0][c][0];
sys/dev/raidframe/rf_disks.c
957
ci_label = raidget_component_label(raidPtr, c);
sys/dev/raidframe/rf_disks.c
959
if (c == hosed_column) {
sys/dev/raidframe/rf_disks.c
963
rf_print_label_status( raidPtr, c, dev_name, ci_label);
sys/dev/raidframe/rf_disks.c
964
if (rf_check_label_vitals( raidPtr, 0, c,
sys/dev/raidframe/rf_general.h
49
#define RF_ERRORMSG3(s,a,b,c) printf((s),(a),(b),(c))
sys/dev/raidframe/rf_layout.c
92
#define RF_NU(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p
sys/dev/raidframe/rf_netbsdkintf.c
2592
int c;
sys/dev/raidframe/rf_netbsdkintf.c
2594
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_netbsdkintf.c
2596
if (RF_DEAD_DISK(raidPtr->Disks[c].status))
sys/dev/raidframe/rf_netbsdkintf.c
2599
raidwrite_component_area(raidPtr->Disks[c].dev,
sys/dev/raidframe/rf_netbsdkintf.c
2600
raidPtr->raid_cinfo[c].ci_vp, map,
sys/dev/raidframe/rf_netbsdkintf.c
2611
int c,first;
sys/dev/raidframe/rf_netbsdkintf.c
2614
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_netbsdkintf.c
2616
if (RF_DEAD_DISK(raidPtr->Disks[c].status))
sys/dev/raidframe/rf_netbsdkintf.c
2618
raidread_component_area(raidPtr->Disks[c].dev,
sys/dev/raidframe/rf_netbsdkintf.c
2619
raidPtr->raid_cinfo[c].ci_vp, &tmp,
sys/dev/raidframe/rf_netbsdkintf.c
2637
int c;
sys/dev/raidframe/rf_netbsdkintf.c
2642
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_netbsdkintf.c
2645
if (!RF_DEAD_DISK(raidPtr->Disks[c].status)) {
sys/dev/raidframe/rf_netbsdkintf.c
2646
clabel = raidget_component_label(raidPtr, c);
sys/dev/raidframe/rf_netbsdkintf.c
2652
raidmarkdirty(raidPtr, c);
sys/dev/raidframe/rf_netbsdkintf.c
2657
for (c = 0; c < raidPtr->numSpare ; c++) {
sys/dev/raidframe/rf_netbsdkintf.c
2658
sparecol = raidPtr->numCol + c;
sys/dev/raidframe/rf_netbsdkintf.c
2699
int c;
sys/dev/raidframe/rf_netbsdkintf.c
2711
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_netbsdkintf.c
2712
if (raidPtr->Disks[c].status == rf_ds_optimal) {
sys/dev/raidframe/rf_netbsdkintf.c
2713
clabel = raidget_component_label(raidPtr, c);
sys/dev/raidframe/rf_netbsdkintf.c
2721
raidflush_component_label(raidPtr, c);
sys/dev/raidframe/rf_netbsdkintf.c
2724
raidmarkclean(raidPtr, c);
sys/dev/raidframe/rf_netbsdkintf.c
2731
for (c = 0; c < raidPtr->numSpare ; c++) {
sys/dev/raidframe/rf_netbsdkintf.c
2732
sparecol = raidPtr->numCol + c;
sys/dev/raidframe/rf_netbsdkintf.c
2793
int r,c;
sys/dev/raidframe/rf_netbsdkintf.c
2800
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_netbsdkintf.c
2801
vp = raidPtr->raid_cinfo[c].ci_vp;
sys/dev/raidframe/rf_netbsdkintf.c
2802
acd = raidPtr->Disks[c].auto_configured;
sys/dev/raidframe/rf_netbsdkintf.c
2804
raidPtr->raid_cinfo[c].ci_vp = NULL;
sys/dev/raidframe/rf_netbsdkintf.c
2805
raidPtr->Disks[c].auto_configured = 0;
sys/dev/raidframe/rf_netbsdkintf.c
3396
int c;
sys/dev/raidframe/rf_netbsdkintf.c
3434
for(c=0; c<num_cols; c++) {
sys/dev/raidframe/rf_netbsdkintf.c
3437
if ((ac->clabel->column == c) &&
sys/dev/raidframe/rf_netbsdkintf.c
3442
ac->devname,c);
sys/dev/raidframe/rf_netbsdkintf.c
3455
if (c%2 == 0) { /* even component */
sys/dev/raidframe/rf_netbsdkintf.c
3471
if ((parity_type == '1') && (c%2 == 1)) {
sys/dev/raidframe/rf_netbsdkintf.c
3850
int c;
sys/dev/raidframe/rf_netbsdkintf.c
3854
for (c = 0; c < raidPtr->numCol + raidPtr->numSpare; c++) {
sys/dev/raidframe/rf_netbsdkintf.c
3859
if (!RF_DEAD_DISK(raidPtr->Disks[c].status)) {
sys/dev/raidframe/rf_netbsdkintf.c
3860
error = VOP_IOCTL(raidPtr->raid_cinfo[c].ci_vp,
sys/dev/raidframe/rf_netbsdkintf.c
3866
raidPtr->Disks[c].devname);
sys/dev/raidframe/rf_netbsdkintf.c
3872
if (c == 0)
sys/dev/raidframe/rf_netbsdkintf.c
3891
rf_sync_component_cache(RF_Raid_t *raidPtr, int c, int force)
sys/dev/raidframe/rf_netbsdkintf.c
3895
e = VOP_IOCTL(raidPtr->raid_cinfo[c].ci_vp, DIOCCACHESYNC,
sys/dev/raidframe/rf_netbsdkintf.c
3900
raidPtr->raidid, i, raidPtr->Disks[c].devname, e);
sys/dev/raidframe/rf_netbsdkintf.c
3908
int c, error;
sys/dev/raidframe/rf_netbsdkintf.c
3911
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_netbsdkintf.c
3912
if (raidPtr->Disks[c].status == rf_ds_optimal) {
sys/dev/raidframe/rf_netbsdkintf.c
3913
int e = rf_sync_component_cache(raidPtr, c, force);
sys/dev/raidframe/rf_netbsdkintf.c
3919
for (c = 0; c < raidPtr->numSpare ; c++) {
sys/dev/raidframe/rf_netbsdkintf.c
3920
int sparecol = raidPtr->numCol + c;
sys/dev/raidframe/rf_netbsdkintf.c
848
int c, sparecol, j, scol, dumpto;
sys/dev/raidframe/rf_netbsdkintf.c
873
for (c = 0; c < raidPtr->numCol; c++) {
sys/dev/raidframe/rf_netbsdkintf.c
874
if (raidPtr->Disks[c].status == rf_ds_optimal) {
sys/dev/raidframe/rf_netbsdkintf.c
876
dumpto = c;
sys/dev/raidframe/rf_netbsdkintf.c
887
for (c = 0; c < raidPtr->numSpare; c++) {
sys/dev/raidframe/rf_netbsdkintf.c
888
sparecol = raidPtr->numCol + c;
sys/dev/raidframe/rf_nwayxor.c
108
unsigned long *c = (unsigned long *) src_rbs[1]->buffer;
sys/dev/raidframe/rf_nwayxor.c
114
*dst++ = *a++ ^ *b++ ^ *c++;
sys/dev/raidframe/rf_nwayxor.c
134
b0 = c[0];
sys/dev/raidframe/rf_nwayxor.c
142
b1 = c[1];
sys/dev/raidframe/rf_nwayxor.c
145
b2 = c[2];
sys/dev/raidframe/rf_nwayxor.c
148
b3 = c[3];
sys/dev/raidframe/rf_nwayxor.c
154
c += 4;
sys/dev/raidframe/rf_nwayxor.c
160
*dst++ = *a++ ^ *b++ ^ *c++;
sys/dev/raidframe/rf_nwayxor.c
197
unsigned long *c = (unsigned long *) src_rbs[1]->buffer;
sys/dev/raidframe/rf_nwayxor.c
204
*dst++ ^= *b++ ^ *c++ ^ *d++;
sys/dev/raidframe/rf_nwayxor.c
209
XOR_AND_LOAD_NEXT(c);
sys/dev/raidframe/rf_nwayxor.c
214
*dst++ ^= *b++ ^ *c++ ^ *d++;
sys/dev/raidframe/rf_nwayxor.c
224
unsigned long *c = (unsigned long *) src_rbs[1]->buffer;
sys/dev/raidframe/rf_nwayxor.c
232
*dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++;
sys/dev/raidframe/rf_nwayxor.c
237
XOR_AND_LOAD_NEXT(c);
sys/dev/raidframe/rf_nwayxor.c
243
*dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++;
sys/dev/raidframe/rf_nwayxor.c
253
unsigned long *c = (unsigned long *) src_rbs[1]->buffer;
sys/dev/raidframe/rf_nwayxor.c
262
*dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++;
sys/dev/raidframe/rf_nwayxor.c
267
XOR_AND_LOAD_NEXT(c);
sys/dev/raidframe/rf_nwayxor.c
274
*dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++;
sys/dev/raidframe/rf_nwayxor.c
284
unsigned long *c = (unsigned long *) src_rbs[1]->buffer;
sys/dev/raidframe/rf_nwayxor.c
294
*dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++ ^ *g++;
sys/dev/raidframe/rf_nwayxor.c
299
XOR_AND_LOAD_NEXT(c);
sys/dev/raidframe/rf_nwayxor.c
307
*dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++ ^ *g++;
sys/dev/raidframe/rf_nwayxor.c
317
unsigned long *c = (unsigned long *) src_rbs[1]->buffer;
sys/dev/raidframe/rf_nwayxor.c
328
*dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++ ^ *g++ ^ *h++;
sys/dev/raidframe/rf_nwayxor.c
333
XOR_AND_LOAD_NEXT(c);
sys/dev/raidframe/rf_nwayxor.c
342
*dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++ ^ *g++ ^ *h++;
sys/dev/raidframe/rf_nwayxor.c
352
unsigned long *c = (unsigned long *) src_rbs[1]->buffer;
sys/dev/raidframe/rf_nwayxor.c
364
*dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++ ^ *g++ ^ *h++ ^ *i++;
sys/dev/raidframe/rf_nwayxor.c
369
XOR_AND_LOAD_NEXT(c);
sys/dev/raidframe/rf_nwayxor.c
379
*dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++ ^ *g++ ^ *h++ ^ *i++;
sys/dev/raidframe/rf_nwayxor.c
390
unsigned long *c = (unsigned long *) src_rbs[1]->buffer;
sys/dev/raidframe/rf_nwayxor.c
403
*dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++ ^ *g++ ^ *h++ ^ *i++ ^ *j++;
sys/dev/raidframe/rf_nwayxor.c
408
XOR_AND_LOAD_NEXT(c);
sys/dev/raidframe/rf_nwayxor.c
419
*dst++ ^= *b++ ^ *c++ ^ *d++ ^ *e++ ^ *f++ ^ *g++ ^ *h++ ^ *i++ ^ *j++;
sys/dev/raidframe/rf_paritylogging.c
608
RF_CommonLogData_t *c;
sys/dev/raidframe/rf_paritylogging.c
628
c = raidPtr->parityLogDiskQueue.freeCommonList;
sys/dev/raidframe/rf_paritylogging.c
629
raidPtr->parityLogDiskQueue.freeCommonList = c->next;
sys/dev/raidframe/rf_paritylogging.c
631
rf_destroy_mutex2(c->mutex);
sys/dev/raidframe/rf_paritylogging.c
632
RF_Free(c, sizeof(RF_CommonLogData_t));
sys/dev/raidframe/rf_psstatus.c
53
#define Dprintf3(s,a,b,c) if (rf_pssDebug) rf_debug_printf(s,(void *)((unsigned long)a),(void *)((unsigned long)b),(void *)((unsigned long)c),NULL,NULL,NULL,NULL,NULL)
sys/dev/raidframe/rf_psstatus.c
57
#define Dprintf3(s,a,b,c)
sys/dev/raidframe/rf_reconbuffer.c
51
#define Dprintf3(s,a,b,c) if (rf_reconbufferDebug) printf(s,a,b,c)
sys/dev/raidframe/rf_reconbuffer.c
52
#define Dprintf4(s,a,b,c,d) if (rf_reconbufferDebug) printf(s,a,b,c,d)
sys/dev/raidframe/rf_reconbuffer.c
53
#define Dprintf5(s,a,b,c,d,e) if (rf_reconbufferDebug) printf(s,a,b,c,d,e)
sys/dev/raidframe/rf_reconbuffer.c
59
#define Dprintf3(s,a,b,c) {}
sys/dev/raidframe/rf_reconbuffer.c
60
#define Dprintf4(s,a,b,c,d) {}
sys/dev/raidframe/rf_reconbuffer.c
61
#define Dprintf5(s,a,b,c,d,e) {}
sys/dev/raidframe/rf_reconstruct.c
74
#define Dprintf3(s,a,b,c) if (rf_reconDebug) rf_debug_printf(s,(void *)((unsigned long)a),(void *)((unsigned long)b),(void *)((unsigned long)c),NULL,NULL,NULL,NULL,NULL)
sys/dev/raidframe/rf_reconstruct.c
75
#define Dprintf4(s,a,b,c,d) if (rf_reconDebug) rf_debug_printf(s,(void *)((unsigned long)a),(void *)((unsigned long)b),(void *)((unsigned long)c),(void *)((unsigned long)d),NULL,NULL,NULL,NULL)
sys/dev/raidframe/rf_reconstruct.c
76
#define Dprintf5(s,a,b,c,d,e) if (rf_reconDebug) rf_debug_printf(s,(void *)((unsigned long)a),(void *)((unsigned long)b),(void *)((unsigned long)c),(void *)((unsigned long)d),(void *)((unsigned long)e),NULL,NULL,NULL)
sys/dev/raidframe/rf_reconstruct.c
77
#define Dprintf6(s,a,b,c,d,e,f) if (rf_reconDebug) rf_debug_printf(s,(void *)((unsigned long)a),(void *)((unsigned long)b),(void *)((unsigned long)c),(void *)((unsigned long)d),(void *)((unsigned long)e),(void *)((unsigned long)f),NULL,NULL)
sys/dev/raidframe/rf_reconstruct.c
78
#define Dprintf7(s,a,b,c,d,e,f,g) if (rf_reconDebug) rf_debug_printf(s,(void *)((unsigned long)a),(void *)((unsigned long)b),(void *)((unsigned long)c),(void *)((unsigned long)d),(void *)((unsigned long)e),(void *)((unsigned long)f),(void *)((unsigned long)g),NULL)
sys/dev/raidframe/rf_reconstruct.c
88
#define Dprintf3(s,a,b,c) {}
sys/dev/raidframe/rf_reconstruct.c
89
#define Dprintf4(s,a,b,c,d) {}
sys/dev/raidframe/rf_reconstruct.c
90
#define Dprintf5(s,a,b,c,d,e) {}
sys/dev/raidframe/rf_reconstruct.c
91
#define Dprintf6(s,a,b,c,d,e,f) {}
sys/dev/raidframe/rf_reconstruct.c
92
#define Dprintf7(s,a,b,c,d,e,f,g) {}
sys/dev/raidframe/rf_stripelocks.c
76
#define Dprintf3(s,a,b,c) rf_debug_printf(s,(void *)((unsigned long)a),(void *)((unsigned long)b),(void *)((unsigned long)c),NULL,NULL,NULL,NULL,NULL)
sys/dev/raidframe/rf_stripelocks.c
77
#define Dprintf4(s,a,b,c,d) rf_debug_printf(s,(void *)((unsigned long)a),(void *)((unsigned long)b),(void *)((unsigned long)c),(void *)((unsigned long)d),NULL,NULL,NULL,NULL)
sys/dev/raidframe/rf_stripelocks.c
78
#define Dprintf5(s,a,b,c,d,e) rf_debug_printf(s,(void *)((unsigned long)a),(void *)((unsigned long)b),(void *)((unsigned long)c),(void *)((unsigned long)d),(void *)((unsigned long)e),NULL,NULL,NULL)
sys/dev/raidframe/rf_stripelocks.c
79
#define Dprintf6(s,a,b,c,d,e,f) rf_debug_printf(s,(void *)((unsigned long)a),(void *)((unsigned long)b),(void *)((unsigned long)c),(void *)((unsigned long)d),(void *)((unsigned long)e),(void *)((unsigned long)f),NULL,NULL)
sys/dev/raidframe/rf_stripelocks.c
80
#define Dprintf7(s,a,b,c,d,e,f,g) rf_debug_printf(s,(void *)((unsigned long)a),(void *)((unsigned long)b),(void *)((unsigned long)c),(void *)((unsigned long)d),(void *)((unsigned long)e),(void *)((unsigned long)f),(void *)((unsigned long)g),NULL)
sys/dev/raidframe/rf_stripelocks.c
81
#define Dprintf8(s,a,b,c,d,e,f,g,h) rf_debug_printf(s,(void *)((unsigned long)a),(void *)((unsigned long)b),(void *)((unsigned long)c),(void *)((unsigned long)d),(void *)((unsigned long)e),(void *)((unsigned long)f),(void *)((unsigned long)g),(void *)((unsigned long)h))
sys/dev/raidframe/rf_stripelocks.c
87
#define Dprintf3(s,a,b,c) {}
sys/dev/raidframe/rf_stripelocks.c
88
#define Dprintf4(s,a,b,c,d) {}
sys/dev/raidframe/rf_stripelocks.c
89
#define Dprintf5(s,a,b,c,d,e) {}
sys/dev/raidframe/rf_stripelocks.c
90
#define Dprintf6(s,a,b,c,d,e,f) {}
sys/dev/raidframe/rf_stripelocks.c
91
#define Dprintf7(s,a,b,c,d,e,f,g) {}
sys/dev/raidframe/rf_stripelocks.c
92
#define Dprintf8(s,a,b,c,d,e,f,g,h) {}
sys/dev/raidframe/rf_utils.c
71
rf_make_1d_array(int c, RF_AllocListElem_t *allocList)
sys/dev/raidframe/rf_utils.c
75
retval = RF_MallocAndAdd(c * sizeof(*retval), allocList);
sys/dev/raidframe/rf_utils.h
46
RF_RowCol_t *rf_make_1d_array(int c, RF_AllocListElem_t * allocList);
sys/dev/rasops/rasops.c
1000
c |= c << 16;
sys/dev/rasops/rasops.c
1012
c = (c & 0x0000ff) << 16|
sys/dev/rasops/rasops.c
1013
(c & 0x00ff00) |
sys/dev/rasops/rasops.c
1014
(c & 0xff0000) >> 16;
sys/dev/rasops/rasops.c
1020
c |= (c & 0xff) << 24;
sys/dev/rasops/rasops.c
1024
c = bswap32(c);
sys/dev/rasops/rasops.c
1028
ri->ri_devcmap[i] = c;
sys/dev/rasops/rasops.c
1252
int c, i, mid;
sys/dev/rasops/rasops.c
1267
for (c = 1; c < 16; c++) {
sys/dev/rasops/rasops.c
1269
if (c & 1) {
sys/dev/rasops/rasops.c
1274
if (c & 4) {
sys/dev/rasops/rasops.c
1279
if (c & 2) {
sys/dev/rasops/rasops.c
1285
if (c & 8) {
sys/dev/rasops/rasops.c
1296
int c, i, mid;
sys/dev/rasops/rasops.c
1307
for (c = 1; c < 16; c++) {
sys/dev/rasops/rasops.c
1309
if (c & 1) {
sys/dev/rasops/rasops.c
1314
if (c & 4) {
sys/dev/rasops/rasops.c
1319
if (c & 2) {
sys/dev/rasops/rasops.c
1325
if (c & 8) {
sys/dev/rasops/rasops.c
1336
int c, i, mid;
sys/dev/rasops/rasops.c
1351
for (c = 1; c < 16; c++) {
sys/dev/rasops/rasops.c
1353
if (c & 1) {
sys/dev/rasops/rasops.c
1358
if (c & 4) {
sys/dev/rasops/rasops.c
1363
if (c & 2) {
sys/dev/rasops/rasops.c
1369
if (c & 8) {
sys/dev/rasops/rasops.c
1380
int c, i, hmid, vmid, wi, he;
sys/dev/rasops/rasops.c
1391
for (c = 1; c < 16; c++) {
sys/dev/rasops/rasops.c
1393
if (c & 1) {
sys/dev/rasops/rasops.c
1401
if (c & 4) {
sys/dev/rasops/rasops.c
1409
if (c & 2) {
sys/dev/rasops/rasops.c
1417
if (c & 8) {
sys/dev/rasops/rasops.c
628
rasops_mapchar(void *cookie, int c, u_int *cp)
sys/dev/rasops/rasops.c
634
int glyph = wsfont_map_unichar(ri->ri_font, c);
sys/dev/rasops/rasops.c
893
uint32_t c;
sys/dev/rasops/rasops.c
915
c = apple4_devcmap[i];
sys/dev/rasops/rasops.c
917
c = i;
sys/dev/rasops/rasops.c
920
(c << 0) | (c << 4) | (c << 8) | (c << 12) |
sys/dev/rasops/rasops.c
921
(c << 16) | (c << 20) | (c << 24) | (c << 28);
sys/dev/rasops/rasops.c
929
c = apple8_devcmap[i];
sys/dev/rasops/rasops.c
931
c = i;
sys/dev/rasops/rasops.c
934
c | (c << 8) | (c << 16) | (c << 24);
sys/dev/rasops/rasops.c
944
c = (uint32_t)(*p >> (8 - ri->ri_rnum)) << ri->ri_rpos;
sys/dev/rasops/rasops.c
946
c = (uint32_t)(*p << (ri->ri_rnum - 8)) << ri->ri_rpos;
sys/dev/rasops/rasops.c
950
c |= (uint32_t)(*p >> (8 - ri->ri_gnum)) << ri->ri_gpos;
sys/dev/rasops/rasops.c
952
c |= (uint32_t)(*p << (ri->ri_gnum - 8)) << ri->ri_gpos;
sys/dev/rasops/rasops.c
956
c |= (uint32_t)(*p >> (8 - ri->ri_bnum)) << ri->ri_bpos;
sys/dev/rasops/rasops.c
958
c |= (uint32_t)(*p << (ri->ri_bnum - 8)) << ri->ri_bpos;
sys/dev/rasops/rasops.c
980
c = (i < 232 ? EP_COL(i) : EP_GREY(i));
sys/dev/rasops/rasops.c
993
c |= c << 8;
sys/dev/rasops/rasops.c
994
c |= c << 16;
sys/dev/rasops/rasops.c
999
c = bswap16(c);
sys/dev/rasops/rasops.h
161
#define CHAR_IN_FONT(c, font) \
sys/dev/rasops/rasops.h
162
((c) >= (font)->firstchar && \
sys/dev/rasops/rasops.h
163
(c) - (font)->firstchar < (font)->numchars)
sys/dev/rasops/rasops.h
165
#define PICK_FONT(ri, c) \
sys/dev/rasops/rasops.h
166
((((c) & WSFONT_FLAGS_MASK) == WSFONT_FLAG_OPT && \
sys/dev/rasops/rasops1-4_putchar.h
64
uint8_t c, w = *fr++; \
sys/dev/rasops/rasops1-4_putchar.h
66
c = clr[1]; \
sys/dev/rasops/rasops1-4_putchar.h
68
c = clr[0]; \
sys/dev/rasops/rasops1-4_putchar.h
70
c = (w * clr[1] + (0xff - w) * clr[0]) >> 8; \
sys/dev/rasops/rasops1-4_putchar.h
71
(tmp) |= c << (32 - PIXEL_BITS - bit); \
sys/dev/rasops/rasops_putchar.h
61
COLOR_TYPE c = clr[index]; \
sys/dev/rasops/rasops_putchar.h
62
*(p)++ = c >> 16; \
sys/dev/rasops/rasops_putchar.h
63
*(p)++ = c >> 8; \
sys/dev/rasops/rasops_putchar.h
64
*(p)++ = c; \
sys/dev/rcons/raster_op.c
138
#define ROP_DSTCOLOR(op,pre,d,c,pst) \
sys/dev/rcons/raster_op.c
156
(d) = (c); \
sys/dev/rcons/raster_op.c
230
#define ROP_SRCDSTCOLOR(op,pre,s,d,c,pst) \
sys/dev/rcons/raster_op.c
236
(d) = ~( (c) | (d) ); \
sys/dev/rcons/raster_op.c
244
(d) = ~(c) & (d); \
sys/dev/rcons/raster_op.c
250
(d) = ~(c); \
sys/dev/rcons/raster_op.c
258
(d) = (c) & ~(d); \
sys/dev/rcons/raster_op.c
266
(d) = (c) ^ (d); \
sys/dev/rcons/raster_op.c
272
(d) = ~( (c) & (d) ); \
sys/dev/rcons/raster_op.c
280
(d) = (c) & (d); \
sys/dev/rcons/raster_op.c
288
(d) = ~( (c) ^ (d) ); \
sys/dev/rcons/raster_op.c
296
(d) = ~(c) | (d); \
sys/dev/rcons/raster_op.c
304
(d) = (c); \
sys/dev/rcons/raster_op.c
312
(d) = (c) | ~(d); \
sys/dev/rcons/raster_op.c
320
(d) = (c) | (d); \
sys/dev/rcons/raster_op.c
351
#define ROP_DSTCOLOR(op,pre,d,c,pst) \
sys/dev/rcons/raster_op.c
366
(d) = (c); \
sys/dev/rcons/raster_op.c
395
#define ROP_SRCDSTCOLOR(op,pre,s,d,c,pst) \
sys/dev/rcons/raster_op.c
401
(d) = ~(c); \
sys/dev/rcons/raster_op.c
409
(d) = (c) ^ (d); \
sys/dev/rcons/raster_op.c
415
(d) = (c); \
sys/dev/rcons/raster_text.c
101
c = &(rf->chars['@']);
sys/dev/rcons/raster_text.c
102
charrast = c->r;
sys/dev/rcons/raster_text.c
103
if ( x + c->homex < 0 || y + c->homey < 0 ||
sys/dev/rcons/raster_text.c
104
x + c->homex + n * c->nextx > r->width ||
sys/dev/rcons/raster_text.c
105
y + c->homey + charrast->height > r->height )
sys/dev/rcons/raster_text.c
113
++i, x1 += c->nextx, y1 += c->nexty )
sys/dev/rcons/raster_text.c
115
c = &(rf->chars[text[i]]);
sys/dev/rcons/raster_text.c
116
charrast = c->r;
sys/dev/rcons/raster_text.c
119
if ( x1 + c->homex < 0 || y1 + c->homey < 0 ||
sys/dev/rcons/raster_text.c
120
x1 + c->homex + charrast->width > r->width ||
sys/dev/rcons/raster_text.c
121
y1 + c->homey + charrast->height > r->height )
sys/dev/rcons/raster_text.c
133
++i, x1 += c->nextx, y1 += c->nexty )
sys/dev/rcons/raster_text.c
136
c = &(rf->chars[ch]);
sys/dev/rcons/raster_text.c
137
charrast = c->r;
sys/dev/rcons/raster_text.c
140
thisx = x1 + c->homex;
sys/dev/rcons/raster_text.c
141
thisy = y1 + c->homey;
sys/dev/rcons/raster_text.c
150
int c;
sys/dev/rcons/raster_text.c
155
for ( c = 0; c < 256; ++c )
sys/dev/rcons/raster_text.c
156
rf->cache->cr[c] = (struct raster*) 0;
sys/dev/rcons/raster_text.c
88
struct raster_char* c;
sys/dev/rcons/rcons_kern.c
63
rcons_cnputc(int c)
sys/dev/rcons/rcons_kern.c
72
if (c == '\n')
sys/dev/rcons/rcons_kern.c
75
buf[0] = c;
sys/dev/rcons/rcons_subr.c
107
int c, i, j;
sys/dev/rcons/rcons_subr.c
135
c = *str;
sys/dev/rcons/rcons_subr.c
136
if (c == '\033') {
sys/dev/rcons/rcons_subr.c
144
rcons_esc(rc, c);
sys/dev/rcons/rcons_subr.c
151
if (RCONS_ISPRINT(c)) {
sys/dev/rcons/rcons_subr.c
163
rcons_pctrl(rc, c);
sys/dev/rcons/rcons_subr.c
175
rcons_pctrl(struct rconsole *rc, int c)
sys/dev/rcons/rcons_subr.c
178
switch (c) {
sys/dev/rcons/rcons_subr.c
218
rcons_esc(struct rconsole *rc, int c)
sys/dev/rcons/rcons_subr.c
221
if (c == '[') {
sys/dev/rcons/rcons_subr.c
225
} else if (c == ';') {
sys/dev/rcons/rcons_subr.c
229
} else if (RCONS_ISDIGIT(c)) {
sys/dev/rcons/rcons_subr.c
238
rc->rc_p0 += c - '0';
sys/dev/rcons/rcons_subr.c
246
rc->rc_p1 += c - '0';
sys/dev/rcons/rcons_subr.c
254
rcons_doesc(rc, c);
sys/dev/rcons/rcons_subr.c
262
rcons_sgresc(struct rconsole *rc, int c)
sys/dev/rcons/rcons_subr.c
265
switch (c) {
sys/dev/rcons/rcons_subr.c
277
rcons_setcolor(rc, c - 30, rc->rc_bgcolor);
sys/dev/rcons/rcons_subr.c
283
rcons_setcolor(rc, rc->rc_fgcolor, c - 40);
sys/dev/rcons/rcons_subr.c
309
rcons_doesc(struct rconsole *rc, int c)
sys/dev/rcons/rcons_subr.c
317
switch (c) {
sys/dev/rcons/rcons_subr.c
60
#define RCONS_ISPRINT(c) ((((c) >= ' ') && ((c) <= '~')) || ((c) > 160))
sys/dev/rcons/rcons_subr.c
62
#define RCONS_ISPRINT(c) (((((c) >= ' ') && ((c) <= '~'))) || ((c) > 127))
sys/dev/rcons/rcons_subr.c
64
#define RCONS_ISDIGIT(c) ((c) >= '0' && (c) <= '9')
sys/dev/sbus/agten.c
769
agten_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/sbus/agten.c
772
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/sbus/agten.c
787
if (c == 0x20) {
sys/dev/sbus/agten.c
795
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/sbus/agten.c
799
sc->sc_putchar(cookie, row, col, c, attr & ~1);
sys/dev/sbus/agten.c
802
glyphcache_add(&sc->sc_gc, c, x, y);
sys/dev/sbus/dbri.c
1041
sc->sc_mm.c.bcontrol[0] &= ~CS4215_CLB;
sys/dev/sbus/dbri.c
1042
pipe_transmit_fixed(sc, 17, sc->sc_mm.c.lcontrol);
sys/dev/sbus/dbri.c
1087
sc->sc_mm.c.bcontrol[0] |= CS4215_CLB;
sys/dev/sbus/dbri.c
1088
pipe_transmit_fixed(sc, 17, sc->sc_mm.c.lcontrol);
sys/dev/sbus/dbri.c
1616
sc->sc_mm.c.bcontrol[1] &= ~0x38;
sys/dev/sbus/dbri.c
1617
sc->sc_mm.c.bcontrol[1] |= CS4215_FREQ[rate].csval;
sys/dev/sbus/dbri.c
1618
sc->sc_mm.c.bcontrol[2] &= ~0x70;
sys/dev/sbus/dbri.c
1619
sc->sc_mm.c.bcontrol[2] |= CS4215_FREQ[rate].xtal;
sys/dev/sbus/dbri.c
1622
sc->sc_mm.c.bcontrol[1] &= ~3;
sys/dev/sbus/dbri.c
1623
sc->sc_mm.c.bcontrol[1] |= CS4215_DFR_LINEAR16;
sys/dev/sbus/dbri.c
1626
sc->sc_mm.c.bcontrol[1] |= CS4215_DFR_STEREO;
sys/dev/sbus/dbri.c
943
mm->c.bcontrol[0] = CS4215_ONE | CS4215_MLB;
sys/dev/sbus/dbri.c
944
mm->c.bcontrol[1] = CS4215_DFR_ULAW | CS4215_FREQ[0].csval;
sys/dev/sbus/dbri.c
945
mm->c.bcontrol[2] = CS4215_XCLK | CS4215_BSEL_128 | CS4215_FREQ[0].xtal;
sys/dev/sbus/dbri.c
946
mm->c.bcontrol[3] = 0;
sys/dev/sbus/magma.c
243
int c, co, br;
sys/dev/sbus/magma.c
248
for( c = 0, co = 8 ; co <= 2048 ; co <<= 2, c++ ) {
sys/dev/sbus/magma.c
252
*cor = c;
sys/dev/sbus/mgx.c
1074
struct wsdisplay_cmap c = {
sys/dev/sbus/mgx.c
1081
return mgx_getcmap(sc, &c);
sys/dev/sbus/mgx.c
1086
struct wsdisplay_cmap c = {
sys/dev/sbus/mgx.c
1093
return mgx_putcmap(sc, &c);
sys/dev/sbus/mgx.c
1223
uint8_t c;
sys/dev/sbus/mgx.c
1231
c = r[i] & 0xe0;
sys/dev/sbus/mgx.c
1232
c |= (g[i] & 0xe0) >> 3;
sys/dev/sbus/mgx.c
1233
c |= (b[i] & 0xc0) >> 6;
sys/dev/sbus/mgx.c
1234
mgx_write_1(sc, ATR_CURSOR_FG + i, c);
sys/dev/sbus/mgx.c
698
mgx_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/dev/sbus/mgx.c
701
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/sbus/mgx.c
716
if (c == 0x20) {
sys/dev/sbus/mgx.c
723
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/sbus/mgx.c
728
sc->sc_putchar(cookie, row, col, c, attr & ~1);
sys/dev/sbus/mgx.c
736
glyphcache_add(&sc->sc_gc, c, x, y);
sys/dev/sbus/mgx.c
744
mgx_putchar_mono(void *cookie, int row, int col, u_int c, long attr)
sys/dev/sbus/mgx.c
747
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/sbus/mgx.c
763
if (!CHAR_IN_FONT(c, font)) {
sys/dev/sbus/mgx.c
764
c = 0x20;
sys/dev/sbus/mgx.c
769
if (c == 0x20) {
sys/dev/sbus/mgx.c
796
s = WSFONT_GLYPH(c, font);
sys/dev/sbus/mgx.c
797
if ((c > 32) && (c < 256)) {
sys/dev/sbus/mgx.c
798
scratch += len * c;
sys/dev/sbus/mgx.c
799
if (sc->sc_in[c] == 0) {
sys/dev/sbus/mgx.c
803
sc->sc_in[c] = 1;
sys/dev/sbus/p9100.c
1121
p9100_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/sbus/p9100.c
1124
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/sbus/p9100.c
1135
if (!CHAR_IN_FONT(c, font))
sys/dev/sbus/p9100.c
1143
if (c == 0x20) {
sys/dev/sbus/p9100.c
1146
data = WSFONT_GLYPH(c, font);
sys/dev/sbus/p9100.c
1158
p9100_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/dev/sbus/p9100.c
1161
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/sbus/p9100.c
1173
if (!CHAR_IN_FONT(c, font))
sys/dev/sbus/p9100.c
1184
if (c == 0x20) {
sys/dev/sbus/p9100.c
1189
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/sbus/p9100.c
1193
data8 = WSFONT_GLYPH(c, font);
sys/dev/sbus/p9100.c
1254
glyphcache_add(&sc->sc_gc, c, x, y);
sys/dev/sbus/tcx.c
1125
tcx_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/sbus/tcx.c
1128
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/sbus/tcx.c
1157
uc = c - font->firstchar;
sys/dev/sbus/tcx.c
1251
uc = c - font->firstchar;
sys/dev/scsipi/ch.c
239
#define PLURAL(c) (c) == 1 ? "" : "s"
sys/dev/scsipi/scsipi_base.c
1459
u_int8_t *c = data + 4;
sys/dev/scsipi/scsipi_base.c
1473
= (struct scsi_repsupopcode_all_commands_descriptor *)c;
sys/dev/scsipi/scsipi_base.c
1478
c += sizeof(struct scsi_repsupopcode_all_commands_descriptor);
sys/dev/scsipi/scsipi_base.c
1496
= (struct scsi_repsupopcode_timeouts_descriptor *)c;
sys/dev/scsipi/scsipi_base.c
1502
c += sizeof(struct scsi_repsupopcode_timeouts_descriptor);
sys/dev/sdmmc/if_bwfm_sdio.c
2121
struct bwfm_sdio_console c;
sys/dev/sdmmc/if_bwfm_sdio.c
2129
(char *)&c, sizeof(c), 0);
sys/dev/sdmmc/if_bwfm_sdio.c
2133
c.log_buf = le32toh(c.log_buf);
sys/dev/sdmmc/if_bwfm_sdio.c
2134
c.log_bufsz = le32toh(c.log_bufsz);
sys/dev/sdmmc/if_bwfm_sdio.c
2135
c.log_idx = le32toh(c.log_idx);
sys/dev/sdmmc/if_bwfm_sdio.c
2138
sc->sc_console_buf = malloc(c.log_bufsz, M_DEVBUF,
sys/dev/sdmmc/if_bwfm_sdio.c
2140
sc->sc_console_buf_size = c.log_bufsz;
sys/dev/sdmmc/if_bwfm_sdio.c
2143
newidx = c.log_idx;
sys/dev/sdmmc/if_bwfm_sdio.c
2147
err = bwfm_sdio_ram_read_write(sc, c.log_buf, sc->sc_console_buf,
sys/dev/sequencer.c
1593
u_char c, bf[128];
sys/dev/sequencer.c
1608
error = uiomove(&c, 1, uio);
sys/dev/sequencer.c
1611
if (c != MIDI_SYSEX_START) /* must start like this */
sys/dev/sequencer.c
1615
error = midiseq_out(md, &c, 1, 0);
sys/dev/sequencer.c
1648
c = MIDI_SYSEX_END;
sys/dev/sequencer.c
1650
error = midiseq_out(md, &c, 1, 0);
sys/dev/smbios.c
100
#define SMBIOS_MAKESIG(a, b, c, d) \
sys/dev/smbios.c
101
((a) | ((b) << 8) | ((c) << 16) | ((d) << 24))
sys/dev/spi/spi.c
799
for(int c = 0; c < iovcnt;c++) {
sys/dev/spi/spi.c
803
spi_chunk_init(&ce->chunk, iov[c].iov_len, iov[c].iov_base, NULL);
sys/dev/spkr.c
247
char c = toupper((unsigned char)*cp);
sys/dev/spkr.c
250
if (0x20 <= c && c < 0x7f) {
sys/dev/spkr.c
251
device_printf(sc->sc_dev, "%s: '%c'\n", __func__, c);
sys/dev/spkr.c
253
device_printf(sc->sc_dev, "%s: (0x%x)\n", __func__, c);
sys/dev/spkr.c
257
switch (c) {
sys/dev/spkr.c
261
pitch = notetab[c - 'A'] + sc->sc_octave * OCTAVE_NOTES;
sys/dev/splash/splash.c
309
#define RGBTO16(b, o, x, c) \
sys/dev/splash/splash.c
312
*_ptr = (((c)[(x)*3+0] / 8) << 11) | \
sys/dev/splash/splash.c
313
(((c)[(x)*3+1] / 4) << 5) | \
sys/dev/splash/splash.c
314
(((c)[(x)*3+2] / 8) << 0); \
sys/dev/stbi/stb_image.c
1192
int c = h->code[i] << (FAST_BITS-s);
sys/dev/stbi/stb_image.c
1195
h->fast[c+j] = (uint8) i;
sys/dev/stbi/stb_image.c
1207
int c = get8(&j->s);
sys/dev/stbi/stb_image.c
1208
if (c != 0) {
sys/dev/stbi/stb_image.c
1209
j->marker = (unsigned char) c;
sys/dev/stbi/stb_image.c
1226
int c,k;
sys/dev/stbi/stb_image.c
1232
c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1);
sys/dev/stbi/stb_image.c
1233
k = h->fast[c];
sys/dev/stbi/stb_image.c
1263
c = ((j->code_buffer >> (32 - k)) & bmask[k]) + h->delta[k];
sys/dev/stbi/stb_image.c
1264
assert((((j->code_buffer) >> (32 - h->size[c])) & bmask[h->size[c]]) == h->code[c]);
sys/dev/stbi/stb_image.c
1269
return h->values[c];
sys/dev/stbi/stb_image.c
1682
int Lf,p,i,q, h_max=1,v_max=1,c;
sys/dev/stbi/stb_image.c
1687
c = get8(s);
sys/dev/stbi/stb_image.c
1688
if (c != 3 && c != 1) return e("bad component count","Corrupt JPEG"); // JFIF requires
sys/dev/stbi/stb_image.c
1689
s->img_n = c;
sys/dev/stbi/stb_image.c
1690
for (i=0; i < c; ++i) {
sys/dev/stbi/stb_image.c
2246
int c = next_code[s] - z->firstcode[s] + z->firstsymbol[s];
sys/dev/stbi/stb_image.c
2247
z->size[c] = (uint8)s;
sys/dev/stbi/stb_image.c
2248
z->value[c] = (uint16)i;
sys/dev/stbi/stb_image.c
2252
z->fast[m] = (uint16) c;
sys/dev/stbi/stb_image.c
2414
int c = zhuffman_decode(a, &z_codelength);
sys/dev/stbi/stb_image.c
2415
assert(c >= 0 && c < 19);
sys/dev/stbi/stb_image.c
2416
if (c < 16)
sys/dev/stbi/stb_image.c
2417
lencodes[n++] = (uint8) c;
sys/dev/stbi/stb_image.c
2418
else if (c == 16) {
sys/dev/stbi/stb_image.c
2419
c = zreceive(a,2)+3;
sys/dev/stbi/stb_image.c
2420
memset(lencodes+n, lencodes[n-1], c);
sys/dev/stbi/stb_image.c
2421
n += c;
sys/dev/stbi/stb_image.c
2422
} else if (c == 17) {
sys/dev/stbi/stb_image.c
2423
c = zreceive(a,3)+3;
sys/dev/stbi/stb_image.c
2424
memset(lencodes+n, 0, c);
sys/dev/stbi/stb_image.c
2425
n += c;
sys/dev/stbi/stb_image.c
2427
assert(c == 18);
sys/dev/stbi/stb_image.c
2428
c = zreceive(a,7)+11;
sys/dev/stbi/stb_image.c
2429
memset(lencodes+n, 0, c);
sys/dev/stbi/stb_image.c
2430
n += c;
sys/dev/stbi/stb_image.c
2660
#define PNG_TYPE(a,b,c,d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d))
sys/dev/stbi/stb_image.c
2664
chunk c;
sys/dev/stbi/stb_image.c
2665
c.length = get32(s);
sys/dev/stbi/stb_image.c
2666
c.type = get32(s);
sys/dev/stbi/stb_image.c
2667
return c;
sys/dev/stbi/stb_image.c
2696
static int paeth(int a, int b, int c)
sys/dev/stbi/stb_image.c
2698
int p = a + b - c;
sys/dev/stbi/stb_image.c
2701
int pc = abs(p-c);
sys/dev/stbi/stb_image.c
2704
return c;
sys/dev/stbi/stb_image.c
2969
chunk c = get_chunk_header(s);
sys/dev/stbi/stb_image.c
2970
switch (c.type) {
sys/dev/stbi/stb_image.c
2973
skip(s, c.length);
sys/dev/stbi/stb_image.c
2979
if (c.length != 13) return e("bad IHDR len","Corrupt PNG");
sys/dev/stbi/stb_image.c
3005
if (c.length > 256*3) return e("invalid PLTE","Corrupt PNG");
sys/dev/stbi/stb_image.c
3006
pal_len = c.length / 3;
sys/dev/stbi/stb_image.c
3007
if (pal_len * 3 != c.length) return e("invalid PLTE","Corrupt PNG");
sys/dev/stbi/stb_image.c
3023
if (c.length > pal_len) return e("bad tRNS len","Corrupt PNG");
sys/dev/stbi/stb_image.c
3025
for (i=0; i < c.length; ++i)
sys/dev/stbi/stb_image.c
3029
if (c.length != (uint32) s->img_n*2) return e("bad tRNS len","Corrupt PNG");
sys/dev/stbi/stb_image.c
3041
if (ioff + c.length > idata_limit) {
sys/dev/stbi/stb_image.c
3043
if (idata_limit == 0) idata_limit = c.length > 4096 ? c.length : 4096;
sys/dev/stbi/stb_image.c
3044
while (ioff + c.length > idata_limit)
sys/dev/stbi/stb_image.c
3049
if (!getn(s, z->idata+ioff,c.length)) return e("outofdata","Corrupt PNG");
sys/dev/stbi/stb_image.c
3050
ioff += c.length;
sys/dev/stbi/stb_image.c
3086
if ((c.type & (1 << 29)) == 0) {
sys/dev/stbi/stb_image.c
3090
invalid_chunk[0] = (uint8) (c.type >> 24);
sys/dev/stbi/stb_image.c
3091
invalid_chunk[1] = (uint8) (c.type >> 16);
sys/dev/stbi/stb_image.c
3092
invalid_chunk[2] = (uint8) (c.type >> 8);
sys/dev/stbi/stb_image.c
3093
invalid_chunk[3] = (uint8) (c.type >> 0);
sys/dev/stbi/stb_image.c
3097
skip(s, c.length);
sys/dev/stbi/stb_image.c
4424
uint8 *p, *c;
sys/dev/stbi/stb_image.c
4434
c = &g->color_table[g->codes[code].suffix * 4];
sys/dev/stbi/stb_image.c
4436
if (c[3] >= 128) {
sys/dev/stbi/stb_image.c
4437
p[0] = c[2];
sys/dev/stbi/stb_image.c
4438
p[1] = c[1];
sys/dev/stbi/stb_image.c
4439
p[2] = c[0];
sys/dev/stbi/stb_image.c
4440
p[3] = c[3];
sys/dev/stbi/stb_image.c
4538
uint8 *c = g->pal[g->bgindex];
sys/dev/stbi/stb_image.c
4542
p[0] = c[2];
sys/dev/stbi/stb_image.c
4543
p[1] = c[1];
sys/dev/stbi/stb_image.c
4544
p[2] = c[0];
sys/dev/stbi/stb_image.c
4545
p[3] = c[3];
sys/dev/stbi/stb_image.c
4780
char c = '\0';
sys/dev/stbi/stb_image.c
4782
c = (char) get8(z);
sys/dev/stbi/stb_image.c
4784
while (!at_eof(z) && c != '\n') {
sys/dev/stbi/stb_image.c
4785
buffer[len++] = c;
sys/dev/stbi/stb_image.c
4792
c = (char) get8(z);
sys/dev/sun/bt_subr.c
207
u_char *c[3], **p;
sys/dev/sun/bt_subr.c
218
c[0] = &cm->red[(4 * count) / 3];
sys/dev/sun/bt_subr.c
219
c[1] = &cm->green[(4 * count) / 3];
sys/dev/sun/bt_subr.c
220
c[2] = &cm->blue[(4 * count) / 3];
sys/dev/sun/bt_subr.c
221
p = &c[0];
sys/dev/sun/bt_subr.c
225
c[1-i]++;
sys/dev/sun/bt_subr.c
241
if (p++ == &c[2])
sys/dev/sun/bt_subr.c
243
p = &c[0];
sys/dev/sun/cgsix.c
1357
cgsix_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/sun/cgsix.c
1360
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/sun/cgsix.c
1372
if (!CHAR_IN_FONT(c, font))
sys/dev/sun/cgsix.c
1394
if (c == 0x20) {
sys/dev/sun/cgsix.c
1397
uc = c - font->firstchar;
sys/dev/sun/cgsix.c
1411
cgsix_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/dev/sun/cgsix.c
1414
struct wsdisplay_font *font = PICK_FONT(ri, c);
sys/dev/sun/cgsix.c
1428
if (!CHAR_IN_FONT(c, font))
sys/dev/sun/cgsix.c
1441
if (c == 0x20) {
sys/dev/sun/cgsix.c
1446
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/sun/cgsix.c
1450
data8 = WSFONT_GLYPH(c, font);
sys/dev/sun/cgsix.c
1513
glyphcache_add(&sc->sc_gc, c, x, y);
sys/dev/sun/kbd.c
842
kbd_code_to_keysym(struct kbd_state *ks, int c)
sys/dev/sun/kbd.c
851
if (KEY_UP(c))
sys/dev/sun/kbd.c
867
keysym = km[KEY_CODE(c)];
sys/dev/sun/kbd_reg.h
59
#define KBD_SPECIAL(c) (((c) & 0x7e) == 0x7e)
sys/dev/sun/kbd_tables.c
183
#define CTL(c) ((c)&0x1F)
sys/dev/sun/kbd_xlate.h
49
#define KEY_CODE(c) ((c) & KBD_KEYMASK) /* keyboard code index */
sys/dev/sun/kbd_xlate.h
50
#define KEY_UP(c) ((c) & KBD_UP) /* true => key went up */
sys/dev/sun/kbd_xlate.h
75
extern int kbd_code_to_keysym(struct kbd_state *ks, int c);
sys/dev/sun/kbd_zs.c
198
kbd_zs_write_data(struct kbd_sun_softc *k, int c)
sys/dev/sun/kbd_zs.c
204
zs_write_data(k->k_cs, c);
sys/dev/sun/kbd_zs.c
213
uint8_t c, rr1;
sys/dev/sun/kbd_zs.c
223
c = zs_read_data(cs);
sys/dev/sun/kbd_zs.c
237
if (c == k->k_magic2) {
sys/dev/sun/kbd_zs.c
242
c = k->k_magic1 | KBD_UP;
sys/dev/sun/kbd_zs.c
249
if (c == k->k_magic1) {
sys/dev/sun/kbd_zs.c
253
k->k_rbuf[put] = (c << 8) | rr1;
sys/dev/sun/kbd_zs.c
327
int get, c, s;
sys/dev/sun/kbd_zs.c
350
c = (ring_data >> 8) & 0xff;
sys/dev/sun/kbd_zs.c
366
kbd_sun_input(k, c);
sys/dev/sun/kbdsun.c
311
kbd_sun_output(struct kbd_sun_softc *k, int c)
sys/dev/sun/kbdsun.c
316
k->k_tbuf[put] = (uint8_t)c;
sys/dev/sun/kbdsun.c
357
uint8_t c;
sys/dev/sun/kbdsun.c
374
c = k->k_tbuf[get];
sys/dev/sun/kbdsun.c
380
(*k->k_write_data)(k, c);
sys/dev/sun/kbdsunvar.h
143
extern void kbd_sun_output(struct kbd_sun_softc *k, int c);
sys/dev/sun/ms.c
232
ms_input(struct ms_softc *ms, int c)
sys/dev/sun/ms.c
245
if (c == -1) {
sys/dev/sun/ms.c
249
if ((c & 0xb0) == 0x80) { /* if in 0x80..0x8f of 0xc0..0xcf */
sys/dev/sun/ms.c
250
if (c & 8) {
sys/dev/sun/ms.c
270
ms->ms_mb = (~c) & 0x7;
sys/dev/sun/ms.c
276
ms->ms_mb = (~c) & 0x7;
sys/dev/sun/ms.c
282
ms->ms_dx += (char)c;
sys/dev/sun/ms.c
288
ms->ms_dy += (char)c;
sys/dev/sun/ms.c
294
ms->ms_dx += (char)c;
sys/dev/sun/ms.c
300
ms->ms_dy += (char)c;
sys/dev/sun/ms_zs.c
172
uint8_t c, rr1;
sys/dev/sun/ms_zs.c
182
c = zs_read_data(cs);
sys/dev/sun/ms_zs.c
189
ms->ms_rbuf[put] = (c << 8) | rr1;
sys/dev/sun/ms_zs.c
249
int get, c, s;
sys/dev/sun/ms_zs.c
272
c = (ring_data >> 8) & 0xff;
sys/dev/sun/ms_zs.c
279
c = -1; /* signal input error */
sys/dev/sun/ms_zs.c
283
ms_input(ms, c);
sys/dev/sun/msvar.h
120
void ms_input(struct ms_softc *, int c);
sys/dev/sun/sunkbd.c
241
sunkbdinput(int c, struct tty *tp)
sys/dev/sun/sunkbd.c
249
if ((error = ((c & TTY_ERRORMASK))) != 0) {
sys/dev/sun/sunkbd.c
255
device_xname(k->k_kbd.k_dev), c);
sys/dev/sun/sunkbd.c
256
c &= TTY_CHARMASK;
sys/dev/sun/sunkbd.c
273
return(kbd_sun_input(k, c));
sys/dev/sun/sunkbd.c
300
sunkbd_write_data(struct kbd_sun_softc *k, int c)
sys/dev/sun/sunkbd.c
305
ttyoutput(c, tp);
sys/dev/sun/sunms.c
213
sunmsinput(int c, struct tty *tp)
sys/dev/sun/sunms.c
217
if (c & TTY_ERRORMASK) c = -1;
sys/dev/sun/sunms.c
218
else c &= TTY_CHARMASK;
sys/dev/sun/sunms.c
221
ms_input(ms, c);
sys/dev/tc/px.c
326
int c;
sys/dev/tc/px.c
342
for (c = STAMP_RETRIES; c != 0; c--) {
sys/dev/tc/pxg.c
319
int c;
sys/dev/tc/pxg.c
334
for (c = STAMP_RETRIES; c != 0; c--) {
sys/dev/tc/stic.c
1015
c *= font->fontwidth;
sys/dev/tc/stic.c
1022
v1 = (c << 19) | ((r << 3) + i);
sys/dev/tc/stic.c
1023
v2 = ((c + font->fontwidth) << 19) | (v1 & 0xffff);
sys/dev/tc/stic.c
1024
xya = XYMASKADDR(si->si_stampw, si->si_stamphm, c, r, 0, 0);
sys/dev/tc/stic.c
1058
v1 = (c << 19) | ((r << 3) + i);
sys/dev/tc/stic.c
1059
v2 = ((c + font->fontwidth) << 19) | (v1 & 0xffff);
sys/dev/tc/stic.c
1094
stic_mapchar(void *cookie, int c, u_int *cp)
sys/dev/tc/stic.c
1100
if (c < si->si_font->firstchar || c == ' ') {
sys/dev/tc/stic.c
1105
if (c - si->si_font->firstchar >= si->si_font->numchars) {
sys/dev/tc/stic.c
1110
*cp = c;
sys/dev/tc/stic.c
458
int r, c, o, b, i, s;
sys/dev/tc/stic.c
468
for (c = r & 1; c < si->si_fontw; c += 2) {
sys/dev/tc/stic.c
469
o = c >> 3;
sys/dev/tc/stic.c
470
b = 1 << (c & 7);
sys/dev/tc/stic.c
697
u_int r, c, nr, nc;
sys/dev/tc/stic.c
726
for (c = 0; c < nc; c += 2, p += 2) {
sys/dev/tc/stic.c
728
stic_putchar(ss, r, c, p[0] >> 8,
sys/dev/tc/stic.c
731
stic_putchar(ss, r, c + 1, p[1] >> 8,
sys/dev/tc/stic.c
974
stic_putchar(void *cookie, int r, int c, u_int uc, long attr)
sys/dev/tc/stic.c
988
stic_erasecols(cookie, r, c, 1, attr);
sys/dev/tc/stic.c
993
ss->ss_backing[r * si->si_consw + c] =
sys/dev/tc/tcdsreg.h
84
#define TCDS_CIR_CLR(c, b) c = ((c | TCDS_CIR_ALLINTR) & ~b)
sys/dev/tc/tcdsreg.h
85
#define TCDS_CIR_SET(c, b) c = ((c | TCDS_CIR_ALLINTR) | b)
sys/dev/tc/zs_ioasic.c
648
int s, c;
sys/dev/tc/zs_ioasic.c
657
c = zs_read_data(cs);
sys/dev/tc/zs_ioasic.c
664
return (c);
sys/dev/tc/zs_ioasic.c
671
zs_putc(struct zs_chanstate *cs, int c)
sys/dev/tc/zs_ioasic.c
682
zs_write_data(cs, c);
sys/dev/tc/zs_ioasic.c
834
zs_ioasic_cnputc(dev_t dev, int c)
sys/dev/tc/zs_ioasic.c
837
zs_putc(&zs_ioasic_conschanstate_store, c);
sys/dev/tc/zskbd.c
267
zskbd_sendchar(void *v, u_char c)
sys/dev/tc/zskbd.c
270
zs_write_data(cs, c);
sys/dev/tc/zskbd.c
280
int c;
sys/dev/tc/zskbd.c
283
c = zs_getc(zsi->zsi_cs);
sys/dev/tc/zskbd.c
284
} while (lk201_decode(&zsi->zsi_ks, 0, c, type, data) == LKD_NODATA);
sys/dev/tc/zskbd.c
364
u_char c, rr1;
sys/dev/tc/zskbd.c
374
c = zs_read_data(cs);
sys/dev/tc/zskbd.c
380
zskbd->zskbd_rbuf[put] = (c << 8) | rr1;
sys/dev/tc/zskbd.c
443
int get, c, s;
sys/dev/tc/zskbd.c
466
c = (ring_data >> 8) & 0xff;
sys/dev/tc/zskbd.c
474
c = -1; /* signal input error */
sys/dev/tc/zskbd.c
479
zskbd_input(zskbd, c);
sys/dev/tc/zsms.c
292
uint8_t c, rr1;
sys/dev/tc/zsms.c
302
c = zs_read_data(cs);
sys/dev/tc/zsms.c
308
zsms->zsms_rbuf[put] = (c << 8) | rr1;
sys/dev/tc/zsms.c
371
int get, c, s;
sys/dev/tc/zsms.c
394
c = (ring_data >> 8) & 0xff;
sys/dev/tc/zsms.c
401
c = -1; /* signal input error */
sys/dev/tc/zsms.c
405
zsms_input(zsms, c);
sys/dev/tprof/tprof.c
1086
tprof_cpu_t **cp = vcp, *c;
sys/dev/tprof/tprof.c
1088
c = kmem_zalloc(sizeof(*c), KM_SLEEP);
sys/dev/tprof/tprof.c
1089
c->c_buf = NULL;
sys/dev/tprof/tprof.c
1090
c->c_cpuid = cpu_index(ci);
sys/dev/tprof/tprof.c
1091
*cp = c;
sys/dev/tprof/tprof.c
1097
tprof_cpu_t **cp = vcp, *c;
sys/dev/tprof/tprof.c
1099
c = *cp;
sys/dev/tprof/tprof.c
1100
KASSERT(c->c_cpuid == cpu_index(ci));
sys/dev/tprof/tprof.c
1101
KASSERT(c->c_buf == NULL);
sys/dev/tprof/tprof.c
1102
kmem_free(c, sizeof(*c));
sys/dev/tprof/tprof.c
142
tprof_cpu_t *c;
sys/dev/tprof/tprof.c
151
c = tprof_cpu_direct(ci);
sys/dev/tprof/tprof.c
154
return c;
sys/dev/tprof/tprof.c
185
tprof_buf_switch(tprof_cpu_t *c, tprof_buf_t *new)
sys/dev/tprof/tprof.c
189
old = c->c_buf;
sys/dev/tprof/tprof.c
190
c->c_buf = new;
sys/dev/tprof/tprof.c
197
tprof_cpu_t * const c = tprof_curcpu();
sys/dev/tprof/tprof.c
201
return tprof_buf_switch(c, new);
sys/dev/tprof/tprof.c
207
tprof_cpu_t * const c = tprof_curcpu();
sys/dev/tprof/tprof.c
212
KASSERT(wk == &c->c_work);
sys/dev/tprof/tprof.c
252
callout_schedule(&c->c_callout, hz / 8);
sys/dev/tprof/tprof.c
259
tprof_cpu_t * const c = tprof_cpu(ci);
sys/dev/tprof/tprof.c
261
workqueue_enqueue(tprof_wq, &c->c_work, ci);
sys/dev/tprof/tprof.c
274
tprof_cpu_t * const c = tprof_cpu(ci);
sys/dev/tprof/tprof.c
277
old = tprof_buf_switch(c, NULL);
sys/dev/tprof/tprof.c
281
callout_destroy(&c->c_callout);
sys/dev/tprof/tprof.c
378
tprof_cpu_t * const c = tprof_cpu(ci);
sys/dev/tprof/tprof.c
383
old = tprof_buf_switch(c, new);
sys/dev/tprof/tprof.c
387
callout_init(&c->c_callout, CALLOUT_MPSAFE);
sys/dev/tprof/tprof.c
388
callout_setfunc(&c->c_callout, tprof_kick, ci);
sys/dev/tprof/tprof.c
401
tprof_cpu_t * const c = tprof_cpu(ci);
sys/dev/tprof/tprof.c
406
workqueue_enqueue(tprof_wq, &c->c_work, ci);
sys/dev/tprof/tprof.c
483
int c, error;
sys/dev/tprof/tprof.c
497
c = param->p_counter;
sys/dev/tprof/tprof.c
498
if (c >= tb->tb_softc.sc_ncounters) {
sys/dev/tprof/tprof.c
510
if (ISSET(c, tb->tb_softc.sc_ctr_running_mask))
sys/dev/tprof/tprof.c
511
tprof_stop(__BIT(c));
sys/dev/tprof/tprof.c
513
sc->sc_count[c].ctr_bitwidth =
sys/dev/tprof/tprof.c
516
sc_param = &sc->sc_count[c].ctr_param;
sys/dev/tprof/tprof.c
522
freq = tb->tb_ops->tbo_counter_estimate_freq(c);
sys/dev/tprof/tprof.c
523
sc->sc_count[c].ctr_counter_val = freq / TPROF_HZ;
sys/dev/tprof/tprof.c
524
if (sc->sc_count[c].ctr_counter_val == 0) {
sys/dev/tprof/tprof.c
527
c, freq, TPROF_HZ);
sys/dev/tprof/tprof.c
528
sc->sc_count[c].ctr_counter_val =
sys/dev/tprof/tprof.c
543
sc->sc_count[c].ctr_counter_val =
sys/dev/tprof/tprof.c
544
sc->sc_count[c].ctr_counter_val * inum +
sys/dev/tprof/tprof.c
545
(sc->sc_count[c].ctr_counter_val * dnum >> 32);
sys/dev/tprof/tprof.c
546
if (sc->sc_count[c].ctr_counter_val == 0)
sys/dev/tprof/tprof.c
547
sc->sc_count[c].ctr_counter_val = 1;
sys/dev/tprof/tprof.c
553
__BITS(sc->sc_count[c].ctr_bitwidth - 1, 0)) {
sys/dev/tprof/tprof.c
555
__BITS(sc->sc_count[c].ctr_bitwidth - 1, 0);
sys/dev/tprof/tprof.c
557
sc->sc_count[c].ctr_counter_val = sc_param->p_value2;
sys/dev/tprof/tprof.c
562
sc->sc_count[c].ctr_counter_reset_val =
sys/dev/tprof/tprof.c
563
-sc->sc_count[c].ctr_counter_val;
sys/dev/tprof/tprof.c
564
sc->sc_count[c].ctr_counter_reset_val &=
sys/dev/tprof/tprof.c
565
__BITS(sc->sc_count[c].ctr_bitwidth - 1, 0);
sys/dev/tprof/tprof.c
567
sc->sc_count[c].ctr_counter_val = 0;
sys/dev/tprof/tprof.c
568
sc->sc_count[c].ctr_counter_reset_val = 0;
sys/dev/tprof/tprof.c
573
tprof_init_percpu_counters_offset, (void *)(uintptr_t)c);
sys/dev/tprof/tprof.c
575
sc_param->p_value = tb->tb_softc.sc_count[c].ctr_counter_reset_val;
sys/dev/tprof/tprof.c
578
tb, (void *)(uintptr_t)c);
sys/dev/tprof/tprof.c
583
SET(tb->tb_softc.sc_ctr_configured_mask, __BIT(c));
sys/dev/tprof/tprof.c
584
CLR(tb->tb_softc.sc_ctr_prof_mask, __BIT(c));
sys/dev/tprof/tprof.c
585
CLR(tb->tb_softc.sc_ctr_ovf_mask, __BIT(c));
sys/dev/tprof/tprof.c
588
SET(tb->tb_softc.sc_ctr_prof_mask, __BIT(c));
sys/dev/tprof/tprof.c
589
SET(tb->tb_softc.sc_ctr_ovf_mask, __BIT(c));
sys/dev/tprof/tprof.c
592
if (sc->sc_count[c].ctr_bitwidth != 64)
sys/dev/tprof/tprof.c
593
SET(tb->tb_softc.sc_ctr_ovf_mask, __BIT(c));
sys/dev/tprof/tprof.c
609
unsigned int c;
sys/dev/tprof/tprof.c
613
for (c = 0; c < sc->sc_ncounters; c++) {
sys/dev/tprof/tprof.c
614
if (ISSET(configmask, __BIT(c))) {
sys/dev/tprof/tprof.c
615
uint64_t ctr = tb->tb_ops->tbo_counter_read(c);
sys/dev/tprof/tprof.c
616
counters[c] = counters_offset[c] +
sys/dev/tprof/tprof.c
617
((ctr - sc->sc_count[c].ctr_counter_reset_val) &
sys/dev/tprof/tprof.c
618
__BITS(sc->sc_count[c].ctr_bitwidth - 1, 0));
sys/dev/tprof/tprof.c
620
counters[c] = 0;
sys/dev/tprof/tprof.c
709
tprof_cpu_t * const c = tprof_cpu_direct(curcpu());
sys/dev/tprof/tprof.c
710
tprof_buf_t * const buf = c->c_buf;
sys/dev/tprof/tprof.c
724
sp->s_cpuid = c->c_cpuid;
sys/dev/tprof/tprof_armv7.c
124
uint64_t c;
sys/dev/tprof/tprof_armv7.c
128
c = armreg_pmxevcntr_read();
sys/dev/tprof/tprof_armv7.c
130
return c;
sys/dev/tprof/tprof_armv8.c
101
uint64_t c;
sys/dev/tprof/tprof_armv8.c
105
c = reg_pmxevcntr_el0_read();
sys/dev/tprof/tprof_armv8.c
107
return c;
sys/dev/usb/if_atu.c
1506
atu_newbuf(struct atu_softc *sc, struct atu_chain *c, struct mbuf *m)
sys/dev/usb/if_atu.c
1531
c->atu_mbuf = m_new;
sys/dev/usb/if_atu.c
1539
struct atu_chain *c;
sys/dev/usb/if_atu.c
1546
c = &cd->atu_rx_chain[i];
sys/dev/usb/if_atu.c
1547
c->atu_sc = sc;
sys/dev/usb/if_atu.c
1548
c->atu_idx = i;
sys/dev/usb/if_atu.c
1549
if (c->atu_xfer == NULL) {
sys/dev/usb/if_atu.c
1551
ATU_RX_BUFSZ, 0, 0, &c->atu_xfer);
sys/dev/usb/if_atu.c
1554
c->atu_buf = usbd_get_buffer(c->atu_xfer);
sys/dev/usb/if_atu.c
1555
if (atu_newbuf(sc, c, NULL) == ENOBUFS) /* XXX free? */
sys/dev/usb/if_atu.c
1566
struct atu_chain *c;
sys/dev/usb/if_atu.c
1576
c = &cd->atu_tx_chain[i];
sys/dev/usb/if_atu.c
1577
c->atu_sc = sc;
sys/dev/usb/if_atu.c
1578
c->atu_idx = i;
sys/dev/usb/if_atu.c
1579
if (c->atu_xfer == NULL) {
sys/dev/usb/if_atu.c
1581
ATU_TX_BUFSZ, 0, 0, &c->atu_xfer);
sys/dev/usb/if_atu.c
1585
c->atu_buf = usbd_get_buffer(c->atu_xfer);
sys/dev/usb/if_atu.c
1586
SLIST_INSERT_HEAD(&cd->atu_tx_free, c, atu_list);
sys/dev/usb/if_atu.c
1617
struct atu_chain *c = (struct atu_chain *)priv;
sys/dev/usb/if_atu.c
1618
struct atu_softc *sc = c->atu_sc;
sys/dev/usb/if_atu.c
1683
h = (struct atu_rx_hdr *)c->atu_buf;
sys/dev/usb/if_atu.c
1686
m = c->atu_mbuf;
sys/dev/usb/if_atu.c
1687
memcpy(mtod(m, char *), c->atu_buf + ATU_RX_HDRLEN, len);
sys/dev/usb/if_atu.c
1698
if (atu_newbuf(sc, c, NULL) == ENOBUFS) {
sys/dev/usb/if_atu.c
1718
usbd_setup_xfer(c->atu_xfer, c, c->atu_buf, ATU_RX_BUFSZ,
sys/dev/usb/if_atu.c
1720
usbd_transfer(c->atu_xfer);
sys/dev/usb/if_atu.c
1730
struct atu_chain *c = (struct atu_chain *)priv;
sys/dev/usb/if_atu.c
1731
struct atu_softc *sc = c->atu_sc;
sys/dev/usb/if_atu.c
1739
m_freem(c->atu_mbuf);
sys/dev/usb/if_atu.c
1740
c->atu_mbuf = NULL;
sys/dev/usb/if_atu.c
1754
usbd_get_xfer_status(c->atu_xfer, NULL, NULL, NULL, &err);
sys/dev/usb/if_atu.c
1762
SLIST_INSERT_HEAD(&sc->atu_cdata.atu_tx_free, c, atu_list);
sys/dev/usb/if_atu.c
1786
struct atu_chain *c, struct mbuf *m)
sys/dev/usb/if_atu.c
1807
m_copydata(m, 0, m->m_pkthdr.len, c->atu_buf + ATU_TX_HDRLEN);
sys/dev/usb/if_atu.c
1809
h = (struct atu_tx_hdr *)c->atu_buf;
sys/dev/usb/if_atu.c
1819
c->atu_length = len;
sys/dev/usb/if_atu.c
1820
c->atu_mbuf = m;
sys/dev/usb/if_atu.c
1822
usbd_setup_xfer(c->atu_xfer, c, c->atu_buf, c->atu_length, 0,
sys/dev/usb/if_atu.c
1826
c->atu_in_xfer = 1;
sys/dev/usb/if_atu.c
1827
err = usbd_transfer(c->atu_xfer);
sys/dev/usb/if_atu.c
1831
c->atu_mbuf = NULL;
sys/dev/usb/if_atu.c
1846
struct atu_chain *c;
sys/dev/usb/if_atu.c
1864
c = SLIST_FIRST(&cd->atu_tx_free);
sys/dev/usb/if_atu.c
1865
if (c != NULL) {
sys/dev/usb/if_atu.c
1872
if (c == NULL) {
sys/dev/usb/if_atu.c
1892
SLIST_INSERT_HEAD(&cd->atu_tx_free, c,
sys/dev/usb/if_atu.c
1904
SLIST_INSERT_HEAD(&cd->atu_tx_free, c,
sys/dev/usb/if_atu.c
1941
if (atu_tx_start(sc, ni, c, m)) {
sys/dev/usb/if_atu.c
1944
SLIST_INSERT_HEAD(&cd->atu_tx_free, c,
sys/dev/usb/if_atu.c
1962
struct atu_chain *c;
sys/dev/usb/if_atu.c
2007
c = &sc->atu_cdata.atu_rx_chain[i];
sys/dev/usb/if_atu.c
2009
usbd_setup_xfer(c->atu_xfer, c, c->atu_buf, ATU_RX_BUFSZ,
sys/dev/usb/if_atu.c
2011
usbd_transfer(c->atu_xfer);
sys/dev/usb/if_atu.c
2173
struct atu_chain *c;
sys/dev/usb/if_atu.c
2194
c = &sc->atu_cdata.atu_tx_chain[cnt];
sys/dev/usb/if_atu.c
2195
if (c->atu_in_xfer) {
sys/dev/usb/if_atu.c
2196
usbd_get_xfer_status(c->atu_xfer, NULL, NULL, NULL,
sys/dev/usb/if_atu.c
2198
atu_txeof(c->atu_xfer, c, stat);
sys/dev/usb/if_aue.c
879
aue_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
sys/dev/usb/if_aue.c
882
uint8_t *buf = c->unc_buf;
sys/dev/usb/if_aue.c
911
aue_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c)
sys/dev/usb/if_aue.c
913
uint8_t *buf = c->unc_buf;
sys/dev/usb/if_axe.c
1126
axe_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c)
sys/dev/usb/if_axe.c
1160
memcpy(c->unc_buf, &hdr, hdr_len);
sys/dev/usb/if_axe.c
1161
m_copydata(m, 0, m->m_pkthdr.len, c->unc_buf + hdr_len);
sys/dev/usb/if_axe.c
1163
memcpy(c->unc_buf + length - tlr_len, &tlr, tlr_len);
sys/dev/usb/if_axe.c
993
axe_uno_rx_loop(struct usbnet * un, struct usbnet_chain *c, uint32_t total_len)
sys/dev/usb/if_axe.c
998
uint8_t *buf = c->unc_buf;
sys/dev/usb/if_axen.c
755
axen_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
sys/dev/usb/if_axen.c
758
uint8_t *buf = c->unc_buf;
sys/dev/usb/if_axen.c
865
axen_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c)
sys/dev/usb/if_axen.c
897
memcpy(c->unc_buf, &hdr, sizeof(hdr));
sys/dev/usb/if_axen.c
898
m_copydata(m, 0, m->m_pkthdr.len, c->unc_buf + sizeof(hdr));
sys/dev/usb/if_cdce.c
266
cdce_uno_rx_loop(struct usbnet * un, struct usbnet_chain *c, uint32_t total_len)
sys/dev/usb/if_cdce.c
279
usbnet_enqueue(un, c->unc_buf, total_len, 0, 0, 0);
sys/dev/usb/if_cdce.c
283
cdce_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c)
sys/dev/usb/if_cdce.c
297
m_copydata(m, 0, m->m_pkthdr.len, c->unc_buf);
sys/dev/usb/if_cdce.c
299
crc = htole32(~ether_crc32_le(c->unc_buf, m->m_pkthdr.len));
sys/dev/usb/if_cdce.c
300
memcpy(c->unc_buf + m->m_pkthdr.len, &crc, sizeof(crc));
sys/dev/usb/if_cue.c
560
cue_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
sys/dev/usb/if_cue.c
563
uint8_t *buf = c->unc_buf;
sys/dev/usb/if_cue.c
583
cue_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c)
sys/dev/usb/if_cue.c
598
m_copydata(m, 0, m->m_pkthdr.len, c->unc_buf + 2);
sys/dev/usb/if_cue.c
603
c->unc_buf[0] = (uint8_t)m->m_pkthdr.len;
sys/dev/usb/if_cue.c
604
c->unc_buf[1] = (uint8_t)(m->m_pkthdr.len >> 8);
sys/dev/usb/if_kue.c
534
kue_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
sys/dev/usb/if_kue.c
537
uint8_t *buf = c->unc_buf;
sys/dev/usb/if_kue.c
563
kue_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c)
sys/dev/usb/if_kue.c
577
le16enc(c->unc_buf, (uint16_t)m->m_pkthdr.len);
sys/dev/usb/if_kue.c
583
m_copydata(m, 0, m->m_pkthdr.len, c->unc_buf + 2);
sys/dev/usb/if_kue.c
585
memset(c->unc_buf + pkt_len, 0, total_len - pkt_len);
sys/dev/usb/if_mos.c
667
mos_uno_rx_loop(struct usbnet * un, struct usbnet_chain *c, uint32_t total_len)
sys/dev/usb/if_mos.c
670
uint8_t *buf = c->unc_buf;
sys/dev/usb/if_mos.c
708
usbnet_enqueue(un, c->unc_buf, pktlen, 0, 0, 0);
sys/dev/usb/if_mos.c
712
mos_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c)
sys/dev/usb/if_mos.c
719
m_copydata(m, 0, m->m_pkthdr.len, c->unc_buf);
sys/dev/usb/if_mue.c
1137
mue_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
sys/dev/usb/if_mue.c
1144
uint8_t *buf = c->unc_buf;
sys/dev/usb/if_mue.c
892
mue_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c)
sys/dev/usb/if_mue.c
941
memcpy(c->unc_buf, &hdr, sizeof(hdr));
sys/dev/usb/if_mue.c
942
m_copydata(m, 0, len, c->unc_buf + sizeof(hdr));
sys/dev/usb/if_ncm.c
255
ncm_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
sys/dev/usb/if_ncm.c
258
uint8_t *buf = c->unc_buf;
sys/dev/usb/if_ncm.c
324
ncm_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c)
sys/dev/usb/if_ncm.c
337
hdr = (struct ncm_header16 *)c->unc_buf;
sys/dev/usb/if_ncm.c
360
m_copydata(m, 0, len, c->unc_buf + hdr_len);
sys/dev/usb/if_otus.c
2585
otus_set_board_values(struct otus_softc *sc, struct ieee80211_channel *c)
sys/dev/usb/if_otus.c
2592
if (IEEE80211_IS_CHAN_5GHZ(c))
sys/dev/usb/if_otus.c
2648
if (IEEE80211_IS_CHAN_5GHZ(c)) {
sys/dev/usb/if_otus.c
2678
otus_program_phy(struct otus_softc *sc, struct ieee80211_channel *c)
sys/dev/usb/if_otus.c
2686
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/usb/if_otus.c
2695
if ((error = otus_set_board_values(sc, c)) != 0)
sys/dev/usb/if_otus.c
2710
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/usb/if_otus.c
2729
otus_set_rf_bank4(struct otus_softc *sc, struct ieee80211_channel *c)
sys/dev/usb/if_otus.c
2738
if (IEEE80211_IS_CHAN_5GHZ(c)) {
sys/dev/usb/if_otus.c
2739
chansel = (c->ic_freq - 4800) / 5;
sys/dev/usb/if_otus.c
2746
if (c->ic_freq == 2484) { /* CH 14 */
sys/dev/usb/if_otus.c
2748
chansel = 10 + (c->ic_freq - 2274) / 5;
sys/dev/usb/if_otus.c
2750
chansel = 16 + (c->ic_freq - 2272) / 5;
sys/dev/usb/if_otus.c
2793
otus_set_chan(struct otus_softc *sc, struct ieee80211_channel *c, int assoc)
sys/dev/usb/if_otus.c
2807
int chan = ieee80211_chan2ieee(ic, c);
sys/dev/usb/if_otus.c
2810
chan, c->ic_freq);
sys/dev/usb/if_otus.c
2813
tmp = IEEE80211_IS_CHAN_2GHZ(c) ? 0x105 : 0x104;
sys/dev/usb/if_otus.c
2829
if (sc->sc_bb_reset || c->ic_flags != sc->sc_curchan->ic_flags) {
sys/dev/usb/if_otus.c
2842
if ((error = otus_program_phy(sc, c)) != 0) {
sys/dev/usb/if_otus.c
2849
if (IEEE80211_IS_CHAN_5GHZ(c))
sys/dev/usb/if_otus.c
2864
if ((error = otus_set_rf_bank4(sc, c)) != 0)
sys/dev/usb/if_otus.c
2873
cmd.freq = htole32((uint32_t)c->ic_freq * 1000);
sys/dev/usb/if_otus.c
2878
coeff = (100 << 24) / c->ic_freq;
sys/dev/usb/if_otus.c
2920
sc->sc_curchan = c;
sys/dev/usb/if_rum.c
1625
rum_select_band(struct rum_softc *sc, struct ieee80211_channel *c)
sys/dev/usb/if_rum.c
1633
if (IEEE80211_IS_CHAN_5GHZ(c)) {
sys/dev/usb/if_rum.c
1637
if ((IEEE80211_IS_CHAN_2GHZ(c) && sc->ext_2ghz_lna) ||
sys/dev/usb/if_rum.c
1638
(IEEE80211_IS_CHAN_5GHZ(c) && sc->ext_5ghz_lna)) {
sys/dev/usb/if_rum.c
1647
if ((IEEE80211_IS_CHAN_2GHZ(c) && sc->ext_2ghz_lna) ||
sys/dev/usb/if_rum.c
1648
(IEEE80211_IS_CHAN_5GHZ(c) && sc->ext_5ghz_lna)) {
sys/dev/usb/if_rum.c
1660
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/usb/if_rum.c
1667
sc->sifs = IEEE80211_IS_CHAN_5GHZ(c) ? 16 : 10;
sys/dev/usb/if_rum.c
1671
rum_set_chan(struct rum_softc *sc, struct ieee80211_channel *c)
sys/dev/usb/if_rum.c
1679
chan = ieee80211_chan2ieee(ic, c);
sys/dev/usb/if_rum.c
1703
if (c->ic_flags != ic->ic_curchan->ic_flags) {
sys/dev/usb/if_rum.c
1704
rum_select_band(sc, c);
sys/dev/usb/if_rum.c
1707
ic->ic_curchan = c;
sys/dev/usb/if_run.c
3795
run_set_chan(struct run_softc *sc, struct ieee80211_channel *c)
sys/dev/usb/if_run.c
3800
chan = ieee80211_chan2ieee(ic, c);
sys/dev/usb/if_run.c
3999
struct ieee80211_channel *c = ic->ic_curchan;
sys/dev/usb/if_run.c
4002
if (IEEE80211_IS_CHAN_5GHZ(c)) {
sys/dev/usb/if_run.c
4003
u_int chan = ieee80211_chan2ieee(ic, c);
sys/dev/usb/if_smsc.c
1015
smsc_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c)
sys/dev/usb/if_smsc.c
1032
memcpy(c->unc_buf, &txhdr, sizeof(txhdr));
sys/dev/usb/if_smsc.c
1036
memcpy(c->unc_buf + sizeof(txhdr), &txhdr, sizeof(txhdr));
sys/dev/usb/if_smsc.c
1041
m_copydata(m, 0, m->m_pkthdr.len, c->unc_buf + frm_len);
sys/dev/usb/if_smsc.c
877
smsc_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
sys/dev/usb/if_smsc.c
882
uint8_t *buf = c->unc_buf;
sys/dev/usb/if_udav.c
620
udav_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c)
sys/dev/usb/if_udav.c
623
uint8_t *buf = c->unc_buf;
sys/dev/usb/if_udav.c
651
udav_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
sys/dev/usb/if_udav.c
654
uint8_t *buf = c->unc_buf;
sys/dev/usb/if_umb.c
120
#define umb_regstate(c) umb_val2descr(umb_regstates, (c))
sys/dev/usb/if_umb.c
121
#define umb_dataclass(c) umb_val2descr(umb_dataclasses, (c))
sys/dev/usb/if_umb.c
125
#define umb_cid2str(c) umb_val2descr(umb_cids, (c))
sys/dev/usb/if_umb.c
2122
struct mbim_h2f_cmd *c = data;
sys/dev/usb/if_umb.c
2123
if (le32toh(c->op) == MBIM_CMDOP_SET)
sys/dev/usb/if_umb.c
2127
str = umb_cid2str(le32toh(c->cid));
sys/dev/usb/if_umb.c
2306
struct mbim_cid_connect *c;
sys/dev/usb/if_umb.c
2310
c = kmem_zalloc(sizeof(*c), KM_SLEEP);
sys/dev/usb/if_umb.c
2311
c->sessionid = htole32(umb_session_id);
sys/dev/usb/if_umb.c
2312
c->command = htole32(command);
sys/dev/usb/if_umb.c
2314
if (!umb_addstr(c, sizeof(*c), &off, sc->sc_info.apn,
sys/dev/usb/if_umb.c
2315
sc->sc_info.apnlen, &c->access_offs, &c->access_size))
sys/dev/usb/if_umb.c
2317
if (!umb_addstr(c, sizeof(*c), &off, sc->sc_info.username,
sys/dev/usb/if_umb.c
2318
sc->sc_info.usernamelen, &c->user_offs, &c->user_size))
sys/dev/usb/if_umb.c
2320
if (!umb_addstr(c, sizeof(*c), &off, sc->sc_info.password,
sys/dev/usb/if_umb.c
2321
sc->sc_info.passwordlen, &c->passwd_offs, &c->passwd_size))
sys/dev/usb/if_umb.c
2323
c->authprot = htole32(MBIM_AUTHPROT_NONE);
sys/dev/usb/if_umb.c
2324
c->compression = htole32(MBIM_COMPRESSION_NONE);
sys/dev/usb/if_umb.c
2325
c->iptype = htole32(MBIM_CONTEXT_IPTYPE_IPV4);
sys/dev/usb/if_umb.c
2326
memcpy(c->context, umb_uuid_context_internet, sizeof(c->context));
sys/dev/usb/if_umb.c
2327
umb_cmd(sc, MBIM_CID_CONNECT, MBIM_CMDOP_SET, c, off);
sys/dev/usb/if_umb.c
2329
kmem_free(c, sizeof(*c));
sys/dev/usb/if_umb.c
2705
uint8_t *c = buf;
sys/dev/usb/if_umb.c
2715
addlog(" %02x", *c);
sys/dev/usb/if_umb.c
2716
c++;
sys/dev/usb/if_upl.c
226
upl_uno_rx_loop(struct usbnet * un, struct usbnet_chain *c, uint32_t total_len)
sys/dev/usb/if_upl.c
232
usbnet_input(un, c->unc_buf, total_len);
sys/dev/usb/if_upl.c
236
upl_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c)
sys/dev/usb/if_upl.c
243
m_copydata(m, 0, m->m_pkthdr.len, c->unc_buf);
sys/dev/usb/if_ural.c
1695
ural_set_chan(struct ural_softc *sc, struct ieee80211_channel *c)
sys/dev/usb/if_ural.c
1701
chan = ieee80211_chan2ieee(ic, c);
sys/dev/usb/if_ural.c
1705
if (IEEE80211_IS_CHAN_2GHZ(c))
sys/dev/usb/if_ure.c
1039
ure_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c)
sys/dev/usb/if_ure.c
1043
uint8_t *buf = c->unc_buf;
sys/dev/usb/if_ure.c
957
ure_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
sys/dev/usb/if_ure.c
960
uint8_t *buf = c->unc_buf;
sys/dev/usb/if_url.c
469
url_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c)
sys/dev/usb/if_url.c
480
m_copydata(m, 0, m->m_pkthdr.len, c->unc_buf);
sys/dev/usb/if_url.c
484
memset(c->unc_buf + total_len, 0,
sys/dev/usb/if_url.c
496
url_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
sys/dev/usb/if_url.c
508
memcpy(&rxhdr, c->unc_buf + total_len - ETHER_CRC_LEN, sizeof(rxhdr));
sys/dev/usb/if_url.c
527
usbnet_enqueue(un, c->unc_buf, total_len, 0, 0, 0);
sys/dev/usb/if_urndis.c
745
urndis_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c)
sys/dev/usb/if_urndis.c
752
msg = (struct rndis_packet_msg *)c->unc_buf;
sys/dev/usb/if_urndis.c
776
urndis_uno_rx_loop(struct usbnet * un, struct usbnet_chain *c,
sys/dev/usb/if_urndis.c
786
msg = (struct rndis_packet_msg *)((char*)c->unc_buf + offset);
sys/dev/usb/if_urtw.c
2953
struct ieee80211_channel *c = ic->ic_ibss_chan;
sys/dev/usb/if_urtw.c
2970
if (IEEE80211_IS_CHAN_G(c)) {
sys/dev/usb/if_urtw.c
3369
struct ieee80211_channel *c = ic->ic_ibss_chan;
sys/dev/usb/if_urtw.c
3387
if (IEEE80211_IS_CHAN_G(c)) {
sys/dev/usb/if_urtw.c
3402
urtw_set_chan(struct urtw_softc *sc, struct ieee80211_channel *c)
sys/dev/usb/if_urtw.c
3410
chan = ieee80211_chan2ieee(ic, c);
sys/dev/usb/if_urtw.c
3517
struct ieee80211_channel *c = ic->ic_ibss_chan;
sys/dev/usb/if_urtw.c
3523
if (IEEE80211_IS_CHAN_G(c))
sys/dev/usb/if_urtw.c
3771
struct ieee80211_channel *c = ic->ic_ibss_chan;
sys/dev/usb/if_urtw.c
3778
if (IEEE80211_IS_CHAN_G(c)) {
sys/dev/usb/if_urtwn.c
105
#define DPRINTFN(n, fmt, a, b, c, d) do { \
sys/dev/usb/if_urtwn.c
107
KERNHIST_LOG(usbhist, fmt, a, b, c, d); \
sys/dev/usb/if_urtwn.c
116
#define URTWNHIST_CALLARGS(fmt, a, b, c, d) do { \
sys/dev/usb/if_urtwn.c
118
KERNHIST_CALLARGS(usbhist, fmt, a, b, c, d); \
sys/dev/usb/if_urtwn.c
122
#define DPRINTFN(n, fmt, a, b, c, d)
sys/dev/usb/if_urtwn.c
125
#define URTWNHIST_CALLARGS(fmt, a, b, c, d)
sys/dev/usb/if_urtwn.c
4472
urtwn_set_chan(struct urtwn_softc *sc, struct ieee80211_channel *c, u_int ht40m)
sys/dev/usb/if_urtwn.c
4478
chan = ieee80211_chan2ieee(ic, c); /* XXX center freq! */
sys/dev/usb/if_zyd.c
1751
zyd_set_chan(struct zyd_softc *sc, struct ieee80211_channel *c)
sys/dev/usb/if_zyd.c
1757
chan = ieee80211_chan2ieee(ic, c);
sys/dev/usb/uaudio.c
1080
int c, chs, ichs, ochs, nchs, i, o, bno, p, k;
sys/dev/usb/uaudio.c
1140
for (c = 0; c < nchs; c++) {
sys/dev/usb/uaudio.c
1142
bno = (p + c) * ochs + o;
sys/dev/usb/uaudio.c
1145
MAKE(p+c+1, o+1);
sys/dev/usb/ucom.c
2133
int c = -1; /* If -1 we are called again in a loop at splhigh */
sys/dev/usb/ucom.c
2157
c = cn->cn_buf_in[cn->cn_cons_in % sc->sc_ibufsize];
sys/dev/usb/ucom.c
2161
return c;
sys/dev/usb/ukbd.c
1009
int c;
sys/dev/usb/ukbd.c
1030
c = sc->sc_pollchars[0];
sys/dev/usb/ukbd.c
1034
*type = c & RELEASE ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN;
sys/dev/usb/ukbd.c
1035
*data = c & CODEMASK;
sys/dev/usb/ukbd.c
1036
DPRINTFN(0,("%s: return 0x%02x\n", __func__, c));
sys/dev/usb/ukbd.c
784
#define ADDKEY(c) do { \
sys/dev/usb/ukbd.c
786
ibuf[nkeys++] = (c); \
sys/dev/usb/ukbd.c
852
int c;
sys/dev/usb/ukbd.c
859
c = ukbd_trtab[key & CODEMASK];
sys/dev/usb/ukbd.c
860
if (c == NN)
sys/dev/usb/ukbd.c
862
if (c == 0x7f) {
sys/dev/usb/ukbd.c
869
if (c & 0x80)
sys/dev/usb/ukbd.c
871
cbuf[j] = c & 0x7f;
sys/dev/usb/ukbd.c
878
if (c & 0x80)
sys/dev/usb/ukbd.c
880
sc->sc_rep[npress++] = c & 0x7f;
sys/dev/usb/ukbd.c
884
c & 0x80 ? "0xe0 " : "",
sys/dev/usb/umass.c
2112
uint8_t *c = cbw->CBWCDB;
sys/dev/usb/umass.c
2119
c[0], c[1], c[2], c[3]);
sys/dev/usb/umass.c
2121
c[4], c[5], c[6], c[7]);
sys/dev/usb/umass.c
2122
DPRINTFM(UDMASS_BBB, " 0x%02jx%02jx...", c[8], c[9], 0, 0);
sys/dev/usb/umcpmio.c
1543
for (int c = 0; c < __arraycount(umcpmio_chip_infos); c++){
sys/dev/usb/umcpmio.c
1544
if (uha->uiaa->uiaa_product == umcpmio_chip_infos[c].usb_id) {
sys/dev/usb/umcpmio.c
1545
info_index = c;
sys/dev/usb/umcpmio_gpio.c
1348
for (int c = 0; c < sc->sc_chipinfo->num_gpio_pins; c++){
sys/dev/usb/umcpmio_gpio.c
1349
sc->sc_gpio_pins[c].pin_num = c;
sys/dev/usb/umcpmio_gpio.c
1350
sc->sc_gpio_pins[c].pin_caps = sc->sc_chipinfo->gpio_pin_ability[c];
sys/dev/usb/umcpmio_gpio.c
1352
sc->sc_gpio_pins[c].pin_flags =
sys/dev/usb/umcpmio_gpio.c
1353
mcp2210_sram_gpio_to_flags(extract, c);
sys/dev/usb/umcpmio_gpio.c
1356
sc->sc_gpio_pins[c].pin_flags =
sys/dev/usb/umcpmio_gpio.c
1357
mcp2221_sram_gpio_to_flags(extract[c]);
sys/dev/usb/umcpmio_gpio.c
1359
sc->sc_gpio_pins[c].pin_intrcaps = 0;
sys/dev/usb/umcpmio_gpio.c
1360
strncpy(sc->sc_gpio_pins[c].pin_defname,
sys/dev/usb/umcpmio_gpio.c
1361
sc->sc_chipinfo->gpio_names[c],
sys/dev/usb/umcpmio_gpio.c
1362
strlen(sc->sc_chipinfo->gpio_names[c]) + 1);
sys/dev/usb/usbdi.c
1468
uint16_t c;
sys/dev/usb/usbdi.c
1499
c = UGETW(us.bString[i]);
sys/dev/usb/usbdi.c
1501
c = (c >> 8) | (c << 8);
sys/dev/usb/usbdi.c
1502
s += wput_utf8(s, 3, c);
sys/dev/usb/usbdi.c
1509
c = UGETW(us.bString[i]);
sys/dev/usb/usbdi.c
1511
c = (c >> 8) | (c << 8);
sys/dev/usb/usbdi.c
1512
*s++ = (c < 0x80) ? c : '?';
sys/dev/usb/usbnet.c
226
uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c)
sys/dev/usb/usbnet.c
229
return (*un->un_ops->uno_tx_prepare)(un, m, c);
sys/dev/usb/usbnet.c
233
uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
sys/dev/usb/usbnet.c
236
(*un->un_ops->uno_rx_loop)(un, c, total_len);
sys/dev/usb/usbnet.c
355
struct usbnet_chain * const c = priv;
sys/dev/usb/usbnet.c
356
struct usbnet * const un = c->unc_un;
sys/dev/usb/usbnet.c
388
uno_rx_loop(un, c, total_len);
sys/dev/usb/usbnet.c
398
usbd_setup_xfer(xfer, c, c->unc_buf, un->un_rx_bufsz,
sys/dev/usb/usbnet.c
411
struct usbnet_chain * const c = priv;
sys/dev/usb/usbnet.c
412
struct usbnet * const un = c->unc_un;
sys/dev/usb/usbnet.c
540
struct usbnet_chain *const c = &cd->uncd_tx_chain[idx];
sys/dev/usb/usbnet.c
541
KASSERT(c->unc_xfer != NULL);
sys/dev/usb/usbnet.c
543
length = uno_tx_prepare(un, m, c);
sys/dev/usb/usbnet.c
551
usbd_setup_xfer(c->unc_xfer, c, c->unc_buf, length,
sys/dev/usb/usbnet.c
555
usbd_status err = usbd_transfer(c->unc_xfer);
sys/dev/usb/usbnet.c
558
(uintptr_t)c->unc_buf, length, err, 0);
sys/dev/usb/usbnet.c
647
struct usbnet_chain *c = &cd->uncd_rx_chain[i];
sys/dev/usb/usbnet.c
649
c->unc_un = un;
sys/dev/usb/usbnet.c
650
if (c->unc_xfer == NULL) {
sys/dev/usb/usbnet.c
653
&c->unc_xfer);
sys/dev/usb/usbnet.c
656
c->unc_buf = usbd_get_buffer(c->unc_xfer);
sys/dev/usb/usbnet.c
669
struct usbnet_chain *c = &cd->uncd_rx_chain[i];
sys/dev/usb/usbnet.c
671
if (c->unc_xfer != NULL) {
sys/dev/usb/usbnet.c
672
usbd_destroy_xfer(c->unc_xfer);
sys/dev/usb/usbnet.c
673
c->unc_xfer = NULL;
sys/dev/usb/usbnet.c
674
c->unc_buf = NULL;
sys/dev/usb/usbnet.c
692
struct usbnet_chain *c = &cd->uncd_rx_chain[i];
sys/dev/usb/usbnet.c
694
usbd_setup_xfer(c->unc_xfer, c, c->unc_buf, un->un_rx_bufsz,
sys/dev/usb/usbnet.c
696
usbd_transfer(c->unc_xfer);
sys/dev/usb/usbnet.c
736
struct usbnet_chain *c = &cd->uncd_tx_chain[i];
sys/dev/usb/usbnet.c
738
c->unc_un = un;
sys/dev/usb/usbnet.c
739
if (c->unc_xfer == NULL) {
sys/dev/usb/usbnet.c
742
&c->unc_xfer);
sys/dev/usb/usbnet.c
745
c->unc_buf = usbd_get_buffer(c->unc_xfer);
sys/dev/usb/usbnet.c
758
struct usbnet_chain *c = &cd->uncd_tx_chain[i];
sys/dev/usb/usbnet.c
760
if (c->unc_xfer != NULL) {
sys/dev/usb/usbnet.c
761
usbd_destroy_xfer(c->unc_xfer);
sys/dev/usb/usbnet.c
762
c->unc_xfer = NULL;
sys/dev/usb/usbnet.c
763
c->unc_buf = NULL;
sys/dev/usb/utoppy.c
468
uint8_t c;
sys/dev/usb/utoppy.c
483
c = *l++;
sys/dev/usb/utoppy.c
484
if (c < ' ' || c > 0x7e)
sys/dev/usb/utoppy.c
485
c = '.';
sys/dev/usb/utoppy.c
486
printf("%c", c);
sys/dev/usb/utoppy.c
502
c = *l++;
sys/dev/usb/utoppy.c
503
if (c < ' ' || c > 0x7e)
sys/dev/usb/utoppy.c
504
c = '.';
sys/dev/usb/utoppy.c
505
printf("%c", c);
sys/dev/usb/xhci.c
114
#define HEXDUMP(a, b, c)
sys/dev/usb/xhci.c
76
#define HEXDUMP(a, b, c) \
sys/dev/usb/xhci.c
79
hexdump(printf, a, b, c); \
sys/dev/wscons/mra.c
115
*c = C;
sys/dev/wscons/mra.c
48
int *a, int *b, int *c)
sys/dev/wscons/wsdisplay.c
2321
u_char c = i;
sys/dev/wscons/wsdisplay.c
2332
(*dc->wsemul->output)(dc->wsemulcookie, &c, 1, 1);
sys/dev/wscons/wsdisplay.c
2344
int c;
sys/dev/wscons/wsdisplay.c
2347
c = wsdisplay_cons_kbd_getc(wsdisplay_cons.cn_dev);
sys/dev/wscons/wsdisplay.c
2348
if (c >= 0)
sys/dev/wscons/wsdisplay.c
2349
return c;
sys/dev/wscons/wsdisplay.c
2355
c = wsdisplay_ocn->cn_getc(wsdisplay_ocn->cn_dev);
sys/dev/wscons/wsdisplay.c
2356
if (c >= 0)
sys/dev/wscons/wsdisplay.c
2357
return c;
sys/dev/wscons/wsdisplay.c
297
int c;
sys/dev/wscons/wsdisplay.c
304
c = wsdisplay_ocn->cn_getc(wsdisplay_ocn->cn_dev);
sys/dev/wscons/wsdisplay.c
305
if (c >= 0)
sys/dev/wscons/wsdisplay.c
306
(*tp->t_linesw->l_rint)((unsigned char)c, tp);
sys/dev/wscons/wsdisplay.c
307
} while (c >= 0);
sys/dev/wscons/wsdisplay_glyphcache.c
239
glyphcache_add(glyphcache *gc, int c, int x, int y)
sys/dev/wscons/wsdisplay_glyphcache.c
253
b->gb_map[c - 33] = (cx << 16) | cy;
sys/dev/wscons/wsdisplay_glyphcache.c
279
glyphcache_try(glyphcache *gc, int c, int x, int y, long attr)
sys/dev/wscons/wsdisplay_glyphcache.c
286
if ((c < 33) || (c > 255) || (idx < 0))
sys/dev/wscons/wsdisplay_glyphcache.c
341
cell = b->gb_map[c - 33];
sys/dev/wscons/wsdisplay_vcons.c
1030
int pos, c, offset, ppos;
sys/dev/wscons/wsdisplay_vcons.c
1039
for (c = dstcol; c < (dstcol + ncols); c++) {
sys/dev/wscons/wsdisplay_vcons.c
1043
scr->putchar(cookie, row, c,
sys/dev/wscons/wsdisplay_vcons.c
1049
scr->putchar(cookie, row, c, scr->scr_chars[pos],
sys/dev/wscons/wsdisplay_vcons.c
1184
int pos, l, c, offset, ppos;
sys/dev/wscons/wsdisplay_vcons.c
1194
for (c = 0; c < ri->ri_cols; c++) {
sys/dev/wscons/wsdisplay_vcons.c
1198
scr->putchar(cookie, l, c,
sys/dev/wscons/wsdisplay_vcons.c
1204
scr->putchar(cookie, l, c, scr->scr_chars[pos],
sys/dev/wscons/wsdisplay_vcons.c
1277
vcons_putchar_buffer(void *cookie, int row, int col, u_int c, long attr)
sys/dev/wscons/wsdisplay_vcons.c
1288
(scr->scr_chars[pos + offset] != c);
sys/dev/wscons/wsdisplay_vcons.c
1290
scr->scr_chars[pos + offset] = c;
sys/dev/wscons/wsdisplay_vcons.c
1300
vcons_putchar_cached(void *cookie, int row, int col, u_int c, long attr)
sys/dev/wscons/wsdisplay_vcons.c
1309
scr->putchar(cookie, row, col, c, attr);
sys/dev/wscons/wsdisplay_vcons.c
1312
if ((vdp->chars[pos] != c) || (vdp->attrs[pos] != attr)) {
sys/dev/wscons/wsdisplay_vcons.c
1314
vdp->chars[pos] = c;
sys/dev/wscons/wsdisplay_vcons.c
1315
scr->putchar(cookie, row, col, c, attr);
sys/dev/wscons/wsdisplay_vcons.c
1321
vcons_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/wscons/wsdisplay_vcons.c
1327
need_draw = vcons_putchar_buffer(cookie, row, col, c, attr);
sys/dev/wscons/wsdisplay_vcons.c
1336
vcons_putchar_cached(cookie, row, col, c, attr);
sys/dev/wscons/wsdisplay_vcons.c
1340
scr->putchar(cookie, row, col, c, attr);
sys/dev/wscons/wsdisplay_vcons.c
1342
scr->putchar(cookie, row, col, c, attr);
sys/dev/wscons/wsdisplay_vcons.c
666
uint32_t *charptr = scr->scr_chars, c;
sys/dev/wscons/wsdisplay_vcons.c
703
c = charptr[offset];
sys/dev/wscons/wsdisplay_vcons.c
706
if (c == ' ') {
sys/dev/wscons/wsdisplay_vcons.c
741
scr->putchar(ri, i, j, c, a);
sys/dev/wscons/wsemul_dumb.c
130
u_char c;
sys/dev/wscons/wsemul_dumb.c
136
c = *data++;
sys/dev/wscons/wsemul_dumb.c
137
switch (c) {
sys/dev/wscons/wsemul_dumb.c
173
edp->ccol, c, edp->defattr);
sys/dev/wscons/wsemul_dumb.c
208
static char c;
sys/dev/wscons/wsemul_dumb.c
212
c = KS_VALUE(in);
sys/dev/wscons/wsemul_dumb.c
213
*out = &c;
sys/dev/wscons/wsemul_sun.c
221
wsemul_sun_output_normal(struct wsemul_sun_emuldata *edp, u_char c, int kernel)
sys/dev/wscons/wsemul_sun.c
226
switch (c) {
sys/dev/wscons/wsemul_sun.c
276
c, kernel ? edp->kernattr : edp->curattr);
sys/dev/wscons/wsemul_sun.c
320
wsemul_sun_output_haveesc(struct wsemul_sun_emuldata *edp, u_char c)
sys/dev/wscons/wsemul_sun.c
324
switch (c) {
sys/dev/wscons/wsemul_sun.c
333
newstate = wsemul_sun_output_normal(edp, c, 0);
sys/dev/wscons/wsemul_sun.c
341
wsemul_sun_control(struct wsemul_sun_emuldata *edp, u_char c)
sys/dev/wscons/wsemul_sun.c
345
switch (c) {
sys/dev/wscons/wsemul_sun.c
463
wsemul_sun_output_control(struct wsemul_sun_emuldata *edp, u_char c)
sys/dev/wscons/wsemul_sun.c
468
switch (c) {
sys/dev/wscons/wsemul_sun.c
471
edp->args[0] = (edp->args[0] * 10) + (c - '0');
sys/dev/wscons/wsemul_sun.c
481
wsemul_sun_control(edp, c);
sys/dev/wscons/wsemul_sun.c
547
static char c;
sys/dev/wscons/wsemul_sun.c
551
c = KS_VALUE(in);
sys/dev/wscons/wsemul_sun.c
552
*out = &c;
sys/dev/wscons/wsemul_sun.c
557
c = in & 0xff; /* turn into ASCII */
sys/dev/wscons/wsemul_sun.c
558
*out = &c;
sys/dev/wscons/wsemul_vt100.c
412
wsemul_vt100_output_normal(struct wsemul_vt100_emuldata *edp, u_char c,
sys/dev/wscons/wsemul_vt100.c
425
if (c & 0x80) {
sys/dev/wscons/wsemul_vt100.c
426
c &= 0x7f;
sys/dev/wscons/wsemul_vt100.c
435
dc = (ct ? ct[c] : c);
sys/dev/wscons/wsemul_vt100.c
451
wsemul_vt100_output_c0c1(struct wsemul_vt100_emuldata *edp, u_char c,
sys/dev/wscons/wsemul_vt100.c
457
switch (c) {
sys/dev/wscons/wsemul_vt100.c
542
wsemul_vt100_output_esc(struct wsemul_vt100_emuldata *edp, u_char c)
sys/dev/wscons/wsemul_vt100.c
547
switch (c) {
sys/dev/wscons/wsemul_vt100.c
632
edp->designating = c - '(';
sys/dev/wscons/wsemul_vt100.c
635
edp->designating = c - '-' + 1;
sys/dev/wscons/wsemul_vt100.c
650
printf("%s: ESC%c unknown\n", __func__, c);
sys/dev/wscons/wsemul_vt100.c
658
wsemul_vt100_output_scs94(struct wsemul_vt100_emuldata *edp, u_char c)
sys/dev/wscons/wsemul_vt100.c
660
switch (c) {
sys/dev/wscons/wsemul_vt100.c
682
edp->designating + '(', c);
sys/dev/wscons/wsemul_vt100.c
690
wsemul_vt100_output_scs94_percent(struct wsemul_vt100_emuldata *edp, u_char c)
sys/dev/wscons/wsemul_vt100.c
692
switch (c) {
sys/dev/wscons/wsemul_vt100.c
700
__func__, edp->designating + '(', c);
sys/dev/wscons/wsemul_vt100.c
708
wsemul_vt100_output_scs96(struct wsemul_vt100_emuldata *edp, u_char c)
sys/dev/wscons/wsemul_vt100.c
712
switch (c) {
sys/dev/wscons/wsemul_vt100.c
753
__func__, edp->designating + '-' - 1, c);
sys/dev/wscons/wsemul_vt100.c
761
wsemul_vt100_output_scs96_percent(struct wsemul_vt100_emuldata *edp, u_char c)
sys/dev/wscons/wsemul_vt100.c
763
switch (c) {
sys/dev/wscons/wsemul_vt100.c
770
__func__, edp->designating + '-', c);
sys/dev/wscons/wsemul_vt100.c
779
u_char c)
sys/dev/wscons/wsemul_vt100.c
781
switch (c) {
sys/dev/wscons/wsemul_vt100.c
785
printf("%s: ESC<SPC>%c ignored\n", __func__, c);
sys/dev/wscons/wsemul_vt100.c
790
printf("%s: ESC<SPC>%c unknown\n", __func__, c);
sys/dev/wscons/wsemul_vt100.c
798
wsemul_vt100_output_string(struct wsemul_vt100_emuldata *edp, u_char c)
sys/dev/wscons/wsemul_vt100.c
803
vd->dcsarg[vd->dcspos++] = c;
sys/dev/wscons/wsemul_vt100.c
808
wsemul_vt100_output_string_esc(struct wsemul_vt100_emuldata *edp, u_char c)
sys/dev/wscons/wsemul_vt100.c
812
if (c == '\\') { /* ST complete */
sys/dev/wscons/wsemul_vt100.c
820
wsemul_vt100_output_dcs(struct wsemul_vt100_emuldata *edp, u_char c)
sys/dev/wscons/wsemul_vt100.c
824
switch (c) {
sys/dev/wscons/wsemul_vt100.c
831
(c - '0');
sys/dev/wscons/wsemul_vt100.c
841
if (c == ';') /* argument terminator */
sys/dev/wscons/wsemul_vt100.c
843
switch (c) {
sys/dev/wscons/wsemul_vt100.c
851
printf("%s: DCS%c ignored\n", __func__, c);
sys/dev/wscons/wsemul_vt100.c
857
__func__, c, ARG(vd, 0), ARG(vd, 1));
sys/dev/wscons/wsemul_vt100.c
868
wsemul_vt100_output_dcs_dollar(struct wsemul_vt100_emuldata *edp, u_char c)
sys/dev/wscons/wsemul_vt100.c
872
switch (c) {
sys/dev/wscons/wsemul_vt100.c
876
printf("%s: DCS$%c ignored\n", __func__, c);
sys/dev/wscons/wsemul_vt100.c
902
__func__, c, ARG(vd, 0), ARG(vd, 1));
sys/dev/wscons/wsemul_vt100.c
910
wsemul_vt100_output_esc_hash(struct wsemul_vt100_emuldata *edp, u_char c)
sys/dev/wscons/wsemul_vt100.c
915
switch (c) {
sys/dev/wscons/wsemul_vt100.c
958
printf("%s: ESC#%c unknown\n", __func__, c);
sys/dev/wscons/wsemul_vt100.c
966
wsemul_vt100_output_csi(struct wsemul_vt100_emuldata *edp, u_char c)
sys/dev/wscons/wsemul_vt100.c
970
switch (c) {
sys/dev/wscons/wsemul_vt100.c
977
(c - '0');
sys/dev/wscons/wsemul_vt100.c
981
vd->modif1 = c;
sys/dev/wscons/wsemul_vt100.c
987
vd->modif2 = c;
sys/dev/wscons/wsemul_vt100.c
997
if (c == ';') /* argument terminator */
sys/dev/wscons/wsemul_vt100.c
999
wsemul_vt100_handle_csi(vd, c);
sys/dev/wscons/wsemul_vt100_chars.c
102
u_int16_t c[12];
sys/dev/wscons/wsemul_vt100_chars.c
153
(*vd->emulops->mapchar)(vd->emulcookie, nrctable[nrc].c[i],
sys/dev/wscons/wsemul_vt100_keys.c
142
c = in & 0xff; /* turn into ASCII */
sys/dev/wscons/wsemul_vt100_keys.c
143
*out = &c;
sys/dev/wscons/wsemul_vt100_keys.c
89
static char c;
sys/dev/wscons/wsemul_vt100_keys.c
93
c = KS_VALUE(in);
sys/dev/wscons/wsemul_vt100_keys.c
94
*out = &c;
sys/dev/wscons/wsemul_vt100_subr.c
189
wsemul_vt100_handle_csi(struct vt100base_data *vd, u_char c)
sys/dev/wscons/wsemul_vt100_subr.c
194
#define A3(a, b, c) (((a) << 16) | ((b) << 8) | (c))
sys/dev/wscons/wsemul_vt100_subr.c
195
switch (A3(vd->modif1, vd->modif2, c)) {
sys/dev/wscons/wsemul_vt100_subr.c
450
if (c == 'L')
sys/dev/wscons/wsemul_vt100_subr.c
724
printf("CSI%c (%d, %d) unknown\n", c, ARG(vd, 0), ARG(vd, 1));
sys/dev/wscons/wsemul_vt100_subr.c
839
char c = vd->dcsarg[i];
sys/dev/wscons/wsemul_vt100_subr.c
840
switch (c) {
sys/dev/wscons/wsemul_vt100_subr.c
843
const int c0 = c - '0';
sys/dev/wscons/wsemul_vt100_subr.c
862
printf("unknown char %c in DCS\n", c);
sys/dev/wsfb/genfb.c
1113
genfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/wsfb/genfb.c
1126
if (c < 33 || c > 255 || idx < 0) goto nope;
sys/dev/wsfb/genfb.c
1180
cell = b->gb_map[c - 33];
sys/dev/wsfb/genfb.c
1185
b->gb_map[c - 33] = cell;
sys/dev/wsfb/genfb.c
1187
scp->sc_putchar(&scp->sc_cache_ri, cell, 0, c, attr);
sys/dev/wsfb/genfb.c
1211
scp->sc_putchar(cookie, row, col, c, attr);
sys/dev/wsfont/wsfont.c
1077
wsfont_map_unichar(struct wsdisplay_font *font, int c)
sys/dev/wsfont/wsfont.c
1086
hi = (c >> 8);
sys/dev/wsfont/wsfont.c
1087
lo = c & 255;
sys/dev/wsfont/wsfont.c
1106
c = (((const u_int8_t *)map2->chars)[lo]);
sys/dev/wsfont/wsfont.c
1109
c = (((const u_int16_t *)map2->chars)[lo]);
sys/dev/wsfont/wsfont.c
1112
c = (((const u_int32_t *)map2->chars)[lo]);
sys/dev/wsfont/wsfont.c
1116
if (c == 0 && lo != 0)
sys/dev/wsfont/wsfont.c
1119
return (c);
sys/dev/wsfont/wsfont.h
37
#define WSFONT_GLYPH(c, font) ((uint8_t *)font->data + \
sys/dev/wsfont/wsfont.h
38
((c) - font->firstchar) * font->stride * font->fontheight)
sys/dist/pf/net/if_pflog.h
77
#define PFLOG_PACKET(i,x,a,b,c,d,e,f,g,h) pflog_packet(i,a,b,c,d,e,f,g,h)
sys/dist/pf/net/if_pflog.h
79
#define PFLOG_PACKET(i,x,a,b,c,d,e,f,g,h) ((void)0)
sys/dist/pf/net/if_pfsync.c
1382
(void *)&sc->sc_statep.c)) == NULL) {
sys/dist/pf/net/if_pfsync.c
1387
cp = sc->sc_statep.c;
sys/dist/pf/net/if_pfsync.h
97
struct pfsync_state_clr *c;
sys/dist/pf/net/pf.c
1460
pf_change_a(void *a, u_int16_t *c, u_int32_t an, u_int8_t u)
sys/dist/pf/net/pf.c
1466
*c = pf_cksum_fixup(pf_cksum_fixup(*c, ao / 65536, an / 65536, u),
sys/dist/pf/net/pf.c
1472
pf_change_a6(struct pf_addr *a, u_int16_t *c, struct pf_addr *an, u_int8_t u)
sys/dist/pf/net/pf.c
1479
*c = pf_cksum_fixup(pf_cksum_fixup(pf_cksum_fixup(
sys/dist/pf/net/pf.c
1481
pf_cksum_fixup(pf_cksum_fixup(*c,
sys/dist/pf/net/pf.c
2191
#define mix(a,b,c) \
sys/dist/pf/net/pf.c
2193
a -= b; a -= c; a ^= (c >> 13); \
sys/dist/pf/net/pf.c
2194
b -= c; b -= a; b ^= (a << 8); \
sys/dist/pf/net/pf.c
2195
c -= a; c -= b; c ^= (b >> 13); \
sys/dist/pf/net/pf.c
2196
a -= b; a -= c; a ^= (c >> 12); \
sys/dist/pf/net/pf.c
2197
b -= c; b -= a; b ^= (a << 16); \
sys/dist/pf/net/pf.c
2198
c -= a; c -= b; c ^= (b >> 5); \
sys/dist/pf/net/pf.c
2199
a -= b; a -= c; a ^= (c >> 3); \
sys/dist/pf/net/pf.c
2200
b -= c; b -= a; b ^= (a << 10); \
sys/dist/pf/net/pf.c
2201
c -= a; c -= b; c ^= (b >> 15); \
sys/dist/pf/net/pf.c
2211
u_int32_t a = 0x9e3779b9, b = 0x9e3779b9, c = key->key32[0];
sys/dist/pf/net/pf.c
2218
mix(a, b, c);
sys/dist/pf/net/pf.c
2219
hash->addr32[0] = c + key->key32[2];
sys/dist/pf/net/pf.c
2226
mix(a, b, c);
sys/dist/pf/net/pf.c
2227
hash->addr32[0] = c;
sys/dist/pf/net/pf.c
2230
c += key->key32[1];
sys/dist/pf/net/pf.c
2231
mix(a, b, c);
sys/dist/pf/net/pf.c
2232
hash->addr32[1] = c;
sys/dist/pf/net/pf.c
2235
c += key->key32[2];
sys/dist/pf/net/pf.c
2236
mix(a, b, c);
sys/dist/pf/net/pf.c
2237
hash->addr32[2] = c;
sys/dist/pf/net/pf.c
2240
c += key->key32[3];
sys/dist/pf/net/pf.c
2241
mix(a, b, c);
sys/dist/pf/net/pf.c
2242
hash->addr32[3] = c;
sys/dist/pf/net/pf_ruleset.c
108
int c = strcmp(a->path, b->path);
sys/dist/pf/net/pf_ruleset.c
110
return (c ? (c < 0 ? -1 : 1) : 0);
sys/dist/pf/net/pfvar.h
237
#define PF_AEQ(a, b, c) \
sys/dist/pf/net/pfvar.h
238
((c == AF_INET && (a)->addr32[0] == (b)->addr32[0]) || \
sys/dist/pf/net/pfvar.h
244
#define PF_ANEQ(a, b, c) \
sys/dist/pf/net/pfvar.h
245
((c == AF_INET && (a)->addr32[0] != (b)->addr32[0]) || \
sys/dist/pf/net/pfvar.h
251
#define PF_AZERO(a, c) \
sys/dist/pf/net/pfvar.h
252
((c == AF_INET && !(a)->addr32[0]) || \
sys/dist/pf/net/pfvar.h
265
#define PF_POOLMASK(a, b, c, d, f) \
sys/dist/pf/net/pfvar.h
266
pf_poolmask(a, b, c, d, f)
sys/dist/pf/net/pfvar.h
274
#define PF_AEQ(a, b, c) \
sys/dist/pf/net/pfvar.h
280
#define PF_ANEQ(a, b, c) \
sys/dist/pf/net/pfvar.h
286
#define PF_AZERO(a, c) \
sys/dist/pf/net/pfvar.h
301
#define PF_POOLMASK(a, b, c, d, f) \
sys/dist/pf/net/pfvar.h
302
pf_poolmask(a, b, c, d, f)
sys/dist/pf/net/pfvar.h
309
#define PF_AEQ(a, b, c) \
sys/dist/pf/net/pfvar.h
312
#define PF_ANEQ(a, b, c) \
sys/dist/pf/net/pfvar.h
315
#define PF_AZERO(a, c) \
sys/dist/pf/net/pfvar.h
329
#define PF_POOLMASK(a, b, c, d, f) \
sys/dist/pf/net/pfvar.h
331
(a)->addr32[0] = ((b)->addr32[0] & (c)->addr32[0]) | \
sys/dist/pf/net/pfvar.h
332
(((c)->addr32[0] ^ 0xffffffff ) & (d)->addr32[0]); \
sys/fs/cd9660/cd9660_rrip.c
499
u_int16_t c;
sys/fs/cd9660/cd9660_rrip.c
509
isochar(isodir->name, pwhead, ana->imp->im_joliet_level, &c);
sys/fs/cd9660/cd9660_rrip.c
512
if (c != 0 || isonum_733(isodir->extent) != ana->imp->root_extent)
sys/fs/cd9660/cd9660_rrip.c
625
u_int16_t c;
sys/fs/cd9660/cd9660_rrip.c
636
imp->im_joliet_level, &c);
sys/fs/cd9660/cd9660_rrip.c
638
if (c == 0 || c == 1) {
sys/fs/cd9660/cd9660_util.c
101
if (*c != 0)
sys/fs/cd9660/cd9660_util.c
102
*c = '?';
sys/fs/cd9660/cd9660_util.c
104
*c = isofn[1];
sys/fs/cd9660/cd9660_util.c
192
uint16_t c;
sys/fs/cd9660/cd9660_util.c
201
infn += isochar(infn, infnend, joliet_level, &c);
sys/fs/cd9660/cd9660_util.c
203
if (casetrans && joliet_level == 0 && c >= 'A' && c <= 'Z')
sys/fs/cd9660/cd9660_util.c
204
c = c + ('a' - 'A');
sys/fs/cd9660/cd9660_util.c
205
else if (!original && c == ';') {
sys/fs/cd9660/cd9660_util.c
211
sz = wput(outfn, ISO_MAXNAMLEN - fnidx, c, joliet_level);
sys/fs/cd9660/cd9660_util.c
237
uint16_t c = *str[0];
sys/fs/cd9660/cd9660_util.c
241
return c;
sys/fs/cd9660/cd9660_util.c
246
wput(u_char *s, size_t n, uint16_t c, int joliet_level)
sys/fs/cd9660/cd9660_util.c
250
return wput_utf8((char *)s, n, c);
sys/fs/cd9660/cd9660_util.c
257
*s = (u_char)c;
sys/fs/cd9660/cd9660_util.c
88
uint16_t *c)
sys/fs/cd9660/cd9660_util.c
91
*c = isofn[0];
sys/fs/cd9660/cd9660_util.c
98
*c = (*c << 8) + isofn[1];
sys/fs/filecorefs/filecore_bmap.c
141
long c;
sys/fs/filecorefs/filecore_bmap.c
181
c = 32 - (b & 31) - fcmp->drec.idlen;
sys/fs/filecorefs/filecore_bmap.c
182
if (c <= 0) {
sys/fs/filecorefs/filecore_bmap.c
184
a |= m << (fcmp->drec.idlen+c);
sys/fs/filecorefs/filecore_bmap.c
185
m >>= -c;
sys/fs/filecorefs/filecore_bmap.c
186
c += 32;
sys/fs/filecorefs/filecore_bmap.c
193
if (--c == 0) {
sys/fs/filecorefs/filecore_bmap.c
194
c=32;
sys/fs/hfs/libhfs.c
2390
int c;
sys/fs/hfs/libhfs.c
2408
c = memcmp(a->name.unicode, b->name.unicode,
sys/fs/hfs/libhfs.c
2410
if (c != 0)
sys/fs/hfs/libhfs.c
2411
return c;
sys/fs/hfs/unicode.c
117
c = 0xdc00 | ((cc-0x10000) & 0x3ffff);
sys/fs/hfs/unicode.c
121
dst[dpos] = c;
sys/fs/hfs/unicode.c
154
uint32_t c;
sys/fs/hfs/unicode.c
163
c = (((src[spos]&0x3ff) << 10) | (src[spos+1]&0x3ff)) + 0x10000;
sys/fs/hfs/unicode.c
164
ADD_BYTE(0xf0 | (c>>18));
sys/fs/hfs/unicode.c
165
ADD_BYTE(0x80 | ((c>>12) & 0x3f));
sys/fs/hfs/unicode.c
166
ADD_BYTE(0x80 | ((c>>6) & 0x3f));
sys/fs/hfs/unicode.c
167
ADD_BYTE(0x80 | (c & 0x3f));
sys/fs/hfs/unicode.c
47
uint16_t c;
sys/fs/hfs/unicode.c
49
#define IS_CONT(c) (((c)&0xc0) == 0x80)
sys/fs/hfs/unicode.c
56
c = s[spos++];
sys/fs/hfs/unicode.c
61
c = s[spos++];
sys/fs/hfs/unicode.c
74
c = ((s[spos] & 0x3f) << 6) | (s[spos+1] & 0x3f);
sys/fs/hfs/unicode.c
76
if (c < 0x80) {
sys/fs/hfs/unicode.c
88
c = ((s[spos] & 0x0f) << 12) | ((s[spos+1] & 0x3f) << 6)
sys/fs/hfs/unicode.c
91
if (c < 0x800 || (c & 0xdf00) == 0xd800 ) {
sys/fs/msdosfs/msdosfs_conv.c
329
u_char c;
sys/fs/msdosfs/msdosfs_conv.c
338
c = dos2unix[0xe5];
sys/fs/msdosfs/msdosfs_conv.c
340
c = dos2unix[*dn];
sys/fs/msdosfs/msdosfs_conv.c
341
*un++ = lower ? u2l[c] : c;
sys/fs/msdosfs/msdosfs_conv.c
352
c = dos2unix[dn[i]];
sys/fs/msdosfs/msdosfs_conv.c
353
*un++ = lower ? u2l[c] : c;
sys/fs/msdosfs/msdosfs_conv.c
366
c = dos2unix[*dn++];
sys/fs/msdosfs/msdosfs_conv.c
367
*un++ = lower ? u2l[c] : c;
sys/fs/msdosfs/msdosfs_vfsops.c
1015
struct msdosfs_sync_ctx *c = cl;
sys/fs/msdosfs/msdosfs_vfsops.c
1021
if (c->waitfor == MNT_LAZY || vp->v_type == VNON ||
sys/fs/nfs/common/nfs.h
143
#define NFSRV_V4DELEGLIMIT(c) (((c) * 5) > nfsrv_v4statelimit)
sys/fs/nfs/common/nfs.h
439
#define NFSCBGETATTR_ATTRBIT(b, c) do { \
sys/fs/nfs/common/nfs.h
440
(c)->bits[0] = ((b)->bits[0] & NFSATTRBIT_CBGETATTR0); \
sys/fs/nfs/common/nfs.h
441
(c)->bits[1] = ((b)->bits[1] & NFSATTRBIT_CBGETATTR1); \
sys/fs/nfs/common/nfs.h
442
(c)->bits[2] = ((b)->bits[2] & NFSATTRBIT_CBGETATTR2); \
sys/fs/nfs/common/nfs_common.h
104
(c)ret; \
sys/fs/nfs/common/nfs_common.h
59
#define nfsm_build(c, s) \
sys/fs/nfs/common/nfs_common.h
60
(c)nfsm_build_xx((s), &mb, &bpos)
sys/fs/nfs/common/nfs_common.h
91
#define nfsm_dissect(c, s) \
sys/fs/nfs/common/nfs_common.h
96
(c)ret; \
sys/fs/nfs/common/nfs_common.h
99
#define nfsm_dissect_nonblock(c, s) \
sys/fs/nfs/common/nfsclstate.h
51
#define NFSCLDELEGHASH(c, f, l) \
sys/fs/nfs/common/nfsclstate.h
52
(&((c)->nfsc_deleghash[ncl_hash((f), (l)) % NFSCLDELEGHASHSIZE]))
sys/fs/nfs/common/nfsclstate.h
54
#define NFSCLLAYOUTHASH(c, f, l) \
sys/fs/nfs/common/nfsclstate.h
55
(&((c)->nfsc_layouthash[ncl_hash((f), (l)) % NFSCLLAYOUTHASHSIZE]))
sys/fs/nfs/common/nfsdport.h
100
(n)->cn_cred = (c); \
sys/fs/nfs/common/nfsdport.h
99
#define NFSNAMEICNDSET(n, c, o, f) do { \
sys/fs/nfs/common/nfskpiport.h
63
#define CAST_DOWN(c, a) ((c) (a))
sys/fs/nfs/common/nfsm_subs.h
116
#define NFSM_DISSECT(a, c, s) \
sys/fs/nfs/common/nfsm_subs.h
118
(a) = (c)nfsm_dissect(nd, (s)); \
sys/fs/nfs/common/nfsm_subs.h
125
#define NFSM_DISSECT_NONBLOCK(a, c, s) \
sys/fs/nfs/common/nfsm_subs.h
127
(a) = (c)nfsm_dissect_nonblock(nd, (s)); \
sys/fs/nfs/common/nfsm_subs.h
82
#define NFSM_BUILD(a, c, s) ((a) = (c)nfsm_build(nd, (s)))
sys/fs/nfs/common/nfsport.h
642
#define NFSNEWCRED(c) (crdup(c))
sys/fs/nfs/common/nfsport.h
644
#define NFSFREECRED(c) (crfree(c))
sys/fs/nfs/common/nfsport.h
651
#define NFSCNHASHZERO(c)
sys/fs/nfs/common/nfsport.h
652
#define NFSCNHASH(c, v)
sys/fs/nfs/common/nfsport.h
748
#define NFSD_RDWR(r, v, b, l, o, s, i, c, a, p) \
sys/fs/nfs/common/nfsport.h
749
vn_rdwr((r), (v), (b), (l), (o), (s), (i), (c), NULL, (a), (p))
sys/fs/nfs/common/nfsport.h
854
#define STRCHR(s, c) strchr((s), (c))
sys/fs/nfs/server/nfs_nfsdsubs.c
1679
nfsrv_hexdigit(char c, int *err)
sys/fs/nfs/server/nfs_nfsdsubs.c
1683
if (c >= '0' && c <= '9')
sys/fs/nfs/server/nfs_nfsdsubs.c
1684
return (c - '0');
sys/fs/nfs/server/nfs_nfsdsubs.c
1685
if (c >= 'a' && c <= 'f')
sys/fs/nfs/server/nfs_nfsdsubs.c
1686
return (c - 'a' + ((char)10));
sys/fs/nfs/server/nfs_nfsdsubs.c
1687
if (c >= 'A' && c <= 'F')
sys/fs/nfs/server/nfs_nfsdsubs.c
1688
return (c - 'A' + ((char)10));
sys/fs/ntfs/ntfs.h
305
#define HASHINIT(a, b, c, d) hashinit((a), HASH_LIST, (b), (c), (d))
sys/fs/ptyfs/ptyfs_vnops.c
965
char c = *b++;
sys/fs/ptyfs/ptyfs_vnops.c
966
if (c < '0' || c > '9')
sys/fs/ptyfs/ptyfs_vnops.c
968
p = 10 * p + (c - '0');
sys/fs/udf/udf_osta.c
308
static int isprint(int c) {
sys/fs/udf/udf_osta.c
309
return (c >= ' ') && (c != 127);
sys/fs/unicode.h
100
c = 1;
sys/fs/unicode.h
103
switch (c) {
sys/fs/unicode.h
120
*str += c;
sys/fs/unicode.h
121
*sz -= c;
sys/fs/unicode.h
79
size_t c;
sys/fs/unicode.h
90
c = _utf_count[(s[0] & 0xf0) >> 4];
sys/fs/unicode.h
91
if (c == 0 || c > *sz) {
sys/kern/cnmagic.c
106
aprint_normal("mag %d %x:%x\n", i, c, n);
sys/kern/cnmagic.c
108
m[i] = ENCODE_STATE(c, n);
sys/kern/cnmagic.c
133
unsigned short c = cn_magic[i];
sys/kern/cnmagic.c
134
i = CNS_MAGIC_NEXT(c);
sys/kern/cnmagic.c
139
switch (CNS_MAGIC_VAL(c)) {
sys/kern/cnmagic.c
153
ADD_CHAR(c);
sys/kern/cnmagic.c
35
#define ENCODE_STATE(c, n) (short)(((c)&0x1ff)|(((n)&0x7f)<<9))
sys/kern/cnmagic.c
67
unsigned short i, c, n;
sys/kern/cnmagic.c
71
c = *magic++;
sys/kern/cnmagic.c
72
switch (c) {
sys/kern/cnmagic.c
87
c = *magic++;
sys/kern/cnmagic.c
88
switch (c) {
sys/kern/cnmagic.c
93
c = CNC_BREAK;
sys/kern/cnmagic.c
97
c = 0;
sys/kern/kern_core.c
210
char c[2];
sys/kern/kern_core.c
217
c[0] = lastslash[1];
sys/kern/kern_core.c
218
c[1] = lastslash[2];
sys/kern/kern_core.c
230
lastslash[1] = c[0];
sys/kern/kern_core.c
231
lastslash[2] = c[1];
sys/kern/kern_entropy.c
2261
unsigned c = a + b;
sys/kern/kern_entropy.c
2263
return (c < a ? UINT_MAX : c);
sys/kern/kern_ksyms.c
916
char c;
sys/kern/kern_ksyms.c
924
c = '+';
sys/kern/kern_ksyms.c
927
c = '*';
sys/kern/kern_ksyms.c
930
c = '&';
sys/kern/kern_ksyms.c
933
c = '/';
sys/kern/kern_ksyms.c
936
c = ' ';
sys/kern/kern_ksyms.c
939
db_printf("%s%c ", sb + les->st_name, c);
sys/kern/kern_scdebug.c
113
#define SCDEBUG_KERNHIST_LOG(a,b,c,d,e,f) KERNHIST_LOG(a,b,c,d,e,f)
sys/kern/kern_scdebug.c
117
#define SCDEBUG_KERNHIST_LOG(a,b,c,d,e,f) {} /* nothing */
sys/kern/kern_subr.c
712
char c;
sys/kern/kern_subr.c
724
c = str[len-1];
sys/kern/kern_subr.c
725
if (c >= 'a' && c <= ('a' + MAXPARTITIONS - 1)) {
sys/kern/kern_subr.c
726
part = c - 'a';
sys/kern/kern_timeout.c
260
callout_lock(callout_impl_t *c)
sys/kern/kern_timeout.c
266
cc = c->c_cpu;
sys/kern/kern_timeout.c
269
if (__predict_true(cc == c->c_cpu))
sys/kern/kern_timeout.c
279
callout_running_somewhere_else(callout_impl_t *c, struct callout_cpu *cc)
sys/kern/kern_timeout.c
281
KASSERT(c->c_cpu == cc);
sys/kern/kern_timeout.c
283
return cc->cc_active == c && cc->cc_lwp != curlwp;
sys/kern/kern_timeout.c
360
callout_impl_t *c = (callout_impl_t *)cs;
sys/kern/kern_timeout.c
368
c->c_func = NULL;
sys/kern/kern_timeout.c
369
c->c_magic = CALLOUT_MAGIC;
sys/kern/kern_timeout.c
371
c->c_flags = flags;
sys/kern/kern_timeout.c
372
c->c_cpu = cc;
sys/kern/kern_timeout.c
375
c->c_flags = flags | CALLOUT_BOUND;
sys/kern/kern_timeout.c
376
c->c_cpu = &callout_cpu0;
sys/kern/kern_timeout.c
387
callout_impl_t *c = (callout_impl_t *)cs;
sys/kern/kern_timeout.c
391
KASSERTMSG(c->c_magic == CALLOUT_MAGIC,
sys/kern/kern_timeout.c
393
c, c->c_magic, CALLOUT_MAGIC);
sys/kern/kern_timeout.c
399
KASSERTMSG((c->c_flags & CALLOUT_PENDING) == 0,
sys/kern/kern_timeout.c
401
c, c->c_func, c->c_flags, __builtin_return_address(0));
sys/kern/kern_timeout.c
402
KASSERTMSG(!callout_running_somewhere_else(c, c->c_cpu),
sys/kern/kern_timeout.c
404
c, c->c_func, c->c_flags, __builtin_return_address(0));
sys/kern/kern_timeout.c
405
c->c_magic = 0;
sys/kern/kern_timeout.c
416
callout_schedule_locked(callout_impl_t *c, kmutex_t *lock, int to_ticks)
sys/kern/kern_timeout.c
422
c, c->c_func, c->c_arg, c->c_flags, to_ticks);
sys/kern/kern_timeout.c
425
KASSERT(c->c_func != NULL);
sys/kern/kern_timeout.c
428
occ = c->c_cpu;
sys/kern/kern_timeout.c
429
c->c_flags &= ~(CALLOUT_FIRED | CALLOUT_INVOKING);
sys/kern/kern_timeout.c
436
if ((c->c_flags & CALLOUT_PENDING) != 0) {
sys/kern/kern_timeout.c
438
old_time = c->c_time;
sys/kern/kern_timeout.c
439
c->c_time = to_ticks + occ->cc_ticks;
sys/kern/kern_timeout.c
440
if (c->c_time - old_time < 0) {
sys/kern/kern_timeout.c
441
CIRCQ_REMOVE(&c->c_list);
sys/kern/kern_timeout.c
442
CIRCQ_INSERT(&c->c_list, &occ->cc_todo);
sys/kern/kern_timeout.c
449
if ((c->c_flags & CALLOUT_BOUND) != 0 || cc == occ ||
sys/kern/kern_timeout.c
452
c->c_time = to_ticks + occ->cc_ticks;
sys/kern/kern_timeout.c
453
c->c_flags |= CALLOUT_PENDING;
sys/kern/kern_timeout.c
454
CIRCQ_INSERT(&c->c_list, &occ->cc_todo);
sys/kern/kern_timeout.c
457
c->c_cpu = cc;
sys/kern/kern_timeout.c
458
c->c_time = to_ticks + cc->cc_ticks;
sys/kern/kern_timeout.c
459
c->c_flags |= CALLOUT_PENDING;
sys/kern/kern_timeout.c
460
CIRCQ_INSERT(&c->c_list, &cc->cc_todo);
sys/kern/kern_timeout.c
463
c, c->c_func, c->c_arg, c->c_flags,
sys/kern/kern_timeout.c
478
callout_impl_t *c = (callout_impl_t *)cs;
sys/kern/kern_timeout.c
481
KASSERT(c->c_magic == CALLOUT_MAGIC);
sys/kern/kern_timeout.c
484
lock = callout_lock(c);
sys/kern/kern_timeout.c
485
SDT_PROBE4(sdt, kernel, callout, setfunc, cs, func, arg, c->c_flags);
sys/kern/kern_timeout.c
486
c->c_func = func;
sys/kern/kern_timeout.c
487
c->c_arg = arg;
sys/kern/kern_timeout.c
488
callout_schedule_locked(c, lock, to_ticks);
sys/kern/kern_timeout.c
500
callout_impl_t *c = (callout_impl_t *)cs;
sys/kern/kern_timeout.c
503
KASSERT(c->c_magic == CALLOUT_MAGIC);
sys/kern/kern_timeout.c
505
lock = callout_lock(c);
sys/kern/kern_timeout.c
506
callout_schedule_locked(c, lock, to_ticks);
sys/kern/kern_timeout.c
519
callout_impl_t *c = (callout_impl_t *)cs;
sys/kern/kern_timeout.c
523
KASSERT(c->c_magic == CALLOUT_MAGIC);
sys/kern/kern_timeout.c
525
lock = callout_lock(c);
sys/kern/kern_timeout.c
527
if ((c->c_flags & CALLOUT_PENDING) != 0)
sys/kern/kern_timeout.c
528
CIRCQ_REMOVE(&c->c_list);
sys/kern/kern_timeout.c
529
expired = ((c->c_flags & CALLOUT_FIRED) != 0);
sys/kern/kern_timeout.c
530
c->c_flags &= ~(CALLOUT_PENDING|CALLOUT_FIRED);
sys/kern/kern_timeout.c
533
c, c->c_func, c->c_arg, c->c_flags, expired);
sys/kern/kern_timeout.c
553
callout_impl_t *c = (callout_impl_t *)cs;
sys/kern/kern_timeout.c
556
KASSERT(c->c_magic == CALLOUT_MAGIC);
sys/kern/kern_timeout.c
561
lock = callout_lock(c);
sys/kern/kern_timeout.c
563
c, c->c_func, c->c_arg, c->c_flags);
sys/kern/kern_timeout.c
564
if ((c->c_flags & CALLOUT_PENDING) != 0)
sys/kern/kern_timeout.c
565
CIRCQ_REMOVE(&c->c_list);
sys/kern/kern_timeout.c
566
c->c_flags &= ~(CALLOUT_PENDING|CALLOUT_FIRED);
sys/kern/kern_timeout.c
567
if (__predict_false(callout_running_somewhere_else(c, c->c_cpu))) {
sys/kern/kern_timeout.c
568
callout_wait(c, interlock, lock);
sys/kern/kern_timeout.c
572
c, c->c_func, c->c_arg, c->c_flags, /*expired*/false);
sys/kern/kern_timeout.c
584
callout_wait(callout_impl_t *c, void *interlock, kmutex_t *lock)
sys/kern/kern_timeout.c
603
cc = c->c_cpu;
sys/kern/kern_timeout.c
604
if (__predict_true(!callout_running_somewhere_else(c, cc)))
sys/kern/kern_timeout.c
634
lock = callout_lock(c);
sys/kern/kern_timeout.c
635
if ((c->c_flags & CALLOUT_PENDING) != 0)
sys/kern/kern_timeout.c
636
CIRCQ_REMOVE(&c->c_list);
sys/kern/kern_timeout.c
637
c->c_flags &= ~(CALLOUT_PENDING|CALLOUT_FIRED);
sys/kern/kern_timeout.c
641
c, c->c_func, c->c_arg, c->c_flags, /*expired*/true);
sys/kern/kern_timeout.c
661
callout_impl_t *c = (callout_impl_t *)cs;
sys/kern/kern_timeout.c
665
KASSERT((c->c_flags & CALLOUT_PENDING) == 0);
sys/kern/kern_timeout.c
666
KASSERT(c->c_cpu->cc_active != c);
sys/kern/kern_timeout.c
667
KASSERT(c->c_magic == CALLOUT_MAGIC);
sys/kern/kern_timeout.c
668
KASSERT((c->c_flags & CALLOUT_MPSAFE) != 0);
sys/kern/kern_timeout.c
670
lock = callout_lock(c);
sys/kern/kern_timeout.c
672
c->c_flags |= CALLOUT_BOUND;
sys/kern/kern_timeout.c
673
if (c->c_cpu != cc) {
sys/kern/kern_timeout.c
681
c->c_cpu = cc;
sys/kern/kern_timeout.c
690
callout_impl_t *c = (callout_impl_t *)cs;
sys/kern/kern_timeout.c
693
KASSERT(c->c_magic == CALLOUT_MAGIC);
sys/kern/kern_timeout.c
696
lock = callout_lock(c);
sys/kern/kern_timeout.c
697
SDT_PROBE4(sdt, kernel, callout, setfunc, cs, func, arg, c->c_flags);
sys/kern/kern_timeout.c
698
c->c_func = func;
sys/kern/kern_timeout.c
699
c->c_arg = arg;
sys/kern/kern_timeout.c
706
callout_impl_t *c = (callout_impl_t *)cs;
sys/kern/kern_timeout.c
710
KASSERT(c->c_magic == CALLOUT_MAGIC);
sys/kern/kern_timeout.c
712
lock = callout_lock(c);
sys/kern/kern_timeout.c
713
rv = ((c->c_flags & CALLOUT_FIRED) != 0);
sys/kern/kern_timeout.c
722
callout_impl_t *c = (callout_impl_t *)cs;
sys/kern/kern_timeout.c
726
KASSERT(c->c_magic == CALLOUT_MAGIC);
sys/kern/kern_timeout.c
728
lock = callout_lock(c);
sys/kern/kern_timeout.c
729
rv = ((c->c_flags & (CALLOUT_PENDING|CALLOUT_FIRED)) != 0);
sys/kern/kern_timeout.c
738
callout_impl_t *c = (callout_impl_t *)cs;
sys/kern/kern_timeout.c
742
KASSERT(c->c_magic == CALLOUT_MAGIC);
sys/kern/kern_timeout.c
744
lock = callout_lock(c);
sys/kern/kern_timeout.c
745
rv = ((c->c_flags & CALLOUT_PENDING) != 0);
sys/kern/kern_timeout.c
754
callout_impl_t *c = (callout_impl_t *)cs;
sys/kern/kern_timeout.c
758
KASSERT(c->c_magic == CALLOUT_MAGIC);
sys/kern/kern_timeout.c
760
lock = callout_lock(c);
sys/kern/kern_timeout.c
761
rv = ((c->c_flags & CALLOUT_INVOKING) != 0);
sys/kern/kern_timeout.c
770
callout_impl_t *c = (callout_impl_t *)cs;
sys/kern/kern_timeout.c
773
KASSERT(c->c_magic == CALLOUT_MAGIC);
sys/kern/kern_timeout.c
775
lock = callout_lock(c);
sys/kern/kern_timeout.c
776
c->c_flags &= ~CALLOUT_INVOKING;
sys/kern/kern_timeout.c
823
callout_impl_t *c;
sys/kern/kern_timeout.c
838
c = CIRCQ_FIRST(&cc->cc_todo);
sys/kern/kern_timeout.c
839
KASSERT(c->c_magic == CALLOUT_MAGIC);
sys/kern/kern_timeout.c
840
KASSERT(c->c_func != NULL);
sys/kern/kern_timeout.c
841
KASSERT(c->c_cpu == cc);
sys/kern/kern_timeout.c
842
KASSERT((c->c_flags & CALLOUT_PENDING) != 0);
sys/kern/kern_timeout.c
843
KASSERT((c->c_flags & CALLOUT_FIRED) == 0);
sys/kern/kern_timeout.c
844
CIRCQ_REMOVE(&c->c_list);
sys/kern/kern_timeout.c
848
delta = (int)((unsigned)c->c_time - (unsigned)ticks);
sys/kern/kern_timeout.c
850
CIRCQ_INSERT(&c->c_list, BUCKET(cc, delta, c->c_time));
sys/kern/kern_timeout.c
856
c->c_flags = (c->c_flags & ~CALLOUT_PENDING) |
sys/kern/kern_timeout.c
858
mpsafe = (c->c_flags & CALLOUT_MPSAFE);
sys/kern/kern_timeout.c
859
func = c->c_func;
sys/kern/kern_timeout.c
860
arg = c->c_arg;
sys/kern/kern_timeout.c
861
cc->cc_active = c;
sys/kern/kern_timeout.c
862
flags = c->c_flags;
sys/kern/kern_timeout.c
866
SDT_PROBE4(sdt, kernel, callout, entry, c, func, arg, flags);
sys/kern/kern_timeout.c
873
SDT_PROBE4(sdt, kernel, callout, return, c, func, arg, flags);
sys/kern/kern_timeout.c
876
c, func, l->l_blcnt);
sys/kern/kern_timeout.c
902
callout_impl_t *c, ci;
sys/kern/kern_timeout.c
911
for (c = CIRCQ_FIRST(bucket); /*nothing*/; c = CIRCQ_NEXT(&c->c_list)) {
sys/kern/kern_timeout.c
912
db_read_bytes((db_addr_t)c, sizeof(ci), (char *)&ci);
sys/kern/kern_timeout.c
913
c = &ci;
sys/kern/kern_timeout.c
914
db_find_sym_and_offset((db_addr_t)(intptr_t)c->c_func, &name,
sys/kern/kern_timeout.c
921
c->c_time - cc->cc_ticks, b / WHEELSIZE, b,
sys/kern/kern_timeout.c
922
(u_long)c->c_arg, name);
sys/kern/kern_timeout.c
923
if (CIRCQ_LAST(&c->c_list, kbucket))
sys/kern/kern_veriexec.c
361
#define FPOPS_ADD(a, b, c, d, e, f) \
sys/kern/kern_veriexec.c
362
veriexec_fpops_add(a, b, c, \
sys/kern/kgdb_stub.c
152
digit2i(u_char c)
sys/kern/kgdb_stub.c
154
if (c >= '0' && c <= '9')
sys/kern/kgdb_stub.c
155
return (c - '0');
sys/kern/kgdb_stub.c
156
else if (c >= 'a' && c <= 'f')
sys/kern/kgdb_stub.c
157
return (c - 'a' + 10);
sys/kern/kgdb_stub.c
158
else if (c >= 'A' && c <= 'F')
sys/kern/kgdb_stub.c
160
return (c - 'A' + 10);
sys/kern/kgdb_stub.c
243
u_char csum, c;
sys/kern/kgdb_stub.c
249
for (csum = 0; (c = *p); p++) {
sys/kern/kgdb_stub.c
250
PUTC(c);
sys/kern/kgdb_stub.c
251
csum += c;
sys/kern/kgdb_stub.c
256
} while ((c = GETC() & 0x7f) == KGDB_BADP);
sys/kern/kgdb_stub.c
266
int c, csum, tmpcsum;
sys/kern/kgdb_stub.c
273
while ((c = GETC()) != KGDB_START)
sys/kern/kgdb_stub.c
274
DPRINTF(("%c",c));
sys/kern/kgdb_stub.c
275
DPRINTF(("%c Start ",c));
sys/kern/kgdb_stub.c
277
while ((c = GETC()) != KGDB_END && len < maxlen) {
sys/kern/kgdb_stub.c
278
DPRINTF(("%c",c));
sys/kern/kgdb_stub.c
279
c &= 0x7f;
sys/kern/kgdb_stub.c
280
csum += c;
sys/kern/kgdb_stub.c
281
*p++ = c;
sys/kern/kgdb_stub.c
286
DPRINTF(("%c End ", c));
sys/kern/kgdb_stub.c
295
c = GETC();
sys/kern/kgdb_stub.c
296
DPRINTF(("%c",c));
sys/kern/kgdb_stub.c
297
csum -= digit2i(c) * 16;
sys/kern/kgdb_stub.c
298
c = GETC();
sys/kern/kgdb_stub.c
299
DPRINTF(("%c",c));
sys/kern/kgdb_stub.c
300
csum -= digit2i(c);
sys/kern/kgdb_stub.c
89
#define PUTC(c) (*kgdb_putc)(kgdb_ioarg, c)
sys/kern/kgdb_stub.c
94
int c;
sys/kern/kgdb_stub.c
95
while ((c = (*kgdb_getc)(arg)) == -1)
sys/kern/kgdb_stub.c
97
return c;
sys/kern/subr_asan.c
455
kasan_memset(void *b, int c, size_t len)
sys/kern/subr_asan.c
458
return __builtin_memset(b, c, len);
sys/kern/subr_asan.c
534
kasan_strchr(const char *s, int c)
sys/kern/subr_asan.c
538
return __builtin_strchr(s, c);
sys/kern/subr_asan.c
542
kasan_strrchr(const char *s, int c)
sys/kern/subr_asan.c
546
return __builtin_strrchr(s, c);
sys/kern/subr_copy.c
263
ureadc(int c, struct uio *uio)
sys/kern/subr_copy.c
280
if ((error = ustore_char(iov->iov_base, c)) != 0)
sys/kern/subr_copy.c
283
*(char *)iov->iov_base = c;
sys/kern/subr_cpufreq.c
123
cf_backend->cf_state[c].cfs_index = c;
sys/kern/subr_cpufreq.c
124
cf_backend->cf_state[c].cfs_freq = cf->cf_state[i].cfs_freq;
sys/kern/subr_cpufreq.c
125
cf_backend->cf_state[c].cfs_power = cf->cf_state[i].cfs_power;
sys/kern/subr_cpufreq.c
127
c++;
sys/kern/subr_cpufreq.c
130
cf_backend->cf_state_count = c;
sys/kern/subr_cpufreq.c
67
uint32_t c, i, j, k, m;
sys/kern/subr_cpufreq.c
98
for (c = i = 0; i < cf->cf_state_count; i++) {
sys/kern/subr_csan.c
264
kcsan_memset(void *b, int c, size_t len)
sys/kern/subr_csan.c
267
return __builtin_memset(b, c, len);
sys/kern/subr_extent.c
90
#define mutex_init(a, b, c) no_op()
sys/kern/subr_log.c
412
logaddchar(struct kern_msgbuf *mbp, int c)
sys/kern/subr_log.c
414
mbp->msg_bufc[mbp->msg_bufx++] = c;
sys/kern/subr_log.c
424
logputchar(int c)
sys/kern/subr_log.c
450
logaddchar(mbp, c);
sys/kern/subr_msan.c
316
kmsan_shadow_fill(void *addr, uint8_t c, size_t size)
sys/kern/subr_msan.c
326
__builtin_memset(shad, c, size);
sys/kern/subr_msan.c
524
kmsan_mark(void *addr, size_t size, uint8_t c)
sys/kern/subr_msan.c
526
kmsan_shadow_fill(addr, c, size);
sys/kern/subr_msan.c
684
void *kmsan_memset(void *dst, int c, size_t len)
sys/kern/subr_msan.c
689
return __builtin_memset(dst, c, len);
sys/kern/subr_msan.c
795
kmsan_strchr(const char *s, int c)
sys/kern/subr_msan.c
799
kmsan_check_arg(sizeof(s) + sizeof(c), "strchr():args");
sys/kern/subr_msan.c
801
ret = __builtin_strchr(s, c);
sys/kern/subr_msan.c
808
kmsan_strrchr(const char *s, int c)
sys/kern/subr_msan.c
812
kmsan_check_arg(sizeof(s) + sizeof(c), "strrchr():args");
sys/kern/subr_msan.c
814
ret = __builtin_strrchr(s, c);
sys/kern/subr_pcq.c
151
pcq_split(uint32_t v, u_int *p, u_int *c)
sys/kern/subr_pcq.c
155
*c = v >> 16;
sys/kern/subr_pcq.c
159
pcq_combine(u_int p, u_int c)
sys/kern/subr_pcq.c
162
return p | (c << 16);
sys/kern/subr_pcq.c
182
u_int op, p, c;
sys/kern/subr_pcq.c
188
pcq_split(v, &op, &c);
sys/kern/subr_pcq.c
190
if (p == c) {
sys/kern/subr_pcq.c
194
nv = pcq_combine(p, c);
sys/kern/subr_pcq.c
220
u_int p, c;
sys/kern/subr_pcq.c
222
pcq_split(v, &p, &c);
sys/kern/subr_pcq.c
225
return (p == c) ? NULL : atomic_load_consume(&pcq->pcq_items[c]);
sys/kern/subr_pcq.c
237
u_int p, c;
sys/kern/subr_pcq.c
241
pcq_split(v, &p, &c);
sys/kern/subr_pcq.c
242
if (p == c) {
sys/kern/subr_pcq.c
246
item = atomic_load_consume(&pcq->pcq_items[c]);
sys/kern/subr_pcq.c
259
pcq->pcq_items[c] = NULL;
sys/kern/subr_pcq.c
260
c = pcq_advance(pcq, c);
sys/kern/subr_pcq.c
261
nv = pcq_combine(p, c);
sys/kern/subr_pcq.c
279
pcq_split(v, &p, &c);
sys/kern/subr_pcq.c
280
c = pcq_advance(pcq, c);
sys/kern/subr_pcq.c
281
nv = pcq_combine(p, c);
sys/kern/subr_pool.c
136
#define pool_put_quarantine(a, b, c) false
sys/kern/subr_pool.c
1886
char c;
sys/kern/subr_pool.c
1888
while ((c = *modif++) != '\0') {
sys/kern/subr_pool.c
1889
if (c == 'l')
sys/kern/subr_pool.c
1891
if (c == 'p')
sys/kern/subr_pool.c
1893
if (c == 'c')
sys/kern/subr_pool.c
1895
if (c == 's')
sys/kern/subr_pool.c
1897
if (c == 'S')
sys/kern/subr_prf.c
1185
#define to_digit(c) ((c) - '0')
sys/kern/subr_prf.c
1186
#define is_digit(c) ((unsigned)to_digit(c) <= 9)
sys/kern/subr_prf.c
397
putone(int c, int flags, struct tty *tp)
sys/kern/subr_prf.c
422
tputchar(c, flags, tp) < 0 &&
sys/kern/subr_prf.c
426
c != '\0' && c != '\r' && c != 0177)
sys/kern/subr_prf.c
427
logputchar(c);
sys/kern/subr_prf.c
428
if ((flags & TOCONS) && ctp == NULL && c != '\0')
sys/kern/subr_prf.c
429
(*v_putc)(c);
sys/kern/subr_prf.c
492
putchar(int c, int flags, struct tty *tp)
sys/kern/subr_prf.c
494
if (c & KLOG_PRI) {
sys/kern/subr_prf.c
495
putlogpri(c & ~KLOG_PRI);
sys/kern/subr_prf.c
500
if (c != '\0' && c != '\n' && needtstamp && (flags & NOTSTAMP) == 0) {
sys/kern/subr_prf.c
505
if (c == '\n')
sys/kern/subr_prf.c
508
putone(c, flags, tp);
sys/kern/subr_prf.c
512
db_putchar(c);
sys/kern/subr_prf.c
519
unsigned char ch = c;
sys/kern/subr_userconf.c
101
char c = '\0';
sys/kern/subr_userconf.c
107
c = cngetc();
sys/kern/subr_userconf.c
113
if (c == 'q' || c == 'Q')
sys/kern/subr_userconf.c
257
userconf_number(char *c, int *val)
sys/kern/subr_userconf.c
263
if (*c == '-') {
sys/kern/subr_userconf.c
265
c++;
sys/kern/subr_userconf.c
267
if (*c == '0') {
sys/kern/subr_userconf.c
269
c++;
sys/kern/subr_userconf.c
270
if (*c == 'x' || *c == 'X') {
sys/kern/subr_userconf.c
272
c++;
sys/kern/subr_userconf.c
275
while (*c != '\n' && *c != '\t' && *c != ' ' && *c != '\0') {
sys/kern/subr_userconf.c
276
u_char cc = *c;
sys/kern/subr_userconf.c
290
c++;
sys/kern/subr_userconf.c
304
char *c;
sys/kern/subr_userconf.c
306
c = cmd;
sys/kern/subr_userconf.c
307
while (!(!*c || *c == ' ' || *c == '\t' || *c == '\n'))
sys/kern/subr_userconf.c
308
c++;
sys/kern/subr_userconf.c
309
while (c > cmd) {
sys/kern/subr_userconf.c
310
c--;
sys/kern/subr_userconf.c
311
if (!((*c >= '0' && *c <= '9') || *c == '*')) {
sys/kern/subr_userconf.c
312
c++;
sys/kern/subr_userconf.c
316
l = c - cmd;
sys/kern/subr_userconf.c
317
if (*c == '*') {
sys/kern/subr_userconf.c
319
c++;
sys/kern/subr_userconf.c
321
while (*c >= '0' && *c <= '9') {
sys/kern/subr_userconf.c
323
u = u*10 + *c - '0';
sys/kern/subr_userconf.c
324
c++;
sys/kern/subr_userconf.c
327
while (*c == ' ' || *c == '\t' || *c == '\n')
sys/kern/subr_userconf.c
328
c++;
sys/kern/subr_userconf.c
330
if (*c == '\0') {
sys/kern/subr_userconf.c
345
char *c;
sys/kern/subr_userconf.c
357
c = userconf_argbuf;
sys/kern/subr_userconf.c
358
while (*c == ' ' || *c == '\t' || *c == '\n') c++;
sys/kern/subr_userconf.c
360
if (*c != '\0') {
sys/kern/subr_userconf.c
361
if (*c == '?') {
sys/kern/subr_userconf.c
367
} else if (userconf_number(c, &a) == 0) {
sys/kern/subr_userconf.c
383
char c = '\0';
sys/kern/subr_userconf.c
394
while (c != 'y' && c != 'Y' && c != 'n' && c != 'N') {
sys/kern/subr_userconf.c
397
c = cngetc();
sys/kern/subr_userconf.c
402
if (c == 'y' || c == 'Y') {
sys/kern/subr_userconf.c
654
char *c;
sys/kern/subr_userconf.c
663
c = userconf_argbuf;
sys/kern/subr_userconf.c
664
while (*c == ' ' || *c == '\t' || *c == '\n') c++;
sys/kern/subr_userconf.c
666
if (*c != '\0') {
sys/kern/subr_userconf.c
667
if (userconf_number(c, &a) == 0) {
sys/kern/subr_userconf.c
679
} else if (*c == '?') {
sys/kern/subr_userconf.c
682
} else if (*c == 'q' || *c == 'Q') {
sys/kern/subr_userconf.c
697
char *c, *v;
sys/kern/subr_userconf.c
701
c = cmd;
sys/kern/subr_userconf.c
702
while (*c == ' ' || *c == '\t')
sys/kern/subr_userconf.c
703
c++;
sys/kern/subr_userconf.c
704
v = c;
sys/kern/subr_userconf.c
705
while (*c != ' ' && *c != '\t' && *c != '\n' && *c != '\0') {
sys/kern/subr_userconf.c
706
c++;
sys/kern/subr_userconf.c
719
while (*c == ' ' || *c == '\t' || *c == '\n')
sys/kern/subr_userconf.c
720
c++;
sys/kern/subr_userconf.c
728
if (*c == '\0')
sys/kern/subr_userconf.c
730
else if (userconf_number(c, &a) == 0)
sys/kern/subr_userconf.c
736
if (*c == '\0')
sys/kern/subr_userconf.c
738
else if (userconf_number(c, &a) == 0) {
sys/kern/subr_userconf.c
748
if (*c == '\0')
sys/kern/subr_userconf.c
750
else if (userconf_number(c, &a) == 0)
sys/kern/subr_userconf.c
752
else if (userconf_device(c, &a, &unit, &state) == 0)
sys/kern/subr_userconf.c
753
userconf_common_dev(c, a, unit, state, UC_CHANGE);
sys/kern/subr_userconf.c
758
if (*c == '\0')
sys/kern/subr_userconf.c
760
else if (userconf_number(c, &a) == 0)
sys/kern/subr_userconf.c
762
else if (userconf_device(c, &a, &unit, &state) == 0)
sys/kern/subr_userconf.c
763
userconf_common_dev(c, a, unit, state, UC_DISABLE);
sys/kern/subr_userconf.c
768
if (*c == '\0')
sys/kern/subr_userconf.c
770
else if (userconf_number(c, &a) == 0)
sys/kern/subr_userconf.c
772
else if (userconf_device(c, &a, &unit, &state) == 0)
sys/kern/subr_userconf.c
773
userconf_common_dev(c, a, unit, state, UC_ENABLE);
sys/kern/subr_userconf.c
778
if (*c == '\0')
sys/kern/subr_userconf.c
780
else if (userconf_number(c, &a) == 0)
sys/kern/subr_userconf.c
782
else if (userconf_device(c, &a, &unit, &state) == 0)
sys/kern/subr_userconf.c
783
userconf_common_dev(c, a, unit, state, UC_FIND);
sys/kern/subr_userconf.c
791
if (*c == '\0')
sys/kern/subr_vmem.c
128
#define mutex_init(a, b, c) __nothing
sys/kern/tty.c
141
#define PARITY(c) (char_type[c] & O)
sys/kern/tty.c
144
#define ISALPHA(c) (char_type[(c) & TTY_CHARMASK] & ALPHA)
sys/kern/tty.c
147
#define CCLASS(c) (char_type[c] & CCLASSMASK)
sys/kern/tty.c
1943
int c;
sys/kern/tty.c
1952
while ((c = getc(&tq)) >= 0)
sys/kern/tty.c
1953
ttyinput_wlock(c, tp);
sys/kern/tty.c
1966
int c, first, error, has_stime, last_cc;
sys/kern/tty.c
2122
while ((c = getc(qp)) >= 0) {
sys/kern/tty.c
2126
if (CCEQ(cc[VDSUSP], c) &&
sys/kern/tty.c
2141
if (CCEQ(cc[VEOF], c) && ISSET(lflag, ICANON))
sys/kern/tty.c
2147
error = ureadc(c, uio);
sys/kern/tty.c
2157
if (ISSET(lflag, ICANON) && TTBREAKC(c, lflag))
sys/kern/tty.c
2433
ttyrub(int c, struct tty *tp)
sys/kern/tty.c
2451
if (c == ('\t' | TTY_QUOTE) || c == ('\n' | TTY_QUOTE))
sys/kern/tty.c
2454
CLR(c, ~TTY_CHARMASK);
sys/kern/tty.c
2455
switch (CCLASS(c)) {
sys/kern/tty.c
2492
"val = %d\n", c, CCLASS(c));
sys/kern/tty.c
2500
ttyecho(c, tp);
sys/kern/tty.c
2534
int c;
sys/kern/tty.c
2544
for (cp = firstc(&tp->t_canq, &c); cp; cp = nextc(&tp->t_canq, cp, &c))
sys/kern/tty.c
2545
ttyecho(c, tp);
sys/kern/tty.c
2546
for (cp = firstc(&tp->t_rawq, &c); cp; cp = nextc(&tp->t_rawq, cp, &c))
sys/kern/tty.c
2547
ttyecho(c, tp);
sys/kern/tty.c
2559
ttyecho(int c, struct tty *tp)
sys/kern/tty.c
2567
(!ISSET(tp->t_lflag, ECHONL) || c != '\n')) ||
sys/kern/tty.c
2571
(ISSET(c, TTY_CHARMASK) <= 037 && c != '\t' && c != '\n')) ||
sys/kern/tty.c
2572
ISSET(c, TTY_CHARMASK) == 0177)) {
sys/kern/tty.c
2574
CLR(c, ~TTY_CHARMASK);
sys/kern/tty.c
2575
if (c == 0177)
sys/kern/tty.c
2576
c = '?';
sys/kern/tty.c
2578
c += 'A' - 1;
sys/kern/tty.c
2580
(void)ttyoutput(c, tp);
sys/kern/tty.c
2824
tputchar(int c, int flags, struct tty *tp)
sys/kern/tty.c
2834
if (c == '\n')
sys/kern/tty.c
2836
(void)ttyoutput(c, tp);
sys/kern/tty.c
3184
tty_try_xonxoff(struct tty *tp, unsigned char c)
sys/kern/tty.c
3189
if (c == tp->t_cc[VSTOP] && tp->t_cc[VSTOP] != _POSIX_VDISABLE) {
sys/kern/tty.c
3198
if (c == tp->t_cc[VSTART] && tp->t_cc[VSTART] != _POSIX_VDISABLE) {
sys/kern/tty.c
569
#define TTBREAKC(c, lflg) \
sys/kern/tty.c
570
((c) == '\n' || (((c) == cc[VEOF] || (c) == cc[VEOL] || \
sys/kern/tty.c
571
((c) == cc[VEOL2] && ISSET(lflg, IEXTEN))) && (c) != _POSIX_VDISABLE))
sys/kern/tty.c
580
ttyinput_wlock(int c, struct tty *tp)
sys/kern/tty.c
611
if ((error = (ISSET(c, TTY_ERRORMASK))) != 0) {
sys/kern/tty.c
612
CLR(c, TTY_ERRORMASK);
sys/kern/tty.c
613
if (ISSET(error, TTY_FE) && c == 0) { /* Break. */
sys/kern/tty.c
629
(void)putc(c | TTY_QUOTE, &tp->t_rawq);
sys/kern/tty.c
632
c = 0;
sys/kern/tty.c
634
} else if (c == 0377 &&
sys/kern/tty.c
648
CLR(c, 0x80);
sys/kern/tty.c
654
SET(c, TTY_QUOTE);
sys/kern/tty.c
670
if (CCEQ(cc[VLNEXT], c)) {
sys/kern/tty.c
676
ttyecho(c, tp);
sys/kern/tty.c
681
if (CCEQ(cc[VDISCARD], c)) {
sys/kern/tty.c
686
ttyecho(c, tp);
sys/kern/tty.c
698
if (CCEQ(cc[VINTR], c) || CCEQ(cc[VQUIT], c)) {
sys/kern/tty.c
701
ttyecho(c, tp);
sys/kern/tty.c
702
ttysig(tp, TTYSIG_PG1, CCEQ(cc[VINTR], c) ?
sys/kern/tty.c
706
if (CCEQ(cc[VSUSP], c)) {
sys/kern/tty.c
709
ttyecho(c, tp);
sys/kern/tty.c
718
if (CCEQ(cc[VSTOP], c)) {
sys/kern/tty.c
724
if (!CCEQ(cc[VSTART], c))
sys/kern/tty.c
731
if (CCEQ(cc[VSTART], c))
sys/kern/tty.c
737
if (c == '\r') {
sys/kern/tty.c
741
c = '\n';
sys/kern/tty.c
742
} else if (c == '\n' && ISSET(iflag, INLCR))
sys/kern/tty.c
743
c = '\r';
sys/kern/tty.c
753
if (CCEQ(cc[VERASE], c)) {
sys/kern/tty.c
761
if (CCEQ(cc[VKILL], c)) {
sys/kern/tty.c
768
ttyecho(c, tp);
sys/kern/tty.c
785
if (CCEQ(cc[VWERASE], c)) {
sys/kern/tty.c
792
while ((c = unputc(&tp->t_rawq)) == ' ' ||
sys/kern/tty.c
793
c == '\t')
sys/kern/tty.c
794
ttyrub(c, tp);
sys/kern/tty.c
795
if (c == -1)
sys/kern/tty.c
801
ttyrub(c, tp);
sys/kern/tty.c
802
c = unputc(&tp->t_rawq);
sys/kern/tty.c
803
if (c == -1)
sys/kern/tty.c
805
if (c == ' ' || c == '\t') {
sys/kern/tty.c
806
(void)putc(c, &tp->t_rawq);
sys/kern/tty.c
809
ctype = ISALPHA(c);
sys/kern/tty.c
814
ttyrub(c, tp);
sys/kern/tty.c
815
c = unputc(&tp->t_rawq);
sys/kern/tty.c
816
if (c == -1)
sys/kern/tty.c
818
} while (c != ' ' && c != '\t' &&
sys/kern/tty.c
819
(alt == 0 || ISALPHA(c) == ctype));
sys/kern/tty.c
820
(void)putc(c, &tp->t_rawq);
sys/kern/tty.c
826
if (CCEQ(cc[VREPRINT], c)) {
sys/kern/tty.c
833
if (CCEQ(cc[VSTATUS], c)) {
sys/kern/tty.c
854
if (putc(c, &tp->t_rawq) >= 0) {
sys/kern/tty.c
857
ttyecho(c, tp);
sys/kern/tty.c
860
if (TTBREAKC(c, lflag)) {
sys/kern/tty.c
874
ttyecho(c, tp);
sys/kern/tty.c
875
if (CCEQ(cc[VEOF], c) && ISSET(lflag, ECHO)) {
sys/kern/tty.c
908
ttyinput(int c, struct tty *tp)
sys/kern/tty.c
919
error = ttyinput_wlock(c, tp);
sys/kern/tty.c
934
ttyoutput(int c, struct tty *tp)
sys/kern/tty.c
945
if (!ISSET(tp->t_lflag, FLUSHO) && putc(c, &tp->t_outq))
sys/kern/tty.c
946
return (c);
sys/kern/tty.c
955
CLR(c, ~TTY_CHARMASK);
sys/kern/tty.c
956
if (c == '\t' &&
sys/kern/tty.c
958
c = 8 - (tp->t_column & 7);
sys/kern/tty.c
962
notout = b_to_q(" ", c, &tp->t_outq);
sys/kern/tty.c
963
c -= notout;
sys/kern/tty.c
964
tk_nout += c;
sys/kern/tty.c
965
tp->t_outcc += c;
sys/kern/tty.c
967
tp->t_column += c;
sys/kern/tty.c
970
if (c == CEOT && ISSET(oflag, ONOEOT))
sys/kern/tty.c
977
if (c == '\n' && ISSET(tp->t_oflag, ONLCR)) {
sys/kern/tty.c
981
return (c);
sys/kern/tty.c
984
else if (c == '\r' && ISSET(tp->t_oflag, OCRNL))
sys/kern/tty.c
985
c = '\n';
sys/kern/tty.c
987
else if (c == '\r' && ISSET(tp->t_oflag, ONOCR) && tp->t_column == 0)
sys/kern/tty.c
992
if (!ISSET(tp->t_lflag, FLUSHO) && putc(c, &tp->t_outq))
sys/kern/tty.c
993
return (c);
sys/kern/tty.c
996
switch (CCLASS(c)) {
sys/kern/tty_bsdpty.c
109
bf[5] = c;
sys/kern/tty_bsdpty.c
89
size_t bufsiz, dev_t dev, char c)
sys/kern/tty_pty.c
436
int cc, c;
sys/kern/tty_pty.c
467
c = getc(&tp->t_canq);
sys/kern/tty_pty.c
469
error = ureadc(c, uio);
sys/kern/tty_pty.c
651
int c;
sys/kern/tty_pty.c
665
if (pti->pt_flags & PF_PKT && (c = pti->pt_send)) {
sys/kern/tty_pty.c
668
error = ureadc(c, uio);
sys/kern/tty_pty.c
677
if (c & TIOCPKT_IOCTL) {
sys/kern/tty_pty.c
685
if (pti->pt_flags & PF_UCNTL && (c = pti->pt_ucntl)) {
sys/kern/tty_pty.c
688
error = ureadc(c, uio);
sys/kern/tty_subr.c
104
int c = -1;
sys/kern/tty_subr.c
111
c = *clp->c_cf & 0xff;
sys/kern/tty_subr.c
115
c |= TTY_QUOTE;
sys/kern/tty_subr.c
118
c |= TTY_QUOTE;
sys/kern/tty_subr.c
128
return c;
sys/kern/tty_subr.c
245
putc(int c, struct clist *clp)
sys/kern/tty_subr.c
268
*clp->c_cl = c & 0xff;
sys/kern/tty_subr.c
272
if (c & TTY_QUOTE)
sys/kern/tty_subr.c
278
*q = (c & TTY_QUOTE) ? 1 : 0;
sys/kern/tty_subr.c
392
nextc(struct clist *clp, u_char *cp, int *c)
sys/kern/tty_subr.c
407
*c = *cp & 0xff;
sys/kern/tty_subr.c
411
*c |= TTY_QUOTE;
sys/kern/tty_subr.c
414
*c |= TTY_QUOTE;
sys/kern/tty_subr.c
431
firstc(struct clist *clp, int *c)
sys/kern/tty_subr.c
439
*c = *cp & 0xff;
sys/kern/tty_subr.c
443
*c |= TTY_QUOTE;
sys/kern/tty_subr.c
446
*c |= TTY_QUOTE;
sys/kern/tty_subr.c
458
unsigned int c = -1;
sys/kern/tty_subr.c
471
c = *clp->c_cl & 0xff;
sys/kern/tty_subr.c
475
c |= TTY_QUOTE;
sys/kern/tty_subr.c
478
c |= TTY_QUOTE;
sys/kern/tty_subr.c
485
return c;
sys/kern/tty_subr.c
494
int c;
sys/kern/tty_subr.c
496
while ((c = getc(from)) != -1)
sys/kern/tty_subr.c
497
putc(c, to);
sys/kern/uipc_mbuf.c
521
m_add(struct mbuf *c, struct mbuf *m)
sys/kern/uipc_mbuf.c
525
if (c == NULL)
sys/kern/uipc_mbuf.c
528
for (n = c; n->m_next != NULL; n = n->m_next)
sys/kern/uipc_mbuf.c
531
return c;
sys/kern/vfs_lookup.c
868
{ char c = *cp;
sys/kern/vfs_lookup.c
871
*(char *)cp = c; }
sys/kern/vfs_subr.c
1478
VFS_MOUNT(struct mount *mp, const char *a, void *b, size_t *c)
sys/kern/vfs_subr.c
1494
error = (*(mp->mnt_op->vfs_mount))(mp, a, b, c);
sys/kern/vfs_subr.c
1599
VFS_FHTOVP(struct mount *mp, struct fid *a, int b, struct vnode **c)
sys/kern/vfs_subr.c
1606
error = (*(mp->mnt_op->vfs_fhtovp))(mp, a, b, c);
sys/kern/vfs_subr.c
1647
VFS_EXTATTRCTL(struct mount *mp, int a, struct vnode *b, int c, const char *d)
sys/kern/vfs_subr.c
1652
error = (*(mp->mnt_op->vfs_extattrctl))(mp, a, b, c, d);
sys/kern/vfs_syscalls.c
1304
char c;
sys/kern/vfs_syscalls.c
1326
((c = sp->f_mntonname[len]) == '/' || c == '\0')) {
sys/kern/vfs_syscalls.c
1328
c == '\0' ? "/" : &sp->f_mntonname[len],
sys/lib/libkern/crc32.c
111
c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8);
sys/lib/libkern/crc32.c
113
c = ~c;
sys/lib/libkern/crc32.c
114
return (uint32_t)(REV(c));
sys/lib/libkern/crc32.c
36
#define DOLIT4 c ^= *buf4++; \
sys/lib/libkern/crc32.c
37
c = crc_table[3][c & 0xff] ^ crc_table[2][(c >> 8) & 0xff] ^ \
sys/lib/libkern/crc32.c
38
crc_table[1][(c >> 16) & 0xff] ^ crc_table[0][c >> 24]
sys/lib/libkern/crc32.c
44
register u4 c;
sys/lib/libkern/crc32.c
49
c = (u4)crc;
sys/lib/libkern/crc32.c
50
c = ~c;
sys/lib/libkern/crc32.c
52
c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
sys/lib/libkern/crc32.c
68
c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
sys/lib/libkern/crc32.c
70
c = ~c;
sys/lib/libkern/crc32.c
71
return (uint32_t)c;
sys/lib/libkern/crc32.c
77
#define DOBIG4 c ^= *++buf4; \
sys/lib/libkern/crc32.c
78
c = crc_table[4][c & 0xff] ^ crc_table[5][(c >> 8) & 0xff] ^ \
sys/lib/libkern/crc32.c
79
crc_table[6][(c >> 16) & 0xff] ^ crc_table[7][c >> 24]
sys/lib/libkern/crc32.c
85
register u4 c;
sys/lib/libkern/crc32.c
90
c = REV((u4)crc);
sys/lib/libkern/crc32.c
91
c = ~c;
sys/lib/libkern/crc32.c
93
c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8);
sys/lib/libkern/hexdump.c
66
unsigned char c = u[i];
sys/lib/libkern/hexdump.c
67
buf[p++] = hexdigits[(c >> 4) & 0xf];
sys/lib/libkern/hexdump.c
68
buf[p++] = hexdigits[(c >> 0) & 0xf];
sys/lib/libkern/hexdump.c
73
buf[ASC + q++] = isprint(c) ? c : '.';
sys/lib/libkern/libkern.h
401
#define strchr(s, c) kasan_strchr(s, c)
sys/lib/libkern/libkern.h
402
#define strrchr(s, c) kasan_strrchr(s, c)
sys/lib/libkern/libkern.h
408
#define strchr(s, c) kmsan_strchr(s, c)
sys/lib/libkern/libkern.h
409
#define strrchr(s, c) kmsan_strrchr(s, c)
sys/lib/libkern/rngtest.c
191
int c;
sys/lib/libkern/rngtest.c
203
for (p = rc->rt_b, c = 0; p < &rc->rt_b[sizeof rc->rt_b]; ++p)
sys/lib/libkern/rngtest.c
204
c += popcount(*p);
sys/lib/libkern/rngtest.c
205
if (c <= minones || maxones <= c) {
sys/lib/libkern/rngtest.c
207
rc->rt_name, c);
sys/lib/libkern/rngtest.c
230
c = *p;
sys/lib/libkern/rngtest.c
232
if (((c >> i) & 1) != last) {
sys/lib/libkern/rngtest.c
235
last = (c >> i) & 1;
sys/lib/libsa/atoi.c
38
char *c;
sys/lib/libsa/atoi.c
42
c = __UNCONST(in);
sys/lib/libsa/atoi.c
43
if (*c == '-')
sys/lib/libsa/atoi.c
44
c++;
sys/lib/libsa/atoi.c
45
for (; isdigit(*c); c++)
sys/lib/libsa/atoi.c
46
ret = (ret * 10) + (*c - '0');
sys/lib/libsa/bootcfg.c
103
char *bc, *c;
sys/lib/libsa/bootcfg.c
168
for (c = bc; *c; c = next) {
sys/lib/libsa/bootcfg.c
169
key = c;
sys/lib/libsa/bootcfg.c
171
for (; *c && *c != '\n'; c++)
sys/lib/libsa/bootcfg.c
173
if (*c == '#')
sys/lib/libsa/bootcfg.c
174
*c = 0;
sys/lib/libsa/bootcfg.c
176
if (*(next = c))
sys/lib/libsa/bootcfg.c
179
for (c = key; *c && *c != '='; c++)
sys/lib/libsa/bootcfg.c
182
if (*c == '\0')
sys/lib/libsa/bootcfg.c
186
*c++ = 0;
sys/lib/libsa/bootcfg.c
187
value = c;
sys/lib/libsa/bootcfg.c
189
for (; *c && *c != '\n'; c++)
sys/lib/libsa/bootcfg.c
191
*c = 0;
sys/lib/libsa/bootparam.c
385
u_char c[4];
sys/lib/libsa/bootparam.c
393
cp = uia.c;
sys/lib/libsa/bootparam.c
417
u_char c[4];
sys/lib/libsa/bootparam.c
429
cp = uia.c;
sys/lib/libsa/checkpasswd.c
42
int c;
sys/lib/libsa/checkpasswd.c
49
switch (c = getchar() & 0177) {
sys/lib/libsa/checkpasswd.c
88
*lp++ = (char)c;
sys/lib/libsa/cread.c
104
uint32_t c, carry;
sys/lib/libsa/cread.c
109
c = buf[i];
sys/lib/libsa/cread.c
111
carry = ((crc & 0x01) ? 1 : 0) ^ (c & 0x01);
sys/lib/libsa/cread.c
113
c >>= 1;
sys/lib/libsa/cread.c
176
int c;
sys/lib/libsa/cread.c
181
c = get_byte(s);
sys/lib/libsa/cread.c
182
if (c == EOF)
sys/lib/libsa/cread.c
184
x += ((unsigned long)c) << 24;
sys/lib/libsa/cread.c
194
int c;
sys/lib/libsa/cread.c
198
c = get_byte(s);
sys/lib/libsa/cread.c
199
if (c == gz_magic[len])
sys/lib/libsa/cread.c
201
if ((c == EOF) && (len == 0)) {
sys/lib/libsa/cread.c
212
if (c != EOF) {
sys/lib/libsa/cread.c
241
while ((c = get_byte(s)) != 0 && c != EOF)
sys/lib/libsa/cread.c
246
while ((c = get_byte(s)) != 0 && c != EOF)
sys/lib/libsa/dosfs.c
133
#define fatoff(sz, c) ((sz) == 12 ? (c) + ((c) >> 1) : \
sys/lib/libsa/dosfs.c
134
(sz) == 16 ? (c) << 1 : \
sys/lib/libsa/dosfs.c
135
(c) << 2)
sys/lib/libsa/dosfs.c
138
#define okclus(fs, c) ((c) >= LOCLUS && (c) <= (fs)->xclus)
sys/lib/libsa/dosfs.c
164
#define TO_UPPER(c) ((c) >= 'a' && (c) <= 'z' ? (c) - ('a' - 'A') : (c))
sys/lib/libsa/dosfs.c
262
f->c = 0;
sys/lib/libsa/dosfs.c
284
u_int nb, off, clus, c, cnt, n;
sys/lib/libsa/dosfs.c
297
c = f->c;
sys/lib/libsa/dosfs.c
301
if (!c) {
sys/lib/libsa/dosfs.c
302
if ((c = clus))
sys/lib/libsa/dosfs.c
308
if ((err = fatget(f->fs, &c)))
sys/lib/libsa/dosfs.c
310
if (!okclus(f->fs, c)) {
sys/lib/libsa/dosfs.c
317
if ((err = ioread(f->fs, (c ? blkoff(f->fs, c) :
sys/lib/libsa/dosfs.c
322
f->c = c;
sys/lib/libsa/dosfs.c
374
f->c = 0;
sys/lib/libsa/dosfs.c
632
u_int n, x, c;
sys/lib/libsa/dosfs.c
638
if ((c = getushort(p)) && (c < 32 || c > 127))
sys/lib/libsa/dosfs.c
639
c = '?';
sys/lib/libsa/dosfs.c
640
if (!(*lfn++ = (u_char)c))
sys/lib/libsa/dosfs.c
680
u_int c;
sys/lib/libsa/dosfs.c
685
if (!(c = getushort(de->deStartCluster))) {
sys/lib/libsa/dosfs.c
688
if ((n = fatcnt(fs, c)) == -1)
sys/lib/libsa/dosfs.c
700
fatcnt(DOS_FS *fs, u_int c)
sys/lib/libsa/dosfs.c
704
for (n = 0; okclus(fs, c); n++)
sys/lib/libsa/dosfs.c
705
if (fatget(fs, &c))
sys/lib/libsa/dosfs.c
707
return fatend(fs->fatsz, c) ? n : -1;
sys/lib/libsa/dosfs.c
714
fatget(DOS_FS *fs, u_int *c)
sys/lib/libsa/dosfs.c
720
err = ioread(fs, secbyt(fs->lsnfat) + fatoff(fs->fatsz, *c), buf,
sys/lib/libsa/dosfs.c
725
*c = fs->fatsz == 12 ? *c & 1 ? x >> 4 : x & 0xfff : x;
sys/lib/libsa/dosfs.c
733
fatend(u_int sz, u_int c)
sys/lib/libsa/dosfs.c
735
return c > (sz == 12 ? 0xff7U : sz == 16 ? 0xfff7U : 0xffffff7);
sys/lib/libsa/dosfs.c
89
u_int c; /* last cluster read */
sys/lib/libsa/ext2fs.c
497
int c;
sys/lib/libsa/ext2fs.c
593
while ((c = *cp) != '\0' && c != '/')
sys/lib/libsa/gets.c
47
int c;
sys/lib/libsa/gets.c
56
switch (c = getchar() & 0177) {
sys/lib/libsa/gets.c
94
*lp++ = c;
sys/lib/libsa/gets.c
95
putchar(c);
sys/lib/libsa/lfsv1.c
25
#define dblksize(a, b, c) lfs_dblksize((a), (b), (c))
sys/lib/libsa/lfsv2.c
29
#define dblksize(a, b, c) lfs_dblksize((a), (b), (c))
sys/lib/libsa/minixfs3.c
535
int c;
sys/lib/libsa/minixfs3.c
621
while ((c = *cp) != '\0' && c != '/')
sys/lib/libsa/nfs.c
607
int c;
sys/lib/libsa/nfs.c
676
while ((c = *cp) != '\0' && c != '/') {
sys/lib/libsa/qsort.c
85
med3(char *a, char *b, char *c, cmp_t *cmp)
sys/lib/libsa/qsort.c
88
(cmp(b, c) < 0 ? b : (cmp(a, c) < 0 ? c : a ))
sys/lib/libsa/qsort.c
89
:(cmp(b, c) > 0 ? b : (cmp(a, c) < 0 ? a : c ));
sys/lib/libsa/subr_prf.c
130
null_sputchar(int c)
sys/lib/libsa/subr_prf.c
136
sputchar(int c)
sys/lib/libsa/subr_prf.c
140
*sbuf++ = c;
sys/lib/libsa/ufs.c
143
#define cgstart(fc, c) cgstart_ufs2((fs), (c))
sys/lib/libsa/ufs.c
145
#define cgstart(fc, c) cgstart_ufs1((fs), (c))
sys/lib/libsa/ufs.c
689
int c;
sys/lib/libsa/ufs.c
796
while ((c = *cp) != '\0' && c != '/')
sys/lib/libsa/ustarfs.c
165
int i, c, result = 0;
sys/lib/libsa/ustarfs.c
172
c = f[i];
sys/lib/libsa/ustarfs.c
173
if ('0' <= c && c < '0' + base) {
sys/lib/libsa/ustarfs.c
174
c -= '0';
sys/lib/libsa/ustarfs.c
175
result = result * base + c;
sys/lib/libsa/ustarfs.c
283
int c = getchar();
sys/lib/libsa/ustarfs.c
284
if ((c == '\n') || (c == '\r'))
sys/miscfs/procfs/procfs_vnops.c
1945
char c = *b++;
sys/miscfs/procfs/procfs_vnops.c
1946
if (c < '0' || c > '9')
sys/miscfs/procfs/procfs_vnops.c
1948
p = 10 * p + (c - '0');
sys/net/bpfjit.c
44
#define BJ_ASSERT(c) assert(c)
sys/net/bpfjit.c
46
#define BJ_ASSERT(c) KASSERT(c)
sys/net/bsd-comp.c
465
u_char c;
sys/net/bsd-comp.c
563
c = *rptr++;
sys/net/bsd-comp.c
564
fcode = BSD_KEY(ent, c);
sys/net/bsd-comp.c
565
hval = BSD_HASH(ent, c, hshift);
sys/net/bsd-comp.c
611
ent = c;
sys/net/bsd-comp.c
674
u_char c;
sys/net/bsd-comp.c
707
c = *rptr++;
sys/net/bsd-comp.c
708
fcode = BSD_KEY(ent, c);
sys/net/bsd-comp.c
709
hval = BSD_HASH(ent, c, hshift);
sys/net/bsd-comp.c
756
ent = c;
sys/net/if_bridge.c
2589
#define mix(a, b, c) \
sys/net/if_bridge.c
2591
a -= b; a -= c; a ^= (c >> 13); \
sys/net/if_bridge.c
2592
b -= c; b -= a; b ^= (a << 8); \
sys/net/if_bridge.c
2593
c -= a; c -= b; c ^= (b >> 13); \
sys/net/if_bridge.c
2594
a -= b; a -= c; a ^= (c >> 12); \
sys/net/if_bridge.c
2595
b -= c; b -= a; b ^= (a << 16); \
sys/net/if_bridge.c
2596
c -= a; c -= b; c ^= (b >> 5); \
sys/net/if_bridge.c
2597
a -= b; a -= c; a ^= (c >> 3); \
sys/net/if_bridge.c
2598
b -= c; b -= a; b ^= (a << 10); \
sys/net/if_bridge.c
2599
c -= a; c -= b; c ^= (b >> 15); \
sys/net/if_bridge.c
2605
uint32_t a = 0x9e3779b9, b = 0x9e3779b9, c = sc->sc_rthash_key;
sys/net/if_bridge.c
2614
mix(a, b, c);
sys/net/if_bridge.c
2616
return (c & BRIDGE_RTHASH_MASK);
sys/net/if_ethersubr.c
1196
uint32_t c, crc, carry;
sys/net/if_ethersubr.c
1202
c = buf[i];
sys/net/if_ethersubr.c
1204
carry = ((crc & 0x01) ? 1 : 0) ^ (c & 0x01);
sys/net/if_ethersubr.c
1206
c >>= 1;
sys/net/if_ethersubr.c
1242
uint32_t c, crc, carry;
sys/net/if_ethersubr.c
1248
c = buf[i];
sys/net/if_ethersubr.c
1250
carry = ((crc & 0x80000000U) ? 1 : 0) ^ (c & 0x01);
sys/net/if_ethersubr.c
1252
c >>= 1;
sys/net/if_ethersubr.c
1283
#define atox(c) (((c) <= '9') ? ((c) - '0') : ((toupper(c) - 'A') + 10))
sys/net/if_ppp.c
548
u_char c, q = 0;
sys/net/if_ppp.c
550
for (c = sc->sc_rawin_start; c < sizeof(sc->sc_rawin.buf);)
sys/net/if_ppp.c
551
rwin->buf[q++] = sc->sc_rawin.buf[c++];
sys/net/if_ppp.c
553
for (c = 0; c < sc->sc_rawin_start;)
sys/net/if_ppp.c
554
rwin->buf[q++] = sc->sc_rawin.buf[c++];
sys/net/if_ppp.c
846
(*sc->sc_xcomp->comp_stat)(sc->sc_xc_state, &pcp->c);
sys/net/if_sl.c
613
slinput(int c, struct tty *tp)
sys/net/if_sl.c
623
if ((c & TTY_ERRORMASK) || ((tp->t_state & TS_CARR_ON) == 0 &&
sys/net/if_sl.c
628
c &= TTY_CHARMASK;
sys/net/if_sl.c
633
if (c == ABT_ESC) {
sys/net/if_sl.c
658
switch (c) {
sys/net/if_sl.c
662
c = FRAME_ESCAPE;
sys/net/if_sl.c
667
c = FRAME_END;
sys/net/if_sl.c
693
*sc->sc_mp++ = c;
sys/net/if_sl.c
903
u_char c;
sys/net/if_sl.c
904
if ((c = (*pktstart & 0xf0)) != (IPVERSION << 4)) {
sys/net/if_sl.c
905
if (c & 0x80)
sys/net/if_sl.c
906
c = TYPE_COMPRESSED_TCP;
sys/net/if_sl.c
907
else if (c == TYPE_UNCOMPRESSED_TCP)
sys/net/if_sl.c
920
(u_int)c, &sc->sc_comp);
sys/net/if_sl.c
926
c == TYPE_UNCOMPRESSED_TCP && len >= 40) {
sys/net/if_sl.c
928
(u_int)c, &sc->sc_comp);
sys/net/if_spppsubr.c
6431
u_char c;
sys/net/if_spppsubr.c
6434
c = *p++;
sys/net/if_spppsubr.c
6438
if (c < ' ' || c > '~')
sys/net/if_spppsubr.c
6439
addlog("\\x%x", c);
sys/net/if_spppsubr.c
6441
addlog("%c", c);
sys/net/if_wg.c
964
unsigned c __diagused;
sys/net/if_wg.c
967
c = atomic_dec_uint_nv(&wg_count);
sys/net/if_wg.c
968
KASSERT(c != UINT_MAX);
sys/net/npf/npf_ext_rndblock.c
104
unsigned long c;
sys/net/npf/npf_ext_rndblock.c
119
c = atomic_inc_ulong_nv(&rndblock->counter);
sys/net/npf/npf_ext_rndblock.c
122
if ((c % rndblock->mod) == 0) {
sys/net/npf/npf_state_tcp.c
106
unsigned i, c;
sys/net/npf/npf_state_tcp.c
128
c = (0x2430140 >> (i << 2)) & 7;
sys/net/npf/npf_state_tcp.c
130
KASSERT(c < TCPFC_COUNT);
sys/net/npf/npf_state_tcp.c
131
return c;
sys/net/pktqueue.c
222
pktq_counters_t *c;
sys/net/pktqueue.c
224
c = percpu_getref(pc);
sys/net/pktqueue.c
225
c->count[i]++;
sys/net/pktqueue.c
232
const pktq_counters_t *c = mem;
sys/net/pktqueue.c
238
sum->count[i] += c->count[i];
sys/net/pktqueue.c
245
pktq_get_count(pktqueue_t *pq, pktq_count_t c)
sys/net/pktqueue.c
249
if (c != PKTQ_MAXLEN) {
sys/net/pktqueue.c
254
switch (c) {
sys/net/ppp_defs.h
103
#define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
sys/net/ppp_defs.h
159
struct compstat c; /* packet compression statistics */
sys/net/ppp_tty.c
1000
(sc->sc_mp[-1] << 8) + c);
sys/net/ppp_tty.c
1029
*sc->sc_mp++ = c;
sys/net/ppp_tty.c
1030
sc->sc_fcs = PPP_FCS(sc->sc_fcs, c);
sys/net/ppp_tty.c
1041
ppplogchar(sc, c);
sys/net/ppp_tty.c
1049
ppplogchar(struct ppp_softc *sc, int c)
sys/net/ppp_tty.c
1051
if (c >= 0) {
sys/net/ppp_tty.c
1052
sc->sc_rawin.buf[sc->sc_rawin_start++] = c;
sys/net/ppp_tty.c
1057
|| (c < 0 && sc->sc_rawin_start > 0)) {
sys/net/ppp_tty.c
1062
if (c < 0)
sys/net/ppp_tty.c
140
static int pppinput(int c, struct tty *tp);
sys/net/ppp_tty.c
168
#define ESCAPE_P(c) (sc->sc_asyncmap[(c) >> 5] & (1U << ((c) & 0x1F)))
sys/net/ppp_tty.c
629
int c;
sys/net/ppp_tty.c
636
c = ~sc->sc_outfcs & 0xFF;
sys/net/ppp_tty.c
637
if (ESCAPE_P(c)) {
sys/net/ppp_tty.c
639
*p++ = c ^ PPP_TRANS;
sys/net/ppp_tty.c
641
*p++ = c;
sys/net/ppp_tty.c
642
c = (~sc->sc_outfcs >> 8) & 0xFF;
sys/net/ppp_tty.c
643
if (ESCAPE_P(c)) {
sys/net/ppp_tty.c
645
*p++ = c ^ PPP_TRANS;
sys/net/ppp_tty.c
647
*p++ = c;
sys/net/ppp_tty.c
814
pppinput(int c, struct tty *tp)
sys/net/ppp_tty.c
828
if (c & TTY_FE) {
sys/net/ppp_tty.c
831
printf("%s: bad char %x\n", sc->sc_if.if_xname, c);
sys/net/ppp_tty.c
835
c &= 0xff;
sys/net/ppp_tty.c
840
result = tty_try_xonxoff(tp, c);
sys/net/ppp_tty.c
848
if (c & 0x80)
sys/net/ppp_tty.c
852
if (paritytab[c >> 5] & (1U << (c & 0x1F)))
sys/net/ppp_tty.c
858
ppplogchar(sc, c);
sys/net/ppp_tty.c
860
if (c == PPP_FLAG) {
sys/net/ppp_tty.c
929
ppplogchar(sc, c);
sys/net/ppp_tty.c
933
if (c < 0x20 && (sc->sc_rasyncmap & (1U << c)))
sys/net/ppp_tty.c
939
c ^= PPP_TRANS;
sys/net/ppp_tty.c
940
} else if (c == PPP_ESCAPE) {
sys/net/ppp_tty.c
972
if (c != PPP_ALLSTATIONS) {
sys/net/ppp_tty.c
976
sc->sc_if.if_xname, c);
sys/net/ppp_tty.c
985
if (sc->sc_ilen == 1 && c != PPP_UI) {
sys/net/ppp_tty.c
988
sc->sc_if.if_xname, c);
sys/net/ppp_tty.c
991
if (sc->sc_ilen == 2 && (c & 1) == 1) {
sys/net/ppp_tty.c
997
if (sc->sc_ilen == 3 && (c & 1) == 0) {
sys/net/zlib.c
2267
# define send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len)
sys/net/zlib.c
2271
# define send_code(s, c, tree) \
sys/net/zlib.c
2272
{ if (z_verbose>2) fprintf(stderr,"\ncd %3d ",(c)); \
sys/net/zlib.c
2273
send_bits(s, tree[c].Code, tree[c].Len); }
sys/net/zlib.c
260
# define Tracec(c,x) {if (z_verbose>0 && (c)) fprintf x ;}
sys/net/zlib.c
261
# define Tracecv(c,x) {if (z_verbose>1 && (c)) fprintf x ;}
sys/net/zlib.c
267
# define Tracec(c,x)
sys/net/zlib.c
268
# define Tracecv(c,x)
sys/net/zlib.c
3333
check_func c, /* check function */
sys/net/zlib.c
4024
void inflate_blocks_reset(inflate_blocks_statef *s, z_streamp z, uLongf *c)
sys/net/zlib.c
4026
if (c != Z_NULL)
sys/net/zlib.c
4027
*c = s->check;
sys/net/zlib.c
4042
inflate_blocks_statef *inflate_blocks_new(z_streamp z, check_func c, uInt w)
sys/net/zlib.c
4062
s->checkfn = c;
sys/net/zlib.c
4215
uInt i, j, c;
sys/net/zlib.c
4221
c = h->base;
sys/net/zlib.c
4222
if (c < 16)
sys/net/zlib.c
4225
s->sub.trees.blens[s->sub.trees.index++] = c;
sys/net/zlib.c
4229
i = c == 18 ? 7 : c - 14;
sys/net/zlib.c
4230
j = c == 18 ? 11 : 3;
sys/net/zlib.c
4238
(c == 16 && i < 1))
sys/net/zlib.c
4246
c = c == 16 ? s->sub.trees.blens[i - 1] : 0;
sys/net/zlib.c
4248
s->sub.trees.blens[i++] = c;
sys/net/zlib.c
4257
inflate_codes_statef *c;
sys/net/zlib.c
4276
if ((c = inflate_codes_new(bl, bd, tl, td, z)) == Z_NULL)
sys/net/zlib.c
4281
s->sub.decode.codes = c;
sys/net/zlib.c
4534
uInt c[BMAX+1]; /* bit length count table */
sys/net/zlib.c
4556
p = c;
sys/net/zlib.c
4563
c[*p++]++; /* assume all entries <= BMAX */
sys/net/zlib.c
4565
if (c[0] == n) /* null input--all zero length codes */
sys/net/zlib.c
4576
if (c[j])
sys/net/zlib.c
4582
if (c[i])
sys/net/zlib.c
4592
if ((y -= c[j]) < 0)
sys/net/zlib.c
4594
if ((y -= c[i]) < 0)
sys/net/zlib.c
4596
c[i] += y;
sys/net/zlib.c
4601
p = c + 1; xp = x + 2;
sys/net/zlib.c
4628
a = c[k];
sys/net/zlib.c
4644
xp = c + k;
sys/net/zlib.c
4719
int inflate_trees_bits(uIntf *c, /* 19 code lengths */
sys/net/zlib.c
4731
r = huft_build(c, 19, 19, (uIntf*)Z_NULL, (uIntf*)Z_NULL,
sys/net/zlib.c
4747
uIntf *c, /* number of distance codes */
sys/net/zlib.c
4764
r = huft_build(c, nl, 257, cplens, cplext, tl, bl, hp, &hn, v);
sys/net/zlib.c
4779
r = huft_build(c + nl, nd, 0, cpdist, cpdext, td, bd, hp, &hn, v);
sys/net/zlib.c
4989
uIntf *c; /* length list for huft_build */
sys/net/zlib.c
4993
if ((c = (uIntf*)ZALLOC(z, 288, sizeof(uInt))) == Z_NULL)
sys/net/zlib.c
4997
ZFREE(z, c);
sys/net/zlib.c
5003
c[k] = 8;
sys/net/zlib.c
5005
c[k] = 9;
sys/net/zlib.c
5007
c[k] = 7;
sys/net/zlib.c
5009
c[k] = 8;
sys/net/zlib.c
5011
huft_build(c, 288, 257, cplens, cplext, &fixed_tl, &fixed_bl,
sys/net/zlib.c
5016
c[k] = 5;
sys/net/zlib.c
5018
huft_build(c, 30, 0, cpdist, cpdext, &fixed_td, &fixed_bd,
sys/net/zlib.c
5023
ZFREE(z, c);
sys/net/zlib.c
5118
inflate_codes_statef *c;
sys/net/zlib.c
5120
if ((c = (inflate_codes_statef *)
sys/net/zlib.c
5123
c->mode = START;
sys/net/zlib.c
5124
c->lbits = (Byte)bl;
sys/net/zlib.c
5125
c->dbits = (Byte)bd;
sys/net/zlib.c
5126
c->ltree = tl;
sys/net/zlib.c
5127
c->dtree = td;
sys/net/zlib.c
5130
return c;
sys/net/zlib.c
5146
inflate_codes_statef *c = s->sub.decode.codes; /* codes state */
sys/net/zlib.c
5152
while (1) switch (c->mode)
sys/net/zlib.c
5159
r = inflate_fast(c->lbits, c->dbits, c->ltree, c->dtree, s, z);
sys/net/zlib.c
5163
c->mode = r == Z_STREAM_END ? WASH : BADCODE;
sys/net/zlib.c
5168
c->sub.code.need = c->lbits;
sys/net/zlib.c
5169
c->sub.code.tree = c->ltree;
sys/net/zlib.c
5170
c->mode = LEN;
sys/net/zlib.c
5173
j = c->sub.code.need;
sys/net/zlib.c
5175
t = c->sub.code.tree + ((uInt)b & inflate_mask[j]);
sys/net/zlib.c
5180
c->sub.lit = t->base;
sys/net/zlib.c
5184
c->mode = LIT;
sys/net/zlib.c
5189
c->sub.copy.get = e & 15;
sys/net/zlib.c
5190
c->len = t->base;
sys/net/zlib.c
5191
c->mode = LENEXT;
sys/net/zlib.c
5196
c->sub.code.need = e;
sys/net/zlib.c
5197
c->sub.code.tree = t + t->base;
sys/net/zlib.c
5203
c->mode = WASH;
sys/net/zlib.c
5206
c->mode = BADCODE; /* invalid code */
sys/net/zlib.c
5211
j = c->sub.copy.get;
sys/net/zlib.c
5213
c->len += (uInt)b & inflate_mask[j];
sys/net/zlib.c
5215
c->sub.code.need = c->dbits;
sys/net/zlib.c
5216
c->sub.code.tree = c->dtree;
sys/net/zlib.c
5217
Tracevv((stderr, "inflate: length %u\n", c->len));
sys/net/zlib.c
5218
c->mode = DIST;
sys/net/zlib.c
5221
j = c->sub.code.need;
sys/net/zlib.c
5223
t = c->sub.code.tree + ((uInt)b & inflate_mask[j]);
sys/net/zlib.c
5228
c->sub.copy.get = e & 15;
sys/net/zlib.c
5229
c->sub.copy.dist = t->base;
sys/net/zlib.c
5230
c->mode = DISTEXT;
sys/net/zlib.c
5235
c->sub.code.need = e;
sys/net/zlib.c
5236
c->sub.code.tree = t + t->base;
sys/net/zlib.c
5239
c->mode = BADCODE; /* invalid code */
sys/net/zlib.c
5244
j = c->sub.copy.get;
sys/net/zlib.c
5246
c->sub.copy.dist += (uInt)b & inflate_mask[j];
sys/net/zlib.c
5248
Tracevv((stderr, "inflate: distance %u\n", c->sub.copy.dist));
sys/net/zlib.c
5249
c->mode = COPY;
sys/net/zlib.c
5252
f = q - c->sub.copy.dist;
sys/net/zlib.c
5255
while (c->len)
sys/net/zlib.c
5261
c->len--;
sys/net/zlib.c
5263
c->mode = START;
sys/net/zlib.c
5267
OUTBYTE(c->sub.lit)
sys/net/zlib.c
5268
c->mode = START;
sys/net/zlib.c
5281
c->mode = END;
sys/net/zlib.c
5299
void inflate_codes_free(inflate_codes_statef *c, z_streamp z)
sys/net/zlib.c
5301
ZFREE(z, c);
sys/net/zlib.c
541
#define put_byte(s, c) {s->pending_buf[s->pending++] = (c);}
sys/net/zlib.c
5424
#define UNGRAB {c=z->avail_in-n;c=(k>>3)<c?k>>3:c;n+=c;p-=c;k-=c<<3;}
sys/net/zlib.c
5447
uInt c; /* bytes to copy */
sys/net/zlib.c
5478
c = t->base + ((uInt)b & inflate_mask[e]);
sys/net/zlib.c
5480
Tracevv((stderr, "inflate: * length %u\n", c));
sys/net/zlib.c
5497
m -= c;
sys/net/zlib.c
5505
if (c > e)
sys/net/zlib.c
5507
c -= e; /* wrapped copy */
sys/net/zlib.c
5514
} while (--c);
sys/net/zlib.c
5518
*q++ = *r++; c--;
sys/net/zlib.c
5519
*q++ = *r++; c--;
sys/net/zlib.c
5522
} while (--c);
sys/net/zlib.c
5527
*q++ = *r++; c--;
sys/net/zlib.c
5528
*q++ = *r++; c--;
sys/net/zlib.c
5531
} while (--c);
sys/net/zlib.c
582
# define _tr_tally_lit(s, c, flush) \
sys/net/zlib.c
583
{ uch cc = (c); \
sys/net/zlib.c
600
# define _tr_tally_lit(s, c, flush) flush = _tr_tally(s, 0, c)
sys/net/zlib.c
767
#define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask)
sys/net80211/ieee80211.c
181
struct ieee80211_channel *c;
sys/net80211/ieee80211.c
202
c = &ic->ic_channels[i];
sys/net80211/ieee80211.c
203
if (c->ic_flags) {
sys/net80211/ieee80211.c
207
if (i != ieee80211_chan2ieee(ic, c)) {
sys/net80211/ieee80211.c
210
c->ic_freq, c->ic_flags, i);
sys/net80211/ieee80211.c
211
c->ic_flags = 0; /* NB: remove */
sys/net80211/ieee80211.c
218
if (IEEE80211_IS_CHAN_A(c))
sys/net80211/ieee80211.c
220
if (IEEE80211_IS_CHAN_B(c))
sys/net80211/ieee80211.c
222
if (IEEE80211_IS_CHAN_PUREG(c))
sys/net80211/ieee80211.c
224
if (IEEE80211_IS_CHAN_FHSS(c))
sys/net80211/ieee80211.c
226
if (IEEE80211_IS_CHAN_T(c))
sys/net80211/ieee80211.c
228
if (IEEE80211_IS_CHAN_108G(c))
sys/net80211/ieee80211.c
327
ieee80211_chan2ieee(struct ieee80211com *ic, struct ieee80211_channel *c)
sys/net80211/ieee80211.c
329
if (ic->ic_channels <= c && c <= &ic->ic_channels[IEEE80211_CHAN_MAX])
sys/net80211/ieee80211.c
330
return c - ic->ic_channels;
sys/net80211/ieee80211.c
331
else if (c == IEEE80211_CHAN_ANYC)
sys/net80211/ieee80211.c
333
else if (c != NULL) {
sys/net80211/ieee80211.c
335
c->ic_freq, c->ic_flags);
sys/net80211/ieee80211.c
870
struct ieee80211_channel *c;
sys/net80211/ieee80211.c
889
c = &ic->ic_channels[i];
sys/net80211/ieee80211.c
890
if (c->ic_flags == 0)
sys/net80211/ieee80211.c
894
if ((c->ic_flags & IEEE80211_CHAN_TURBO) == 0)
sys/net80211/ieee80211.c
897
if ((c->ic_flags & modeflags) == modeflags)
sys/net80211/ieee80211.c
912
c = &ic->ic_channels[i];
sys/net80211/ieee80211.c
913
if (c->ic_flags == 0)
sys/net80211/ieee80211.c
917
if ((c->ic_flags & IEEE80211_CHAN_TURBO) == 0)
sys/net80211/ieee80211.c
920
if ((c->ic_flags & modeflags) == modeflags)
sys/net80211/ieee80211_ioctl.c
960
struct ieee80211_channel *c = &ic->ic_channels[i];
sys/net80211/ieee80211_ioctl.c
961
chans->ic_chans[chans->ic_nchans].ic_freq = c->ic_freq;
sys/net80211/ieee80211_ioctl.c
962
chans->ic_chans[chans->ic_nchans].ic_flags = c->ic_flags;
sys/net80211/ieee80211_node.h
251
#define ieee80211_find_node_with_channel(nt, mac, c) \
sys/net80211/ieee80211_node.h
252
ieee80211_find_node_with_channel_debug(nt, mac, c, __func__, __LINE__)
sys/netbt/hci.h
1597
uint8_t c[16]; /* pairing hash */
sys/netbt/hci.h
816
uint8_t c[16]; /* pairing hash */
sys/netinet/accf_http.c
353
char a, b, c;
sys/netinet/accf_http.c
372
a = b = c = '\0';
sys/netinet/accf_http.c
393
c = *src++;
sys/netinet/accf_http.c
400
if (c == '\n' && (b == '\n' || (b == '\r' && a == '\n'))) {
sys/netinet/in_proto.c
233
name##_wrapper(int a, const struct sockaddr *b, void *c)\
sys/netinet/in_proto.c
238
rv = name(a, b, c); \
sys/netinet/ip_carp.c
1313
#define mix(a,b,c) \
sys/netinet/ip_carp.c
1315
a -= b; a -= c; a ^= (c >> 13); \
sys/netinet/ip_carp.c
1316
b -= c; b -= a; b ^= (a << 8); \
sys/netinet/ip_carp.c
1317
c -= a; c -= b; c ^= (b >> 13); \
sys/netinet/ip_carp.c
1318
a -= b; a -= c; a ^= (c >> 12); \
sys/netinet/ip_carp.c
1319
b -= c; b -= a; b ^= (a << 16); \
sys/netinet/ip_carp.c
1320
c -= a; c -= b; c ^= (b >> 5); \
sys/netinet/ip_carp.c
1321
a -= b; a -= c; a ^= (c >> 3); \
sys/netinet/ip_carp.c
1322
b -= c; b -= a; b ^= (a << 10); \
sys/netinet/ip_carp.c
1323
c -= a; c -= b; c ^= (b >> 15); \
sys/netinet/ip_carp.c
1329
u_int32_t a = 0x9e3779b9, b = sc->sc_hashkey[0], c = sc->sc_hashkey[1];
sys/netinet/ip_carp.c
1331
c += sc->sc_key[3] << 24;
sys/netinet/ip_carp.c
1332
c += sc->sc_key[2] << 16;
sys/netinet/ip_carp.c
1333
c += sc->sc_key[1] << 8;
sys/netinet/ip_carp.c
1334
c += sc->sc_key[0];
sys/netinet/ip_carp.c
1342
mix(a, b, c);
sys/netinet/ip_carp.c
1343
return (c);
sys/netinet/ip_encap.h
140
name##_wrapper(int a, const struct sockaddr *b, void *c, void *d) \
sys/netinet/ip_encap.h
144
rv = name(a, b, c, d); \
sys/netinet/sctp_crc32.c
47
#define SCTP_CRC32C(c, d) (c = ((c) >> 8) ^ sctp_crc_c[((c) ^ (d)) & 0xFF])
sys/netinet6/in6_print.c
60
#define ADDC(c) do { \
sys/netinet6/in6_print.c
64
*cp++ = (char)(c); \
sys/netinet6/in6_proto.c
231
name##_wrapper(int a, const struct sockaddr *b, void *c)\
sys/netinet6/in6_proto.c
236
rv = name(a, b, c); \
sys/nfs/nfs.h
593
#define HEXTOC(c) \
sys/nfs/nfs.h
594
((c) >= 'a' ? ((c) - ('a' - 10)) : \
sys/nfs/nfs.h
595
((c) >= 'A' ? ((c) - ('A' - 10)) : ((c) - '0')))
sys/nfs/nfs_subs.c
1756
struct nfs_clearcommit_ctx *c = cl;
sys/nfs/nfs_subs.c
1763
if (vp->v_type != VREG || vp->v_mount != c->mp || np == NULL)
sys/nfs/nfsm_subs.h
105
(a) = (c)cp2; \
sys/nfs/nfsm_subs.h
407
#define nfsm_request1(v, t, p, c, rexmitp) \
sys/nfs/nfsm_subs.h
409
(c), &mrep, &md, &dpos, (rexmitp))) != 0) { \
sys/nfs/nfsm_subs.h
416
#define nfsm_request(v, t, p, c) nfsm_request1((v), (t), (p), (c), NULL)
sys/nfs/nfsm_subs.h
77
#define nfsm_build(a,c,s) \
sys/nfs/nfsm_subs.h
89
(a) = (c)(bpos); \
sys/nfs/nfsm_subs.h
95
#define nfsm_dissect(a, c, s) \
sys/nfs/nfsm_subs.h
98
(a) = (c)(dpos); \
sys/opencrypto/cryptosoft.c
68
#define COPYBACK(x, a, b, c, d) \
sys/opencrypto/cryptosoft.c
69
(x) == CRYPTO_BUF_MBUF ? m_copyback((struct mbuf *)a,b,c,d) \
sys/opencrypto/cryptosoft.c
70
: cuio_copyback((struct uio *)a,b,c,d)
sys/opencrypto/cryptosoft.c
71
#define COPYDATA(x, a, b, c, d) \
sys/opencrypto/cryptosoft.c
72
(x) == CRYPTO_BUF_MBUF ? m_copydata((struct mbuf *)a,b,c,d) \
sys/opencrypto/cryptosoft.c
73
: cuio_copydata((struct uio *)a,b,c,d)
sys/rump/include/machine/intr.h
41
ipl_cookie_t c;
sys/rump/include/machine/intr.h
42
c._ipl = ipl;
sys/rump/include/machine/intr.h
43
return c;
sys/rump/include/rump/rump_syscallshotgun.h
103
#define getdents(a,b,c) rump_sys_getdents(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
38
#define socket(a,b,c) rump_sys_socket(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
39
#define accept(a,b,c) rump_sys_accept(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
40
#define bind(a,b,c) rump_sys_bind(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
41
#define connect(a,b,c) rump_sys_connect(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
42
#define getpeername(a,b,c) rump_sys_getpeername(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
43
#define getsockname(a,b,c) rump_sys_getsockname(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
45
#define recvfrom(a,b,c,d,e,f) rump_sys_recvfrom(a,b,c,d,e,f)
sys/rump/include/rump/rump_syscallshotgun.h
46
#define recvmsg(a,b,c) rump_sys_recvmsg(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
47
#define sendto(a,b,c,d,e,f) rump_sys_sendto(a,b,c,d,e,f)
sys/rump/include/rump/rump_syscallshotgun.h
48
#define sendmsg(a,b,c) rump_sys_sendmsg(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
49
#define getsockopt(a,b,c,d,e) rump_sys_getsockopt(a,b,c,d,e)
sys/rump/include/rump/rump_syscallshotgun.h
50
#define setsockopt(a,b,c,d,e) rump_sys_setsockopt(a,b,c,d,e)
sys/rump/include/rump/rump_syscallshotgun.h
72
#define read(a,b,c) rump_sys_read(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
73
#define readv(a,b,c) rump_sys_readv(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
74
#define pread(a,b,c,d) rump_sys_pread(a,b,c,d)
sys/rump/include/rump/rump_syscallshotgun.h
75
#define preadv(a,b,c,d) rump_sys_preadv(a,b,c,d)
sys/rump/include/rump/rump_syscallshotgun.h
76
#define write(a,b,c) rump_sys_write(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
77
#define writev(a,b,c) rump_sys_writev(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
78
#define pwrite(a,b,c,d) rump_sys_pwrite(a,b,c,d)
sys/rump/include/rump/rump_syscallshotgun.h
79
#define pwritev(a,b,c,d) rump_sys_pwritev(a,b,c,d)
sys/rump/include/rump/rump_syscallshotgun.h
90
#define readlink(a,b,c) rump_sys_readlink(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
94
#define chown(a,b,c) rump_sys_chown(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
95
#define fchown(a,b,c) rump_sys_fchown(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
96
#define lchown(a,b,c) rump_sys_lchown(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
97
#define lseek(a,b,c) rump_sys_lseek(a,b,c)
sys/rump/include/rump/rump_syscallshotgun.h
98
#define mknod(a,b,c) rump_sys_mknod(a,b,c)
sys/rump/include/rump/rumpdefs.h
50
#define RUMP__FCNO(c) RUMP__FCN(RUMP_F_FSVOID, (c), 0)
sys/rump/include/rump/rumpdefs.h
51
#define RUMP__FCNR(c, t) RUMP__FCN(RUMP_F_FSIN, (c), (int)sizeof(t))
sys/rump/include/rump/rumpdefs.h
52
#define RUMP__FCNW(c, t) RUMP__FCN(RUMP_F_FSOUT, (c), (int)sizeof(t))
sys/rump/include/rump/rumpdefs.h
53
#define RUMP__FCNRW(c, t) RUMP__FCN(RUMP_F_FSINOUT, (c), (int)sizeof(t))
sys/rump/include/rump/rumpdefs.h
57
#define RUMP__FCNO_FSPRIV(f, c) RUMP__FCN_FSPRIV(RUMP_F_FSVOID, (f), (c), 0)
sys/rump/include/rump/rumpdefs.h
58
#define RUMP__FCNR_FSPRIV(f, c, t) RUMP__FCN_FSPRIV(RUMP_F_FSIN, (f), (c), (int)sizeof(t))
sys/rump/include/rump/rumpdefs.h
59
#define RUMP__FCNW_FSPRIV(f, c, t) RUMP__FCN_FSPRIV(RUMP_F_FSOUT, (f), (c), (int)sizeof(t))
sys/rump/include/rump/rumpdefs.h
60
#define RUMP__FCNRW_FSPRIV(f, c, t) RUMP__FCN_FSPRIV(RUMP_F_FSINOUT, (f), (c), (int)sizeof(t))
sys/rump/librump/rumpkern/emul.c
362
rump_tputchar(int c, int flags, struct tty *tp)
sys/rump/librump/rumpkern/emul.c
365
cnputc(c);
sys/rump/librump/rumpkern/emul.c
371
cnputc(int c)
sys/rump/librump/rumpkern/emul.c
374
rumpuser_putchar(c);
sys/rump/librump/rumpkern/locks.c
86
#define ALLOCK(a, b, c) do {} while (0)
sys/stand/cat.c
49
char c;
sys/stand/cat.c
52
while (read(fd, &c, 1) == 1)
sys/stand/cat.c
53
putchar(c);
sys/stand/efiboot/boot.c
570
int currname, c;
sys/stand/efiboot/boot.c
600
c = awaitkey(bootcfg_info.timeout, 1);
sys/stand/efiboot/boot.c
601
if (c != '\r' && c != '\n' && c != '\0')
sys/stand/efiboot/console.c
56
putchar(int c)
sys/stand/efiboot/console.c
58
CHAR16 buf[2] = { c, '\0' };
sys/stand/efiboot/console.c
59
if (c == '\n')
sys/stand/efiboot/efichar.c
101
*cp++ = (char)(0x80 | (c & 0x3f));
sys/stand/efiboot/efichar.c
104
*cp++ = (char)(c & 0x7f);
sys/stand/efiboot/efichar.c
127
int c, bytes;
sys/stand/efiboot/efichar.c
141
c = *name++;
sys/stand/efiboot/efichar.c
146
if ((c & 0xc0) != 0x80) {
sys/stand/efiboot/efichar.c
150
if ((c & 0xf8) == 0xf0) {
sys/stand/efiboot/efichar.c
151
ucs4 = c & 0x07;
sys/stand/efiboot/efichar.c
153
} else if ((c & 0xf0) == 0xe0) {
sys/stand/efiboot/efichar.c
154
ucs4 = c & 0x0f;
sys/stand/efiboot/efichar.c
156
} else if ((c & 0xe0) == 0xc0) {
sys/stand/efiboot/efichar.c
157
ucs4 = c & 0x1f;
sys/stand/efiboot/efichar.c
160
ucs4 = c & 0x7f;
sys/stand/efiboot/efichar.c
166
ucs4 = (ucs4 << 6) + (c & 0x3f);
sys/stand/efiboot/efichar.c
55
CHAR16 c;
sys/stand/efiboot/efichar.c
59
c = *nm++;
sys/stand/efiboot/efichar.c
60
if (c > 0x7ff)
sys/stand/efiboot/efichar.c
62
else if (c > 0x7f)
sys/stand/efiboot/efichar.c
75
CHAR16 c;
sys/stand/efiboot/efichar.c
89
c = *nm++;
sys/stand/efiboot/efichar.c
90
if (c > 0x7ff) {
sys/stand/efiboot/efichar.c
92
*cp++ = (char)(0xE0 | (c >> 12));
sys/stand/efiboot/efichar.c
94
*cp++ = (char)(0x80 | ((c >> 6) & 0x3f));
sys/stand/efiboot/efichar.c
96
*cp++ = (char)(0x80 | (c & 0x3f));
sys/stand/efiboot/efichar.c
97
} else if (c > 0x7f) {
sys/stand/efiboot/efichar.c
99
*cp++ = (char)(0xC0 | ((c >> 6) & 0x1f));
sys/stand/efiboot/prompt.c
103
c = getchar();
sys/stand/efiboot/prompt.c
104
if (c == 0)
sys/stand/efiboot/prompt.c
105
c = -1;
sys/stand/efiboot/prompt.c
127
return c;
sys/stand/efiboot/prompt.c
155
char *c = input;
sys/stand/efiboot/prompt.c
164
while (*c == ' ')
sys/stand/efiboot/prompt.c
165
c++;
sys/stand/efiboot/prompt.c
166
if (*c)
sys/stand/efiboot/prompt.c
167
docommand(c);
sys/stand/efiboot/prompt.c
80
char c = 0;
sys/sys/asan.h
83
#define kasan_mark(p, s, l, c) __nothing
sys/sys/bootblock.h
598
#define MBR_PCYL(c, s) ((c) + (((s) & 0xc0) << 2))
sys/sys/cdefs.h
118
#define __CONCAT3(a,b,c) a ## b ## c
sys/sys/cdefs.h
119
#define __CONCAT4(a,b,c,d) a ## b ## c ## d
sys/sys/cdefs.h
120
#define __CONCAT5(a,b,c,d,e) a ## b ## c ## d ## e
sys/sys/cdefs.h
121
#define __CONCAT6(a,b,c,d,e,f) a ## b ## c ## d ## e ## f
sys/sys/cdefs.h
122
#define __CONCAT7(a,b,c,d,e,f,g) a ## b ## c ## d ## e ## f ## g
sys/sys/cdefs.h
123
#define __CONCAT8(a,b,c,d,e,f,g,h) a ## b ## c ## d ## e ## f ## g ## h
sys/sys/common_int_const.h
39
#define __int_join_(c,suffix) c ## suffix
sys/sys/common_int_const.h
40
#define __int_join(c,suffix) __int_join_(c,suffix)
sys/sys/common_int_const.h
47
#define INT8_C(c) __int_join(c, __INT8_C_SUFFIX__)
sys/sys/common_int_const.h
48
#define INT16_C(c) __int_join(c, __INT16_C_SUFFIX__)
sys/sys/common_int_const.h
49
#define INT32_C(c) __int_join(c, __INT32_C_SUFFIX__)
sys/sys/common_int_const.h
50
#define INT64_C(c) __int_join(c, __INT64_C_SUFFIX__)
sys/sys/common_int_const.h
52
#define UINT8_C(c) __int_join(c, __UINT8_C_SUFFIX__)
sys/sys/common_int_const.h
53
#define UINT16_C(c) __int_join(c, __UINT16_C_SUFFIX__)
sys/sys/common_int_const.h
54
#define UINT32_C(c) __int_join(c, __UINT32_C_SUFFIX__)
sys/sys/common_int_const.h
55
#define UINT64_C(c) __int_join(c, __UINT64_C_SUFFIX__)
sys/sys/common_int_const.h
59
#define INTMAX_C(c) __int_join(c, __INTMAX_C_SUFFIX__)
sys/sys/common_int_const.h
60
#define UINTMAX_C(c) __int_join(c, __UINTMAX_C_SUFFIX__)
sys/sys/core.h
49
#define CORE_GETMAGIC(c) ( ntohl(((c).c_midmag)) & 0xffff )
sys/sys/core.h
50
#define CORE_GETMID(c) ( (ntohl(((c).c_midmag)) >> 16) & 0x03ff )
sys/sys/core.h
51
#define CORE_GETFLAG(c) ( (ntohl(((c).c_midmag)) >> 26) & 0x03f )
sys/sys/core.h
52
#define CORE_SETMAGIC(c,mag,mid,flag) ( (c).c_midmag = htonl ( \
sys/sys/ctype_inline.h
48
#define isalnum(c) ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D)))
sys/sys/ctype_inline.h
49
#define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A))
sys/sys/ctype_inline.h
50
#define iscntrl(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_C))
sys/sys/ctype_inline.h
51
#define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
sys/sys/ctype_inline.h
52
#define isgraph(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_G))
sys/sys/ctype_inline.h
53
#define islower(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_L))
sys/sys/ctype_inline.h
54
#define isprint(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_R))
sys/sys/ctype_inline.h
55
#define ispunct(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_P))
sys/sys/ctype_inline.h
56
#define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
sys/sys/ctype_inline.h
57
#define isupper(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_U))
sys/sys/ctype_inline.h
58
#define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X))
sys/sys/ctype_inline.h
59
#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))
sys/sys/ctype_inline.h
60
#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))
sys/sys/ctype_inline.h
63
#define isascii(c) ((unsigned)(c) <= 0177)
sys/sys/ctype_inline.h
64
#define toascii(c) ((c) & 0177)
sys/sys/ctype_inline.h
65
#define _tolower(c) ((c) - 'A' + 'a')
sys/sys/ctype_inline.h
66
#define _toupper(c) ((c) - 'a' + 'A')
sys/sys/ctype_inline.h
71
#define isblank(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_BL))
sys/sys/fcntl.h
264
#define _FCNO(c) _FCN(F_FSVOID, (c), 0)
sys/sys/fcntl.h
265
#define _FCNR(c, t) _FCN(F_FSIN, (c), (int)sizeof(t))
sys/sys/fcntl.h
266
#define _FCNW(c, t) _FCN(F_FSOUT, (c), (int)sizeof(t))
sys/sys/fcntl.h
267
#define _FCNRW(c, t) _FCN(F_FSINOUT, (c), (int)sizeof(t))
sys/sys/fcntl.h
275
#define _FCNO_FSPRIV(f, c) _FCN_FSPRIV(F_FSVOID, (f), (c), 0)
sys/sys/fcntl.h
276
#define _FCNR_FSPRIV(f, c, t) _FCN_FSPRIV(F_FSIN, (f), (c), (int)sizeof(t))
sys/sys/fcntl.h
277
#define _FCNW_FSPRIV(f, c, t) _FCN_FSPRIV(F_FSOUT, (f), (c), (int)sizeof(t))
sys/sys/fcntl.h
278
#define _FCNRW_FSPRIV(f, c, t) _FCN_FSPRIV(F_FSINOUT, (f), (c), (int)sizeof(t))
sys/sys/hash.h
76
uint8_t c;
sys/sys/hash.h
78
while ((c = *s++) != 0)
sys/sys/hash.h
79
hash = hash * 33 + c; /* "perl": k=33, r=r+r/32 */
sys/sys/hash.h
94
uint8_t c;
sys/sys/hash.h
96
while ((c = *s++) != 0 && len-- != 0)
sys/sys/hash.h
97
hash = hash * 33 + c; /* "perl": k=33, r=r+r/32 */
sys/sys/ktrace.h
369
ktrcsw(int a, int b, const struct syncobj *c)
sys/sys/ktrace.h
372
ktr_csw(a, b, c);
sys/sys/ktrace.h
383
ktrgenio(int a, enum uio_rw b, const void *c, size_t d, int e)
sys/sys/ktrace.h
386
ktr_genio(a, b, c, d, e);
sys/sys/ktrace.h
390
ktrgeniov(int a, enum uio_rw b, struct iovec *c, int d, int e)
sys/sys/ktrace.h
393
ktr_geniov(a, b, c, d, e);
sys/sys/ktrace.h
397
ktrmibio(int a, enum uio_rw b, const void *c, size_t d, int e)
sys/sys/ktrace.h
400
ktr_mibio(a, b, c, d, e);
sys/sys/ktrace.h
411
ktrnamei2(const char *a, size_t b, const char *c, size_t d)
sys/sys/ktrace.h
414
ktr_namei2(a, b, c, d);
sys/sys/ktrace.h
418
ktrpsig(int a, sig_t b, const sigset_t *c, const ksiginfo_t * d)
sys/sys/ktrace.h
421
ktr_psig(a, b, c, d);
sys/sys/ktrace.h
432
ktrsysret(register_t a, int b, register_t *c)
sys/sys/ktrace.h
435
ktr_sysret(a, b, c);
sys/sys/ktrace.h
439
ktrkuser(const char *a, const void *b, size_t c)
sys/sys/ktrace.h
442
ktr_kuser(a, b, c);
sys/sys/mbuf.h
600
#define M_SETCTX(m, c) ((void)((m)->m_pkthdr._rcvif.ctx = (void *)(c)))
sys/sys/msan.h
78
#define kmsan_orig(p, l, c, a) __nothing
sys/sys/msan.h
79
#define kmsan_mark(p, l, c) __nothing
sys/sys/protosw.h
320
struct sockaddr *b, struct lwp *c) \
sys/sys/protosw.h
324
rv = name##_bind(a, b, c); \
sys/sys/protosw.h
330
struct sockaddr *b, struct lwp *c) \
sys/sys/protosw.h
334
rv = name##_connect(a, b, c); \
sys/sys/protosw.h
386
void *c, struct ifnet *d) \
sys/sys/protosw.h
390
rv = name##_ioctl(a, b, c, d); \
sys/sys/protosw.h
425
struct lwp *c) \
sys/sys/protosw.h
429
rv = name##_rcvd(a, b, c); \
sys/sys/protosw.h
435
struct mbuf *b, int c) \
sys/sys/protosw.h
439
rv = name##_recvoob(a, b, c); \
sys/sys/protosw.h
445
struct sockaddr *c, struct mbuf *d, struct lwp *e) \
sys/sys/protosw.h
449
rv = name##_send(a, b, c, d, e); \
sys/sys/protosw.h
455
struct mbuf *b, struct mbuf *c) \
sys/sys/protosw.h
459
rv = name##_sendoob(a, b, c); \
sys/sys/protosw.h
477
struct sockopt *c) \
sys/sys/protosw.h
481
rv = name(a, b, c); \
sys/sys/protosw.h
488
name##_wrapper(int a, const struct sockaddr *b, void *c)\
sys/sys/protosw.h
492
rv = name(a, b, c); \
sys/sys/rbtree.h
130
#define RB_TAILQ_REMOVE(a, b, c) TAILQ_REMOVE(a, b, c)
sys/sys/rbtree.h
132
#define RB_TAILQ_INSERT_HEAD(a, b, c) TAILQ_INSERT_HEAD(a, b, c)
sys/sys/rbtree.h
133
#define RB_TAILQ_INSERT_BEFORE(a, b, c) TAILQ_INSERT_BEFORE(a, b, c)
sys/sys/rbtree.h
134
#define RB_TAILQ_INSERT_AFTER(a, b, c, d) TAILQ_INSERT_AFTER(a, b, c, d)
sys/sys/rbtree.h
139
#define RB_TAILQ_REMOVE(a, b, c) do { } while (0)
sys/sys/rbtree.h
141
#define RB_TAILQ_INSERT_HEAD(a, b, c) do { } while (0)
sys/sys/rbtree.h
142
#define RB_TAILQ_INSERT_BEFORE(a, b, c) do { } while (0)
sys/sys/rbtree.h
143
#define RB_TAILQ_INSERT_AFTER(a, b, c, d) do { } while (0)
sys/sys/sched.h
104
#define cpuset_destroy(c) _cpuset_destroy(c)
sys/sys/sched.h
105
#define cpuset_size(c) _cpuset_size(c)
sys/sys/sched.h
106
#define cpuset_zero(c) _cpuset_zero(c)
sys/sys/sched.h
107
#define cpuset_isset(i, c) _cpuset_isset(i, c)
sys/sys/sched.h
108
#define cpuset_set(i, c) _cpuset_set(i, c)
sys/sys/sched.h
109
#define cpuset_clr(i, c) _cpuset_clr(i, c)
sys/sys/termios.h
84
#define CCEQ(val, c) (c == val ? val != _POSIX_VDISABLE : 0)
sys/sys/trace.h
105
#define trace(a,b,c) { \
sys/sys/trace.h
107
trace1(a,b,c); \
sys/sys/trace.h
110
#define trace(a,b,c)
sys/sys/videoio.h
1083
#define v4l2_fourcc(a, b, c, d)\
sys/sys/videoio.h
1084
((u_int32_t)(a) | ((u_int32_t)(b) << 8) | ((u_int32_t)(c) << 16) | ((u_int32_t)(d) << 24))
sys/sys/videoio.h
1085
#define v4l2_fourcc_be(a, b, c, d) (v4l2_fourcc(a, b, c, d) | (1 << 31))
sys/sys/videoio.h
2050
struct v4l2_rect c;
sys/sys/videoio.h
2101
struct v4l2_rect c;
sys/ufs/ext2fs/ext2fs_hash.c
178
uint32_t a = hash[0], b = hash[1], c = hash[2], d = hash[3];
sys/ufs/ext2fs/ext2fs_hash.c
181
FF(a, b, c, d, data[0], 3);
sys/ufs/ext2fs/ext2fs_hash.c
182
FF(d, a, b, c, data[1], 7);
sys/ufs/ext2fs/ext2fs_hash.c
183
FF(c, d, a, b, data[2], 11);
sys/ufs/ext2fs/ext2fs_hash.c
184
FF(b, c, d, a, data[3], 19);
sys/ufs/ext2fs/ext2fs_hash.c
185
FF(a, b, c, d, data[4], 3);
sys/ufs/ext2fs/ext2fs_hash.c
186
FF(d, a, b, c, data[5], 7);
sys/ufs/ext2fs/ext2fs_hash.c
187
FF(c, d, a, b, data[6], 11);
sys/ufs/ext2fs/ext2fs_hash.c
188
FF(b, c, d, a, data[7], 19);
sys/ufs/ext2fs/ext2fs_hash.c
191
GG(a, b, c, d, data[1], 3);
sys/ufs/ext2fs/ext2fs_hash.c
192
GG(d, a, b, c, data[3], 5);
sys/ufs/ext2fs/ext2fs_hash.c
193
GG(c, d, a, b, data[5], 9);
sys/ufs/ext2fs/ext2fs_hash.c
194
GG(b, c, d, a, data[7], 13);
sys/ufs/ext2fs/ext2fs_hash.c
195
GG(a, b, c, d, data[0], 3);
sys/ufs/ext2fs/ext2fs_hash.c
196
GG(d, a, b, c, data[2], 5);
sys/ufs/ext2fs/ext2fs_hash.c
197
GG(c, d, a, b, data[4], 9);
sys/ufs/ext2fs/ext2fs_hash.c
198
GG(b, c, d, a, data[6], 13);
sys/ufs/ext2fs/ext2fs_hash.c
201
HH(a, b, c, d, data[3], 3);
sys/ufs/ext2fs/ext2fs_hash.c
202
HH(d, a, b, c, data[7], 9);
sys/ufs/ext2fs/ext2fs_hash.c
203
HH(c, d, a, b, data[2], 11);
sys/ufs/ext2fs/ext2fs_hash.c
204
HH(b, c, d, a, data[6], 15);
sys/ufs/ext2fs/ext2fs_hash.c
205
HH(a, b, c, d, data[1], 3);
sys/ufs/ext2fs/ext2fs_hash.c
206
HH(d, a, b, c, data[5], 9);
sys/ufs/ext2fs/ext2fs_hash.c
207
HH(c, d, a, b, data[0], 11);
sys/ufs/ext2fs/ext2fs_hash.c
208
HH(b, c, d, a, data[4], 15);
sys/ufs/ext2fs/ext2fs_hash.c
212
hash[2] += c;
sys/ufs/ext2fs/ext2fs_hash.c
76
#define FF(a, b, c, d, x, s) { \
sys/ufs/ext2fs/ext2fs_hash.c
77
(a) += F ((b), (c), (d)) + (x); \
sys/ufs/ext2fs/ext2fs_hash.c
81
#define GG(a, b, c, d, x, s) { \
sys/ufs/ext2fs/ext2fs_hash.c
82
(a) += G ((b), (c), (d)) + (x) + (uint32_t)0x5A827999; \
sys/ufs/ext2fs/ext2fs_hash.c
86
#define HH(a, b, c, d, x, s) { \
sys/ufs/ext2fs/ext2fs_hash.c
87
(a) += H ((b), (c), (d)) + (x) + (uint32_t)0x6ED9EBA1; \
sys/ufs/ffs/ffs_snapshot.c
623
struct snapshot_expunge_ctx *c = cl;
sys/ufs/ffs/ffs_snapshot.c
637
if (xvp == c->logvp)
sys/ufs/ffs/ffs_snapshot.c
643
if (ffs_checkfreefile(c->copy_fs, c->vp, xp->i_number))
sys/ufs/ffs/ffs_vfsops.c
1937
struct ffs_sync_ctx *c = cl;
sys/ufs/ffs/ffs_vfsops.c
1966
(c->waitfor == MNT_LAZY || (LIST_EMPTY(&vp->v_dirtyblkhd) &&
sys/ufs/ffs/fs.h
633
#define cgbase(fs, c) (((daddr_t)(fs)->fs_fpg) * (c))
sys/ufs/ffs/fs.h
634
#define cgstart_ufs1(fs, c) \
sys/ufs/ffs/fs.h
635
(cgbase(fs, c) + (fs)->fs_old_cgoffset * ((c) & ~((fs)->fs_old_cgmask)))
sys/ufs/ffs/fs.h
636
#define cgstart_ufs2(fs, c) cgbase((fs), (c))
sys/ufs/ffs/fs.h
637
#define cgstart(fs, c) ((fs)->fs_magic == FS_UFS2_MAGIC \
sys/ufs/ffs/fs.h
638
? cgstart_ufs2((fs), (c)) : cgstart_ufs1((fs), (c)))
sys/ufs/ffs/fs.h
639
#define cgdmin(fs, c) (cgstart(fs, c) + (fs)->fs_dblkno) /* 1st data */
sys/ufs/ffs/fs.h
640
#define cgimin(fs, c) (cgstart(fs, c) + (fs)->fs_iblkno) /* inode blk */
sys/ufs/ffs/fs.h
641
#define cgsblock(fs, c) (cgstart(fs, c) + (fs)->fs_sblkno) /* super blk */
sys/ufs/ffs/fs.h
642
#define cgtod(fs, c) (cgstart(fs, c) + (fs)->fs_cblkno) /* cg block */
sys/ufs/lfs/lfs_segment.c
422
struct lfs_writevnodes_ctx *c = cl;
sys/ufs/lfs/lfs_segment.c
424
int op = c->op;
sys/ufs/lfs/lfs_segment.c
436
&& !IS_FLUSHING(c->fs, vp))
sys/ufs/lfs/lfs_segment.c
452
vp != c->fs->lfs_flushvp && !(ip->i_state & IN_CLEANING)) {
sys/ufs/lfs/lfs_segment.c
457
if (vp == c->fs->lfs_unlockvp) {
sys/ufs/lfs/ulfs_quota2.c
1508
struct dq2get_callback *c = v;
sys/ufs/lfs/ulfs_quota2.c
1514
if (ulfs_rw32(q2e->q2e_uid, needswap) == c->id) {
sys/ufs/lfs/ulfs_quota2.c
1515
KASSERT(mutex_owned(&c->dq->dq_interlock));
sys/ufs/lfs/ulfs_quota2.c
1518
c->dq->dq2_lblkno = lblkno;
sys/ufs/lfs/ulfs_quota2.c
1519
c->dq->dq2_blkoff = blkoff;
sys/ufs/lfs/ulfs_quota2.c
1534
struct dq2get_callback c = {
sys/ufs/lfs/ulfs_quota2.c
1547
error = quota2_walk_list(ump, bp, type, &offset, 0, (void *)&c,
sys/ufs/lfs/ulfs_quota2.c
661
struct dq2clear_callback *c = v;
sys/ufs/lfs/ulfs_quota2.c
666
if (ulfs_rw32(q2e->q2e_uid, needswap) == c->id) {
sys/ufs/lfs/ulfs_quota2.c
667
KASSERT(mutex_owned(&c->dq->dq_interlock));
sys/ufs/lfs/ulfs_quota2.c
668
c->dq->dq2_lblkno = 0;
sys/ufs/lfs/ulfs_quota2.c
669
c->dq->dq2_blkoff = 0;
sys/ufs/lfs/ulfs_quota2.c
674
q2e->q2e_next = c->q2h->q2h_free;
sys/ufs/lfs/ulfs_quota2.c
675
c->q2h->q2h_free = myoff;
sys/ufs/lfs/ulfs_quota2.c
692
struct dq2clear_callback c;
sys/ufs/lfs/ulfs_quota2.c
772
c.dq = dq;
sys/ufs/lfs/ulfs_quota2.c
773
c.id = id;
sys/ufs/lfs/ulfs_quota2.c
774
c.q2h = q2h;
sys/ufs/lfs/ulfs_quota2.c
776
&q2h->q2h_entries[id & hash_mask], B_MODIFY, &c,
sys/ufs/ufs/ufs_quota2.c
1513
struct dq2get_callback *c = v;
sys/ufs/ufs/ufs_quota2.c
1518
if (ufs_rw32(q2e->q2e_uid, needswap) == c->id) {
sys/ufs/ufs/ufs_quota2.c
1519
KASSERT(mutex_owned(&c->dq->dq_interlock));
sys/ufs/ufs/ufs_quota2.c
1522
c->dq->dq2_lblkno = lblkno;
sys/ufs/ufs/ufs_quota2.c
1523
c->dq->dq2_blkoff = blkoff;
sys/ufs/ufs/ufs_quota2.c
1538
struct dq2get_callback c = {
sys/ufs/ufs/ufs_quota2.c
1551
error = quota2_walk_list(ump, bp, type, &offset, 0, (void *)&c,
sys/ufs/ufs/ufs_quota2.c
667
struct dq2clear_callback *c = v;
sys/ufs/ufs/ufs_quota2.c
671
if (ufs_rw32(q2e->q2e_uid, needswap) == c->id) {
sys/ufs/ufs/ufs_quota2.c
672
KASSERT(mutex_owned(&c->dq->dq_interlock));
sys/ufs/ufs/ufs_quota2.c
673
c->dq->dq2_lblkno = 0;
sys/ufs/ufs/ufs_quota2.c
674
c->dq->dq2_blkoff = 0;
sys/ufs/ufs/ufs_quota2.c
679
q2e->q2e_next = c->q2h->q2h_free;
sys/ufs/ufs/ufs_quota2.c
680
c->q2h->q2h_free = myoff;
sys/ufs/ufs/ufs_quota2.c
697
struct dq2clear_callback c;
sys/ufs/ufs/ufs_quota2.c
780
c.dq = dq;
sys/ufs/ufs/ufs_quota2.c
781
c.id = id;
sys/ufs/ufs/ufs_quota2.c
782
c.q2h = q2h;
sys/ufs/ufs/ufs_quota2.c
784
&q2h->q2h_entries[id & hash_mask], B_MODIFY, &c,
sys/uvm/uvm_km.h
50
#define uvm_km_check_empty(a, b, c) /* nothing */
sys/uvm/uvm_page.c
1006
int c, trycolor, colormask;
sys/uvm/uvm_page.c
1037
c = trycolor = *trycolorp;
sys/uvm/uvm_page.c
1040
pg = LIST_FIRST(&pgb->pgb_colors[c]);
sys/uvm/uvm_page.c
1061
uvm_pgflcache_fill(ucpu, f, b, c);
sys/uvm/uvm_page.c
1065
CPU_COUNT(c == trycolor ?
sys/uvm/uvm_page.c
1068
*trycolorp = c;
sys/uvm/uvm_page.c
1071
c = (c + 1) & colormask;
sys/uvm/uvm_page.c
1072
} while (c != trycolor);
sys/uvm/uvm_page.c
2239
int fl, b, c;
sys/uvm/uvm_page.c
2252
for (c = 0; c < uvmexp.ncolors; c++) {
sys/uvm/uvm_page.c
2253
(*pr)(" color(%d) @ %p, ", c,
sys/uvm/uvm_page.c
2254
&pgb->pgb_colors[c]);
sys/uvm/uvm_page.c
2256
LIST_FIRST(&pgb->pgb_colors[c]));
sys/uvm/uvm_pgflcache.c
113
uvm_pgflcache_fill(struct uvm_cpu *ucpu, int fl, int b, int c)
sys/uvm/uvm_pgflcache.c
131
pcc = &pc->color[c];
sys/uvm/uvm_pgflcache.c
133
head = &pgb->pgb_colors[c];
sys/uvm/uvm_pgflcache.c
166
uvm_pgflcache_spill(struct uvm_cpu *ucpu, int fl, int c)
sys/uvm/uvm_pgflcache.c
177
pcc = &pc->color[c];
sys/uvm/uvm_pgflcache.c
181
head = &pgb->pgb_colors[c];
sys/uvm/uvm_pgflcache.c
204
uvm_pgflcache_alloc(struct uvm_cpu *ucpu, int fl, int c)
sys/uvm/uvm_pgflcache.c
216
pcc = &pc->color[c];
sys/uvm/uvm_pgflcache.c
241
int fl, c;
sys/uvm/uvm_pgflcache.c
252
c = VM_PGCOLOR(pg);
sys/uvm/uvm_pgflcache.c
253
pcc = &pc->color[c];
sys/uvm/uvm_pgflcache.c
256
uvm_pgflcache_spill(ucpu, fl, c);
sys/uvm/uvm_pgflcache.c
418
uvm_pgflcache_alloc(struct uvm_cpu *ucpu, int fl, int c)
sys/uvm/uvm_pgflcache.c
432
uvm_pgflcache_fill(struct uvm_cpu *ucpu, int fl, int b, int c)
sys/uvm/uvm_swap.h
65
uvm_swap_stats(char *c, int l, void (*f)(void *, const struct swapent *),
tests/crypto/libcrypto/bn/div/divtest.c
25
BIGNUM *a = BN_new(), *b = BN_new(), *c = BN_new(), *d = BN_new(),
tests/crypto/libcrypto/bn/div/divtest.c
40
if (BN_div_recp(c, d, a, recp, ctx) != 1)
tests/crypto/libcrypto/bn/div/divtest.c
42
else if (BN_cmp(c, C) != 0 || BN_cmp(c, C) != 0)
tests/crypto/libcrypto/ecdh/ecdhtest.c
559
char c = '*';
tests/crypto/libcrypto/ecdh/ecdhtest.c
562
c = '.';
tests/crypto/libcrypto/ecdh/ecdhtest.c
564
c = '+';
tests/crypto/libcrypto/ecdh/ecdhtest.c
566
c = '*';
tests/crypto/libcrypto/ecdh/ecdhtest.c
568
c = '\n';
tests/crypto/libcrypto/ecdh/ecdhtest.c
569
BIO_write((BIO *)arg, &c, 1);
tests/crypto/opencrypto/h_thread.c
176
struct arg a, b, c;
tests/crypto/opencrypto/h_thread.c
192
c = a;
tests/crypto/opencrypto/h_thread.c
193
c.msg = '+';
tests/crypto/opencrypto/h_thread.c
194
error = pthread_create(&tc, NULL, t_encrypt, &c);
tests/dev/audio/audiotest.c
242
int c;
tests/dev/audio/audiotest.c
258
while ((c = getopt(argc, argv, "AadelpRu:")) != -1) {
tests/dev/audio/audiotest.c
259
switch (c) {
tests/dev/audio/audiotest.c
5090
#define f(a,b,c) test_AUDIO_SETINFO_params_set(a, b, c)
tests/dev/audio/h_pad.c
108
int c;
tests/dev/audio/h_pad.c
115
while ((c = getopt(argc, argv, "d")) != -1) {
tests/dev/audio/h_pad.c
116
switch (c) {
tests/fs/nfs/nfsservice/getmntinfo.c
53
#define getvfsstat(a,b,c) rump_sys_getvfsstat(a,b,c)
tests/include/sys/t_cdefs.c
183
#define CHECK(a, b, c) ATF_REQUIRE(__type_fit(a, b) == c)
tests/include/sys/t_cdefs.c
223
#define CHECK(a, b, c) ATF_REQUIRE(__type_fit(a, b) == c)
tests/kernel/arch/x86/sig_fpu.c
71
struct cpuid c;
tests/kernel/arch/x86/sig_fpu.c
74
&c.eax, &c.ebx, &c.ecx, &c.edx))
tests/kernel/arch/x86/sig_fpu.c
75
memset(&c, 0, sizeof(c));
tests/kernel/arch/x86/sig_fpu.c
77
return c;
tests/kernel/t_cloexec.c
197
int slisten, saccept, c;
tests/kernel/t_cloexec.c
212
RL(c = socket(PF_LOCAL, SOCK_STREAM|SOCK_NONBLOCK, 0));
tests/kernel/t_cloexec.c
213
if (connect(c, &name.sa, sizeof(name)) == -1) {
tests/kernel/t_cloexec.c
64
int slisten, saccept, c;
tests/kernel/t_cloexec.c
79
RL(c = socket(PF_LOCAL, SOCK_STREAM|SOCK_NONBLOCK, 0));
tests/kernel/t_cloexec.c
80
if (connect(c, &name.sa, sizeof(name)) == -1) {
tests/kernel/t_clofork.c
187
int slisten, saccept, c;
tests/kernel/t_clofork.c
202
RL(c = socket(PF_LOCAL, SOCK_STREAM|SOCK_NONBLOCK, 0));
tests/kernel/t_clofork.c
203
if (connect(c, &name.sa, sizeof(name)) == -1) {
tests/kernel/t_clofork.c
65
int slisten, saccept, c;
tests/kernel/t_clofork.c
80
RL(c = socket(PF_LOCAL, SOCK_STREAM|SOCK_NONBLOCK, 0));
tests/kernel/t_clofork.c
81
if (connect(c, &name.sa, sizeof(name)) == -1) {
tests/kernel/t_fdrestart.c
73
char c;
tests/kernel/t_fdrestart.c
86
nread = rump_sys_read(F->fd, &c, sizeof(c));
tests/kernel/t_fdrestart.c
96
nread = rump_sys_read(F->fd, &c, sizeof(c));
tests/lib/libc/db/h_lfsr.c
106
c = len >> 8;
tests/lib/libc/db/h_lfsr.c
107
memset(kb, c, key.size);
tests/lib/libc/db/h_lfsr.c
112
key.size, val.size, c);
tests/lib/libc/db/h_lfsr.c
116
key.size, val.size, c);
tests/lib/libc/db/h_lfsr.c
119
key.size, val.size, c);
tests/lib/libc/db/h_lfsr.c
125
key.size, val.size, c);
tests/lib/libc/db/h_lfsr.c
128
key.size, val.size, c);
tests/lib/libc/db/h_lfsr.c
131
key.size, val.size, c);
tests/lib/libc/db/h_lfsr.c
137
c = len >> 8;
tests/lib/libc/db/h_lfsr.c
138
memset(kb, c, key.size);
tests/lib/libc/db/h_lfsr.c
143
key.size, val.size, c);
tests/lib/libc/db/h_lfsr.c
147
val.size, c);
tests/lib/libc/db/h_lfsr.c
150
key.size, val.size, c);
tests/lib/libc/db/h_lfsr.c
159
c = len >> 8;
tests/lib/libc/db/h_lfsr.c
160
memset(kb, c, key.size);
tests/lib/libc/db/h_lfsr.c
165
key.size, val.size, c);
tests/lib/libc/db/h_lfsr.c
169
key.size, val.size, c);
tests/lib/libc/db/h_lfsr.c
172
key.size, val.size, c);
tests/lib/libc/db/h_lfsr.c
64
uint8_t c;
tests/lib/libc/db/h_lfsr.c
84
c = len >> 8;
tests/lib/libc/db/h_lfsr.c
85
memset(kb, c, key.size);
tests/lib/libc/db/h_lfsr.c
90
key.size, val.size, c);
tests/lib/libc/db/h_lfsr.c
94
key.size, val.size, c);
tests/lib/libc/db/h_lfsr.c
97
key.size, val.size, c);
tests/lib/libc/db/t_db_hash_seq.c
126
state_del(DB *db, const struct conf *c)
tests/lib/libc/db/t_db_hash_seq.c
134
k.data = __UNCONST(c);
tests/lib/libc/db/t_db_hash_seq.c
135
k.size = sizeof(*c);
tests/lib/libc/db/t_db_hash_seq.c
153
state_get(DB *db, const struct conf *c, struct dbinfo *dbi)
tests/lib/libc/db/t_db_hash_seq.c
161
k.data = __UNCONST(c);
tests/lib/libc/db/t_db_hash_seq.c
162
k.size = sizeof(*c);
tests/lib/libc/db/t_db_hash_seq.c
182
state_put(DB *db, const struct conf *c, const struct dbinfo *dbi)
tests/lib/libc/db/t_db_hash_seq.c
190
k.data = __UNCONST(c);
tests/lib/libc/db/t_db_hash_seq.c
191
k.size = sizeof(*c);
tests/lib/libc/db/t_db_hash_seq.c
211
state_iterate(DB *db, struct conf *c, struct dbinfo *dbi, unsigned int first)
tests/lib/libc/db/t_db_hash_seq.c
225
memcpy(c, k.data, sizeof(*c));
tests/lib/libc/db/t_db_hash_seq.c
249
struct conf c;
tests/lib/libc/db/t_db_hash_seq.c
256
memset(&c, 0, sizeof(c));
tests/lib/libc/db/t_db_hash_seq.c
261
c.c_port = i;
tests/lib/libc/db/t_db_hash_seq.c
262
state_put(db, &c, &d);
tests/lib/libc/db/t_db_hash_seq.c
265
for (f = 1, i = 0; state_iterate(db, &c, &d, f) == 1; f = 0, i++) {
tests/lib/libc/db/t_db_hash_seq.c
267
DO_DEBUG("%zu %d\n", i, c.c_port);
tests/lib/libc/db/t_db_hash_seq.c
268
if (flag[c.c_port])
tests/lib/libc/db/t_db_hash_seq.c
269
DO_WARNX("Already visited %d", c.c_port);
tests/lib/libc/db/t_db_hash_seq.c
270
flag[c.c_port] = 1;
tests/lib/libc/db/t_db_hash_seq.c
271
if (skip == 0 || c.c_port % skip != 0)
tests/lib/libc/db/t_db_hash_seq.c
273
state_del(db, &c);
tests/lib/libc/gen/t_fpsetmask.c
300
sigfpe(int s, siginfo_t *si, void *c)
tests/lib/libc/locale/t_btowc.c
103
c, wc, *wcp);
tests/lib/libc/locale/t_btowc.c
104
ATF_REQUIRE(btowc(c) == *wcp);
tests/lib/libc/locale/t_btowc.c
120
unsigned char c;
tests/lib/libc/locale/t_btowc.c
145
c = (unsigned char)*cp;
tests/lib/libc/locale/t_btowc.c
146
printf("Checking legal character 0x%x\n", c);
tests/lib/libc/locale/t_btowc.c
149
ATF_REQUIRE(btowc(c) != WEOF);
tests/lib/libc/locale/t_btowc.c
153
c, btowc(c), (unsigned char)wctob(btowc(c)));
tests/lib/libc/locale/t_btowc.c
154
ATF_REQUIRE_EQ(wctob(btowc(c)), c);
tests/lib/libc/locale/t_btowc.c
197
unsigned char c;
tests/lib/libc/locale/t_btowc.c
82
int c, wc;
tests/lib/libc/locale/t_btowc.c
94
c = (int)(unsigned char)*cp;
tests/lib/libc/locale/t_btowc.c
95
printf("Checking legal character 0x%x\n", c);
tests/lib/libc/locale/t_btowc.c
96
wc = btowc(c);
tests/lib/libc/locale/t_wctype.c
177
void testall(int idx, int c, wchar_t wc, wctype_t wct, int inout)
tests/lib/libc/locale/t_wctype.c
180
idx, typenames[idx], c, c, wc, (long int)wct, inout);
tests/lib/libc/locale/t_wctype.c
186
ATF_REQUIRE_EQ(!!isalnum(c), inout);
tests/lib/libc/locale/t_wctype.c
190
ATF_REQUIRE_EQ(!!isalpha(c), inout);
tests/lib/libc/locale/t_wctype.c
194
ATF_REQUIRE_EQ(!!isblank(c), inout);
tests/lib/libc/locale/t_wctype.c
198
ATF_REQUIRE_EQ(!!iscntrl(c), inout);
tests/lib/libc/locale/t_wctype.c
202
ATF_REQUIRE_EQ(!!isdigit(c), inout);
tests/lib/libc/locale/t_wctype.c
206
ATF_REQUIRE_EQ(!!isgraph(c), inout);
tests/lib/libc/locale/t_wctype.c
211
ATF_REQUIRE_EQ(!!isideogram(c), inout);
tests/lib/libc/locale/t_wctype.c
216
ATF_REQUIRE_EQ(!!islower(c), inout);
tests/lib/libc/locale/t_wctype.c
221
ATF_REQUIRE_EQ(!!isphonogram(c), inout);
tests/lib/libc/locale/t_wctype.c
226
ATF_REQUIRE_EQ(!!isprint(c), inout);
tests/lib/libc/locale/t_wctype.c
230
ATF_REQUIRE_EQ(!!ispunct(c), inout);
tests/lib/libc/locale/t_wctype.c
235
ATF_REQUIRE_EQ(!!isrune(c), inout);
tests/lib/libc/locale/t_wctype.c
240
ATF_REQUIRE_EQ(!!isspace(c), inout);
tests/lib/libc/locale/t_wctype.c
245
ATF_REQUIRE_EQ(!!isspecial(c), inout);
tests/lib/libc/locale/t_wctype.c
250
ATF_REQUIRE_EQ(!!isupper(c), inout);
tests/lib/libc/locale/t_wctype.c
254
ATF_REQUIRE_EQ(!!isxdigit(c), inout);
tests/lib/libc/misc/t_ubsan.c
52
#define UBSAN_MD_VAR(a, b, c) set_md_var(b, c)
tests/lib/libc/misc/t_ubsan.c
62
#define UBSAN_MD_VAR(a, b, c) atf_tc_set_md_var(a, b, c)
tests/lib/libc/net/getaddrinfo/h_gai.c
113
int c;
tests/lib/libc/net/getaddrinfo/h_gai.c
119
while ((c = getopt(argc, argv, "Df:p:PRs:Sv46")) != -1) {
tests/lib/libc/net/getaddrinfo/h_gai.c
120
switch (c) {
tests/lib/libc/net/h_dns_server.c
146
#define ADDC(c) do { \
tests/lib/libc/net/h_dns_server.c
148
*b++ = c; \
tests/lib/libc/net/h_hostent.c
115
int c, af, e, byaddr, len;
tests/lib/libc/net/h_hostent.c
128
while ((c = getopt(argc, argv, "46af:r:t:")) != -1) {
tests/lib/libc/net/h_hostent.c
129
switch (c) {
tests/lib/libc/net/h_protoent.c
64
int c;
tests/lib/libc/net/h_protoent.c
66
while ((c = getopt(argc, argv, "p:n:")) != -1) {
tests/lib/libc/net/h_protoent.c
67
switch (c) {
tests/lib/libc/net/h_servent.c
64
int c;
tests/lib/libc/net/h_servent.c
66
while ((c = getopt(argc, argv, "p:n:P:")) != -1) {
tests/lib/libc/net/h_servent.c
67
switch (c) {
tests/lib/libc/regex/main.c
409
opt(int c, char *s)
tests/lib/libc/regex/main.c
411
return(strchr(s, c) != NULL);
tests/lib/libc/regex/main.c
77
int c;
tests/lib/libc/regex/main.c
85
while ((c = getopt(argc, argv, "c:E:e:S:x")) != -1)
tests/lib/libc/regex/main.c
86
switch (c) {
tests/lib/libc/regex/split.c
102
while ((c = *p++) != sepc && c != sepc2)
tests/lib/libc/regex/split.c
103
if (c == '\0') {
tests/lib/libc/regex/split.c
111
while ((c = *p++) == sepc || c == sepc2)
tests/lib/libc/regex/split.c
117
while (c != '\0') {
tests/lib/libc/regex/split.c
118
while ((c = *p++) == sepc || c == sepc2)
tests/lib/libc/regex/split.c
122
while ((c = *p++) != '\0' && c != sepc && c != sepc2)
tests/lib/libc/regex/split.c
128
while ((c = *--p) == sepc || c == sepc2)
tests/lib/libc/regex/split.c
147
c = *p++;
tests/lib/libc/regex/split.c
148
if (c == '\0')
tests/lib/libc/regex/split.c
151
while ((sepc = *sepp++) != '\0' && sepc != c)
tests/lib/libc/regex/split.c
159
c = *p++;
tests/lib/libc/regex/split.c
161
while ((sepc = *sepp++) != '\0' && sepc != c)
tests/lib/libc/regex/split.c
48
char c; /* latest character */
tests/lib/libc/regex/split.c
58
while ((c = *p++) == ' ' || c == '\t')
tests/lib/libc/regex/split.c
80
while ((c = *p++) != sepc)
tests/lib/libc/regex/split.c
81
if (c == '\0')
tests/lib/libc/regex/split.c
88
while ((c = *p++) != sepc)
tests/lib/libc/regex/split.c
89
if (c == '\0')
tests/lib/libc/regex/t_regex_att.c
519
int c = regcomp(&re, pattern, flags | iflags);
tests/lib/libc/regex/t_regex_att.c
520
ATF_REQUIRE_MSG(c == comp,
tests/lib/libc/regex/t_regex_att.c
522
c, pattern, lineno);
tests/lib/libc/regex/t_regex_att.c
523
if (c)
tests/lib/libc/stdio/t_scanf.c
65
char c;
tests/lib/libc/stdio/t_scanf.c
68
c = 0;
tests/lib/libc/stdio/t_scanf.c
69
(void)sscanf(str, "%%%c", &c);
tests/lib/libc/stdio/t_scanf.c
70
ATF_REQUIRE(c == 'z');
tests/lib/libc/stdlib/h_getopt.c
100
snprintf(arg, sizeof(arg), "!%c,", c);
tests/lib/libc/stdlib/h_getopt.c
105
snprintf(arg, sizeof(arg), "%c,", c);
tests/lib/libc/stdlib/h_getopt.c
108
c, optarg);
tests/lib/libc/stdlib/h_getopt.c
50
int c;
tests/lib/libc/stdlib/h_getopt.c
96
while ((c = getopt(nargs, args, optstring)) != -1) {
tests/lib/libc/stdlib/h_getopt.c
97
if (c == ':')
tests/lib/libc/stdlib/h_getopt.c
99
if ((ptr = strchr(optstring, c)) == NULL) {
tests/lib/libc/stdlib/h_getopt_long.c
178
while ((c = getopt_long(nargs, args, optstring,
tests/lib/libc/stdlib/h_getopt_long.c
180
if (c == ':')
tests/lib/libc/stdlib/h_getopt_long.c
183
ptr = strchr(optstring, c);
tests/lib/libc/stdlib/h_getopt_long.c
186
"!%c,", c);
tests/lib/libc/stdlib/h_getopt_long.c
192
"%c,", c);
tests/lib/libc/stdlib/h_getopt_long.c
195
"%c=%s,", c, optarg);
tests/lib/libc/stdlib/h_getopt_long.c
52
int c;
tests/lib/libc/string/t_memcpy.c
112
char c = ' ';
tests/lib/libc/string/t_memcpy.c
114
(void)memset(buf, c, sizeof(buf));
tests/lib/libc/string/t_memcpy.c
116
ATF_CHECK(memccpy(buf, "foo bar", c, sizeof(buf)) != NULL);
tests/lib/libc/string/t_memcpy.c
117
ATF_CHECK(buf[4] == c);
tests/lib/libc/string/t_memcpy.c
120
ATF_CHECK(buf[8] == c);
tests/lib/libc/string/t_memcpy.c
138
char c[2];
tests/lib/libc/string/t_memcpy.c
140
ATF_REQUIRE_EQ(memcpy(c, "ab", sizeof(c)), c);
tests/lib/libc/string/t_memset.c
89
char c[2];
tests/lib/libc/string/t_memset.c
96
ATF_CHECK_EQ_MSG((p = (*memsetfn[i].fn)(c, 2, sizeof(c))), c,
tests/lib/libc/string/t_memset.c
97
"%s: returned %p, expected %p", memsetfn[i].name, p, c);
tests/lib/libc/string/t_strchr.c
23
unsigned char c = 1;
tests/lib/libc/string/t_strchr.c
27
for (; c != 0; buf++) {
tests/lib/libc/string/t_strchr.c
28
c = *buf;
tests/lib/libc/string/t_strchr.c
29
if (c == ch)
tests/lib/libc/string/t_strchrnul.c
23
unsigned char c = 1;
tests/lib/libc/string/t_strchrnul.c
28
c = *buf;
tests/lib/libc/string/t_strchrnul.c
29
if (c == ch || c == 0)
tests/lib/libc/sys/t_poll.c
523
char c = 0;
tests/lib/libc/sys/t_poll.c
530
ATF_CHECK_ERRNO(error, (nwrit = write(writefd, &c, 1)) == -1);
tests/lib/libc/sys/t_poll.c
541
char c;
tests/lib/libc/sys/t_poll.c
547
RL(nread = read(readfd, &c, 1));
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
38
bytes_transfer_dummy(int a, int b, int c, int d)
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
44
c -= 2;
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
52
return (a + b * c - d) + (e * f - g / h);
tests/lib/libc/sys/t_ptrace_siginfo_wait.h
30
ptrace_siginfo(bool faked, void (*sah)(int a, siginfo_t *b, void *c),
tests/lib/libc/sys/t_ptrace_wait.h
101
# define TWAIT_WAIT6TYPE(a,b,c,d,e,f) wait6((a),(b),(c),(d),(e),(f))
tests/lib/libc/sys/t_ptrace_wait.h
102
# define TWAIT_GENERIC(a,b,c) \
tests/lib/libc/sys/t_ptrace_wait.h
103
wait6(P_PID,(a),(b),(c)|WEXITED|WTRAPPED,NULL,NULL)
tests/lib/libc/sys/t_ptrace_wait.h
410
#define validate_status_signaled(a,b,c)
tests/lib/libc/sys/t_ptrace_wait.h
411
#define forkee_status_signaled(a,b,c)
tests/lib/libc/sys/t_ptrace_wait.h
67
# define TWAIT_WAIT4TYPE(a,b,c,d) wait((b))
tests/lib/libc/sys/t_ptrace_wait.h
68
# define TWAIT_GENERIC(a,b,c) wait((b))
tests/lib/libc/sys/t_ptrace_wait.h
72
# define TWAIT_WAIT4TYPE(a,b,c,d) waitpid((a),(b),(c))
tests/lib/libc/sys/t_ptrace_wait.h
73
# define TWAIT_GENERIC(a,b,c) waitpid((a),(b),(c))
tests/lib/libc/sys/t_ptrace_wait.h
79
# define TWAIT_GENERIC(a,b,c) \
tests/lib/libc/sys/t_ptrace_wait.h
80
waitid(P_PID,(a),NULL,(c)|WEXITED|WTRAPPED)
tests/lib/libc/sys/t_ptrace_wait.h
81
# define TWAIT_WAIT6TYPE(a,b,c,d,e,f) waitid((a),(b),(f),(d))
tests/lib/libc/sys/t_ptrace_wait.h
86
# define TWAIT_WAIT4TYPE(a,b,c,d) wait3((b),(c),(d))
tests/lib/libc/sys/t_ptrace_wait.h
87
# define TWAIT_GENERIC(a,b,c) wait3((b),(c),NULL)
tests/lib/libc/sys/t_ptrace_wait.h
93
# define TWAIT_WAIT4TYPE(a,b,c,d) wait4((a),(b),(c),(d))
tests/lib/libc/sys/t_ptrace_wait.h
94
# define TWAIT_GENERIC(a,b,c) wait4((a),(b),(c),NULL)
tests/lib/libc/sys/t_ptrace_x86_wait.h
2175
uint64_t a, b, c, d, e, f, g, h;
tests/lib/libc/sys/t_ptrace_x86_wait.h
2178
uint64_t a, b, c, d;
tests/lib/libc/sys/t_ptrace_x86_wait.h
3501
FORKEE_ASSERT_EQ(vals[32].zmm.c,
tests/lib/libc/sys/t_ptrace_x86_wait.h
3502
expected[32].zmm.c);
tests/lib/libc/sys/t_ptrace_x86_wait.h
3888
ATF_CHECK(xst.xs_opmask.xs_k[2] == expected[32].zmm.c);
tests/lib/libc/sys/t_ptrace_x86_wait.h
3897
&expected[0].ymm.c, sizeof(expected->ymm)/2));
tests/lib/libc/sys/t_ptrace_x86_wait.h
3899
&expected[1].ymm.c, sizeof(expected->ymm)/2));
tests/lib/libc/sys/t_ptrace_x86_wait.h
3901
&expected[2].ymm.c, sizeof(expected->ymm)/2));
tests/lib/libc/sys/t_ptrace_x86_wait.h
3903
&expected[3].ymm.c, sizeof(expected->ymm)/2));
tests/lib/libc/sys/t_ptrace_x86_wait.h
3905
&expected[4].ymm.c, sizeof(expected->ymm)/2));
tests/lib/libc/sys/t_ptrace_x86_wait.h
3907
&expected[5].ymm.c, sizeof(expected->ymm)/2));
tests/lib/libc/sys/t_ptrace_x86_wait.h
3909
&expected[6].ymm.c, sizeof(expected->ymm)/2));
tests/lib/libc/sys/t_ptrace_x86_wait.h
3911
&expected[7].ymm.c, sizeof(expected->ymm)/2));
tests/lib/libc/sys/t_ptrace_x86_wait.h
3914
&expected[8].ymm.c, sizeof(expected->ymm)/2));
tests/lib/libc/sys/t_ptrace_x86_wait.h
3916
&expected[9].ymm.c, sizeof(expected->ymm)/2));
tests/lib/libc/sys/t_ptrace_x86_wait.h
3918
&expected[10].ymm.c, sizeof(expected->ymm)/2));
tests/lib/libc/sys/t_ptrace_x86_wait.h
3920
&expected[11].ymm.c, sizeof(expected->ymm)/2));
tests/lib/libc/sys/t_ptrace_x86_wait.h
3922
&expected[12].ymm.c, sizeof(expected->ymm)/2));
tests/lib/libc/sys/t_ptrace_x86_wait.h
3924
&expected[13].ymm.c, sizeof(expected->ymm)/2));
tests/lib/libc/sys/t_ptrace_x86_wait.h
3926
&expected[14].ymm.c, sizeof(expected->ymm)/2));
tests/lib/libc/sys/t_ptrace_x86_wait.h
3928
&expected[15].ymm.c, sizeof(expected->ymm)/2));
tests/lib/libc/sys/t_ptrace_x86_wait.h
4132
xst.xs_opmask.xs_k[2] = expected[32].zmm.c;
tests/lib/libc/sys/t_ptrace_x86_wait.h
4141
&expected[0].ymm.c, sizeof(expected->ymm)/2);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4143
&expected[1].ymm.c, sizeof(expected->ymm)/2);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4145
&expected[2].ymm.c, sizeof(expected->ymm)/2);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4147
&expected[3].ymm.c, sizeof(expected->ymm)/2);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4149
&expected[4].ymm.c, sizeof(expected->ymm)/2);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4151
&expected[5].ymm.c, sizeof(expected->ymm)/2);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4153
&expected[6].ymm.c, sizeof(expected->ymm)/2);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4155
&expected[7].ymm.c, sizeof(expected->ymm)/2);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4158
&expected[8].ymm.c, sizeof(expected->ymm)/2);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4160
&expected[9].ymm.c, sizeof(expected->ymm)/2);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4162
&expected[10].ymm.c, sizeof(expected->ymm)/2);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4164
&expected[11].ymm.c, sizeof(expected->ymm)/2);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4166
&expected[12].ymm.c, sizeof(expected->ymm)/2);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4168
&expected[13].ymm.c, sizeof(expected->ymm)/2);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4170
&expected[14].ymm.c, sizeof(expected->ymm)/2);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4172
&expected[15].ymm.c, sizeof(expected->ymm)/2);
tests/lib/libc/sys/t_sendrecv.c
115
char c = 0;
tests/lib/libc/sys/t_sendrecv.c
145
read(fd[1], &c, sizeof(c));
tests/lib/libc/sys/t_sendrecv.c
151
write(fd[0], &c, sizeof(c));
tests/lib/libc/sys/t_setrlimit.c
463
ucontext_t c;
tests/lib/libc/sys/t_setrlimit.c
471
ATF_REQUIRE(getcontext(&c) == 0);
tests/lib/libc/sys/t_setrlimit.c
472
c.uc_link = NULL;
tests/lib/libc/sys/t_setrlimit.c
473
sigemptyset(&c.uc_sigmask);
tests/lib/libc/sys/t_setrlimit.c
474
c.uc_stack.ss_flags = 0;
tests/lib/libc/sys/t_setrlimit.c
475
c.uc_stack.ss_size = 4096;
tests/lib/libc/sys/t_setrlimit.c
476
ATF_REQUIRE((c.uc_stack.ss_sp = malloc(c.uc_stack.ss_size)) != NULL);
tests/lib/libc/sys/t_setrlimit.c
477
makecontext(&c, func, 1, &lwpid);
tests/lib/libc/sys/t_setrlimit.c
478
ATF_CHECK_ERRNO(EAGAIN, _lwp_create(&c, 0, &lwpid) == -1);
tests/lib/libc/sys/t_timerfd.c
160
char c = 1;
tests/lib/libc/sys/t_timerfd.c
163
ATF_CHECK_ERRNO(EBADF, write(fd, &c, 1) == -1);
tests/lib/libc/t_long_double.c
114
const struct testcase *c = testcases + i;
tests/lib/libc/t_long_double.c
115
long double have = (long double)c->arg;
tests/lib/libc/t_long_double.c
116
ATF_CHECK_MSG(have == c->want,
tests/lib/libc/t_long_double.c
119
__func__, c->want, c->want, c->arg, c->arg, have, have);
tests/lib/libc/t_long_double.c
139
const struct testcase *c = testcases + i;
tests/lib/libc/t_long_double.c
140
int64_t have = (int64_t)c->arg;
tests/lib/libc/t_long_double.c
141
ATF_CHECK_MSG(have == c->want,
tests/lib/libc/t_long_double.c
144
__func__, c->want, c->want, c->arg, c->arg, have, have);
tests/lib/libc/t_long_double.c
161
const struct testcase *c = testcases + i;
tests/lib/libc/t_long_double.c
162
long double have = (long double)c->arg;
tests/lib/libc/t_long_double.c
163
ATF_CHECK_MSG(have == c->want,
tests/lib/libc/t_long_double.c
166
__func__, c->want, c->want, c->arg, c->arg, have, have);
tests/lib/libc/t_long_double.c
227
const struct testcase *c = testcases + i;
tests/lib/libc/t_long_double.c
228
uint64_t have = (uint64_t)c->arg;
tests/lib/libc/t_long_double.c
229
ATF_CHECK_MSG(have == c->want,
tests/lib/libc/t_long_double.c
232
__func__, c->want, c->want, c->arg, c->arg, have, have);
tests/lib/libc/t_long_double.c
254
const struct testcase *c = testcases + i;
tests/lib/libc/t_long_double.c
255
long double have = (long double)c->arg;
tests/lib/libc/t_long_double.c
256
ATF_CHECK_MSG(have == c->want,
tests/lib/libc/t_long_double.c
258
__func__, c->want, c->want, c->arg, c->arg, have, have);
tests/lib/libc/t_long_double.c
280
const struct testcase *c = testcases + i;
tests/lib/libc/t_long_double.c
281
double have = (double)c->arg;
tests/lib/libc/t_long_double.c
282
ATF_CHECK_MSG(have == c->want,
tests/lib/libc/t_long_double.c
284
__func__, c->want, c->want, c->arg, c->arg, have, have);
tests/lib/libcurses/slave/commands.c
200
report_byte(chtype c)
tests/lib/libcurses/slave/commands.c
204
string[0] = c;
tests/lib/libcurses/slave/commands.c
232
report_cchar(cchar_t c)
tests/lib/libcurses/slave/commands.c
236
write_to_director_int(sizeof(c));
tests/lib/libcurses/slave/commands.c
237
write_to_director(&c, sizeof(c));
tests/lib/libdes/t_des.c
65
#define crypt(c,s) (des_crypt((c),(s)))
tests/lib/libm/t_hypot.c
33
#define CHECK_EQ(i, hypot, a, b, c) \
tests/lib/libm/t_hypot.c
34
ATF_CHECK_MSG(hypot(a, b) == (c), \
tests/lib/libm/t_hypot.c
36
(i), #hypot, (a), (b), hypot(a, b), (c))
tests/lib/libm/t_hypot.c
38
#define CHECKL_EQ(i, hypot, a, b, c) \
tests/lib/libm/t_hypot.c
39
ATF_CHECK_MSG(hypot(a, b) == (c), \
tests/lib/libm/t_hypot.c
42
(long double)(c))
tests/lib/libm/t_hypot.c
462
float a, b, c;
tests/lib/libm/t_hypot.c
473
double a, b, c;
tests/lib/libm/t_hypot.c
485
long double a, b, c;
tests/lib/libm/t_hypot.c
517
float c = ldexpf(exact_casesf[i].c, s);
tests/lib/libm/t_hypot.c
519
CHECK_EQ(i, hypot, a, b, c);
tests/lib/libm/t_hypot.c
520
CHECK_EQ(i, hypot, b, a, c);
tests/lib/libm/t_hypot.c
521
CHECK_EQ(i, hypot, a, -b, c);
tests/lib/libm/t_hypot.c
522
CHECK_EQ(i, hypot, b, -a, c);
tests/lib/libm/t_hypot.c
523
CHECK_EQ(i, hypot, -a, b, c);
tests/lib/libm/t_hypot.c
524
CHECK_EQ(i, hypot, -b, a, c);
tests/lib/libm/t_hypot.c
525
CHECK_EQ(i, hypot, -a, -b, c);
tests/lib/libm/t_hypot.c
526
CHECK_EQ(i, hypot, -b, -a, c);
tests/lib/libm/t_hypot.c
548
double c = ldexp(exact_casesf[i].c, s);
tests/lib/libm/t_hypot.c
550
CHECK_EQ(i, hypot, a, b, c);
tests/lib/libm/t_hypot.c
551
CHECK_EQ(i, hypot, b, a, c);
tests/lib/libm/t_hypot.c
552
CHECK_EQ(i, hypot, a, -b, c);
tests/lib/libm/t_hypot.c
553
CHECK_EQ(i, hypot, b, -a, c);
tests/lib/libm/t_hypot.c
554
CHECK_EQ(i, hypot, -a, b, c);
tests/lib/libm/t_hypot.c
555
CHECK_EQ(i, hypot, -b, a, c);
tests/lib/libm/t_hypot.c
556
CHECK_EQ(i, hypot, -a, -b, c);
tests/lib/libm/t_hypot.c
557
CHECK_EQ(i, hypot, -b, -a, c);
tests/lib/libm/t_hypot.c
569
double c = ldexp(exact_cases[i].c, s);
tests/lib/libm/t_hypot.c
571
CHECK_EQ(i, hypot, a, b, c);
tests/lib/libm/t_hypot.c
572
CHECK_EQ(i, hypot, b, a, c);
tests/lib/libm/t_hypot.c
573
CHECK_EQ(i, hypot, a, -b, c);
tests/lib/libm/t_hypot.c
574
CHECK_EQ(i, hypot, b, -a, c);
tests/lib/libm/t_hypot.c
575
CHECK_EQ(i, hypot, -a, b, c);
tests/lib/libm/t_hypot.c
576
CHECK_EQ(i, hypot, -b, a, c);
tests/lib/libm/t_hypot.c
577
CHECK_EQ(i, hypot, -a, -b, c);
tests/lib/libm/t_hypot.c
578
CHECK_EQ(i, hypot, -b, -a, c);
tests/lib/libm/t_hypot.c
600
long double c = ldexpl(exact_casesf[i].c, s);
tests/lib/libm/t_hypot.c
602
CHECKL_EQ(i, hypotl, a, b, c);
tests/lib/libm/t_hypot.c
603
CHECKL_EQ(i, hypotl, b, a, c);
tests/lib/libm/t_hypot.c
604
CHECKL_EQ(i, hypotl, a, -b, c);
tests/lib/libm/t_hypot.c
605
CHECKL_EQ(i, hypotl, b, -a, c);
tests/lib/libm/t_hypot.c
606
CHECKL_EQ(i, hypotl, -a, b, c);
tests/lib/libm/t_hypot.c
607
CHECKL_EQ(i, hypotl, -b, a, c);
tests/lib/libm/t_hypot.c
608
CHECKL_EQ(i, hypotl, -a, -b, c);
tests/lib/libm/t_hypot.c
609
CHECKL_EQ(i, hypotl, -b, -a, c);
tests/lib/libm/t_hypot.c
621
long double c = ldexpl(exact_cases[i].c, s);
tests/lib/libm/t_hypot.c
623
CHECKL_EQ(i, hypotl, a, b, c);
tests/lib/libm/t_hypot.c
624
CHECKL_EQ(i, hypotl, b, a, c);
tests/lib/libm/t_hypot.c
625
CHECKL_EQ(i, hypotl, a, -b, c);
tests/lib/libm/t_hypot.c
626
CHECKL_EQ(i, hypotl, b, -a, c);
tests/lib/libm/t_hypot.c
627
CHECKL_EQ(i, hypotl, -a, b, c);
tests/lib/libm/t_hypot.c
628
CHECKL_EQ(i, hypotl, -b, a, c);
tests/lib/libm/t_hypot.c
629
CHECKL_EQ(i, hypotl, -a, -b, c);
tests/lib/libm/t_hypot.c
630
CHECKL_EQ(i, hypotl, -b, -a, c);
tests/lib/libm/t_hypot.c
643
long double c = ldexpl(exact_casesl[i].c, s);
tests/lib/libm/t_hypot.c
645
CHECKL_EQ(i, hypotl, a, b, c);
tests/lib/libm/t_hypot.c
646
CHECKL_EQ(i, hypotl, b, a, c);
tests/lib/libm/t_hypot.c
647
CHECKL_EQ(i, hypotl, a, -b, c);
tests/lib/libm/t_hypot.c
648
CHECKL_EQ(i, hypotl, b, -a, c);
tests/lib/libm/t_hypot.c
649
CHECKL_EQ(i, hypotl, -a, b, c);
tests/lib/libm/t_hypot.c
650
CHECKL_EQ(i, hypotl, -b, a, c);
tests/lib/libm/t_hypot.c
651
CHECKL_EQ(i, hypotl, -a, -b, c);
tests/lib/libm/t_hypot.c
652
CHECKL_EQ(i, hypotl, -b, -a, c);
tests/lib/libm/t_round.c
62
double a = VAL, b, c;
tests/lib/libm/t_round.c
74
c = round(-a);
tests/lib/libm/t_round.c
78
ATF_CHECK(fabs(c) < SMALL_NUM);
tests/lib/libm/t_sincos.c
117
long double s, c;
tests/lib/libm/t_sincos.c
119
sincosl(theta, &s, &c);
tests/lib/libm/t_sincos.c
126
if (fabsl((c - cos_theta)/cos_theta) > eps) {
tests/lib/libm/t_sincos.c
129
deg, theta, c, cos_theta);
tests/lib/libm/t_sincos.c
143
long double s, c;
tests/lib/libm/t_sincos.c
145
sincosl(x, &s, &c);
tests/lib/libm/t_sincos.c
146
ATF_CHECK(isnan(x) && isnan(s) && isnan(c));
tests/lib/libm/t_sincos.c
158
long double s, c;
tests/lib/libm/t_sincos.c
160
sincosl(x, &s, &c);
tests/lib/libm/t_sincos.c
161
ATF_CHECK(isnan(s) && isnan(c));
tests/lib/libm/t_sincos.c
173
long double s, c;
tests/lib/libm/t_sincos.c
175
sincosl(x, &s, &c);
tests/lib/libm/t_sincos.c
176
ATF_CHECK(isnan(s) && isnan(c));
tests/lib/libm/t_sincos.c
189
long double s, c;
tests/lib/libm/t_sincos.c
191
sincosl(x, &s, &c);
tests/lib/libm/t_sincos.c
192
ATF_CHECK(s == 0.0 && c == 1.0);
tests/lib/libm/t_sincos.c
204
long double s, c;
tests/lib/libm/t_sincos.c
206
sincosl(x, &s, &c);
tests/lib/libm/t_sincos.c
207
ATF_CHECK(s == 0.0 && c == 1.0);
tests/lib/libm/t_sincos.c
233
double s, c;
tests/lib/libm/t_sincos.c
235
sincos(theta, &s, &c);
tests/lib/libm/t_sincos.c
242
if (fabs((c - cos_theta)/cos_theta) > eps) {
tests/lib/libm/t_sincos.c
245
deg, theta, c, cos_theta);
tests/lib/libm/t_sincos.c
259
double s, c;
tests/lib/libm/t_sincos.c
261
sincos(x, &s, &c);
tests/lib/libm/t_sincos.c
262
ATF_CHECK(isnan(x) && isnan(s) && isnan(c));
tests/lib/libm/t_sincos.c
274
double s, c;
tests/lib/libm/t_sincos.c
276
sincos(x, &s, &c);
tests/lib/libm/t_sincos.c
277
ATF_CHECK(isnan(s) && isnan(c));
tests/lib/libm/t_sincos.c
289
double s, c;
tests/lib/libm/t_sincos.c
291
sincos(x, &s, &c);
tests/lib/libm/t_sincos.c
292
ATF_CHECK(isnan(s) && isnan(c));
tests/lib/libm/t_sincos.c
305
double s, c;
tests/lib/libm/t_sincos.c
307
sincos(x, &s, &c);
tests/lib/libm/t_sincos.c
308
ATF_CHECK(s == 0 && c == 1.0);
tests/lib/libm/t_sincos.c
320
double s, c;
tests/lib/libm/t_sincos.c
322
sincos(x, &s, &c);
tests/lib/libm/t_sincos.c
323
ATF_CHECK(s == 0 && c == 1.0);
tests/lib/libm/t_sincos.c
349
float s, c;
tests/lib/libm/t_sincos.c
351
sincosf(theta, &s, &c);
tests/lib/libm/t_sincos.c
362
if (fabs((c - cos_theta)/cos_theta) > eps) {
tests/lib/libm/t_sincos.c
365
deg, theta, c, cos_theta);
tests/lib/libm/t_sincos.c
379
float s, c;
tests/lib/libm/t_sincos.c
381
sincosf(x, &s, &c);
tests/lib/libm/t_sincos.c
382
ATF_CHECK(isnan(x) && isnan(s) && isnan(c));
tests/lib/libm/t_sincos.c
394
float s, c;
tests/lib/libm/t_sincos.c
396
sincosf(x, &s, &c);
tests/lib/libm/t_sincos.c
397
ATF_CHECK(isnan(s) && isnan(c));
tests/lib/libm/t_sincos.c
410
float s, c;
tests/lib/libm/t_sincos.c
412
sincosf(x, &s, &c);
tests/lib/libm/t_sincos.c
413
ATF_CHECK(isnan(s) && isnan(c));
tests/lib/libm/t_sincos.c
426
float s, c;
tests/lib/libm/t_sincos.c
428
sincosf(x, &s, &c);
tests/lib/libm/t_sincos.c
430
ATF_CHECK(s == 0.0 && c == 1.0);
tests/lib/libm/t_sincos.c
443
float s, c;
tests/lib/libm/t_sincos.c
445
sincosf(x, &s, &c);
tests/lib/libm/t_sincos.c
447
ATF_CHECK(s == 0 && c == 1.0);
tests/lib/libprop/t_proplib.c
188
prop_dictionary_t c, d;
tests/lib/libprop/t_proplib.c
201
c = prop_dictionary_copy(d);
tests/lib/libprop/t_proplib.c
203
ATF_REQUIRE(c != NULL);
tests/lib/libprop/t_proplib.c
205
if (prop_dictionary_equals(c, d) != true)
tests/lib/libprop/t_proplib.c
208
prop_object_release(c);
tests/lib/libpthread/h_resolv.c
148
int i, c, done, *nleft;
tests/lib/libpthread/h_resolv.c
153
while ((c = getopt(argc, argv, "dh:n:")) != -1)
tests/lib/libpthread/h_resolv.c
154
switch (c) {
tests/lib/libpthread/h_resolv.c
199
c = 0;
tests/lib/libpthread/h_resolv.c
204
c++;
tests/lib/libpthread/h_resolv.c
214
return c;
tests/lib/libpthread/h_resolv.c
82
char c = line[len];
tests/lib/libpthread/h_resolv.c
87
line[len] = c;
tests/lib/libpthread/t_cnd.c
150
cnd_t c;
tests/lib/libpthread/t_cnd.c
157
ATF_REQUIRE_EQ(cnd_init(&c), thrd_success);
tests/lib/libpthread/t_cnd.c
160
ATF_REQUIRE_EQ(cnd_timedwait(&c, &m, &ts), thrd_timedout);
tests/lib/libpthread/t_cnd.c
164
cnd_destroy(&c);
tests/lib/libpthread/t_cnd.c
51
cnd_t c;
tests/lib/libpthread/t_cnd.c
53
ATF_REQUIRE_EQ(cnd_init(&c), thrd_success);
tests/lib/libpthread/t_cnd.c
54
cnd_destroy(&c);
tests/lib/semaphore/sem.c
331
int _ksem_open(const char *a, int b, mode_t c, unsigned int d, intptr_t *e)
tests/lib/semaphore/sem.c
332
{return rump_sys__ksem_open(a,b,c,d,e);}
tests/net/fdpass/fdpass.c
167
int s[2], fd, status, c, verbose;
tests/net/fdpass/fdpass.c
174
while ((c = getopt(argc, argv, "di:o:p:")) != -1)
tests/net/fdpass/fdpass.c
175
switch (c) {
tests/net/in_cksum/in_cksum.c
184
int c;
tests/net/in_cksum/in_cksum.c
191
while ((c = getopt(argc, argv, "i:l:u:v")) != -1) {
tests/net/in_cksum/in_cksum.c
192
switch (c) {
tests/net/ipsec/natt_terminator.c
60
int c, family = AF_INET;
tests/net/ipsec/natt_terminator.c
62
while ((c = getopt(argc, argv, "46")) != -1) {
tests/net/ipsec/natt_terminator.c
63
switch (c) {
tests/net/mcast/mcast.c
414
int c;
tests/net/mcast/mcast.c
423
while ((c = getopt(argc, argv, "46bcdmn:s:")) != -1)
tests/net/mcast/mcast.c
424
switch (c) {
tests/net/net/t_pktinfo.c
159
int s, c;
tests/net/net/t_pktinfo.c
161
c = client(&sin);
tests/net/net/t_pktinfo.c
164
close(c);
tests/rump/kernspace/alloc.c
111
if ((c = pool_get(&pp2, PR_NOWAIT)) == NULL) {
tests/rump/kernspace/alloc.c
120
*c = 'a';
tests/rump/kernspace/alloc.c
82
char *c;
tests/usr.bin/indent/fmt_decl.c
116
c;
tests/usr.bin/indent/fmt_decl.c
139
int a, b, c;
tests/usr.bin/indent/fmt_decl.c
251
old_style_definition(a, b, c)
tests/usr.bin/indent/fmt_decl.c
254
double ***c;
tests/usr.bin/indent/fmt_decl.c
262
old_style_definition(a, b, c)
tests/usr.bin/indent/fmt_decl.c
265
double ***c;
tests/usr.bin/indent/fmt_decl.c
992
} c;
tests/usr.bin/indent/fmt_expr.c
18
println((const char[3]){'-', c, '\0'});
tests/usr.bin/indent/lsym_binary_op.c
201
a *= b *= c;
tests/usr.bin/indent/lsym_comma.c
36
return a = b, c = d;
tests/usr.bin/indent/lsym_comma.c
48
int a, b, c;
tests/usr.bin/indent/lsym_comment.c
1152
int a = b / *c;
tests/usr.bin/indent/lsym_comment.c
1156
int a = b + / * c;
tests/usr.bin/indent/lsym_comment.c
1160
int a = b / *c;
tests/usr.bin/indent/lsym_lparen_or_lbracket.c
140
a = ((((b + c)))) * d;
tests/usr.bin/indent/lsym_rparen_or_rbracket.c
69
list_add(l, (const char[3]){'-', (char)c, '\0'});
tests/usr.bin/indent/lsym_tag.c
104
struct y c = (struct y *)&a;
tests/usr.bin/indent/lsym_tag.c
73
} c[] = {
tests/usr.bin/indent/lsym_tag.c
81
struct y c = (struct y *)&a;
tests/usr.bin/indent/lsym_tag.c
94
} c[] = {
tests/usr.bin/indent/lsym_unary_op.c
90
a = (2 * b == c);
tests/usr.bin/indent/opt_bacc.c
21
int c;
tests/usr.bin/indent/opt_bacc.c
31
int c;
tests/usr.bin/indent/opt_bc.c
101
b, c;
tests/usr.bin/indent/opt_bc.c
127
c;
tests/usr.bin/indent/opt_bc.c
13
int a,b,c;
tests/usr.bin/indent/opt_bc.c
131
int a, b, c;
tests/usr.bin/indent/opt_bc.c
14
void function_declaration(int a,int b,int c);
tests/usr.bin/indent/opt_bc.c
163
int a, b, c;
tests/usr.bin/indent/opt_bc.c
166
int a, b, c;
tests/usr.bin/indent/opt_bc.c
179
c;
tests/usr.bin/indent/opt_bc.c
184
c;
tests/usr.bin/indent/opt_bc.c
195
int a, b, c;
tests/usr.bin/indent/opt_bc.c
198
int a, b, c;
tests/usr.bin/indent/opt_bc.c
24
c;
tests/usr.bin/indent/opt_bc.c
25
void function_declaration(int a, int b, int c);
tests/usr.bin/indent/opt_bc.c
34
int a, b, c;
tests/usr.bin/indent/opt_bc.c
35
void function_declaration(int a, int b, int c);
tests/usr.bin/indent/opt_bc.c
42
old_style_definition(a, b, c)
tests/usr.bin/indent/opt_bc.c
43
double a,b,c;
tests/usr.bin/indent/opt_bc.c
45
return a+b+c;
tests/usr.bin/indent/opt_bc.c
50
old_style_definition(a, b, c)
tests/usr.bin/indent/opt_bc.c
53
c;
tests/usr.bin/indent/opt_bc.c
55
return a + b + c;
tests/usr.bin/indent/opt_bc.c
60
old_style_definition(a, b, c)
tests/usr.bin/indent/opt_bc.c
61
double a, b, c;
tests/usr.bin/indent/opt_bc.c
63
return a + b + c;
tests/usr.bin/indent/opt_bc.c
76
b, c; int d;
tests/usr.bin/indent/opt_bc.c
78
b, c; int d;
tests/usr.bin/indent/opt_bc.c
86
c;
tests/usr.bin/indent/opt_bc.c
90
c;
tests/usr.bin/indent/opt_bc.c
98
b, c;
tests/usr.bin/indent/opt_dj.c
106
} c;
tests/usr.bin/indent/opt_dj.c
128
} c;
tests/usr.bin/indent/opt_dj.c
147
} c;
tests/usr.bin/indent/opt_dj.c
64
dbl_plus3(a, b, c)
tests/usr.bin/indent/opt_dj.c
65
double a, b, c;
tests/usr.bin/indent/opt_dj.c
67
return a + b + c;
tests/usr.bin/indent/opt_dj.c
73
dbl_plus3(a, b, c)
tests/usr.bin/indent/opt_dj.c
74
double a, b, c;
tests/usr.bin/indent/opt_dj.c
76
return a + b + c;
tests/usr.bin/indent/opt_dj.c
91
} c;
tests/usr.bin/indent/opt_ip.c
14
plus3(a, b, c)
tests/usr.bin/indent/opt_ip.c
15
double a, b, c;
tests/usr.bin/indent/opt_ip.c
17
return a + b + c;
tests/usr.bin/indent/opt_ip.c
23
plus3(a, b, c)
tests/usr.bin/indent/opt_ip.c
24
double a, b, c;
tests/usr.bin/indent/opt_ip.c
26
return a + b + c;
tests/usr.bin/indent/opt_ip.c
32
plus3(a, b, c)
tests/usr.bin/indent/opt_ip.c
33
double a, b, c;
tests/usr.bin/indent/opt_ip.c
35
return a + b + c;
tests/usr.bin/indent/opt_l.c
62
example(int a, int b, int c, const char *cp)
tests/usr.bin/indent/opt_l.c
67
if (*p > c)
tests/usr.bin/indent/psym_stmt.c
34
TAILQ_FOREACH(a, b, c) {
tests/usr.bin/xlint/lint1/c11.c
102
r = c;
tests/usr.bin/xlint/lint1/c11.c
97
int c[n][n][6][m];
tests/usr.bin/xlint/lint1/c11_generic_expression.c
56
classify_char(char c)
tests/usr.bin/xlint/lint1/c11_generic_expression.c
60
return _Generic(c,
tests/usr.bin/xlint/lint1/d_c99_bool.c
66
char c;
tests/usr.bin/xlint/lint1/d_c99_bool.c
79
case 1: return v.c;
tests/usr.bin/xlint/lint1/d_c99_bool_strict.c
724
char c = b;
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
103
ch_isspace_sys_int(char c)
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
107
((ctype_table + 1)[c] & 0x0040)
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
118
ch_isspace_sys_bool(char c)
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
122
((ctype_table + 1)[(unsigned char)c] & 0x0040) != 0
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
191
int c;
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
193
while (c = read_char(),
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
197
c
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
67
strict_bool_system_header_ctype(int c)
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
76
(int)((ctype_table + 1)[c] & 0x0040) /* INT */
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
83
(int)((ctype_table + 1)[c] & 0x0040) != 0 /* BOOL */
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
89
(int)((ctype_table + 1)[c] & 0x0040) /* INT */
tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
96
((ctype_table + 1)[c] & 0x0040) != 0 /* BOOL */
tests/usr.bin/xlint/lint1/d_c99_complex_split.c
38
double _Complex c;
tests/usr.bin/xlint/lint1/d_c99_complex_split.c
40
__real__ c = re;
tests/usr.bin/xlint/lint1/d_c99_complex_split.c
41
__imag__ c = im;
tests/usr.bin/xlint/lint1/d_c99_complex_split.c
42
sink(c);
tests/usr.bin/xlint/lint1/d_c99_complex_split.c
55
double _Complex c;
tests/usr.bin/xlint/lint1/d_c99_complex_split.c
57
__real__ c = re;
tests/usr.bin/xlint/lint1/d_c99_complex_split.c
59
sink(c); /* XXX: may be used before set */
tests/usr.bin/xlint/lint1/d_c99_complex_split.c
72
double _Complex c;
tests/usr.bin/xlint/lint1/d_c99_complex_split.c
75
__imag__ c = im;
tests/usr.bin/xlint/lint1/d_c99_complex_split.c
76
sink(c); /* XXX: may be used before set */
tests/usr.bin/xlint/lint1/d_decl_old_style_arguments.c
10
void func(int a, int b, int c);
tests/usr.bin/xlint/lint1/d_fold_test.c
30
void if_char(char c) { if (c) return; }
tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c
37
int c = ({
tests/usr.bin/xlint/lint1/d_lint_assert.c
25
c(void());
tests/usr.bin/xlint/lint1/d_packed_structs.c
32
char c;
tests/usr.bin/xlint/lint1/d_packed_structs.c
37
char c;
tests/usr.bin/xlint/lint1/decl.c
292
char *c;
tests/usr.bin/xlint/lint1/decl.c
67
char *pc = 0, c = 0, **ppc = 0;
tests/usr.bin/xlint/lint1/decl.c
72
sink(c);
tests/usr.bin/xlint/lint1/emit.c
216
varargs_3_comment(int a, int b, int c, const char *fmt)
tests/usr.bin/xlint/lint1/expr_precedence.c
57
conditional_associativity(_Bool cond1, _Bool cond2, int a, int b, int c)
tests/usr.bin/xlint/lint1/expr_precedence.c
60
var = cond1 ? cond2 ? a : b : c;
tests/usr.bin/xlint/lint1/expr_precedence.c
61
var = cond1 ? (cond2 ? a : b) : c;
tests/usr.bin/xlint/lint1/expr_precedence.c
64
var = cond1 ? cond2 ? a, b : (b, a) : c;
tests/usr.bin/xlint/lint1/expr_precedence.c
66
var = cond1 ? a : cond2 ? b : c;
tests/usr.bin/xlint/lint1/expr_precedence.c
71
var = cond1 ? a : (cond2 ? b : c);
tests/usr.bin/xlint/lint1/expr_precedence.c
76
var = (cond1 ? a : cond2) ? b : c;
tests/usr.bin/xlint/lint1/gcc.c
122
static char c, *pc;
tests/usr.bin/xlint/lint1/gcc.c
123
c = __atomic_load_n(pc, 0);
tests/usr.bin/xlint/lint1/gcc.c
124
c = __atomic_exchange_n(pc, 0, 0);
tests/usr.bin/xlint/lint1/gcc.c
127
c = __atomic_exchange_n(pv, 0, 0);
tests/usr.bin/xlint/lint1/init_c99.c
517
char c;
tests/usr.bin/xlint/lint1/init_c99.c
526
.c = 'b',
tests/usr.bin/xlint/lint1/init_c99.c
533
.c = 'a',
tests/usr.bin/xlint/lint1/msg_030.c
19
static c = 1;
tests/usr.bin/xlint/lint1/msg_030.c
21
int c;
tests/usr.bin/xlint/lint1/msg_030.c
26
c = a + b + c;
tests/usr.bin/xlint/lint1/msg_032.c
15
return a + b + c;
tests/usr.bin/xlint/lint1/msg_032.c
9
add(a, b, c)
tests/usr.bin/xlint/lint1/msg_051.c
16
example(a, b, c)
tests/usr.bin/xlint/lint1/msg_051.c
17
int a, b, c;
tests/usr.bin/xlint/lint1/msg_129.c
25
uint8_buffer_write_uint32(uint8_t *c, uint32_t l)
tests/usr.bin/xlint/lint1/msg_129.c
27
(*(c++) = (uint8_t)(l & 0xff),
tests/usr.bin/xlint/lint1/msg_129.c
28
*(c++) = (uint8_t)((l >> 8L) & 0xff),
tests/usr.bin/xlint/lint1/msg_129.c
29
*(c++) = (uint8_t)((l >> 16L) & 0xff),
tests/usr.bin/xlint/lint1/msg_129.c
30
*(c++) = (uint8_t)((l >> 24L) & 0xff));
tests/usr.bin/xlint/lint1/msg_130.c
29
example(_Bool cond, enum color c, enum size s)
tests/usr.bin/xlint/lint1/msg_130.c
34
sink(c != s);
tests/usr.bin/xlint/lint1/msg_130.c
36
sink(c == s);
tests/usr.bin/xlint/lint1/msg_130.c
37
sink((c & MEDIUM) != 0); /* might be useful to warn about */
tests/usr.bin/xlint/lint1/msg_130.c
38
sink((c | MEDIUM) != 0); /* might be useful to warn about */
tests/usr.bin/xlint/lint1/msg_130.c
40
c |= MEDIUM; /* might be useful to warn about */
tests/usr.bin/xlint/lint1/msg_130.c
41
c &= MEDIUM; /* might be useful to warn about */
tests/usr.bin/xlint/lint1/msg_130.c
44
c &= ~(unsigned)MEDIUM; /* might be useful to warn about */
tests/usr.bin/xlint/lint1/msg_130.c
48
switch_example(enum color c)
tests/usr.bin/xlint/lint1/msg_130.c
50
switch (c) {
tests/usr.bin/xlint/lint1/msg_150.c
18
int c = add2(2, 3, 5, 7);
tests/usr.bin/xlint/lint1/msg_150.c
20
return a + b + c;
tests/usr.bin/xlint/lint1/msg_156.c
23
example(enum color c, enum size s)
tests/usr.bin/xlint/lint1/msg_156.c
26
print_color(c);
tests/usr.bin/xlint/lint1/msg_160.c
16
return (a == b) == (c == d);
tests/usr.bin/xlint/lint1/msg_160.c
23
unparenthesized(int a, int b, int c, _Bool z)
tests/usr.bin/xlint/lint1/msg_160.c
45
eval(a == b == c);
tests/usr.bin/xlint/lint1/msg_160.c
53
eval((a == b) == c);
tests/usr.bin/xlint/lint1/msg_160.c
59
eval(a == (b == c));
tests/usr.bin/xlint/lint1/msg_160.c
9
both_equal_or_unequal(int a, int b, int c, int d)
tests/usr.bin/xlint/lint1/msg_169.c
101
con = a ^ b | c;
tests/usr.bin/xlint/lint1/msg_169.c
102
okl = (a ^ b) | c;
tests/usr.bin/xlint/lint1/msg_169.c
103
okr = a ^ (b | c);
tests/usr.bin/xlint/lint1/msg_169.c
106
con = a ^ b & c;
tests/usr.bin/xlint/lint1/msg_169.c
107
okl = (a ^ b) & c;
tests/usr.bin/xlint/lint1/msg_169.c
108
okr = a ^ (b & c);
tests/usr.bin/xlint/lint1/msg_169.c
11
confusing_shift_arith(unsigned a, unsigned b, unsigned c, unsigned char ch)
tests/usr.bin/xlint/lint1/msg_169.c
111
con = a & b | c;
tests/usr.bin/xlint/lint1/msg_169.c
112
okl = (a & b) ^ c;
tests/usr.bin/xlint/lint1/msg_169.c
113
okr = a & (b ^ c);
tests/usr.bin/xlint/lint1/msg_169.c
116
con = a & b ^ c;
tests/usr.bin/xlint/lint1/msg_169.c
117
okl = (a & b) ^ c;
tests/usr.bin/xlint/lint1/msg_169.c
118
okr = a & (b ^ c);
tests/usr.bin/xlint/lint1/msg_169.c
121
con = a & b + c;
tests/usr.bin/xlint/lint1/msg_169.c
122
okl = (a & b) + c;
tests/usr.bin/xlint/lint1/msg_169.c
123
okr = a & (b + c);
tests/usr.bin/xlint/lint1/msg_169.c
126
con = a - b | c;
tests/usr.bin/xlint/lint1/msg_169.c
127
okl = (a - b) | c;
tests/usr.bin/xlint/lint1/msg_169.c
128
okr = a - (b | c);
tests/usr.bin/xlint/lint1/msg_169.c
151
cast_expressions(char a, char b, char c)
tests/usr.bin/xlint/lint1/msg_169.c
158
con = (unsigned)a | (unsigned)b & (unsigned)c;
tests/usr.bin/xlint/lint1/msg_169.c
16
con = a + b << c;
tests/usr.bin/xlint/lint1/msg_169.c
160
con = (unsigned)a & (unsigned)b | (unsigned)c;
tests/usr.bin/xlint/lint1/msg_169.c
165
con = (unsigned)(a | b & c);
tests/usr.bin/xlint/lint1/msg_169.c
169
con = (unsigned)a | (unsigned)(b & c);
tests/usr.bin/xlint/lint1/msg_169.c
17
okl = (a + b) << c;
tests/usr.bin/xlint/lint1/msg_169.c
170
con = a | (unsigned)(b & c);
tests/usr.bin/xlint/lint1/msg_169.c
171
con = (unsigned)(a | b) & (unsigned)c;
tests/usr.bin/xlint/lint1/msg_169.c
172
con = (unsigned)(a | b) & c;
tests/usr.bin/xlint/lint1/msg_169.c
176
expected_precedence(int a, int b, int c)
tests/usr.bin/xlint/lint1/msg_169.c
18
okr = a + (b << c);
tests/usr.bin/xlint/lint1/msg_169.c
180
ok = a + b * c;
tests/usr.bin/xlint/lint1/msg_169.c
21
con = a << b + c;
tests/usr.bin/xlint/lint1/msg_169.c
22
okl = (a << b) + c;
tests/usr.bin/xlint/lint1/msg_169.c
23
okr = a << (b + c);
tests/usr.bin/xlint/lint1/msg_169.c
26
con = a - b >> c;
tests/usr.bin/xlint/lint1/msg_169.c
27
okl = (a - b) >> c;
tests/usr.bin/xlint/lint1/msg_169.c
28
okr = a - (b >> c);
tests/usr.bin/xlint/lint1/msg_169.c
31
con = a >> b - c;
tests/usr.bin/xlint/lint1/msg_169.c
32
okl = (a >> b) - c;
tests/usr.bin/xlint/lint1/msg_169.c
33
okr = a >> (b - c);
tests/usr.bin/xlint/lint1/msg_169.c
37
con = (a) + b << c;
tests/usr.bin/xlint/lint1/msg_169.c
39
con = a + (b) << c;
tests/usr.bin/xlint/lint1/msg_169.c
41
con = a + b << (c);
tests/usr.bin/xlint/lint1/msg_169.c
45
con = ch + b << c;
tests/usr.bin/xlint/lint1/msg_169.c
47
con = a + ch << c;
tests/usr.bin/xlint/lint1/msg_169.c
53
confusing_logical(bool a, bool b, bool c, bool d)
tests/usr.bin/xlint/lint1/msg_169.c
57
eql = a && b && c;
tests/usr.bin/xlint/lint1/msg_169.c
58
eql = a || b || c;
tests/usr.bin/xlint/lint1/msg_169.c
61
con = a && b || c;
tests/usr.bin/xlint/lint1/msg_169.c
62
okl = (a && b) || c;
tests/usr.bin/xlint/lint1/msg_169.c
63
okr = a && (b || c);
tests/usr.bin/xlint/lint1/msg_169.c
66
con = a || b && c;
tests/usr.bin/xlint/lint1/msg_169.c
67
okl = (a || b) && c;
tests/usr.bin/xlint/lint1/msg_169.c
68
okr = a || (b && c);
tests/usr.bin/xlint/lint1/msg_169.c
73
con = a && b || c && d;
tests/usr.bin/xlint/lint1/msg_169.c
75
okl = (a && b) || c && d;
tests/usr.bin/xlint/lint1/msg_169.c
77
okr = a && b || (c && d);
tests/usr.bin/xlint/lint1/msg_169.c
78
okb = (a && b) || (c && d);
tests/usr.bin/xlint/lint1/msg_169.c
82
confusing_bitwise(unsigned a, unsigned b, unsigned c)
tests/usr.bin/xlint/lint1/msg_169.c
86
eql = a & b & c;
tests/usr.bin/xlint/lint1/msg_169.c
87
eql = a | b | c;
tests/usr.bin/xlint/lint1/msg_169.c
88
eql = a ^ b ^ c;
tests/usr.bin/xlint/lint1/msg_169.c
91
con = a | b ^ c;
tests/usr.bin/xlint/lint1/msg_169.c
92
okl = (a | b) ^ c;
tests/usr.bin/xlint/lint1/msg_169.c
93
okr = a | (b ^ c);
tests/usr.bin/xlint/lint1/msg_169.c
96
con = a | b & c;
tests/usr.bin/xlint/lint1/msg_169.c
97
okl = (a | b) & c;
tests/usr.bin/xlint/lint1/msg_169.c
98
okr = a | (b & c);
tests/usr.bin/xlint/lint1/msg_204.c
58
void if_char(char c) { if (c) return; }
tests/usr.bin/xlint/lint1/msg_230.c
102
if (c > 127)
tests/usr.bin/xlint/lint1/msg_230.c
105
if (c >= 128)
tests/usr.bin/xlint/lint1/msg_230.c
109
if (c > 128)
tests/usr.bin/xlint/lint1/msg_230.c
112
if (c >= 129)
tests/usr.bin/xlint/lint1/msg_230.c
20
compare_plain_char(char c)
tests/usr.bin/xlint/lint1/msg_230.c
23
if (c == -129)
tests/usr.bin/xlint/lint1/msg_230.c
26
if (c == -128)
tests/usr.bin/xlint/lint1/msg_230.c
29
if (c == -1)
tests/usr.bin/xlint/lint1/msg_230.c
31
if (c == 0)
tests/usr.bin/xlint/lint1/msg_230.c
33
if (c == 127)
tests/usr.bin/xlint/lint1/msg_230.c
36
if (c == 128)
tests/usr.bin/xlint/lint1/msg_230.c
39
if (c == 255)
tests/usr.bin/xlint/lint1/msg_230.c
42
if (c == 256)
tests/usr.bin/xlint/lint1/msg_230.c
47
compare_plain_char_yoda(char c)
tests/usr.bin/xlint/lint1/msg_230.c
50
if (-129 == c)
tests/usr.bin/xlint/lint1/msg_230.c
53
if (-128 == c)
tests/usr.bin/xlint/lint1/msg_230.c
56
if (-1 == c)
tests/usr.bin/xlint/lint1/msg_230.c
58
if (0 == c)
tests/usr.bin/xlint/lint1/msg_230.c
60
if (127 == c)
tests/usr.bin/xlint/lint1/msg_230.c
63
if (128 == c)
tests/usr.bin/xlint/lint1/msg_230.c
66
if (255 == c)
tests/usr.bin/xlint/lint1/msg_230.c
69
if (256 == c)
tests/usr.bin/xlint/lint1/msg_230.c
74
compare_greater(char c)
tests/usr.bin/xlint/lint1/msg_230.c
78
if (c > -2)
tests/usr.bin/xlint/lint1/msg_230.c
81
if (c >= -1)
tests/usr.bin/xlint/lint1/msg_230.c
89
if (c > -1)
tests/usr.bin/xlint/lint1/msg_230.c
95
if (c >= 0)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
106
if (c > 127)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
109
if (c >= 128)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
113
if (c > 128)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
116
if (c >= 129)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
20
compare_plain_char(char c)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
23
if (c == -129)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
26
if (c == -128)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
29
if (c == -1)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
31
if (c == 0)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
33
if (c == 127)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
36
if (c == 128)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
39
if (c == 255)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
42
if (c == 256)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
47
compare_plain_char_yoda(char c)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
50
if (-129 == c)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
53
if (-128 == c)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
56
if (-1 == c)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
58
if (0 == c)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
60
if (127 == c)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
63
if (128 == c)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
66
if (255 == c)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
69
if (256 == c)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
74
compare_greater(char c)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
78
if (c > -2)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
81
if (c >= -1)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
89
if (c > -1)
tests/usr.bin/xlint/lint1/msg_230_uchar.c
99
if (c >= 0)
tests/usr.bin/xlint/lint1/msg_241.c
101
c |= c;
tests/usr.bin/xlint/lint1/msg_241.c
105
c &= ~(unsigned)GREEN;
tests/usr.bin/xlint/lint1/msg_241.c
109
cover_typeok_enum(enum color c, int i)
tests/usr.bin/xlint/lint1/msg_241.c
113
if (c * i > 5)
tests/usr.bin/xlint/lint1/msg_241.c
118
color_name(enum color c)
tests/usr.bin/xlint/lint1/msg_241.c
126
if (c == RED)
tests/usr.bin/xlint/lint1/msg_241.c
127
return *(c + name); /* unusual but allowed */
tests/usr.bin/xlint/lint1/msg_241.c
128
if (c == GREEN)
tests/usr.bin/xlint/lint1/msg_241.c
129
return c[name]; /* even more unusual */
tests/usr.bin/xlint/lint1/msg_241.c
130
return name[c];
tests/usr.bin/xlint/lint1/msg_241.c
28
enum color c = RED;
tests/usr.bin/xlint/lint1/msg_241.c
31
sink_bool(!c);
tests/usr.bin/xlint/lint1/msg_241.c
33
sink_color(~c);
tests/usr.bin/xlint/lint1/msg_241.c
35
++c;
tests/usr.bin/xlint/lint1/msg_241.c
37
--c;
tests/usr.bin/xlint/lint1/msg_241.c
39
c++;
tests/usr.bin/xlint/lint1/msg_241.c
41
c--;
tests/usr.bin/xlint/lint1/msg_241.c
43
sink_color(+c);
tests/usr.bin/xlint/lint1/msg_241.c
45
sink_color(-c);
tests/usr.bin/xlint/lint1/msg_241.c
47
sink_color(c * c);
tests/usr.bin/xlint/lint1/msg_241.c
49
sink_color(c / c);
tests/usr.bin/xlint/lint1/msg_241.c
51
sink_color(c % c);
tests/usr.bin/xlint/lint1/msg_241.c
53
sink_color(c + c);
tests/usr.bin/xlint/lint1/msg_241.c
55
sink_color(c - c);
tests/usr.bin/xlint/lint1/msg_241.c
57
sink_color(c << c);
tests/usr.bin/xlint/lint1/msg_241.c
59
sink_color(c >> c);
tests/usr.bin/xlint/lint1/msg_241.c
61
sink_bool(c < c);
tests/usr.bin/xlint/lint1/msg_241.c
62
sink_bool(c <= c);
tests/usr.bin/xlint/lint1/msg_241.c
63
sink_bool(c > c);
tests/usr.bin/xlint/lint1/msg_241.c
64
sink_bool(c >= c);
tests/usr.bin/xlint/lint1/msg_241.c
65
sink_bool(c == c);
tests/usr.bin/xlint/lint1/msg_241.c
66
sink_bool(c != c);
tests/usr.bin/xlint/lint1/msg_241.c
69
sink_color(c & c);
tests/usr.bin/xlint/lint1/msg_241.c
71
sink_color(c ^ c);
tests/usr.bin/xlint/lint1/msg_241.c
73
sink_color(c | c);
tests/usr.bin/xlint/lint1/msg_241.c
76
sink_bool(c && c);
tests/usr.bin/xlint/lint1/msg_241.c
78
sink_bool(c || c);
tests/usr.bin/xlint/lint1/msg_241.c
79
sink_color(c ? c : BLUE);
tests/usr.bin/xlint/lint1/msg_241.c
81
c = GREEN;
tests/usr.bin/xlint/lint1/msg_241.c
83
c *= c;
tests/usr.bin/xlint/lint1/msg_241.c
85
c /= c;
tests/usr.bin/xlint/lint1/msg_241.c
87
c %= c;
tests/usr.bin/xlint/lint1/msg_241.c
89
c += c;
tests/usr.bin/xlint/lint1/msg_241.c
91
c -= c;
tests/usr.bin/xlint/lint1/msg_241.c
93
c <<= c;
tests/usr.bin/xlint/lint1/msg_241.c
95
c >>= c;
tests/usr.bin/xlint/lint1/msg_241.c
97
c &= c;
tests/usr.bin/xlint/lint1/msg_241.c
99
c ^= c;
tests/usr.bin/xlint/lint1/msg_246.c
14
to_double(enum color c)
tests/usr.bin/xlint/lint1/msg_246.c
16
return c;
tests/usr.bin/xlint/lint1/msg_246.c
20
to_pointer(enum color c)
tests/usr.bin/xlint/lint1/msg_246.c
23
return c;
tests/usr.bin/xlint/lint1/msg_255.c
44
# 45 "msg_255.c"
tests/usr.bin/xlint/lint1/msg_259.c
105
signed_short(c);
tests/usr.bin/xlint/lint1/msg_259.c
115
unsigned_short(c);
tests/usr.bin/xlint/lint1/msg_259.c
39
change_in_type_width(char c, int i, long l)
tests/usr.bin/xlint/lint1/msg_259.c
41
plain_char(c);
tests/usr.bin/xlint/lint1/msg_259.c
42
signed_int(c);
tests/usr.bin/xlint/lint1/msg_259.c
44
signed_long(c);
tests/usr.bin/xlint/lint1/msg_259.c
70
small_integer_types(char c, signed char sc, unsigned char uc,
tests/usr.bin/xlint/lint1/msg_259.c
75
plain_char(c);
tests/usr.bin/xlint/lint1/msg_259.c
85
signed_char(c);
tests/usr.bin/xlint/lint1/msg_259.c
95
unsigned_char(c);
tests/usr.bin/xlint/lint1/msg_259_c90.c
103
signed_short(c);
tests/usr.bin/xlint/lint1/msg_259_c90.c
113
unsigned_short(c);
tests/usr.bin/xlint/lint1/msg_259_c90.c
37
change_in_type_width(char c, int i, long l)
tests/usr.bin/xlint/lint1/msg_259_c90.c
39
plain_char(c);
tests/usr.bin/xlint/lint1/msg_259_c90.c
40
signed_int(c);
tests/usr.bin/xlint/lint1/msg_259_c90.c
42
signed_long(c);
tests/usr.bin/xlint/lint1/msg_259_c90.c
68
small_integer_types(char c, signed char sc, unsigned char uc,
tests/usr.bin/xlint/lint1/msg_259_c90.c
73
plain_char(c);
tests/usr.bin/xlint/lint1/msg_259_c90.c
83
signed_char(c);
tests/usr.bin/xlint/lint1/msg_259_c90.c
93
unsigned_char(c);
tests/usr.bin/xlint/lint1/msg_259_ilp32.c
21
example(char c, int i, long l)
tests/usr.bin/xlint/lint1/msg_259_ilp32.c
23
plain_char(c);
tests/usr.bin/xlint/lint1/msg_259_ilp32.c
24
signed_int(c);
tests/usr.bin/xlint/lint1/msg_259_ilp32.c
26
signed_long(c);
tests/usr.bin/xlint/lint1/msg_324.c
20
example(char c, int i, unsigned u)
tests/usr.bin/xlint/lint1/msg_324.c
27
ll = c + i;
tests/usr.bin/xlint/lint1/msg_324.c
29
ll = i - c;
tests/usr.bin/xlint/lint1/msg_324.c
32
ull = c * u;
tests/usr.bin/xlint/lint1/msg_324.c
34
ull = u + c;
tests/usr.bin/xlint/lint1/msg_324.c
40
ll = i << c;
tests/usr.bin/xlint/lint1/msg_324.c
46
ll = i >> c;
tests/usr.bin/xlint/lint1/msg_324.c
47
ull = u / c;
tests/usr.bin/xlint/lint1/msg_324.c
48
ull = u % c;
tests/usr.bin/xlint/lint1/msg_330.c
17
example(bool b, char c, int i)
tests/usr.bin/xlint/lint1/msg_330.c
23
called(!c);
tests/usr.bin/xlint/lint1/msg_331.c
16
example(bool b, char c, int i)
tests/usr.bin/xlint/lint1/msg_331.c
22
test(c && b);
tests/usr.bin/xlint/lint1/msg_331.c
28
test(c != '\0');
tests/usr.bin/xlint/lint1/msg_332.c
16
example(bool b, char c, int i)
tests/usr.bin/xlint/lint1/msg_332.c
22
test(b && c);
tests/usr.bin/xlint/lint1/msg_332.c
28
test(c != '\0');
tests/usr.bin/xlint/lint1/msg_338.c
100
while ((c = getopt(argc, argv, ":b:o")) != -1) {
tests/usr.bin/xlint/lint1/msg_338.c
101
switch (c) {
tests/usr.bin/xlint/lint1/msg_338.c
119
int c;
tests/usr.bin/xlint/lint1/msg_338.c
122
while ((c = getopt(argc, argv, ":b:o")) != -1) {
tests/usr.bin/xlint/lint1/msg_338.c
123
switch (c) {
tests/usr.bin/xlint/lint1/msg_338.c
145
int c;
tests/usr.bin/xlint/lint1/msg_338.c
148
while ((c = getopt(argc, argv, "b:")) != -1) {
tests/usr.bin/xlint/lint1/msg_338.c
149
switch (c) {
tests/usr.bin/xlint/lint1/msg_338.c
163
int c;
tests/usr.bin/xlint/lint1/msg_338.c
167
while ((c = getopt(argc, argv, "ab")) != -1) {
tests/usr.bin/xlint/lint1/msg_338.c
168
switch (c) {
tests/usr.bin/xlint/lint1/msg_338.c
172
while ((c = getopt(argc, argv, "ab")) != -1) {
tests/usr.bin/xlint/lint1/msg_338.c
173
switch (c) {
tests/usr.bin/xlint/lint1/msg_338.c
178
while ((c = getopt(argc, argv, "ab")) != -1) {
tests/usr.bin/xlint/lint1/msg_338.c
179
switch (c) {
tests/usr.bin/xlint/lint1/msg_338.c
72
int c;
tests/usr.bin/xlint/lint1/msg_338.c
74
while ((c = getopt(argc, argv, "?x")) != -1) {
tests/usr.bin/xlint/lint1/msg_338.c
75
switch (c) {
tests/usr.bin/xlint/lint1/msg_338.c
97
int c;
tests/usr.bin/xlint/lint1/msg_341.c
22
function_call_char(char c)
tests/usr.bin/xlint/lint1/msg_341.c
26
(isspace)(c);
tests/usr.bin/xlint/lint1/msg_341.c
29
isspace((unsigned char)c);
tests/usr.bin/xlint/lint1/msg_341.c
32
isspace((int)(unsigned char)c);
tests/usr.bin/xlint/lint1/msg_341.c
35
isspace((int)c);
tests/usr.bin/xlint/lint1/msg_341.c
38
isspace((unsigned int)c);
tests/usr.bin/xlint/lint1/msg_341.c
47
function_call_unsigned_char(unsigned char c)
tests/usr.bin/xlint/lint1/msg_341.c
50
(isspace)(c);
tests/usr.bin/xlint/lint1/msg_341.c
51
isspace((unsigned char)c);
tests/usr.bin/xlint/lint1/msg_341.c
52
isspace((int)c);
tests/usr.bin/xlint/lint1/msg_341.c
53
isspace((unsigned int)c);
tests/usr.bin/xlint/lint1/msg_341.c
58
function_call_int(int c)
tests/usr.bin/xlint/lint1/msg_341.c
61
isspace(c);
tests/usr.bin/xlint/lint1/msg_341.c
65
macro_invocation_NetBSD(char c, signed char sc)
tests/usr.bin/xlint/lint1/msg_341.c
69
sink(((int)((_ctype_tab_ + 1)[(c)] & 0x0040)));
tests/usr.bin/xlint/lint1/msg_341.c
72
sink(((int)((_ctype_tab_ + 1)[((unsigned char)c)] & 0x0040)));
tests/usr.bin/xlint/lint1/msg_341.c
75
sink(((int)((_ctype_tab_ + 1)[((int)c)] & 0x0040)));
tests/usr.bin/xlint/lint1/msg_341.c
78
sink(((int)((_ctype_tab_ + 1)[((unsigned int)c)] & 0x0040)));
tests/usr.bin/xlint/lint1/msg_342.c
100
function_call_unsigned_char(unsigned char c)
tests/usr.bin/xlint/lint1/msg_342.c
103
(isspace)(c);
tests/usr.bin/xlint/lint1/msg_342.c
104
isspace((unsigned char)c);
tests/usr.bin/xlint/lint1/msg_342.c
105
isspace((int)c);
tests/usr.bin/xlint/lint1/msg_342.c
106
isspace((unsigned int)c);
tests/usr.bin/xlint/lint1/msg_342.c
111
function_call_int(int c)
tests/usr.bin/xlint/lint1/msg_342.c
114
isspace(c);
tests/usr.bin/xlint/lint1/msg_342.c
118
macro_invocation_NetBSD(char c)
tests/usr.bin/xlint/lint1/msg_342.c
122
sink(((int)((_ctype_tab_ + 1)[(c)] & 0x0040)));
tests/usr.bin/xlint/lint1/msg_342.c
125
sink(((int)((_ctype_tab_ + 1)[((unsigned char)c)] & 0x0040)));
tests/usr.bin/xlint/lint1/msg_342.c
128
sink(((int)((_ctype_tab_ + 1)[((int)c)] & 0x0040)));
tests/usr.bin/xlint/lint1/msg_342.c
131
sink(((int)((_ctype_tab_ + 1)[((unsigned int)c)] & 0x0040)));
tests/usr.bin/xlint/lint1/msg_342.c
38
cover_is_ctype_function(char c)
tests/usr.bin/xlint/lint1/msg_342.c
41
isalnum(c);
tests/usr.bin/xlint/lint1/msg_342.c
43
isalpha(c);
tests/usr.bin/xlint/lint1/msg_342.c
45
isblank(c);
tests/usr.bin/xlint/lint1/msg_342.c
47
iscntrl(c);
tests/usr.bin/xlint/lint1/msg_342.c
49
isdigit(c);
tests/usr.bin/xlint/lint1/msg_342.c
51
isgraph(c);
tests/usr.bin/xlint/lint1/msg_342.c
53
islower(c);
tests/usr.bin/xlint/lint1/msg_342.c
55
isprint(c);
tests/usr.bin/xlint/lint1/msg_342.c
57
ispunct(c);
tests/usr.bin/xlint/lint1/msg_342.c
59
isspace(c);
tests/usr.bin/xlint/lint1/msg_342.c
61
isupper(c);
tests/usr.bin/xlint/lint1/msg_342.c
63
isxdigit(c);
tests/usr.bin/xlint/lint1/msg_342.c
65
tolower(c);
tests/usr.bin/xlint/lint1/msg_342.c
67
toupper(c);
tests/usr.bin/xlint/lint1/msg_342.c
70
is_other(c);
tests/usr.bin/xlint/lint1/msg_342.c
71
to_other(c);
tests/usr.bin/xlint/lint1/msg_342.c
75
function_call_char(char c)
tests/usr.bin/xlint/lint1/msg_342.c
79
(isspace)(c);
tests/usr.bin/xlint/lint1/msg_342.c
82
isspace((unsigned char)c);
tests/usr.bin/xlint/lint1/msg_342.c
85
isspace((int)(unsigned char)c);
tests/usr.bin/xlint/lint1/msg_342.c
88
isspace((int)c);
tests/usr.bin/xlint/lint1/msg_342.c
91
isspace((unsigned int)c);
tests/usr.bin/xlint/lint1/msg_348.c
72
color_name_cast_from_int(int c)
tests/usr.bin/xlint/lint1/msg_348.c
84
return name[(enum color)(c + 1)];
tests/usr.bin/xlint/lint1/op_colon.c
18
test_merge_qualifiers(_Bool cond, int *p, const int *c, volatile int *v,
tests/usr.bin/xlint/lint1/op_colon.c
24
sink(cond ? p : c);
tests/usr.bin/xlint/lint1/op_colon.c
31
sink(cond ? c : p);
tests/usr.bin/xlint/lint1/op_colon.c
33
sink(cond ? c : c);
tests/usr.bin/xlint/lint1/op_colon.c
35
sink(cond ? c : v);
tests/usr.bin/xlint/lint1/op_colon.c
37
sink(cond ? c : cv);
tests/usr.bin/xlint/lint1/op_colon.c
42
sink(cond ? v : c);
tests/usr.bin/xlint/lint1/op_colon.c
51
sink(cond ? cv : c);
tests/usr.bin/xlint/lint1/queries.c
394
int a, b, c;
tests/usr.bin/xlint/lint1/queries.c
398
a = b = c = 0;
tests/usr.bin/xlint/lint1/queries.c
402
a += b *= c -= 0;
tests/usr.bin/xlint/lint1/queries_schar.c
17
Q14(char c)
tests/usr.bin/xlint/lint1/queries_schar.c
21
if (c == 'c' || c == L'w' || c == 92 || c == 0)
tests/usr.bin/xlint/lint1/queries_uchar.c
17
Q14(char c)
tests/usr.bin/xlint/lint1/queries_uchar.c
25
if (c == 'c' || c == L'w' || c == 92 || c == 0)
tools/compat/fgetln.c
43
int c, e;
tools/compat/fgetln.c
54
while ((c = getc(fp)) != EOF) {
tools/compat/fgetln.c
55
buf[r++] = c;
tools/compat/fgetln.c
70
if (c == '\n')
tools/compat/getline.c
60
int c = fgetc(fp);
tools/compat/getline.c
61
if (c == -1) {
tools/compat/getline.c
71
*ptr++ = c;
tools/compat/getline.c
72
if (c == delimiter) {
tools/compat/putc_unlocked.c
41
putc_unlocked(int c, FILE *stream)
tools/compat/putc_unlocked.c
44
putc(c, stream);
tools/compat/snprintf.c
122
as_append_char (struct state *state, unsigned char c)
tools/compat/snprintf.c
125
*state->s++ = c;
tools/compat/snprintf.c
209
char c = state->s[-i-1];
tools/compat/snprintf.c
211
state->s[-len+i] = c;
tools/compat/snprintf.c
221
char c = state->s[-i-1];
tools/compat/snprintf.c
223
state->s[-len+i] = c;
tools/compat/snprintf.c
329
unsigned char c;
tools/compat/snprintf.c
332
while((c = *format++)) {
tools/compat/snprintf.c
333
if (c == '%') {
tools/compat/snprintf.c
342
while((c = *format++)){
tools/compat/snprintf.c
343
if(c == '-')
tools/compat/snprintf.c
345
else if(c == '+')
tools/compat/snprintf.c
347
else if(c == ' ')
tools/compat/snprintf.c
349
else if(c == '#')
tools/compat/snprintf.c
351
else if(c == '0')
tools/compat/snprintf.c
364
if (isdigit(c))
tools/compat/snprintf.c
366
width = width * 10 + c - '0';
tools/compat/snprintf.c
367
c = *format++;
tools/compat/snprintf.c
368
} while(isdigit(c));
tools/compat/snprintf.c
369
else if(c == '*') {
tools/compat/snprintf.c
371
c = *format++;
tools/compat/snprintf.c
375
if (c == '.') {
tools/compat/snprintf.c
377
c = *format++;
tools/compat/snprintf.c
378
if (isdigit(c))
tools/compat/snprintf.c
380
prec = prec * 10 + c - '0';
tools/compat/snprintf.c
381
c = *format++;
tools/compat/snprintf.c
382
} while(isdigit(c));
tools/compat/snprintf.c
383
else if (c == '*') {
tools/compat/snprintf.c
385
c = *format++;
tools/compat/snprintf.c
391
if (c == 'h') {
tools/compat/snprintf.c
393
c = *format++;
tools/compat/snprintf.c
394
} else if (c == 'l') {
tools/compat/snprintf.c
396
c = *format++;
tools/compat/snprintf.c
397
if (c == 'l') {
tools/compat/snprintf.c
399
c = *format++;
tools/compat/snprintf.c
403
switch (c) {
tools/compat/snprintf.c
485
(*state->append_char)(state, c);
tools/compat/snprintf.c
490
(*state->append_char)(state, c);
tools/compat/snprintf.c
495
(*state->append_char) (state, c);
tools/compat/snprintf.c
91
sn_append_char (struct state *state, unsigned char c)
tools/compat/snprintf.c
94
*state->s++ = c;
tools/m4/bootstrap/tokenizer.c
1184
static void yyunput (int c, register char * yy_bp )
tools/m4/bootstrap/tokenizer.c
1214
*--yy_cp = (char) c;
tools/m4/bootstrap/tokenizer.c
1231
int c;
tools/m4/bootstrap/tokenizer.c
124
#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
tools/m4/bootstrap/tokenizer.c
1289
c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
tools/m4/bootstrap/tokenizer.c
1293
return c;
tools/m4/bootstrap/tokenizer.c
185
#define unput(c) yyunput( c, (yytext_ptr) )
tools/m4/bootstrap/tokenizer.c
572
static void yyunput (int c,char *buf_ptr );
tools/m4/bootstrap/tokenizer.c
614
int c = '*'; \
tools/m4/bootstrap/tokenizer.c
617
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
tools/m4/bootstrap/tokenizer.c
618
buf[n] = (char) c; \
tools/m4/bootstrap/tokenizer.c
619
if ( c == '\n' ) \
tools/m4/bootstrap/tokenizer.c
620
buf[n++] = (char) c; \
tools/m4/bootstrap/tokenizer.c
621
if ( c == EOF && ferror( yyin ) ) \
usr.bin/apply/apply.c
151
if ((c = malloc(clen = 1024)) == NULL)
usr.bin/apply/apply.c
167
nc = realloc(c, l);
usr.bin/apply/apply.c
170
c = nc;
usr.bin/apply/apply.c
175
for (p = cmd, q = c; *p != '\0'; ++p) {
usr.bin/apply/apply.c
188
(void)printf("%s\n", c);
usr.bin/apply/apply.c
189
else if (shell_system(c))
usr.bin/apply/apply.c
63
char *c, *cmd, *p, *q, *nc;
usr.bin/at/at.c
584
int c;
usr.bin/at/at.c
617
while ((c = getopt(argc, argv, options)) != -1) {
usr.bin/at/at.c
618
switch (c) {
usr.bin/audiocfg/dtmf.c
57
int c;
usr.bin/audiocfg/dtmf.c
70
for (c = 0; c < channels; c++) {
usr.bin/audiocfg/dtmf.c
71
if ((chanmask & (1 << c)) == 0)
usr.bin/audiocfg/dtmf.c
77
buf[c] = htole16(v);
usr.bin/banner/banner.c
108
dropit(int c)
usr.bin/banner/banner.c
110
switch(c) {
usr.bin/banner/banner.c
132
char outbuf[LINELEN+1], *sp, c, cc;
usr.bin/banner/banner.c
144
d = dropit(c = TRC(cc));
usr.bin/banner/banner.c
150
scnkey_def[(int)c][scnhgt-1-d], strp, cc);
usr.bin/banner/banner.c
153
scnkey_lpd[(int)c][scnhgt-1-d], strp, cc);
usr.bin/banner/banner.c
177
int c;
usr.bin/banner/banner.c
179
while ((c = getopt(argc, argv, "b:f:l")) != -1) {
usr.bin/banner/banner.c
180
switch (c) {
usr.bin/banner/banner.c
90
scnline(int key, char *p, int c)
usr.bin/banner/banner.c
95
c = ForeGnd;
usr.bin/banner/banner.c
99
*p++ = key & 0200 ? c : BackGnd;
usr.bin/base64/base64.c
131
int state, c;
usr.bin/base64/base64.c
138
while ((c = getc(fin)) != EOF) {
usr.bin/base64/base64.c
139
if (ignore && isspace(c))
usr.bin/base64/base64.c
142
if (c == '=')
usr.bin/base64/base64.c
145
pos = strchr(B64, c);
usr.bin/base64/base64.c
179
if (c == '=') {
usr.bin/base64/base64.c
185
while ((c = getc(fin)) != EOF) {
usr.bin/base64/base64.c
186
if (ignore && isspace(c))
usr.bin/base64/base64.c
190
if (c != '=')
usr.bin/base64/base64.c
194
while ((c = getc(fin)) != EOF) {
usr.bin/base64/base64.c
195
if (ignore && isspace(c))
usr.bin/base64/base64.c
199
if (c != EOF)
usr.bin/base64/base64.c
207
if (c != EOF || state != 0)
usr.bin/base64/base64.c
242
int c;
usr.bin/base64/base64.c
244
while ((c = getopt(argc, argv, "b:Ddiw:")) != -1) {
usr.bin/base64/base64.c
245
switch (c) {
usr.bin/base64/base64.c
269
for (c = optind; c < argc; c++) {
usr.bin/base64/base64.c
270
FILE *fp = strcmp(argv[c], "-") == 0 ?
usr.bin/base64/base64.c
271
stdin : fopen(argv[c], "r");
usr.bin/base64/base64.c
273
err(EXIT_FAILURE, "Can't open `%s'", argv[c]);
usr.bin/base64/base64.c
52
int c;
usr.bin/base64/base64.c
54
for (res = 0; res < 3 && (c = getc(fin)) != EOF; res++)
usr.bin/base64/base64.c
55
in[res] = (uint8_t)c;
usr.bin/bdes/bdes.c
377
tobinhex(char c, int radix)
usr.bin/bdes/bdes.c
379
switch(c) {
usr.bin/bdes/bdes.c
563
register int c; /* used to test for EOF */
usr.bin/bdes/bdes.c
575
if ((c = getchar()) == EOF) {
usr.bin/bdes/bdes.c
582
(void)ungetc(c, stdin);
usr.bin/bdes/bdes.c
632
register int c; /* used to test for EOF */
usr.bin/bdes/bdes.c
641
for (c = 0; c < 8; c++)
usr.bin/bdes/bdes.c
642
UCHAR(msgbuf, c) ^= UCHAR(ivec, c);
usr.bin/bdes/bdes.c
647
if ((c = getchar()) == EOF) {
usr.bin/bdes/bdes.c
654
(void)ungetc(c, stdin);
usr.bin/bdes/bdes.c
755
register int c; /* used to test for EOF */
usr.bin/bdes/bdes.c
772
for (c = 0; c < 8 - nbytes; c++)
usr.bin/bdes/bdes.c
773
CHAR(ivec, c) = CHAR(ivec, c+nbytes);
usr.bin/bdes/bdes.c
774
for (c = 0; c < nbytes; c++) {
usr.bin/bdes/bdes.c
775
CHAR(ivec, 8-nbytes+c) = ibuf[c];
usr.bin/bdes/bdes.c
776
obuf[c] = ibuf[c] ^ UCHAR(msgbuf, c);
usr.bin/bdes/bdes.c
781
if ((c = getchar()) == EOF) {
usr.bin/bdes/bdes.c
788
(void)ungetc(c, stdin);
usr.bin/bdes/bdes.c
848
register int c; /* used to test for EOF */
usr.bin/bdes/bdes.c
865
for (c = 0; c < 8 - nbytes; c++)
usr.bin/bdes/bdes.c
866
CHAR(ivec, c) = CHAR(ivec, c+nbytes);
usr.bin/bdes/bdes.c
867
for (c = 0; c < nbytes; c++) {
usr.bin/bdes/bdes.c
868
CHAR(ivec, 8-nbytes+c) = ibuf[c]|0200;
usr.bin/bdes/bdes.c
869
obuf[c] = (ibuf[c] ^ UCHAR(msgbuf, c))&0177;
usr.bin/bdes/bdes.c
874
if ((c = getchar()) == EOF) {
usr.bin/bdes/bdes.c
881
(void)ungetc(c, stdin);
usr.bin/bdes/bdes.c
896
register int c; /* used to test for EOF */
usr.bin/bdes/bdes.c
930
for (c = 0; c < nbytes; c++)
usr.bin/bdes/bdes.c
931
ibuf[c] ^= UCHAR(msgbuf, c);
usr.bin/bdes/bdes.c
942
register int c; /* used to test for EOF */
usr.bin/bdes/bdes.c
959
for (c = 0; c < 8 - nbytes; c++)
usr.bin/bdes/bdes.c
960
CHAR(ivec, c) = CHAR(ivec, c+nbytes);
usr.bin/bdes/bdes.c
961
for (c = 0; c < nbytes; c++) {
usr.bin/bdes/bdes.c
962
CHAR(ivec, 8-nbytes+c) = UCHAR(msgbuf, c);
usr.bin/bdes/bdes.c
963
obuf[c] = ibuf[c] ^ UCHAR(msgbuf, c);
usr.bin/bdes/bdes.c
968
if ((c = getchar()) == EOF) {
usr.bin/bdes/bdes.c
975
(void)ungetc(c, stdin);
usr.bin/cal/cal.c
674
char c;
usr.bin/cal/cal.c
676
i = sscanf(p, "%d%*[/,-]%d%*[/,-]%d%c", &year, &month, &date, &c);
usr.bin/cap_mkdb/cap_mkdb.c
87
int c, byteorder;
usr.bin/cap_mkdb/cap_mkdb.c
92
while ((c = getopt(argc, argv, "bf:lv")) != -1) {
usr.bin/cap_mkdb/cap_mkdb.c
93
switch(c) {
usr.bin/cap_mkdb/cap_mkdb.c
98
byteorder = c == 'b' ? 4321 : 1234;
usr.bin/cdplay/cdplay.c
1315
const struct cmdtab *c, *mc;
usr.bin/cdplay/cdplay.c
1343
for (c = cmdtab; c < mc; c++) {
usr.bin/cdplay/cdplay.c
1345
if (strcasecmp(buf, c->name) == 0) {
usr.bin/cdplay/cdplay.c
1346
*cmd = c->command;
usr.bin/cdplay/cdplay.c
1350
if (len >= c->min && strncasecmp(buf, c->name, len) == 0) {
usr.bin/cdplay/cdplay.c
1351
if (*cmd != -1 && *cmd != (int)c->command) {
usr.bin/cdplay/cdplay.c
1355
*cmd = c->command;
usr.bin/cdplay/cdplay.c
202
int cmd, c;
usr.bin/cdplay/cdplay.c
226
while ((c = getopt(argc, argv, "a:f:h")) != -1)
usr.bin/cdplay/cdplay.c
227
switch (c) {
usr.bin/cdplay/cdplay.c
339
const struct cmdtab *c, *mc;
usr.bin/cdplay/cdplay.c
344
for (c = cmdtab; c < mc; c++) {
usr.bin/cdplay/cdplay.c
345
for (i = c->min, s = c->name; *s != '\0'; s++, i--) {
usr.bin/cdplay/cdplay.c
349
if (c->args != NULL)
usr.bin/cdplay/cdplay.c
350
printf(" %s", c->args);
usr.bin/chpass/pw_yp.c
229
int c;
usr.bin/chpass/pw_yp.c
233
c = getchar();
usr.bin/chpass/pw_yp.c
234
if (c != EOF && c != '\n')
usr.bin/chpass/pw_yp.c
236
if (c == 'n')
usr.bin/cksum/crc.c
176
uint32_t c = be32dec(p + 8);
usr.bin/cksum/crc.c
187
crcslice[6][c >> 24 & 0xff] ^
usr.bin/cksum/crc.c
188
crcslice[5][c >> 16 & 0xff] ^
usr.bin/cksum/crc.c
189
crcslice[4][c >> 8 & 0xff] ^
usr.bin/cksum/crc.c
190
crcslice[3][c >> 0 & 0xff] ^
usr.bin/col/col.c
132
CHAR *c;
usr.bin/col/col.c
321
c = &l->l_line[l->l_line_len++];
usr.bin/col/col.c
322
c->c_char = ch;
usr.bin/col/col.c
323
c->c_set = cur_set;
usr.bin/col/col.c
324
c->c_column = cur_col;
usr.bin/col/col.c
325
c->c_width = wcwidth(ch);
usr.bin/col/col.c
334
if (c->c_width > 0)
usr.bin/col/col.c
335
cur_col += c->c_width;
usr.bin/col/col.c
433
CHAR *c, *endc;
usr.bin/col/col.c
460
for (i = nchars, c = l->l_line; --i >= 0; c++)
usr.bin/col/col.c
461
count[c->c_column]++;
usr.bin/col/col.c
473
for (i = nchars, c = l->l_line; --i >= 0; c++)
usr.bin/col/col.c
474
sorted[count[c->c_column]++] = *c;
usr.bin/col/col.c
475
c = sorted;
usr.bin/col/col.c
477
c = l->l_line;
usr.bin/col/col.c
479
this_col = c->c_column;
usr.bin/col/col.c
480
endc = c;
usr.bin/col/col.c
487
c = endc - 1;
usr.bin/col/col.c
489
this_col + c->c_width > endc->c_column)
usr.bin/col/col.c
518
if (c->c_set != last_set) {
usr.bin/col/col.c
519
switch (c->c_set) {
usr.bin/col/col.c
526
last_set = c->c_set;
usr.bin/col/col.c
528
PUTC(c->c_char);
usr.bin/col/col.c
529
if ((c + 1) < endc)
usr.bin/col/col.c
530
for (j = 0; j < c->c_width; j++)
usr.bin/col/col.c
532
if (++c >= endc)
usr.bin/col/col.c
535
last_col += (c - 1)->c_width;
usr.bin/colcrt/colcrt.c
116
c = getc(stdin);
usr.bin/colcrt/colcrt.c
117
if (c == -1) {
usr.bin/colcrt/colcrt.c
122
switch (c) {
usr.bin/colcrt/colcrt.c
133
c = getc(stdin);
usr.bin/colcrt/colcrt.c
134
switch (c) {
usr.bin/colcrt/colcrt.c
160
c = ' ';
usr.bin/colcrt/colcrt.c
169
if (c == '_') {
usr.bin/colcrt/colcrt.c
173
c = '-';
usr.bin/colcrt/colcrt.c
176
*cp = c;
usr.bin/colcrt/colcrt.c
181
if (plus(c, *cp) || plus(*cp, c))
usr.bin/colcrt/colcrt.c
184
*cp = c;
usr.bin/colcrt/colcrt.c
194
plus(char c, char d)
usr.bin/colcrt/colcrt.c
197
return ((c == '|' && d == '-') || d == '_');
usr.bin/colcrt/colcrt.c
83
int c;
usr.bin/comm/comm.c
198
int c;
usr.bin/comm/comm.c
200
while ((c = getc(fp)) != '\n' && c != EOF) {
usr.bin/comm/comm.c
201
buf[i++] = c;
usr.bin/comm/comm.c
207
if (c == EOF && !i)
usr.bin/compress/zopen.c
239
int c, disp;
usr.bin/compress/zopen.c
285
c = *bp++;
usr.bin/compress/zopen.c
287
fcode = (long)(((long)c << maxbits) + ent);
usr.bin/compress/zopen.c
288
i = ((c << hshift) ^ ent); /* Xor hashing. */
usr.bin/compress/zopen.c
310
ent = c;
usr.bin/config/hash.c
166
hv(u_int h, char c)
usr.bin/config/hash.c
168
return (h << 5) + h + (unsigned char)c;
usr.bin/config/main.c
1795
char c;
usr.bin/config/main.c
1797
for (n = name, p = low; (c = *n) != '\0'; n++)
usr.bin/config/main.c
1798
*p++ = (char)(isupper((u_char)c) ? tolower((u_char)c) : c);
usr.bin/config/mkheaders.c
538
char c;
usr.bin/config/mkheaders.c
543
while ((c = *src++) != 0)
usr.bin/config/mkheaders.c
544
*dst++ = (char)(islower((u_char)c) ? toupper((u_char)c) : c);
usr.bin/config/sem.c
2016
concat(const char *name, int c)
usr.bin/config/sem.c
2023
cfgerror("device name `%s%c' too long", name, c);
usr.bin/config/sem.c
2027
buf[len] = (char)c;
usr.bin/config/sem.c
2055
int c;
usr.bin/config/sem.c
2061
c = (u_char)name[--l];
usr.bin/config/sem.c
2062
if (!isdigit(c)) {
usr.bin/config/sem.c
2063
if (c == '*')
usr.bin/config/sem.c
2065
else if (c == '?')
usr.bin/crunch/crunchgen/crunchgen.c
279
void (*f)(int c, char **v);
usr.bin/ctags/C.c
120
(void)skip_string(c);
usr.bin/ctags/C.c
130
skip_comment(c);
usr.bin/ctags/C.c
132
} else if (c == '/') {
usr.bin/ctags/C.c
133
skip_comment(c);
usr.bin/ctags/C.c
136
(void)ungetc(c, inf);
usr.bin/ctags/C.c
137
c = '/';
usr.bin/ctags/C.c
153
do c = getc(inf);
usr.bin/ctags/C.c
154
while (c != EOF && iswhite(c));
usr.bin/ctags/C.c
155
if (c == '*')
usr.bin/ctags/C.c
157
if (c != EOF)
usr.bin/ctags/C.c
158
ungetc(c, inf);
usr.bin/ctags/C.c
213
storec: if (c == EOF)
usr.bin/ctags/C.c
215
if (!intoken(c)) {
usr.bin/ctags/C.c
237
if (str_entry(c))
usr.bin/ctags/C.c
245
else if (sp != tok || begtoken(c)) {
usr.bin/ctags/C.c
247
*sp++ = c;
usr.bin/ctags/C.c
265
int c; /* current character */
usr.bin/ctags/C.c
277
switch (c) {
usr.bin/ctags/C.c
281
skip_string(c);
usr.bin/ctags/C.c
286
skip_comment(c);
usr.bin/ctags/C.c
287
else if (c == '/')
usr.bin/ctags/C.c
288
skip_comment(c);
usr.bin/ctags/C.c
310
while (GETC(!=, EOF) && iswhite(c))
usr.bin/ctags/C.c
311
if (c == '\n')
usr.bin/ctags/C.c
313
if (c == EOF)
usr.bin/ctags/C.c
320
if (intoken(c)) {
usr.bin/ctags/C.c
321
*anext++ = c;
usr.bin/ctags/C.c
325
if (intoken(c)) {
usr.bin/ctags/C.c
328
*anext++ = c;
usr.bin/ctags/C.c
334
(void)ungetc(c, inf);
usr.bin/ctags/C.c
340
if (intoken(c) || c == '{')
usr.bin/ctags/C.c
342
if (c == '/' && GETC(==, '*'))
usr.bin/ctags/C.c
343
skip_comment(c);
usr.bin/ctags/C.c
344
else if (c == '/')
usr.bin/ctags/C.c
345
skip_comment(c);
usr.bin/ctags/C.c
347
(void)ungetc(c, inf);
usr.bin/ctags/C.c
351
if (c != '{')
usr.bin/ctags/C.c
363
int c; /* character read */
usr.bin/ctags/C.c
371
while(c != '\n' && iswhite(c));
usr.bin/ctags/C.c
372
ungetc(c, inf);
usr.bin/ctags/C.c
376
if (iswhite(c))
usr.bin/ctags/C.c
379
*sp++ = c;
usr.bin/ctags/C.c
389
if (!iswhite(c))
usr.bin/ctags/C.c
394
*sp++ = c;
usr.bin/ctags/C.c
401
if (!intoken(c))
usr.bin/ctags/C.c
407
if (dflag || c == '(') { /* only want macros */
usr.bin/ctags/C.c
411
skip: if (c == '\n') { /* get rid of rest of define */
usr.bin/ctags/C.c
424
str_entry(int c /* current character */)
usr.bin/ctags/C.c
431
while (iswhite(c))
usr.bin/ctags/C.c
434
if (c == '{') /* it was "struct {" */
usr.bin/ctags/C.c
437
*sp++ = c;
usr.bin/ctags/C.c
440
if (!intoken(c))
usr.bin/ctags/C.c
443
switch (c) {
usr.bin/ctags/C.c
452
if (!iswhite(c))
usr.bin/ctags/C.c
454
if (c != '{') {
usr.bin/ctags/C.c
455
(void)ungetc(c, inf);
usr.bin/ctags/C.c
471
int c; /* character read */
usr.bin/ctags/C.c
475
switch(c) {
usr.bin/ctags/C.c
490
ungetc(c, inf);
usr.bin/ctags/C.c
508
int c,
usr.bin/ctags/C.c
512
switch (c) {
usr.bin/ctags/C.c
520
if (c == key && !skip)
usr.bin/ctags/C.c
533
int c,
usr.bin/ctags/C.c
538
switch(c) {
usr.bin/ctags/C.c
549
skip_string(c);
usr.bin/ctags/C.c
554
skip_comment(c);
usr.bin/ctags/C.c
556
} else if (c == '/') {
usr.bin/ctags/C.c
557
skip_comment(c);
usr.bin/ctags/C.c
560
(void)ungetc(c, inf);
usr.bin/ctags/C.c
561
c = '/';
usr.bin/ctags/C.c
568
if (c == key && !skip)
usr.bin/ctags/C.c
64
int c; /* current character */
usr.bin/ctags/C.c
75
switch (c) {
usr.bin/ctags/ctags.c
292
int c;
usr.bin/ctags/ctags.c
297
if (!iswhite(c)) {
usr.bin/ctags/ctags.c
303
/* lisp */ if (strchr(LISPCHR, c)) {
usr.bin/ctags/ctags.h
48
#define GETC(op,exp) ((c = getc(inf)) op (int)exp)
usr.bin/ctags/print.c
62
int c;
usr.bin/ctags/print.c
69
for (cp = lbuf; GETC(!=, '\n'); *cp++ = c)
usr.bin/ctags/print.c
77
if (c == '\\') { /* backslashes */
usr.bin/ctags/print.c
83
else if (c == (int)searchar) { /* search character */
usr.bin/ctags/print.c
86
*cp++ = '\\'; *cp++ = c;
usr.bin/ctags/print.c
89
else if (c == '\n') { /* end of keep */
usr.bin/ctags/print.c
94
*cp++ = c;
usr.bin/ctags/yacc.c
101
if (in_rule || (!isalpha(c) && c != '.' && c != '_'))
usr.bin/ctags/yacc.c
104
*sp++ = c;
usr.bin/ctags/yacc.c
105
while (GETC(!=, EOF) && (intoken(c) || c == '.'))
usr.bin/ctags/yacc.c
106
*sp++ = c;
usr.bin/ctags/yacc.c
109
if (c == EOF)
usr.bin/ctags/yacc.c
111
while (iswhite(c)) {
usr.bin/ctags/yacc.c
112
if (c == '\n')
usr.bin/ctags/yacc.c
117
if (c == ':') {
usr.bin/ctags/yacc.c
122
(void)ungetc(c, inf);
usr.bin/ctags/yacc.c
133
int c; /* read character */
usr.bin/ctags/yacc.c
144
switch (c) {
usr.bin/ctags/yacc.c
59
int c;
usr.bin/ctags/yacc.c
67
switch (c) {
usr.bin/ctags/yacc.c
82
if (skip_key(c))
usr.bin/ctags/yacc.c
88
(void)ungetc(c, inf);
usr.bin/ctags/yacc.c
94
(void)ungetc(c, inf);
usr.bin/cvslatest/cvslatest.c
256
int c;
usr.bin/cvslatest/cvslatest.c
258
while ((c = getopt(argc, argv, "din:")) != -1)
usr.bin/cvslatest/cvslatest.c
259
switch (c) {
usr.bin/deroff/deroff.c
1047
if (c == '\n')
usr.bin/deroff/deroff.c
107
#define SKIP_TO_COM SKIP; SKIP; pc=c; while (C != '.' || pc != '\n' || C > 'Z')pc=c
usr.bin/deroff/deroff.c
1118
for (C; c == ' ' || c == '\t'; C)
usr.bin/deroff/deroff.c
1121
if (c == '<') { /* ".PS < file" -- don't expect a .PE */
usr.bin/deroff/deroff.c
1212
putchar(c);
usr.bin/deroff/deroff.c
1238
putchar(c);
usr.bin/deroff/deroff.c
1239
putchar(c);
usr.bin/deroff/deroff.c
1243
putchar(c);
usr.bin/deroff/deroff.c
1248
putchar(c);
usr.bin/deroff/deroff.c
1278
putchar(c);
usr.bin/deroff/deroff.c
1449
while (C == ' ' || c == '\t')
usr.bin/deroff/deroff.c
1452
if ((c1 = c) == '\n')
usr.bin/deroff/deroff.c
147
static int c;
usr.bin/deroff/deroff.c
370
while ((c = getc(infile)) != rdelim) {
usr.bin/deroff/deroff.c
371
if (c == EOF)
usr.bin/deroff/deroff.c
372
c = eof();
usr.bin/deroff/deroff.c
373
else if (c == '"') {
usr.bin/deroff/deroff.c
374
while ((c = getc(infile)) != '"') {
usr.bin/deroff/deroff.c
375
if (c == EOF ||
usr.bin/deroff/deroff.c
376
(c == '\\' && (c = getc(infile)) == EOF))
usr.bin/deroff/deroff.c
377
c = eof();
usr.bin/deroff/deroff.c
382
return c == 'x';
usr.bin/deroff/deroff.c
383
return c == ' ';
usr.bin/deroff/deroff.c
428
(*p = c) != '\n' &&
usr.bin/deroff/deroff.c
429
c != ' ' && c != '\t' && c != '\\'; ++p)
usr.bin/deroff/deroff.c
432
while (c != '\n')
usr.bin/deroff/deroff.c
471
printf("Starting work with `%c'\n", c);
usr.bin/deroff/deroff.c
473
if (c == '.' || c == '\'')
usr.bin/deroff/deroff.c
484
line[0] = c;
usr.bin/deroff/deroff.c
487
if (c == '\\') {
usr.bin/deroff/deroff.c
491
if (c == '\n')
usr.bin/deroff/deroff.c
493
if (intable && c == 'T') {
usr.bin/deroff/deroff.c
495
if (c == '{' || c == '}') {
usr.bin/deroff/deroff.c
517
if (c != '\n')
usr.bin/deroff/deroff.c
542
if (c != 'T' || C != 'E') {
usr.bin/deroff/deroff.c
544
pc = c;
usr.bin/deroff/deroff.c
546
pc = c;
usr.bin/deroff/deroff.c
562
if (C1 == '.' || c == '\'') {
usr.bin/deroff/deroff.c
563
while (C1 == ' ' || c == '\t')
usr.bin/deroff/deroff.c
565
if (c == 'E' && C1 == 'N') {
usr.bin/deroff/deroff.c
577
} else if (c == 'd') {
usr.bin/deroff/deroff.c
584
if ((c1 = c) == '\n' ||
usr.bin/deroff/deroff.c
597
if (c != '\n')
usr.bin/deroff/deroff.c
599
if (chars[c] == PUNCT)
usr.bin/deroff/deroff.c
600
last = c;
usr.bin/deroff/deroff.c
601
else if (c != ' ')
usr.bin/deroff/deroff.c
623
while (C >= '0' && c <= '9')
usr.bin/deroff/deroff.c
625
ungetc(c, infile);
usr.bin/deroff/deroff.c
626
c = '0';
usr.bin/deroff/deroff.c
646
else if (c != '\n')
usr.bin/deroff/deroff.c
668
while (C != '\n' && c != bdelim)
usr.bin/deroff/deroff.c
669
if (c == '\\')
usr.bin/deroff/deroff.c
691
*ap = c;
usr.bin/deroff/deroff.c
708
if (c == '0') {
usr.bin/deroff/deroff.c
716
} else if (c == 'P' || C == 'P') {
usr.bin/deroff/deroff.c
717
if (c != '\n')
usr.bin/deroff/deroff.c
720
} else if (c != '\n')
usr.bin/deroff/deroff.c
745
c2 = c;
usr.bin/deroff/deroff.c
762
c = '\n';
usr.bin/deroff/deroff.c
764
c1 = c;
usr.bin/deroff/deroff.c
767
if (c == '\n')
usr.bin/deroff/deroff.c
771
c = '\n';
usr.bin/deroff/deroff.c
776
if (c == '\n')
usr.bin/deroff/deroff.c
780
c = '\n';
usr.bin/deroff/deroff.c
787
else if (c == '\"') {
usr.bin/deroff/deroff.c
789
if (c == '\\') {
usr.bin/deroff/deroff.c
792
ungetc(c, infile);
usr.bin/deroff/deroff.c
795
*p1++ = c;
usr.bin/deroff/deroff.c
799
else if (c == '\n' && p1 != line) {
usr.bin/deroff/deroff.c
95
#define Cget ( (c=getc(infile)) == EOF ? eof() : ((c==ldelim)&&(filesp==files) ? skeqn() : c) )
usr.bin/deroff/deroff.c
96
#define C1get ( (c=getc(infile)) == EOF ? eof() : c)
usr.bin/diff/diffreg.c
1009
change(char *file1, FILE *f1, char *file2, FILE *f2, int a, int b, int c, int d,
usr.bin/diff/diffreg.c
1021
a > b && c > d)
usr.bin/diff/diffreg.c
1039
if (a > b || c <= d) { /* Changes and inserts. */
usr.bin/diff/diffreg.c
1040
for (i = c; i <= d; i++) {
usr.bin/diff/diffreg.c
1079
c > context_vec_ptr->d + (2 * diff_context) + 1) {
usr.bin/diff/diffreg.c
1092
context_vec_ptr->c = c;
usr.bin/diff/diffreg.c
1104
printf("%c", a > b ? 'a' : c > d ? 'd' : 'c');
usr.bin/diff/diffreg.c
1106
range(c, d, ",");
usr.bin/diff/diffreg.c
1110
printf("%c", a > b ? 'a' : c > d ? 'd' : 'c');
usr.bin/diff/diffreg.c
1116
printf("a%d %d\n", b, d - c + 1);
usr.bin/diff/diffreg.c
1119
if (!(c > d))
usr.bin/diff/diffreg.c
1121
printf("a%d %d\n", b, d - c + 1);
usr.bin/diff/diffreg.c
1139
fetch(ixnew, c, d, f2, '>', 0, *pflags);
usr.bin/diff/diffreg.c
1157
printf("%c", (a > b) ? '>' : ((c > d) ? '<' : '|'));
usr.bin/diff/diffreg.c
1159
fetch(ixnew, c, d, f2, '\0', 0, *pflags);
usr.bin/diff/diffreg.c
1164
if (a <= b && c <= d && diff_format == D_NORMAL)
usr.bin/diff/diffreg.c
1168
fetch(ixnew, c, d, f2, diff_format == D_NORMAL ? '>' : '\0', 0, *pflags);
usr.bin/diff/diffreg.c
1181
c += edoffset;
usr.bin/diff/diffreg.c
1184
if ((diff_format == D_EDIT || diff_format == D_REVERSE) && c <= d)
usr.bin/diff/diffreg.c
1195
int i, j, c, lastc, col, nc, newcol;
usr.bin/diff/diffreg.c
1242
c = getc(lb);
usr.bin/diff/diffreg.c
1243
if (flags & D_STRIPCR && c == '\r') {
usr.bin/diff/diffreg.c
1244
if ((c = getc(lb)) == '\n')
usr.bin/diff/diffreg.c
1247
ungetc(c, lb);
usr.bin/diff/diffreg.c
1248
c = '\r';
usr.bin/diff/diffreg.c
1251
if (c == EOF) {
usr.bin/diff/diffreg.c
1260
if (c == '\t') {
usr.bin/diff/diffreg.c
1279
if (diff_format == D_EDIT && j == 1 && c == '\n' &&
usr.bin/diff/diffreg.c
1292
if (diff_format != D_SIDEBYSIDE || c != '\n') {
usr.bin/diff/diffreg.c
1293
printf("%c", c);
usr.bin/diff/diffreg.c
1299
lastc = c;
usr.bin/diff/diffreg.c
1433
int a, b, c, d;
usr.bin/diff/diffreg.c
1442
lowc = MAX(1, cvp->c - diff_context);
usr.bin/diff/diffreg.c
1471
c = cvp->c;
usr.bin/diff/diffreg.c
1474
if (a <= b && c <= d)
usr.bin/diff/diffreg.c
1498
if (cvp->c <= cvp->d) {
usr.bin/diff/diffreg.c
1507
c = cvp->c;
usr.bin/diff/diffreg.c
1510
if (a <= b && c <= d)
usr.bin/diff/diffreg.c
1518
fetch(ixnew, lowc, c - 1, f2, ' ', 0, flags);
usr.bin/diff/diffreg.c
1519
fetch(ixnew, c, d, f2,
usr.bin/diff/diffreg.c
1536
int a, b, c, d;
usr.bin/diff/diffreg.c
1545
lowc = MAX(1, cvp->c - diff_context);
usr.bin/diff/diffreg.c
1567
c = cvp->c;
usr.bin/diff/diffreg.c
1575
if (a <= b && c <= d)
usr.bin/diff/diffreg.c
1584
fetch(ixnew, c, d, f2, '+', 0, flags);
usr.bin/diff/diffreg.c
1591
fetch(ixnew, lowc, c - 1, f2, ' ', 0, flags);
usr.bin/diff/diffreg.c
1592
fetch(ixnew, c, d, f2, '+', 0, flags);
usr.bin/diff/diffreg.c
166
int c; /* start line in new file */
usr.bin/diff/diffreg.c
231
clow2low(int c)
usr.bin/diff/diffreg.c
234
return (c);
usr.bin/diff/diffreg.c
238
cup2low(int c)
usr.bin/diff/diffreg.c
241
return (tolower(c));
usr.bin/diff/diffreg.c
552
equiv(struct line *a, int n, struct line *b, int m, int *c)
usr.bin/diff/diffreg.c
570
c[j] = -b[j].serial;
usr.bin/diff/diffreg.c
573
c[j] = b[j].serial;
usr.bin/diff/diffreg.c
576
c[j] = -1;
usr.bin/diff/diffreg.c
580
stone(int *a, int n, int *b, int *c, int flags)
usr.bin/diff/diffreg.c
594
c[0] = newcand(0, 0, 0);
usr.bin/diff/diffreg.c
601
oldc = c[0];
usr.bin/diff/diffreg.c
606
l = search(c, k, y);
usr.bin/diff/diffreg.c
608
oldc = c[l - 1];
usr.bin/diff/diffreg.c
610
if (clist[c[l]].y <= y)
usr.bin/diff/diffreg.c
612
tc = c[l];
usr.bin/diff/diffreg.c
613
c[l] = newcand(i, y, oldc);
usr.bin/diff/diffreg.c
618
c[l] = newcand(i, y, oldc);
usr.bin/diff/diffreg.c
644
search(int *c, int k, int y)
usr.bin/diff/diffreg.c
648
if (clist[c[k]].y < y) /* quick look for typical case */
usr.bin/diff/diffreg.c
656
t = clist[c[l]].y;
usr.bin/diff/diffreg.c
689
int i, j, /* jackpot, */ c, d;
usr.bin/diff/diffreg.c
709
c = getc(f1);
usr.bin/diff/diffreg.c
716
if (c == EOF && d == '\n') {
usr.bin/diff/diffreg.c
719
} else if (c == '\n' && d == EOF) {
usr.bin/diff/diffreg.c
726
if (flags & D_STRIPCR && (c == '\r' || d == '\r')) {
usr.bin/diff/diffreg.c
727
if (c == '\r') {
usr.bin/diff/diffreg.c
728
if ((c = getc(f1)) == '\n') {
usr.bin/diff/diffreg.c
731
ungetc(c, f1);
usr.bin/diff/diffreg.c
743
if ((flags & D_FOLDBLANKS) && isspace(c) &&
usr.bin/diff/diffreg.c
746
if (c == '\n')
usr.bin/diff/diffreg.c
749
} while (isspace(c = getc(f1)));
usr.bin/diff/diffreg.c
756
while (isspace(c) && c != '\n') {
usr.bin/diff/diffreg.c
757
c = getc(f1);
usr.bin/diff/diffreg.c
765
if (chrtran(c) != chrtran(d)) {
usr.bin/diff/diffreg.c
768
if (c != '\n' && c != EOF)
usr.bin/diff/diffreg.c
770
if (d != '\n' && c != EOF)
usr.bin/diff/diffreg.c
774
if (c == '\n' || c == EOF)
usr.bin/diff/diffreg.c
781
if ((c = getc(f1)) != (d = getc(f2))) {
usr.bin/diff/diffreg.c
784
if (c != '\n' && c != EOF)
usr.bin/diff/diffreg.c
786
if (d != '\n' && c != EOF)
usr.bin/diff/diffreg.c
790
if (c == '\n' || c == EOF)
usr.bin/diff/diffreg.c
856
int i, c;
usr.bin/diff/diffreg.c
858
for (i = 1; (c = getc(f)) != '\n' && c != EOF; i++)
usr.bin/diff/diffreg.c
933
if ((c = getc(f1)) == EOF)
usr.bin/diff/diffreg.c
935
printf("%c", c);
usr.bin/diff3/diff3.c
200
int a, b, c, d;
usr.bin/diff3/diff3.c
221
c = d = (int)strtoimax(p, &p, 10);
usr.bin/diff3/diff3.c
229
c++;
usr.bin/diff3/diff3.c
234
(*dd)[i].new.from = c;
usr.bin/diff3/diff3.c
492
int c, d;
usr.bin/diff3/diff3.c
503
c = getc(fp[0]);
usr.bin/diff3/diff3.c
505
if (c == -1 && d == -1)
usr.bin/diff3/diff3.c
507
if (c == -1 || d == -1)
usr.bin/diff3/diff3.c
510
if (c != d) {
usr.bin/diff3/diff3.c
514
} while (c != '\n');
usr.bin/elf2aout/elf2aout.c
206
int symflag = 0, c;
usr.bin/elf2aout/elf2aout.c
213
while ((c = getopt(argc, argv, "dOs")) != -1) {
usr.bin/elf2aout/elf2aout.c
214
switch (c) {
usr.bin/error/main.c
102
while ((c = getopt(argc, argv, "I:np:qSsTt:v")) != -1)
usr.bin/error/main.c
103
switch (c) {
usr.bin/error/main.c
90
int c;
usr.bin/expand/expand.c
135
putchar(c);
usr.bin/expand/expand.c
140
putchar(c);
usr.bin/expand/expand.c
63
int c;
usr.bin/expand/expand.c
75
while ((c = getopt (argc, argv, "t:")) != -1) {
usr.bin/expand/expand.c
76
switch (c) {
usr.bin/expand/expand.c
96
while ((c = getchar()) != EOF) {
usr.bin/expand/expand.c
97
switch (c) {
usr.bin/find/function.c
761
size_t c, bufsize;
usr.bin/find/function.c
779
for (argv = *argvp, c = 0, cnt = 0;
usr.bin/find/function.c
782
c += strlen(*argv) + 1;
usr.bin/find/function.c
783
if (c >= MAXARG)
usr.bin/find/function.c
787
if (c + new->ep_maxargs * sizeof (char *) >= MAXARG)
usr.bin/find/function.c
789
bufsize = MAXARG - c - new->ep_maxargs * sizeof (char *);
usr.bin/finger/net.c
136
while ((c = getc(fp)) != EOF) {
usr.bin/finger/net.c
137
if (c == '\r') {
usr.bin/finger/net.c
140
c = '\n';
usr.bin/finger/net.c
143
if (!(eightflag || isprint(c) || isspace(c))) {
usr.bin/finger/net.c
144
c &= 0x7f;
usr.bin/finger/net.c
145
c |= 0x40;
usr.bin/finger/net.c
147
if (lastc != '\r' || c != '\n')
usr.bin/finger/net.c
148
lastc = c;
usr.bin/finger/net.c
154
putchar(c);
usr.bin/finger/net.c
70
int c, lastc;
usr.bin/flock/flock.c
152
int c;
usr.bin/flock/flock.c
168
while ((c = getopt_long(argc, argv, "+dnosuvw:x", flock_longopts, NULL))
usr.bin/flock/flock.c
170
switch (c) {
usr.bin/flock/flock.c
203
usage("Invalid option '%c'", c);
usr.bin/flock/flock.c
205
usage("-%c can't be used with -%c", c, lockchar(lock));
usr.bin/fmt/buffer.h
83
buf_putc(struct buffer *buf, wchar_t c)
usr.bin/fmt/buffer.h
87
*buf->ptr++ = c;
usr.bin/fmt/fmt.c
106
int c;
usr.bin/fmt/fmt.c
117
while ((c = getopt(argc, argv, "Cg:m:rw:")) != -1)
usr.bin/fmt/fmt.c
118
switch (c) {
usr.bin/fmt/fmt.c
215
wint_t c;
usr.bin/fmt/fmt.c
260
c = getwc(fi);
usr.bin/fmt/fmt.c
262
while (c != WEOF) {
usr.bin/fmt/fmt.c
268
while (c != '\n' && c != WEOF) {
usr.bin/fmt/fmt.c
269
if (c == '\b') {
usr.bin/fmt/fmt.c
271
c = getwc(fi);
usr.bin/fmt/fmt.c
274
if(!(iswprint(c) || c == '\t' || c >= 160)) {
usr.bin/fmt/fmt.c
275
c = getwc(fi);
usr.bin/fmt/fmt.c
278
buf_putc(&lbuf, c);
usr.bin/fmt/fmt.c
279
c = getwc(fi);
usr.bin/fmt/fmt.c
283
add_space = c != WEOF;
usr.bin/fmt/fmt.c
291
while ((c = *cp++) != '\0') {
usr.bin/fmt/fmt.c
292
if (c != '\t') {
usr.bin/fmt/fmt.c
294
buf_putc(&cbuf, c);
usr.bin/fmt/fmt.c
312
if (c != WEOF)
usr.bin/fmt/fmt.c
313
c = getwc(fi);
usr.bin/fstat/fstat.c
366
int c = kac - kbc;
usr.bin/fstat/fstat.c
367
if (c == 0)
usr.bin/fstat/fstat.c
370
return c;
usr.bin/ftp/cmds.c
1856
struct cmd *c;
usr.bin/ftp/cmds.c
1866
c = getcmd(argv[1]);
usr.bin/ftp/cmds.c
1867
if (c == (struct cmd *) -1) {
usr.bin/ftp/cmds.c
1872
if (c == 0) {
usr.bin/ftp/cmds.c
1877
if (!c->c_proxy) {
usr.bin/ftp/cmds.c
1888
if (c->c_conn && !connected) {
usr.bin/ftp/cmds.c
1898
(void)strlcpy(cmdbuf, c->c_name, sizeof(cmdbuf));
usr.bin/ftp/cmds.c
1900
(*c->c_handler)(argc-1, argv+1);
usr.bin/ftp/cmds.c
2443
int c;
usr.bin/ftp/cmds.c
2471
if ((c = getchar()) == EOF) {
usr.bin/ftp/cmds.c
2476
if ((*tmp = c) == '\n') {
usr.bin/ftp/cmds.c
2492
while ((c = getchar()) != '\n' && c != EOF)
usr.bin/ftp/cmds.c
2494
if (c == EOF || getchar() == '\n') {
usr.bin/ftp/cmdtab.c
257
{ "proxy", H(proxyhelp), 0, 0, 1, CMPL(c) doproxy },
usr.bin/ftp/complete.c
133
struct cmd *c;
usr.bin/ftp/complete.c
141
for (c = cmdtab; c->c_name != NULL; c++) {
usr.bin/ftp/complete.c
142
if (wordlen > strlen(c->c_name))
usr.bin/ftp/complete.c
144
if (strncmp(word, c->c_name, wordlen) == 0)
usr.bin/ftp/complete.c
145
ftp_sl_add(words, ftp_strdup(c->c_name));
usr.bin/ftp/complete.c
357
struct cmd *c;
usr.bin/ftp/complete.c
388
c = getcmd(margv[0]);
usr.bin/ftp/complete.c
389
if (c == (struct cmd *)-1 || c == 0)
usr.bin/ftp/complete.c
391
celems = strlen(c->c_complete);
usr.bin/ftp/complete.c
395
&& isupper((unsigned char) c->c_complete[celems-1]))
usr.bin/ftp/complete.c
401
cmpltype = c->c_complete[cursor_argc - 1];
usr.bin/ftp/domacro.c
115
c = getcmd(margv[0]);
usr.bin/ftp/domacro.c
116
if (c == (struct cmd *)-1) {
usr.bin/ftp/domacro.c
119
} else if (c == 0) {
usr.bin/ftp/domacro.c
122
} else if (c->c_conn && !connected) {
usr.bin/ftp/domacro.c
130
(void)strlcpy(cmdbuf, c->c_name, sizeof(cmdbuf));
usr.bin/ftp/domacro.c
132
(*c->c_handler)(margc, margv);
usr.bin/ftp/domacro.c
133
if (bell && c->c_bell)
usr.bin/ftp/domacro.c
52
struct cmd *c;
usr.bin/ftp/ftp.c
1117
c = copy_bytes(fileno(din), fileno(fout), buf, bufsize,
usr.bin/ftp/ftp.c
1119
if (c == 1) {
usr.bin/ftp/ftp.c
1123
} else if (c == 2) {
usr.bin/ftp/ftp.c
1147
while ((c = ftp_getc(din, &din_errno)) != EOF) {
usr.bin/ftp/ftp.c
1148
if (c == '\n')
usr.bin/ftp/ftp.c
1150
while (c == '\r') {
usr.bin/ftp/ftp.c
1157
if ((c = ftp_getc(din, &din_errno)) != '\n'
usr.bin/ftp/ftp.c
1163
if (c == '\0') {
usr.bin/ftp/ftp.c
1167
if (c == EOF)
usr.bin/ftp/ftp.c
1171
if (ftp_putc(c, fout, &fout_errno) == EOF)
usr.bin/ftp/ftp.c
395
int c, n, lineno;
usr.bin/ftp/ftp.c
413
((c = ftp_getc(cin, &cin_errno)) != '\n')) {
usr.bin/ftp/ftp.c
414
if (c == IAC) { /* handle telnet commands */
usr.bin/ftp/ftp.c
415
switch (c = ftp_getc(cin, &cin_errno)) {
usr.bin/ftp/ftp.c
418
c = ftp_getc(cin, &cin_errno);
usr.bin/ftp/ftp.c
419
if (c != EOF) {
usr.bin/ftp/ftp.c
421
IAC, DONT, c);
usr.bin/ftp/ftp.c
428
c = ftp_getc(cin, &cin_errno);
usr.bin/ftp/ftp.c
429
if (c != EOF) {
usr.bin/ftp/ftp.c
431
IAC, WONT, c);
usr.bin/ftp/ftp.c
442
if (c == EOF) {
usr.bin/ftp/ftp.c
476
if (c != '\r' && (verbose > 0 ||
usr.bin/ftp/ftp.c
478
(((!n && c < '5') || (n && n < '5'))
usr.bin/ftp/ftp.c
483
(void)putc(c, ttyout);
usr.bin/ftp/ftp.c
485
if (dig < 4 && isdigit(c))
usr.bin/ftp/ftp.c
486
code = code * 10 + (c - '0');
usr.bin/ftp/ftp.c
491
if (dig > 4 && pflag == 1 && isdigit(c))
usr.bin/ftp/ftp.c
494
if (c != '\r' && c != ')') {
usr.bin/ftp/ftp.c
496
*pt++ = c;
usr.bin/ftp/ftp.c
502
if (pflag == 100 && c == '(')
usr.bin/ftp/ftp.c
504
if (dig == 4 && c == '-') {
usr.bin/ftp/ftp.c
510
n = c;
usr.bin/ftp/ftp.c
512
*cp++ = c;
usr.bin/ftp/ftp.c
516
(void)putc(c, ttyout);
usr.bin/ftp/ftp.c
707
int c;
usr.bin/ftp/ftp.c
844
c = copy_bytes(fileno(fin), fileno(dout), buf, bufsize,
usr.bin/ftp/ftp.c
846
if (c == 1) {
usr.bin/ftp/ftp.c
848
} else if (c == 2) {
usr.bin/ftp/ftp.c
856
while ((c = ftp_getc(fin, &fin_errno)) != EOF) {
usr.bin/ftp/ftp.c
857
if (c == '\n') {
usr.bin/ftp/ftp.c
868
if (ftp_putc(c, dout, &dout_errno) == EOF
usr.bin/ftp/ftp.c
952
int c, d;
usr.bin/ftp/main.c
1003
for (c = cmdtab; (p = c->c_name) != NULL; c++)
usr.bin/ftp/main.c
1004
if (!proxy || c->c_proxy)
usr.bin/ftp/main.c
1018
c = getcmd(arg);
usr.bin/ftp/main.c
1019
if (c == (struct cmd *)-1)
usr.bin/ftp/main.c
1022
else if (c == NULL)
usr.bin/ftp/main.c
1027
(void)strlcpy(cmdbuf, c->c_name, sizeof(cmdbuf));
usr.bin/ftp/main.c
1029
(*c->c_handler)(0, nargv);
usr.bin/ftp/main.c
1032
c->c_name, c->c_help);
usr.bin/ftp/main.c
1041
struct option *c;
usr.bin/ftp/main.c
1045
for (c = optiontab; (p = c->name) != NULL; c++) {
usr.bin/ftp/main.c
1047
return (c);
usr.bin/ftp/main.c
1055
struct option *c;
usr.bin/ftp/main.c
1059
c = getoption(name);
usr.bin/ftp/main.c
1060
if (c != NULL)
usr.bin/ftp/main.c
1061
return (c->value);
usr.bin/ftp/main.c
662
struct cmd *c;
usr.bin/ftp/main.c
730
c = getcmd(margv[0]);
usr.bin/ftp/main.c
731
if (c == (struct cmd *)-1) {
usr.bin/ftp/main.c
735
if (c == NULL) {
usr.bin/ftp/main.c
751
if (c->c_conn && !connected) {
usr.bin/ftp/main.c
756
(void)strlcpy(cmdbuf, c->c_name, sizeof(cmdbuf));
usr.bin/ftp/main.c
758
(*c->c_handler)(margc, margv);
usr.bin/ftp/main.c
759
if (bell && c->c_bell)
usr.bin/ftp/main.c
761
if (c->c_handler != help)
usr.bin/ftp/main.c
772
struct cmd *c, *found;
usr.bin/ftp/main.c
782
for (c = cmdtab; (p = c->c_name) != NULL; c++) {
usr.bin/ftp/main.c
785
return (c);
usr.bin/ftp/main.c
790
found = c;
usr.bin/ftp/main.c
985
struct cmd *c;
usr.bin/ftp/ruserpass.c
102
int t, i, c, usedefault = 0;
usr.bin/ftp/ruserpass.c
188
while ((c = getc(cfile)) != EOF)
usr.bin/ftp/ruserpass.c
189
if (c != ' ' && c != '\t')
usr.bin/ftp/ruserpass.c
191
if (c == EOF || c == '\n') {
usr.bin/ftp/ruserpass.c
203
*tmp++ = c;
usr.bin/ftp/ruserpass.c
204
for (i = 0; i < 8 && (c = getc(cfile)) != EOF &&
usr.bin/ftp/ruserpass.c
205
!isspace(c); ++i) {
usr.bin/ftp/ruserpass.c
206
*tmp++ = c;
usr.bin/ftp/ruserpass.c
208
if (c == EOF) {
usr.bin/ftp/ruserpass.c
215
if (c != '\n') {
usr.bin/ftp/ruserpass.c
216
while ((c = getc(cfile)) != EOF && c != '\n');
usr.bin/ftp/ruserpass.c
218
if (c == EOF) {
usr.bin/ftp/ruserpass.c
233
if ((c = getc(cfile)) == EOF) {
usr.bin/ftp/ruserpass.c
239
*tmp = c;
usr.bin/ftp/ruserpass.c
279
int c;
usr.bin/ftp/ruserpass.c
284
while ((c = getc(cfile)) != EOF &&
usr.bin/ftp/ruserpass.c
285
(c == '\n' || c == '\t' || c == ' ' || c == ','))
usr.bin/ftp/ruserpass.c
287
if (c == EOF)
usr.bin/ftp/ruserpass.c
290
if (c == '"') {
usr.bin/ftp/ruserpass.c
291
while ((c = getc(cfile)) != EOF && c != '"') {
usr.bin/ftp/ruserpass.c
292
if (c == '\\')
usr.bin/ftp/ruserpass.c
293
if ((c = getc(cfile)) == EOF)
usr.bin/ftp/ruserpass.c
295
*cp++ = c;
usr.bin/ftp/ruserpass.c
302
*cp++ = c;
usr.bin/ftp/ruserpass.c
303
while ((c = getc(cfile)) != EOF
usr.bin/ftp/ruserpass.c
304
&& c != '\n' && c != '\t' && c != ' ' && c != ',') {
usr.bin/ftp/ruserpass.c
305
if (c == '\\')
usr.bin/ftp/ruserpass.c
306
if ((c = getc(cfile)) == EOF)
usr.bin/ftp/ruserpass.c
308
*cp++ = c;
usr.bin/ftp/ssl.c
500
char c;
usr.bin/ftp/ssl.c
521
len = fetch_read(&c, sizeof(c), 1, conn);
usr.bin/ftp/ssl.c
529
conn->buf[conn->buflen++] = c;
usr.bin/ftp/ssl.c
541
} while (c != '\n');
usr.bin/ftp/ssl.c
578
char c;
usr.bin/ftp/ssl.c
579
size_t rlen = fetch_read(&c, sizeof(c), 1, conn);
usr.bin/ftp/ssl.c
580
if (rlen == 0 || c == '\n')
usr.bin/ftp/util.c
1512
ftp_putc(int c, FILE * fout, int * fout_errno)
usr.bin/ftp/util.c
1516
while ((res = putc(c, fout)) == EOF) {
usr.bin/gcore/gcore.c
64
int c;
usr.bin/gcore/gcore.c
68
while ((c = getopt(argc, argv, "c:")) != -1)
usr.bin/gcore/gcore.c
69
switch (c) {
usr.bin/gcore/gcore.c
83
for (c = optind; c < argc; c++) {
usr.bin/gcore/gcore.c
90
lval = strtoul(argv[c], &ep, 0);
usr.bin/gcore/gcore.c
91
if (argv[c] == NULL || *ep)
usr.bin/gcore/gcore.c
92
errx(1, "`%s' is not a number.", argv[c]);
usr.bin/gcore/gcore.c
95
err(1, "Pid `%s'", argv[c]);
usr.bin/gencat/gencat.c
152
int c;
usr.bin/gencat/gencat.c
155
while ((c = getopt(argc, argv, "")) != -1) {
usr.bin/gencat/gencat.c
156
switch (c) {
usr.bin/getent/getent.c
525
char *c = strchr(cap, ':');
usr.bin/getent/getent.c
526
if (c)
usr.bin/getent/getent.c
527
if (c == cap)
usr.bin/getent/getent.c
530
int l = (int)(c - cap);
usr.bin/getent/getent.c
543
char *s, c;
usr.bin/getent/getent.c
558
c = *s;
usr.bin/getent/getent.c
564
*s = c;
usr.bin/getent/getent.c
600
int i, rv, c;
usr.bin/getent/getent.c
609
while ((c = getopt(argc, argv, "pnr")) != -1)
usr.bin/getent/getent.c
610
switch (c) {
usr.bin/getopt/getopt.c
20
int c;
usr.bin/getopt/getopt.c
24
while ((c = getopt(argc, argv, argv[1])) != -1)
usr.bin/getopt/getopt.c
25
switch (c) {
usr.bin/getopt/getopt.c
31
printf(" -%c %s", c, optarg);
usr.bin/getopt/getopt.c
33
printf(" -%c", c);
usr.bin/grep/fastgrep.c
343
char c;
usr.bin/grep/fastgrep.c
346
c = str[i];
usr.bin/grep/fastgrep.c
348
str[len - i - 1] = c;
usr.bin/grep/grep.c
311
char *c;
usr.bin/grep/grep.c
313
c = getenv("GREP_COLOR");
usr.bin/grep/grep.c
314
return (c != NULL ? c : d);
usr.bin/grep/grep.c
324
int c, lastc, needpattern, newarg, prevoptind;
usr.bin/grep/grep.c
402
while (((c = getopt_long(aargc, aargv, optstr, long_options, NULL)) !=
usr.bin/grep/grep.c
404
switch (c) {
usr.bin/grep/grep.c
413
Aflag = Bflag = (Aflag * 10) + (c - '0');
usr.bin/grep/grep.c
433
if (c == 'A')
usr.bin/grep/grep.c
435
else if (c == 'B')
usr.bin/grep/grep.c
638
lastc = c;
usr.bin/grep/grep.c
682
c = regcomp(&r_pattern[i], pattern[i], cflags);
usr.bin/grep/grep.c
683
if (c != 0) {
usr.bin/grep/grep.c
684
regerror(c, &r_pattern[i], re_error,
usr.bin/grep/grep.c
707
c = grep_tree(aargv);
usr.bin/grep/grep.c
709
for (c = 0; aargc--; ++aargv) {
usr.bin/grep/grep.c
712
c+= procfile(*aargv);
usr.bin/grep/grep.c
721
exit(c ? (notfound ? (qflag ? 0 : 2) : 0) : (notfound ? 2 : 1));
usr.bin/grep/util.c
118
int c, fts_flags;
usr.bin/grep/util.c
121
c = fts_flags = 0;
usr.bin/grep/util.c
174
c += procfile(p->fts_path);
usr.bin/grep/util.c
180
return (c);
usr.bin/grep/util.c
194
int c, t;
usr.bin/grep/util.c
229
for (first = true, c = 0; c == 0 || !(lflag || qflag); ) {
usr.bin/grep/util.c
246
c += t;
usr.bin/grep/util.c
262
printf("%u%c", c, line_sep);
usr.bin/grep/util.c
264
if (lflag && !qflag && c != 0)
usr.bin/grep/util.c
266
if (Lflag && !qflag && c == 0)
usr.bin/grep/util.c
268
if (c && !cflag && !lflag && !Lflag &&
usr.bin/grep/util.c
274
return (c);
usr.bin/grep/util.c
293
int c = 0, m = 0, r = 0;
usr.bin/grep/util.c
341
c = 1;
usr.bin/grep/util.c
350
c = !c;
usr.bin/grep/util.c
361
if (c && binbehave == BINFILE_BIN && nottext)
usr.bin/grep/util.c
362
return (c); /* Binary file */
usr.bin/grep/util.c
365
if ((tail || c) && !cflag && !qflag && !lflag && !Lflag) {
usr.bin/grep/util.c
366
if (c) {
usr.bin/grep/util.c
386
return (c);
usr.bin/gzip/gzip.c
306
#define getopt_long(a,b,c,d,e) getopt(a,b,c)
usr.bin/gzip/unlz.c
137
unsigned c = i;
usr.bin/gzip/unlz.c
139
if (c & 1)
usr.bin/gzip/unlz.c
140
c = 0xEDB88320U ^ (c >> 1);
usr.bin/gzip/unlz.c
142
c >>= 1;
usr.bin/gzip/unlz.c
144
lz_crc[i] = c;
usr.bin/gzip/unlz.c
655
lz_get_dict_size(unsigned char c)
usr.bin/gzip/unlz.c
657
unsigned dict_size = 1 << (c & 0x1f);
usr.bin/gzip/unlz.c
658
dict_size -= (dict_size >> 4) * ( (c >> 5) & 0x7);
usr.bin/hesinfo/hesinfo.c
42
int lflag = 0, errflg = 0, bflag = 0, c;
usr.bin/hesinfo/hesinfo.c
45
while ((c = getopt(argc, argv, "lb")) != -1) {
usr.bin/hesinfo/hesinfo.c
46
switch (c) {
usr.bin/infocmp/infocmp.c
355
int c;
usr.bin/infocmp/infocmp.c
364
c = 1;
usr.bin/infocmp/infocmp.c
366
c = -1;
usr.bin/infocmp/infocmp.c
368
c = strcmp(ents1[i1].id, ents2[i2].id);
usr.bin/infocmp/infocmp.c
369
if (c == 0) {
usr.bin/infocmp/infocmp.c
372
} else if (c < 0) {
usr.bin/innetgr/innetgr.c
53
int c, ok, verbose = 0;
usr.bin/innetgr/innetgr.c
58
while ((c = getopt(argc, argv, "h:u:d:v")) != -1)
usr.bin/innetgr/innetgr.c
59
switch (c) {
usr.bin/ipcrm/ipcrm.c
215
int c, result, errflg, target_id;
usr.bin/ipcrm/ipcrm.c
221
while ((c = getopt(argc, argv, "q:m:s:Q:M:S:")) != -1) {
usr.bin/ipcrm/ipcrm.c
228
switch (c) {
usr.bin/ipcrm/ipcrm.c
245
switch (c) {
usr.bin/ipcrm/ipcrm.c
257
IPC_TO_STRING(c));
usr.bin/ipcrm/ipcrm.c
264
switch (c) {
usr.bin/ipcrm/ipcrm.c
289
IPC_TO_STR(toupper(c)), target_id);
usr.bin/ipcrm/ipcrm.c
292
warn("%skey(%ld): ", IPC_TO_STR(c),
usr.bin/ipcrm/ipcrm.c
300
IPC_TO_STRING(toupper(c)));
usr.bin/kdump/kdump.c
1003
c = ',';
usr.bin/kdump/kdump.c
1030
c = ',';
usr.bin/kdump/kdump.c
1034
putchar(c);
usr.bin/kdump/kdump.c
1038
c = ',';
usr.bin/kdump/kdump.c
1236
int off, l = 0, c;
usr.bin/kdump/kdump.c
1295
c = *dp++;
usr.bin/kdump/kdump.c
1296
prev[l] = c;
usr.bin/kdump/kdump.c
1299
bp[(l ^ bswap) * bsize] = hex[c >> 4];
usr.bin/kdump/kdump.c
1300
bp[(l ^ bswap) * bsize + 1] = hex[c & 0xf];
usr.bin/kdump/kdump.c
1301
*cp++ = isgraph(c) ? c : '.';
usr.bin/kdump/kdump.c
367
int c;
usr.bin/kdump/kdump.c
370
while ((c = *fmt++) != '\0') {
usr.bin/kdump/kdump.c
371
switch (c) {
usr.bin/kdump/kdump.c
373
putchar(c);
usr.bin/kdump/kdump.c
376
switch (c = *fmt) {
usr.bin/kdump/kdump.c
388
switch (c = *fmt) {
usr.bin/kdump/kdump.c
393
putchar(c);
usr.bin/kdump/kdump.c
723
int c;
usr.bin/kdump/kdump.c
736
c = (cmd >> 8) & 0xff;
usr.bin/kdump/kdump.c
737
if (isprint(c))
usr.bin/kdump/kdump.c
738
printf("_IO%s('%c',", dirbuf, c);
usr.bin/kdump/kdump.c
740
printf("_IO%s(0x%02x,", dirbuf, c);
usr.bin/kdump/kdump.c
838
char c;
usr.bin/kdump/kdump.c
864
c = '(';
usr.bin/kdump/kdump.c
887
c = ',';
usr.bin/kdump/kdump.c
901
c = ',';
usr.bin/kdump/kdump.c
944
c = ',';
usr.bin/kdump/kdump.c
962
c = ',';
usr.bin/kdump/kdump.c
969
c = ',';
usr.bin/kdump/kdump.c
978
c = ',';
usr.bin/kdump/kdump.c
982
c = ',';
usr.bin/kdump/kdump.c
983
putchar(c);
usr.bin/kdump/kdump.c
985
putchar(c);
usr.bin/kdump/kdump.c
989
c = ',';
usr.bin/kdump/kdump.c
994
c = ',';
usr.bin/kdump/kdump.c
995
putchar(c);
usr.bin/kdump/kdump.c
997
putchar(c);
usr.bin/lam/lam.c
103
char *p, *c;
usr.bin/lam/lam.c
127
c = ++p;
usr.bin/lam/lam.c
128
switch (tolower((unsigned char) *c)) {
usr.bin/lam/lam.c
133
error("Need string after -%s", c);
usr.bin/lam/lam.c
134
S = (*c == 'S' ? 1 : 0);
usr.bin/lam/lam.c
140
error("Need character after -%s", c);
usr.bin/lam/lam.c
141
T = (*c == 'T' ? 1 : 0);
usr.bin/lam/lam.c
146
P = (*c == 'P' ? 1 : 0);
usr.bin/lam/lam.c
149
F = (*c == 'F' ? 1 : 0);
usr.bin/lam/lam.c
164
error("Need string after -%s", c);
usr.bin/lam/lam.c
167
error("What do you mean by -%s?", c);
usr.bin/lam/lam.c
194
int c;
usr.bin/lam/lam.c
201
for (p = s; (c = fgetc(ip->fp)) != EOF && p < end; p++)
usr.bin/lam/lam.c
202
if ((*p = c) == ip->eol)
usr.bin/lam/lam.c
205
if (c == EOF) {
usr.bin/ldd/ldd.c
127
int c, exit_status = EXIT_SUCCESS;
usr.bin/ldd/ldd.c
134
while ((c = getopt(argc, argv, "f:ov")) != -1) {
usr.bin/ldd/ldd.c
135
switch (c) {
usr.bin/ldd/ldd_elfxx.c
175
int c;
usr.bin/ldd/ldd_elfxx.c
198
while ((c = *fmt++) != '\0') {
usr.bin/ldd/ldd_elfxx.c
199
switch (c) {
usr.bin/ldd/ldd_elfxx.c
201
putchar(c);
usr.bin/ldd/ldd_elfxx.c
204
switch (c = *fmt) {
usr.bin/ldd/ldd_elfxx.c
216
switch (c = *fmt) {
usr.bin/ldd/ldd_elfxx.c
221
putchar(c);
usr.bin/leave/leave.c
101
for (hours = 0; (c = *cp) && c != '\n'; ++cp) {
usr.bin/leave/leave.c
102
if (!isdigit((unsigned char)c))
usr.bin/leave/leave.c
104
hours = hours * 10 + (c - '0');
usr.bin/leave/leave.c
75
char c, *cp;
usr.bin/locate/locate/locate.c
136
int c;
usr.bin/locate/locate/locate.c
142
while ((c = getopt(argc, argv, "d:")) != EOF) {
usr.bin/locate/locate/locate.c
143
switch (c) {
usr.bin/locate/locate/locate.c
187
int c;
usr.bin/locate/locate/locate.c
194
for (c = 0, p = bigram1, s = bigram2; c < NBG; c++)
usr.bin/locate/locate/locate.c
195
p[c] = getc(fp), s[c] = getc(fp);
usr.bin/locate/locate/locate.c
202
for (c = getc(fp), count = 0; c != EOF;) {
usr.bin/locate/locate/locate.c
203
count += ((c == SWITCH) ? getw(fp) : c) - OFFSET;
usr.bin/locate/locate/locate.c
205
for (p = path + count; (c = getc(fp)) > SWITCH;) {
usr.bin/locate/locate/locate.c
209
if (c < PARITY)
usr.bin/locate/locate/locate.c
210
*p++ = c;
usr.bin/locate/locate/locate.c
212
c &= PARITY - 1;
usr.bin/locate/locate/locate.c
214
if (c < 0 || c >= (int)sizeof(bigram1))
usr.bin/locate/locate/locate.c
216
*p++ = bigram1[c], *p++ = bigram2[c];
usr.bin/logger/logger.c
182
const CODE *c;
usr.bin/logger/logger.c
187
for (c = codetab; c->c_name != NULL; c++)
usr.bin/logger/logger.c
188
if (strcasecmp(name, c->c_name) == 0)
usr.bin/logger/logger.c
189
return (c->c_val);
usr.bin/login/k5login.c
123
k5_verify_creds(krb5_context c, krb5_ccache ccache)
usr.bin/login/k5login.c
134
kerror = krb5_sname_to_principal(c, 0, 0, KRB5_NT_SRV_HST, &princ);
usr.bin/login/k5login.c
143
kerror = krb5_kt_read_service_key(c, NULL, princ, 0, 0, &kb);
usr.bin/login/k5login.c
145
krb5_free_keyblock(c, kb);
usr.bin/login/k5login.c
155
kerror = krb5_mk_req(c, &auth_context, 0, "host", phost,
usr.bin/login/k5login.c
159
krb5_auth_con_free(c, auth_context);
usr.bin/login/k5login.c
185
kerror = krb5_rd_req(c, &auth_context, &packet,
usr.bin/login/k5login.c
221
krb5_auth_con_free(c, auth_context);
usr.bin/login/k5login.c
222
krb5_free_principal(c, princ);
usr.bin/look/look.c
84
#define FOLD(c) (isascii(c) && isupper(c) ? tolower(c) : (c))
usr.bin/look/look.c
85
#define DICT(c) (isascii(c) && isalnum(c) ? (c) : NO_COMPARE)
usr.bin/m4/eval.c
129
int c, n, e;
usr.bin/m4/eval.c
464
while ((c = gpbc()) != '\n' && c != EOF)
usr.bin/m4/eval.c
758
int c;
usr.bin/m4/eval.c
763
while ((c = getc(pf)) != EOF)
usr.bin/m4/eval.c
764
putc(c, active);
usr.bin/m4/extern.h
131
#define PUSHBACK(c) \
usr.bin/m4/extern.h
135
*bp++ = (c); \
usr.bin/m4/extern.h
138
#define CHRSAVE(c) \
usr.bin/m4/extern.h
142
*ep++ = (c); \
usr.bin/m4/gnum4.c
207
addchars(const char *c, size_t n)
usr.bin/m4/gnum4.c
221
memcpy(buffer+current, c, n);
usr.bin/m4/gnum4.c
226
addchar(int c)
usr.bin/m4/gnum4.c
235
buffer[current++] = c;
usr.bin/m4/gnum4.c
702
int c;
usr.bin/m4/gnum4.c
708
while ((c = getc(f))!= EOF)
usr.bin/m4/gnum4.c
709
putc(c, active);
usr.bin/m4/main.c
210
int c;
usr.bin/m4/main.c
231
while ((c = getopt_long(argc, argv, "D:d:EF:GgI:iL:o:PR:Qst:U:v",
usr.bin/m4/main.c
233
switch(c) {
usr.bin/m4/main.c
656
reallyputchar(int c)
usr.bin/m4/main.c
658
putc(c, active);
usr.bin/m4/main.c
659
if (synch_lines && c == '\n') {
usr.bin/m4/main.c
671
inspect(int c, char *tp)
usr.bin/m4/main.c
677
*tp++ = c;
usr.bin/m4/main.c
679
while ((isalnum(c = gpbc()) || c == '_') && tp < etp)
usr.bin/m4/main.c
680
*tp++ = c;
usr.bin/m4/main.c
681
if (c != EOF)
usr.bin/m4/main.c
682
PUSHBACK(c);
usr.bin/m4/main.c
688
while (isalnum(c = gpbc()) || c == '_') {
usr.bin/m4/main.c
690
reallyputchar(c);
usr.bin/m4/main.c
692
CHRSAVE(c);
usr.bin/m4/mdef.h
164
int c;
usr.bin/m4/mdef.h
173
#define TOKEN_LINE(f) ((f)->lineno - ((f)->c == '\n' ? 1 : 0))
usr.bin/m4/misc.c
220
chrsave(int c)
usr.bin/m4/misc.c
224
*ep++ = c;
usr.bin/m4/misc.c
233
int c;
usr.bin/m4/misc.c
238
while ((c = getc(outfile[n])) != EOF)
usr.bin/m4/misc.c
239
putc(c, active);
usr.bin/m4/misc.c
395
if (f->c == EOF)
usr.bin/m4/misc.c
398
f->c = fgetc(f->file);
usr.bin/m4/misc.c
401
fputc(f->c, freezef);
usr.bin/m4/misc.c
403
if (f->c == '\n')
usr.bin/m4/misc.c
406
return f->c;
usr.bin/m4/misc.c
414
f->c = 0;
usr.bin/m4/misc.c
434
f->c = EOF;
usr.bin/m4/misc.c
87
pushback(int c)
usr.bin/m4/misc.c
89
if (c == EOF)
usr.bin/m4/misc.c
93
*bp++ = c;
usr.bin/m4/stdd.h
45
#define iswhite(c) ((c) == ' ' || (c) == '\t')
usr.bin/m4/trace.c
86
letter_to_flag(int c)
usr.bin/m4/trace.c
88
switch(c) {
usr.bin/mail/cmd1.c
314
# define type1(a,b,c) legacy_type1(a,b)
usr.bin/mail/cmd1.c
504
size_t c;
usr.bin/mail/cmd1.c
512
c = mp->m_lines;
usr.bin/mail/cmd1.c
513
for (lines = 0; lines < c && lines <= args->topl; lines++) {
usr.bin/mail/cmd3.c
1105
size_t c;
usr.bin/mail/cmd3.c
1108
c = argcount(namelist) + 1;
usr.bin/mail/cmd3.c
1109
if (c == 1) {
usr.bin/mail/cmd3.c
1119
altnames = ecalloc(c, sizeof(char *));
usr.bin/mail/collect.c
106
while ((c = getc(fp)) != EOF) {
usr.bin/mail/collect.c
108
if (c == '\n')
usr.bin/mail/collect.c
110
(void)putc(c, of);
usr.bin/mail/collect.c
128
mesedit(FILE *fp, int c)
usr.bin/mail/collect.c
136
nf = run_editor(fp, (off_t)-1, c, 0);
usr.bin/mail/collect.c
282
int c;
usr.bin/mail/collect.c
294
while ((c = getc(fp)) != EOF)
usr.bin/mail/collect.c
295
(void)putc(c, dbuf);
usr.bin/mail/collect.c
371
int c, fd, t;
usr.bin/mail/collect.c
458
c = readline(stdin, linebuf, LINESIZE, reset_on_stop);
usr.bin/mail/collect.c
461
if (c < 0) {
usr.bin/mail/collect.c
473
longline = c == LINESIZE - 1;
usr.bin/mail/collect.c
486
c = linebuf[1];
usr.bin/mail/collect.c
487
switch (c) {
usr.bin/mail/collect.c
493
if (c == escape) {
usr.bin/mail/collect.c
582
switch(c) {
usr.bin/mail/collect.c
713
if (interpolate(linebuf + 2, collf, mailtempname, c) < 0)
usr.bin/mail/collect.c
747
mesedit(collf, c);
usr.bin/mail/collect.c
85
int c;
usr.bin/mail/complete.c
303
const struct cmd *c;
usr.bin/mail/complete.c
311
for (c = cmdtab; c->c_name != NULL; c++) {
usr.bin/mail/complete.c
312
if (wordlen > strlen(c->c_name))
usr.bin/mail/complete.c
314
if (strncmp(word, c->c_name, wordlen) == 0)
usr.bin/mail/complete.c
315
mail_sl_add(words, __UNCONST(c->c_name));
usr.bin/mail/complete.c
811
const struct cmd *c;
usr.bin/mail/complete.c
836
c = lex(cmdname);
usr.bin/mail/complete.c
837
if (c == NULL)
usr.bin/mail/complete.c
840
*cmplarray = c->c_complete;
usr.bin/mail/complete.c
841
if (c->c_pipe) {
usr.bin/mail/def.h
442
is_WSP(int c)
usr.bin/mail/def.h
444
return c == ' ' || c == '\t';
usr.bin/mail/edit.c
155
int c;
usr.bin/mail/edit.c
199
while ((c = getc(fp)) != EOF) {
usr.bin/mail/edit.c
208
if (c == '\n') {
usr.bin/mail/edit.c
212
if (putc(c, otf) == EOF)
usr.bin/mail/extern.h
264
# define sendmessage(a,b,c,d,e) legacy_sendmessage(a,b,c,d)
usr.bin/mail/extern.h
265
# define mail(a,b,c,d,e,f) legacy_mail(a,b,c,d,e)
usr.bin/mail/fio.c
185
int c;
usr.bin/mail/fio.c
202
if ((c = mkstemp(linebuf)) == -1 ||
usr.bin/mail/fio.c
203
(mestmp = Fdopen(c, "ref+")) == NULL) {
usr.bin/mail/fio.c
262
if ((c = *cp2++) == 0) {
usr.bin/mail/fio.c
267
while ((c = *cp++) != '\0')
usr.bin/mail/fio.c
268
if (c == 'R')
usr.bin/mail/fio.c
270
else if (c == 'O')
usr.bin/mail/fio.c
275
if (*cp != c && *cp != toupper(c))
usr.bin/mail/fio.c
305
size_t c;
usr.bin/mail/fio.c
307
c = strlen(linebuf);
usr.bin/mail/fio.c
308
(void)fwrite(linebuf, sizeof(*linebuf), c, obuf);
usr.bin/mail/fio.c
311
c++;
usr.bin/mail/fio.c
315
return (int)c;
usr.bin/mail/lex.c
485
char c;
usr.bin/mail/lex.c
486
c = *cp;
usr.bin/mail/lex.c
490
if (c == '|') {
usr.bin/mail/lex.c
498
assert(c == '>');
usr.bin/mail/lex.c
630
int c;
usr.bin/mail/lex.c
725
if ((c = getmsglist(cp, msgvec, com->c_msgflag)) < 0)
usr.bin/mail/lex.c
727
if (c == 0) {
usr.bin/mail/lex.c
765
if ((c = getrawlist(cp, arglist, (int)__arraycount(arglist))) < 0)
usr.bin/mail/lex.c
767
if (c < com->c_minargs) {
usr.bin/mail/lex.c
772
if (c > com->c_maxargs) {
usr.bin/mail/list.c
115
while ((c = *cp) != '\0') {
usr.bin/mail/list.c
118
if (c == quotec)
usr.bin/mail/list.c
120
else if (quotec != '\'' && c == '\\')
usr.bin/mail/list.c
121
switch (c = *cp++) {
usr.bin/mail/list.c
128
c -= '0';
usr.bin/mail/list.c
130
c = c * 8 + *cp++ - '0';
usr.bin/mail/list.c
132
c = c * 8 + *cp++ - '0';
usr.bin/mail/list.c
133
*cp2++ = c;
usr.bin/mail/list.c
154
*cp2++ = c;
usr.bin/mail/list.c
156
else if (c == '^') {
usr.bin/mail/list.c
157
c = *cp++;
usr.bin/mail/list.c
158
if (c == '?')
usr.bin/mail/list.c
161
else if ((c >= 'A' && c <= '_') ||
usr.bin/mail/list.c
162
(c >= 'a' && c <= 'z'))
usr.bin/mail/list.c
163
*cp2++ = c & 037;
usr.bin/mail/list.c
169
*cp2++ = c;
usr.bin/mail/list.c
170
} else if (c == '"' || c == '\'')
usr.bin/mail/list.c
171
quotec = c;
usr.bin/mail/list.c
172
else if (is_WSP(c))
usr.bin/mail/list.c
175
*cp2++ = c;
usr.bin/mail/list.c
322
int c;
usr.bin/mail/list.c
353
c = (unsigned char)*cp++;
usr.bin/mail/list.c
354
if (isdigit(c)) {
usr.bin/mail/list.c
356
while (isdigit(c)) {
usr.bin/mail/list.c
357
lexnumber = lexnumber * 10 + c - '0';
usr.bin/mail/list.c
358
*cp2++ = c;
usr.bin/mail/list.c
359
c = (unsigned char)*cp++;
usr.bin/mail/list.c
371
if (c == lp->l_char) {
usr.bin/mail/list.c
372
lexstring[0] = c;
usr.bin/mail/list.c
385
while (c != '\0') {
usr.bin/mail/list.c
386
if (c == quotec) {
usr.bin/mail/list.c
388
c = *cp++;
usr.bin/mail/list.c
392
if (c == '\\' && (*cp == quotec || *cp == '\\'))
usr.bin/mail/list.c
393
c = *cp++;
usr.bin/mail/list.c
396
switch (c) {
usr.bin/mail/list.c
399
quotec = c;
usr.bin/mail/list.c
400
c = *cp++;
usr.bin/mail/list.c
404
c = '\0'; /* end of token! */
usr.bin/mail/list.c
411
*cp2++ = c;
usr.bin/mail/list.c
412
c = *cp++;
usr.bin/mail/list.c
414
if (quotec && c == 0) {
usr.bin/mail/list.c
871
int c, m;
usr.bin/mail/list.c
874
c = meta;
usr.bin/mail/list.c
875
switch (c) {
usr.bin/mail/list.c
912
(void)printf("Unknown metachar (%c)\n", c);
usr.bin/mail/list.c
97
char c, *cp2, quotec;
usr.bin/mail/mime_attach.c
232
int c, lastc, state;
usr.bin/mail/mime_attach.c
239
while ((c = fgetc(fh)) != EOF) {
usr.bin/mail/mime_attach.c
242
if (c == '\0')
usr.bin/mail/mime_attach.c
245
if (c > 0x7f) {
usr.bin/mail/mime_attach.c
251
if (c == '\n') {
usr.bin/mail/mime_attach.c
258
else if ((c < 0x20 && c != '\t') || c == 0x7f || lastc == '\r')
usr.bin/mail/mime_attach.c
260
lastc = c;
usr.bin/mail/mime_codecs.c
231
#define uchar64(c) ((c) >= sizeof(b64index) ? BAD : (unsigned)b64index[(c)])
usr.bin/mail/mime_codecs.c
238
unsigned c = uchar64(q[2]);
usr.bin/mail/mime_codecs.c
242
c == BAD || d == BAD)
usr.bin/mail/mime_codecs.c
246
if (c == EQU) { /* got '=' */
usr.bin/mail/mime_codecs.c
251
*p++ = (((b & 0x0f) << 4) | ((c & 0x3c) >> 2));
usr.bin/mail/mime_codecs.c
255
*p++ = (((c & 0x03) << 6) | d);
usr.bin/mail/mime_codecs.c
286
unsigned c = p[2];
usr.bin/mail/mime_codecs.c
302
b64[2] = b64table[((b & 0xf) << 2) | ((c & 0xc0) >> 6)];
usr.bin/mail/mime_codecs.c
303
b64[3] = b64table[c & 0x3f];
usr.bin/mail/mime_codecs.c
454
int c = _qp_cfromhex(p++);
usr.bin/mail/mime_codecs.c
455
if (c < 0)
usr.bin/mail/mime_codecs.c
457
*q++ = (char)c;
usr.bin/mail/mime_codecs.c
619
int c = _qp_cfromhex(p++);
usr.bin/mail/mime_codecs.c
620
if (c >= 0)
usr.bin/mail/mime_codecs.c
621
(void)fputc(c, fo);
usr.bin/mail/mime_codecs.c
640
int c;
usr.bin/mail/mime_codecs.c
645
while ((c = getc(fi)) != EOF)
usr.bin/mail/mime_codecs.c
646
(void)putc(c, fo);
usr.bin/mail/mime_decode.c
1103
int c;
usr.bin/mail/mime_decode.c
1104
(void)ungetc(c = getc(f), f);
usr.bin/mail/mime_decode.c
1105
if (!is_WSP(c))
usr.bin/mail/mime_header.c
176
is_FWS(int c)
usr.bin/mail/mime_header.c
178
return c == ' ' || c == '\t' || c == '\n';
usr.bin/mail/mime_header.c
412
is_specials(int c)
usr.bin/mail/mime_header.c
425
return !(c & ~0x7f) ? specialtab[c] : 0;
usr.bin/mail/names.c
248
int c, fd;
usr.bin/mail/names.c
313
while ((c = getc(fo)) != EOF)
usr.bin/mail/names.c
314
(void)putc(c, fout);
usr.bin/mail/names.c
377
while ((c = getc(fin)) != EOF)
usr.bin/mail/names.c
378
(void)putc(c, fout);
usr.bin/mail/names.c
525
int c;
usr.bin/mail/names.c
527
for (c = 0; np != NULL; np = np->n_flink)
usr.bin/mail/names.c
529
c++;
usr.bin/mail/names.c
530
return c;
usr.bin/mail/quit.c
109
while ((c = getc(res)) != EOF)
usr.bin/mail/quit.c
110
(void)putc(c, obuf);
usr.bin/mail/quit.c
138
int gotcha, c;
usr.bin/mail/quit.c
194
while ((c = getc(ibuf)) != EOF)
usr.bin/mail/quit.c
195
(void)putc(c, obuf);
usr.bin/mail/quit.c
223
c = 0;
usr.bin/mail/quit.c
227
c++;
usr.bin/mail/quit.c
234
gotcha = (c == 0 && ibuf == NULL);
usr.bin/mail/quit.c
236
while ((c = getc(ibuf)) != EOF)
usr.bin/mail/quit.c
237
(void)putc(c, obuf);
usr.bin/mail/quit.c
271
int c, fd;
usr.bin/mail/quit.c
334
while ((c = getc(fbuf)) != EOF)
usr.bin/mail/quit.c
335
(void)putc(c, rbuf);
usr.bin/mail/quit.c
339
c = getc(fbuf);
usr.bin/mail/quit.c
340
if (c == EOF)
usr.bin/mail/quit.c
342
(void)putc(c, rbuf);
usr.bin/mail/quit.c
386
for (c = 0, p = 0, mp = get_message(1); mp; mp = next_message(mp)) {
usr.bin/mail/quit.c
388
c++;
usr.bin/mail/quit.c
409
if (c == 0) {
usr.bin/mail/quit.c
427
mcount = c;
usr.bin/mail/quit.c
451
while ((c = getc(abuf)) != EOF)
usr.bin/mail/quit.c
452
(void)putc(c, obuf);
usr.bin/mail/quit.c
503
c = getc(ibuf);
usr.bin/mail/quit.c
504
while (c != EOF) {
usr.bin/mail/quit.c
505
(void)putc(c, obuf);
usr.bin/mail/quit.c
508
c = getc(ibuf);
usr.bin/mail/quit.c
550
while ((c = getc(rbuf)) != EOF)
usr.bin/mail/quit.c
551
(void)putc(c, abuf);
usr.bin/mail/quit.c
78
int p, c;
usr.bin/mail/quit.c
88
while ((c = getc(res)) != EOF)
usr.bin/mail/quit.c
89
(void)putc(c, obuf);
usr.bin/mail/send.c
322
int c;
usr.bin/mail/send.c
325
if ((c = getc(ibuf)) != EOF && putc(c, obuf) == EOF)
usr.bin/mail/send.c
484
int c, fd;
usr.bin/mail/send.c
510
c = getc(fi);
usr.bin/mail/send.c
511
while (c != EOF) {
usr.bin/mail/send.c
512
(void)putc(c, nfo);
usr.bin/mail/send.c
513
c = getc(fi);
usr.bin/mail/send.c
566
char c, *cp;
usr.bin/mail/send.c
576
c = *cp;
usr.bin/mail/send.c
580
*cp = c;
usr.bin/mail/support.c
209
int c;
usr.bin/mail/support.c
214
if ((c = readline(f, linebuf, LINESIZE, 0)) <= 0)
usr.bin/mail/support.c
227
cp = linebuf + c;
usr.bin/mail/support.c
234
(void)ungetc(c = getc(f), f);
usr.bin/mail/support.c
235
if (!is_WSP(c))
usr.bin/mail/support.c
237
if ((c = readline(f, line2, LINESIZE, 0)) < 0)
usr.bin/mail/support.c
241
c -= (int)(cp2 - line2);
usr.bin/mail/support.c
242
if (cp + c >= linebuf + LINESIZE - 2)
usr.bin/mail/support.c
245
(void)memmove(cp, cp2, (size_t)c);
usr.bin/mail/support.c
246
cp += c;
usr.bin/mail/support.c
455
int c;
usr.bin/mail/support.c
471
for (cp = name, cp2 = bufend; (c = *cp++) != '\0'; /*EMPTY*/) {
usr.bin/mail/support.c
472
switch (c) {
usr.bin/mail/support.c
483
while ((c = *cp) != '\0') {
usr.bin/mail/support.c
485
if (c == '"')
usr.bin/mail/support.c
487
if (c != '\\')
usr.bin/mail/support.c
488
*cp2++ = c;
usr.bin/mail/support.c
489
else if ((c = *cp) != '\0') {
usr.bin/mail/support.c
490
*cp2++ = c;
usr.bin/mail/support.c
516
while ((c = *cp) && c != ',') {
usr.bin/mail/support.c
518
if (c == '(')
usr.bin/mail/support.c
520
else if (c == '"')
usr.bin/mail/support.c
521
while ((c = *cp) != '\0') {
usr.bin/mail/support.c
523
if (c == '"')
usr.bin/mail/support.c
525
if (c == '\\' && *cp)
usr.bin/mail/support.c
539
*cp2++ = c;
usr.bin/mail/support.c
540
if (c == ',' && *cp == ' ' && !gotlt) {
usr.bin/mail/support.c
629
charcount(char *str, int c)
usr.bin/mail/support.c
635
if (*cp == c)
usr.bin/mail/tty.c
110
c = *cp;
usr.bin/mail/tty.c
115
while ((c = *cp++) != '\0') {
usr.bin/mail/tty.c
116
if ((c_erase != _POSIX_VDISABLE && c == c_erase) ||
usr.bin/mail/tty.c
117
(c_kill != _POSIX_VDISABLE && c == c_kill)) {
usr.bin/mail/tty.c
121
ch = c;
usr.bin/mail/tty.c
130
c = getc(stdin);
usr.bin/mail/tty.c
132
if (c == EOF) {
usr.bin/mail/tty.c
137
if (c == '\n')
usr.bin/mail/tty.c
139
*cp2++ = c;
usr.bin/mail/tty.c
143
if (c == EOF && ferror(stdin)) {
usr.bin/mail/tty.c
159
c = *cp++;
usr.bin/mail/tty.c
160
if (c_erase != _POSIX_VDISABLE && c == c_erase) {
usr.bin/mail/tty.c
164
cp2[-1] = c;
usr.bin/mail/tty.c
170
if (c_kill != _POSIX_VDISABLE && c == c_kill) {
usr.bin/mail/tty.c
174
cp2[-1] = c;
usr.bin/mail/tty.c
180
*cp2++ = c;
usr.bin/mail/tty.c
94
int c;
usr.bin/make/dir.c
744
const char *c, size_t c_len)
usr.bin/make/dir.c
750
memcpy(s + a_len + b_len, c, c_len);
usr.bin/make/for.c
142
IsValidInVarname(char c)
usr.bin/make/for.c
144
return c != '$' && c != ':' && c != '\\' &&
usr.bin/make/for.c
145
c != '(' && c != '{' && c != ')' && c != '}';
usr.bin/make/job.c
1373
char c;
usr.bin/make/job.c
1393
if (read(fd, &c, 1) == 1) {
usr.bin/make/job.c
1395
while (write(fd, &c, 1) == -1 && errno == EAGAIN)
usr.bin/make/job.c
2351
char c = arg[10];
usr.bin/make/job.c
2352
newShell.hasErrCtl = c == 'Y' || c == 'y' ||
usr.bin/make/job.c
2353
c == 'T' || c == 't';
usr.bin/make/main.c
461
MainParseOption(char c, const char *argvalue)
usr.bin/make/main.c
463
switch (c) {
usr.bin/make/main.c
503
opts.printVars = c == 'v' ? PVM_EXPANDED : PVM_UNEXPANDED;
usr.bin/make/main.c
592
char c;
usr.bin/make/main.c
608
c = *optscan++;
usr.bin/make/main.c
611
if (c == '\0') {
usr.bin/make/main.c
618
if (c != '-' || dashDash)
usr.bin/make/main.c
621
c = *optscan++;
usr.bin/make/main.c
624
optspec = strchr(optspecs, c);
usr.bin/make/main.c
625
if (c != '\0' && optspec != NULL && optspec[1] == ':') {
usr.bin/make/main.c
642
switch (c) {
usr.bin/make/main.c
651
if (!MainParseOption(c, argvalue))
usr.bin/make/main.c
676
progname, c);
usr.bin/make/metachar.h
39
ch_is_shell_meta(char c)
usr.bin/make/metachar.h
41
return _metachar[c & 0x7f] != 0;
usr.bin/make/str.c
344
unsigned char c = (unsigned char)*str;
usr.bin/make/str.c
346
if ((e1 <= c && c <= e2)
usr.bin/make/str.c
347
|| (e2 <= c && c <= e1))
usr.bin/make/util.c
104
if ((c = findenv(name, &offset))) {
usr.bin/make/util.c
107
if (strlen(c) >= l_value) /* old larger; copy over */
usr.bin/make/util.c
133
c = environ[offset];
usr.bin/make/util.c
134
(void)memcpy(c, name, size);
usr.bin/make/util.c
135
c += size;
usr.bin/make/util.c
136
*c++ = '=';
usr.bin/make/util.c
138
(void)memcpy(c, value, l_value + 1);
usr.bin/make/util.c
231
#define ISDOT(c) ((c)[0] == '.' && (((c)[1] == '\0') || ((c)[1] == '/')))
usr.bin/make/util.c
232
#define ISDOTDOT(c) ((c)[0] == '.' && ISDOT(&((c)[1])))
usr.bin/make/util.c
89
char *c, **newenv;
usr.bin/make/var.c
2269
IsDelimiter(char c, const ModChain *ch)
usr.bin/make/var.c
2271
return c == ':' || c == ch->endc || c == '\0';
usr.bin/make/var.c
2470
char c = p[1];
usr.bin/make/var.c
2471
if ((IsDelimiter(c, ch) && c != '\0') ||
usr.bin/make/var.c
2472
c == '$' || c == '\\') {
usr.bin/make/var.c
2474
LazyBuf_Add(buf, c);
usr.bin/midiplay/midiplay.c
110
#define P(c) 1, 0x90, c, 0x7f, 4, 0x80, c, 0
usr.bin/midiplay/midiplay.c
111
#define PL(c) 1, 0x90, c, 0x7f, 8, 0x80, c, 0
usr.bin/midiplay/midiplay.c
192
u_long r, c;
usr.bin/midiplay/midiplay.c
196
c = *tp->start++;
usr.bin/midiplay/midiplay.c
197
r = (r << 7) | (c & 0x7f);
usr.bin/midiplay/midiplay.c
198
} while ((c & 0x80) && tp->start < tp->end);
usr.bin/midirecord/midirecord.c
677
unsigned count = 1, u, longest = 0, c = 0;
usr.bin/midirecord/midirecord.c
687
c++;
usr.bin/midirecord/midirecord.c
690
if (c > longest)
usr.bin/midirecord/midirecord.c
691
longest = c;
usr.bin/midirecord/midirecord.c
692
c = 0;
usr.bin/mkdep/mkdep.c
486
int c;
usr.bin/mkdep/mkdep.c
512
c = (end - name) - n->len;
usr.bin/mkdep/mkdep.c
513
if (c == 0)
usr.bin/mkdep/mkdep.c
514
c = memcmp(n->name + 1, name, (end - name));
usr.bin/mkdep/mkdep.c
515
if (c == 0) {
usr.bin/mkdep/mkdep.c
520
if (c < 0)
usr.bin/mktemp/mktemp.c
61
int c, fd, ret;
usr.bin/mktemp/mktemp.c
73
while ((c = getopt(argc, argv, "dp:qt:u")) != -1)
usr.bin/mktemp/mktemp.c
74
switch (c) {
usr.bin/nbperf/nbperf-bdz.c
273
if (nbperf->c == 0)
usr.bin/nbperf/nbperf-bdz.c
274
nbperf->c = 1.24;
usr.bin/nbperf/nbperf-bdz.c
275
if (nbperf->c < 1.24)
usr.bin/nbperf/nbperf-bdz.c
282
v = nbperf->c * nbperf->n;
usr.bin/nbperf/nbperf-chm.c
237
if (nbperf->c == 0)
usr.bin/nbperf/nbperf-chm.c
238
nbperf-> c = 1.24;
usr.bin/nbperf/nbperf-chm.c
240
if (nbperf->c < 1.24)
usr.bin/nbperf/nbperf-chm.c
246
if (nbperf->c == 0)
usr.bin/nbperf/nbperf-chm.c
247
nbperf-> c = 2;
usr.bin/nbperf/nbperf-chm.c
249
if (nbperf->c < 2)
usr.bin/nbperf/nbperf-chm.c
258
v = nbperf->c * nbperf->n;
usr.bin/nbperf/nbperf.c
114
.c = 0,
usr.bin/nbperf/nbperf.c
153
nbperf.c = strtod(optarg, &eos);
usr.bin/nbperf/nbperf.c
154
if (errno || eos[0] || !nbperf.c)
usr.bin/nbperf/nbperf.h
47
double c;
usr.bin/nbsvtool/nbsvtool.c
247
STACK_OF(X509) *c;
usr.bin/nbsvtool/nbsvtool.c
256
c = file_to_certs(cert_file);
usr.bin/nbsvtool/nbsvtool.c
258
if (sk_X509_num(c) != 1)
usr.bin/nbsvtool/nbsvtool.c
261
crypto_state.certificate = sk_X509_value(c, 0);
usr.bin/nc/netcat.c
1372
char c = '\0';
usr.bin/nc/netcat.c
1392
iov.iov_base = &c;
usr.bin/nc/netcat.c
70
#define accept4(a, b, c, d) paccept((a), (b), (c), NULL, (d))
usr.bin/netgroup/netgroup.c
51
int c, i = 0;
usr.bin/netgroup/netgroup.c
54
while ((c = getopt(argc, argv, "hud")) != -1)
usr.bin/netgroup/netgroup.c
55
switch (c) {
usr.bin/newgrp/newgrp.c
67
int c, lflag;
usr.bin/newgrp/newgrp.c
87
while ((c = getopt(argc, argv, "-l")) != -1) {
usr.bin/newgrp/newgrp.c
88
switch (c) {
usr.bin/newsyslog/newsyslog.c
163
int c, needroot, i, force;
usr.bin/newsyslog/newsyslog.c
175
while ((c = getopt(argc, argv, "f:nrsvF")) != -1) {
usr.bin/newsyslog/newsyslog.c
176
switch (c) {
usr.bin/nice/nice.c
67
int c;
usr.bin/nice/nice.c
80
while ((c = getopt (argc, argv, "n:")) != -1) {
usr.bin/nice/nice.c
81
switch (c) {
usr.bin/nl/nl.c
135
int c;
usr.bin/nl/nl.c
149
while ((c = getopt(argc, argv, "pb:d:f:h:i:l:n:s:v:w:")) != -1) {
usr.bin/nl/nl.c
150
switch (c) {
usr.bin/patch/backupfile.c
38
#define ISDIGIT(c) (isascii ((unsigned char)c) && isdigit ((unsigned char)c))
usr.bin/patch/pch.c
487
int c;
usr.bin/patch/pch.c
489
c = fgetc(pfp);
usr.bin/patch/pch.c
490
if (c == '\\') {
usr.bin/patch/pch.c
492
c = fgetc(pfp);
usr.bin/patch/pch.c
493
} while (c != EOF && c != '\n');
usr.bin/patch/pch.c
497
if (c != EOF)
usr.bin/pr/pr.c
1272
int c;
usr.bin/pr/pr.c
1277
while ((c = getc(inf)) != EOF) {
usr.bin/pr/pr.c
1278
if ((c == '\n') && (--cnt == 0))
usr.bin/pr/pr.c
1281
if (c == EOF) {
usr.bin/pr/pr.c
1460
int c;
usr.bin/pr/pr.c
1465
while ((c = getc(ttyinf)) != '\n' && c != EOF)
usr.bin/pr/pr.c
1632
int c;
usr.bin/pr/pr.c
1651
while ((c = egetopt(argc, argv, "#adFfmrte?h:i?l:n?o:ps?T:w:")) != -1) {
usr.bin/pr/pr.c
1652
switch (c) {
usr.bin/printf/printf.c
125
#define isodigit(c) ((c) >= '0' && (c) <= '7')
usr.bin/printf/printf.c
126
#define octtobin(c) ((c) - '0')
usr.bin/printf/printf.c
127
#define check(c, a) (c) >= (a) && (c) <= (a) + 5 ? (c) - (a) + 10
usr.bin/printf/printf.c
128
#define hextobin(c) (check(c, 'a') : check(c, 'A') : (c) - '0')
usr.bin/printf/printf.c
467
char c;
usr.bin/printf/printf.c
522
str = conv_escape(str - 1, &c, quiet);
usr.bin/printf/printf.c
523
do_putchar(c);
usr.bin/printf/printf.c
535
int c;
usr.bin/printf/printf.c
551
for (c = 3; c-- && isodigit(*str); str++) {
usr.bin/printf/printf.c
565
for (c = 2; c-- && isxdigit((unsigned char)*str); str++) {
usr.bin/qsubst/qsubst.c
193
issymchar(unsigned char c)
usr.bin/qsubst/qsubst.c
195
return (isascii(c) && (isalnum(c) || (c == '_') || (c == '$')));
usr.bin/qsubst/qsubst.c
211
putcharf(int c)
usr.bin/qsubst/qsubst.c
213
return (putchar(c));
usr.bin/qsubst/qsubst.c
235
char c;
usr.bin/qsubst/qsubst.c
244
switch (read(0, &c, 1)) {
usr.bin/qsubst/qsubst.c
253
return (c);
usr.bin/qsubst/qsubst.c
280
int c;
usr.bin/qsubst/qsubst.c
281
c = getc(workf);
usr.bin/qsubst/qsubst.c
282
if (c == EOF) {
usr.bin/qsubst/qsubst.c
286
putchar(c);
usr.bin/qsubst/qsubst.c
288
if (c == '\n') {
usr.bin/qsubst/qsubst.c
370
int c;
usr.bin/qsubst/qsubst.c
402
c = getc(workf);
usr.bin/qsubst/qsubst.c
403
if (c == EOF) {
usr.bin/qsubst/qsubst.c
419
*bufp++ = c;
usr.bin/qsubst/qsubst.c
423
c, n, (long) (bufp - bufp0));
usr.bin/quota/printquota.c
278
unsigned char c;
usr.bin/quota/printquota.c
280
c = *s++;
usr.bin/quota/printquota.c
282
if (!isdigit(c))
usr.bin/quota/printquota.c
284
} while ((c = *s++) != 0);
usr.bin/rdist/docmd.c
100
for (f = c->c_files; f != NULL; f = f->n_next)
usr.bin/rdist/docmd.c
108
switch (c->c_type) {
usr.bin/rdist/docmd.c
110
doarrow(cpp, c->c_files, c->c_name, c->c_cmds);
usr.bin/rdist/docmd.c
113
dodcolon(cpp, c->c_files, c->c_name, c->c_cmds);
usr.bin/rdist/docmd.c
116
fatal("illegal command type %d\n", c->c_type);
usr.bin/rdist/docmd.c
231
char c = *cp;
usr.bin/rdist/docmd.c
235
*cp = c;
usr.bin/rdist/docmd.c
238
*cp = c;
usr.bin/rdist/docmd.c
351
int c;
usr.bin/rdist/docmd.c
354
c = *cp;
usr.bin/rdist/docmd.c
355
if (c & 0200)
usr.bin/rdist/docmd.c
357
if (!isalpha(c) && !isdigit(c) && c != '_' && c != '-')
usr.bin/rdist/docmd.c
75
struct cmd *c;
usr.bin/rdist/docmd.c
85
for (c = cmds; c != NULL; c = c->c_next) {
usr.bin/rdist/docmd.c
88
if (strcmp(c->c_name, *cpp) == 0)
usr.bin/rdist/docmd.c
95
if (c->c_label != NULL &&
usr.bin/rdist/docmd.c
96
strcmp(c->c_label, *cpp) == 0) {
usr.bin/rdist/expand.c
423
int c;
usr.bin/rdist/expand.c
431
c = amatch(s, p);
usr.bin/rdist/expand.c
434
return (c);
usr.bin/rdist/expand.c
444
int c, cc;
usr.bin/rdist/expand.c
449
switch (c = *p++) {
usr.bin/rdist/expand.c
492
if ((c & TRIM) != scc)
usr.bin/rdist/expand.c
547
addpath(int c)
usr.bin/rdist/expand.c
553
*pathp++ = c & TRIM;
usr.bin/rdist/gram.y
208
int c;
usr.bin/rdist/gram.y
213
switch (c = getc(fin)) {
usr.bin/rdist/gram.y
218
while ((c = getc(fin)) != EOF && c != '\n')
usr.bin/rdist/gram.y
220
if (c == EOF)
usr.bin/rdist/gram.y
243
if ((c = getc(fin)) == '>')
usr.bin/rdist/gram.y
245
ungetc(c, fin);
usr.bin/rdist/gram.y
246
c = '-';
usr.bin/rdist/gram.y
257
c = getc(fin);
usr.bin/rdist/gram.y
258
if (c == EOF || c == '"')
usr.bin/rdist/gram.y
260
if (c == '\\') {
usr.bin/rdist/gram.y
261
if ((c = getc(fin)) == EOF) {
usr.bin/rdist/gram.y
266
if (c == '\n') {
usr.bin/rdist/gram.y
268
c = ' '; /* can't send '\n' */
usr.bin/rdist/gram.y
270
*cp1++ = c;
usr.bin/rdist/gram.y
272
if (c != '"')
usr.bin/rdist/gram.y
279
if ((c = getc(fin)) == ':')
usr.bin/rdist/gram.y
281
ungetc(c, fin);
usr.bin/rdist/gram.y
291
if (c == '\\') {
usr.bin/rdist/gram.y
292
if ((c = getc(fin)) != EOF) {
usr.bin/rdist/gram.y
293
if (any(c, quotechars))
usr.bin/rdist/gram.y
294
c |= QUOTE;
usr.bin/rdist/gram.y
300
*cp1++ = c;
usr.bin/rdist/gram.y
301
c = getc(fin);
usr.bin/rdist/gram.y
302
if (c == EOF || any(c, " \"'\t()=;:\n")) {
usr.bin/rdist/gram.y
303
ungetc(c, fin);
usr.bin/rdist/gram.y
340
c = INSTALL;
usr.bin/rdist/gram.y
342
c = NOTIFY;
usr.bin/rdist/gram.y
344
c = EXCEPT;
usr.bin/rdist/gram.y
346
c = PATTERN;
usr.bin/rdist/gram.y
348
c = SPECIAL;
usr.bin/rdist/gram.y
353
yylval.subcmd = makesubcmd(c);
usr.bin/rdist/gram.y
354
return(c);
usr.bin/rdist/gram.y
358
any(int c, const char *str)
usr.bin/rdist/gram.y
361
if (c == *str++)
usr.bin/rdist/gram.y
373
struct cmd *c, *prev, *nc;
usr.bin/rdist/gram.y
382
for (prev = NULL, c = cmds; c!=NULL; prev = c, c = c->c_next) {
usr.bin/rdist/gram.y
383
if (strcmp(c->c_name, h->n_name) == 0) {
usr.bin/rdist/gram.y
385
prev = c;
usr.bin/rdist/gram.y
386
c = c->c_next;
usr.bin/rdist/gram.y
387
} while (c != NULL &&
usr.bin/rdist/gram.y
388
strcmp(c->c_name, h->n_name) == 0);
usr.bin/rdist/gram.y
403
nc->c_next = c;
usr.bin/rdist/gram.y
409
if (c == NULL)
usr.bin/rdist/gram.y
422
struct cmd *c;
usr.bin/rdist/gram.y
424
c = ALLOC(cmd);
usr.bin/rdist/gram.y
425
if (c == NULL)
usr.bin/rdist/gram.y
427
c->c_type = DCOLON;
usr.bin/rdist/gram.y
428
c->c_name = stamp;
usr.bin/rdist/gram.y
429
c->c_label = label;
usr.bin/rdist/gram.y
430
c->c_files = expand(files, E_ALL);
usr.bin/rdist/gram.y
431
c->c_cmds = subcmds;
usr.bin/rdist/gram.y
432
c->c_next = NULL;
usr.bin/rdist/gram.y
434
cmds = last_cmd = c;
usr.bin/rdist/gram.y
436
last_cmd->c_next = c;
usr.bin/rdist/gram.y
437
last_cmd = c;
usr.bin/rdist/server.c
1590
char c;
usr.bin/rdist/server.c
1592
c = '\3';
usr.bin/rdist/server.c
1593
write(rem, &c, 1);
usr.bin/rdist/server.c
1595
c = '\n';
usr.bin/rdist/server.c
1596
write(rem, &c, 1);
usr.bin/rdist/server.c
939
int c;
usr.bin/rdist/server.c
947
while ((c = getc(f1)) == getc(f2))
usr.bin/rdist/server.c
948
if (c == EOF) {
usr.bin/resize/resize.c
275
int last, c;
usr.bin/resize/resize.c
289
if ((c = getc(fp)) == 0233) { /* meta-escape, CSI */
usr.bin/resize/resize.c
290
c = ESCAPE("")[0];
usr.bin/resize/resize.c
291
*buf++ = (char) c;
usr.bin/resize/resize.c
294
*buf++ = (char) c;
usr.bin/resize/resize.c
296
if (c != *str) {
usr.bin/resize/resize.h
67
#define x_strindex(s, c) strstr((s), (c))
usr.bin/rlogin/rlogin.c
435
char c;
usr.bin/rlogin/rlogin.c
440
n = read(STDIN_FILENO, &c, 1);
usr.bin/rlogin/rlogin.c
455
if (!noescape && c == escapechar) {
usr.bin/rlogin/rlogin.c
461
if (c == '.' || CCEQ(deftty.c_cc[VEOF], c)) {
usr.bin/rlogin/rlogin.c
462
echo((int)c);
usr.bin/rlogin/rlogin.c
465
if (CCEQ(deftty.c_cc[VSUSP], c)) {
usr.bin/rlogin/rlogin.c
467
echo((int)c);
usr.bin/rlogin/rlogin.c
471
if (CCEQ(deftty.c_cc[VDSUSP], c)) {
usr.bin/rlogin/rlogin.c
473
echo((int)c);
usr.bin/rlogin/rlogin.c
477
if (c != escapechar) {
usr.bin/rlogin/rlogin.c
482
if (write(rem, &c, 1) == 0) {
usr.bin/rlogin/rlogin.c
487
bol = CCEQ(deftty.c_cc[VKILL], c) ||
usr.bin/rlogin/rlogin.c
488
CCEQ(deftty.c_cc[VEOF], c) ||
usr.bin/rlogin/rlogin.c
489
CCEQ(deftty.c_cc[VINTR], c) ||
usr.bin/rlogin/rlogin.c
490
CCEQ(deftty.c_cc[VSUSP], c) ||
usr.bin/rlogin/rlogin.c
491
c == '\r' || c == '\n';
usr.bin/rlogin/rlogin.c
498
char c = (char)i;
usr.bin/rlogin/rlogin.c
503
c &= 0177;
usr.bin/rlogin/rlogin.c
505
if (c < ' ') {
usr.bin/rlogin/rlogin.c
507
*p++ = c + '@';
usr.bin/rlogin/rlogin.c
508
} else if (c == 0177) {
usr.bin/rlogin/rlogin.c
512
*p++ = c;
usr.bin/rlogin/rlogin.c
87
#define CCEQ(val, c) (c == val ? val != _POSIX_VDISABLE : 0)
usr.bin/rpcgen/rpc_main.c
1034
flag[c] = 1;
usr.bin/rpcgen/rpc_main.c
1038
if (c == 's') {
usr.bin/rpcgen/rpc_main.c
1044
if (c == 'o') {
usr.bin/rpcgen/rpc_main.c
923
int c;
usr.bin/rpcgen/rpc_main.c
953
c = argv[i][j];
usr.bin/rpcgen/rpc_main.c
954
switch (c) {
usr.bin/rpcgen/rpc_main.c
969
if (flag[c]) {
usr.bin/rpcgen/rpc_main.c
972
flag[c] = 1;
usr.bin/rpcgen/rpc_main.c
977
c = argv[i][++j]; /* get next char */
usr.bin/rpcgen/rpc_main.c
978
if (c == 's')
usr.bin/rpcgen/rpc_main.c
979
c = 'S';
usr.bin/rpcgen/rpc_main.c
981
if (c == 'c')
usr.bin/rpcgen/rpc_main.c
982
c = 'C';
usr.bin/rpcgen/rpc_main.c
986
if (flag[c]) {
usr.bin/rpcgen/rpc_main.c
989
flag[c] = 1;
usr.bin/rpcgen/rpc_util.c
232
char c;
usr.bin/rpcgen/rpc_util.c
236
while ((c = *str++) != '\0') {
usr.bin/rpcgen/rpc_util.c
237
*p++ = (c >= 'A' && c <= 'Z') ? (c - 'A' + 'a') : c;
usr.bin/rpcgen/rpc_util.c
385
char c;
usr.bin/rpcgen/rpc_util.c
391
for (i = 0; (c = curline[i]) != '\0'; i++) {
usr.bin/rpcgen/rpc_util.c
392
if (c == '\t') {
usr.bin/rpcgen/rpc_util.c
394
c = ' ';
usr.bin/rpcgen/rpc_util.c
399
(void) fputc(c, stderr);
usr.bin/rpcgen/rpc_util.c
408
char c;
usr.bin/rpcgen/rpc_util.c
413
c = curline[i];
usr.bin/rpcgen/rpc_util.c
414
if (c == '\t') {
usr.bin/rpcinfo/rpcinfo.c
166
int c;
usr.bin/rpcinfo/rpcinfo.c
179
while ((c = getopt(argc, argv, "a:bdlmn:pstT:u")) != -1) {
usr.bin/rpcinfo/rpcinfo.c
181
while ((c = getopt(argc, argv, "a:bdlmn:sT:")) != -1) {
usr.bin/rpcinfo/rpcinfo.c
183
switch (c) {
usr.bin/rs/rs.c
351
int c, i;
usr.bin/rs/rs.c
370
for (p = curline, i = 1; i < BUFSIZ; *p++ = c, i++)
usr.bin/rs/rs.c
371
if ((c = getchar()) == EOF || c == '\n')
usr.bin/rs/rs.c
375
return(c);
usr.bin/rump_dhcpclient/net.c
148
char c[3];
usr.bin/rump_dhcpclient/net.c
153
c[2] = '\0';
usr.bin/rump_dhcpclient/net.c
155
c[0] = *p++;
usr.bin/rump_dhcpclient/net.c
156
c[1] = *p++;
usr.bin/rump_dhcpclient/net.c
158
if (isxdigit((unsigned char)c[0]) == 0 ||
usr.bin/rump_dhcpclient/net.c
159
isxdigit((unsigned char)c[1]) == 0)
usr.bin/rump_dhcpclient/net.c
177
*bp++ = (unsigned char)strtol(c, NULL, 16);
usr.bin/scmdctl/scmdctl.c
151
int c;
usr.bin/scmdctl/scmdctl.c
170
while ((c = getopt(argc, argv, "db:s:lh")) != -1 ) {
usr.bin/scmdctl/scmdctl.c
171
switch (c) {
usr.bin/scmdctl/scmdctl.c
207
for(c = 0x00; c < SCMD_REG_SIZE;c++)
usr.bin/scmdctl/scmdctl.c
208
printf("Register %d (0x%02X): %s\n",c,c,scmdregisternames[c]);
usr.bin/scmdctl/scmdctl.c
370
for(c = 0x00; c < SCMD_REG_SIZE;c++)
usr.bin/scmdctl/scmdctl.c
371
if (strncmp(argv[3],scmdregisternames[c],15) == 0)
usr.bin/scmdctl/scmdctl.c
373
if (c == SCMD_REG_SIZE) {
usr.bin/scmdctl/scmdctl.c
377
reg = c;
usr.bin/scmdctl/scmdctl.c
383
for(c = 0x00; c < SCMD_REG_SIZE;c++)
usr.bin/scmdctl/scmdctl.c
384
if (strncmp(argv[4],scmdregisternames[c],15) == 0)
usr.bin/scmdctl/scmdctl.c
386
if (c == SCMD_REG_SIZE) {
usr.bin/scmdctl/scmdctl.c
390
reg_e = c;
usr.bin/scmdctl/scmdctl.c
417
for(c = 0x00; c < SCMD_REG_SIZE;c++)
usr.bin/scmdctl/scmdctl.c
418
if (strncmp(argv[3],scmdregisternames[c],15) == 0)
usr.bin/scmdctl/scmdctl.c
420
if (c == SCMD_REG_SIZE) {
usr.bin/scmdctl/scmdctl.c
424
reg = c;
usr.bin/scmdctl/scmdctl.c
85
valid_cmd(const struct scmdcmd c[], long unsigned int csize, char *cmdtocheck)
usr.bin/scmdctl/scmdctl.c
90
if (strncmp(cmdtocheck,c[i].cmd,16) == 0) {
usr.bin/scmdctl/uart.c
114
char c;
usr.bin/scmdctl/uart.c
118
i = read(fd,&c,1);
usr.bin/scmdctl/uart.c
121
while (c != '>' && c != '\r' && n < len) {
usr.bin/scmdctl/uart.c
122
obuf[n] = c;
usr.bin/scmdctl/uart.c
124
fprintf(stderr,"uart_get_response: looking for EOL or NL: %d %d -%c-\n",i,n,c);
usr.bin/scmdctl/uart.c
126
i = read(fd,&c,1);
usr.bin/scmdctl/uart.c
129
if (c != '>') {
usr.bin/scmdctl/uart.c
130
i = read(fd,&c,1);
usr.bin/scmdctl/uart.c
133
while (c != '>') {
usr.bin/scmdctl/uart.c
135
fprintf(stderr,"uart_get_response: draining: %d -%c-\n",i,c);
usr.bin/scmdctl/uart.c
136
i = read(fd,&c,1);
usr.bin/scmdctl/uart.c
348
int c;
usr.bin/scmdctl/uart.c
367
c = 0;
usr.bin/scmdctl/uart.c
371
c++;
usr.bin/scmdctl/uart.c
372
} while ((c < 10) && (b != 0x00) && (!err));
usr.bin/scmdctl/uart.c
426
int c;
usr.bin/scmdctl/uart.c
440
c = 0;
usr.bin/scmdctl/uart.c
444
c++;
usr.bin/scmdctl/uart.c
445
} while ((c < 10) && (b != 0x00) && (!err));
usr.bin/sdiff/sdiff.c
574
char c, cmd;
usr.bin/sdiff/sdiff.c
584
c = *p;
usr.bin/sdiff/sdiff.c
591
if (c == ',') {
usr.bin/sdiff/sdiff.c
597
c = *p;
usr.bin/sdiff/sdiff.c
608
cmd = c;
usr.bin/sdiff/sdiff.c
617
c = *p;
usr.bin/sdiff/sdiff.c
627
if (c != ',' && c != '\0')
usr.bin/sdiff/sdiff.c
628
errx(2, "invalid line range in file2: %c: %s", c, line);
usr.bin/sdiff/sdiff.c
630
if (c == ',') {
usr.bin/sed/compile.c
1000
cp->u.c = NULL;
usr.bin/sed/compile.c
1003
if ((cp->u.c = findlabel(cp->t)) == NULL)
usr.bin/sed/compile.c
1009
fixuplabel(cp->u.c, cp->next);
usr.bin/sed/compile.c
1022
u_int h, c;
usr.bin/sed/compile.c
1024
for (h = 0, p = (u_char *)cp->t; (c = *p) != 0; p++)
usr.bin/sed/compile.c
1025
h = (h << 5) + h + c;
usr.bin/sed/compile.c
1047
u_int h, c;
usr.bin/sed/compile.c
1049
for (h = 0, p = (u_char *)name; (c = *p) != 0; p++)
usr.bin/sed/compile.c
1050
h = (h << 5) + h + c;
usr.bin/sed/compile.c
194
#define addrchar(c) (strchr("0123456789/\\$", (c)))
usr.bin/sed/compile.c
236
link = &cmd->u.c;
usr.bin/sed/compile.c
388
char c;
usr.bin/sed/compile.c
390
c = *p++;
usr.bin/sed/compile.c
391
if (c == '\0')
usr.bin/sed/compile.c
393
else if (c == '\\')
usr.bin/sed/compile.c
395
else if (c == '\n')
usr.bin/sed/compile.c
398
if (*p == '[' && *p != c) {
usr.bin/sed/compile.c
404
} else if (*p == '\\' && p[1] == c)
usr.bin/sed/compile.c
415
} else if (*p == c) {
usr.bin/sed/compile.c
429
int c, d;
usr.bin/sed/compile.c
440
for (c = *s; (*t = *s) != ']' || c != d; s++, t++)
usr.bin/sed/compile.c
441
if ((c = *s) == '\0')
usr.bin/sed/compile.c
473
cton(char c, int base)
usr.bin/sed/compile.c
475
switch (c) {
usr.bin/sed/compile.c
478
return (char)(c - '0');
usr.bin/sed/compile.c
480
return base == 8 ? '?' : (char)(c - '0');
usr.bin/sed/compile.c
482
return base == 16 ? (char)(c - 'a' + 10) : '?';
usr.bin/sed/compile.c
484
return base == 16 ? (char)(c - 'A' + 10) : '?';
usr.bin/sed/compile.c
614
char c, *text, *op, *sp;
usr.bin/sed/compile.c
617
c = *p++; /* Terminator character */
usr.bin/sed/compile.c
618
if (c == '\0')
usr.bin/sed/compile.c
673
} else if (*p == c) {
usr.bin/sed/defs.h
100
struct s_command *c; /* Command(s) for b t { */
usr.bin/sed/main.c
136
int c, fflag;
usr.bin/sed/main.c
145
while ((c = getopt(argc, argv, "EGI::ae:f:gi::lnru")) != -1)
usr.bin/sed/main.c
146
switch (c) {
usr.bin/sed/main.c
181
c = setvbuf(stdout, NULL, _IOLBF, 0);
usr.bin/sed/main.c
183
c = setlinebuf(stdout);
usr.bin/sed/main.c
185
if (c)
usr.bin/sed/main.c
193
c = setvbuf(stdout, NULL, _IONBF, 0);
usr.bin/sed/main.c
195
c = -1;
usr.bin/sed/main.c
198
if (c)
usr.bin/sed/main.c
348
int c;
usr.bin/sed/main.c
365
if (infile != NULL && (c = getc(infile)) != EOF) {
usr.bin/sed/main.c
366
(void)ungetc(c, infile);
usr.bin/sed/process.c
127
cp = cp->u.c;
usr.bin/sed/process.c
140
cp = cp->u.c;
usr.bin/sed/process.c
238
cp = cp->u.c;
usr.bin/sed/process.c
369
for (cp = prog; cp; cp = cp->code == '{' ? cp->u.c : cp->next)
usr.bin/sed/process.c
501
char c, *p;
usr.bin/sed/process.c
521
if ((c = (char)y->bytetab[(u_char)*p]) != '\0') {
usr.bin/sed/process.c
522
cspace(&YS, &c, 1, APPEND);
usr.bin/sed/process.c
592
int c;
usr.bin/sed/process.c
648
} else if (wc != L'\0' && (c = wctob(wc)) != EOF &&
usr.bin/sed/process.c
649
(p = strchr(escapes, c)) != NULL) {
usr.bin/sed/process.c
725
char c, *dst;
usr.bin/sed/process.c
736
while ((c = *src++) != '\0') {
usr.bin/sed/process.c
737
if (c == '&')
usr.bin/sed/process.c
739
else if (c == '\\' && isdigit((unsigned char)*src))
usr.bin/sed/process.c
744
if (c == '\\' && (*src == '\\' || *src == '&'))
usr.bin/sed/process.c
745
c = *src++;
usr.bin/sed/process.c
747
*dst++ = c;
usr.bin/sed/process.c
806
cfclose(cp->u.c, cp->next);
usr.bin/seq/seq.c
102
int c = 0, errflg = 0;
usr.bin/seq/seq.c
128
(c = getopt(argc, argv, "f:hs:t:w")) != -1) {
usr.bin/seq/seq.c
130
switch (c) {
usr.bin/seq/seq.c
346
char c, *cp, *new = orig;
usr.bin/seq/seq.c
395
for (i = 0, c = 0;
usr.bin/seq/seq.c
398
c <<= 3;
usr.bin/seq/seq.c
399
c |= (*cp - '0');
usr.bin/seq/seq.c
401
*orig = c;
usr.bin/seq/seq.c
406
for (i = 0, c = 0;
usr.bin/seq/seq.c
409
c <<= 4;
usr.bin/seq/seq.c
411
c |= (*cp - '0');
usr.bin/seq/seq.c
413
c |= ((toupper((unsigned char)*cp) -
usr.bin/seq/seq.c
416
*orig = c;
usr.bin/seq/seq.c
51
#define ISSIGN(c) ((int)(c) == '-' || (int)(c) == '+')
usr.bin/seq/seq.c
52
#define ISEXP(c) ((int)(c) == 'e' || (int)(c) == 'E')
usr.bin/seq/seq.c
53
#define ISODIGIT(c) ((int)(c) >= '0' && (int)(c) <= '7')
usr.bin/skeyinit/skeyinit.c
106
while((c = getopt(argc, argv, "k:n:p:t:sxz")) != -1) {
usr.bin/skeyinit/skeyinit.c
107
switch(c) {
usr.bin/skeyinit/skeyinit.c
60
int c;
usr.bin/soelim/soelim.c
101
if ((p->list[p->c++] = strdup(dir)) == NULL)
usr.bin/soelim/soelim.c
104
p->list[p->c] = NULL;
usr.bin/soelim/soelim.c
115
if (*name == '/' || p->c == 0)
usr.bin/soelim/soelim.c
118
for (i = 0; i < p->c; i++) {
usr.bin/soelim/soelim.c
136
int c;
usr.bin/soelim/soelim.c
141
while ((c = getopt(argc, argv, "I:")) != -1)
usr.bin/soelim/soelim.c
142
switch (c) {
usr.bin/soelim/soelim.c
172
int c;
usr.bin/soelim/soelim.c
187
c = getc(soee);
usr.bin/soelim/soelim.c
188
if (c == EOF)
usr.bin/soelim/soelim.c
190
if (c != '.')
usr.bin/soelim/soelim.c
192
c = getc(soee);
usr.bin/soelim/soelim.c
193
if (c != 's') {
usr.bin/soelim/soelim.c
197
c = getc(soee);
usr.bin/soelim/soelim.c
198
if (c != 'o') {
usr.bin/soelim/soelim.c
203
c = getc(soee);
usr.bin/soelim/soelim.c
204
while (c == ' ' || c == '\t');
usr.bin/soelim/soelim.c
208
switch (c) {
usr.bin/soelim/soelim.c
217
*cp++ = c;
usr.bin/soelim/soelim.c
218
c = getc(soee);
usr.bin/soelim/soelim.c
234
if (c == EOF)
usr.bin/soelim/soelim.c
236
putchar(c);
usr.bin/soelim/soelim.c
237
if (c != '\n') {
usr.bin/soelim/soelim.c
238
c = getc(soee);
usr.bin/soelim/soelim.c
72
size_t n, c;
usr.bin/soelim/soelim.c
85
p->n = p->c = 0;
usr.bin/soelim/soelim.c
93
if (p->list == NULL || p->n <= p->c - 2) {
usr.bin/sort/fields.c
316
int c, t;
usr.bin/sort/fields.c
319
for (c = 0; ; c++) {
usr.bin/sort/fields.c
326
t = c + 0x40 - MAX_EXP_ENC;
usr.bin/sort/fields.c
331
for (; c >= 0; c--)
usr.bin/sort/fields.c
332
*pos++ = negate ^ (exponent >> (c * 8));
usr.bin/sort/files.c
113
c = getc(fp);
usr.bin/sort/files.c
114
if (c == EOF) {
usr.bin/sort/files.c
120
c = REC_D;
usr.bin/sort/files.c
122
*pos++ = c;
usr.bin/sort/files.c
123
if (c == REC_D) {
usr.bin/sort/files.c
179
int c;
usr.bin/sort/files.c
192
while ((c = getc(fp)) != EOF) {
usr.bin/sort/files.c
193
*pos++ = c;
usr.bin/sort/files.c
194
if (c == REC_D) {
usr.bin/sort/files.c
94
int c;
usr.bin/sort/fsort.c
127
c = get(fp, crec, bufend, ftbl);
usr.bin/sort/fsort.c
129
if (c == 0) {
usr.bin/sort/fsort.c
133
c = BUFFEND;
usr.bin/sort/fsort.c
139
if (c == EOF) {
usr.bin/sort/fsort.c
175
if (c == EOF && mfct == 0) {
usr.bin/sort/fsort.c
190
if (c == EOF) {
usr.bin/sort/fsort.c
90
int c, nelem;
usr.bin/sort/msort.c
202
int c, i, nfiles;
usr.bin/sort/msort.c
215
c = cfile->get(cfile->fp, cfile->rec, cfile->end, ftbl);
usr.bin/sort/msort.c
216
if (c == EOF)
usr.bin/sort/msort.c
219
if (c == BUFFEND) {
usr.bin/sort/msort.c
252
c = cfile->get(cfile->fp, new_rec, new_end, ftbl);
usr.bin/sort/msort.c
253
if (c == EOF) {
usr.bin/sort/msort.c
263
if (c == BUFFEND) {
usr.bin/sort/msort.c
280
c = insert(flist, cfile, nfiles, DELETE);
usr.bin/sort/msort.c
281
if (c != 0 || (UNIQUE && cfile == flist[0]
usr.bin/sort/msort.c
374
int c;
usr.bin/sort/msort.c
389
if (0 < (c = cmp(prec, crec))) {
usr.bin/sort/msort.c
395
if (UNIQUE && !c) {
usr.bin/sort/radix_sort.c
119
c = hdr->data[data_index];
usr.bin/sort/radix_sort.c
120
if (++count[c] == 1) {
usr.bin/sort/radix_sort.c
121
if (c < bmin)
usr.bin/sort/radix_sort.c
122
bmin = c;
usr.bin/sort/radix_sort.c
145
if ((c = *cp) > 1) {
usr.bin/sort/radix_sort.c
146
if (c > bigc) {
usr.bin/sort/radix_sort.c
147
bigc = c;
usr.bin/sort/radix_sort.c
150
push(ak, c, data_index+1);
usr.bin/sort/radix_sort.c
152
ak += c;
usr.bin/sort/radix_sort.c
74
u_int c;
usr.bin/spell/spellprog/spellprog.c
517
char c = *ep;
usr.bin/spell/spellprog/spellprog.c
522
ep[-1] = c;
usr.bin/spell/spellprog/spellprog.c
657
char c;
usr.bin/spell/spellprog/spellprog.c
659
c = ep[-1];
usr.bin/spell/spellprog/spellprog.c
660
if (c == 'e')
usr.bin/spell/spellprog/spellprog.c
662
if (!vowel(c) && vowel(ep[-2])) {
usr.bin/spell/spellprog/spellprog.c
663
c = *ep;
usr.bin/spell/spellprog/spellprog.c
668
*ep = c;
usr.bin/spell/spellprog/spellprog.c
790
vowel(int c)
usr.bin/spell/spellprog/spellprog.c
793
switch (tolower(c)) {
usr.bin/spell/spellprog/spellprog.c
847
char c;
usr.bin/spell/spellprog/spellprog.c
850
c = *ep;
usr.bin/spell/spellprog/spellprog.c
859
*ep = c;
usr.bin/stat/stat.c
199
#define addchar(s, c, nl) \
usr.bin/stat/stat.c
201
(void)fputc((c), (s)); \
usr.bin/stat/stat.c
202
(*nl) = ((c) == '\n'); \
usr.bin/systat/cmds.c
53
struct command *c;
usr.bin/systat/cmds.c
64
for (c = curmode->c_commands; c->c_name; c++) {
usr.bin/systat/cmds.c
65
if (strstr(c->c_name, cmd) == c->c_name) {
usr.bin/systat/cmds.c
66
(c->c_cmd)(args);
usr.bin/systat/cmds.c
72
for (c = global_commands; c->c_name; c++) {
usr.bin/systat/cmds.c
73
if (strstr(c->c_name, cmd) == c->c_name) {
usr.bin/systat/cmds.c
74
(c->c_cmd)(args);
usr.bin/systat/extern.h
39
#define ADJINETCTR(c, o, n, e) (c.e = n.e - o.e)
usr.bin/systat/extern.h
40
#define xADJINETCTR(c, o, n, e) (c[e] = n[e] - o[e])
usr.bin/systat/ifstat.c
128
#define DOPUTRATE(c, r, d) do { \
usr.bin/systat/ifstat.c
129
CLEAR_COLUMN(r, c); \
usr.bin/systat/ifstat.c
131
mvprintw(r, (c), "%10.3f %cp%s ", \
usr.bin/systat/ifstat.c
132
convert(d##_##c, curscale), \
usr.bin/systat/ifstat.c
133
*get_string(d##_##c, curscale), \
usr.bin/systat/ifstat.c
137
mvprintw(r, (c), "%10.3f %s%s ", \
usr.bin/systat/ifstat.c
138
convert(d##_##c, curscale), \
usr.bin/systat/ifstat.c
139
get_string(d##_##c, curscale), \
usr.bin/systat/ifstat.c
144
#define DOPUTTOTAL(c, r, d) do { \
usr.bin/systat/ifstat.c
145
CLEAR_COLUMN((r), (c)); \
usr.bin/systat/ifstat.c
147
mvprintw((r), (c), "%12.3f %cp ", \
usr.bin/systat/ifstat.c
148
convert(d##_##c, SC_AUTO), \
usr.bin/systat/ifstat.c
149
*get_string(d##_##c, SC_AUTO)); \
usr.bin/systat/ifstat.c
152
mvprintw((r), (c), "%12.3f %s ", \
usr.bin/systat/ifstat.c
153
convert(d##_##c, SC_AUTO), \
usr.bin/systat/ifstat.c
154
get_string(d##_##c, SC_AUTO)); \
usr.bin/systat/ifstat.c
158
#define PUTRATE(c, r) do { \
usr.bin/systat/ifstat.c
159
DOPUTRATE(c, (r), IN); \
usr.bin/systat/ifstat.c
160
DOPUTRATE(c, (r)+1, OUT); \
usr.bin/systat/ifstat.c
163
#define PUTTOTAL(c, r) do { \
usr.bin/systat/ifstat.c
164
DOPUTTOTAL(c, (r), IN); \
usr.bin/systat/ifstat.c
165
DOPUTTOTAL(c, (r)+1, OUT); \
usr.bin/systat/ifstat.c
363
char *p = matchline, *c, t;
usr.bin/systat/ifstat.c
373
c = p;
usr.bin/systat/ifstat.c
374
while ((mlen = strcspn(c, " ;,")) != 0) {
usr.bin/systat/ifstat.c
375
p = c + mlen;
usr.bin/systat/ifstat.c
377
if (p - c > 0) {
usr.bin/systat/ifstat.c
379
if (fnmatch(c, ifname, FNM_CASEFOLD) == 0) {
usr.bin/systat/ifstat.c
384
c = p + strspn(p, " ;,");
usr.bin/systat/ifstat.c
387
c = p + strspn(p, " ;,");
usr.bin/systat/main.c
295
c = '<';
usr.bin/systat/main.c
297
c = '>';
usr.bin/systat/main.c
301
c = '|';
usr.bin/systat/main.c
305
whline(wload, c, (j > 50) ? 50 : j);
usr.bin/systat/main.c
73
char c;
usr.bin/systat/syscall.c
182
int i, ii, l, c;
usr.bin/systat/syscall.c
245
c = 0;
usr.bin/systat/syscall.c
246
move(l, c);
usr.bin/systat/syscall.c
249
mvprintw(l, c, FMT, "STATS", "counts");
usr.bin/systat/syscall.c
253
mvprintw(l, c, FMT, "TIMES", "times");
usr.bin/systat/syscall.c
267
mvprintw(l, c, "%17.17s", name);
usr.bin/systat/syscall.c
269
mvprintw(l, c, "syscall #%d ", i);
usr.bin/systat/syscall.c
271
putuint64(val[i], l, c + 18, 8);
usr.bin/systat/syscall.c
272
c += 27;
usr.bin/systat/syscall.c
273
if (c + 26 > COLS) {
usr.bin/systat/syscall.c
274
c = 0;
usr.bin/systat/vmstat.c
409
#define PUTRATE(s, s1, fld, l, c, w) \
usr.bin/systat/vmstat.c
412
putint((int)((float)(s).fld/etime + 0.5), l, c, w);}
usr.bin/systat/vmstat.c
422
int i, l, c;
usr.bin/systat/vmstat.c
453
for (f2 = 0.0, psiz = 0, c = 0; c < CPUSTATES; c++) {
usr.bin/systat/vmstat.c
454
i = cpuorder[c];
usr.bin/systat/vmstat.c
458
if (c == 0)
usr.bin/systat/vmstat.c
461
putfloat(f1, GRAPHROW, GRAPHCOL + 10 * c + 1, 5, 1, 0);
usr.bin/systat/vmstat.c
462
mvhline(GRAPHROW + 2, psiz, cpuchar[c], l);
usr.bin/systat/vmstat.c
476
int i, l, r, c;
usr.bin/systat/vmstat.c
574
for (l = 0, i = 0, r = DISKROW, c = DISKCOL;
usr.bin/systat/vmstat.c
580
c += DISKCOLWIDTH;
usr.bin/systat/vmstat.c
583
if (c + DISKCOLWIDTH > DISKCOLEND) {
usr.bin/systat/vmstat.c
601
dinfo(i, r, c);
usr.bin/systat/vmstat.c
607
c += DISKCOLWIDTH;
usr.bin/systat/vmstat.c
612
mvprintw(r+j, c, "%*s", DISKCOLWIDTH, "");
usr.bin/systat/vmstat.c
614
mvprintw(r, c+j*DISKCOLWIDTH, "%*s", DISKCOLWIDTH, "");
usr.bin/systat/vmstat.c
734
puthumanint_scale(u_int64_t n, int l, int c, int w, int scale)
usr.bin/systat/vmstat.c
738
if (move(l, c) != OK)
usr.bin/systat/vmstat.c
752
puthumanint_sticky(u_int64_t n, int l, int c, int w, int *scale)
usr.bin/systat/vmstat.c
763
puthumanint_scale(n, l, c, w, sc);
usr.bin/systat/vmstat.c
767
puthumanint(u_int64_t n, int l, int c, int w)
usr.bin/systat/vmstat.c
770
puthumanint_scale(n, l, c, w, HN_AUTOSCALE);
usr.bin/systat/vmstat.c
774
putint(int n, int l, int c, int w)
usr.bin/systat/vmstat.c
778
if (move(l, c) != OK)
usr.bin/systat/vmstat.c
786
puthumanint(n, l, c, w);
usr.bin/systat/vmstat.c
793
putfloat(double f, int l, int c, int w, int d, int nz)
usr.bin/systat/vmstat.c
797
if (move(l, c) != OK)
usr.bin/systat/vmstat.c
876
dinfo(int dn, int r, int c)
usr.bin/systat/vmstat.c
879
#define ADV if (disk_horiz) r++; else c += DISKCOLWIDTH
usr.bin/systat/vmstat.c
888
mvprintw(r, c, "%*.*s", DISKCOLWIDTH, DISKCOLWIDTH, dr_name[dn]);
usr.bin/systat/vmstat.c
891
putint((int)(cur.seek[dn]/dtime+0.5), r, c, DISKCOLWIDTH);
usr.bin/systat/vmstat.c
894
r, c, DISKCOLWIDTH);
usr.bin/systat/vmstat.c
897
r, c, DISKCOLWIDTH, &cur.scale[dn]);
usr.bin/systat/vmstat.c
904
putint(100, r, c, DISKCOLWIDTH);
usr.bin/systat/vmstat.c
906
putfloat(atime, r, c, DISKCOLWIDTH, 1, 1);
usr.bin/talk/display.c
101
c = readwin(win->x_win, win->x_line, xcol);
usr.bin/talk/display.c
102
if (c != ' ')
usr.bin/talk/display.c
107
c = readwin(win->x_win, win->x_line, xcol);
usr.bin/talk/display.c
108
if (c == ' ')
usr.bin/talk/display.c
165
int c;
usr.bin/talk/display.c
169
c = winch(win);
usr.bin/talk/display.c
171
return (c);
usr.bin/talk/display.c
96
int endcol, xcol, j, c;
usr.bin/telnet/commands.c
1009
struct togglelist *c;
usr.bin/telnet/commands.c
1032
c = GETTOGGLE(name);
usr.bin/telnet/commands.c
1033
if (c == 0) {
usr.bin/telnet/commands.c
1037
} else if (Ambiguous(c)) {
usr.bin/telnet/commands.c
1042
if (c->variable) {
usr.bin/telnet/commands.c
1043
*c->variable = 0;
usr.bin/telnet/commands.c
1044
if (c->actionexplanation) {
usr.bin/telnet/commands.c
1045
printf("%s %s.\n", *c->variable? "Will" : "Won't",
usr.bin/telnet/commands.c
1046
c->actionexplanation);
usr.bin/telnet/commands.c
1049
if (c->handler)
usr.bin/telnet/commands.c
1050
(*c->handler)(0);
usr.bin/telnet/commands.c
1112
unsigned char c;
usr.bin/telnet/commands.c
1122
c = (unsigned char)(linemode | bit);
usr.bin/telnet/commands.c
1124
c = (unsigned char)(linemode & ~bit);
usr.bin/telnet/commands.c
1125
lm_mode(&c, 1, 1);
usr.bin/telnet/commands.c
1477
struct slclist *c;
usr.bin/telnet/commands.c
1479
for (c = SlcList; c->name; c++) {
usr.bin/telnet/commands.c
1480
if (c->help) {
usr.bin/telnet/commands.c
1481
if (*c->help)
usr.bin/telnet/commands.c
1482
printf("%-15s %s\n", c->name, c->help);
usr.bin/telnet/commands.c
1499
struct slclist *c;
usr.bin/telnet/commands.c
1506
c = getslc(argv[1]);
usr.bin/telnet/commands.c
1507
if (c == 0) {
usr.bin/telnet/commands.c
1512
if (Ambiguous(c)) {
usr.bin/telnet/commands.c
1517
(*c->handler)(c->arg);
usr.bin/telnet/commands.c
1553
struct envlist *c;
usr.bin/telnet/commands.c
1555
for (c = EnvList; c->name; c++) {
usr.bin/telnet/commands.c
1556
if (c->help) {
usr.bin/telnet/commands.c
1557
if (*c->help)
usr.bin/telnet/commands.c
1558
printf("%-15s %s\n", c->name, c->help);
usr.bin/telnet/commands.c
1576
struct envlist *c;
usr.bin/telnet/commands.c
1583
c = getenvcmd(argv[1]);
usr.bin/telnet/commands.c
1584
if (c == 0) {
usr.bin/telnet/commands.c
1589
if (Ambiguous(c)) {
usr.bin/telnet/commands.c
1594
if (c->narg + 2 != argc) {
usr.bin/telnet/commands.c
1597
c->narg < argc + 2 ? "only " : "",
usr.bin/telnet/commands.c
1598
c->narg, c->narg == 1 ? "" : "s", c->name);
usr.bin/telnet/commands.c
1601
(*c->handler)(argv[2], argv[3]);
usr.bin/telnet/commands.c
1830
struct authlist *c;
usr.bin/telnet/commands.c
1832
for (c = AuthList; c->name; c++) {
usr.bin/telnet/commands.c
1833
if (c->help) {
usr.bin/telnet/commands.c
1834
if (*c->help)
usr.bin/telnet/commands.c
1835
printf("%-15s %s\n", c->name, c->help);
usr.bin/telnet/commands.c
1846
struct authlist *c;
usr.bin/telnet/commands.c
185
char *cp, *cp2, c;
usr.bin/telnet/commands.c
1854
c = (struct authlist *)
usr.bin/telnet/commands.c
1856
if (c == 0) {
usr.bin/telnet/commands.c
1861
if (Ambiguous(c)) {
usr.bin/telnet/commands.c
1866
if (c->narg + 2 != argc) {
usr.bin/telnet/commands.c
1869
c->narg < argc + 2 ? "only " : "",
usr.bin/telnet/commands.c
1870
c->narg, c->narg == 1 ? "" : "s", c->name);
usr.bin/telnet/commands.c
1873
return (*c->handler)(argv[2]);
usr.bin/telnet/commands.c
1923
struct encryptlist *c;
usr.bin/telnet/commands.c
1925
for (c = EncryptList; c->name; c++) {
usr.bin/telnet/commands.c
1926
if (c->help) {
usr.bin/telnet/commands.c
1927
if (*c->help)
usr.bin/telnet/commands.c
1928
printf("%-15s %s\n", c->name, c->help);
usr.bin/telnet/commands.c
1939
struct encryptlist *c;
usr.bin/telnet/commands.c
1948
c = (struct encryptlist *)
usr.bin/telnet/commands.c
1950
if (c == NULL) {
usr.bin/telnet/commands.c
1956
if (Ambiguous(c)) {
usr.bin/telnet/commands.c
1963
if (argc < c->minarg || argc > c->maxarg) {
usr.bin/telnet/commands.c
1964
if (c->minarg == c->maxarg) {
usr.bin/telnet/commands.c
1966
c->minarg < argc ? "only " : "", c->minarg,
usr.bin/telnet/commands.c
1967
c->minarg == 1 ? "" : "s");
usr.bin/telnet/commands.c
1970
c->maxarg < argc ? "only " : "", c->minarg,
usr.bin/telnet/commands.c
1971
c->maxarg);
usr.bin/telnet/commands.c
1975
c->name);
usr.bin/telnet/commands.c
1978
if (c->needconnect && !connected) {
usr.bin/telnet/commands.c
198
while ((c = *cp) != '\0') {
usr.bin/telnet/commands.c
1985
return ((*c->handler)(argv[2], argv[3]));
usr.bin/telnet/commands.c
200
while (isspace((unsigned char)c))
usr.bin/telnet/commands.c
201
c = *++cp;
usr.bin/telnet/commands.c
202
if (c == '\0')
usr.bin/telnet/commands.c
206
for (cp2 = cp; c != '\0'; c = *++cp) {
usr.bin/telnet/commands.c
208
if (c == inquote) {
usr.bin/telnet/commands.c
213
if (c == '\\') {
usr.bin/telnet/commands.c
214
if ((c = *++cp) == '\0')
usr.bin/telnet/commands.c
216
} else if (c == '"' || c == '\'') {
usr.bin/telnet/commands.c
217
inquote = c;
usr.bin/telnet/commands.c
219
} else if (isspace((unsigned char)c))
usr.bin/telnet/commands.c
222
*cp2++ = c;
usr.bin/telnet/commands.c
225
if (c == '\0')
usr.bin/telnet/commands.c
2364
Command *c;
usr.bin/telnet/commands.c
240
char c;
usr.bin/telnet/commands.c
2405
c = getcmd(margv[0]);
usr.bin/telnet/commands.c
2406
if (Ambiguous(c)) {
usr.bin/telnet/commands.c
2410
if (c == 0) {
usr.bin/telnet/commands.c
2414
if (c->needconnect && !connected) {
usr.bin/telnet/commands.c
2418
if ((*c->handler)(margc, margv)) {
usr.bin/telnet/commands.c
2437
Command *c;
usr.bin/telnet/commands.c
2441
for (c = cmdtab; c->name; c++)
usr.bin/telnet/commands.c
2442
if (c->help) {
usr.bin/telnet/commands.c
2443
printf("%-*s\t%s\n", HELPINDENT, c->name,
usr.bin/telnet/commands.c
2444
c->help);
usr.bin/telnet/commands.c
2451
c = getcmd(arg);
usr.bin/telnet/commands.c
2452
if (Ambiguous(c))
usr.bin/telnet/commands.c
2454
else if (c == (Command *)0)
usr.bin/telnet/commands.c
2456
else if (c->help)
usr.bin/telnet/commands.c
2457
printf("%s\n", c->help);
usr.bin/telnet/commands.c
2468
Command *c;
usr.bin/telnet/commands.c
247
c = b | 0x40; /* DEL */
usr.bin/telnet/commands.c
249
c = b & 0x1f;
usr.bin/telnet/commands.c
2525
c = getcmd(margv[0]);
usr.bin/telnet/commands.c
2526
if (Ambiguous(c)) {
usr.bin/telnet/commands.c
253
c = *s;
usr.bin/telnet/commands.c
2530
if (c == 0) {
usr.bin/telnet/commands.c
2537
if (c->needconnect && !connected) {
usr.bin/telnet/commands.c
2541
(*c->handler)(margc, margv);
usr.bin/telnet/commands.c
256
return c;
usr.bin/telnet/commands.c
264
control(cc_t c)
usr.bin/telnet/commands.c
274
unsigned int uic = (unsigned int)c;
usr.bin/telnet/commands.c
278
if (c == (cc_t)_POSIX_VDISABLE) {
usr.bin/telnet/commands.c
283
buf[1] = ((c >> 6) & 07) + '0';
usr.bin/telnet/commands.c
284
buf[2] = ((c >> 3) & 07) + '0';
usr.bin/telnet/commands.c
285
buf[3] = (c & 07) + '0';
usr.bin/telnet/commands.c
288
buf[0] = c;
usr.bin/telnet/commands.c
292
buf[1] = '@' + c;
usr.bin/telnet/commands.c
791
struct togglelist *c;
usr.bin/telnet/commands.c
793
for (c = Togglelist; c->name; c++) {
usr.bin/telnet/commands.c
794
if (c->help) {
usr.bin/telnet/commands.c
795
if (*c->help)
usr.bin/telnet/commands.c
796
printf("%-15s toggle %s\n", c->name, c->help);
usr.bin/telnet/commands.c
809
struct togglelist *c;
usr.bin/telnet/commands.c
811
for (c = Togglelist; c->name; c++) {
usr.bin/telnet/commands.c
812
if (c->help) {
usr.bin/telnet/commands.c
813
if (*c->help)
usr.bin/telnet/commands.c
814
printf("%-15s %s %s\n", c->name, set ? "enable" : "disable",
usr.bin/telnet/commands.c
815
c->help);
usr.bin/telnet/commands.c
830
struct togglelist *c;
usr.bin/telnet/commands.c
841
c = GETTOGGLE(name);
usr.bin/telnet/commands.c
842
if (Ambiguous(c)) {
usr.bin/telnet/commands.c
846
} else if (c == 0) {
usr.bin/telnet/commands.c
851
if (c->variable) {
usr.bin/telnet/commands.c
852
*c->variable = !*c->variable; /* invert it */
usr.bin/telnet/commands.c
853
if (c->actionexplanation) {
usr.bin/telnet/commands.c
854
printf("%s %s.\n", *c->variable? "Will" : "Won't",
usr.bin/telnet/commands.c
855
c->actionexplanation);
usr.bin/telnet/commands.c
858
if (c->handler) {
usr.bin/telnet/commands.c
859
retval &= (*c->handler)(-1);
usr.bin/telnet/commands.c
939
struct togglelist *c;
usr.bin/telnet/commands.c
956
c = GETTOGGLE(argv[1]);
usr.bin/telnet/commands.c
957
if (c == 0) {
usr.bin/telnet/commands.c
961
} else if (Ambiguous(c)) {
usr.bin/telnet/commands.c
966
if (c->variable) {
usr.bin/telnet/commands.c
968
*c->variable = 1;
usr.bin/telnet/commands.c
970
*c->variable = 0;
usr.bin/telnet/commands.c
975
if (c->actionexplanation) {
usr.bin/telnet/commands.c
976
printf("%s %s.\n", *c->variable? "Will" : "Won't",
usr.bin/telnet/commands.c
977
c->actionexplanation);
usr.bin/telnet/commands.c
980
if (c->handler)
usr.bin/telnet/commands.c
981
(*c->handler)(1);
usr.bin/telnet/defines.h
36
#define NETADD(c) { *netoring.supply = (c); ring_supplied(&netoring, 1); }
usr.bin/telnet/defines.h
41
#define TTYADD(c) if (!(SYNCHing||flushout)) { \
usr.bin/telnet/defines.h
42
*ttyoring.supply = c; \
usr.bin/telnet/ring.c
290
unsigned char *s, *c;
usr.bin/telnet/ring.c
295
if (!(c = ring->clearto))
usr.bin/telnet/ring.c
296
c = ring->consume;
usr.bin/telnet/ring.c
300
if (s <= c) {
usr.bin/telnet/ring.c
301
(*encryptor)(c, ring->top - c);
usr.bin/telnet/ring.c
304
(*encryptor)(c, s - c);
usr.bin/telnet/ring.c
72
#define ring_increment(d,a,c) (((a)+(c) < (d)->top)? \
usr.bin/telnet/ring.c
73
(a)+(c) : (((a)+(c))-(d)->size))
usr.bin/telnet/ring.c
75
#define ring_decrement(d,a,c) (((a)-(c) >= (d)->bottom)? \
usr.bin/telnet/ring.c
76
(a)-(c) : (((a)-(c))-(d)->size))
usr.bin/telnet/sys_bsd.c
127
TerminalSpecialChars(int c)
usr.bin/telnet/sys_bsd.c
129
if (c == termIntChar) {
usr.bin/telnet/sys_bsd.c
132
} else if (c == termQuitChar) {
usr.bin/telnet/sys_bsd.c
140
} else if (c == termEofChar) {
usr.bin/telnet/sys_bsd.c
146
} else if (c == termSuspChar) {
usr.bin/telnet/sys_bsd.c
149
} else if (c == termFlushChar) {
usr.bin/telnet/sys_bsd.c
153
if (c == termKillChar) {
usr.bin/telnet/sys_bsd.c
156
} else if (c == termEraseChar) {
usr.bin/telnet/sys_bsd.c
556
int c;
usr.bin/telnet/sys_bsd.c
572
if ((c = poll(set, 3, dopoll ? 0 : INFTIM)) < 0) {
usr.bin/telnet/sys_bsd.c
573
if (c == -1) {
usr.bin/telnet/sys_bsd.c
604
c = recv(net, (char *)netiring.supply, canread, 0);
usr.bin/telnet/sys_bsd.c
605
if (c < 0 && errno == EWOULDBLOCK) {
usr.bin/telnet/sys_bsd.c
606
c = 0;
usr.bin/telnet/sys_bsd.c
607
} else if (c <= 0) {
usr.bin/telnet/sys_bsd.c
611
Dump('<', netiring.supply, c);
usr.bin/telnet/sys_bsd.c
613
if (c)
usr.bin/telnet/sys_bsd.c
614
ring_supplied(&netiring, c);
usr.bin/telnet/sys_bsd.c
622
c = TerminalRead(ttyiring.supply, ring_empty_consecutive(&ttyiring));
usr.bin/telnet/sys_bsd.c
623
if (c < 0 && errno == EIO)
usr.bin/telnet/sys_bsd.c
624
c = 0;
usr.bin/telnet/sys_bsd.c
625
if (c < 0 && errno == EWOULDBLOCK) {
usr.bin/telnet/sys_bsd.c
626
c = 0;
usr.bin/telnet/sys_bsd.c
628
if (c < 0) {
usr.bin/telnet/sys_bsd.c
631
if (c == 0) {
usr.bin/telnet/sys_bsd.c
635
c = 1;
usr.bin/telnet/sys_bsd.c
643
Dump('<', ttyiring.supply, c);
usr.bin/telnet/sys_bsd.c
645
ring_supplied(&ttyiring, c);
usr.bin/telnet/telnet.c
1498
unsigned char *vp, c;
usr.bin/telnet/telnet.c
1541
while ((c = *ep++) != '\0') {
usr.bin/telnet/telnet.c
1542
switch(c&0xff) {
usr.bin/telnet/telnet.c
1553
*opt_replyp++ = c;
usr.bin/telnet/telnet.c
1601
int c;
usr.bin/telnet/telnet.c
1624
c = *sbp++ & 0xff, scc--; count++;
usr.bin/telnet/telnet.c
1627
c = (*decrypt_input)(c);
usr.bin/telnet/telnet.c
1634
if (c == '\0') {
usr.bin/telnet/telnet.c
1637
else if ((c == '\n') && my_want_state_is_dont(TELOPT_ECHO) && !crmod) {
usr.bin/telnet/telnet.c
1638
TTYADD(c);
usr.bin/telnet/telnet.c
1644
if (c == IAC) {
usr.bin/telnet/telnet.c
1655
if ((c == '\r') && my_want_state_is_dont(TELOPT_BINARY)) {
usr.bin/telnet/telnet.c
1657
c = *sbp&0xff;
usr.bin/telnet/telnet.c
1660
c = (*decrypt_input)(c);
usr.bin/telnet/telnet.c
1662
if (c == 0) {
usr.bin/telnet/telnet.c
1667
(c == '\n')) {
usr.bin/telnet/telnet.c
1689
TTYADD(c);
usr.bin/telnet/telnet.c
1695
switch (c) {
usr.bin/telnet/telnet.c
1739
printoption("RCVD", IAC, c);
usr.bin/telnet/telnet.c
1746
printoption("RCVD", WILL, c);
usr.bin/telnet/telnet.c
1747
willoption(c);
usr.bin/telnet/telnet.c
1752
printoption("RCVD", WONT, c);
usr.bin/telnet/telnet.c
1753
wontoption(c);
usr.bin/telnet/telnet.c
1758
printoption("RCVD", DO, c);
usr.bin/telnet/telnet.c
1759
dooption(c);
usr.bin/telnet/telnet.c
1760
if (c == TELOPT_NAWS) {
usr.bin/telnet/telnet.c
1762
} else if (c == TELOPT_LFLOW) {
usr.bin/telnet/telnet.c
1771
printoption("RCVD", DONT, c);
usr.bin/telnet/telnet.c
1772
dontoption(c);
usr.bin/telnet/telnet.c
1779
if (c == IAC) {
usr.bin/telnet/telnet.c
1782
SB_ACCUM(c);
usr.bin/telnet/telnet.c
1787
if (c != SE) {
usr.bin/telnet/telnet.c
1788
if (c != IAC) {
usr.bin/telnet/telnet.c
1802
SB_ACCUM(c);
usr.bin/telnet/telnet.c
1806
printoption("In SUBOPTION processing, RCVD", IAC, c);
usr.bin/telnet/telnet.c
1811
SB_ACCUM(c);
usr.bin/telnet/telnet.c
1854
int c;
usr.bin/telnet/telnet.c
1868
c = *tbp++ & 0xff, sc = strip(c), tcc--; count++;
usr.bin/telnet/telnet.c
1878
if (sc == '.' || c == termEofChar) {
usr.bin/telnet/telnet.c
1900
c = sc = rlogin;
usr.bin/telnet/telnet.c
1944
switch (c) {
usr.bin/telnet/telnet.c
1969
NETADD(c);
usr.bin/telnet/telnet.c
1972
} else if (c == IAC) {
usr.bin/telnet/telnet.c
1975
NETADD(c);
usr.bin/telnet/telnet.c
251
send_do(int c, int init)
usr.bin/telnet/telnet.c
254
if (((do_dont_resp[c] == 0) && my_state_is_do(c)) ||
usr.bin/telnet/telnet.c
255
my_want_state_is_do(c))
usr.bin/telnet/telnet.c
257
set_my_want_state_do(c);
usr.bin/telnet/telnet.c
258
do_dont_resp[c]++;
usr.bin/telnet/telnet.c
261
NETADD(c);
usr.bin/telnet/telnet.c
262
printoption("SENT", DO, c);
usr.bin/telnet/telnet.c
266
send_dont(int c, int init)
usr.bin/telnet/telnet.c
269
if (((do_dont_resp[c] == 0) && my_state_is_dont(c)) ||
usr.bin/telnet/telnet.c
270
my_want_state_is_dont(c))
usr.bin/telnet/telnet.c
272
set_my_want_state_dont(c);
usr.bin/telnet/telnet.c
273
do_dont_resp[c]++;
usr.bin/telnet/telnet.c
276
NETADD(c);
usr.bin/telnet/telnet.c
277
printoption("SENT", DONT, c);
usr.bin/telnet/telnet.c
281
send_will(int c, int init)
usr.bin/telnet/telnet.c
284
if (((will_wont_resp[c] == 0) && my_state_is_will(c)) ||
usr.bin/telnet/telnet.c
285
my_want_state_is_will(c))
usr.bin/telnet/telnet.c
287
set_my_want_state_will(c);
usr.bin/telnet/telnet.c
288
will_wont_resp[c]++;
usr.bin/telnet/telnet.c
291
NETADD(c);
usr.bin/telnet/telnet.c
292
printoption("SENT", WILL, c);
usr.bin/telnet/telnet.c
296
send_wont(int c, int init)
usr.bin/telnet/telnet.c
299
if (((will_wont_resp[c] == 0) && my_state_is_wont(c)) ||
usr.bin/telnet/telnet.c
300
my_want_state_is_wont(c))
usr.bin/telnet/telnet.c
302
set_my_want_state_wont(c);
usr.bin/telnet/telnet.c
303
will_wont_resp[c]++;
usr.bin/telnet/telnet.c
306
NETADD(c);
usr.bin/telnet/telnet.c
307
printoption("SENT", WONT, c);
usr.bin/telnet/telnet.c
559
char c, *cp, **argvp, *cp2, **argv, **avt;
usr.bin/telnet/telnet.c
591
for (cp = cp2 = buf; (c = *cp); cp++) {
usr.bin/telnet/telnet.c
592
if (c == '|' || c == ':') {
usr.bin/telnet/telnet.c
607
if (c == ':')
usr.bin/telnet/telnet.c
614
while ((c = *cp) == '|')
usr.bin/telnet/telnet.c
623
if ((c == ' ') || !isascii(c))
usr.bin/telnet/telnet.c
625
else if (islower((unsigned char)c))
usr.bin/telnet/telnet.c
626
*cp = toupper((unsigned char)c);
usr.bin/telnet/telnet.c
75
#define SB_ACCUM(c) if (subpointer < (subbuffer+sizeof subbuffer)) { \
usr.bin/telnet/telnet.c
76
*subpointer++ = (c); \
usr.bin/telnet/utilities.c
80
unsigned char c;
usr.bin/telnet/utilities.c
82
while ((c = *argument) != 0) {
usr.bin/telnet/utilities.c
83
if (islower(c)) {
usr.bin/telnet/utilities.c
84
*argument = toupper(c);
usr.bin/tftp/main.c
189
int c;
usr.bin/tftp/main.c
196
while ((c = getopt(argc, argv, "e")) != -1) {
usr.bin/tftp/main.c
197
switch (c) {
usr.bin/tftp/main.c
659
const struct cmd *c;
usr.bin/tftp/main.c
675
c = getcmd(margv[0]);
usr.bin/tftp/main.c
676
if (c == (struct cmd *)-1) {
usr.bin/tftp/main.c
680
if (c == 0) {
usr.bin/tftp/main.c
684
(*c->handler)(margc, margv);
usr.bin/tftp/main.c
692
const struct cmd *c, *found;
usr.bin/tftp/main.c
698
for (c = cmdtab; (p = c->name) != NULL; c++) {
usr.bin/tftp/main.c
701
return c;
usr.bin/tftp/main.c
706
found = c;
usr.bin/tftp/main.c
756
const struct cmd *c;
usr.bin/tftp/main.c
760
for (c = cmdtab; c->name; c++)
usr.bin/tftp/main.c
761
(void)printf("%-*s\t%s\n", (int)HELPINDENT, c->name,
usr.bin/tftp/main.c
762
c->help);
usr.bin/tftp/main.c
768
c = getcmd(arg);
usr.bin/tftp/main.c
769
if (c == (struct cmd *)-1)
usr.bin/tftp/main.c
771
else if (c == NULL)
usr.bin/tftp/main.c
774
(void)printf("%s\n", c->help);
usr.bin/tftp/tftpsubs.c
142
int c;
usr.bin/tftp/tftpsubs.c
162
c = '\n'; /* lf to cr,lf */
usr.bin/tftp/tftpsubs.c
163
else c = '\0'; /* cr to cr,nul */
usr.bin/tftp/tftpsubs.c
167
c = getc(file);
usr.bin/tftp/tftpsubs.c
168
if (c == EOF) break;
usr.bin/tftp/tftpsubs.c
169
if (c == '\n' || c == '\r') {
usr.bin/tftp/tftpsubs.c
170
prevchar = c;
usr.bin/tftp/tftpsubs.c
171
c = '\r';
usr.bin/tftp/tftpsubs.c
175
*p++ = c;
usr.bin/tftp/tftpsubs.c
210
int c; /* current character */
usr.bin/tftp/tftpsubs.c
232
c = *p++; /* pick up a character */
usr.bin/tftp/tftpsubs.c
234
if (c == '\n') /* if have cr,lf then just */
usr.bin/tftp/tftpsubs.c
237
if (c == '\0') /* if have cr,nul then */
usr.bin/tftp/tftpsubs.c
241
if (putc(c, file) == EOF)
usr.bin/tftp/tftpsubs.c
244
prevchar = c;
usr.bin/tip/aculib/biz22.c
143
char c;
usr.bin/tip/aculib/biz22.c
153
(void)read(FD, &c, 1);
usr.bin/tip/aculib/biz22.c
156
c &= 0177;
usr.bin/tip/aculib/biz22.c
157
return (c != '\r');
usr.bin/tip/aculib/biz22.c
164
char c;
usr.bin/tip/aculib/biz22.c
174
(void)read(FD, &c, 1);
usr.bin/tip/aculib/biz22.c
176
c &= 0177;
usr.bin/tip/aculib/biz22.c
177
if (c != *s++)
usr.bin/tip/aculib/biz31.c
133
char c;
usr.bin/tip/aculib/biz31.c
135
while ((c = *s++) != '\0')
usr.bin/tip/aculib/biz31.c
136
switch (c) {
usr.bin/tip/aculib/biz31.c
138
(void)read(FD, &c, 1);
usr.bin/tip/aculib/biz31.c
143
c = *s++;
usr.bin/tip/aculib/biz31.c
144
(void)write(FD, &c, 1);
usr.bin/tip/aculib/biz31.c
148
(void)write(FD, &c, 1);
usr.bin/tip/aculib/biz31.c
149
(void)read(FD, &c, 1);
usr.bin/tip/aculib/biz31.c
166
char c;
usr.bin/tip/aculib/biz31.c
177
(void)read(FD, &c, 1);
usr.bin/tip/aculib/biz31.c
179
if (c != *s++)
usr.bin/tip/aculib/biz31.c
190
char c;
usr.bin/tip/aculib/biz31.c
197
(void)read(FD, &c, 1);
usr.bin/tip/aculib/courier.c
140
char c;
usr.bin/tip/aculib/courier.c
154
(void)read(FD, &c, 1);
usr.bin/tip/aculib/courier.c
156
c &= 0177;
usr.bin/tip/aculib/courier.c
159
(void)putchar(c);
usr.bin/tip/aculib/courier.c
161
} while (c == *match++);
usr.bin/tip/aculib/courier.c
185
char c;
usr.bin/tip/aculib/courier.c
203
n = read(FD, &c, 1);
usr.bin/tip/aculib/courier.c
207
c &= 0x7f;
usr.bin/tip/aculib/courier.c
208
if (c == '\r') {
usr.bin/tip/aculib/courier.c
241
dialer_buf[nc] = c;
usr.bin/tip/aculib/courier.c
244
(void)putchar(c);
usr.bin/tip/aculib/df.c
109
(void)read(f, &c, 1);
usr.bin/tip/aculib/df.c
117
return (c == 'A');
usr.bin/tip/aculib/df.c
72
char c;
usr.bin/tip/aculib/df.c
75
c = '\0';
usr.bin/tip/aculib/hayes.c
156
char c;
usr.bin/tip/aculib/hayes.c
172
(void)read(FD, &c, 1);
usr.bin/tip/aculib/hayes.c
174
c &= 0177;
usr.bin/tip/aculib/hayes.c
176
(void)printf("%c 0x%x ", c, c);
usr.bin/tip/aculib/hayes.c
179
if (c == match[i])
usr.bin/tip/aculib/hayes.c
180
status = c;
usr.bin/tip/aculib/hayes.c
190
error_rep(char c)
usr.bin/tip/aculib/hayes.c
194
switch (c) {
usr.bin/tip/aculib/hayes.c
221
(void)printf("Unknown Modem error: %c (0x%x)", c, c);
usr.bin/tip/aculib/hayes.c
234
char c;
usr.bin/tip/aculib/hayes.c
244
c = gobble("03");
usr.bin/tip/aculib/hayes.c
245
if (c != '0' && c != '3') {
usr.bin/tip/aculib/t3000.c
134
char c;
usr.bin/tip/aculib/t3000.c
148
(void)read(FD, &c, 1);
usr.bin/tip/aculib/t3000.c
150
c &= 0177;
usr.bin/tip/aculib/t3000.c
153
(void)putchar(c);
usr.bin/tip/aculib/t3000.c
155
} while (c == *match++);
usr.bin/tip/aculib/t3000.c
193
char c;
usr.bin/tip/aculib/t3000.c
211
n = read(FD, &c, 1);
usr.bin/tip/aculib/t3000.c
215
c &= 0x7f;
usr.bin/tip/aculib/t3000.c
216
if (c == '\r') {
usr.bin/tip/aculib/t3000.c
249
dialer_buf[nc] = c;
usr.bin/tip/aculib/t3000.c
252
(void)putchar(c);
usr.bin/tip/aculib/v3451.c
201
char c;
usr.bin/tip/aculib/v3451.c
203
while ((c = *s1++) == *s2++)
usr.bin/tip/aculib/v3451.c
204
if (c == '\0')
usr.bin/tip/aculib/v3451.c
206
return (c == '\0');
usr.bin/tip/aculib/v831.c
179
#define pc(x) (void)(c = x, write(AC,&c,1))
usr.bin/tip/aculib/v831.c
190
char c;
usr.bin/tip/aculib/v831.c
221
i = read(AC, &c, 1);
usr.bin/tip/aculib/v831.c
223
(void)printf("read %d chars, char=%c, errno %d\n", i, c, errno);
usr.bin/tip/aculib/v831.c
226
c = 'M';
usr.bin/tip/aculib/v831.c
227
if (c == 'B' || c == 'G') {
usr.bin/tip/aculib/v831.c
228
char cc, oc = c;
usr.bin/tip/aculib/v831.c
235
c = oc;
usr.bin/tip/aculib/v831.c
240
(void)printf("dialit: returns %c\n", c);
usr.bin/tip/aculib/v831.c
242
return (c);
usr.bin/tip/aculib/ventel.c
139
char c;
usr.bin/tip/aculib/ventel.c
141
while ((c = *s++) != 0) switch (c) {
usr.bin/tip/aculib/ventel.c
144
(void)read(FD, &c, 1);
usr.bin/tip/aculib/ventel.c
149
c = *s++;
usr.bin/tip/aculib/ventel.c
150
(void)write(FD, &c, 1);
usr.bin/tip/aculib/ventel.c
154
(void)write(FD, &c, 1);
usr.bin/tip/aculib/ventel.c
155
(void)read(FD, &c, 1);
usr.bin/tip/aculib/ventel.c
174
char c;
usr.bin/tip/aculib/ventel.c
188
c = (*cp++ &= 0177);
usr.bin/tip/aculib/ventel.c
191
(void)putchar(c);
usr.bin/tip/aculib/ventel.c
193
} while (c != '\n' && c != match);
usr.bin/tip/aculib/ventel.c
196
return (c == match);
usr.bin/tip/cmds.c
132
char c, buffer[BUFSIZ];
usr.bin/tip/cmds.c
151
(void)read(FD, &c, 1);
usr.bin/tip/cmds.c
152
while ((c&STRIP_PAR) != '\n');
usr.bin/tip/cmds.c
159
eof = read(FD, &c, 1) <= 0;
usr.bin/tip/cmds.c
160
c &= STRIP_PAR;
usr.bin/tip/cmds.c
163
if (eof || any(c, eofchars))
usr.bin/tip/cmds.c
165
if (c == 0)
usr.bin/tip/cmds.c
167
if (c == '\r')
usr.bin/tip/cmds.c
169
*p++ = c;
usr.bin/tip/cmds.c
171
if (c == '\n' && boolean(value(VERBOSE)))
usr.bin/tip/cmds.c
292
int c;
usr.bin/tip/cmds.c
306
(void)read(FD, &c, (size_t)1); /* trailing \n */
usr.bin/tip/cmds.c
319
c = getc(fd);
usr.bin/tip/cmds.c
322
if (c == EOF)
usr.bin/tip/cmds.c
324
if (c == 0177 && !boolean(value(RAWFTP)))
usr.bin/tip/cmds.c
326
lastc = c;
usr.bin/tip/cmds.c
327
if (c < 040) {
usr.bin/tip/cmds.c
328
if (c == '\n') {
usr.bin/tip/cmds.c
330
c = '\r';
usr.bin/tip/cmds.c
332
else if (c == '\t') {
usr.bin/tip/cmds.c
345
sendchar(c);
usr.bin/tip/cmds.c
346
} while (c != '\r' && !boolean(value(RAWFTP)));
usr.bin/tip/cmds.c
353
(void)read(FD, &c, (size_t)1);
usr.bin/tip/cmds.c
361
} while ((c&STRIP_PAR) != character(value(PROMPT)));
usr.bin/tip/cmds.c
422
sendchar(char c)
usr.bin/tip/cmds.c
427
cc = c;
usr.bin/tip/cmds.c
430
if (number(value(CDELAY)) > 0 && c != '\r')
usr.bin/tip/cmds.c
435
if (number(value(LDELAY)) > 0 && c == '\r')
usr.bin/tip/cmds.c
446
(void)printf("\r\ntimeout error (%s)\r\n", ctrl(c));
usr.bin/tip/cmds.c
468
pipeout(char c)
usr.bin/tip/cmds.c
474
(void)putchar(c);
usr.bin/tip/cmds.c
516
consh(char c)
usr.bin/tip/cmds.c
522
(void)putchar(c);
usr.bin/tip/cmds.c
605
char c;
usr.bin/tip/cmds.c
616
(void)read(repdes[0], &c, 1);
usr.bin/tip/cmds.c
617
if (c == 'n')
usr.bin/tip/cmds.c
69
getfl(char c)
usr.bin/tip/cmds.c
73
(void)putchar(c);
usr.bin/tip/cmds.c
838
suspend(char c)
usr.bin/tip/cmds.c
842
(void)kill(c == CTRL('y') ? getpid() : 0, SIGTSTP);
usr.bin/tip/cmds.c
923
int c;
usr.bin/tip/cmds.c
925
while ((c = *s1++) != '\0')
usr.bin/tip/cmds.c
926
if (any(c, s2))
usr.bin/tip/cu.c
169
cmdlineBR = cmdlineBR * 10 + (c - '0');
usr.bin/tip/cu.c
54
int c, i, phonearg = 0, e;
usr.bin/tip/cu.c
85
while((c = getopt_long(argc, argv,
usr.bin/tip/cu.c
90
switch(c) {
usr.bin/tip/tip.c
135
int c, i;
usr.bin/tip/tip.c
160
while((c = getopt(argc, argv, "v0123456789")) != -1) {
usr.bin/tip/tip.c
161
switch(c) {
usr.bin/tip/tip.c
169
cmdlineBR = cmdlineBR * 10 + (c - '0');
usr.bin/tip/tip.c
361
int c;
usr.bin/tip/tip.c
371
while ((c = getchar()) != EOF && (*p = c) != '\n' &&
usr.bin/tip/tip.c
402
int c = getchar();
usr.bin/tip/tip.c
403
if (__predict_false(c == EOF)) {
usr.bin/tip/tip.c
408
return c & STRIP_PAR;
usr.bin/tip/tip.c
467
char c = character(value(ESCAPE));
usr.bin/tip/tip.c
474
(void)printf("%s", ctrl(c));
usr.bin/tip/tip.c
479
if (c != gch)
usr.bin/tip/tip.c
480
xpwrite(FD, &c, 1);
usr.bin/tip/tip.c
485
any(char c, const char *p)
usr.bin/tip/tip.c
489
if (*p++ == c)
usr.bin/tip/tip.c
498
char *p = buf, c;
usr.bin/tip/tip.c
501
while ((c = *s++) != 0 && buf + sizeof buf - p > 2) {
usr.bin/tip/tip.c
503
if (*q++ == c) {
usr.bin/tip/tip.c
507
if (c < 040) {
usr.bin/tip/tip.c
508
*p++ = '^'; *p++ = c + 'A'-1;
usr.bin/tip/tip.c
509
} else if (c == 0177) {
usr.bin/tip/tip.c
512
*p++ = c;
usr.bin/tip/tip.c
521
ctrl(char c)
usr.bin/tip/tip.c
525
if (c < 040 || c == 0177) {
usr.bin/tip/tip.c
527
s[1] = c == 0177 ? '?' : c+'A'-1;
usr.bin/tip/tip.c
530
s[0] = c;
usr.bin/tip/tip.c
540
help(char c)
usr.bin/tip/tip.c
544
(void)printf("%c\r\n", c);
usr.bin/tip/tipout.c
73
char c, line[256];
usr.bin/tip/tipout.c
77
(void)read(fildes[0], &c, 1); /* We got the message */
usr.bin/tip/tipout.c
78
while (c != '\n' && line + sizeof line - pline > 0) {
usr.bin/tip/tipout.c
79
*pline++ = c;
usr.bin/tip/tipout.c
80
(void)read(fildes[0], &c, 1);
usr.bin/tip/value.c
276
char *p = s, c;
usr.bin/tip/value.c
279
while ((c = *s++) && c != stp)
usr.bin/tip/value.c
280
switch (c) {
usr.bin/tip/value.c
286
*p++ = c;
usr.bin/tip/value.c
291
c = *s++;
usr.bin/tip/value.c
292
if (c >= '0' && c <= '7')
usr.bin/tip/value.c
293
num = (num<<3)+(c-'0');
usr.bin/tip/value.c
298
if (c == *q++) {
usr.bin/tip/value.c
302
*p++ = c;
usr.bin/tip/value.c
306
if ((c = *s++) >= '0' && c <= '7') {
usr.bin/tip/value.c
307
num = (num<<3)+(c-'0');
usr.bin/tip/value.c
308
if ((c = *s++) >= '0' && c <= '7')
usr.bin/tip/value.c
309
num = (num<<3)+(c-'0');
usr.bin/tip/value.c
318
*p++ = c;
usr.bin/tip/value.c
321
return (c == stp ? s-1 : NULL);
usr.bin/touch/touch.c
371
#define isdigch(c) (isdigit((int)((unsigned char)(c))))
usr.bin/tset/misc.c
62
outc(int c)
usr.bin/tset/misc.c
65
return (putc(c, stderr));
usr.bin/tset/set.c
249
int c;
usr.bin/tset/set.c
258
for (c = 8; c < ncolumns; c += 8) {
usr.bin/tset/set.c
260
out = tiparm(column_address, c);
usr.bin/tsort/tsort.c
119
int c, n, ch;
usr.bin/tsort/tsort.c
164
for (n = 0, c = getc(fp);;) {
usr.bin/tsort/tsort.c
165
while (c != EOF && isspace(c))
usr.bin/tsort/tsort.c
166
c = getc(fp);
usr.bin/tsort/tsort.c
167
if (c == EOF)
usr.bin/tsort/tsort.c
174
b->b_buf[nused++] = (char)c;
usr.bin/tsort/tsort.c
177
c = getc(fp);
usr.bin/tsort/tsort.c
178
} while (c != EOF && !isspace(c));
usr.bin/ul/ul.c
100
int c;
usr.bin/ul/ul.c
107
while ((c=getopt(argc, argv, "it:T:")) != -1)
usr.bin/ul/ul.c
108
switch(c) {
usr.bin/ul/ul.c
148
int c;
usr.bin/ul/ul.c
153
while ((c = getc(f)) != EOF) switch(c) {
usr.bin/ul/ul.c
181
switch (c = getc(f)) {
usr.bin/ul/ul.c
216
IESC, c);
usr.bin/ul/ul.c
244
if (c < ' ') /* non printing */
usr.bin/ul/ul.c
247
obuf[col].c_char = c;
usr.bin/ul/ul.c
250
obuf[col].c_char = c;
usr.bin/ul/ul.c
252
} else if (obuf[col].c_char == c)
usr.bin/ul/ul.c
412
outchar(int c)
usr.bin/ul/ul.c
414
return (putchar(c & 0177));
usr.bin/ul/ul.c
420
outc(int c)
usr.bin/ul/ul.c
422
putchar(c);
usr.bin/uname/uname.c
67
int c;
usr.bin/uname/uname.c
73
while ((c = getopt(argc,argv,"amnprsv")) != -1) {
usr.bin/uname/uname.c
74
switch (c) {
usr.bin/unexpand/unexpand.c
78
int c;
usr.bin/unexpand/unexpand.c
86
while ((c = getopt(argc, argv, "at:")) != -1) {
usr.bin/unexpand/unexpand.c
87
switch (c) {
usr.bin/unifdef/unifdef.c
262
#define endsym(c) (!isalpha((unsigned char)c) && !isdigit((unsigned char)c) && c != '_')
usr.bin/unvis/unvis.c
110
int offset = 0, c, ret;
usr.bin/unvis/unvis.c
114
while ((c = getc(fp)) != EOF) {
usr.bin/unvis/unvis.c
117
switch(ret = unvis(&outc, (char)c, &state, eflags)) {
usr.bin/usbhidaction/usbhidaction.c
228
int c;
usr.bin/usbhidaction/usbhidaction.c
230
c = getc(f);
usr.bin/usbhidaction/usbhidaction.c
231
if (c != EOF)
usr.bin/usbhidaction/usbhidaction.c
232
(void)ungetc(c, f);
usr.bin/usbhidaction/usbhidaction.c
233
return c;
usr.bin/uudecode/uudecode.c
237
#define DEC(c) (((c) - ' ') & 077) /* single character decode */
usr.bin/uuencode/uuencode.c
123
#define ENC(c) ((c) ? ((c) & 077) + ' ': '`')
usr.bin/vgrind/RETEST/retest.c
59
char c;
usr.bin/vgrind/RETEST/retest.c
90
while ((c = getchar()) != '\n')
usr.bin/vgrind/RETEST/retest.c
91
*match++ = c;
usr.bin/vgrind/regexp.c
186
char c; /* character being processed */
usr.bin/vgrind/regexp.c
194
switch (c = *ure++) {
usr.bin/vgrind/regexp.c
197
switch (c = *ure++) {
usr.bin/vgrind/regexp.c
208
*ccre++ = c;
usr.bin/vgrind/regexp.c
226
MSYM(cs) = c;
usr.bin/vgrind/regexp.c
245
MSYM(cs) = c;
usr.bin/vgrind/regexp.c
285
MSYM(cs) = c;
usr.bin/vgrind/regexp.c
315
*ccre++ = c;
usr.bin/vgrind/regexp.c
63
#define makelower(c) (isupper((unsigned char)(c)) ? tolower((unsigned char)(c)) : (c))
usr.bin/vgrind/vfontedpr.c
350
#define isidchr(c) (isalnum((unsigned char)(c)) || (c) == '_')
usr.bin/vgrind/vfontedpr.c
609
putcp(int c)
usr.bin/vgrind/vfontedpr.c
612
switch(c) {
usr.bin/vgrind/vfontedpr.c
661
if (c < 040)
usr.bin/vgrind/vfontedpr.c
662
putchar('^'), c |= '@';
usr.bin/vgrind/vfontedpr.c
666
putchar(c);
usr.bin/vis/vis.c
173
wint_t c, c1, rachar;
usr.bin/vis/vis.c
191
c = getwc(fp);
usr.bin/vis/vis.c
192
if (c == WEOF && errno == EILSEQ) {
usr.bin/vis/vis.c
194
c = (wint_t)getc(fp);
usr.bin/vis/vis.c
197
while (c != WEOF) {
usr.bin/vis/vis.c
211
*cp++ = c;
usr.bin/vis/vis.c
212
if (c == '\\')
usr.bin/vis/vis.c
215
} else if (markeol && c == '\n') {
usr.bin/vis/vis.c
248
*mbibuff = (char)c;
usr.bin/vis/vis.c
251
mbilen = wctomb(mbibuff, c);
usr.bin/vis/vis.c
277
c = rachar;
usr.bin/vmstat/vmstat.c
338
int c, todo, verbose, wide;
usr.bin/vmstat/vmstat.c
349
while ((c = getopt(argc, argv, "Cc:efh:HilLM:mN:n:stu:UvWw:")) != -1) {
usr.bin/vmstat/vmstat.c
350
switch (c) {
usr.bin/vmstat/vmstat.c
533
int c;
usr.bin/vmstat/vmstat.c
536
if ((c = kvm_nlist(kd, namelist)) != 0) {
usr.bin/vmstat/vmstat.c
538
if (c == -1)
usr.bin/vmstat/vmstat.c
558
if ((c = kvm_nlist(kd, timenl)) == -1 || c == X_TIMENL_SIZE)
usr.bin/vmstat/vmstat.c
567
if ((c = kvm_nlist(kd, hashnl)) == -1 || c == X_HASHNL_SIZE)
usr.bin/wc/wc.c
146
size_t c = 0;
usr.bin/wc/wc.c
163
c++;
usr.bin/wc/wc.c
170
*retcnt = c;
usr.bin/what/what.c
103
int c;
usr.bin/what/what.c
105
while ((c = getchar()) != EOF) {
usr.bin/what/what.c
106
loop: if (c != '@')
usr.bin/what/what.c
108
if ((c = getchar()) != '(')
usr.bin/what/what.c
110
if ((c = getchar()) != '#')
usr.bin/what/what.c
112
if ((c = getchar()) != ')')
usr.bin/what/what.c
115
while ((c = getchar()) != EOF && c != '\0' && c != '"' &&
usr.bin/what/what.c
116
c != '>' && c != '\n' && c != '\\')
usr.bin/what/what.c
117
putchar(c);
usr.bin/what/what.c
67
int c;
usr.bin/what/what.c
72
while ((c = getopt(argc, argv, "s")) != -1) {
usr.bin/what/what.c
73
switch (c) {
usr.bin/who/who.c
107
int c, only_current_term, show_labels, quick_mode, default_mode;
usr.bin/who/who.c
115
while ((c = getopt(argc, argv, "abdHlmpqrsTtuv")) != -1) {
usr.bin/who/who.c
116
switch (c) {
usr.bin/write/write.c
274
unsigned char c;
usr.bin/write/write.c
276
#define PUTC(c) if (putchar(c) == EOF) goto err;
usr.bin/write/write.c
279
c = toascii(*s);
usr.bin/write/write.c
280
if (c == '\n') {
usr.bin/write/write.c
282
} else if (!isprint(c) && !isspace(c) && c != '\a') {
usr.bin/write/write.c
284
c ^= 0x40; /* DEL to ?, others to alpha */
usr.bin/write/write.c
286
PUTC(c);
usr.bin/xinstall/xinstall.c
1409
#define ismeta(c) _metachar[(c) & 0x7f]
usr.bin/xlint/common/emit.c
69
outchar(char c)
usr.bin/xlint/common/emit.c
72
fputc(c, output_file);
usr.bin/xlint/common/inittyp.c
52
#define typeinfo(name, signed_type, unsigned_type, size_in_bits, rv, c) \
usr.bin/xlint/common/inittyp.c
55
(c) == 'u' || (c) == 's' || (c) == 'p' ? RK_INTEGER : \
usr.bin/xlint/common/inittyp.c
56
(c) == 'f' ? RK_FLOATING : \
usr.bin/xlint/common/inittyp.c
57
(c) == 'c' ? RK_COMPLEX : \
usr.bin/xlint/common/inittyp.c
61
(c) == 's' || (c) == 'u', \
usr.bin/xlint/common/inittyp.c
62
(c) == 'u' || (c) == 'p', \
usr.bin/xlint/common/inittyp.c
63
(c) == 'f' || (c) == 'c', \
usr.bin/xlint/common/inittyp.c
64
(c) == 's' || (c) == 'u' || (c) == 'f' || \
usr.bin/xlint/common/inittyp.c
65
(c) == 'c', \
usr.bin/xlint/common/inittyp.c
66
(c) == 's' || (c) == 'u' || (c) == 'f' || \
usr.bin/xlint/common/inittyp.c
67
(c) == 'c' || (c) == 'p', \
usr.bin/xlint/common/inittyp.c
68
(c) == 'c', \
usr.bin/xlint/common/inittyp.c
72
#define typeinfo(name, signed_type, unsigned_type, size_in_bits, rank, c) \
usr.bin/xlint/common/inittyp.c
75
(c) == 's' || (c) == 'u', \
usr.bin/xlint/common/tyname.c
130
buf_add_char(buffer *buf, char c)
usr.bin/xlint/common/tyname.c
132
buf_add_mem(buf, &c, 1);
usr.bin/xlint/lint1/debug.c
561
val_t c = tok->u.constant;
usr.bin/xlint/lint1/debug.c
562
tspec_t t = c.v_tspec;
usr.bin/xlint/lint1/debug.c
564
debug_printf("%Lg", c.u.floating);
usr.bin/xlint/lint1/debug.c
566
debug_printf("%llu", (unsigned long long)c.u.integer);
usr.bin/xlint/lint1/debug.c
568
debug_printf("%lld", (long long)c.u.integer);
usr.bin/xlint/lint1/debug.c
572
c.u.integer != 0 ? "true" : "false");
usr.bin/xlint/lint1/decl.c
687
tspec_t c = dcs->d_complex_mod;
usr.bin/xlint/lint1/decl.c
699
if (t == NO_TSPEC && s == NO_TSPEC && l == NO_TSPEC && c == NO_TSPEC)
usr.bin/xlint/lint1/decl.c
702
t = c;
usr.bin/xlint/lint1/decl.c
726
if (t == COMPLEX && c == FLOAT)
usr.bin/xlint/lint1/decl.c
728
else if (t == COMPLEX && c == DOUBLE)
usr.bin/xlint/lint1/decl.c
730
else if (t == COMPLEX && c == LDOUBLE)
usr.bin/xlint/lint1/emit1.c
388
outqchar(char c)
usr.bin/xlint/lint1/emit1.c
391
if (ch_isprint(c) && c != '\\' && c != '"' && c != '\'') {
usr.bin/xlint/lint1/emit1.c
392
outchar(c);
usr.bin/xlint/lint1/emit1.c
397
switch (c) {
usr.bin/xlint/lint1/emit1.c
429
outchar((char)((((unsigned char)c >> 6) & 07) + '0'));
usr.bin/xlint/lint1/emit1.c
430
outchar((char)((((unsigned char)c >> 3) & 07) + '0'));
usr.bin/xlint/lint1/emit1.c
431
outchar((char)((c & 07) + '0'));
usr.bin/xlint/lint1/emit1.c
446
char c = *cp++;
usr.bin/xlint/lint1/emit1.c
447
while (c != '\0') {
usr.bin/xlint/lint1/emit1.c
449
if (c != '%') {
usr.bin/xlint/lint1/emit1.c
450
c = *cp++;
usr.bin/xlint/lint1/emit1.c
455
c = *cp++;
usr.bin/xlint/lint1/emit1.c
458
while (c == '-' || c == '+' || c == ' ' ||
usr.bin/xlint/lint1/emit1.c
459
c == '#' || c == '0' || c == '*') {
usr.bin/xlint/lint1/emit1.c
460
outchar(c);
usr.bin/xlint/lint1/emit1.c
461
c = *cp++;
usr.bin/xlint/lint1/emit1.c
465
while (ch_isdigit(c)) {
usr.bin/xlint/lint1/emit1.c
466
outchar(c);
usr.bin/xlint/lint1/emit1.c
467
c = *cp++;
usr.bin/xlint/lint1/emit1.c
471
if (c == '.') {
usr.bin/xlint/lint1/emit1.c
472
outchar(c);
usr.bin/xlint/lint1/emit1.c
473
c = *cp++;
usr.bin/xlint/lint1/emit1.c
474
if (c == '*') {
usr.bin/xlint/lint1/emit1.c
475
outchar(c);
usr.bin/xlint/lint1/emit1.c
476
c = *cp++;
usr.bin/xlint/lint1/emit1.c
478
while (ch_isdigit(c)) {
usr.bin/xlint/lint1/emit1.c
479
outchar(c);
usr.bin/xlint/lint1/emit1.c
480
c = *cp++;
usr.bin/xlint/lint1/emit1.c
486
if (c == 'h' || c == 'l' || c == 'L' || c == 'q') {
usr.bin/xlint/lint1/emit1.c
487
outchar(c);
usr.bin/xlint/lint1/emit1.c
488
c = *cp++;
usr.bin/xlint/lint1/emit1.c
495
if (c != '\0') {
usr.bin/xlint/lint1/emit1.c
496
outqchar(c);
usr.bin/xlint/lint1/emit1.c
497
char oc = c;
usr.bin/xlint/lint1/emit1.c
498
c = *cp++;
usr.bin/xlint/lint1/emit1.c
504
if (c == '^')
usr.bin/xlint/lint1/emit1.c
505
c = *cp++;
usr.bin/xlint/lint1/emit1.c
506
if (c == ']')
usr.bin/xlint/lint1/emit1.c
507
c = *cp++;
usr.bin/xlint/lint1/emit1.c
509
while (c != '\0' && c != ']') {
usr.bin/xlint/lint1/emit1.c
510
if (c == '-') {
usr.bin/xlint/lint1/emit1.c
512
outchar(c);
usr.bin/xlint/lint1/emit1.c
515
c = *cp++;
usr.bin/xlint/lint1/emit1.c
517
if (c == ']') {
usr.bin/xlint/lint1/emit1.c
518
outchar(c);
usr.bin/xlint/lint1/emit1.c
519
c = *cp++;
usr.bin/xlint/lint1/externs1.h
175
#define debug_push_indented(c) true
usr.bin/xlint/lint1/externs1.h
176
#define debug_pop_indented(c) (void)(c)
usr.bin/xlint/lint1/lex.c
1195
int lc = -1, c;
usr.bin/xlint/lint1/lex.c
1198
if ((c = read_byte()) == EOF) {
usr.bin/xlint/lint1/lex.c
1203
if (lc == '*' && c == '/')
usr.bin/xlint/lint1/lex.c
1205
lc = c;
usr.bin/xlint/lint1/lex.c
1252
int c;
usr.bin/xlint/lint1/lex.c
1278
while (c = read_byte(), isspace(c) != 0)
usr.bin/xlint/lint1/lex.c
1283
while (c != EOF && l < sizeof(keywd) - 1 &&
usr.bin/xlint/lint1/lex.c
1284
(isalpha(c) != 0 || isspace(c) != 0)) {
usr.bin/xlint/lint1/lex.c
1285
if (islower(c) != 0 && l > 0 && ch_isupper(keywd[0]))
usr.bin/xlint/lint1/lex.c
1287
keywd[l++] = (char)c;
usr.bin/xlint/lint1/lex.c
1288
c = read_byte();
usr.bin/xlint/lint1/lex.c
1302
while (isspace(c) != 0)
usr.bin/xlint/lint1/lex.c
1303
c = read_byte();
usr.bin/xlint/lint1/lex.c
1309
while (isdigit(c) != 0 && l < sizeof(arg) - 1) {
usr.bin/xlint/lint1/lex.c
1310
arg[l++] = (char)c;
usr.bin/xlint/lint1/lex.c
1311
c = read_byte();
usr.bin/xlint/lint1/lex.c
1317
while (isspace(c) != 0)
usr.bin/xlint/lint1/lex.c
1318
c = read_byte();
usr.bin/xlint/lint1/lex.c
1320
seen_end_of_comment = c == '*' && (c = read_byte()) == '/';
usr.bin/xlint/lint1/lex.c
1329
int lc = c;
usr.bin/xlint/lint1/lex.c
1330
if ((c = read_byte()) == EOF) {
usr.bin/xlint/lint1/lex.c
1335
if (lc == '*' && c == '/')
usr.bin/xlint/lint1/lex.c
1348
for (int c; c = read_byte(), c != EOF && c != '\n';)
usr.bin/xlint/lint1/lex.c
1421
lex_unknown_character(int c)
usr.bin/xlint/lint1/lex.c
1425
error(250, c);
usr.bin/xlint/lint1/lex.c
435
int c = lex_input();
usr.bin/xlint/lint1/lex.c
437
if (c == '\n')
usr.bin/xlint/lint1/lex.c
439
return c == '\0' ? EOF : c; /* lex returns 0 on EOF. */
usr.bin/xlint/lint1/lex.c
560
char c = cp[len - 1];
usr.bin/xlint/lint1/lex.c
561
if (c == 'l' || c == 'L')
usr.bin/xlint/lint1/lex.c
563
else if (c == 'u' || c == 'U')
usr.bin/xlint/lint1/lex.c
634
char c = cp[len - 1];
usr.bin/xlint/lint1/lex.c
636
if (c == 'f' || c == 'F') {
usr.bin/xlint/lint1/lex.c
639
} else if (c == 'l' || c == 'L') {
usr.bin/xlint/lint1/lex.c
697
int c = read_byte();
usr.bin/xlint/lint1/lex.c
698
if (c <= 0)
usr.bin/xlint/lint1/lex.c
700
buf_add_char(&buf, (char)c);
usr.bin/xlint/lint1/lex.c
701
if (c == '\n')
usr.bin/xlint/lint1/lex.c
703
if (c == delim) {
usr.bin/xlint/lint1/lex.c
707
if (c == '\\') {
usr.bin/xlint/lint1/lex.c
708
c = read_byte();
usr.bin/xlint/lint1/lex.c
709
buf_add_char(&buf, (char)(c <= 0 ? ' ' : c));
usr.bin/xlint/lint1/lex.c
710
if (c <= 0)
usr.bin/xlint/lint1/main1.c
136
int c;
usr.bin/xlint/lint1/main1.c
141
while ((c = getopt(argc, argv, "abceghpq:rstvwyzA:FPR:STX:")) != -1) {
usr.bin/xlint/lint1/main1.c
142
switch (c) {
usr.bin/xlint/lint1/tree.c
1503
integer_constraints c = ic_expr(tn);
usr.bin/xlint/lint1/tree.c
1504
return c.smin == si_min_value(tn->tn_type);
usr.bin/xlint/lint1/tree.c
226
integer_constraints c;
usr.bin/xlint/lint1/tree.c
231
c.smin = width < 64 ? 0 : INT64_MIN;
usr.bin/xlint/lint1/tree.c
232
c.smax = width < 64 ? (int64_t)vbits : INT64_MAX;
usr.bin/xlint/lint1/tree.c
233
c.umin = 0;
usr.bin/xlint/lint1/tree.c
234
c.umax = vbits;
usr.bin/xlint/lint1/tree.c
235
c.bclr = ~c.umax;
usr.bin/xlint/lint1/tree.c
237
c.smin = -1 - (int64_t)(vbits >> 1);
usr.bin/xlint/lint1/tree.c
238
c.smax = (int64_t)(vbits >> 1);
usr.bin/xlint/lint1/tree.c
239
c.umin = 0;
usr.bin/xlint/lint1/tree.c
240
c.umax = UINT64_MAX;
usr.bin/xlint/lint1/tree.c
241
c.bclr = 0;
usr.bin/xlint/lint1/tree.c
243
return c;
usr.bin/xlint/lint1/tree.c
249
integer_constraints c;
usr.bin/xlint/lint1/tree.c
257
c.smin = s64_min(ll, s64_min(lu, s64_min(ul, uu)));
usr.bin/xlint/lint1/tree.c
258
c.smax = s64_max(ll, s64_max(lu, s64_max(ul, uu)));
usr.bin/xlint/lint1/tree.c
259
c.umin = c.smin >= 0 ? (uint64_t)c.smin : 0;
usr.bin/xlint/lint1/tree.c
260
c.umax = c.smin >= 0 ? (uint64_t)c.smax : UINT64_MAX;
usr.bin/xlint/lint1/tree.c
261
c.bclr = ~u64_fill_right(c.umax);
usr.bin/xlint/lint1/tree.c
262
return c;
usr.bin/xlint/lint1/tree.c
268
c.smin = INT64_MIN;
usr.bin/xlint/lint1/tree.c
269
c.smax = INT64_MAX;
usr.bin/xlint/lint1/tree.c
270
c.umin = a.umin * b.umin;
usr.bin/xlint/lint1/tree.c
271
c.umax = a.umax * b.umax;
usr.bin/xlint/lint1/tree.c
272
c.bclr = ~u64_fill_right(c.umax);
usr.bin/xlint/lint1/tree.c
273
return c;
usr.bin/xlint/lint1/tree.c
285
integer_constraints c;
usr.bin/xlint/lint1/tree.c
286
c.smin = INT64_MIN;
usr.bin/xlint/lint1/tree.c
287
c.smax = INT64_MAX;
usr.bin/xlint/lint1/tree.c
288
c.umin = a.umin / u64_max(b.umax, 1);
usr.bin/xlint/lint1/tree.c
289
c.umax = a.umax / u64_max(b.umin, 1);
usr.bin/xlint/lint1/tree.c
290
c.bclr = ~u64_fill_right(c.umax);
usr.bin/xlint/lint1/tree.c
291
return c;
usr.bin/xlint/lint1/tree.c
302
integer_constraints c;
usr.bin/xlint/lint1/tree.c
303
c.smin = s64_max(a.smin, -(int64_t)(max_abs_b - 1));
usr.bin/xlint/lint1/tree.c
304
c.smax = s64_min(a.smax, (int64_t)(max_abs_b - 1));
usr.bin/xlint/lint1/tree.c
305
c.umin = 0;
usr.bin/xlint/lint1/tree.c
306
c.umax = UINT64_MAX;
usr.bin/xlint/lint1/tree.c
307
c.bclr = 0;
usr.bin/xlint/lint1/tree.c
308
return c;
usr.bin/xlint/lint1/tree.c
311
integer_constraints c;
usr.bin/xlint/lint1/tree.c
312
c.smin = INT64_MIN;
usr.bin/xlint/lint1/tree.c
313
c.smax = INT64_MAX;
usr.bin/xlint/lint1/tree.c
314
c.umin = 0;
usr.bin/xlint/lint1/tree.c
315
c.umax = b.umax - 1;
usr.bin/xlint/lint1/tree.c
316
c.bclr = ~u64_fill_right(c.umax);
usr.bin/xlint/lint1/tree.c
317
return c;
usr.bin/xlint/lint1/tree.c
324
integer_constraints c;
usr.bin/xlint/lint1/tree.c
325
c.smin = si_plus_sat(tp, a.smin, b.smin);
usr.bin/xlint/lint1/tree.c
326
c.smax = si_plus_sat(tp, a.smax, b.smax);
usr.bin/xlint/lint1/tree.c
327
c.umin = c.smin >= 0 ? (uint64_t)c.smin : 0;
usr.bin/xlint/lint1/tree.c
328
c.umax = c.smin >= 0 ? (uint64_t)c.smax : UINT64_MAX;
usr.bin/xlint/lint1/tree.c
329
c.bclr = 0;
usr.bin/xlint/lint1/tree.c
330
return c;
usr.bin/xlint/lint1/tree.c
334
integer_constraints c;
usr.bin/xlint/lint1/tree.c
335
c.smin = INT64_MIN;
usr.bin/xlint/lint1/tree.c
336
c.smax = INT64_MAX;
usr.bin/xlint/lint1/tree.c
338
c.umin = a.umin + b.umin;
usr.bin/xlint/lint1/tree.c
339
c.umax = a.umax + b.umax;
usr.bin/xlint/lint1/tree.c
341
c.umin = 0;
usr.bin/xlint/lint1/tree.c
342
c.umax = max;
usr.bin/xlint/lint1/tree.c
344
if (c.umax >> 63 == 0) {
usr.bin/xlint/lint1/tree.c
345
c.smin = 0;
usr.bin/xlint/lint1/tree.c
346
c.smax = (int64_t)c.umax;
usr.bin/xlint/lint1/tree.c
348
c.bclr = ~u64_fill_right(c.umax);
usr.bin/xlint/lint1/tree.c
349
return c;
usr.bin/xlint/lint1/tree.c
355
integer_constraints c;
usr.bin/xlint/lint1/tree.c
356
c.smin = si_minus_sat(tp, a.smin, b.smax);
usr.bin/xlint/lint1/tree.c
357
c.smax = si_minus_sat(tp, a.smax, b.smin);
usr.bin/xlint/lint1/tree.c
360
c.umin = c.smin >= 0 ? (uint64_t)c.smin : 0;
usr.bin/xlint/lint1/tree.c
361
c.umax = c.smin >= 0 ? (uint64_t)c.smax : UINT64_MAX;
usr.bin/xlint/lint1/tree.c
363
c.umin = a.umin - b.umax;
usr.bin/xlint/lint1/tree.c
364
c.umax = a.umax - b.umin;
usr.bin/xlint/lint1/tree.c
366
c.umin = 0;
usr.bin/xlint/lint1/tree.c
367
c.umax = is_uinteger(tp->t_tspec) ? ui_max_value(tp)
usr.bin/xlint/lint1/tree.c
370
c.bclr = ~u64_fill_right(c.umax);
usr.bin/xlint/lint1/tree.c
371
return c;
usr.bin/xlint/lint1/tree.c
3870
integer_constraints c = ic_expr(tn);
usr.bin/xlint/lint1/tree.c
3871
if ((~c.bclr & ~nmask) == 0)
usr.bin/xlint/lint1/tree.c
3876
? tpc.umin <= c.umin && tpc.umax >= c.umax
usr.bin/xlint/lint1/tree.c
3877
: tpc.smin <= c.smin && tpc.smax >= c.smax)
usr.bin/xlint/lint1/tree.c
388
integer_constraints c;
usr.bin/xlint/lint1/tree.c
389
c.umin = a.umin << amount;
usr.bin/xlint/lint1/tree.c
390
c.umax = a.umax << amount;
usr.bin/xlint/lint1/tree.c
391
if (c.umax >> (width_in_bits(tp) - 1) == 0) {
usr.bin/xlint/lint1/tree.c
392
c.smin = (int64_t)c.umin;
usr.bin/xlint/lint1/tree.c
393
c.smax = (int64_t)c.umax;
usr.bin/xlint/lint1/tree.c
395
c.smin = INT64_MIN;
usr.bin/xlint/lint1/tree.c
396
c.smax = INT64_MAX;
usr.bin/xlint/lint1/tree.c
398
c.bclr = a.bclr << amount | (((uint64_t)1 << amount) - 1);
usr.bin/xlint/lint1/tree.c
399
return c;
usr.bin/xlint/lint1/tree.c
416
integer_constraints c;
usr.bin/xlint/lint1/tree.c
417
c.smin = s64_shr(a.smin, amount);
usr.bin/xlint/lint1/tree.c
418
c.smax = s64_shr(a.smax, amount);
usr.bin/xlint/lint1/tree.c
419
c.umin = a.umin >> amount;
usr.bin/xlint/lint1/tree.c
420
c.umax = a.umax >> amount;
usr.bin/xlint/lint1/tree.c
421
c.bclr = a.bclr >> amount | ~(~(uint64_t)0 >> amount);
usr.bin/xlint/lint1/tree.c
422
return c;
usr.bin/xlint/lint1/tree.c
428
integer_constraints c;
usr.bin/xlint/lint1/tree.c
429
c.smin = a.smin & b.smin;
usr.bin/xlint/lint1/tree.c
430
c.smax = a.smax & b.smax;
usr.bin/xlint/lint1/tree.c
431
c.umin = a.umin & b.umin;
usr.bin/xlint/lint1/tree.c
432
c.umax = a.umax & b.umax;
usr.bin/xlint/lint1/tree.c
433
c.bclr = a.bclr | b.bclr;
usr.bin/xlint/lint1/tree.c
434
return c;
usr.bin/xlint/lint1/tree.c
443
integer_constraints c;
usr.bin/xlint/lint1/tree.c
444
c.smin = a.smin & b.smin;
usr.bin/xlint/lint1/tree.c
445
c.smax = a.smax | b.smax;
usr.bin/xlint/lint1/tree.c
446
c.umin = a.umin & b.umin;
usr.bin/xlint/lint1/tree.c
447
c.umax = a.umax | b.umax;
usr.bin/xlint/lint1/tree.c
448
c.bclr = a.bclr & b.bclr;
usr.bin/xlint/lint1/tree.c
449
return c;
usr.bin/xlint/lint1/tree.c
455
integer_constraints c;
usr.bin/xlint/lint1/tree.c
456
c.smin = a.smin | b.smin;
usr.bin/xlint/lint1/tree.c
457
c.smax = a.smax | b.smax;
usr.bin/xlint/lint1/tree.c
458
c.umin = a.umin | b.umin;
usr.bin/xlint/lint1/tree.c
459
c.umax = a.umax | b.umax;
usr.bin/xlint/lint1/tree.c
460
c.bclr = a.bclr & b.bclr;
usr.bin/xlint/lint1/tree.c
461
return c;
usr.bin/xlint/lint1/tree.c
467
integer_constraints c;
usr.bin/xlint/lint1/tree.c
468
c.smin = s64_min(a.smin, b.smin);
usr.bin/xlint/lint1/tree.c
469
c.smax = s64_max(a.smax, b.smax);
usr.bin/xlint/lint1/tree.c
470
c.umin = u64_min(a.umin, b.umin);
usr.bin/xlint/lint1/tree.c
471
c.umax = u64_max(a.umax, b.umax);
usr.bin/xlint/lint1/tree.c
472
c.bclr = a.bclr & b.bclr;
usr.bin/xlint/lint1/tree.c
473
return c;
usr.bin/xlint/lint1/tree.c
483
integer_constraints c;
usr.bin/xlint/lint1/tree.c
484
c.smin = si;
usr.bin/xlint/lint1/tree.c
485
c.smax = si;
usr.bin/xlint/lint1/tree.c
486
c.umin = ui;
usr.bin/xlint/lint1/tree.c
487
c.umax = ui;
usr.bin/xlint/lint1/tree.c
488
c.bclr = ~ui;
usr.bin/xlint/lint1/tree.c
489
return c;
usr.bin/xlint/lint1/tree.c
512
integer_constraints c;
usr.bin/xlint/lint1/tree.c
514
c.smin = maximum <= INT64_MAX ? (int64_t)minimum : INT64_MIN;
usr.bin/xlint/lint1/tree.c
515
c.smax = maximum <= INT64_MAX ? (int64_t)maximum : INT64_MAX;
usr.bin/xlint/lint1/tree.c
516
c.umin = minimum;
usr.bin/xlint/lint1/tree.c
517
c.umax = maximum;
usr.bin/xlint/lint1/tree.c
518
c.bclr = ~c.umax;
usr.bin/xlint/lint1/tree.c
519
return c;
usr.bin/xlint/lint1/tree.c
525
integer_constraints c;
usr.bin/xlint/lint1/tree.c
527
c.smin = minimum;
usr.bin/xlint/lint1/tree.c
528
c.smax = maximum;
usr.bin/xlint/lint1/tree.c
529
c.umin = minimum >= 0 ? (uint64_t)minimum : 0;
usr.bin/xlint/lint1/tree.c
530
c.umax = minimum >= 0 ? (uint64_t)maximum : UINT64_MAX;
usr.bin/xlint/lint1/tree.c
531
c.bclr = ~c.umax;
usr.bin/xlint/lint1/tree.c
532
return c;
usr.bin/xlint/lint2/main2.c
72
int c, i;
usr.bin/xlint/lint2/main2.c
79
while ((c = getopt(argc, argv, "hl:stuxC:HF")) != -1) {
usr.bin/xlint/lint2/main2.c
80
switch (c) {
usr.bin/xlint/lint2/read.c
1004
if ((c = *src++) != '"')
usr.bin/xlint/lint2/read.c
1005
inperr("not quote: %c", c);
usr.bin/xlint/lint2/read.c
1006
if ((c = *src++) == '\0')
usr.bin/xlint/lint2/read.c
1007
inperr("trailing data: %c", c);
usr.bin/xlint/lint2/read.c
1009
while (c != '"') {
usr.bin/xlint/lint2/read.c
1010
if (c == '\\') {
usr.bin/xlint/lint2/read.c
1011
if ((c = *src++) == '\0')
usr.bin/xlint/lint2/read.c
1013
switch (c) {
usr.bin/xlint/lint2/read.c
1015
c = '\n';
usr.bin/xlint/lint2/read.c
1018
c = '\t';
usr.bin/xlint/lint2/read.c
1021
c = '\v';
usr.bin/xlint/lint2/read.c
1024
c = '\b';
usr.bin/xlint/lint2/read.c
1027
c = '\r';
usr.bin/xlint/lint2/read.c
1030
c = '\f';
usr.bin/xlint/lint2/read.c
1033
c = '\a';
usr.bin/xlint/lint2/read.c
1036
c = '\\';
usr.bin/xlint/lint2/read.c
1039
c = '"';
usr.bin/xlint/lint2/read.c
1042
c = '\'';
usr.bin/xlint/lint2/read.c
1045
v = (c - '0') << 6;
usr.bin/xlint/lint2/read.c
1046
if ((c = *src++) < '0' || c > '7')
usr.bin/xlint/lint2/read.c
1047
inperr("not octal: %c", c);
usr.bin/xlint/lint2/read.c
1048
v |= (c - '0') << 3;
usr.bin/xlint/lint2/read.c
1049
if ((c = *src++) < '0' || c > '7')
usr.bin/xlint/lint2/read.c
1050
inperr("not octal: %c", c);
usr.bin/xlint/lint2/read.c
1051
v |= c - '0';
usr.bin/xlint/lint2/read.c
1052
c = (char)v;
usr.bin/xlint/lint2/read.c
1055
inperr("bad \\ escape: %c", c);
usr.bin/xlint/lint2/read.c
1064
*dst++ = c;
usr.bin/xlint/lint2/read.c
1065
if ((c = *src++) == '\0')
usr.bin/xlint/lint2/read.c
1083
char c;
usr.bin/xlint/lint2/read.c
1089
c = *cp++;
usr.bin/xlint/lint2/read.c
1090
if (!ch_isalnum(c) && c != '_')
usr.bin/xlint/lint2/read.c
1091
inperr("not alnum or _: %c", c);
usr.bin/xlint/lint2/read.c
1092
buf[i] = c;
usr.bin/xlint/lint2/read.c
316
char c;
usr.bin/xlint/lint2/read.c
330
c = *cp++;
usr.bin/xlint/lint2/read.c
331
switch (c) {
usr.bin/xlint/lint2/read.c
334
inperr("used or discovered: %c", c);
usr.bin/xlint/lint2/read.c
339
inperr("used or discovered: %c", c);
usr.bin/xlint/lint2/read.c
343
inperr("used or discovered: %c", c);
usr.bin/xlint/lint2/read.c
352
if (c == 'z')
usr.bin/xlint/lint2/read.c
354
else if (c == 'p')
usr.bin/xlint/lint2/read.c
356
else if (c == 'n')
usr.bin/xlint/lint2/read.c
587
parse_tspec(const char **pp, char c, bool *osdef)
usr.bin/xlint/lint2/read.c
591
switch (c) {
usr.bin/xlint/lint2/read.c
596
s = c;
usr.bin/xlint/lint2/read.c
597
c = *(*pp)++;
usr.bin/xlint/lint2/read.c
604
switch (c) {
usr.bin/xlint/lint2/read.c
629
*osdef = c == 'f';
usr.bin/xlint/lint2/read.c
637
inperr("tspec '%c'", c);
usr.bin/xlint/lint2/read.c
648
char c;
usr.bin/xlint/lint2/read.c
670
c = *cp++;
usr.bin/xlint/lint2/read.c
672
if (c == 'c') {
usr.bin/xlint/lint2/read.c
674
c = *cp++;
usr.bin/xlint/lint2/read.c
676
if (c == 'v') {
usr.bin/xlint/lint2/read.c
678
c = *cp++;
usr.bin/xlint/lint2/read.c
681
tp->t_tspec = parse_tspec(&cp, c, &osdef);
usr.bin/xlint/lint2/read.c
692
c = *cp;
usr.bin/xlint/lint2/read.c
693
if (ch_isdigit(c)) {
usr.bin/xlint/lint2/read.c
751
char c, s;
usr.bin/xlint/lint2/read.c
757
c = *cp++;
usr.bin/xlint/lint2/read.c
759
if (c == 'c')
usr.bin/xlint/lint2/read.c
760
c = *cp++;
usr.bin/xlint/lint2/read.c
761
if (c == 'v')
usr.bin/xlint/lint2/read.c
762
c = *cp++;
usr.bin/xlint/lint2/read.c
764
switch (c) {
usr.bin/xlint/lint2/read.c
769
s = c;
usr.bin/xlint/lint2/read.c
770
c = *cp++;
usr.bin/xlint/lint2/read.c
779
switch (c) {
usr.bin/xlint/lint2/read.c
868
inperr("bad type: %c %c", c, s);
usr.bin/xlint/lint2/read.c
879
c = *cp;
usr.bin/xlint/lint2/read.c
880
if (ch_isdigit(c)) {
usr.bin/xlint/lint2/read.c
999
char c;
usr.bin/xlint/xlint/xlint.c
131
list_add_flag(list *l, int c)
usr.bin/xlint/xlint/xlint.c
134
list_add(l, (const char[3]){ '-', (char)c, '\0' });
usr.bin/xlint/xlint/xlint.c
592
int c;
usr.bin/xlint/xlint/xlint.c
593
while ((c = getopt(argc, argv,
usr.bin/xlint/xlint/xlint.c
595
switch (c) {
usr.bin/xlint/xlint/xlint.c
607
list_add_flag(&lint1.flags, c);
usr.bin/xlint/xlint/xlint.c
614
list_add_flag(&lint1.flags, c);
usr.bin/xlint/xlint/xlint.c
622
list_add_flag(&lint1.flags, c);
usr.bin/xlint/xlint/xlint.c
623
list_add_flag(&lint2.flags, c);
usr.bin/xlint/xlint/xlint.c
642
list_add_flag(&lint1.flags, c);
usr.bin/xlint/xlint/xlint.c
655
list_add_flag(&lint1.flags, c);
usr.bin/xlint/xlint/xlint.c
656
list_add_flag(&lint2.flags, c);
usr.bin/xlint/xlint/xlint.c
663
list_add_flag(&lint1.flags, c);
usr.bin/xlint/xlint/xlint.c
668
list_add_flag(&lint1.flags, c);
usr.bin/xlint/xlint/xlint.c
682
list_add_flag(&lint1.flags, c);
usr.bin/xlint/xlint/xlint.c
683
list_add_flag(&lint2.flags, c);
usr.bin/xlint/xlint/xlint.c
690
list_add_flag(&lint2.flags, c);
usr.bin/xlint/xlint/xlint.c
700
list_add_flag(&lint2.flags, c);
usr.bin/xlint/xlint/xlint.c
720
xasprintf("-%c%s", c, optarg));
usr.bin/ypcat/ypcat.c
65
int c, r;
usr.bin/ypcat/ypcat.c
74
while((c = getopt(argc, argv, "bd:kstx")) != -1) {
usr.bin/ypcat/ypcat.c
75
switch (c) {
usr.bin/ypmatch/ypmatch.c
129
for(c = 0; c < (argc - 1); c++) {
usr.bin/ypmatch/ypmatch.c
130
inkey = argv[c];
usr.bin/ypmatch/ypmatch.c
60
int c, r, len;
usr.bin/ypmatch/ypmatch.c
69
while ((c = getopt(argc, argv, "bd:ktxz")) != -1) {
usr.bin/ypmatch/ypmatch.c
70
switch (c) {
usr.sbin/ac/ac.c
274
int c;
usr.sbin/ac/ac.c
278
while ((c = getopt(argc, argv, "Ddpt:w:")) != -1) {
usr.sbin/ac/ac.c
279
switch (c) {
usr.sbin/acpitools/acpidump/acpi.c
212
int c;
usr.sbin/acpitools/acpidump/acpi.c
219
c = *s++;
usr.sbin/acpitools/acpidump/acpi.c
220
if (c == '\0')
usr.sbin/acpitools/acpidump/acpi.c
222
putchar(c);
usr.sbin/acpitools/acpidump/acpidump.c
67
int c;
usr.sbin/acpitools/acpidump/acpidump.c
75
while ((c = getopt(argc, argv, "cdhtsvf:o:")) != -1) {
usr.sbin/acpitools/acpidump/acpidump.c
76
switch (c) {
usr.sbin/acpitools/amldb/amldb.c
161
int c, i;
usr.sbin/acpitools/amldb/amldb.c
164
while ((c = getopt(argc, argv, "dsth")) != -1) {
usr.sbin/acpitools/amldb/amldb.c
165
switch (c) {
usr.sbin/altq/altqd/altqd.c
117
int i, c, maxfd, rval, qpsock, fd;
usr.sbin/altq/altqd/altqd.c
127
while ((c = getopt(argc, argv, "f:vdl:")) != -1) {
usr.sbin/altq/altqd/altqd.c
128
switch (c) {
usr.sbin/autofs/common.c
332
char c, *expanded;
usr.sbin/autofs/common.c
342
c = string[i];
usr.sbin/autofs/common.c
343
if (c == '\\' && backslashed == false) {
usr.sbin/autofs/common.c
352
if (c != '&')
usr.sbin/autofs/common.c
67
char *c;
usr.sbin/autofs/common.c
71
c = strdup(s);
usr.sbin/autofs/common.c
72
if (c == NULL)
usr.sbin/autofs/common.c
74
return c;
usr.sbin/autofs/defined.c
135
c = string[i];
usr.sbin/autofs/defined.c
140
if (isalnum((unsigned char)c) || c == '_')
usr.sbin/autofs/defined.c
147
if (c != '}')
usr.sbin/autofs/defined.c
75
char c, *expanded, *name;
usr.sbin/autofs/defined.c
83
c = string[i];
usr.sbin/autofs/defined.c
84
if (c == '\\' && backslashed == false) {
usr.sbin/autofs/defined.c
93
if (c != '$')
usr.sbin/bootp/bootptest/bootptest.c
459
u_char c;
usr.sbin/bootp/bootptest/bootptest.c
462
while ((c = *s++) != 0) {
usr.sbin/bootp/bootptest/bootptest.c
467
if (!isascii(c)) {
usr.sbin/bootp/bootptest/bootptest.c
468
c = toascii(c);
usr.sbin/bootp/bootptest/bootptest.c
472
if (!isprint(c)) {
usr.sbin/bootp/bootptest/bootptest.c
473
c ^= 0x40; /* DEL to ?, others to alpha */
usr.sbin/bootp/bootptest/bootptest.c
476
putchar(c);
usr.sbin/bootp/common/readfile.c
1821
char c;
usr.sbin/bootp/common/readfile.c
1837
while ((c = **src)) {
usr.sbin/bootp/common/readfile.c
1838
if (isdigit((unsigned char)c)) {
usr.sbin/bootp/common/readfile.c
1839
value = (value * base) + (c - '0');
usr.sbin/bootp/common/readfile.c
1843
if (base == 16 && isxdigit((unsigned char)c)) {
usr.sbin/bootp/common/readfile.c
1844
value = (value << 4) + ((c & ~32) + 10 - 'A');
usr.sbin/bootp/common/readfile.c
498
int c;
usr.sbin/bootp/common/readfile.c
507
c = fgetc(fp);
usr.sbin/bootp/common/readfile.c
508
if (c < 0) {
usr.sbin/bootp/common/readfile.c
511
if (isspace(c)) {
usr.sbin/bootp/common/readfile.c
514
if (c == '#') {
usr.sbin/bootp/common/readfile.c
516
c = fgetc(fp);
usr.sbin/bootp/common/readfile.c
517
if (c < 0) {
usr.sbin/bootp/common/readfile.c
520
if (c == '\n') {
usr.sbin/bootp/common/readfile.c
525
ungetc(c, fp); /* Other character, push it back to reprocess it */
usr.sbin/bootp/common/readfile.c
535
c = fgetc(fp);
usr.sbin/bootp/common/readfile.c
536
switch (c) {
usr.sbin/bootp/common/readfile.c
541
c = fgetc(fp); /* Backslash, read a new character */
usr.sbin/bootp/common/readfile.c
542
if (c < 0) {
usr.sbin/bootp/common/readfile.c
545
*buffer++ = c; /* Store the literal character */
usr.sbin/bootp/common/readfile.c
559
c = fgetc(fp);
usr.sbin/bootp/common/readfile.c
560
switch (c) {
usr.sbin/bootp/common/readfile.c
572
if ((c = fgetc(fp)) < 0) { /* Backslash */
usr.sbin/bootp/common/readfile.c
576
*buffer++ = c; /* Other character, store it */
usr.sbin/bootp/common/readfile.c
584
*buffer++ = c; /* Store colons */
usr.sbin/bootp/common/readfile.c
590
c = fgetc(fp);
usr.sbin/bootp/common/readfile.c
591
if ((c < 0) || (c == '\n')) {
usr.sbin/bootp/common/readfile.c
594
} while (isspace(c)); /* Skip whitespace */
usr.sbin/bootp/common/readfile.c
596
if (c == '\\') { /* Backslash quotes next character */
usr.sbin/bootp/common/readfile.c
597
c = fgetc(fp);
usr.sbin/bootp/common/readfile.c
598
if (c < 0) {
usr.sbin/bootp/common/readfile.c
601
if (c == '\n') {
usr.sbin/bootp/common/readfile.c
608
*buffer++ = c; /* Store other characters */
usr.sbin/catman/catman.c
531
char *c;
usr.sbin/catman/catman.c
533
for (c = s; *c != '\0' && !isspace((unsigned char)*c); ++c)
usr.sbin/catman/catman.c
535
if (*c == '\0')
usr.sbin/catman/catman.c
537
if ((size_t)(c - s + 1) > firstlen)
usr.sbin/catman/catman.c
539
strncpy(first, s, c-s);
usr.sbin/catman/catman.c
540
first[c-s] = '\0';
usr.sbin/catman/catman.c
541
for (; *c != '\0' && isspace((unsigned char)*c); ++c)
usr.sbin/catman/catman.c
543
if (strlcpy(second, c, secondlen) >= secondlen)
usr.sbin/catman/catman.c
84
int c;
usr.sbin/catman/catman.c
86
while ((c = getopt(argc, argv, "km:M:npsw")) != -1) {
usr.sbin/catman/catman.c
87
switch (c) {
usr.sbin/cnwctl/cnwctl.c
226
c = 0;
usr.sbin/cnwctl/cnwctl.c
229
if (c-- == 0) {
usr.sbin/cnwctl/cnwctl.c
231
c = ts.ts_lines - 3;
usr.sbin/cnwctl/cnwctl.c
247
if (c-- == 0) {
usr.sbin/cnwctl/cnwctl.c
251
c = ts.ts_lines - 3;
usr.sbin/cnwctl/cnwctl.c
62
int c, domain, i, key, rate, sflag, Sflag, skt;
usr.sbin/cnwctl/cnwctl.c
76
while ((c = getopt(argc, argv, "d:i:k:sS")) != -1)
usr.sbin/cnwctl/cnwctl.c
77
switch (c) {
usr.sbin/crash/crash.c
113
int b, c;
usr.sbin/crash/crash.c
115
c = vsnprintf(buf, sizeof(buf), fmt, ap);
usr.sbin/crash/crash.c
116
for (b = 0; b < c; b++) {
usr.sbin/crash/crash.c
319
cnputc(int c)
usr.sbin/crash/crash.c
322
putc(c, ofp);
usr.sbin/crash/crash.c
354
char c;
usr.sbin/crash/crash.c
461
if ((size_t)kvm_read(kd, panicstr, &c, sizeof(c)) !=
usr.sbin/crash/crash.c
462
sizeof(c)) {
usr.sbin/crash/crash.c
466
if (c == '\0') {
usr.sbin/crash/crash.c
469
putchar(c);
usr.sbin/dumpfs/dumpfs.c
477
for (int c = 0; c < fs->fs_old_cpc; c++) {
usr.sbin/dumpfs/dumpfs.c
478
printf("cylinder number %d:", c);
usr.sbin/dumpfs/dumpfs.c
480
if (old_fs_postbl(&afs, c, opostbl)[i] == -1)
usr.sbin/dumpfs/dumpfs.c
483
for (int j = old_fs_postbl(&afs, c, opostbl)[i], k = 1;
usr.sbin/dumpfs/dumpfs.c
585
print_inodes(const char *name, int fd, int c, int n)
usr.sbin/dumpfs/dumpfs.c
597
for (inum = c * afs.fs_ipg ; inum < (c+n) * afs.fs_ipg; inum += afs.fs_inopb) {
usr.sbin/dumpfs/dumpfs.c
612
dumpcg(const char *name, int fd, int c)
usr.sbin/dumpfs/dumpfs.c
618
printf("cg %d:\n", c);
usr.sbin/dumpfs/dumpfs.c
619
if ((cur = lseek(fd, (off_t)(FFS_FSBTODB(&afs, cgtod(&afs, c))) * dev_bsize,
usr.sbin/dumpfs/dumpfs.c
669
pbits(0 * c * afs.fs_ipg, cg_inosused(&acg, 0), afs.fs_ipg);
usr.sbin/emcfanctl/emcfanctl.c
192
valid_cmd(const struct emcfanctlcmd c[], long unsigned int csize, char *cmdtocheck)
usr.sbin/emcfanctl/emcfanctl.c
197
if (strncmp(cmdtocheck,c[i].cmd,16) == 0) {
usr.sbin/emcfanctl/emcfanctl.c
209
int c;
usr.sbin/emcfanctl/emcfanctl.c
218
while ((c = getopt(argc, argv, "djh")) != -1 ) {
usr.sbin/emcfanctl/emcfanctl.c
219
switch (c) {
usr.sbin/envstat/envstat.c
132
int c, rval = 0;
usr.sbin/envstat/envstat.c
141
while ((c = getopt(argc, argv, "c:Dd:fIi:jklnrSs:Ttw:Wx")) != -1) {
usr.sbin/envstat/envstat.c
142
switch (c) {
usr.sbin/envstat/envstat.c
903
const char *a, *b, *c, *d, *e, *units;
usr.sbin/envstat/envstat.c
932
c = "Min";
usr.sbin/envstat/envstat.c
936
c = "WarnMax";
usr.sbin/envstat/envstat.c
952
"", a, b, c, d, units);
usr.sbin/envstat/envstat.c
956
"", a, b, c, d, e, units);
usr.sbin/faithd/faithd.c
211
int c;
usr.sbin/faithd/faithd.c
213
while ((c = getopt(argc, argv, "df:p")) != -1) {
usr.sbin/faithd/faithd.c
214
switch (c) {
usr.sbin/fstyp/fstyp.c
132
char *c;
usr.sbin/fstyp/fstyp.c
134
c = strdup(s);
usr.sbin/fstyp/fstyp.c
135
if (c == NULL)
usr.sbin/fstyp/fstyp.c
137
return c;
usr.sbin/fwctl/fwcontrol.c
598
b.lctrl, b.c, b.jitter, b.pwr_class,
usr.sbin/grfconfig/grfconfig.c
304
for (c = 1; c < y; c++) {
usr.sbin/grfconfig/grfconfig.c
305
c = gv->mode_num = (c != (y - 1)) ? c : 255;
usr.sbin/grfconfig/grfconfig.c
312
if (c == 255)
usr.sbin/grfconfig/grfconfig.c
321
if (c != 255)
usr.sbin/grfconfig/grfconfig.c
80
int c, y, grffd;
usr.sbin/grfconfig/grfconfig.c
93
while ((c = getopt(ac, av, "rt")) != -1) {
usr.sbin/grfconfig/grfconfig.c
94
switch (c) {
usr.sbin/gspa/gspa/gsp_lex.c
114
} else if( c == '$' ){
usr.sbin/gspa/gspa/gsp_lex.c
123
} else if( isdigit(c) ){
usr.sbin/gspa/gspa/gsp_lex.c
127
c = *lp;
usr.sbin/gspa/gspa/gsp_lex.c
128
if( (c == 'f' || c == 'F' || c == 'b' || c == 'B')
usr.sbin/gspa/gspa/gsp_lex.c
131
c = toupper(c);
usr.sbin/gspa/gspa/gsp_lex.c
132
sprintf(idptr, "%ld%c", (long)yylval.y_int, c);
usr.sbin/gspa/gspa/gsp_lex.c
139
} else if( c == '\n' ){
usr.sbin/gspa/gspa/gsp_lex.c
141
} else if( c == ';' ){
usr.sbin/gspa/gspa/gsp_lex.c
146
} else if( c == '"' ){
usr.sbin/gspa/gspa/gsp_lex.c
149
while( (c = *++lp) != '"' && c != '\n' && c != 0 )
usr.sbin/gspa/gspa/gsp_lex.c
150
*idptr++ = c;
usr.sbin/gspa/gspa/gsp_lex.c
152
if( c != '"' )
usr.sbin/gspa/gspa/gsp_lex.c
157
} else if( c == '<' && lp[1] == '<' ){
usr.sbin/gspa/gspa/gsp_lex.c
160
} else if( c == '>' && lp[1] == '>' ){
usr.sbin/gspa/gspa/gsp_lex.c
164
if( c != 0 )
usr.sbin/gspa/gspa/gsp_lex.c
166
tok = c;
usr.sbin/gspa/gspa/gsp_lex.c
175
int c;
usr.sbin/gspa/gspa/gsp_lex.c
177
for( ; (c = *p) != 0; p++ )
usr.sbin/gspa/gspa/gsp_lex.c
178
if( islower(c) )
usr.sbin/gspa/gspa/gsp_lex.c
179
*p = toupper(c);
usr.sbin/gspa/gspa/gsp_lex.c
82
int c, tok, x, len;
usr.sbin/gspa/gspa/gsp_lex.c
87
c = *lp;
usr.sbin/gspa/gspa/gsp_lex.c
88
while( c == ' ' || c == '\t' )
usr.sbin/gspa/gspa/gsp_lex.c
89
c = *++lp;
usr.sbin/gspa/gspa/gsp_lex.c
90
if( isalpha(c) || c == '_' || c == '.' ){
usr.sbin/gspa/gspa/gsp_lex.c
94
c = *++lp;
usr.sbin/gspa/gspa/gsp_lex.c
95
} while( isalnum(c) || c == '_' );
usr.sbin/gspa/gspa/gspa.c
93
int c;
usr.sbin/gspa/gspa/gspa.c
98
while ((c = getopt(argc, argv, "o:l:c:")) != -1) {
usr.sbin/gspa/gspa/gspa.c
99
switch (c) {
usr.sbin/ifwatchd/ifwatchd.c
106
int c, s, n;
usr.sbin/ifwatchd/ifwatchd.c
117
while ((c = getopt(argc, argv, "qvhic:n:u:d:A:D:")) != -1) {
usr.sbin/ifwatchd/ifwatchd.c
118
switch (c) {
usr.sbin/inetd/parse.c
165
#define SWAP(type, a, b) {type c = a; a = b; b = c;}
usr.sbin/inetd/parse.c
503
char *c = arg + MUX_LEN;
usr.sbin/inetd/parse.c
504
if (*c == '+') {
usr.sbin/inetd/parse.c
506
c++;
usr.sbin/inetd/parse.c
509
sep->se_service = newstr(c);
usr.sbin/inetd/parse.c
829
int c;
usr.sbin/inetd/parse.c
831
c = getc(fconfig);
usr.sbin/inetd/parse.c
832
(void) ungetc(c, fconfig);
usr.sbin/inetd/parse.c
833
if (c == ' ' || c == '\t')
usr.sbin/ldpd/ldp_peer.c
309
int i, c, n;
usr.sbin/ldpd/ldp_peer.c
332
for (ia = (const void *)&a->address, c = 0, i = 0; i < n; i++) {
usr.sbin/ldpd/ldp_peer.c
336
c++;
usr.sbin/ldpd/ldp_peer.c
339
debugp("Added %d addresses\n", c);
usr.sbin/ldpd/ldp_peer.c
341
return c;
usr.sbin/ldpd/ldp_peer.c
347
int i, c, n;
usr.sbin/ldpd/ldp_peer.c
369
for (ia = (const struct in_addr *) & a[1], c = 0, i = 0; i < n; i++) {
usr.sbin/ldpd/ldp_peer.c
372
c++;
usr.sbin/ldpd/ldp_peer.c
375
debugp("Deleted %d addresses\n", c);
usr.sbin/ldpd/ldp_peer.c
377
return c;
usr.sbin/ldpd/pdu.c
60
check_recv_pdu(const struct ldp_peer * p, const struct ldp_pdu * rpdu, int c)
usr.sbin/ldpd/pdu.c
65
if (c < MIN_PDU_SIZE)
usr.sbin/ldpd/pdu.c
90
if (ntohs(rpdu->length) > c - PDU_VER_LENGTH) {
usr.sbin/ldpd/pdu.c
93
ntohs(rpdu->length), (int) (c - PDU_VER_LENGTH));
usr.sbin/ldpd/socketops.c
1109
int c;
usr.sbin/ldpd/socketops.c
1117
c = recv(p->socket, (void *) recvspace, MAX_PDU_SIZE, MSG_PEEK);
usr.sbin/ldpd/socketops.c
1118
} while (c == -1 && errno == EINTR);
usr.sbin/ldpd/socketops.c
1120
debugp("Ready to read %d bytes\n", c);
usr.sbin/ldpd/socketops.c
1122
if (c < 1) { /* Session closed */
usr.sbin/ldpd/socketops.c
1127
if (c > MAX_PDU_SIZE) {
usr.sbin/ldpd/socketops.c
1131
if (c < MIN_PDU_SIZE) {
usr.sbin/ldpd/socketops.c
1138
c = recv(p->socket, (void *) recvspace,
usr.sbin/ldpd/socketops.c
1140
} while (c == -1 && errno == EINTR);
usr.sbin/ldpd/socketops.c
1143
if (check_recv_pdu(p, rpdu, c) != 0)
usr.sbin/ldpd/socketops.c
1146
debugp("Read %d bytes, PDU size: %d bytes\n", c, ntohs(rpdu->length));
usr.sbin/ldpd/socketops.c
1149
while (wo + TLV_TYPE_LENGTH < (uint)c) {
usr.sbin/ldpd/socketops.c
1333
debugp("WORKED ON %u bytes (Left %d)\n", wo, c - wo);
usr.sbin/ldpd/socketops.c
654
int c, i;
usr.sbin/ldpd/socketops.c
679
c = recvmsg(sock, &msg, MSG_WAITALL);
usr.sbin/ldpd/socketops.c
682
if (c < MIN_PDU_SIZE)
usr.sbin/ldpd/socketops.c
689
c, satos(&sender.sa));
usr.sbin/ldpd/socketops.c
722
c, inet_ntoa(rpdu.ldp_id), rpdu.length, rpdu.version);
usr.sbin/ldpd/socketops.c
725
t = get_hello_tlv(recvspace + i, c - i);
usr.sbin/lpr/common_source/common.c
210
int c;
usr.sbin/lpr/common_source/common.c
213
while ((c = getc(cfp)) != '\n' && linel+1<sizeof(line)) {
usr.sbin/lpr/common_source/common.c
214
if (c == EOF)
usr.sbin/lpr/common_source/common.c
216
if (c == '\t') {
usr.sbin/lpr/common_source/common.c
223
*lp++ = c;
usr.sbin/lpr/lpc/cmds.c
1014
int c;
usr.sbin/lpr/lpc/cmds.c
1027
while ((c = *cp2++) && c != '|' && c != ':' &&
usr.sbin/lpr/lpc/cmds.c
1029
*cp1++ = c;
usr.sbin/lpr/lpc/cmds.c
105
while ((c = *cp2++) && c != '|' && c != ':' &&
usr.sbin/lpr/lpc/cmds.c
107
*cp1++ = c;
usr.sbin/lpr/lpc/cmds.c
215
int c;
usr.sbin/lpr/lpc/cmds.c
228
while ((c = *cp2++) && c != '|' && c != ':' &&
usr.sbin/lpr/lpc/cmds.c
230
*cp1++ = c;
usr.sbin/lpr/lpc/cmds.c
247
int c = d->d_name[0];
usr.sbin/lpr/lpc/cmds.c
249
if ((c == 't' || c == 'c' || c == 'd') && d->d_name[1] == 'f')
usr.sbin/lpr/lpc/cmds.c
352
int c;
usr.sbin/lpr/lpc/cmds.c
365
while ((c = *cp2++) && c != '|' && c != ':' &&
usr.sbin/lpr/lpc/cmds.c
367
*cp1++ = c;
usr.sbin/lpr/lpc/cmds.c
423
int c;
usr.sbin/lpr/lpc/cmds.c
436
while ((c = *cp2++) && c != '|' && c != ':' &&
usr.sbin/lpr/lpc/cmds.c
438
*cp1++ = c;
usr.sbin/lpr/lpc/cmds.c
488
int c;
usr.sbin/lpr/lpc/cmds.c
501
while ((c = *cp2++) && c != '|' && c != ':' &&
usr.sbin/lpr/lpc/cmds.c
503
*cp1++ = c;
usr.sbin/lpr/lpc/cmds.c
602
int c;
usr.sbin/lpr/lpc/cmds.c
615
while ((c = *cp2++) && c != '|' && c != ':' &&
usr.sbin/lpr/lpc/cmds.c
617
*cp1++ = c;
usr.sbin/lpr/lpc/cmds.c
639
int c;
usr.sbin/lpr/lpc/cmds.c
652
while ((c = *cp2++) && c != '|' && c != ':' &&
usr.sbin/lpr/lpc/cmds.c
654
*cp1++ = c;
usr.sbin/lpr/lpc/cmds.c
699
int c;
usr.sbin/lpr/lpc/cmds.c
708
while ((c = *cp2++) && c != '|' && c != ':' &&
usr.sbin/lpr/lpc/cmds.c
710
*cp1++ = c;
usr.sbin/lpr/lpc/cmds.c
791
int c;
usr.sbin/lpr/lpc/cmds.c
804
while ((c = *cp2++) && c != '|' && c != ':' &&
usr.sbin/lpr/lpc/cmds.c
806
*cp1++ = c;
usr.sbin/lpr/lpc/cmds.c
92
int c;
usr.sbin/lpr/lpc/lpc.c
119
struct cmd *c;
usr.sbin/lpr/lpc/lpc.c
121
c = getcmd(arg);
usr.sbin/lpr/lpc/lpc.c
122
if (c == (struct cmd *)-1) {
usr.sbin/lpr/lpc/lpc.c
126
if (c == 0) {
usr.sbin/lpr/lpc/lpc.c
130
if (c->c_priv && getuid() && ingroup(LPR_OPER) == 0) {
usr.sbin/lpr/lpc/lpc.c
134
(*c->c_handler)(pargc, pargv);
usr.sbin/lpr/lpc/lpc.c
205
struct cmd *c, *found;
usr.sbin/lpr/lpc/lpc.c
211
for (c = cmdtab; (p = c->c_name) != NULL; c++) {
usr.sbin/lpr/lpc/lpc.c
214
return(c);
usr.sbin/lpr/lpc/lpc.c
219
found = c;
usr.sbin/lpr/lpc/lpc.c
266
struct cmd *c;
usr.sbin/lpr/lpc/lpc.c
273
for (c = cmdtab; c->c_name; c++) {
usr.sbin/lpr/lpc/lpc.c
274
size_t len = strlen(c->c_name);
usr.sbin/lpr/lpc/lpc.c
286
c = cmdtab + j * lines + i;
usr.sbin/lpr/lpc/lpc.c
287
printf("%s", c->c_name);
usr.sbin/lpr/lpc/lpc.c
288
if (c + lines >= &cmdtab[NCMDS - 1]) {
usr.sbin/lpr/lpc/lpc.c
292
w = strlen(c->c_name);
usr.sbin/lpr/lpc/lpc.c
304
c = getcmd(arg);
usr.sbin/lpr/lpc/lpc.c
305
if (c == (struct cmd *)-1)
usr.sbin/lpr/lpc/lpc.c
307
else if (c == (struct cmd *)0)
usr.sbin/lpr/lpc/lpc.c
311
c->c_name, c->c_help);
usr.sbin/lpr/lpd/printjob.c
1052
scnline(int key, char *p, int c)
usr.sbin/lpr/lpd/printjob.c
1058
*p++ = key & 0200 ? c : BACKGND;
usr.sbin/lpr/lpd/printjob.c
1070
char outbuf[LINELEN+1], *sp, c, cc;
usr.sbin/lpr/lpd/printjob.c
1078
d = dropit(c = TRC(cc = *sp++));
usr.sbin/lpr/lpd/printjob.c
1083
strp = scnline(scnkey[(int)c][scnhgt-1-d],
usr.sbin/lpr/lpd/printjob.c
1100
dropit(int c)
usr.sbin/lpr/lpd/printjob.c
1102
switch(c) {
usr.sbin/lpr/lpr/lpr.c
127
int i, f, errs, c;
usr.sbin/lpr/lpr/lpr.c
150
while ((c = getopt(argc, argv,
usr.sbin/lpr/lpr/lpr.c
152
switch (c) {
usr.sbin/lpr/lpr/lpr.c
511
card(int c, const char *p2)
usr.sbin/lpr/lpr/lpr.c
521
*p1++ = c;
usr.sbin/lpr/lpr/lpr.c
522
while ((c = *p2++) != '\0') {
usr.sbin/lpr/lpr/lpr.c
523
*p1++ = (c == '\n') ? ' ' : c;
usr.sbin/lpr/pac/pac.c
253
int hno, c, runs;
usr.sbin/lpr/pac/pac.c
261
for (ap = base, c = hcount; c--; ap++) {
usr.sbin/lpr/pac/pac.c
273
for (ap = base, c = hcount; c--; ap++) {
usr.sbin/makefs/cd9660/cd9660_strings.c
100
c++;
usr.sbin/makefs/cd9660/cd9660_strings.c
114
const char *c=str;
usr.sbin/makefs/cd9660/cd9660_strings.c
117
while ((*c) != '\0') {
usr.sbin/makefs/cd9660/cd9660_strings.c
118
if (!(cd9660_is_d_char(*c))) {
usr.sbin/makefs/cd9660/cd9660_strings.c
119
if (islower((unsigned char)*c) )
usr.sbin/makefs/cd9660/cd9660_strings.c
124
c++;
usr.sbin/makefs/cd9660/cd9660_strings.c
65
cd9660_is_d_char(char c)
usr.sbin/makefs/cd9660/cd9660_strings.c
67
return (isupper((unsigned char)c)
usr.sbin/makefs/cd9660/cd9660_strings.c
68
|| c == '_'
usr.sbin/makefs/cd9660/cd9660_strings.c
69
|| (c >= '0' && c <= '9'));
usr.sbin/makefs/cd9660/cd9660_strings.c
73
cd9660_is_a_char(char c)
usr.sbin/makefs/cd9660/cd9660_strings.c
75
return (isupper((unsigned char)c)
usr.sbin/makefs/cd9660/cd9660_strings.c
76
|| c == '_'
usr.sbin/makefs/cd9660/cd9660_strings.c
77
|| (c >= '%' && c <= '?')
usr.sbin/makefs/cd9660/cd9660_strings.c
78
|| (c >= ' ' && c <= '\"'));
usr.sbin/makefs/cd9660/cd9660_strings.c
90
const char *c = str;
usr.sbin/makefs/cd9660/cd9660_strings.c
93
while ((*c) != '\0') {
usr.sbin/makefs/cd9660/cd9660_strings.c
94
if (!(cd9660_is_a_char(*c))) {
usr.sbin/makefs/cd9660/cd9660_strings.c
95
if (islower((unsigned char)*c) )
usr.sbin/makemandb/apropos-utils.c
1048
term_putc(int c, void *p)
usr.sbin/makemandb/apropos-utils.c
1051
nv->s[nv->l++] = c;
usr.sbin/makemandb/apropos-utils.c
116
char c;
usr.sbin/makemandb/apropos-utils.c
117
while ((c = str[i]) != '\0')
usr.sbin/makemandb/apropos-utils.c
118
str[i++] = tolower((unsigned char) c);
usr.sbin/makemandb/apropos-utils.c
579
char c = args->sections[i + 1]? ',': ')';
usr.sbin/makemandb/apropos-utils.c
580
if ((temp = sqlite3_mprintf("%Q%c", args->sections[i], c)) == NULL)
usr.sbin/makemandb/custom_apropos_tokenizer.c
101
c->zInput = zInput;
usr.sbin/makemandb/custom_apropos_tokenizer.c
104
c->nInput = strlen(zInput);
usr.sbin/makemandb/custom_apropos_tokenizer.c
106
c->nInput = nInput;
usr.sbin/makemandb/custom_apropos_tokenizer.c
109
*ppCursor = &c->base;
usr.sbin/makemandb/custom_apropos_tokenizer.c
120
custom_apropos_tokenizer_cursor *c = (custom_apropos_tokenizer_cursor *) pCursor;
usr.sbin/makemandb/custom_apropos_tokenizer.c
121
free(c->zToken);
usr.sbin/makemandb/custom_apropos_tokenizer.c
122
free(c);
usr.sbin/makemandb/custom_apropos_tokenizer.c
355
char c = zIn[i];
usr.sbin/makemandb/custom_apropos_tokenizer.c
356
if (c >= 'A' && c <= 'Z') {
usr.sbin/makemandb/custom_apropos_tokenizer.c
357
zOut[i] = c - 'A' + 'a';
usr.sbin/makemandb/custom_apropos_tokenizer.c
359
if (c >= '0' && c <= '9')
usr.sbin/makemandb/custom_apropos_tokenizer.c
361
zOut[i] = c;
usr.sbin/makemandb/custom_apropos_tokenizer.c
414
char c = zIn[i];
usr.sbin/makemandb/custom_apropos_tokenizer.c
415
if (c >= 'A' && c <= 'Z') {
usr.sbin/makemandb/custom_apropos_tokenizer.c
416
zReverse[j] = c + 'a' - 'A';
usr.sbin/makemandb/custom_apropos_tokenizer.c
417
} else if (c >= 'a' && c <= 'z') {
usr.sbin/makemandb/custom_apropos_tokenizer.c
418
zReverse[j] = c;
usr.sbin/makemandb/custom_apropos_tokenizer.c
692
custom_apropos_tokenizer_cursor *c = (custom_apropos_tokenizer_cursor *) pCursor;
usr.sbin/makemandb/custom_apropos_tokenizer.c
693
const char *z = c->zInput;
usr.sbin/makemandb/custom_apropos_tokenizer.c
695
while (c->iOffset < c->nInput) {
usr.sbin/makemandb/custom_apropos_tokenizer.c
699
while (c->iOffset < c->nInput && isDelim(z[c->iOffset])) {
usr.sbin/makemandb/custom_apropos_tokenizer.c
700
c->iOffset++;
usr.sbin/makemandb/custom_apropos_tokenizer.c
704
iStartOffset = c->iOffset;
usr.sbin/makemandb/custom_apropos_tokenizer.c
705
while (c->iOffset < c->nInput && !isDelim(z[c->iOffset])) {
usr.sbin/makemandb/custom_apropos_tokenizer.c
706
c->iOffset++;
usr.sbin/makemandb/custom_apropos_tokenizer.c
709
if (c->iOffset > iStartOffset) {
usr.sbin/makemandb/custom_apropos_tokenizer.c
710
size_t n = c->iOffset - iStartOffset;
usr.sbin/makemandb/custom_apropos_tokenizer.c
711
if (n > c->nAllocated) {
usr.sbin/makemandb/custom_apropos_tokenizer.c
713
c->nAllocated = n + 20;
usr.sbin/makemandb/custom_apropos_tokenizer.c
714
pNew = realloc(c->zToken, c->nAllocated);
usr.sbin/makemandb/custom_apropos_tokenizer.c
717
c->zToken = pNew;
usr.sbin/makemandb/custom_apropos_tokenizer.c
721
int stemStatus = do_stem(&z[iStartOffset], n, c->zToken, &temp);
usr.sbin/makemandb/custom_apropos_tokenizer.c
726
*pzToken = c->zToken;
usr.sbin/makemandb/custom_apropos_tokenizer.c
728
*piEndOffset = c->iOffset;
usr.sbin/makemandb/custom_apropos_tokenizer.c
729
*piPosition = c->iToken++;
usr.sbin/makemandb/custom_apropos_tokenizer.c
95
custom_apropos_tokenizer_cursor *c;
usr.sbin/makemandb/custom_apropos_tokenizer.c
97
c = calloc(1, sizeof(*c));
usr.sbin/makemandb/custom_apropos_tokenizer.c
98
if (c == NULL)
usr.sbin/mopd/common/dl.c
255
c = mopGetChar(pkt,&idx); /* Parameter Length */
usr.sbin/mopd/common/dl.c
260
for (i = 0; i < ((int) c); i++) {
usr.sbin/mopd/common/dl.c
267
(void)fprintf(fd,"Target Addr : %02x ",c);
usr.sbin/mopd/common/dl.c
268
for (i = 0; i < ((int) c); i++) {
usr.sbin/mopd/common/dl.c
277
for (i = 0; i < ((int) c); i++) {
usr.sbin/mopd/common/dl.c
284
(void)fprintf(fd,"Host Addr : %02x ",c);
usr.sbin/mopd/common/dl.c
285
for (i = 0; i < ((int) c); i++) {
usr.sbin/mopd/common/dl.c
43
u_char tmpc,c,program[257],code;
usr.sbin/mopd/common/file.c
147
u_char c;
usr.sbin/mopd/common/file.c
150
c = buf[idx+i];
usr.sbin/mopd/common/file.c
152
buf[idx+cnt-1-i] = c;
usr.sbin/mopd/mopd/mopd.c
71
int c, pid;
usr.sbin/mopd/mopd/mopd.c
75
while ((c = getopt(argc, argv, "34adfs:v")) != -1) {
usr.sbin/mopd/mopd/mopd.c
76
switch (c) {
usr.sbin/mountd/mountd.c
325
#define statvfs1(a, b, c) rump_sys_statvfs1((a), (b), (c))
usr.sbin/mountd/mountd.c
326
#define getfh(a, b, c) rump_sys_getfh((a), (b), (c))
usr.sbin/mountd/mountd.c
362
int s, c;
usr.sbin/mountd/mountd.c
363
while ((c = getopt(argc, argv, "dNnrp:" ADDOPTS)) != -1)
usr.sbin/mountd/mountd.c
364
switch (c) {
usr.sbin/moused/moused.c
1207
char c;
usr.sbin/moused/moused.c
1310
if (rodent.resolution == MOUSE_RES_LOW) c = 'g';
usr.sbin/moused/moused.c
1311
else if (rodent.resolution == MOUSE_RES_MEDIUMLOW) c = 'e';
usr.sbin/moused/moused.c
1312
else if (rodent.resolution == MOUSE_RES_MEDIUMHIGH) c = 'h';
usr.sbin/moused/moused.c
1313
else if (rodent.resolution == MOUSE_RES_HIGH) c = 'd';
usr.sbin/moused/moused.c
1314
else if (rodent.resolution <= 40) c = 'g';
usr.sbin/moused/moused.c
1315
else if (rodent.resolution <= 100) c = 'd';
usr.sbin/moused/moused.c
1316
else if (rodent.resolution <= 200) c = 'e';
usr.sbin/moused/moused.c
1317
else if (rodent.resolution <= 500) c = 'h';
usr.sbin/moused/moused.c
1318
else if (rodent.resolution <= 1000) c = 'j';
usr.sbin/moused/moused.c
1319
else c = 'd';
usr.sbin/moused/moused.c
1320
write(rodent.mfd, &c, 1);
usr.sbin/moused/moused.c
1339
read(rodent.mfd, &c, 1);
usr.sbin/moused/moused.c
1340
debug("%c", c);
usr.sbin/moused/moused.c
1341
if (c != *s)
usr.sbin/moused/moused.c
1392
read(rodent.mfd, &c, 1);
usr.sbin/moused/moused.c
1393
buf[i] = c;
usr.sbin/moused/moused.c
1403
read(rodent.mfd, &c, 1);
usr.sbin/moused/moused.c
1404
debug("%c", c);
usr.sbin/moused/moused.c
1405
if (c != buf[i])
usr.sbin/moused/moused.c
2237
const char *c;
usr.sbin/moused/moused.c
2281
c = "*q";
usr.sbin/moused/moused.c
2286
c = "*p";
usr.sbin/moused/moused.c
2291
c = "*o";
usr.sbin/moused/moused.c
2297
c = "*n";
usr.sbin/moused/moused.c
2305
if (write(rodent.mfd, c, 2) != 2)
usr.sbin/moused/moused.c
2456
char c;
usr.sbin/moused/moused.c
2474
while (read(rodent.mfd, &c, 1) == 1) {
usr.sbin/moused/moused.c
2476
buf[i++] = c;
usr.sbin/moused/moused.c
2477
if ((c == 0x08) || (c == 0x28)) { /* Begin ID */
usr.sbin/moused/moused.c
2478
debug("begin-id %02x", c);
usr.sbin/moused/moused.c
2482
debug("%c %02x", c, c);
usr.sbin/moused/moused.c
2491
++c; /* make it `End ID' */
usr.sbin/moused/moused.c
2499
if (buf[i++] == c) /* End ID */
usr.sbin/moused/moused.c
2511
if (buf[i - 1] == c)
usr.sbin/moused/moused.c
532
int c;
usr.sbin/moused/moused.c
540
while((c = getopt(argc,argv,"3DE:F:I:PRS:W:a:cdfhi:l:m:p:r:st:w:z:")) != -1)
usr.sbin/moused/moused.c
541
switch(c) {
usr.sbin/moused/moused.c
857
int c;
usr.sbin/moused/moused.c
903
c = poll(set, 3, (rodent.flags & Emulate3Button) ? 20 : INFTIM);
usr.sbin/moused/moused.c
904
if (c < 0) { /* error */
usr.sbin/moused/moused.c
907
} else if (c == 0) { /* timeout */
usr.sbin/mrouted/cfparse.y
475
char c;
usr.sbin/mrouted/cfparse.y
527
if (sscanf(q,"0x%8x%c",&n,&c) == 1) {
usr.sbin/mrouted/cfparse.y
531
if (sscanf(q,"%d%c",&n,&c) == 1) {
usr.sbin/mrouted/defs.h
91
#define bcopy(a, b, c) memcpy(b, a, c)
usr.sbin/mrouted/inet.c
154
char c;
usr.sbin/mrouted/inet.c
166
if (sscanf(s + n, "/%u%c", &n, &c) != 1 || n > 32)
usr.sbin/mtrace/mtrace.c
1173
char c = *p++;
usr.sbin/mtrace/mtrace.c
1179
switch (c) {
usr.sbin/mtree/only.c
69
uint8_t c;
usr.sbin/mtree/only.c
71
while ((c = *s++) != '\0')
usr.sbin/mtree/only.c
72
hash = hash * 33 + c; /* "perl": k=33, r=r+r/32 */
usr.sbin/mtree/specspec.c
48
#define FF(a, b, c, d) \
usr.sbin/mtree/specspec.c
49
(((a)->flags & (c)) && ((b)->flags & (c)) && ((a)->d) != ((b)->d))
usr.sbin/mtree/specspec.c
50
#define FS(a, b, c, d) \
usr.sbin/mtree/specspec.c
51
(((a)->flags & (c)) && ((b)->flags & (c)) && strcmp((a)->d,(b)->d))
usr.sbin/mtree/specspec.c
52
#define FM(a, b, c, d) \
usr.sbin/mtree/specspec.c
53
(((a)->flags & (c)) && ((b)->flags & (c)) && memcmp(&(a)->d,&(b)->d, sizeof (a)->d))
usr.sbin/ndbootd/ndbootd.c
169
#define ndbootd_new(t, c) ((t *) ndbootd_malloc(c, sizeof(t)))
usr.sbin/ndbootd/ndbootd.c
170
#define ndbootd_new0(t, c) ((t *) ndbootd_calloc(c, sizeof(t)))
usr.sbin/ndbootd/ndbootd.c
171
#define ndbootd_dup(t, b, c) ((t *) ndbootd_memdup(b, c))
usr.sbin/nfsd/nfsd.c
90
#define poll(a, b, c) rump_sys_poll((a), (b), (c))
usr.sbin/nfsd/nfsd.c
92
#define socket(a, b, c) rump_sys_socket((a), (b), (c))
usr.sbin/nfsd/nfsd.c
93
#define setsockopt(a, b, c, d, e) rump_sys_setsockopt((a), (b), (c), (d), (e))
usr.sbin/nfsd/nfsd.c
94
#define bind(a, b, c) rump_sys_bind((a), (b), (c))
usr.sbin/nfsd/nfsd.c
96
#define accept(a, b, c) rump_sys_accept((a), (b), (c))
usr.sbin/npf/npfctl/npf_cmd.c
228
int c, tid = -1;
usr.sbin/npf/npfctl/npf_cmd.c
233
while ((c = getopt(argc, argv, "n:t:")) != -1) {
usr.sbin/npf/npfctl/npf_cmd.c
234
switch (c) {
usr.sbin/npf/npfctl/npf_cmd.c
486
int c;
usr.sbin/npf/npfctl/npf_cmd.c
494
while ((c = getopt(argc, argv, "46hi:nNW")) != -1) {
usr.sbin/npf/npfctl/npf_cmd.c
495
switch (c) {
usr.sbin/npf/npfctl/npf_cmd.c
58
SHA1_CTX c;
usr.sbin/npf/npfctl/npf_cmd.c
60
SHA1Init(&c);
usr.sbin/npf/npfctl/npf_cmd.c
61
SHA1Update(&c, d, l);
usr.sbin/npf/npfctl/npf_cmd.c
62
SHA1Final(md, &c);
usr.sbin/npf/npfctl/npf_data.c
713
#define atox(c) (((c) <= '9') ? ((c) - '0') : ((toupper(c) - 'A') + 10))
usr.sbin/npf/npfctl/npfctl.c
385
int fd, c, optcount;
usr.sbin/npf/npfctl/npfctl.c
391
while ((c = getopt(argc, argv, "ab:c:o:")) != -1) {
usr.sbin/npf/npfctl/npfctl.c
392
switch (c) {
usr.sbin/ofctl/ofctl.c
496
int c;
usr.sbin/ofctl/ofctl.c
506
while ((c = getopt(argc, argv, "f:lpr:vw:")) != EOF) {
usr.sbin/ofctl/ofctl.c
507
switch (c) {
usr.sbin/perfused/debug.c
57
char c;
usr.sbin/perfused/debug.c
60
c = *(addr + i + j);
usr.sbin/perfused/debug.c
61
DPRINTF("%c", isprint((int)c) ? c : '.');
usr.sbin/pf/pfs/pfs.c
467
int c;
usr.sbin/pf/pfs/pfs.c
469
while ((c = getopt(argc, argv, "ulvw:r:R:W:bt:o:")) != -1)
usr.sbin/pf/pfs/pfs.c
470
switch (c) {
usr.sbin/puffs/mount_sysctlfs/sysctlfs.c
58
#define sysctl(a,b,c,d,e,f) rump_sys___sysctl(a,b,c,d,e,f)
usr.sbin/quot/quot.c
452
int c;
usr.sbin/quot/quot.c
462
while ((c = getchar()) != EOF && (c < '0' || c > '9'))
usr.sbin/quot/quot.c
463
while ((c = getchar()) != EOF && c != '\n');
usr.sbin/quot/quot.c
464
ungetc(c, stdin);
usr.sbin/quot/quot.c
481
while ((c = getchar()) == ' ' || c == '\t');
usr.sbin/quot/quot.c
483
while (c != EOF && c != '\n') {
usr.sbin/quot/quot.c
484
putchar(c);
usr.sbin/quot/quot.c
485
c = getchar();
usr.sbin/quot/quot.c
495
while ((c = getchar()) != EOF && c != '\n')
usr.sbin/quot/quot.c
498
if (c == EOF)
usr.sbin/rbootd/rbootd.c
77
int c, fd, omask;
usr.sbin/rbootd/rbootd.c
97
while ((c = getopt(argc, argv, "adi:")) != -1)
usr.sbin/rbootd/rbootd.c
98
switch(c) {
usr.sbin/rdate/rdate.c
81
int c;
usr.sbin/rdate/rdate.c
86
while ((c = getopt(argc, argv, "46aps")) != -1)
usr.sbin/rdate/rdate.c
87
switch (c) {
usr.sbin/rip6query/rip6query.c
79
int c;
usr.sbin/rip6query/rip6query.c
85
while ((c = getopt(argc, argv, "I:w:")) != -1) {
usr.sbin/rip6query/rip6query.c
86
switch (c) {
usr.sbin/rmt/rmt.c
101
switch (c) {
usr.sbin/rmt/rmt.c
195
DEBUG1("rmtd: garbage command %c\n", c);
usr.sbin/rmt/rmt.c
86
char c;
usr.sbin/rmt/rmt.c
99
if (read(STDIN_FILENO, &c, 1) != 1)
usr.sbin/route6d/route6d.c
310
#define FLAG(c, flag, n) case c: do { flag = n; break; } while(0)
usr.sbin/rpc.bootparamd/bootparamd.c
81
int c;
usr.sbin/rpc.bootparamd/bootparamd.c
83
while ((c = getopt(argc, argv, "di:sr:f:")) != -1)
usr.sbin/rpc.bootparamd/bootparamd.c
84
switch (c) {
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1275
char *c;
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1277
while ((c = strstr(string, token)) != NULL) {
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1278
*c = '\0';
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1281
c += strlen(token);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1282
strlcat(temp, c, sizeof(temp));
usr.sbin/rpcbind/rpcbind.c
877
int c;
usr.sbin/rpcbind/rpcbind.c
889
while ((c = getopt(argc, argv, "6adh:iLls" WRAPOP WSOP)) != -1) {
usr.sbin/rpcbind/rpcbind.c
890
switch (c) {
usr.sbin/rtadvd/advcap.c
124
int c;
usr.sbin/rtadvd/advcap.c
156
c = ibuf[i++];
usr.sbin/rtadvd/advcap.c
157
if (c == '\n') {
usr.sbin/rtadvd/advcap.c
168
*cp++ = c;
usr.sbin/rtadvd/advcap.c
400
int c;
usr.sbin/rtadvd/advcap.c
412
while ((c = *str++) && c != term) {
usr.sbin/rtadvd/advcap.c
413
switch (c) {
usr.sbin/rtadvd/advcap.c
416
c = *str++ & 037;
usr.sbin/rtadvd/advcap.c
421
c = *str++;
usr.sbin/rtadvd/advcap.c
423
if (*dp++ == c) {
usr.sbin/rtadvd/advcap.c
424
c = *dp++;
usr.sbin/rtadvd/advcap.c
430
if (isdigit((unsigned char)c)) {
usr.sbin/rtadvd/advcap.c
431
c -= '0', i = 2;
usr.sbin/rtadvd/advcap.c
433
c <<= 3, c |= *str++ - '0';
usr.sbin/rtadvd/advcap.c
438
*cp++ = c;
usr.sbin/rtadvd/advcap.c
440
if (c == term && term != ':') {
usr.sbin/rtadvd/config.c
159
int stat, c, i;
usr.sbin/rtadvd/config.c
662
for (ap = addr; ap - addr < (ssize_t)strlen(addr); ap += c+1) {
usr.sbin/rtadvd/config.c
663
c = strcspn(ap, ",");
usr.sbin/rtadvd/config.c
664
strncpy(abuf, ap, c);
usr.sbin/rtadvd/config.c
665
abuf[c] = '\0';
usr.sbin/rtadvd/config.c
700
for (ap = addr; ap - addr < (ssize_t)strlen(addr); ap += c+1) {
usr.sbin/rtadvd/config.c
701
c = strcspn(ap, ",");
usr.sbin/rtadvd/config.c
702
strncpy(abuf, ap, c);
usr.sbin/rtadvd/config.c
703
abuf[c] = '\0';
usr.sbin/sa/main.c
335
char c = ac.ac_comm[i];
usr.sbin/sa/main.c
337
if (!isascii(c) || iscntrl((unsigned char)c)) {
usr.sbin/sa/main.c
341
ci.ci_comm[i] = c;
usr.sbin/sa/pdb.c
347
double t, c;
usr.sbin/sa/pdb.c
350
c = cip->ci_calls ? cip->ci_calls : 1;
usr.sbin/sa/pdb.c
368
printf("%11.2fre ", cip->ci_etime / (double) (AHZ * c));
usr.sbin/sa/pdb.c
394
printf("%11.2fu ", cip->ci_utime / (double) (AHZ * c));
usr.sbin/sa/pdb.c
404
printf("%11.2fs ", cip->ci_stime / (double) (AHZ * c));
usr.sbin/sa/pdb.c
425
printf("%8.0favio ", cip->ci_io / c);
usr.sbin/sesd/srcs/sesd.c
58
int c, fd, polltime, dev, nodaemon;
usr.sbin/sesd/srcs/sesd.c
68
while ((c = getopt(a, v, "dt:")) != -1) {
usr.sbin/sesd/srcs/sesd.c
69
switch (c) {
usr.sbin/spray/spray.c
67
int c;
usr.sbin/spray/spray.c
75
while ((c = getopt(argc, argv, "c:d:l:")) != -1) {
usr.sbin/spray/spray.c
76
switch (c) {
usr.sbin/sti/sti.c
124
sti(int fd, int c)
usr.sbin/sti/sti.c
126
char ch = c;
usr.sbin/sti/sti.c
135
int c, state = 0;
usr.sbin/sti/sti.c
138
while ((c = unescape(&ptr, &state)) != -1)
usr.sbin/sti/sti.c
139
sti(fd, c);
usr.sbin/sti/sti.c
141
if (c == -1 && errno != ENODATA)
usr.sbin/sunlabel/sunlabel.c
1018
int i, j, k, n, r, c;
usr.sbin/sunlabel/sunlabel.c
1138
for (c = ce[k]; c < ce[k + 1]; c++)
usr.sbin/sunlabel/sunlabel.c
1139
line[c] = 'a' + j;
usr.sbin/sunlabel/sunlabel.c
323
int c;
usr.sbin/sunlabel/sunlabel.c
325
while ((c = getopt(ac, av, "mnqs")) != -1) {
usr.sbin/sunlabel/sunlabel.c
326
switch (c) {
usr.sbin/sunlabel/sunlabel.c
340
warnx("Illegal option `%c'", c);
usr.sbin/sunlabel/sunlabel.c
954
int c;
usr.sbin/sunlabel/sunlabel.c
956
c = 0;
usr.sbin/sunlabel/sunlabel.c
958
c = (*fields[i].print) (&fields[i], c);
usr.sbin/sunlabel/sunlabel.c
959
if (c > 0)
usr.sbin/sysinst/gpt.c
1483
unsigned char c;
usr.sbin/sysinst/gpt.c
1486
c = *src++;
usr.sbin/sysinst/gpt.c
1487
if (isspace(c) || c == '\\')
usr.sbin/sysinst/gpt.c
1489
*dest++ = c;
usr.sbin/sysinst/label.c
1146
const char *c;
usr.sbin/sysinst/label.c
1199
c = msg_string(MSG_fs_type_ffsv2ea);
usr.sbin/sysinst/label.c
1201
c = msg_string(MSG_fs_type_ffsv2);
usr.sbin/sysinst/label.c
1203
c = msg_string(MSG_fs_type_ffs);
usr.sbin/sysinst/label.c
1205
c = getfslabelname(edit->info.fs_type,
usr.sbin/sysinst/label.c
1208
wprintw(m->mw, "%*s : %s", col_width, ptn_type, c);
usr.sbin/sysinst/mbr.h
54
#define MBR_PUT_LSCYL(c) ((c) & 0xff)
usr.sbin/sysinst/mbr.h
55
#define MBR_PUT_MSCYLANDSEC(c,s) (((s) & 0x3f) | (((c) >> 2) & 0xc0))
usr.sbin/syslogd/syslogd.c
1013
#define FORCE2ASCII(c) ((iscntrl((unsigned char)(c)) && (c) != '\t') \
usr.sbin/syslogd/syslogd.c
1014
? ((c) == '\n' ? ' ' : '?') \
usr.sbin/syslogd/syslogd.c
1015
: (c) & 0177)
usr.sbin/syslogd/syslogd.c
2093
CODE *c;
usr.sbin/syslogd/syslogd.c
2095
for (c = facilitynames; c->c_name != NULL; c++) {
usr.sbin/syslogd/syslogd.c
2096
if (c->c_val == fac) {
usr.sbin/syslogd/syslogd.c
2097
f_s = c->c_name;
usr.sbin/syslogd/syslogd.c
2101
for (c = prioritynames; c->c_name != NULL; c++) {
usr.sbin/syslogd/syslogd.c
2102
if (c->c_val == pri) {
usr.sbin/syslogd/syslogd.c
2103
p_s = c->c_name;
usr.sbin/syslogd/syslogd.c
4063
CODE *c;
usr.sbin/syslogd/syslogd.c
4076
for (c = codetab; c->c_name; c++)
usr.sbin/syslogd/syslogd.c
4077
if (!strcmp(buf, c->c_name))
usr.sbin/syslogd/syslogd.c
4078
return c->c_val;
usr.sbin/syslogd/syslogd.c
932
valid_utf8(const char *c) {
usr.sbin/syslogd/syslogd.c
936
if ((*c & 0x80) == 0x00) return 1; /* 0bbbbbbb -- ASCII */
usr.sbin/syslogd/syslogd.c
937
else if ((*c & 0xc0) == 0x80) return 0; /* 10bbbbbb -- trailing byte */
usr.sbin/syslogd/syslogd.c
938
else if ((*c & 0xe0) == 0xc0) nb = 2; /* 110bbbbb */
usr.sbin/syslogd/syslogd.c
939
else if ((*c & 0xf0) == 0xe0) nb = 3; /* 1110bbbb */
usr.sbin/syslogd/syslogd.c
940
else if ((*c & 0xf8) == 0xf0) nb = 4; /* 11110bbb */
usr.sbin/syslogd/syslogd.c
944
if ((*c & 0xfe) == 0xc0)
usr.sbin/syslogd/syslogd.c
946
else if (((*c & 0xff) == 0xe0) && ((*(c+1) & 0xe0) == 0x80))
usr.sbin/syslogd/syslogd.c
948
else if (((*c & 0xff) == 0xf0) && ((*(c+1) & 0xf0) == 0x80))
usr.sbin/syslogd/syslogd.c
952
if (((*c & 0xff) == 0xed) && ((*(c+1) & 0xe0) == 0xa0))
usr.sbin/syslogd/syslogd.c
959
case 4: if ((*(c+3) & 0xc0) != 0x80) return 0; /*FALLTHROUGH*/
usr.sbin/syslogd/syslogd.c
960
case 3: if ((*(c+2) & 0xc0) != 0x80) return 0; /*FALLTHROUGH*/
usr.sbin/syslogd/syslogd.c
961
case 2: if ((*(c+1) & 0xc0) != 0x80) return 0; /*FALLTHROUGH*/
usr.sbin/syslogd/syslogd.c
972
get_utf8_value(const char *c) {
usr.sbin/syslogd/syslogd.c
977
if ((*c & 0x80) == 0x00) return *c;/* 0bbbbbbb -- ASCII */
usr.sbin/syslogd/syslogd.c
978
else if ((*c & 0xc0) == 0x80) return 0; /* 10bbbbbb -- trailing byte */
usr.sbin/syslogd/syslogd.c
979
else if ((*c & 0xe0) == 0xc0) { /* 110bbbbb */
usr.sbin/syslogd/syslogd.c
981
sum = (*c & ~0xe0) & 0xff;
usr.sbin/syslogd/syslogd.c
982
} else if ((*c & 0xf0) == 0xe0) { /* 1110bbbb */
usr.sbin/syslogd/syslogd.c
984
sum = (*c & ~0xf0) & 0xff;
usr.sbin/syslogd/syslogd.c
985
} else if ((*c & 0xf8) == 0xf0) { /* 11110bbb */
usr.sbin/syslogd/syslogd.c
987
sum = (*c & ~0xf8) & 0xff;
usr.sbin/syslogd/syslogd.c
994
sum |= ((*(c+i) & ~0xc0) & 0xff);
usr.sbin/syslogd/tls.c
1522
struct TLS_Incoming_Conn *c = (struct TLS_Incoming_Conn *) arg;
usr.sbin/syslogd/tls.c
1523
int fd = c->socket;
usr.sbin/syslogd/tls.c
1531
DPRINTF(D_TLS, "calling SSL_read(%p, %p, %zu)\n", c->tls_conn->sslptr,
usr.sbin/syslogd/tls.c
1532
&(c->inbuf[c->read_pos]), c->inbuflen - c->read_pos);
usr.sbin/syslogd/tls.c
1533
retrying = (c->tls_conn->state == ST_READING);
usr.sbin/syslogd/tls.c
1534
ST_CHANGE(c->tls_conn->state, ST_READING);
usr.sbin/syslogd/tls.c
1535
rc = SSL_read(c->tls_conn->sslptr, &(c->inbuf[c->read_pos]),
usr.sbin/syslogd/tls.c
1536
c->inbuflen - c->read_pos);
usr.sbin/syslogd/tls.c
1538
error = tls_examine_error("SSL_read()", c->tls_conn->sslptr,
usr.sbin/syslogd/tls.c
1539
c->tls_conn, rc);
usr.sbin/syslogd/tls.c
1546
event_del(c->tls_conn->event);
usr.sbin/syslogd/tls.c
1547
event_set(c->tls_conn->retryevent, fd,
usr.sbin/syslogd/tls.c
1548
EV_WRITE, dispatch_tls_read, c);
usr.sbin/syslogd/tls.c
1549
EVENT_ADD(c->tls_conn->retryevent);
usr.sbin/syslogd/tls.c
1553
if (c->tls_conn->errorcount < TLS_MAXERRORCOUNT)
usr.sbin/syslogd/tls.c
1559
c->closenow = true;
usr.sbin/syslogd/tls.c
1566
c->errorcount = 0;
usr.sbin/syslogd/tls.c
1567
c->read_pos += rc;
usr.sbin/syslogd/tls.c
1570
EVENT_ADD(c->tls_conn->event);
usr.sbin/syslogd/tls.c
1571
tls_split_messages(c);
usr.sbin/syslogd/tls.c
1572
if (c->closenow) {
usr.sbin/syslogd/tls.c
1573
free_tls_conn(c->tls_conn);
usr.sbin/syslogd/tls.c
1574
FREEPTR(c->inbuf);
usr.sbin/syslogd/tls.c
1575
SLIST_REMOVE(&TLS_Incoming_Head, c, TLS_Incoming_Conn, entries);
usr.sbin/syslogd/tls.c
1576
FREEPTR(c);
usr.sbin/syslogd/tls.c
1578
ST_CHANGE(c->tls_conn->state, ST_TLS_EST);
usr.sbin/syslogd/tls.c
1589
tls_split_messages(struct TLS_Incoming_Conn *c)
usr.sbin/syslogd/tls.c
1592
#define MSG_END_OFFSET (c->cur_msg_start + c->cur_msg_len)
usr.sbin/syslogd/tls.c
1600
c->cur_msg_start, c->cur_msg_len, c->read_pos);
usr.sbin/syslogd/tls.c
1602
if (!c->read_pos)
usr.sbin/syslogd/tls.c
1605
if (c->dontsave && c->read_pos < MSG_END_OFFSET) {
usr.sbin/syslogd/tls.c
1606
c->cur_msg_len -= c->read_pos;
usr.sbin/syslogd/tls.c
1607
c->read_pos = 0;
usr.sbin/syslogd/tls.c
1608
} else if (c->dontsave && c->read_pos == MSG_END_OFFSET) {
usr.sbin/syslogd/tls.c
1609
c->cur_msg_start = c->cur_msg_len = c->read_pos = 0;
usr.sbin/syslogd/tls.c
1610
c->dontsave = false;
usr.sbin/syslogd/tls.c
1611
} else if (c->dontsave && c->read_pos > MSG_END_OFFSET) {
usr.sbin/syslogd/tls.c
1614
c->read_pos - (MSG_END_OFFSET),
usr.sbin/syslogd/tls.c
1616
memmove(&c->inbuf[0],
usr.sbin/syslogd/tls.c
1617
&c->inbuf[MSG_END_OFFSET],
usr.sbin/syslogd/tls.c
1618
c->read_pos - (MSG_END_OFFSET));
usr.sbin/syslogd/tls.c
1619
c->read_pos -= (MSG_END_OFFSET);
usr.sbin/syslogd/tls.c
1620
c->cur_msg_start = c->cur_msg_len = 0;
usr.sbin/syslogd/tls.c
1621
c->dontsave = false;
usr.sbin/syslogd/tls.c
1623
if (c->read_pos < MSG_END_OFFSET) {
usr.sbin/syslogd/tls.c
1628
while (offset < c->read_pos && isdigit((unsigned char)c->inbuf[offset]))
usr.sbin/syslogd/tls.c
1631
msglen += c->inbuf[offset] - '0';
usr.sbin/syslogd/tls.c
1634
if (offset == c->read_pos) {
usr.sbin/syslogd/tls.c
1638
if (c->inbuf[offset] == ' ') {
usr.sbin/syslogd/tls.c
1639
c->cur_msg_len = msglen;
usr.sbin/syslogd/tls.c
1640
c->cur_msg_start = offset + 1;
usr.sbin/syslogd/tls.c
1641
if (MSG_END_OFFSET+1 > c->inbuflen) { /* +1 for the '\0' */
usr.sbin/syslogd/tls.c
1642
newbuf = realloc(c->inbuf, MSG_END_OFFSET+1);
usr.sbin/syslogd/tls.c
1645
c->inbuflen = MSG_END_OFFSET+1;
usr.sbin/syslogd/tls.c
1646
c->inbuf = newbuf;
usr.sbin/syslogd/tls.c
1650
c->dontsave = true;
usr.sbin/syslogd/tls.c
1651
c->cur_msg_len -= c->read_pos;
usr.sbin/syslogd/tls.c
1652
c->cur_msg_start = 0;
usr.sbin/syslogd/tls.c
1653
c->read_pos = 0;
usr.sbin/syslogd/tls.c
1665
c->closenow = true;
usr.sbin/syslogd/tls.c
1669
if (c->read_pos >= MSG_END_OFFSET) {
usr.sbin/syslogd/tls.c
1671
assert(MSG_END_OFFSET+1 <= c->inbuflen);
usr.sbin/syslogd/tls.c
1674
buf_char = c->inbuf[MSG_END_OFFSET];
usr.sbin/syslogd/tls.c
1675
c->inbuf[MSG_END_OFFSET] = '\0';
usr.sbin/syslogd/tls.c
1676
printline(c->tls_conn->hostname, &c->inbuf[c->cur_msg_start],
usr.sbin/syslogd/tls.c
1678
c->inbuf[MSG_END_OFFSET] = buf_char;
usr.sbin/syslogd/tls.c
1680
if (MSG_END_OFFSET == c->read_pos) {
usr.sbin/syslogd/tls.c
1682
c->cur_msg_start = c->cur_msg_len = c->read_pos = 0;
usr.sbin/syslogd/tls.c
1686
"chars\n", c->read_pos - (MSG_END_OFFSET),
usr.sbin/syslogd/tls.c
1688
memmove(&c->inbuf[0], &c->inbuf[MSG_END_OFFSET],
usr.sbin/syslogd/tls.c
1689
c->read_pos - (MSG_END_OFFSET));
usr.sbin/syslogd/tls.c
1690
c->read_pos -= (MSG_END_OFFSET);
usr.sbin/syslogd/tls.c
1691
c->cur_msg_start = c->cur_msg_len = 0;
usr.sbin/syslogd/tls.c
1696
if ((c->inbuflen > TLS_PERSIST_LINELENGTH)
usr.sbin/syslogd/tls.c
1697
&& (c->read_pos < TLS_LARGE_LINELENGTH)) {
usr.sbin/syslogd/tls.c
1698
newbuf = realloc(c->inbuf, TLS_LARGE_LINELENGTH);
usr.sbin/syslogd/tls.c
1701
c->inbuflen = TLS_LARGE_LINELENGTH;
usr.sbin/syslogd/tls.c
1702
c->inbuf = newbuf;
usr.sbin/syslogd/tls.c
1709
"pos %zu\n", c->cur_msg_start, c->cur_msg_len, c->read_pos);
usr.sbin/syslogd/tls.c
1712
if (c->read_pos > 10)
usr.sbin/syslogd/tls.c
1713
tls_split_messages(c);
usr.sbin/tadpolectl/tadpolectl.c
127
#define READ_REQ(a, b, c) \
usr.sbin/tadpolectl/tadpolectl.c
130
req.rsplen = c; \
usr.sbin/tadpolectl/tadpolectl.c
133
#define WRITE_REQ(a, b, c) \
usr.sbin/tadpolectl/tadpolectl.c
136
req.rsplen = c; \
usr.sbin/tcpdchk/tcpdchk.c
110
int c;
usr.sbin/tcpdchk/tcpdchk.c
117
while ((c = getopt(argc, argv, "adi:v")) != -1) {
usr.sbin/tcpdchk/tcpdchk.c
118
switch (c) {
usr.sbin/timed/timed/timed.c
135
int c;
usr.sbin/timed/timed/timed.c
152
while ((c = getopt(argc, argv, "Mtdn:i:F:G:")) != -1) {
usr.sbin/timed/timed/timed.c
153
switch (c) {
usr.sbin/timed/timed/timed.c
780
char c;
usr.sbin/timed/timed/timed.c
785
c = *name;
usr.sbin/timed/timed/timed.c
787
if (c == ghp->name[0]
usr.sbin/timed/timedc/timedc.c
118
c = getcmd(margv[0]);
usr.sbin/timed/timedc/timedc.c
119
if (c == (struct cmd *)-1) {
usr.sbin/timed/timedc/timedc.c
123
if (c == 0) {
usr.sbin/timed/timedc/timedc.c
127
(*c->c_handler)(margc, margv);
usr.sbin/timed/timedc/timedc.c
147
const struct cmd *c, *found;
usr.sbin/timed/timedc/timedc.c
155
for (c = cmdtab; c < &cmdtab[NCMDS]; c++) {
usr.sbin/timed/timedc/timedc.c
156
p = c->c_name;
usr.sbin/timed/timedc/timedc.c
159
return(c);
usr.sbin/timed/timedc/timedc.c
164
found = c;
usr.sbin/timed/timedc/timedc.c
211
const struct cmd *c;
usr.sbin/timed/timedc/timedc.c
220
for (c = cmdtab; c < &cmdtab[NCMDS]; c++) {
usr.sbin/timed/timedc/timedc.c
221
int len = strlen(c->c_name);
usr.sbin/timed/timedc/timedc.c
233
c = cmdtab + j * lines + i;
usr.sbin/timed/timedc/timedc.c
234
printf("%s", c->c_name);
usr.sbin/timed/timedc/timedc.c
235
if (c + lines >= &cmdtab[NCMDS]) {
usr.sbin/timed/timedc/timedc.c
239
w = strlen(c->c_name);
usr.sbin/timed/timedc/timedc.c
251
c = getcmd(arg);
usr.sbin/timed/timedc/timedc.c
252
if (c == (struct cmd *)-1)
usr.sbin/timed/timedc/timedc.c
254
else if (c == (struct cmd *)0)
usr.sbin/timed/timedc/timedc.c
258
c->c_name, c->c_help);
usr.sbin/timed/timedc/timedc.c
72
const struct cmd *c;
usr.sbin/timed/timedc/timedc.c
86
c = getcmd(*++argv);
usr.sbin/timed/timedc/timedc.c
87
if (c == (struct cmd *)-1) {
usr.sbin/timed/timedc/timedc.c
91
if (c == 0) {
usr.sbin/timed/timedc/timedc.c
95
(*c->c_handler)(argc, argv);
usr.sbin/tprof/tprof_analyze.c
140
u_int c, maxevent = 0;
usr.sbin/tprof/tprof_analyze.c
251
c = __SHIFTOUT(sample.s_flags, TPROF_SAMPLE_COUNTER_MASK);
usr.sbin/tprof/tprof_analyze.c
252
assert(c < TPROF_MAXCOUNTERS);
usr.sbin/tprof/tprof_analyze.c
253
if (maxevent < c)
usr.sbin/tprof/tprof_analyze.c
254
maxevent = c;
usr.sbin/tprof/tprof_analyze.c
257
a->ncount[c] = 1;
usr.sbin/tprof/tprof_analyze.c
268
o->ncount[c]++;
usr.sbin/tprof/tprof_analyze.c
295
for (c = 0; c <= maxevent; c++)
usr.sbin/tprof/tprof_analyze.c
296
printf("event#%02u ", c);
usr.sbin/tprof/tprof_analyze.c
300
for (c = 0; c <= maxevent; c++)
usr.sbin/tprof/tprof_analyze.c
329
for (c = 0; c <= maxevent; c++)
usr.sbin/tprof/tprof_analyze.c
330
printf(" %8u", a->ncount[c]);
usr.sbin/tprof/tprof_top.c
1007
char c;
usr.sbin/tprof/tprof_top.c
1021
len = read(STDIN_FILENO, &c, 1);
usr.sbin/tprof/tprof_top.c
1026
switch (c) {
usr.sbin/tprof/tprof_top.c
599
uint64_t *cn[2], *c0, *c;
usr.sbin/tprof/tprof_top.c
606
c = cn[counters_i & 1];
usr.sbin/tprof/tprof_top.c
615
c[n * nevent + i] = countsbuf.c_count[i];
usr.sbin/tprof/tprof_top.c
634
c[n * nevent + i] - c0[n * nevent + i]);
usr.sbin/umcpmioctl/printumcpmio.c
1000
int c = 1;
usr.sbin/umcpmioctl/printumcpmio.c
1003
for (c = 1; c < MCP2210_RES_BUFFER_SIZE - 4; c++) {
usr.sbin/umcpmioctl/printumcpmio.c
1004
printf("%02d:%s%02d:\t\t%d (0x%02X)\n", n, mcp2221_outputs2[subcode][1], c, br[n], br[n]);
usr.sbin/umcpmioctl/printumcpmio.c
1023
int c = 1;
usr.sbin/umcpmioctl/printumcpmio.c
1027
for (c = 1; c <= l; c++) {
usr.sbin/umcpmioctl/printumcpmio.c
1028
printf("%02d:%s%02d:\t\t%d (0x%02X)\n", n, mcp2221_outputs2[subcode][1], c, br[n], br[n]);
usr.sbin/umcpmioctl/umcpmioctl.c
100
valid_cmd(const struct umcpmioctlcmd c[], long unsigned int csize, char *cmdtocheck)
usr.sbin/umcpmioctl/umcpmioctl.c
105
if (strncmp(cmdtocheck, c[i].cmd, 16) == 0) {
usr.sbin/umcpmioctl/umcpmioctl.c
117
int c;
usr.sbin/umcpmioctl/umcpmioctl.c
122
while ((c = getopt(argc, argv, "dh")) != -1) {
usr.sbin/umcpmioctl/umcpmioctl.c
123
switch (c) {
usr.sbin/user/user.c
1854
int c;
usr.sbin/user/user.c
1862
while ((c = getopt(argc, argv, "DFG:b:c:d:e:f:g:k:mou:s:"
usr.sbin/user/user.c
1864
switch(c) {
usr.sbin/user/user.c
2015
int c, have_new_user;
usr.sbin/user/user.c
2021
while ((c = getopt(argc, argv, "C:FG:c:d:e:f:g:l:mos:u:"
usr.sbin/user/user.c
2023
switch(c) {
usr.sbin/user/user.c
2151
int c;
usr.sbin/user/user.c
2155
while ((c = getopt(argc, argv, "r" DEL_OPT_EXTENSIONS)) != -1) {
usr.sbin/user/user.c
2156
switch(c) {
usr.sbin/user/user.c
2246
int c;
usr.sbin/user/user.c
2251
while ((c = getopt(argc, argv, "g:o" GROUP_ADD_OPT_EXTENSIONS)) != -1) {
usr.sbin/user/user.c
2252
switch(c) {
usr.sbin/user/user.c
2332
int c;
usr.sbin/user/user.c
2334
while ((c = getopt(argc, argv, "" GROUP_DEL_OPT_EXTENSIONS)) != -1) {
usr.sbin/user/user.c
2335
switch(c) {
usr.sbin/user/user.c
2379
int c;
usr.sbin/user/user.c
2384
while ((c = getopt(argc, argv, "g:on:" GROUP_MOD_OPT_EXTENSIONS)) != -1) {
usr.sbin/user/user.c
2385
switch(c) {
usr.sbin/user/user.c
642
#define VALID_CHAR(c) (isalnum(c) || (c) == '.' || (c) == '_' || (c) == '-')
usr.sbin/videomode/videomode.c
58
int c;
usr.sbin/videomode/videomode.c
64
while ((c = getopt(argc, argv, "as:")) != -1) {
usr.sbin/videomode/videomode.c
65
switch (c) {
usr.sbin/wiconfig/wiconfig.c
514
unsigned char *c;
usr.sbin/wiconfig/wiconfig.c
516
c = (unsigned char *)&wreq->wi_val;
usr.sbin/wiconfig/wiconfig.c
520
printf("%02x", c[i]);
usr.sbin/wiconfig/wiconfig.c
725
struct wi_counters *c;
usr.sbin/wiconfig/wiconfig.c
733
c = (struct wi_counters *)&wreq.wi_val;
usr.sbin/wiconfig/wiconfig.c
737
c->wi_tx_unicast_frames);
usr.sbin/wiconfig/wiconfig.c
739
c->wi_tx_multicast_frames);
usr.sbin/wiconfig/wiconfig.c
741
c->wi_tx_fragments);
usr.sbin/wiconfig/wiconfig.c
743
c->wi_tx_unicast_octets);
usr.sbin/wiconfig/wiconfig.c
745
c->wi_tx_multicast_octets);
usr.sbin/wiconfig/wiconfig.c
747
c->wi_tx_single_retries);
usr.sbin/wiconfig/wiconfig.c
749
c->wi_tx_multi_retries);
usr.sbin/wiconfig/wiconfig.c
751
c->wi_tx_retry_limit);
usr.sbin/wiconfig/wiconfig.c
753
c->wi_tx_discards);
usr.sbin/wiconfig/wiconfig.c
755
c->wi_tx_discards_wrong_sa);
usr.sbin/wiconfig/wiconfig.c
757
c->wi_rx_unicast_frames);
usr.sbin/wiconfig/wiconfig.c
759
c->wi_rx_multicast_frames);
usr.sbin/wiconfig/wiconfig.c
761
c->wi_rx_fragments);
usr.sbin/wiconfig/wiconfig.c
763
c->wi_rx_unicast_octets);
usr.sbin/wiconfig/wiconfig.c
765
c->wi_rx_multicast_octets);
usr.sbin/wiconfig/wiconfig.c
767
c->wi_rx_fcs_errors);
usr.sbin/wiconfig/wiconfig.c
769
c->wi_rx_discards_nobuf);
usr.sbin/wiconfig/wiconfig.c
771
c->wi_rx_WEP_cant_decrypt);
usr.sbin/wiconfig/wiconfig.c
773
c->wi_rx_msg_in_msg_frags);
usr.sbin/wiconfig/wiconfig.c
775
c->wi_rx_msg_in_bad_msg_frags);
usr.sbin/wsconscfg/wsconscfg.c
63
int c, delete, kbd, idx, wsfd, swtch, get, mux;
usr.sbin/wsconscfg/wsconscfg.c
80
while ((c = getopt(argc, argv, "de:Ff:gkmst:")) != -1) {
usr.sbin/wsconscfg/wsconscfg.c
81
switch (c) {
usr.sbin/wsfontload/wsfontload.c
143
int c, res, wsfd, ffd, verbose = 0, listfonts = 0;
usr.sbin/wsfontload/wsfontload.c
159
while ((c = getopt(argc, argv, "f:w:h:e:N:bBvl")) != -1) {
usr.sbin/wsfontload/wsfontload.c
160
switch (c) {
usr.sbin/wsmoused/config.c
148
block_add_child(struct block *b, struct block *c)
usr.sbin/wsmoused/config.c
151
if (c == NULL)
usr.sbin/wsmoused/config.c
157
c->b_parent = b;
usr.sbin/wsmoused/config.c
158
b->b_child[b->b_child_count] = c;
usr.sbin/wsmuxctl/wsmuxctl.c
114
int wsfd, list, c, add, rem, recursive;
usr.sbin/wsmuxctl/wsmuxctl.c
125
while ((c = getopt(argc, argv, "a:f:lLr:")) != -1) {
usr.sbin/wsmuxctl/wsmuxctl.c
126
switch (c) {
usr.sbin/ypbind/ypbind.c
1116
int c;
usr.sbin/ypbind/ypbind.c
1118
while ((c = getc(dom->dom_serversfile)) != '\n' && c != EOF)
usr.sbin/yppoll/yppoll.c
94
int c, r, tcp = 0;
usr.sbin/yppoll/yppoll.c
98
while ((c = getopt(argc, argv, "Th:d:")) != -1) {
usr.sbin/yppoll/yppoll.c
99
switch (c) {
usr.sbin/ypserv/mkalias/mkalias.c
125
char *c;
usr.sbin/ypserv/mkalias/mkalias.c
128
for(c = name; i < len; i++) {
usr.sbin/ypserv/mkalias/mkalias.c
129
if (*c == '.') last = '.';
usr.sbin/ypserv/mkalias/mkalias.c
130
c++;
usr.sbin/ypserv/mkalias/mkalias.c
135
for(c = name; i < len; i++) {
usr.sbin/ypserv/mkalias/mkalias.c
137
*c = toupper((unsigned char)*c);
usr.sbin/ypserv/mkalias/mkalias.c
138
last = *c++;
usr.sbin/ypserv/mkalias/mkalias.c
63
char *c, *s, *r;
usr.sbin/ypserv/mkalias/mkalias.c
70
for(c = address; i < len; i++) {
usr.sbin/ypserv/mkalias/mkalias.c
71
if (*c == '@') {
usr.sbin/ypserv/mkalias/mkalias.c
75
*s++ = *c;
usr.sbin/ypserv/mkalias/mkalias.c
76
c++;
usr.sbin/ypserv/mkalias/mkalias.c
85
for(c = address; i < len; i++) {
usr.sbin/ypserv/mkalias/mkalias.c
86
if (c == r) {
usr.sbin/ypserv/mkalias/mkalias.c
90
*s++ = *c;
usr.sbin/ypserv/mkalias/mkalias.c
91
c++;
usr.sbin/ypserv/yppush/yppush.c
108
int c, rv;
usr.sbin/ypserv/yppush/yppush.c
121
while ((c = getopt(argc, argv, "d:h:v")) != -1) {
usr.sbin/ypserv/yppush/yppush.c
122
switch (c) {
usr.sbin/ypserv/yppush/yppush.c
150
c = yp_get_default_domain(&ypi.ourdomain);
usr.sbin/ypserv/yppush/yppush.c
153
yperr_string(c));
usr.sbin/ypset/ypset.c
59
int c;
usr.sbin/ypset/ypset.c
67
while ((c = getopt(argc, argv, "h:d:")) != -1) {
usr.sbin/ypset/ypset.c
68
switch(c) {