bin/csh/csh.c
1093
paraml.word = STRNULL;
bin/csh/csh.h
273
Char *word;
bin/csh/exec.c
620
lexw[0].word = STRNULL;
bin/csh/exec.c
621
lexw[2].word = STRret;
bin/csh/exec.c
631
lexw[1].word = *v;
bin/csh/exec.c
650
if (adrof1(sp->word, &aliases)) {
bin/csh/exec.c
656
s0 = sp->word; /* to get the memory freeing right... */
bin/csh/exec.c
659
if ((*(sp->word) & (QUOTE | TRIM)) == QUOTE)
bin/csh/exec.c
660
(sp->word)++;
bin/csh/exec.c
663
s1 = s2 = sp->word;
bin/csh/exec.c
684
if (eq(sp->word, str2short(bptr->bname))) {
bin/csh/exec.c
689
vis_str(sp->word));
bin/csh/exec.c
692
(void)Strcpy(str, sp->word);
bin/csh/exec.c
693
sp->word = s0; /* we save and then restore this */
bin/csh/exec.c
698
sp->word = cmd = globone(sp->word, G_IGNORE);
bin/csh/exec.c
700
if ((i = iscommand(sp->word)) != 0) {
bin/csh/exec.c
703
int slash = any(short2str(sp->word), '/');
bin/csh/exec.c
715
sp->word = Strspl(STRdotsl, sp->word);
bin/csh/exec.c
717
free(sp->word);
bin/csh/exec.c
724
sp->word = Strspl(s1, sp->word);
bin/csh/exec.c
729
(void)Strcpy(str, sp->word);
bin/csh/exec.c
730
free(sp->word);
bin/csh/exec.c
739
"%s: Command not found.\n", vis_str(sp->word));
bin/csh/exec.c
742
(void)Strcpy(str, sp->word);
bin/csh/exec.c
745
sp->word = s0; /* we save and then restore this */
bin/csh/exp.c
569
hp->word = STRNULL;
bin/csh/exp.c
578
wdp->word = Strsave(*v++);
bin/csh/file.c
480
tsearch(Char *word, COMMAND command, size_t max_word_length)
bin/csh/file.c
495
looking_for_lognames = (*word == '~') && (Strchr(word, '/') == NULL);
bin/csh/file.c
498
copyn(name, &word[1], MAXNAMLEN); /* name sans ~ */
bin/csh/file.c
502
extract_dir_and_name(word, dir, name);
bin/csh/file.c
555
copyn(word, STRtilde, 1);
bin/csh/file.c
558
copyn(word, dir, max_word_length);
bin/csh/file.c
560
catn(word, extended_name, max_word_length);
bin/csh/glob.c
585
Char word[MAXPATHLEN], *ep, *lp, *rp;
bin/csh/glob.c
596
pargcp = pargs = word;
bin/csh/hist.c
63
if (sp->next->word[0] == '\n')
bin/csh/lex.c
1254
if (lp->word[0] == '\n')
bin/csh/lex.c
1258
q = lp->word;
bin/csh/lex.c
1266
for (dp = lp->word; *dp; dp++) {
bin/csh/lex.c
1278
} while (lp->word[0] != '\n');
bin/csh/lex.c
145
hp->word = STRNULL;
bin/csh/lex.c
164
new->word = 0;
bin/csh/lex.c
169
wdp->word = word();
bin/csh/lex.c
170
} while (wdp->word[0] != '\n');
bin/csh/lex.c
182
(void)fprintf(fp, "%s", vis_str(sp->word));
bin/csh/lex.c
186
if (sp->word[0] != '\n')
bin/csh/lex.c
200
char *w = vis_str(sp->word);
bin/csh/lex.c
236
wdp->word = Strsave(fp->word);
bin/csh/lex.c
238
} while (wdp->word[0] != '\n');
bin/csh/lex.c
250
free(fp->word);
bin/csh/lex.c
405
setexclp(exclnxt->word);
bin/csh/lex.c
416
setexclp(exclnxt->word);
bin/csh/lex.c
60
static Char *word(void);
bin/csh/lex.c
882
new->word = 0;
bin/csh/lex.c
888
if (en->word) {
bin/csh/lex.c
892
tword = subword(en->word, sc, &didone);
bin/csh/lex.c
909
tword = Strsave(en->word);
bin/csh/lex.c
910
wdp->word = tword;
bin/csh/parse.c
111
switch (p->word[0]) {
bin/csh/parse.c
121
if (p->next != p2 && eq(p->next->word, STRand))
bin/csh/parse.c
147
if (p1->word[0] == '(') {
bin/csh/parse.c
148
for (p2 = p2->prev; p2->word[0] != ')'; p2 = p2->prev)
bin/csh/parse.c
156
ap = adrof1(p1->word, &aliases);
bin/csh/parse.c
169
if (p1->word[0] && eq(p1->word, alout.next->word)) {
bin/csh/parse.c
172
cp = alout.next->word;
bin/csh/parse.c
173
alout.next->word = Strspl(STRQNULL, cp);
bin/csh/parse.c
182
free(alout.prev->word);
bin/csh/parse.c
195
free(p1->word);
bin/csh/parse.c
218
if (any(";&\n", p1->word[0]))
bin/csh/parse.c
239
switch (p->word[0]) {
bin/csh/parse.c
249
if (p->word[1] == '|')
bin/csh/parse.c
253
if (p->next != p2 && eq(p->next->word, STRand))
bin/csh/parse.c
259
if (p->word[1] == '&')
bin/csh/parse.c
300
switch (p->word[0]) {
bin/csh/parse.c
336
switch (p->word[0]) {
bin/csh/parse.c
344
if (p->word[1] != '|')
bin/csh/parse.c
373
switch (p->word[0]) {
bin/csh/parse.c
381
if (p->word[1] == '&' && l == 0) {
bin/csh/parse.c
409
switch (p->word[0]) {
bin/csh/parse.c
422
if (pn != p2 && pn->word[0] == '&') {
bin/csh/parse.c
428
if (pn != p2 && pn->word[0] == '&')
bin/csh/parse.c
459
switch (srchx(p->word)) {
bin/csh/parse.c
479
switch (p->word[0]) {
bin/csh/parse.c
499
if (any(RELPAR, p->next->word[0]))
bin/csh/parse.c
516
if (p2->word[0] == ')')
bin/csh/parse.c
522
c = p->word[0];
bin/csh/parse.c
540
if (p->word[1] == '>')
bin/csh/parse.c
542
if (p->next != p2 && eq(p->next->word, STRand)) {
bin/csh/parse.c
549
if (p->next != p2 && eq(p->next->word, STRbang))
bin/csh/parse.c
556
if (any(RELPAR, p->word[0])) {
bin/csh/parse.c
563
t->t_drit = Strsave(p->word);
bin/csh/parse.c
568
if (p->word[1] == '<')
bin/csh/parse.c
575
if (any(RELPAR, p->word[0])) {
bin/csh/parse.c
584
t->t_dlef = Strsave(p->word);
bin/csh/parse.c
594
av[n] = Strsave(p->word);
bin/csh/parse.c
95
if (any(";&\n", p1->word[0]))
bin/ksh/edit.c
596
char *word;
bin/ksh/edit.c
613
t = FILECMP(a->word + a->base, b->word + b->base);
bin/ksh/edit.c
672
info[i].word = words[i];
bin/ksh/edit.c
676
last_info->word, info[i].base) != 0)
bin/ksh/edit.c
686
words[i] = info[i].word;
bin/ksh/eval.c
171
int fdo, word; /* second pass flags; have word */
bin/ksh/eval.c
208
word = (f&DOBLANK) ? IFS_WS : IFS_WORD;
bin/ksh/eval.c
230
word = IFS_WORD;
bin/ksh/eval.c
240
word = IFS_WORD;
bin/ksh/eval.c
256
word = IFS_WORD;
bin/ksh/eval.c
480
word = IFS_WS;
bin/ksh/eval.c
50
static int varsub ARGS((Expand *xp, char *sp, char *word, int *stypep, int *slenp));
bin/ksh/eval.c
504
word = IFS_WORD;
bin/ksh/eval.c
567
if (word == IFS_WORD
bin/ksh/eval.c
568
|| (!ctype(c, C_IFSWS) && (c || word == IFS_NWS)))
bin/ksh/eval.c
596
if (word != IFS_NWS)
bin/ksh/eval.c
597
word = ctype(c, C_IFSWS) ? IFS_WS : IFS_NWS;
bin/ksh/eval.c
668
word = IFS_WORD;
bin/ksh/eval.c
688
word = IFS_WORD;
bin/ksh/eval.c
697
varsub(xp, sp, word, stypep, slenp)
bin/ksh/eval.c
700
char *word;
bin/ksh/eval.c
721
if (*word != CSUBST)
bin/ksh/eval.c
751
c = word[slen = 0] == CHAR ? word[1] : 0;
bin/ksh/eval.c
755
c = word[slen + 0] == CHAR ? word[slen + 1] : 0;
bin/ksh/eval.c
763
if (word[slen + 0] == CHAR && c == word[slen + 1]) {
bin/ksh/eval.c
769
if (!stype && *word != CSUBST)
common/dist/zlib/crc32.c
123
local z_word_t byte_swap(z_word_t word) {
common/dist/zlib/crc32.c
126
(word & 0xff00000000000000) >> 56 |
common/dist/zlib/crc32.c
127
(word & 0xff000000000000) >> 40 |
common/dist/zlib/crc32.c
128
(word & 0xff0000000000) >> 24 |
common/dist/zlib/crc32.c
129
(word & 0xff00000000) >> 8 |
common/dist/zlib/crc32.c
130
(word & 0xff000000) << 8 |
common/dist/zlib/crc32.c
131
(word & 0xff0000) << 24 |
common/dist/zlib/crc32.c
132
(word & 0xff00) << 40 |
common/dist/zlib/crc32.c
133
(word & 0xff) << 56;
common/dist/zlib/crc32.c
136
(word & 0xff000000) >> 24 |
common/dist/zlib/crc32.c
137
(word & 0xff0000) >> 8 |
common/dist/zlib/crc32.c
138
(word & 0xff00) << 8 |
common/dist/zlib/crc32.c
139
(word & 0xff) << 24;
common/dist/zlib/crc32.c
513
const z_word_t *word;
common/dist/zlib/crc32.c
536
word = (z_word_t const *)buf;
common/dist/zlib/crc32.c
547
val0 = word[i];
common/dist/zlib/crc32.c
548
val1 = word[i + Z_BATCH];
common/dist/zlib/crc32.c
549
val2 = word[i + 2 * Z_BATCH];
common/dist/zlib/crc32.c
554
word += 3 * Z_BATCH;
common/dist/zlib/crc32.c
568
val0 = word[i];
common/dist/zlib/crc32.c
569
val1 = word[i + last];
common/dist/zlib/crc32.c
570
val2 = word[i + last2];
common/dist/zlib/crc32.c
575
word += 3 * last;
common/dist/zlib/crc32.c
584
val0 = word[i];
common/dist/zlib/crc32.c
587
word += num;
common/dist/zlib/crc32.c
590
buf = (const unsigned char FAR *)word;
common/dist/zlib/examples/enough.c
529
for (code_t word = 1; word; word <<= 1)
common/dist/zlib/inflate.c
312
# define CRC2(check, word) \
common/dist/zlib/inflate.c
314
hbuf[0] = (unsigned char)(word); \
common/dist/zlib/inflate.c
315
hbuf[1] = (unsigned char)((word) >> 8); \
common/dist/zlib/inflate.c
319
# define CRC4(check, word) \
common/dist/zlib/inflate.c
321
hbuf[0] = (unsigned char)(word); \
common/dist/zlib/inflate.c
322
hbuf[1] = (unsigned char)((word) >> 8); \
common/dist/zlib/inflate.c
323
hbuf[2] = (unsigned char)((word) >> 16); \
common/dist/zlib/inflate.c
324
hbuf[3] = (unsigned char)((word) >> 24); \
common/lib/libc/string/bcopy.c
121
TLOOP(*(word *)(void *)dst = *(const word *)(const void *)src; src += wsize; dst += wsize);
common/lib/libc/string/bcopy.c
144
TLOOP(src -= wsize; dst -= wsize; *(word *)(void *)dst = *(const word *)(const void *)src);
common/lib/libc/string/bcopy.c
67
#define wsize sizeof(word)
games/adventure/vocab.c
132
vocab(const char *word, int type, int value)
games/adventure/vocab.c
140
for (hash = 0, s = word, i = 0; i < 5 && *s; i++) /* some kind of hash*/
games/adventure/vocab.c
154
h->atab = malloc(length(word));
games/adventure/vocab.c
157
for (s = word, t = h->atab; *s;)
games/adventure/vocab.c
167
for (s = word, t = h->atab; *t ^ '=';)
games/adventure/vocab.c
170
if ((*s ^ '=') != *t && s - word < 5)
games/adventure/vocab.c
176
errx(1,"Unable to find %s in vocab", word);
games/adventure/vocab.c
177
for (s = word, t = h->atab; *t ^ '=';)
games/adventure/wizard.c
117
char *word, *x;
games/adventure/wizard.c
121
getin(&word, &x);
games/adventure/wizard.c
122
if (!weq(word, magic)) {
games/boggle/boggle/bog.c
426
checkword(const char *word, int prev, int *path)
games/boggle/boggle/bog.c
433
(void) printf("checkword(%s, %d, [", word, prev);
games/boggle/boggle/bog.c
439
if (*word == '\0')
games/boggle/boggle/bog.c
442
lm = letter_map[*word - 'a'];
games/boggle/boggle/bog.c
452
p = word;
games/boggle/boggle/bog.c
493
if (checkword(word + 1, lm[i], path + 1) > 0)
games/boggle/boggle/bog.c
508
validword(const char *word)
games/boggle/boggle/bog.c
513
j = word[0] - 'a';
games/boggle/boggle/bog.c
523
if (*w != word[0]) /* end of words starting with word[0] */
games/boggle/boggle/bog.c
525
q = word;
games/hack/hack.invent.c
384
getobj(const char *let, const char *word)
games/hack/hack.invent.c
420
if ((!strcmp(word, "take off") &&
games/hack/hack.invent.c
422
|| (!strcmp(word, "wear") &&
games/hack/hack.invent.c
424
|| (!strcmp(word, "wield") &&
games/hack/hack.invent.c
458
foox ? "else " : "", word);
games/hack/hack.invent.c
463
pline("What do you want to %s [*]? ", word);
games/hack/hack.invent.c
466
word, buf);
games/hack/hack.invent.c
489
pline("You cannot %s gold.", word);
games/hack/hack.invent.c
530
pline("That is a silly thing to %s.", word);
games/hack/hack.invent.c
555
ggetobj(const char *word, int (*fn)(struct obj *), int max)
games/hack/hack.invent.c
565
xchar allowgold = (u.ugold && !strcmp(word, "drop")) ? 1 : 0; /* BAH */
games/hack/hack.invent.c
567
pline("You have nothing to %s.", word);
games/hack/hack.invent.c
594
word, ilets);
games/robots/main.c
116
word = argv[i];
games/robots/main.c
117
if (isdigit((unsigned char)word[0])) {
games/robots/main.c
118
maximum = atoi(word);
games/robots/main.c
120
Scorefile = word;
games/robots/main.c
128
word = strrchr(Scorefile, '/');
games/robots/main.c
129
if (word == NULL)
games/robots/main.c
130
word = Scorefile;
games/robots/main.c
131
if (strcmp(word, "pattern_roll") == 0)
games/robots/main.c
133
else if (strcmp(word, "stand_still") == 0)
games/robots/main.c
66
const char *word;
lib/libc/time/zic.c
3987
itsabbr(register const char *abbr, register const char *word)
lib/libc/time/zic.c
3989
if (lowerit(*abbr) != lowerit(*word))
lib/libc/time/zic.c
3991
++word;
lib/libc/time/zic.c
3994
if (*word == '\0')
lib/libc/time/zic.c
3996
} while (lowerit(*word++) != lowerit(*abbr));
lib/libc/time/zic.c
4004
ciprefix(char const *abbr, char const *word)
lib/libc/time/zic.c
4009
while (lowerit(*abbr++) == lowerit(*word++));
lib/libc/time/zic.c
4015
byword(const char *word, const struct lookup *table)
lib/libc/time/zic.c
4020
if (word == NULL || table == NULL)
lib/libc/time/zic.c
4026
if (table == lasts && ciprefix("last", word) && word[4]) {
lib/libc/time/zic.c
4027
if (word[4] == '-')
lib/libc/time/zic.c
4029
word, word + 5);
lib/libc/time/zic.c
4031
word += 4;
lib/libc/time/zic.c
4040
if (ciequal(word, lp->l_word))
lib/libc/time/zic.c
4047
if (ciprefix(word, lp->l_word)) {
lib/libc/time/zic.c
4057
if (itsabbr(word, lp->l_word)) {
lib/libc/time/zic.c
4059
warning(N_("\"%s\" is ambiguous in pre-2017c zic"), word);
lib/libm/src/math_private.h
216
u_int32_t word;
lib/libm/src/math_private.h
225
(i) = gf_u.word; \
lib/libm/src/math_private.h
233
sf_u.word = (i); \
lib/libskey/put.c
2123
char *word;
lib/libskey/put.c
2137
if ((word = strtok_r(i == 0 ? input : NULL, " ", &last)) == NULL)
lib/libskey/put.c
2140
l = strlen (word);
lib/libskey/put.c
2153
standard (word);
lib/libskey/put.c
2155
if ((v = wsrch (word, low, high)) < 0)
lib/libskey/put.c
2268
static void standard(char *word)
lib/libskey/put.c
2270
while (*word)
lib/libskey/put.c
2272
if (!isascii (*word))
lib/libskey/put.c
2274
if (islower ((unsigned char)*word))
lib/libskey/put.c
2275
*word = toupper ((unsigned char)*word);
lib/libskey/put.c
2276
if (*word == '1')
lib/libskey/put.c
2277
*word = 'L';
lib/libskey/put.c
2278
if (*word == '0')
lib/libskey/put.c
2279
*word = 'O';
lib/libskey/put.c
2280
if (*word == '5')
lib/libskey/put.c
2281
*word = 'S';
lib/libskey/put.c
2282
word++;
lib/libskey/put.c
25
static void standard(char *word);
libexec/ftpd/conf.c
144
char *class, *word, *arg, *template;
libexec/ftpd/conf.c
176
NEXTWORD(p, word);
libexec/ftpd/conf.c
179
if (EMPTYSTR(word) || EMPTYSTR(class))
libexec/ftpd/conf.c
224
} else if ((strcasecmp(word, "advertise") == 0)
libexec/ftpd/conf.c
225
|| (strcasecmp(word, "advertize") == 0)) {
libexec/ftpd/conf.c
272
} else if (strcasecmp(word, "checkportcmd") == 0) {
libexec/ftpd/conf.c
275
} else if (strcasecmp(word, "chroot") == 0) {
libexec/ftpd/conf.c
278
} else if (strcasecmp(word, "classtype") == 0) {
libexec/ftpd/conf.c
294
} else if (strcasecmp(word, "conversion") == 0) {
libexec/ftpd/conf.c
300
infile, (int)line, word);
libexec/ftpd/conf.c
346
} else if (strcasecmp(word, "denyquick") == 0) {
libexec/ftpd/conf.c
349
} else if (strcasecmp(word, "display") == 0) {
libexec/ftpd/conf.c
352
} else if (strcasecmp(word, "hidesymlinks") == 0) {
libexec/ftpd/conf.c
355
} else if (strcasecmp(word, "homedir") == 0) {
libexec/ftpd/conf.c
358
} else if (strcasecmp(word, "limit") == 0) {
libexec/ftpd/conf.c
365
} else if (strcasecmp(word, "maxfilesize") == 0) {
libexec/ftpd/conf.c
369
} else if (strcasecmp(word, "maxtimeout") == 0) {
libexec/ftpd/conf.c
374
} else if (strcasecmp(word, "mmapsize") == 0) {
libexec/ftpd/conf.c
378
} else if (strcasecmp(word, "readsize") == 0) {
libexec/ftpd/conf.c
382
} else if (strcasecmp(word, "writesize") == 0) {
libexec/ftpd/conf.c
386
} else if (strcasecmp(word, "recvbufsize") == 0) {
libexec/ftpd/conf.c
390
} else if (strcasecmp(word, "sendbufsize") == 0) {
libexec/ftpd/conf.c
394
} else if (strcasecmp(word, "sendlowat") == 0) {
libexec/ftpd/conf.c
398
} else if (strcasecmp(word, "modify") == 0) {
libexec/ftpd/conf.c
401
} else if (strcasecmp(word, "motd") == 0) {
libexec/ftpd/conf.c
404
} else if (strcasecmp(word, "notify") == 0) {
libexec/ftpd/conf.c
407
} else if (strcasecmp(word, "passive") == 0) {
libexec/ftpd/conf.c
410
} else if (strcasecmp(word, "portrange") == 0) {
libexec/ftpd/conf.c
446
} else if (strcasecmp(word, "private") == 0) {
libexec/ftpd/conf.c
449
} else if (strcasecmp(word, "rateget") == 0) {
libexec/ftpd/conf.c
454
} else if (strcasecmp(word, "rateput") == 0) {
libexec/ftpd/conf.c
459
} else if (strcasecmp(word, "sanenames") == 0) {
libexec/ftpd/conf.c
462
} else if (strcasecmp(word, "timeout") == 0) {
libexec/ftpd/conf.c
466
} else if (strcasecmp(word, "template") == 0) {
libexec/ftpd/conf.c
471
} else if (strcasecmp(word, "umask") == 0) {
libexec/ftpd/conf.c
489
} else if (strcasecmp(word, "upload") == 0) {
libexec/ftpd/conf.c
497
infile, (int)line, word);
libexec/ftpd/ftpd.c
1067
char *word, *perm, *class, *buf, *p;
libexec/ftpd/ftpd.c
1081
word = perm = class = NULL;
libexec/ftpd/ftpd.c
1090
NEXTWORD(p, word);
libexec/ftpd/ftpd.c
1093
if (EMPTYSTR(word))
libexec/ftpd/ftpd.c
1106
if ((p = strchr(word, '@')) != NULL) {
libexec/ftpd/ftpd.c
1147
if ((p = strchr(word, ':')) != NULL) {
libexec/ftpd/ftpd.c
1181
if (fnmatch(word, name, 0) != 0)
sbin/disklabel/main.c
1759
tp = word(cp);
sbin/disklabel/main.c
176
static char *word(char *);
sbin/disklabel/main.c
1786
tp = word(cp);
sbin/disklabel/main.c
1957
tp = word(cp);
share/examples/refuse/ian/libfetch/common.c
657
static char word[1024];
share/examples/refuse/ian/libfetch/common.c
659
if (fscanf(f, " %1024s ", word) != 1)
share/examples/refuse/ian/libfetch/common.c
661
return (word);
share/examples/refuse/ian/libfetch/common.c
671
const char *word;
share/examples/refuse/ian/libfetch/common.c
695
while ((word = _fetch_read_word(f)) != NULL) {
share/examples/refuse/ian/libfetch/common.c
696
if (strcmp(word, "default") == 0) {
share/examples/refuse/ian/libfetch/common.c
700
if (strcmp(word, "machine") == 0 &&
share/examples/refuse/ian/libfetch/common.c
701
(word = _fetch_read_word(f)) != NULL &&
share/examples/refuse/ian/libfetch/common.c
702
strcasecmp(word, url->host) == 0) {
share/examples/refuse/ian/libfetch/common.c
703
DEBUG(_fetch_info("Using .netrc settings for %s", word));
share/examples/refuse/ian/libfetch/common.c
707
if (word == NULL)
share/examples/refuse/ian/libfetch/common.c
709
while ((word = _fetch_read_word(f)) != NULL) {
share/examples/refuse/ian/libfetch/common.c
710
if (strcmp(word, "login") == 0) {
share/examples/refuse/ian/libfetch/common.c
711
if ((word = _fetch_read_word(f)) == NULL)
share/examples/refuse/ian/libfetch/common.c
714
"%s", word) > (int)sizeof(url->user)) {
share/examples/refuse/ian/libfetch/common.c
718
} else if (strcmp(word, "password") == 0) {
share/examples/refuse/ian/libfetch/common.c
719
if ((word = _fetch_read_word(f)) == NULL)
share/examples/refuse/ian/libfetch/common.c
722
"%s", word) > (int)sizeof(url->pwd)) {
share/examples/refuse/ian/libfetch/common.c
726
} else if (strcmp(word, "account") == 0) {
share/examples/refuse/ian/libfetch/common.c
727
if ((word = _fetch_read_word(f)) == NULL)
sys/arch/aarch64/aarch64/db_disasm.c
100
return word;
sys/arch/aarch64/aarch64/db_disasm.c
87
uint32_t word = 0;
sys/arch/aarch64/aarch64/db_disasm.c
91
kcopy((void*)address, &word, sizeof(word));
sys/arch/aarch64/aarch64/db_disasm.c
94
ufetch_32((uint32_t *)address, &word);
sys/arch/amd64/include/xen/hypercalls.h
218
unsigned long ma, unsigned long word)
sys/arch/amd64/include/xen/hypercalls.h
220
return _hypercall2(int, update_descriptor, ma, word);
sys/arch/arc/arc/minidebug.c
676
i.word = ins;
sys/arch/arc/arc/minidebug.c
680
if (i.word == 0) {
sys/arch/arm/imx/imx51_ipuv3.c
805
int word = (name >> 16) & 0xff;
sys/arch/arm/imx/imx51_ipuv3.c
810
index = word * 5;
sys/arch/arm/imx/imx51_ipuv3reg.h
743
#define __IDMA_PARAM(word, shift, size) \
sys/arch/arm/imx/imx51_ipuv3reg.h
744
((((word) & 0xff) << 16) | (((shift) & 0xff) << 8) | ((size) & 0xff))
sys/arch/arm/include/arm32/frame.h
178
.word _C_LABEL(cpufuncs)
sys/arch/arm/include/arm32/frame.h
249
.word _C_LABEL(_lock_cas_restart)
sys/arch/arm/include/arm32/frame.h
275
.word _C_LABEL(_lock_cas) ;\
sys/arch/arm/include/arm32/frame.h
277
.word _C_LABEL(_lock_cas_end) ;\
sys/arch/arm/include/asm.h
214
gotsym: .word _C_LABEL(_GLOBAL_OFFSET_TABLE_) - (initlabel+(1+2)*_INSN_SIZE)
sys/arch/arm/include/asm.h
326
.word n
sys/arch/arm/include/asm.h
331
.word n
sys/arch/arm/ti/if_cpsw.c
1155
const uint32_t * const dw = bd.word;
sys/arch/arm/ti/if_cpsw.c
1245
const uint32_t * const dw = bd.word;
sys/arch/arm/ti/if_cpsw.c
241
uint32_t * const dp = bdp->word;
sys/arch/arm/ti/if_cpsw.c
242
const bus_size_t c = __arraycount(bdp->word);
sys/arch/arm/ti/if_cpsw.c
257
uint32_t * const dp = bdp->word;
sys/arch/arm/ti/if_cpsw.c
258
const bus_size_t c = __arraycount(bdp->word);
sys/arch/arm/ti/if_cpsw.c
273
uint32_t * const dp = bdp->word;
sys/arch/arm/ti/if_cpsw.c
274
const bus_size_t c = __arraycount(bdp->word);
sys/arch/arm/ti/if_cpsw.c
290
uint32_t * const dp = bdp->word;
sys/arch/arm/ti/if_cpsw.c
291
const bus_size_t c = __arraycount(bdp->word);
sys/arch/arm/ti/if_cpsw.c
614
uint32_t * const dw = bd.word;
sys/arch/arm/ti/if_cpsw.c
846
uint32_t * const dw = bd.word;
sys/arch/arm/ti/if_cpswreg.h
151
uint32_t word[4];
sys/arch/arm/xscale/ixp425_qmgr.c
736
_lzcount(uint32_t word)
sys/arch/arm/xscale/ixp425_qmgr.c
740
if (word == 0)
sys/arch/arm/xscale/ixp425_qmgr.c
742
while ((word & 0x80000000) == 0) {
sys/arch/arm/xscale/ixp425_qmgr.c
743
word <<= 1;
sys/arch/hp300/dev/dnkbd.c
413
char rspbuf[MAX_IDENTLEN], *word, *end;
sys/arch/hp300/dev/dnkbd.c
475
word = rspbuf;
sys/arch/hp300/dev/dnkbd.c
477
end = strchr(word, '\r');
sys/arch/hp300/dev/dnkbd.c
481
aprint_normal("<%s> ", word);
sys/arch/hp300/dev/dnkbd.c
485
if (i == 1 && *word++ == '3') {
sys/arch/hp300/dev/dnkbd.c
486
if (*word == '-')
sys/arch/hp300/dev/dnkbd.c
487
word++;
sys/arch/hp300/dev/dnkbd.c
488
switch (*word) {
sys/arch/hp300/dev/dnkbd.c
518
word = end;
sys/arch/hppa/hppa/machdep.c
1483
#define PIM_WORD(name, word, bits) \
sys/arch/hppa/hppa/machdep.c
1486
bits, word); \
sys/arch/i386/pci/viapcib.c
502
int16_t word)
sys/arch/i386/pci/viapcib.c
509
slave, cmd, word));
sys/arch/i386/pci/viapcib.c
517
viapcib_smbus_write(sc, SMBHSTDAT0, word & 0x00ff);
sys/arch/i386/pci/viapcib.c
518
viapcib_smbus_write(sc, SMBHSTDAT1, (word & 0xff00) >> 8);
sys/arch/m68k/fpe/fpu_calcea.c
621
int disp, word;
sys/arch/m68k/fpe/fpu_calcea.c
638
word = sval;
sys/arch/m68k/fpe/fpu_calcea.c
639
disp = word << 16;
sys/arch/m68k/fpe/fpu_calcea.c
663
int word;
sys/arch/m68k/fpe/fpu_calcea.c
690
word = sval;
sys/arch/m68k/fpe/fpu_calcea.c
691
word <<= 16;
sys/arch/m68k/fpe/fpu_calcea.c
694
word |= sval;
sys/arch/m68k/fpe/fpu_calcea.c
695
DPRINTF(("%s: fetched ptr 0x%08x\n", __func__, word));
sys/arch/m68k/fpe/fpu_calcea.c
696
ptr = (char *)word + ea->ea_outerdisp;
sys/arch/m68k/fpsp/fpsp.h
204
CMDWORD equ LV-35 ;command word in cmd1b
sys/arch/m68k/fpsp/fpsp.h
333
sx_mask equ $01800000 set s and x bits in word $48
sys/arch/mips/include/asm.h
441
#define PTR_WORD .word
sys/arch/mips/include/asm.h
458
#define PTR_WORD .word
sys/arch/mips/include/asm.h
496
#define INT_WORD .word
sys/arch/mips/include/asm.h
542
#define LONG_WORD .word
sys/arch/mips/include/mips_opcode.h
49
unsigned word;
sys/arch/mips/include/sb1regs.h
60
.set push; .set mips32; ssnop; .word 0x54000000; ssnop; .set pop;
sys/arch/mips/mips/db_disasm.c
254
i.word = insn;
sys/arch/mips/mips/db_interface.c
1011
i.word = inst;
sys/arch/mips/mips/db_interface.c
1026
i.word = inst;
sys/arch/mips/mips/db_interface.c
1038
InstFmt i = { .word = inst, };
sys/arch/mips/mips/db_interface.c
1055
InstFmt i = { .word = inst, };
sys/arch/mips/mips/db_interface.c
940
i.word = inst;
sys/arch/mips/mips/db_interface.c
989
i.word = inst;
sys/arch/mips/mips/db_trace.c
256
i.word = *(int *)(intptr_t)va;
sys/arch/mips/mips/mips_emul.c
118
__func__, "bad branch", inst.word, instpc);
sys/arch/mips/mips/mips_emul.c
174
__func__, "bad COP1 branch", inst.word, instpc);
sys/arch/mips/mips/mips_emul.c
180
__func__, "non-branch", inst.word, instpc);
sys/arch/mips/mips/mips_emul.c
386
const InstFmt instfmt = { .word = inst };
sys/arch/mips/mips/mips_emul.c
411
const InstFmt instfmt = { .word = inst };
sys/arch/mips/mips/mips_emul.c
78
inst.word = mips_ufetch32((void *)instpc);
sys/arch/mips/mips/mips_emul.c
80
inst.word = *(uint32_t *)instpc;
sys/arch/mips/mips/mips_emul.c
91
__func__, "non-branch", inst.word, instpc);
sys/arch/mips/mips/mips_fixup.c
317
const InstFmt insn = { .word = stubp[n] };
sys/arch/mips/mips/mips_stacktrace.c
336
i.word = instr;
sys/arch/mips/mips/mips_stacktrace.c
401
i.word = instr;
sys/arch/mips/mips/trap.c
598
insn.word = instr;
sys/arch/mips/mips/trap.c
705
insn.word = instr;
sys/arch/powerpc/fpu/fpu_emu.c
308
uint32_t sign, frac, word;
sys/arch/powerpc/fpu/fpu_emu.c
321
word = ((reg & __BIT(62)) >> 32) |
sys/arch/powerpc/fpu/fpu_emu.c
327
word = /* __SHIFTIN(0, __BITS(30, 23)) | */ frac;
sys/arch/powerpc/fpu/fpu_emu.c
330
word = 0;
sys/arch/powerpc/fpu/fpu_emu.c
332
return sign | word;
sys/arch/powerpc/fpu/fpu_emu.c
464
uint32_t word;
sys/arch/powerpc/fpu/fpu_emu.c
479
word = fpu_to_single(FR(rt));
sys/arch/powerpc/fpu/fpu_emu.c
480
kaddr = &word;
sys/arch/riscv/include/asm.h
186
#define PTR_WORD .word
sys/arch/riscv/include/asm.h
195
#define INT_WORD .word
sys/arch/riscv/include/asm.h
244
#define LONG_WORD .word
sys/arch/sgimips/stand/haudfw/haudfw.c
241
u_int32_t word = strtol(word_str, NULL, 16);
sys/arch/sgimips/stand/haudfw/haudfw.c
260
firmware[cpu_offset] = word;
sys/arch/sh3/include/sh_opcode.h
4
unsigned word;
sys/arch/sparc/include/asm.h
123
.data; .align 8; 1: .word 0; .word 0; \
sys/arch/sparc/include/asm.h
135
.data; .align 8; 1: .word 0; .word 0; \
sys/arch/sparc/include/cgtworeg.h
148
u_short word;
sys/arch/sparc/include/cgtworeg.h
157
u_short word;
sys/arch/sparc/include/cgtworeg.h
173
u_short word;
sys/arch/sparc/include/cgtworeg.h
235
u_short word;
sys/arch/sparc/include/cgtworeg.h
256
u_short word;
sys/arch/sparc/include/cgtworeg.h
64
u_short word[CG2_HEIGHT][CG2_WIDTH/(CG2_N_PLANE * sizeof(u_short))];
sys/arch/sparc64/include/asm.h
39
#define POINTER .word
sys/arch/sparc64/include/asm.h
40
#define ULONG .word
sys/arch/sparc64/include/locore.h
156
0: .word 0; .word 0; \
sys/arch/sun3/dev/cg2.c
186
sc->sc_ctlreg->status.word = 1;
sys/arch/sun3/include/cg2reg.h
134
u_short word;
sys/arch/sun3/include/cg2reg.h
143
u_short word;
sys/arch/sun3/include/cg2reg.h
159
u_short word;
sys/arch/sun3/include/cg2reg.h
226
u_short word;
sys/arch/sun3/include/cg2reg.h
247
u_short word;
sys/arch/sun3/include/cg2reg.h
50
u_short word[CG2_HEIGHT][CG2_WIDTH/(CG2_N_PLANE * sizeof(u_short))];
sys/arch/vax/include/asm.h
67
.text; _ALIGN_TEXT; .globl x; .type x@function; x: .word regs
sys/arch/x86/pci/imcsmb/imcsmb.c
245
uint16_t *word;
sys/arch/x86/pci/imcsmb/imcsmb.c
255
word = (uint16_t *) buf;
sys/arch/x86/pci/imcsmb/imcsmb.c
257
lword = *word;
sys/dev/acpi/qcomiic.c
158
uint32_t stat, word;
sys/dev/acpi/qcomiic.c
161
word = 0;
sys/dev/acpi/qcomiic.c
172
word = HREAD4(sc, GENI_RX_FIFO);
sys/dev/acpi/qcomiic.c
174
buf[i] = word >> ((i % 4) * 8);
sys/dev/acpi/qcomiic.c
183
uint32_t stat, word;
sys/dev/acpi/qcomiic.c
186
word = 0;
sys/dev/acpi/qcomiic.c
188
word |= buf[i] << ((i % 4) * 8);
sys/dev/acpi/qcomiic.c
198
HWRITE4(sc, GENI_TX_FIFO, word);
sys/dev/acpi/qcomiic.c
199
word = 0;
sys/dev/dec/dzreg.h
30
u_short word;
sys/dev/ic/advlib.h
87
#define SWAPBYTES(word) ((u_int16_t) ((word) >> 8) | ((word) << 8))
sys/dev/ic/adwlib.c
1038
int word;
sys/dev/ic/adwlib.c
1090
word = 0;
sys/dev/ic/adwlib.c
1097
word++;
sys/dev/ic/adwlib.c
1105
word++;
sys/dev/ic/adwlib.c
1110
word++;
sys/dev/ic/adwlib.c
1118
word *= 2;
sys/dev/ic/adwlib.c
1119
adw_mcode_expanded_size = word;
sys/dev/ic/adwlib.c
1124
for (; word < adw_memsize; word += 2) {
sys/dev/ic/adwlib.c
1134
for (word = 0; word < adw_mcode_expanded_size; word += 2) {
sys/dev/ic/adwlib.c
1163
for (word = begin_addr; word < end_addr; word += 2) {
sys/dev/ic/adwlib.c
545
int word;
sys/dev/ic/adwlib.c
636
ADW_READ_WORD_LRAM(iot, ioh, ADW_MC_CONTROL_FLAG, word);
sys/dev/ic/adwlib.c
638
word | CONTROL_FLAG_IGNORE_PERR);
sys/dev/ic/adwlib.c
699
ADW_READ_WORD_LRAM(iot, ioh, ADW_MC_CONTROL_FLAG, word);
sys/dev/ic/adwlib.c
701
word | CONTROL_FLAG_ENABLE_AIPP);
sys/dev/ic/adwlib.c
742
word = 0;
sys/dev/ic/adwlib.c
746
word |= (0x3 << (4 * (tid % 4)));
sys/dev/ic/adwlib.c
749
word |= (0x2 << (4 * (tid % 4)));
sys/dev/ic/adwlib.c
754
ADW_MC_SDTR_SPEED1, word);
sys/dev/ic/adwlib.c
755
word = 0;
sys/dev/ic/adwlib.c
759
ADW_MC_SDTR_SPEED2, word);
sys/dev/ic/adwlib.c
760
word = 0;
sys/dev/ic/adwlib.c
764
ADW_MC_SDTR_SPEED3, word);
sys/dev/ic/adwlib.c
765
word = 0;
sys/dev/ic/adwlib.c
769
ADW_MC_SDTR_SPEED4, word);
sys/dev/ic/adwlib.c
897
ADW_READ_WORD_LRAM(iot, ioh, ADW_MC_CODE_BEGIN_ADDR, word);
sys/dev/ic/adwlib.c
898
ADW_WRITE_WORD_REGISTER(iot, ioh, IOPW_PC, word);
sys/dev/ic/adwlib.h
929
#define ADW_WRITE_WORD_REGISTER(iot, ioh, reg_off, word) \
sys/dev/ic/adwlib.h
930
bus_space_write_2((iot), (ioh), (reg_off), (word))
sys/dev/ic/adwlib.h
951
#define ADW_READ_WORD_LRAM(iot, ioh, addr, word) \
sys/dev/ic/adwlib.h
954
(word) = bus_space_read_2((iot), (ioh), IOPW_RAM_DATA); \
sys/dev/ic/adwlib.h
958
#define ADW_WRITE_WORD_LRAM(iot, ioh, addr, word) \
sys/dev/ic/adwlib.h
961
bus_space_write_2((iot), (ioh), IOPW_RAM_DATA, (word)); \
sys/dev/ic/adwlib.h
981
#define ADW_WRITE_WORD_AUTO_INC_LRAM(iot, ioh, word) \
sys/dev/ic/adwlib.h
982
bus_space_write_2((iot), (ioh), IOPW_RAM_DATA, (word))
sys/dev/ic/atw.c
2432
uint64_t word;
sys/dev/ic/atw.c
2440
u.word = htole64(tsft);
sys/dev/ic/rtl81x9.c
190
uint16_t word;
sys/dev/ic/rtl81x9.c
206
word = 0;
sys/dev/ic/rtl81x9.c
211
word |= 1 << (i - 1);
sys/dev/ic/rtl81x9.c
219
return word;
sys/dev/ic/smc83c170.c
1130
epic_read_eeprom(struct epic_softc *sc, int word, int wordcnt, uint16_t *data)
sys/dev/ic/smc83c170.c
1169
if ((word + i) & (1 << (x - 1)))
sys/dev/ic/tulip.c
4635
uint16_t word;
sys/dev/ic/tulip.c
4755
word = TULIP_ROM_GETW(cp, 2);
sys/dev/ic/tulip.c
4757
tm->tm_opmode |= TULIP_ROM_MB_OPMODE(word);
sys/dev/ic/tulip.c
4758
if ((word & TULIP_ROM_MB_NOINDICATOR) == 0) {
sys/dev/ic/tulip.c
4760
TULIP_ROM_MB_BITPOS(word);
sys/dev/ic/tulip.c
4762
(word & TULIP_ROM_MB_POLARITY) ?
sys/dev/ic/tulip.c
5071
word = TULIP_ROM_GETW(cp, 5);
sys/dev/ic/tulip.c
5073
tm->tm_opmode |= TULIP_ROM_MB_OPMODE(word);
sys/dev/ic/tulip.c
5074
if ((word & TULIP_ROM_MB_NOINDICATOR) == 0) {
sys/dev/ic/tulip.c
5076
TULIP_ROM_MB_BITPOS(word);
sys/dev/ic/tulip.c
5078
(word & TULIP_ROM_MB_POLARITY) ?
sys/dev/nand/nand.c
933
uint16_t word;
sys/dev/nand/nand.c
934
nand_read_2(self, &word);
sys/dev/nand/nand.c
935
if (word == 0x0000)
sys/dev/nand/nand.c
960
uint16_t word, mark;
sys/dev/nand/nand.c
965
nand_read_2(self, &word);
sys/dev/nand/nand.c
966
mark = htole16(word);
sys/dev/pci/cxgb/cxgb_offload.c
1205
req->word = htons(W_TCB_L2T_IX);
sys/dev/pci/cxgb/cxgb_t3_cpl.h
692
__be16 word;
sys/dev/pci/if_cas.c
1374
uint64_t word[4];
sys/dev/pci/if_cas.c
1383
word[0] = CAS_DMA_READ(sc->sc_rxcomps[i].cc_word[0]);
sys/dev/pci/if_cas.c
1384
word[1] = CAS_DMA_READ(sc->sc_rxcomps[i].cc_word[1]);
sys/dev/pci/if_cas.c
1385
word[2] = CAS_DMA_READ(sc->sc_rxcomps[i].cc_word[2]);
sys/dev/pci/if_cas.c
1386
word[3] = CAS_DMA_READ(sc->sc_rxcomps[i].cc_word[3]);
sys/dev/pci/if_cas.c
1389
if ((word[0] & CAS_RC0_TYPE) == 0 || word[3] & CAS_RC3_OWN)
sys/dev/pci/if_cas.c
1392
len = CAS_RC1_HDR_LEN(word[1]);
sys/dev/pci/if_cas.c
1394
off = CAS_RC1_HDR_OFF(word[1]);
sys/dev/pci/if_cas.c
1395
idx = CAS_RC1_HDR_IDX(word[1]);
sys/dev/pci/if_cas.c
1407
if (word[0] & CAS_RC0_RELEASE_HDR)
sys/dev/pci/if_cas.c
1422
len = CAS_RC0_DATA_LEN(word[0]);
sys/dev/pci/if_cas.c
1424
off = CAS_RC0_DATA_OFF(word[0]);
sys/dev/pci/if_cas.c
1425
idx = CAS_RC0_DATA_IDX(word[0]);
sys/dev/pci/if_cas.c
1438
if (word[0] & CAS_RC0_RELEASE_DATA)
sys/dev/pci/if_cas.c
1452
if (word[0] & CAS_RC0_SPLIT)
sys/dev/pci/if_cas.c
1455
skip = CAS_RC0_SKIP(word[0]);
sys/dev/pci/if_iavf.c
2641
uint64_t word, word0;
sys/dev/pci/if_iavf.c
2674
word = le64toh(rxd->qword1);
sys/dev/pci/if_iavf.c
2676
if (!ISSET(word, IXL_RX_DESC_DD))
sys/dev/pci/if_iavf.c
2691
len = (word & IXL_RX_DESC_PLEN_MASK) >> IXL_RX_DESC_PLEN_SHIFT;
sys/dev/pci/if_iavf.c
2702
if (ISSET(word, IXL_RX_DESC_EOP)) {
sys/dev/pci/if_iavf.c
2705
if (ISSET(word, IXL_RX_DESC_L2TAG1P)) {
sys/dev/pci/if_iavf.c
2712
iavf_rx_csum(m, word);
sys/dev/pci/if_iavf.c
2714
if (!ISSET(word,
sys/dev/pci/if_ixl.c
3182
uint64_t word, word0;
sys/dev/pci/if_ixl.c
3215
word = le64toh(rxd->qword1);
sys/dev/pci/if_ixl.c
3217
if (!ISSET(word, IXL_RX_DESC_DD))
sys/dev/pci/if_ixl.c
3232
len = (word & IXL_RX_DESC_PLEN_MASK) >> IXL_RX_DESC_PLEN_SHIFT;
sys/dev/pci/if_ixl.c
3243
if (ISSET(word, IXL_RX_DESC_EOP)) {
sys/dev/pci/if_ixl.c
3246
if (ISSET(word, IXL_RX_DESC_L2TAG1P)) {
sys/dev/pci/if_ixl.c
3253
ixl_rx_csum(m, word);
sys/dev/pci/if_ixl.c
3255
if (!ISSET(word,
sys/dev/pci/if_mcx.c
8203
uint32_t word;
sys/dev/pci/if_mcx.c
8205
word = bus_space_read_4(sc->sc_memt, sc->sc_memh, r);
sys/dev/pci/if_mcx.c
8207
return (be32toh(word));
sys/dev/pci/if_pcn.c
647
uint32_t word;
sys/dev/pci/if_pcn.c
648
word = bus_space_read_4(sc->sc_st, sc->sc_sh,
sys/dev/pci/if_pcn.c
650
enaddr[i] = word & 0xff;
sys/dev/pci/if_pcn.c
652
enaddr[i + 1] = (word >> 8) & 0xff;
sys/dev/pci/if_pcn.c
655
enaddr[i + 2] = (word >> 16) & 0xff;
sys/dev/pci/if_pcn.c
658
enaddr[i + 3] = (word >> 24) & 0xff;
sys/dev/pci/if_sip.c
2950
sipcom_read_eeprom(struct sip_softc *sc, int word, int wordcnt,
sys/dev/pci/if_sip.c
2979
if ((word + i) & (1 << (x - 1)))
sys/dev/pci/if_vge.c
369
uint16_t word = 0;
sys/dev/pci/if_vge.c
397
word = CSR_READ_2(sc, VGE_EERDDAT);
sys/dev/pci/if_vge.c
403
return word;
sys/dev/pci/if_wm.c
14235
wm_nvm_read_uwire(struct wm_softc *sc, int word, int wordcnt, uint16_t *data)
sys/dev/pci/if_wm.c
14279
wm_eeprom_sendbits(sc, word + i, sc->sc_nvm_addrbits);
sys/dev/pci/if_wm.c
14398
wm_nvm_read_spi(struct wm_softc *sc, int word, int wordcnt, uint16_t *data)
sys/dev/pci/if_wm.c
14430
if (sc->sc_nvm_addrbits == 8 && word >= 128)
sys/dev/pci/if_wm.c
14434
wm_eeprom_sendbits(sc, word << 1, sc->sc_nvm_addrbits);
sys/dev/pci/if_wm.c
14826
uint32_t word = 0;
sys/dev/pci/if_wm.c
14828
status = wm_read_ich8_data(sc, index, 1, &word);
sys/dev/pci/if_wm.c
14830
*data = (uint8_t)word;
sys/dev/pci/if_wm.c
14848
uint32_t word = 0;
sys/dev/pci/if_wm.c
14850
status = wm_read_ich8_data(sc, index, 2, &word);
sys/dev/pci/if_wm.c
14852
*data = (uint16_t)word;
sys/dev/pci/if_wm.c
14891
uint16_t word = 0;
sys/dev/pci/if_wm.c
14923
rv = wm_read_ich8_word(sc, act_offset, &word);
sys/dev/pci/if_wm.c
14929
data[i] = word;
sys/dev/pci/if_wm.c
15395
wm_nvm_read(struct wm_softc *sc, int word, int wordcnt, uint16_t *data)
sys/dev/pci/if_wm.c
15405
rv = sc->nvm.read(sc, word, wordcnt, data);
sys/dev/pci/ismt.c
485
uint16_t word, int flags)
sys/dev/pci/ismt.c
494
sc->dma_buffer[1] = word & 0xFF;
sys/dev/pci/ismt.c
495
sc->dma_buffer[2] = word >> 8;
sys/dev/pci/ismt.c
527
uint16_t word;
sys/dev/pci/ismt.c
542
word = sc->dma_buffer[0] | (sc->dma_buffer[1] << 8);
sys/dev/pci/ismt.c
544
return word;
sys/dev/pci/ixgbe/ixgbe_common.c
1392
u16 word;
sys/dev/pci/ixgbe/ixgbe_common.c
1438
word = data[i];
sys/dev/pci/ixgbe/ixgbe_common.c
1439
word = (word >> 8) | (word << 8);
sys/dev/pci/ixgbe/ixgbe_common.c
1440
ixgbe_shift_out_eeprom_bits(hw, word, 16);
sys/dev/pci/ixgbe/ixgbe_common.c
2244
u16 word = 0;
sys/dev/pci/ixgbe/ixgbe_common.c
2250
if (hw->eeprom.ops.read(hw, i, &word)) {
sys/dev/pci/ixgbe/ixgbe_common.c
2254
checksum += word;
sys/dev/pci/ixgbe/ixgbe_common.c
2277
if (hw->eeprom.ops.read(hw, j, &word)) {
sys/dev/pci/ixgbe/ixgbe_common.c
2281
checksum += word;
sys/dev/pci/ixgbe/ixgbe_common.c
810
&pba->word[0]);
sys/dev/pci/ixgbe/ixgbe_common.c
815
pba->word[0] = eeprom_buf[IXGBE_PBANUM0_PTR];
sys/dev/pci/ixgbe/ixgbe_common.c
816
pba->word[1] = eeprom_buf[IXGBE_PBANUM1_PTR];
sys/dev/pci/ixgbe/ixgbe_common.c
822
if (pba->word[0] == IXGBE_PBANUM_PTR_GUARD) {
sys/dev/pci/ixgbe/ixgbe_common.c
836
ret_val = hw->eeprom.ops.read_buffer(hw, pba->word[1],
sys/dev/pci/ixgbe/ixgbe_common.c
842
if (eeprom_buf_size > (u32)(pba->word[1] +
sys/dev/pci/ixgbe/ixgbe_common.c
845
&eeprom_buf[pba->word[1]],
sys/dev/pci/ixgbe/ixgbe_common.c
877
&pba->word[0]);
sys/dev/pci/ixgbe/ixgbe_common.c
882
eeprom_buf[IXGBE_PBANUM0_PTR] = pba->word[0];
sys/dev/pci/ixgbe/ixgbe_common.c
883
eeprom_buf[IXGBE_PBANUM1_PTR] = pba->word[1];
sys/dev/pci/ixgbe/ixgbe_common.c
889
if (pba->word[0] == IXGBE_PBANUM_PTR_GUARD) {
sys/dev/pci/ixgbe/ixgbe_common.c
894
ret_val = hw->eeprom.ops.write_buffer(hw, pba->word[1],
sys/dev/pci/ixgbe/ixgbe_common.c
900
if (eeprom_buf_size > (u32)(pba->word[1] +
sys/dev/pci/ixgbe/ixgbe_common.c
902
memcpy(&eeprom_buf[pba->word[1]],
sys/dev/pci/ixgbe/ixgbe_common.h
49
u16 word[2];
sys/dev/pci/ixgbe/ixgbe_x540.c
517
u16 word = 0;
sys/dev/pci/ixgbe/ixgbe_x540.c
531
if (ixgbe_read_eerd_generic(hw, i, &word)) {
sys/dev/pci/ixgbe/ixgbe_x540.c
535
checksum += word;
sys/dev/pci/ixgbe/ixgbe_x540.c
566
if (ixgbe_read_eerd_generic(hw, j, &word)) {
sys/dev/pci/ixgbe/ixgbe_x540.c
570
checksum += word;
sys/dev/pci/ixgbe/ixgbe_x550.c
4067
u16 word = hw->eeprom.ctrl_word_3;
sys/dev/pci/ixgbe/ixgbe_x550.c
4085
if ((hw->bus.lan_id && (word & NVM_INIT_CTRL_3_D10GMP_PORT1)) ||
sys/dev/pci/ixgbe/ixgbe_x550.c
4086
(word & NVM_INIT_CTRL_3_D10GMP_PORT0))
sys/dev/pci/veritefb.c
1481
uint32_t word = 0;
sys/dev/pci/veritefb.c
1500
word =
sys/dev/pci/veritefb.c
1506
if (word == VFB_SYNC_TOKEN)
sys/dev/pci/veritefb.c
1510
uint32_t word;
sys/dev/pci/veritefb.c
1523
&word, VFB_FIFOPOLL) == 0 &&
sys/dev/pci/veritefb.c
1524
word == VFB_CSUCODE_PING)
sys/dev/pci/veritefb.c
2223
uint32_t entry, phoff, filesz, memsz, off, paddr, word;
sys/dev/pci/veritefb.c
2292
word = 0;
sys/dev/pci/veritefb.c
2294
word = (word << 8) | u[off + i];
sys/dev/pci/veritefb.c
2295
word <<= 8 * (4 - (filesz & 3));
sys/dev/pci/veritefb.c
2296
vfb_fb_write4(sc, paddr + (filesz & ~3U), word);
sys/dev/pci/veritefb.c
2390
uint32_t word, saved;
sys/dev/pci/veritefb.c
2397
if (veritefb_read_outfifo(sc, &word) != 0)
sys/dev/pci/veritefb.c
2399
if (word != VFB_SYNC_TOKEN) {
sys/dev/pci/veritefb.c
2423
if (veritefb_read_outfifo(sc, &word) != 0)
sys/dev/pci/veritefb.c
2425
if (word != VFB_SYNC_TOKEN) {
sys/dev/pci/veritefb.c
2441
if (veritefb_read_outfifo(sc, &word) != 0)
sys/dev/pci/veritefb.c
2444
if ((word & 0xff) != (VFB_GETPIXEL_PATTERN & 0xff)) {
sys/dev/pci/veritefb.c
2490
uint32_t word;
sys/dev/pci/veritefb.c
2516
if (veritefb_read_outfifo(sc, &word) != 0 ||
sys/dev/pci/veritefb.c
2517
word != VFB_SYNC_TOKEN)
sys/dev/pci/veritefb.c
2527
if (veritefb_read_outfifo(sc, &word) != 0 ||
sys/dev/pci/veritefb.c
2528
word != VFB_CSUCODE_PING)
sys/dev/pci/veritefb.c
2777
uint32_t word;
sys/dev/pci/veritefb.c
2795
if (veritefb_read_outfifo(sc, &word) != 0 ||
sys/dev/pci/veritefb.c
2796
word != VFB_CSUCODE_PING)
sys/dev/pci/veritefb.c
3087
uint32_t word = *(uint32_t *)data;
sys/dev/pci/veritefb.c
3100
vfb_fifo_write(sc, word);
sys/dev/pci/veritefb.c
3101
if (veritefb_read_outfifo_raw(sc, &word,
sys/dev/pci/veritefb.c
3104
*(uint32_t *)data = word;
sys/dev/pci/veritefb.c
3267
uint32_t word;
sys/dev/pci/veritefb.c
3279
if (veritefb_read_outfifo(sc, &word) != 0)
sys/dev/pci/veritefb.c
3281
if (word != VFB_SYNC_TOKEN) {
sys/dev/pci/veritefb.c
3543
uint32_t pc, word;
sys/dev/pci/veritefb.c
3597
word = vfb_fifo_read(sc);
sys/dev/pci/veritefb.c
3598
db_printf("heartbeat: token 0x%08x (%s)\n", word,
sys/dev/pci/veritefb.c
3599
word == VFB_SYNC_TOKEN ? "healthy" : "BAD");
sys/dev/pci/veritefb.c
3610
if (veritefb_read_outfifo_raw(sc, &word, VFB_FIFOPOLL) == 0)
sys/dev/pci/veritefb.c
3612
word, word == VFB_CSUCODE_PING ?
sys/dev/pci/veritefb.c
450
vfb_fifo_write(struct veritefb_softc *sc, uint32_t word)
sys/dev/pci/veritefb.c
453
sc->sc_ring[sc->sc_ring_count++ & (VFB_RING_SIZE - 1)] = word;
sys/dev/pci/veritefb.c
455
bus_space_write_4(sc->sc_regt, sc->sc_regh, VFB_FIFO_SWAP_NO, word);
sys/dev/qbus/dhureg.h
37
u_short word;
sys/dev/qbus/dhureg.h
57
#define dhu_csr u_csr.word
sys/dev/qbus/dlreg.h
16
u_short word;
sys/dev/scsipi/scsipi_base.c
381
u_int word;
sys/dev/scsipi/scsipi_base.c
386
for (word = 0; word < PERIPH_NTAGWORDS; word++) {
sys/dev/scsipi/scsipi_base.c
387
bit = ffs(periph->periph_freetags[word]);
sys/dev/scsipi/scsipi_base.c
392
if (word == PERIPH_NTAGWORDS) {
sys/dev/scsipi/scsipi_base.c
400
periph->periph_freetags[word] &= ~(1U << bit);
sys/dev/scsipi/scsipi_base.c
401
tag = (word << 5) | bit;
sys/dev/scsipi/scsipi_base.c
426
int word, bit;
sys/dev/scsipi/scsipi_base.c
433
word = xs->xs_tag_id >> 5;
sys/dev/scsipi/scsipi_base.c
436
periph->periph_freetags[word] |= (1U << bit);
sys/dev/usb/if_aue.c
433
int word;
sys/dev/usb/if_aue.c
440
word = aue_eeprom_getword(sc, off + i);
sys/dev/usb/if_aue.c
441
un->un_eaddr[2 * i] = (u_char)word;
sys/dev/usb/if_aue.c
442
un->un_eaddr[2 * i + 1] = (u_char)(word >> 8);
sys/dev/usb/if_kue.c
194
kue_setword(struct usbnet *un, uint8_t breq, uint16_t word)
sys/dev/usb/if_kue.c
202
USETW(req.wValue, word);
sys/kern/kern_sysctl.c
2657
sysctl_map_flags(const u_int *map, u_int word)
sys/kern/kern_sysctl.c
2662
if ((word & map[0]) != 0)
sys/kern/subr_lockdebug.c
855
uintptr_t word;
sys/kern/subr_lockdebug.c
859
db_read_bytes((db_addr_t)addr, sizeof(word), (char *)&word);
sys/kern/subr_lockdebug.c
861
(void *)(word & ~(uintptr_t)ALIGNBYTES), word & ALIGNBYTES);
sys/kern/sys_futex.c
2028
futex_decode_robust_word(uintptr_t const word, uintptr_t * const entry,
sys/kern/sys_futex.c
2031
*is_pi = (word & _FUTEX_ROBUST_ENTRY_PI) ? true : false;
sys/kern/sys_futex.c
2032
*entry = word & ~_FUTEX_ROBUST_ENTRY_PI;
sys/net/if_wg.c
502
unsigned word, bit;
sys/net/if_wg.c
530
word = (S / SLIWIN_BPW) % SLIWIN_WORDS;
sys/net/if_wg.c
532
if (W->B[word] & (1UL << bit))
sys/net/if_wg.c
534
W->B[word] |= 1U << bit;
sys/net/npf/npf_inet.c
863
unsigned remnant, word, preflen = len >> 4;
sys/net/npf/npf_inet.c
876
word = 3;
sys/net/npf/npf_inet.c
877
if (addr->word16[word] == 0xffff) {
sys/net/npf/npf_inet.c
890
for (word = 4; word < 8; word++)
sys/net/npf/npf_inet.c
891
if (addr->word16[word] != 0xffff)
sys/net/npf/npf_inet.c
915
sum = addr->word16[word] + adj;
sys/net/npf/npf_inet.c
923
addr->word16[word] = sum;
sys/net/zlib.c
3793
} word; /* 16-bit, 8 bytes for 32-bit int's) */
sys/net/zlib.c
3971
#define exop word.what.Exop
sys/net/zlib.c
3972
#define bits word.what.Bits
sys/net/zlib.c
4447
#define exop word.what.Exop
sys/net/zlib.c
4448
#define bits word.what.Bits
sys/net/zlib.c
5070
#define exop word.what.Exop
sys/net/zlib.c
5071
#define bits word.what.Bits
sys/net/zlib.c
5419
#define exop word.what.Exop
sys/net/zlib.c
5420
#define bits word.what.Bits
tests/lib/libc/atomic/t___sync_compare_and_swap.c
115
TYPE word; \
tests/lib/libc/atomic/t___sync_compare_and_swap.c
127
ATF_CHECK_EQ_MSG(val.word, \
tests/lib/libc/atomic/t___sync_compare_and_swap.c
129
"val.word = 0x%" FMT, val.word); \
tests/lib/libc/atomic/t___sync_compare_and_swap.c
138
ATF_CHECK_EQ_MSG(val.word, \
tests/lib/libc/atomic/t___sync_compare_and_swap.c
140
"val.word = 0x%" FMT, val.word); \
tests/lib/libc/atomic/t___sync_compare_and_swap.c
205
TYPE word; \
tests/lib/libc/atomic/t___sync_compare_and_swap.c
221
ATF_CHECK_EQ_MSG(val.word, \
tests/lib/libc/atomic/t___sync_compare_and_swap.c
223
"val.word = 0x%" FMT, val.word); \
tests/lib/libc/atomic/t___sync_compare_and_swap.c
235
ATF_CHECK_EQ_MSG(val.word, \
tests/lib/libc/atomic/t___sync_compare_and_swap.c
237
"val.word = 0x%" FMT, val.word); \
tests/usr.bin/indent/lsym_do.c
120
word do {} while (false);
tests/usr.bin/indent/lsym_do.c
132
word
usr.bin/banner/banner.c
176
char word[10+1]; /* strings limited to 10 chars */
usr.bin/banner/banner.c
199
(void)strlcpy(word, argv[optind], sizeof (word));
usr.bin/banner/banner.c
200
scan_out(STDOUT_FILENO, word, '\0');
usr.bin/fmt/fmt.c
384
struct buffer word;
usr.bin/fmt/fmt.c
387
buf_init(&word);
usr.bin/fmt/fmt.c
390
buf_reset(&word);
usr.bin/fmt/fmt.c
399
buf_putc(&word, *cp++);
usr.bin/fmt/fmt.c
400
buf_putc(&word, *cp++);
usr.bin/fmt/fmt.c
409
buf_putc(&word, ' ');
usr.bin/fmt/fmt.c
411
buf_putc(&word, ' ');
usr.bin/fmt/fmt.c
414
buf_putc(&word, *cp++);
usr.bin/fmt/fmt.c
416
buf_putc(&word, '\0');
usr.bin/fmt/fmt.c
417
(void)buf_unputc(&word);
usr.bin/fmt/fmt.c
419
pack(word.bptr, wlen);
usr.bin/fmt/fmt.c
421
buf_end(&word);
usr.bin/fmt/fmt.c
448
pack(const wchar_t *word, size_t wlen)
usr.bin/fmt/fmt.c
467
for (cp = word; *cp;)
usr.bin/fmt/fmt.c
475
for (cp = word; *cp;)
usr.bin/ftp/complete.c
131
complete_command(char *word, int list)
usr.bin/ftp/complete.c
139
wordlen = strlen(word);
usr.bin/ftp/complete.c
144
if (strncmp(word, c->c_name, wordlen) == 0)
usr.bin/ftp/complete.c
148
rv = complete_ambiguous(word, list, words);
usr.bin/ftp/complete.c
161
complete_local(char *word, int list)
usr.bin/ftp/complete.c
171
if ((file = strrchr(word, '/')) == NULL) {
usr.bin/ftp/complete.c
174
file = word;
usr.bin/ftp/complete.c
176
if (file == word) {
usr.bin/ftp/complete.c
180
(void)strlcpy(dir, word, file - word + 1);
usr.bin/ftp/complete.c
243
complete_option(char *word, int list)
usr.bin/ftp/complete.c
251
wordlen = strlen(word);
usr.bin/ftp/complete.c
256
if (strncmp(word, o->name, wordlen) == 0)
usr.bin/ftp/complete.c
260
rv = complete_ambiguous(word, list, words);
usr.bin/ftp/complete.c
273
complete_remote(char *word, int list)
usr.bin/ftp/complete.c
289
if ((file = strrchr(word, '/')) == NULL) {
usr.bin/ftp/complete.c
291
file = word;
usr.bin/ftp/complete.c
294
while (*cp == '/' && cp > word)
usr.bin/ftp/complete.c
296
(void)strlcpy(dir, word, cp - word + 2);
usr.bin/ftp/complete.c
354
static char word[FTPBUFLEN];
usr.bin/ftp/complete.c
372
if (cursor_argo >= sizeof(word))
usr.bin/ftp/complete.c
378
&& strncmp(word, margv[cursor_argc] ? margv[cursor_argc] : "",
usr.bin/ftp/complete.c
382
(void)strlcpy(word, margv[cursor_argc], cursor_argo + 1);
usr.bin/ftp/complete.c
383
word[cursor_argo] = '\0';
usr.bin/ftp/complete.c
386
return (complete_command(word, dolist));
usr.bin/ftp/complete.c
405
return (complete_command(word, dolist));
usr.bin/ftp/complete.c
408
return (complete_local(word, dolist));
usr.bin/ftp/complete.c
414
return (complete_option(word, dolist));
usr.bin/ftp/complete.c
422
return (complete_remote(word, dolist));
usr.bin/ftp/complete.c
79
complete_ambiguous(char *word, int list, StringList *words)
usr.bin/ftp/complete.c
86
wordlen = strlen(word);
usr.bin/getent/getent.c
152
parsenum(const char *word, unsigned long *result)
usr.bin/getent/getent.c
157
assert(word != NULL);
usr.bin/getent/getent.c
160
if (!isdigit((unsigned char)word[0]))
usr.bin/getent/getent.c
163
num = strtoul(word, &ep, 10);
usr.bin/grep/fastgrep.c
118
fg->word = wflag;
usr.bin/grep/fastgrep.c
139
fg->word = true;
usr.bin/grep/grep.h
110
bool word;
usr.bin/grep/util.c
326
if (fg_pattern[i].word && pmatch.rm_so != 0) {
usr.bin/mail/complete.c
1009
if (word_len + 1 > sizeof(word))
usr.bin/mail/complete.c
1012
(void)strlcpy(word, lf->buffer, word_len + 1); /* do not use estrlcpy here! */
usr.bin/mail/complete.c
1017
return complete_filename(el, word, dolist);
usr.bin/mail/complete.c
1028
static char word[LINESIZE];
usr.bin/mail/complete.c
1046
if (word_len >= sizeof(word) - 1)
usr.bin/mail/complete.c
1064
(void)strlcpy(word, lf->buffer, word_len + 1);
usr.bin/mail/complete.c
1069
rv = complete_ambiguous(el, word, dolist, words);
usr.bin/mail/complete.c
248
complete_ambiguous(EditLine *el, char *word, int dolist, StringList *words)
usr.bin/mail/complete.c
254
wordlen = strlen(word);
usr.bin/mail/complete.c
301
complete_command(EditLine *el, char *word, int dolist)
usr.bin/mail/complete.c
309
wordlen = strlen(word);
usr.bin/mail/complete.c
314
if (strncmp(word, c->c_name, wordlen) == 0)
usr.bin/mail/complete.c
318
rv = complete_ambiguous(el, word, dolist, words);
usr.bin/mail/complete.c
331
complete_filename(EditLine *el, char *word, int dolist)
usr.bin/mail/complete.c
341
if ((fname = strrchr(word, '/')) == NULL) {
usr.bin/mail/complete.c
342
if (word[0] == '+' && (mf = value(ENAME_FOLDER)) != NULL) {
usr.bin/mail/complete.c
350
fname = word + 1;
usr.bin/mail/complete.c
354
fname = word;
usr.bin/mail/complete.c
357
if (fname == word) {
usr.bin/mail/complete.c
361
len = fname - word + 1;
usr.bin/mail/complete.c
362
(void)estrlcpy(dir, word, sizeof(dir));
usr.bin/mail/complete.c
425
find_execs(char *word, char *path, StringList *list)
usr.bin/mail/complete.c
431
size_t len = strlen(word);
usr.bin/mail/complete.c
458
if (strncmp(word, dp->d_name, len) == 0) {
usr.bin/mail/complete.c
494
complete_executable(EditLine *el, char *word, int dolist)
usr.bin/mail/complete.c
503
if ((fname = strrchr(word, '/')) == NULL) {
usr.bin/mail/complete.c
505
fname = word;
usr.bin/mail/complete.c
507
if (fname == word) {
usr.bin/mail/complete.c
511
len = fname - word;
usr.bin/mail/complete.c
512
(void)strncpy(dir, word, len);
usr.bin/mail/complete.c
513
dir[fname - word] = '\0';
usr.bin/mail/complete.c
527
error = find_execs(word, path, words);
usr.bin/mail/complete.c
530
error = find_execs(word, dir, words);
usr.bin/mail/complete.c
547
complete_set(EditLine *el, char *word, int dolist)
usr.bin/mail/complete.c
554
size_t len = strlen(word);
usr.bin/mail/complete.c
574
if (len == 0 || strncmp(*p, word, len) == 0)
usr.bin/mail/complete.c
577
rv = complete_ambiguous(el, word, dolist, words);
usr.bin/mail/complete.c
586
complete_alias(EditLine *el, char *word, int dolist)
usr.bin/mail/complete.c
593
size_t len = strlen(word);
usr.bin/mail/complete.c
616
if (len == 0 || strncmp(*p, word, len) == 0)
usr.bin/mail/complete.c
619
rv = complete_ambiguous(el, word, dolist, words);
usr.bin/mail/complete.c
630
complete_smopts(EditLine *el, char *word, int dolist)
usr.bin/mail/complete.c
643
len = strlen(word);
usr.bin/mail/complete.c
669
if (len == 0 || strncasecmp(*p, word, len) == 0)
usr.bin/mail/complete.c
682
if (len == 0 || strncmp(*p, word, len) == 0)
usr.bin/mail/complete.c
685
rv = complete_ambiguous(el, word, dolist, words);
usr.bin/mail/complete.c
695
complete_thread_key(EditLine *el, char *word, int dolist)
usr.bin/mail/complete.c
706
len = strlen(word);
usr.bin/mail/complete.c
727
if (len == 0 || strncmp(*p, word, len) == 0)
usr.bin/mail/complete.c
730
rv = complete_ambiguous(el, word, dolist, words);
usr.bin/mail/complete.c
875
char *word;
usr.bin/mail/complete.c
891
word = __UNCONST("");
usr.bin/mail/complete.c
893
word = salloc((size_t)cursoro + 1);
usr.bin/mail/complete.c
894
(void)strlcpy(word, argv[cursorc], (size_t)cursoro + 1);
usr.bin/mail/complete.c
908
return word;
usr.bin/mail/complete.c
922
char *word;
usr.bin/mail/complete.c
940
if ((word = split_word(&cmpltype, cmplarray, li)) == NULL)
usr.bin/mail/complete.c
946
return complete_alias(el, word, dolist);
usr.bin/mail/complete.c
950
return complete_command(el, word, dolist);
usr.bin/mail/complete.c
954
return complete_filename(el, word, dolist);
usr.bin/mail/complete.c
958
return complete_smopts(el, word, dolist);
usr.bin/mail/complete.c
966
return complete_set(el, word, dolist);
usr.bin/mail/complete.c
970
return complete_thread_key(el, word, dolist);
usr.bin/mail/complete.c
974
return complete_executable(el, word, dolist);
usr.bin/mail/complete.c
993
static char word[LINESIZE];
usr.bin/mail/head.c
238
char word[LINESIZE];
usr.bin/mail/head.c
248
cp = nextword(cp, word);
usr.bin/mail/head.c
249
cp = nextword(cp, word);
usr.bin/mail/head.c
250
if (*word)
usr.bin/mail/head.c
251
hl->l_from = copyin(word, &sp);
usr.bin/mail/head.c
253
cp = nextword(cp, word);
usr.bin/mail/head.c
254
hl->l_tty = copyin(word, &sp);
usr.bin/mail/lex.c
586
lex(char word[])
usr.bin/mail/lex.c
591
if (isprefix(word, cp->c_name))
usr.bin/mail/lex.c
625
char *word;
usr.bin/mail/lex.c
652
word = get_cmdname(cp);
usr.bin/mail/lex.c
653
cp += strlen(word);
usr.bin/mail/lex.c
663
if (sourcing && *word == '\0')
usr.bin/mail/lex.c
665
com = lex(word);
usr.bin/mail/lex.c
667
(void)printf("Unknown command: \"%s\"\n", word);
usr.bin/mail/main.c
157
char *word, *p;
usr.bin/mail/main.c
160
word = list;
usr.bin/mail/main.c
161
for (word = list; *word; word = p) {
usr.bin/mail/main.c
162
word = skip_WSP(word);
usr.bin/mail/main.c
163
for (p = word;
usr.bin/mail/main.c
169
np = cat(np, nalloc(word, ntype));
usr.bin/make/cond.c
204
Buffer word;
usr.bin/make/cond.c
207
Buf_Init(&word);
usr.bin/make/cond.c
220
Buf_AddStr(&word, nestedVal.str);
usr.bin/make/cond.c
228
Buf_AddByte(&word, ch);
usr.bin/make/cond.c
234
return Buf_DoneData(&word);
usr.bin/make/dir.c
772
ExpandCurly(const char *word, const char *brace, SearchPath *path,
usr.bin/make/dir.c
787
prefix = word;
usr.bin/make/dir.c
832
const char *word = ln->datum;
usr.bin/make/dir.c
833
debug_printf("%s%s", sep, word);
usr.bin/make/parse.c
1395
ParseDependencySourceSpecial(ParseSpecial special, const char *word,
usr.bin/make/parse.c
1400
Suff_AddSuffix(word);
usr.bin/make/parse.c
1404
AddToPaths(word, paths);
usr.bin/make/parse.c
1407
Suff_AddInclude(word);
usr.bin/make/parse.c
1410
Suff_AddLib(word);
usr.bin/make/parse.c
1413
Var_ReadOnly(word, false);
usr.bin/make/parse.c
1416
Suff_SetNull(word);
usr.bin/make/parse.c
1419
Main_SetObjdir(false, "%s", word);
usr.bin/make/parse.c
1422
Var_ReadOnly(word, true);
usr.bin/make/parse.c
2110
StrContainsWord(const char *str, const char *word)
usr.bin/make/parse.c
2113
size_t wordLen = strlen(word);
usr.bin/make/parse.c
2125
if (memcmp(p, word, wordLen) == 0 &&
usr.bin/make/parse.c
2139
VarContainsWord(const char *varname, const char *word)
usr.bin/make/parse.c
2142
bool found = val.str != NULL && StrContainsWord(val.str, word);
usr.bin/make/var.c
1439
typedef void (*ModifyWordProc)(Substring word, SepBuf *buf, void *data);
usr.bin/make/var.c
1443
ModifyWord_Head(Substring word, SepBuf *buf, void *dummy MAKE_ATTR_UNUSED)
usr.bin/make/var.c
1445
SepBuf_AddSubstring(buf, Substring_Dirname(word));
usr.bin/make/var.c
1449
ModifyWord_Tail(Substring word, SepBuf *buf, void *dummy MAKE_ATTR_UNUSED)
usr.bin/make/var.c
1451
SepBuf_AddSubstring(buf, Substring_Basename(word));
usr.bin/make/var.c
1455
ModifyWord_Suffix(Substring word, SepBuf *buf, void *dummy MAKE_ATTR_UNUSED)
usr.bin/make/var.c
1457
const char *lastDot = Substring_FindLast(word, '.');
usr.bin/make/var.c
1459
SepBuf_AddRange(buf, lastDot + 1, word.end);
usr.bin/make/var.c
1463
ModifyWord_Root(Substring word, SepBuf *buf, void *dummy MAKE_ATTR_UNUSED)
usr.bin/make/var.c
1467
lastDot = Substring_FindLast(word, '.');
usr.bin/make/var.c
1468
end = lastDot != NULL ? lastDot : word.end;
usr.bin/make/var.c
1469
SepBuf_AddRange(buf, word.start, end);
usr.bin/make/var.c
1481
ModifyWord_SysVSubst(Substring word, SepBuf *buf, void *data)
usr.bin/make/var.c
1487
if (Substring_IsEmpty(word))
usr.bin/make/var.c
1490
if (!Substring_HasPrefix(word, args->lhsPrefix) ||
usr.bin/make/var.c
1491
!Substring_HasSuffix(word, args->lhsSuffix)) {
usr.bin/make/var.c
1492
SepBuf_AddSubstring(buf, word);
usr.bin/make/var.c
1505
word.start + Substring_Length(args->lhsPrefix),
usr.bin/make/var.c
1506
word.end - Substring_Length(args->lhsSuffix));
usr.bin/make/var.c
1533
ModifyWord_Subst(Substring word, SepBuf *buf, void *data)
usr.bin/make/var.c
1539
wordLen = Substring_Length(word);
usr.bin/make/var.c
1546
memcmp(word.start, args->lhs.start, lhsLen) != 0)
usr.bin/make/var.c
1554
SepBuf_AddRange(buf, word.start + lhsLen, word.end);
usr.bin/make/var.c
1562
if (memcmp(word.end - lhsLen, args->lhs.start, lhsLen) != 0)
usr.bin/make/var.c
1566
SepBuf_AddRange(buf, word.start, word.end - lhsLen);
usr.bin/make/var.c
1576
while ((match = Substring_Find(word, args->lhs)) != NULL) {
usr.bin/make/var.c
1577
SepBuf_AddRange(buf, word.start, match);
usr.bin/make/var.c
1580
word.start = match + lhsLen;
usr.bin/make/var.c
1581
if (Substring_IsEmpty(word) || !args->pflags.subGlobal)
usr.bin/make/var.c
1585
SepBuf_AddSubstring(buf, word);
usr.bin/make/var.c
1653
ModifyWord_SubstRegex(Substring word, SepBuf *buf, void *data)
usr.bin/make/var.c
1661
assert(word.end[0] == '\0'); /* assume null-terminated word */
usr.bin/make/var.c
1662
wp = word.start;
usr.bin/make/var.c
1673
SepBuf_AddRange(buf, wp, word.end);
usr.bin/make/var.c
1705
ModifyWord_Loop(Substring word, SepBuf *buf, void *data)
usr.bin/make/var.c
1710
if (Substring_IsEmpty(word))
usr.bin/make/var.c
1714
assert(word.end[0] == '\0'); /* assume null-terminated word */
usr.bin/make/var.c
1715
Var_SetWithFlags(args->scope, args->var, word.start,
usr.bin/make/var.c
1784
ModifyWord_Realpath(Substring word, SepBuf *buf, void *data MAKE_ATTR_UNUSED)
usr.bin/make/var.c
1790
assert(word.end[0] == '\0'); /* assume null-terminated word */
usr.bin/make/var.c
1791
rp = cached_realpath(word.start, rbuf);
usr.bin/make/var.c
1795
SepBuf_AddSubstring(buf, word);
usr.bin/make/var.c
2368
Substring word;
usr.bin/make/var.c
2376
word = Substring_InitStr(val);
usr.bin/make/var.c
2377
modifyWord(word, &result, modifyWord_args);
usr.bin/make/var.c
2815
ModifyWord_Match(Substring word, SepBuf *buf, void *data)
usr.bin/make/var.c
2822
assert(word.end[0] == '\0'); /* assume null-terminated word */
usr.bin/make/var.c
2825
res = Str_Match(word.start, pattern);
usr.bin/make/var.c
2833
SepBuf_AddSubstring(buf, word);
usr.bin/make/var.c
2888
ModifyWord_Mtime(Substring word, SepBuf *buf, void *data)
usr.bin/make/var.c
2894
if (Substring_IsEmpty(word))
usr.bin/make/var.c
2896
assert(word.end[0] == '\0'); /* assume null-terminated word */
usr.bin/make/var.c
2897
if (stat(word.start, &st) < 0) {
usr.bin/make/var.c
2901
word.start, strerror(errno));
usr.bin/make/var.c
3113
ModifyWord_Copy(Substring word, SepBuf *buf, void *data MAKE_ATTR_UNUSED)
usr.bin/make/var.c
3115
SepBuf_AddSubstring(buf, word);
usr.bin/spell/spellprog/spellprog.c
287
static char word[LINE_MAX];
usr.bin/spell/spellprog/spellprog.c
379
for (ep = word; (*ep = ch = getchar()) != '\n'; ep++) {
usr.bin/spell/spellprog/spellprog.c
380
if (ep - word == sizeof(word) - 1) {
usr.bin/spell/spellprog/spellprog.c
382
warnx("word too long (%s)", word);
usr.bin/spell/spellprog/spellprog.c
392
for (cp = word, dp = original; cp < ep; )
usr.bin/spell/spellprog/spellprog.c
396
for (cp = word; cp < ep; cp++)
usr.bin/spell/spellprog/spellprog.c
402
for (cp = original + 1, dp = word + 1; dp < ep; dp++, cp++)
usr.bin/spell/spellprog/spellprog.c
407
if (isupper((unsigned char)word[0])) {
usr.bin/spell/spellprog/spellprog.c
408
for (cp = original, dp = word; (*dp = *cp++); dp++) {
usr.bin/spell/spellprog/spellprog.c
412
word[0] = tolower((unsigned char)word[0]);
usr.bin/spell/spellprog/spellprog.c
451
for (sp = cp; --sp >= word && !vowel(*sp);)
usr.bin/spell/spellprog/spellprog.c
453
if (sp < word)
usr.bin/spell/spellprog/spellprog.c
499
if (!isupper((unsigned char)*word)) /* must be proper name */
usr.bin/spell/spellprog/spellprog.c
540
if (skipv(skipv(ep - 1)) < word)
usr.bin/spell/spellprog/spellprog.c
711
if (tryword(word, ep, lev))
usr.bin/spell/spellprog/spellprog.c
713
bp = word;
usr.bin/spell/spellprog/spellprog.c
782
if (st >= word && vowel(*st))
usr.bin/spell/spellprog/spellprog.c
784
while (st >= word && !vowel(*st))
usr.bin/xlint/lint1/lex.c
1031
const char *word = p;
usr.bin/xlint/lint1/lex.c
1034
size_t len = (size_t)(p - word);
usr.bin/xlint/lint1/lex.c
1036
if (len == 1 && word[0] == '1')
usr.bin/xlint/lint1/lex.c
1038
if (len == 1 && word[0] == '2')
usr.bin/xlint/lint1/lex.c
1040
if (len == 1 && word[0] == '3')
usr.sbin/memswitch/memswitch.h
61
unsigned short word[2];
usr.sbin/memswitch/methods.c
311
prop->modified_value.word[0] = v;
usr.sbin/memswitch/methods.c
416
prop->modified_value.word[0] = v;
usr.sbin/memswitch/methods.c
511
prop->modified_value.word[0] = ((stop << 14) +
usr.sbin/memswitch/methods.c
579
"0x%4.4x", prop->modified_value.word[0]);
usr.sbin/memswitch/methods.c
584
"0x%4.4x", prop->current_value.word[0]);
usr.sbin/memswitch/methods.c
658
v = prop->modified_value.word[0];
usr.sbin/memswitch/methods.c
662
v = prop->current_value.word[0];
usr.sbin/memswitch/methods.c
695
v = prop->modified_value.word[0];
usr.sbin/memswitch/methods.c
699
v = prop->current_value.word[0];
usr.sbin/memswitch/properties.c
158
46, 2, 0, {word:{[0] 0}}, 0, {word:{[0] 0}}, {word:{[0] 0}},
usr.sbin/memswitch/properties.c
167
48, 2, 0, {word:{[0] 0}}, 0, {word:{[0] 0}}, {word:{[0] 0xf83e}},
usr.sbin/memswitch/properties.c
176
50, 2, 0, {word:{[0] 0}}, 0, {word:{[0] 0}}, {word:{[0] 0xffc0}},
usr.sbin/memswitch/properties.c
185
52, 2, 0, {word:{[0] 0}}, 0, {word:{[0] 0}}, {word:{[0] 0xfffe}},
usr.sbin/memswitch/properties.c
194
54, 2, 0, {word:{[0] 0}}, 0, {word:{[0] 0}}, {word:{[0] 0xde6c}},
usr.sbin/memswitch/properties.c
203
56, 2, 0, {word:{[0] 0}}, 0, {word:{[0] 0}}, {word:{[0] 0}},
usr.sbin/memswitch/properties.c
230
26, 2, 0, {word:{[0] 0}}, 0, {word:{[0] 0}}, {word:{[0] 0x4e07}},
usr.sbin/memswitch/properties.c
94
24, 2, 0, {word:{[0] 0}}, 0, {word:{[0] 0}}, {word:{[0] -1}},
usr.sbin/ndbootd/ndbootd.c
177
u_int16_t *_word, word;
usr.sbin/ndbootd/ndbootd.c
182
assert((((unsigned long) ip_packet) % sizeof(word)) == 0);
usr.sbin/ndbootd/ndbootd.c
194
word = 0;
usr.sbin/ndbootd/ndbootd.c
195
memcpy(&word, _word, bytes_left);
usr.sbin/ndbootd/ndbootd.c
196
checksum += word;
usr.sbin/npf/npfctl/npf_bpf_comp.c
604
uint32_t word = ntohl(awords[i]);
usr.sbin/npf/npfctl/npf_bpf_comp.c
658
BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, word, 0, jf),
usr.sbin/rpc.bootparamd/bootparamd.c
318
char *canon = NULL, *bp, *word = NULL;
usr.sbin/rpc.bootparamd/bootparamd.c
341
if ((word = strsep(&bp, " \t\n")) == NULL)
usr.sbin/rpc.bootparamd/bootparamd.c
345
if (!strcmp(word, "+")) {
usr.sbin/rpc.bootparamd/bootparamd.c
353
word = client;
usr.sbin/rpc.bootparamd/bootparamd.c
359
warnx("match %s with %s", word, client);
usr.sbin/rpc.bootparamd/bootparamd.c
369
if (fnmatch(word, client, FNM_CASEFOLD) == 0) {
usr.sbin/rpc.bootparamd/bootparamd.c
378
if (HASGLOB(word))
usr.sbin/rpc.bootparamd/bootparamd.c
381
canon = word;
usr.sbin/rpc.bootparamd/bootparamd.c
391
if (HASGLOB(word)) {
usr.sbin/rpc.bootparamd/bootparamd.c
394
word);
usr.sbin/rpc.bootparamd/bootparamd.c
397
if ((hp = gethostbyname(word)) == NULL) {
usr.sbin/rpc.bootparamd/bootparamd.c
401
word);
usr.sbin/rpc.bootparamd/bootparamd.c
405
word);
usr.sbin/rpc.bootparamd/bootparamd.c
433
while ((word = strsep(&bp, " \t\n")) != NULL) {
usr.sbin/rpc.bootparamd/bootparamd.c
434
if (!strncmp(word, id, idlen) && word[idlen] == '=') {
usr.sbin/rpc.bootparamd/bootparamd.c
436
*server = &word[idlen + 1];
usr.sbin/wiconfig/wiconfig.c
397
wi_setword(char *iface, int code, int word)
usr.sbin/wiconfig/wiconfig.c
405
wreq.wi_val[0] = htole16(word);