Symbol: check
bin/csh/file.c
607
is_prefix(Char *check, Char *template)
bin/csh/file.c
610
if (*check == 0)
bin/csh/file.c
612
while (*check++ == *template++);
bin/csh/file.c
621
is_suffix(Char *check, Char *template)
bin/csh/file.c
625
for (c = check; *c++;)
bin/csh/file.c
632
if (c == check || *--t != *--c)
bin/ksh/eval.c
1001
int check; /* GF_* flags */
bin/ksh/eval.c
1018
if ((check & GF_EXCHECK)
bin/ksh/eval.c
1019
|| ((check & GF_MARKDIR) && (check & GF_GLOBBED)))
bin/ksh/eval.c
1033
if ((check & GF_EXCHECK) && xp > Xstring(*xs, xp)
bin/ksh/eval.c
1046
if (((check & GF_MARKDIR) && (check & GF_GLOBBED))
bin/ksh/eval.c
1094
globit(xs, xpp, np, wp, check);
bin/ksh/eval.c
1119
(check & GF_MARKDIR) | GF_GLOBBED
bin/ksh/eval.c
55
int check));
bin/ksh/eval.c
996
globit(xs, xpp, sp, wp, check)
bin/rm/rm.c
216
if (!fflag && !check(p->fts_path, p->fts_accpath,
bin/rm/rm.c
229
!check(p->fts_path, p->fts_accpath, p->fts_statp, "remove"))
bin/rm/rm.c
242
if (!fflag && !check(p->fts_path, p->fts_accpath, p->fts_statp,
bin/rm/rm.c
313
if (!fflag && !S_ISWHT(sb.st_mode) && !check(f, f, &sb, "remove"))
bin/rm/rm.c
67
static int check(char *, char *, struct stat *, const char *);
bin/sh/alias.c
160
lookupalias(const char *name, int check)
bin/sh/alias.c
166
if (check && (ap->flag & ALIASINUSE))
bin/sh/input.c
303
goto check;
bin/sh/input.c
328
check:;
common/dist/zlib/examples/gun.c
121
int check; /* true if checking crc and total */
common/dist/zlib/examples/gun.c
136
if (me->check) {
common/dist/zlib/examples/gun.c
223
outd.check = 0;
common/dist/zlib/examples/gun.c
468
outd.check = 1;
common/dist/zlib/inflate.c
1088
strm->adler = state->check =
common/dist/zlib/inflate.c
1089
UPDATE_CHECK(state->check, put - out, out);
common/dist/zlib/inflate.c
1095
ZSWAP32(hold)) != state->check) {
common/dist/zlib/inflate.c
1154
strm->adler = state->check =
common/dist/zlib/inflate.c
1155
UPDATE_CHECK(state->check, strm->next_out - out, out);
common/dist/zlib/inflate.c
1212
if (dictid != state->check)
common/dist/zlib/inflate.c
1394
int ZEXPORT inflateValidate(z_streamp strm, int check) {
common/dist/zlib/inflate.c
1399
if (check && state->wrap)
common/dist/zlib/inflate.c
304
# define UPDATE_CHECK(check, buf, len) \
common/dist/zlib/inflate.c
305
(state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
common/dist/zlib/inflate.c
307
# define UPDATE_CHECK(check, buf, len) adler32(check, buf, len)
common/dist/zlib/inflate.c
312
# define CRC2(check, word) \
common/dist/zlib/inflate.c
316
check = crc32(check, hbuf, 2); \
common/dist/zlib/inflate.c
319
# define CRC4(check, word) \
common/dist/zlib/inflate.c
325
check = crc32(check, hbuf, 4); \
common/dist/zlib/inflate.c
525
state->check = crc32(0L, Z_NULL, 0);
common/dist/zlib/inflate.c
526
CRC2(state->check, hold);
common/dist/zlib/inflate.c
559
strm->adler = state->check = adler32(0L, Z_NULL, 0);
common/dist/zlib/inflate.c
580
CRC2(state->check, hold);
common/dist/zlib/inflate.c
589
CRC4(state->check, hold);
common/dist/zlib/inflate.c
600
CRC2(state->check, hold);
common/dist/zlib/inflate.c
611
CRC2(state->check, hold);
common/dist/zlib/inflate.c
632
state->check = crc32(state->check, next, copy);
common/dist/zlib/inflate.c
654
state->check = crc32(state->check, next, copy);
common/dist/zlib/inflate.c
676
state->check = crc32(state->check, next, copy);
common/dist/zlib/inflate.c
688
if ((state->wrap & 4) && hold != (state->check & 0xffff)) {
common/dist/zlib/inflate.c
699
strm->adler = state->check = crc32(0L, Z_NULL, 0);
common/dist/zlib/inflate.c
705
strm->adler = state->check = ZSWAP32(hold);
common/dist/zlib/inflate.c
714
strm->adler = state->check = adler32(0L, Z_NULL, 0);
common/dist/zlib/inflate.h
92
unsigned long check; /* protected copy of check value */
common/lib/libc/string/strspn.c
126
check = m_0;
common/lib/libc/string/strspn.c
128
check = m_4;
common/lib/libc/string/strspn.c
130
check = m_8;
common/lib/libc/string/strspn.c
132
check = m_c;
common/lib/libc/string/strspn.c
134
if (!((check >> (ch & 0x3f)) & 1))
common/lib/libc/string/strspn.c
83
unsigned long check;
crypto/dist/ipsec-tools/src/racoon/cfparse.y
1458
struct sainfo *check;
crypto/dist/ipsec-tools/src/racoon/cfparse.y
1478
check = getsainfo(cur_sainfo->idsrc,
crypto/dist/ipsec-tools/src/racoon/cfparse.y
1484
if (check && ((check->idsrc != SAINFO_ANONYMOUS) &&
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
210
vchar_t *check;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
226
if ((check = oakley_compute_hash1(iph1,
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
234
if (memcmp(ph + 1, check->v, check->l) != 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
238
vfree(check);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
242
vfree(check);
games/hack/hack.o_init.c
114
check:
games/hack/hack.o_init.c
121
goto check;
games/hunt/huntd/answer.c
323
check(pp, y, x);
games/hunt/huntd/answer.c
333
check(pp, y, x);
games/hunt/huntd/draw.c
138
check(pp, y - 1, x - 1);
games/hunt/huntd/draw.c
139
check(pp, y - 1, x );
games/hunt/huntd/draw.c
140
check(pp, y - 1, x + 1);
games/hunt/huntd/draw.c
141
check(pp, y , x - 1);
games/hunt/huntd/draw.c
142
check(pp, y , x );
games/hunt/huntd/draw.c
143
check(pp, y , x + 1);
games/hunt/huntd/draw.c
144
check(pp, y + 1, x - 1);
games/hunt/huntd/draw.c
145
check(pp, y + 1, x );
games/hunt/huntd/draw.c
146
check(pp, y + 1, x + 1);
games/hunt/huntd/draw.c
199
check(pp, y, --x);
games/hunt/huntd/draw.c
204
check(pp, y, --x);
games/hunt/huntd/draw.c
209
check(pp, y, --x);
games/hunt/huntd/draw.c
223
check(pp, y, ++x);
games/hunt/huntd/draw.c
228
check(pp, y, ++x);
games/hunt/huntd/draw.c
233
check(pp, y, ++x);
games/hunt/huntd/draw.c
242
check(pp, y, x - 1);
games/hunt/huntd/draw.c
243
check(pp, y, x );
games/hunt/huntd/draw.c
244
check(pp, y, x + 1);
games/hunt/huntd/draw.c
254
check(pp, y, x - 1);
games/hunt/huntd/draw.c
255
check(pp, y, x );
games/hunt/huntd/draw.c
256
check(pp, y, x + 1);
games/hunt/huntd/draw.c
326
check(newp, y, x);
games/hunt/huntd/draw.c
331
check(newp, y, x);
games/hunt/huntd/draw.c
340
check(newp, y, x);
games/hunt/huntd/expl.c
135
check(pp, y, x);
games/hunt/huntd/expl.c
221
check(pp, r->r_y, r->r_x);
games/hunt/huntd/expl.c
235
check(pp, y, x);
games/hunt/huntd/hunt.h
169
void check(PLAYER *, int, int);
games/hunt/huntd/shots.c
140
check(pp, bp->b_y, bp->b_x);
games/hunt/huntd/shots.c
146
check(pp, bp->b_y, bp->b_x);
games/hunt/huntd/shots.c
245
check(pp, y, x);
games/hunt/huntd/shots.c
266
check(pp, y, x);
games/hunt/huntd/shots.c
93
check(pp, y, x);
games/hunt/huntd/shots.c
96
check(pp, y, x);
lib/libbluetooth/sdp_service.c
62
static unsigned int check = 1;
lib/libbluetooth/sdp_service.c
66
while (atomic_swap_uint(&check, 0)) { /* only check env once */
lib/libc/gdtoa/test/dt.c
163
check(U *d)
lib/libc/gdtoa/test/dt.c
244
check(&d);
lib/libc/gdtoa/test/dt.c
268
check(&d);
lib/libc/gdtoa/test/dt.c
287
check(&d);
lib/libc/gen/getcap.c
112
const char *source, *check;
lib/libc/gen/getcap.c
134
check = source + 1;
lib/libc/gen/getcap.c
135
while (*check && (isspace((unsigned char)*check) ||
lib/libc/gen/getcap.c
136
(*check=='\\' && isspace((unsigned char)check[1]))))
lib/libc/gen/getcap.c
137
++check;
lib/libc/gen/getcap.c
138
if (*check == ':')
lib/libc/gen/getcap.c
139
source = check;
lib/libc/gen/nlist_ecoff.c
109
if (check(0, sizeof *exechdrp))
lib/libc/gen/nlist_ecoff.c
128
if (check(symhdrp->cbExtOffset, nesyms * sizeof *esyms))
lib/libc/gen/nlist_elf32.c
233
if (check(0, sizeof *ehdrp))
lib/libc/gen/nlist_elf32.c
244
if (check(shdr_off, shdr_size) ||
lib/libc/gen/nlist_elf32.c
261
if (check(symshdrp->sh_offset, symshdrp->sh_size))
lib/libc/gen/nlist_elf32.c
263
if (check(symstrshdrp->sh_offset, symstrshdrp->sh_size))
sys/arch/amiga/dev/grf_et.c
1603
} check;
sys/arch/amiga/dev/grf_et.c
1611
check.cc[0] = vgar(ba, VDAC_XDATA);
sys/arch/amiga/dev/grf_et.c
1613
check.cc[1] = vgar(ba, VDAC_XDATA);
sys/arch/amiga/dev/grf_et.c
1615
check.cc[2] = vgar(ba, VDAC_XDATA);
sys/arch/amiga/dev/grf_et.c
1617
check.cc[3] = vgar(ba, VDAC_XDATA);
sys/arch/amiga/dev/grf_et.c
1622
if (check.tt == 0x533ab141) {
sys/arch/atari/stand/binpatch/binpatch.c
229
if ((*exec_formats[i].check)(mappedfile, sb.st_size) == 0)
sys/arch/atari/stand/binpatch/binpatch.c
92
int (*check)(const char *, size_t);
sys/arch/hpc/stand/hpcboot/sh3/dev/sh4_dev.cpp
100
static const char *check[] = { "[_]", "[x]" };
sys/arch/hpc/stand/hpcboot/sh3/dev/sh4_dev.cpp
98
#define ON(x, c) ((x) & (c) ? check[1] : check[0])
sys/arch/hppa/hppa/autoconf.c
696
int check;
sys/arch/hppa/hppa/autoconf.c
704
for (check = 0, k = i; j < 7 && k < 7; j++, k++) {
sys/arch/hppa/hppa/autoconf.c
712
check = nid - aid;
sys/arch/hppa/hppa/autoconf.c
715
if (check >= 0)
sys/arch/hppa/hppa/autoconf.c
717
else if (check < 0)
sys/arch/m68k/060sp/dist/fpsp.s
1734
# if the exception occurred from supervisor mode, check if
sys/arch/m68k/060sp/dist/fpsp.s
19801
# if (s || d || x) then check for SNAN,UNNORM,DENORM #
sys/arch/m68k/060sp/dist/pfpsp.s
1734
# if the exception occurred from supervisor mode, check if
sys/arch/powerpc/oea/pmap.c
187
#define pmapcheck PMAPNAME(check)
sys/arch/riscv/riscv/kobj_machdep.c
431
const int32_t check = (int32_t)addend >> 20;
sys/arch/riscv/riscv/kobj_machdep.c
432
if (check == 0 || check == -1) {
sys/arch/sgimips/stand/haudfw/haudfw.c
102
check(false, format, ap);
sys/arch/sgimips/stand/haudfw/haudfw.c
121
check(0xd000 <= dsp_addr && dsp_addr <= 0xefff,
sys/arch/sgimips/stand/haudfw/haudfw.c
135
check(0xb000 <= dsp_addr && dsp_addr <= 0xefff,
sys/arch/sgimips/stand/haudfw/haudfw.c
152
check(strcmp(field, "_DATA") == 0,
sys/arch/sgimips/stand/haudfw/haudfw.c
157
check(strlen(field) == 1 && strspn(field, "XYPL") == 1,
sys/arch/sgimips/stand/haudfw/haudfw.c
195
check(strcmp(argv[0], argv[1]) != 0,
sys/arch/sgimips/stand/haudfw/haudfw.c
200
check(firmware != NULL, "unable to malloc buffer for firmware: %s",
sys/arch/sgimips/stand/haudfw/haudfw.c
205
check(fp != NULL, "unable to open input file %s: %s",
sys/arch/sgimips/stand/haudfw/haudfw.c
236
check(section != '\0', "parse error on line %d: not in "
sys/arch/sgimips/stand/haudfw/haudfw.c
254
check(cpu_offset >= 0 &&
sys/arch/sgimips/stand/haudfw/haudfw.c
302
check(fpout != NULL, "unable to open output file %s: %s",
sys/arch/sgimips/stand/haudfw/haudfw.c
304
check(fwrite(firmware, sizeof(u_int32_t), firmware_words, fpout) ==
sys/crypto/nist_hash_drbg/nist_hash_drbg.c
1017
ok &= check(i, name, actual, expected, (n)); \
sys/crypto/nist_hash_drbg/nist_hash_drbg.c
1097
check(i, "rnd_val[0]", rnd_val, kat[i].rnd_val[0],
sys/crypto/nist_hash_drbg/nist_hash_drbg.c
1121
check(i, "rnd_val[1]", rnd_val, kat[i].rnd_val[1],
sys/dev/i2c/ds1307.c
478
struct clock_ymdhms check;
sys/dev/i2c/ds1307.c
482
memset(&check, 0, sizeof(check));
sys/dev/i2c/ds1307.c
491
dsrtc_clock_read_ymdhms(sc, &check);
sys/dev/i2c/ds1307.c
492
} while (memcmp(dt, &check, sizeof(check)) != 0 && --retries);
sys/dev/i2c/ds1307.c
680
struct timeval check;
sys/dev/i2c/ds1307.c
684
memset(&check, 0, sizeof(check));
sys/dev/i2c/ds1307.c
693
dsrtc_clock_read_timeval(sc, &check.tv_sec);
sys/dev/i2c/ds1307.c
694
} while (memcmp(tv, &check, sizeof(check)) != 0 && --retries);
sys/dev/i2c/m41st84.c
346
struct clock_ymdhms check;
sys/dev/i2c/m41st84.c
350
memset(&check, 0, sizeof(check));
sys/dev/i2c/m41st84.c
371
error = strtc_clock_read(sc, &check);
sys/dev/i2c/m41st84.c
374
} while (memcmp(dt, &check, sizeof(check)) != 0 && --retries);
sys/dev/i2c/x1226.c
253
struct clock_ymdhms check;
sys/dev/i2c/x1226.c
258
memset(&check, 0, sizeof(check));
sys/dev/i2c/x1226.c
263
error = xrtc_clock_read(sc, &check);
sys/dev/i2c/x1226.c
266
} while (memcmp(dt, &check, sizeof(check)) != 0 && --retries);
sys/dev/ic/ac97.c
1065
ac97_check_capability(struct ac97_softc *as, int check)
sys/dev/ic/ac97.c
1067
switch (check) {
sys/dev/ic/ac97.c
1095
printf("%s: internal error: feature=%d\n", __func__, check);
sys/dev/ic/vga.c
665
vga_cnattach(bus_space_tag_t iot, bus_space_tag_t memt, int type, int check)
sys/dev/ic/vga.c
670
if (check && !vga_common_probe(iot, memt))
sys/dev/ic/vga_raster.c
331
vga_cnattach(bus_space_tag_t iot, bus_space_tag_t memt, int type, int check)
sys/dev/ic/vga_raster.c
339
if (check && !vga_common_probe(iot, memt))
sys/dev/ieee1394/fwcrom.c
107
goto check;
sys/dev/ieee1394/fwcrom.c
112
check:
sys/dev/pci/qat/qat_ae.c
903
qat_ae_wait_num_cycles(struct qat_softc *sc, u_char ae, int cycles, int check)
sys/dev/pci/qat/qat_ae.c
932
if (elapsed >= CYCLES_FROM_READY2EXE && check) {
sys/dev/pci/qat/qat_ae.c
941
if (check && qat_ae_read_4(sc, ae, ACTIVE_CTX_STATUS, &actx) == 0) {
sys/dev/std/ieee1212.c
263
u_int32_t next, check;
sys/dev/std/ieee1212.c
267
check = size;
sys/dev/std/ieee1212.c
269
if (p1212_iscomplete(t, &check) == -1) {
sys/dev/std/ieee1212.c
273
if (check != size) {
sys/dev/usb/usb_subr.c
596
goto check;
sys/dev/usb/usb_subr.c
599
check:
sys/dev/wscons/wsdisplay.c
2183
if ((*scr->scr_syncops->check)(scr->scr_synccookie))
sys/dev/wscons/wsdisplay_compat_usl.c
88
.check = usl_sync_check,
sys/dev/wscons/wsdisplayvar.h
165
int (*check)(void *);
sys/fs/cd9660/cd9660_rrip.h
132
char check [ISODCL ( 4, 5)];
sys/fs/msdosfs/msdosfs_conv.c
962
u_int16_t check;
sys/fs/msdosfs/msdosfs_conv.c
972
check = msdosfs_unicode_foldmap[2*mid+0];
sys/fs/msdosfs/msdosfs_conv.c
974
if (w == check) {
sys/fs/msdosfs/msdosfs_conv.c
979
if (w < check)
sys/net/zlib.c
272
typedef uLong (ZEXPORT *check_func)(uLong check, const Bytef *buf,
sys/net/zlib.c
3399
} check; /* if CHECK, check values to compare */
sys/net/zlib.c
3553
z->state->sub.check.need = (uLong)NEXTBYTE << 24;
sys/net/zlib.c
3558
z->state->sub.check.need += (uLong)NEXTBYTE << 16;
sys/net/zlib.c
3563
z->state->sub.check.need += (uLong)NEXTBYTE << 8;
sys/net/zlib.c
3568
z->state->sub.check.need += (uLong)NEXTBYTE;
sys/net/zlib.c
3569
z->adler = z->state->sub.check.need;
sys/net/zlib.c
3592
inflate_blocks_reset(z->state->blocks, z, &z->state->sub.check.was);
sys/net/zlib.c
3602
z->state->sub.check.need = (uLong)NEXTBYTE << 24;
sys/net/zlib.c
3607
z->state->sub.check.need += (uLong)NEXTBYTE << 16;
sys/net/zlib.c
3612
z->state->sub.check.need += (uLong)NEXTBYTE << 8;
sys/net/zlib.c
3617
z->state->sub.check.need += (uLong)NEXTBYTE;
sys/net/zlib.c
3619
if (z->state->sub.check.was != z->state->sub.check.need)
sys/net/zlib.c
3922
uLong check; /* check on output */
sys/net/zlib.c
4027
*c = s->check;
sys/net/zlib.c
4037
z->adler = s->check = (*s->checkfn)(0L, (const Bytef *)Z_NULL, 0);
sys/net/zlib.c
4375
s->check = (*s->checkfn)(s->check, q, t);
sys/net/zlib.c
5353
z->adler = s->check = (*s->checkfn)(s->check, q, n);
sys/net/zlib.c
5381
z->adler = s->check = (*s->checkfn)(s->check, q, n);
sys/netbt/rfcomm_session.c
874
goto check;
sys/netbt/rfcomm_session.c
890
check: /* last one out turns out the light */
sys/netinet/sctp_input.c
4061
u_int32_t check, calc_check;
sys/netinet/sctp_input.c
4132
check = sh->checksum; /* save incoming checksum */
sys/netinet/sctp_input.c
4133
if ((check == 0) && (sctp_no_csum_on_loopback)) {
sys/netinet/sctp_input.c
4142
if (calc_check != check) {
sys/netinet/sctp_input.c
4146
calc_check, check, m, mlen, iphlen);
sys/netinet6/sctp6_usrreq.c
119
u_int32_t check, calc_check;
sys/netinet6/sctp6_usrreq.c
165
check = sh->checksum; /* save incoming checksum */
sys/netinet6/sctp6_usrreq.c
166
if ((check == 0) && (sctp_no_csum_on_loopback)) {
sys/netinet6/sctp6_usrreq.c
175
if (calc_check != check) {
sys/netinet6/sctp6_usrreq.c
179
calc_check, check, m,
sys/nfs/nfs_export.c
586
goto check;
sys/nfs/nfs_export.c
593
check:
sys/uvm/uvm_map.c
246
#define SAVE_HINT(map, check, value) do { \
sys/uvm/uvm_map.c
247
if ((map)->hint == (check)) \
tests/crypto/libcrypto/t_sha512trunc.c
287
check(C, __arraycount(C), 28, EVP_sha512_224());
tests/crypto/libcrypto/t_sha512trunc.c
449
check(C, __arraycount(C), 32, EVP_sha512_256());
tests/lib/libc/regex/main.c
315
} else if ((grump = check(f2, subs[0], f3)) != NULL) {
tests/lib/libc/regex/main.c
334
grump = check(f2, subs[i], should[i]);
tests/lib/libc/regex/test_regex.h
38
char *check(char *, regmatch_t, char *);
tests/lib/libc/stdlib/t_strtoi.c
184
check(&t[i], rv, end, e);
tests/lib/libc/stdlib/t_strtoi.c
197
check(&f[i], rv, end, e);
tests/lib/libc/stdlib/t_strtoi.c
242
check(&t[i], rv, end, e);
tests/lib/libc/stdlib/t_strtoi.c
297
check(&t[i], rv, end, e);
tests/lib/libc/stdlib/t_strtoi.c
330
check(&t[i], rv, end, e);
tests/lib/libc/stdlib/t_strtoi.c
385
check(&t[i], rv, end, e);
tests/lib/libc/stdlib/t_strtoi.c
57
static void check(struct test *, intmax_t, char *, int);
tests/lib/libc/stdlib/t_strtol.c
125
check(&t[i], li, lli, ji, end);
tests/lib/libc/stdlib/t_strtol.c
213
check(&t[i], li, lli, ji, end);
tests/lib/libc/stdlib/t_strtol.c
253
check(&t[i], li, -1, -1, end);
tests/lib/libc/stdlib/t_strtol.c
294
check(&t[i], li, lli, ji, end);
tests/lib/libc/string/t_memset.c
154
ATF_CHECK_MSG(check(buf, page, i),
tests/lib/libc/string/t_memset.c
177
ATF_CHECK_MSG(check(buf, sizeof(buf), 'x'),
tests/lib/libc/string/t_memset.c
182
ATF_CHECK_MSG(check(buf, sizeof(buf), 'x'),
tests/lib/libc/string/t_memset.c
201
if (check(buf, sizeof(buf), 'x') != true)
tests/lib/libc/string/t_memset.c
206
if (check(buf, sizeof(buf), 'x') != true)
tests/lib/libc/string/t_memset.c
43
static bool check(char *, size_t, char);
tests/lib/libc/string/t_memset.c
69
ATF_CHECK_MSG(check(buf, sizeof(buf), 0),
tests/lib/libc/string/t_memset.c
74
ATF_CHECK_MSG(check(buf, sizeof(buf), 'x'),
tests/lib/libc/sys/t_issetugid.c
107
if (check(seteuid, NULL) != true)
tests/lib/libc/sys/t_issetugid.c
121
if (check(NULL, setgid) != true)
tests/lib/libc/sys/t_issetugid.c
135
if (check(setuid, NULL) != true)
tests/lib/libc/sys/t_issetugid.c
42
static bool check(int (*fuid)(uid_t), int (*fgid)(gid_t));
tests/lib/libc/sys/t_issetugid.c
93
if (check(NULL, setegid) != true)
tests/lib/libcurses/director/testlang_parse.y
137
static void check(void);
tests/lib/libcurses/director/testlang_parse.y
1587
validate_type(data_enum_t expected, ct_data_t *value, int check)
tests/lib/libcurses/director/testlang_parse.y
1589
if (((check == 0) && (expected != value->data_type)) ||
tests/lib/libcurses/director/testlang_parse.y
1590
((check == 1) && (expected == value->data_type)))
tests/lib/libcurses/director/testlang_parse.y
1594
(check == 0)? "matching" : "not matching",
tests/lib/libcurses/director/testlang_parse.y
1601
(check == 0)? "matching" : "not matching",
tests/lib/libcurses/director/testlang_parse.y
1611
validate_return(const char *expected, const char *value, int check)
tests/lib/libcurses/director/testlang_parse.y
1613
if (((check == 0) && strcmp(expected, value) != 0) ||
tests/lib/libcurses/director/testlang_parse.y
1614
((check == 1) && strcmp(expected, value) == 0))
tests/lib/libcurses/director/testlang_parse.y
1618
(check == 0)? "matching" : "not matching",
tests/lib/libcurses/director/testlang_parse.y
1625
(check == 0)? "matches" : "does not match",
tests/lib/libcurses/director/testlang_parse.y
1635
validate_byte(ct_data_t *expected, ct_data_t *value, int check)
tests/lib/libcurses/director/testlang_parse.y
1648
(check == 0)? "matches" : "does not match");
tests/lib/libcurses/director/testlang_parse.y
1658
if ((check == 0) && (expected->data_len != value->data_len))
tests/lib/libcurses/director/testlang_parse.y
1669
if (((check == 0) && memcmp(expected->data_value, value->data_value,
tests/lib/libcurses/director/testlang_parse.y
1671
((check == 1) && (expected->data_len == value->data_len) &&
tests/lib/libcurses/director/testlang_parse.y
1676
(check == 0)? "matching" : "not matching");
tests/lib/libcurses/director/testlang_parse.y
1680
(check == 0)? "matching" : "not matching");
tests/lib/libcurses/director/testlang_parse.y
1689
validate_cchar(cchar_t *expected, cchar_t *value, int check)
tests/lib/libcurses/director/testlang_parse.y
1697
if (check == 0)
tests/lib/libcurses/director/testlang_parse.y
1717
if (check == 0)
tests/lib/libcurses/director/testlang_parse.y
1739
if (check == 0)
tests/lib/libcurses/director/testlang_parse.y
1758
cur_file, line, (check == 0)? "matching" : "not matching");
tests/lib/libcurses/director/testlang_parse.y
1767
validate_wchar(wchar_t *expected, wchar_t *value, int check)
tests/lib/libcurses/director/testlang_parse.y
1787
if (check == 0)
tests/lib/libcurses/director/testlang_parse.y
1808
if (check == 0)
tests/lib/libcurses/director/testlang_parse.y
1825
(check == 0)? "matching" : "not matching");
tests/lib/libcurses/director/testlang_parse.y
1836
int check)
tests/lib/libcurses/director/testlang_parse.y
1852
if ((((check == 0) && strcmp(value, varptr->value) != 0))
tests/lib/libcurses/director/testlang_parse.y
1853
|| ((check == 1) && strcmp(value, varptr->value) == 0))
tests/lib/libcurses/director/testlang_parse.y
1858
(check == 0)? "expected" : "not matching",
tests/lib/libcurses/director/testlang_parse.y
1865
(check == 0)? "expected" : "not matching",
tests/lib/libcurses/director/testlang_parse.y
1869
if ((check == 0) && (retval->data_len != varptr->len))
tests/lib/libcurses/director/testlang_parse.y
1877
if (((check == 0) && memcmp(retval->data_value, varptr->value,
tests/lib/libcurses/director/testlang_parse.y
1879
((check == 1) && (retval->data_len == varptr->len) &&
tests/lib/libcurses/director/testlang_parse.y
1884
(check == 0)? "matching" : "not matching");
tests/lib/libcurses/director/testlang_parse.y
1889
(check == 0)? "matching" : "not matching");
tests/lib/libcurses/director/testlang_parse.y
216
| check
tests/lib/libcurses/director/testlang_parse.y
295
check : CHECK var returns {
tests/lib/libcurses/director/testlang_parse.y
296
check();
tests/lib/libm/t_next.c
396
check(x, __arraycount(x));
tests/lib/libm/t_next.c
418
check(x, __arraycount(x));
tests/lib/libm/t_next.c
441
check(x, __arraycount(x));
tests/lib/libm/t_next.c
461
check(x, __arraycount(x));
tests/lib/libm/t_next.c
480
check(x, __arraycount(x));
usr.bin/colrm/colrm.c
100
check(stdin);
usr.bin/colrm/colrm.c
119
check(stdout);
usr.bin/colrm/colrm.c
57
static void check(FILE *);
usr.bin/crunch/crunchide/crunchide.c
215
int (*check)(int, const char *); /* 1 if match, zero if not */
usr.bin/crunch/crunchide/crunchide.c
254
if ((*exec_formats[i].check)(fd, filename) != 0)
usr.bin/crunch/crunchide/exec_elf32.c
130
ELFNAMEEND(check)(int fd, const char *fn)
usr.bin/diff/diffreg.c
176
static void check(FILE *, FILE *, int);
usr.bin/diff/diffreg.c
415
check(f1, f2, flags);
usr.bin/last/want.c
268
want(struct utmp *bp, int check)
usr.bin/last/want.c
272
if (check) {
usr.bin/last/want.c
57
if (check ## what) \
usr.bin/mail/list.c
1033
if (check(lexnumber, f))
usr.bin/pathchk/pathchk.c
47
static int check(const char *);
usr.bin/pathchk/pathchk.c
77
rval |= check(arg);
usr.bin/printf/printf.c
128
#define hextobin(c) (check(c, 'a') : check(c, 'A') : (c) - '0')
usr.bin/unzip/unzip.c
603
int fd, check, text;
usr.bin/unzip/unzip.c
626
check = handle_existing_file(path);
usr.bin/unzip/unzip.c
627
if (check == 0)
usr.bin/unzip/unzip.c
629
if (check == -1)
usr.sbin/fstyp/hammer2_disk.h
702
} check;
usr.sbin/kvm_mkdb/nlist_coff.c
131
if (check(0, sizeof *filehdrp))
usr.sbin/kvm_mkdb/nlist_ecoff.c
128
if (check(0, sizeof *exechdrp))
usr.sbin/kvm_mkdb/nlist_ecoff.c
148
if (check(symhdroff, sizeof *symhdrp) || sizeof *symhdrp != symhdrsize)
usr.sbin/kvm_mkdb/nlist_ecoff.c
153
if (check(symhdrp->cbExtOffset, nesyms * sizeof *esyms))
usr.sbin/kvm_mkdb/nlist_elf32.c
183
if (check(0, sizeof *ehdrp))
usr.sbin/kvm_mkdb/nlist_elf32.c
210
if (check(shdr_off, shdr_size) ||
usr.sbin/kvm_mkdb/nlist_elf32.c
226
if (check(symshdrp->sh_offset, symshdrp->sh_size))
usr.sbin/kvm_mkdb/nlist_elf32.c
228
if (check(symstrshdrp->sh_offset, symstrshdrp->sh_size))
usr.sbin/makefs/cd9660/iso9660_rrip.c
704
p->attr.su_entry.SP.check[0] = 0xBE;
usr.sbin/makefs/cd9660/iso9660_rrip.c
705
p->attr.su_entry.SP.check[1] = 0xEF;
usr.sbin/makefs/cd9660/iso9660_rrip.h
154
u_char check [ISODCL ( 4, 5)];
usr.sbin/mdsetimage/bin_nlist.c
100
if ((*exec_formats[i].check)(mappedfile, mappedsize) == 0)
usr.sbin/mdsetimage/bin_nlist.c
53
int (*check)(const char *, size_t);
usr.sbin/mdsetimage/exec_aout.c
56
if (check(0, sizeof *execp))
usr.sbin/mdsetimage/exec_coff.c
59
if (check(0, sizeof *exechdrp))
usr.sbin/mdsetimage/exec_ecoff.c
56
if (check(0, sizeof *exechdrp))
usr.sbin/mdsetimage/exec_elf32.c
105
if (check(0, phdr_off + phdr_size))
usr.sbin/mdsetimage/exec_elf32.c
57
ELFNAMEEND(check)(const char *mappedfile, size_t mappedsize)
usr.sbin/mdsetimage/exec_elf32.c
64
if (check(0, sizeof *ehdrp))
usr.sbin/npf/npfctl/npf_data.c
192
goto check;
usr.sbin/npf/npfctl/npf_data.c
205
goto check;
usr.sbin/npf/npfctl/npf_data.c
209
goto check;
usr.sbin/npf/npfctl/npf_data.c
215
check:
usr.sbin/sysinst/checkrc.c
110
return check(varname, CHECK_CONF);
usr.sbin/sysinst/checkrc.c
116
return check(varname, CHECK_DEFAULT);
usr.sbin/sysinst/checkrc.c
45
static int check(const char *, int);
usr.sbin/syslogd/syslogd.c
1686
char *(*check)(const char *, const char *))
usr.sbin/syslogd/syslogd.c
1701
while ((s = (*check)(cursor, name)) != NULL) {
usr.sbin/timed/timed/master.c
386
struct timeval check, stop, wait;
usr.sbin/timed/timed/master.c
391
(void)gettimeofday(&check, 0);
usr.sbin/timed/timed/master.c
420
timersub(&stop, &check, &stop);
usr.sbin/timed/timed/master.c
432
(void)gettimeofday(&check, 0);
usr.sbin/ypbind/ypbind.c
118
static int check;
usr.sbin/ypbind/ypbind.c
1515
check = 0;
usr.sbin/ypbind/ypbind.c
1787
if (check)
usr.sbin/ypbind/ypbind.c
756
check++;
usr.sbin/ypbind/ypbind.c
798
check++;
usr.sbin/ypserv/makedbm/makedbm.c
146
add_record(DBM *db, const char *str1, const char *str2, int check)
usr.sbin/ypserv/makedbm/makedbm.c
154
if (check) {