Symbol: test
bin/pax/pat_rep.c
471
char test;
bin/pax/pat_rep.c
526
if (((test = *string++) == '\0') ||
bin/pax/pat_rep.c
527
((pattern = range_match(pattern, test)) == NULL))
bin/pax/pat_rep.c
541
range_match(char *pattern, int test)
bin/pax/pat_rep.c
560
if ((c <= test) && (test <= c2))
bin/pax/pat_rep.c
563
} else if (c == test)
bin/sh/eval.c
241
evaltree(n->nif.test, EV_TESTED);
bin/sh/jobs.c
1432
cmdtxt(n->nif.test);
bin/sh/parser.c
444
if ((n1->nif.test = list(0)) == NULL)
bin/sh/parser.c
453
if ((n2->nif.test = list(0)) == NULL)
bin/sh/pregenerated/nodes.c
169
calcsize(n->nif.test, result);
bin/sh/pregenerated/nodes.c
265
new->nif.test = copynode(n->nif.test, state);
bin/sh/pregenerated/nodes.h
65
union node *test;
crypto/libressl/apps/openssl/s_client.c
1183
BIO *test;
crypto/libressl/apps/openssl/s_client.c
1185
test = BIO_new(BIO_f_nbio_test());
crypto/libressl/apps/openssl/s_client.c
1186
sbio = BIO_push(test, sbio);
crypto/libressl/apps/openssl/s_server.c
1600
BIO *test;
crypto/libressl/apps/openssl/s_server.c
1602
test = BIO_new(BIO_f_nbio_test());
crypto/libressl/apps/openssl/s_server.c
1603
sbio = BIO_push(test, sbio);
crypto/libressl/apps/openssl/s_server.c
1999
BIO *test;
crypto/libressl/apps/openssl/s_server.c
2001
test = BIO_new(BIO_f_nbio_test());
crypto/libressl/apps/openssl/s_server.c
2002
sbio = BIO_push(test, sbio);
crypto/libressl/crypto/dsa/dsa_gen.c
107
BIGNUM *r0, *W, *X, *c, *test;
crypto/libressl/crypto/dsa/dsa_gen.c
166
if ((test = BN_CTX_get(ctx)) == NULL)
crypto/libressl/crypto/dsa/dsa_gen.c
169
if (!BN_lshift(test, BN_value_one(), bits - 1))
crypto/libressl/crypto/dsa/dsa_gen.c
268
if (!BN_add(X, X, test))
crypto/libressl/crypto/dsa/dsa_gen.c
282
if (BN_cmp(p, test) >= 0) {
crypto/libressl/crypto/dsa/dsa_gen.c
307
if (!BN_sub(test, p, BN_value_one()))
crypto/libressl/crypto/dsa/dsa_gen.c
309
if (!BN_div_ct(r0, NULL, test, q, ctx))
crypto/libressl/crypto/dsa/dsa_gen.c
312
if (!BN_set_word(test, h))
crypto/libressl/crypto/dsa/dsa_gen.c
319
if (!BN_mod_exp_mont_ct(g, test, r0, p, ctx, mont))
crypto/libressl/crypto/dsa/dsa_gen.c
323
if (!BN_add(test, test, BN_value_one()))
crypto/libressl/crypto/engine/eng_openssl.c
250
memcpy(&test(ctx)->key[0], key, EVP_CIPHER_CTX_key_length(ctx));
crypto/libressl/crypto/engine/eng_openssl.c
251
RC4_set_key(&test(ctx)->ks, EVP_CIPHER_CTX_key_length(ctx),
crypto/libressl/crypto/engine/eng_openssl.c
252
test(ctx)->key);
crypto/libressl/crypto/engine/eng_openssl.c
263
RC4(&test(ctx)->ks, inl, in, out);
crypto/openssh/servconf.c
1067
if (ci == NULL || (ci->test && ci->user == NULL)) {
crypto/openssh/servconf.c
1079
if (ci == NULL || (ci->test && ci->user == NULL)) {
crypto/openssh/servconf.c
1092
if (ci == NULL || (ci->test && ci->host == NULL)) {
crypto/openssh/servconf.c
1104
if (ci == NULL || (ci->test && ci->address == NULL)) {
crypto/openssh/servconf.c
1126
if (ci == NULL || (ci->test && ci->laddress == NULL)) {
crypto/openssh/servconf.c
1156
if (ci == NULL || (ci->test && ci->lport == -1)) {
crypto/openssh/servconf.c
1170
if (ci == NULL || (ci->test && ci->rdomain == NULL)) {
crypto/openssh/servconf.h
261
int test; /* test mode, allow some attributes to be
crypto/openssh/sshd.c
1169
connection_info->test = 1;
games/backgammon/common_source/table.c
198
int test;
games/backgammon/common_source/table.c
200
test = (c == 'R');
games/backgammon/common_source/table.c
203
if (a == c || (test && a == '\n')) {
games/backgammon/common_source/table.c
277
if (!test || a != '\n')
games/backgammon/teachgammon/data.c
214
const struct situatn test[] = {
games/backgammon/teachgammon/tutor.c
107
mm->D0 = test[i].new1;
games/backgammon/teachgammon/tutor.c
108
mm->D1 = test[i].new2;
games/backgammon/teachgammon/tutor.c
62
if (!brdeq(test[i].brd, board)) {
games/backgammon/teachgammon/tutor.c
84
wrtext(*test[i].com);
games/backgammon/teachgammon/tutor.c
89
mm->D0 = test[i].roll1;
games/backgammon/teachgammon/tutor.c
90
mm->D1 = test[i].roll2;
games/backgammon/teachgammon/tutor.c
94
if (test[i].mp[j] == test[i].mg[j])
games/backgammon/teachgammon/tutor.c
96
mm->p[j] = test[i].mp[j];
games/backgammon/teachgammon/tutor.c
97
mm->g[j] = test[i].mg[j];
games/backgammon/teachgammon/tutor.h
64
extern const struct situatn test[];
games/gomoku/main.c
119
test = 1;
games/gomoku/main.c
122
test = 2;
games/gomoku/main.c
149
if (inputfp == NULL && test == 0) {
games/gomoku/main.c
189
switch (test) {
games/gomoku/main.c
219
switch (test) {
games/gomoku/main.c
57
static int test; /* both moves come from 1: input, 2: computer */
lib/libc/gen/fnmatch.c
211
rangematch(const char *pattern, wchar_t test, int flags, char **newp,
lib/libc/gen/fnmatch.c
232
test = towlower(test);
lib/libc/gen/fnmatch.c
275
c <= test && test <= c2 :
lib/libc/gen/fnmatch.c
276
__wcollate_range_cmp(c, test) <= 0
lib/libc/gen/fnmatch.c
277
&& __wcollate_range_cmp(test, c2) <= 0
lib/libc/gen/fnmatch.c
280
} else if (c == test)
lib/libc/stdlib/nmalloc.c
618
size_t test;
lib/libc/stdlib/nmalloc.c
622
test = bigcache_size_array[i];
lib/libc/stdlib/nmalloc.c
623
if (bytes <= test) {
lib/libc/string/strtok.c
123
char blah[80], test[80];
lib/libc/string/strtok.c
130
strcpy(test, "This;is.a:test:of=the/string\\tokenizer-function.");
lib/libc/string/strtok.c
131
for (word = strtok(test, sep); word; word = strtok(NULL, sep))
lib/libc/string/strtok.c
133
strcpy(test, "This;is.a:test:of=the/string\\tokenizer-function.");
lib/libc/string/strtok.c
135
for (word = strtok_r(test, sep, &brkt); word;
lib/libc/sysvipc/ipc.c
106
send_msg_with_cred(daemon_fd, &test, sizeof(test));
lib/libc/sysvipc/ipc.c
95
char test = 't';
sbin/ip6fw/ip6fw.c
621
lookup_port(const char *arg, int test, int nodash)
sbin/ip6fw/ip6fw.c
635
if (!test) {
sbin/ip6fw/ip6fw.c
642
if (!test) {
sys/dev/crypto/rndtest/rndtest.c
155
rv |= (*rndtest_funcs[i].test)(rsp);
sys/dev/crypto/rndtest/rndtest.c
64
int (*test)(struct rndtest_state *);
sys/dev/drm/amd/amdgpu/amdgpu_drv.c
191
MODULE_PARM_DESC(test, "Run tests");
sys/dev/drm/amd/amdgpu/amdgpu_drv.c
192
module_param_named(test, amdgpu_testing, int, 0444);
sys/dev/drm/amd/display/dc/dce110/dce110_timing_generator.c
194
uint32_t test = 0;
sys/dev/drm/amd/powerplay/hwmgr/ppevvmath.h
401
fInt test;
sys/dev/drm/amd/powerplay/hwmgr/ppevvmath.h
437
test = fGetSquare(x_old); /*1.75*1.75 is reverting back to 1 when shifted down */
sys/dev/drm/amd/powerplay/hwmgr/ppevvmath.h
438
y = fSubtract(test, C); /*y = f(x) = x^2 - C; */
sys/dev/drm/radeon/radeon_drv.c
238
MODULE_PARM_DESC(test, "Run tests");
sys/dev/drm/radeon/radeon_drv.c
239
module_param_named(test, radeon_testing, int, 0444);
sys/dev/misc/cmx/cmx.c
303
cmx_wait_BSR(struct cmx_softc *sc, uint8_t flags, int test)
sys/dev/misc/cmx/cmx.c
308
if (cmx_test_BSR(sc, flags, test))
sys/dev/misc/cmx/cmx.c
313
if (cmx_test_BSR(sc, flags, test))
sys/dev/misc/cmx/cmxvar.h
92
#define cmx_test(byte, flags, test) \
sys/dev/misc/cmx/cmxvar.h
93
(((byte) & (flags)) == ((test) ? (flags) : 0))
sys/dev/misc/cmx/cmxvar.h
95
#define cmx_test_BSR(sc, flags, test) \
sys/dev/misc/cmx/cmxvar.h
96
cmx_test(cmx_read_BSR(sc), flags, test)
sys/dev/misc/tbridge/tbridge.c
149
tbridge_register(struct tbridge_testcase *test)
sys/dev/misc/tbridge/tbridge.c
154
tbridge_curtest = test;
sys/dev/netif/bwn/bwn/if_bwn_phy_g.c
2391
struct bwn_loctl orig, test;
sys/dev/netif/bwn/bwn/if_bwn_phy_g.c
2420
memcpy(&test, &orig, sizeof(struct bwn_loctl));
sys/dev/netif/bwn/bwn/if_bwn_phy_g.c
2421
test.i += modifiers[i - 1].i * d->multipler;
sys/dev/netif/bwn/bwn/if_bwn_phy_g.c
2422
test.q += modifiers[i - 1].q * d->multipler;
sys/dev/netif/bwn/bwn/if_bwn_phy_g.c
2423
if ((test.i != prev.i || test.q != prev.q) &&
sys/dev/netif/bwn/bwn/if_bwn_phy_g.c
2424
(abs(test.i) <= 16 && abs(test.q) <= 16)) {
sys/dev/netif/bwn/bwn/if_bwn_phy_g.c
2425
bwn_lo_write(mac, &test);
sys/dev/netif/bwn/bwn/if_bwn_phy_g.c
2429
memcpy(probe, &test,
sys/dev/netif/bwn/bwn/if_bwn_phy_g.c
2437
memcpy(&prev, &test, sizeof(prev));
sys/dev/netif/mn/if_mn.c
119
u_int8_t test, idle, xsa4, xsa5, xsa6, xsa7, xsa8, fmr13;
sys/dev/netif/mxge/if_mxge.c
437
const char *test = " ";
sys/dev/netif/mxge/if_mxge.c
456
test = "read";
sys/dev/netif/mxge/if_mxge.c
466
test = "write";
sys/dev/netif/mxge/if_mxge.c
476
test = "read/write";
sys/dev/netif/mxge/if_mxge.c
485
test, status);
sys/dev/raid/iir/iir.h
542
} test;
sys/dev/raid/iir/iir_ctrl.c
326
p->dvr.event_data.size = sizeof(p->dvr.event_data.eu.test);
sys/dev/video/bktr/bktr_reg.h
157
BTBYTE (test); /* 54, 55,56,57 */
sys/libkern/fnmatch.c
111
while ((test = *string) != EOS) {
sys/libkern/fnmatch.c
114
if (test == '/' && flags & FNM_PATHNAME)
sys/libkern/fnmatch.c
167
rangematch(const char *pattern, char test, int flags, char **newp)
sys/libkern/fnmatch.c
183
test = tolower((unsigned char)test);
sys/libkern/fnmatch.c
215
if (c <= test && test <= c2)
sys/libkern/fnmatch.c
217
} else if (c == test) {
sys/libkern/fnmatch.c
60
char c, test;
sys/net/radix.c
310
int klen, matched_off, test, bit, rn_bit;
sys/net/radix.c
350
test = (*cp ^ *cp2) & 0xff;
sys/net/radix.c
351
for (bit = 7; (test >>= 1) > 0;)
sys/net/wg/selftest/cookie.c
28
#define T_FAILED_ITER(test) do { \
sys/net/wg/selftest/cookie.c
29
kprintf("%s %s: FAIL, iter: %d\n", __func__, test, i); \
sys/net/wg/selftest/cookie.c
32
#define T_FAILED(test) do { \
sys/net/wg/selftest/cookie.c
33
kprintf("%s %s: FAIL\n", __func__, test); \
test/bsd/dup_test/dup_test.c
101
printf("ok %d - dup2(2) works\n", ++test);
test/bsd/dup_test/dup_test.c
104
++test;
test/bsd/dup_test/dup_test.c
107
test);
test/bsd/dup_test/dup_test.c
109
printf("ok %d - dup2(2) returned a correct fd\n", test);
test/bsd/dup_test/dup_test.c
112
++test;
test/bsd/dup_test/dup_test.c
115
test);
test/bsd/dup_test/dup_test.c
117
printf("ok %d - dup2(2) cleared close-on-exec\n", test);
test/bsd/dup_test/dup_test.c
147
printf("ok %d - dup2(2) to itself works\n", ++test);
test/bsd/dup_test/dup_test.c
150
++test;
test/bsd/dup_test/dup_test.c
153
test);
test/bsd/dup_test/dup_test.c
156
test);
test/bsd/dup_test/dup_test.c
159
++test;
test/bsd/dup_test/dup_test.c
161
printf("not ok %d - dup2(2) cleared close-on-exec\n", test);
test/bsd/dup_test/dup_test.c
163
printf("ok %d - dup2(2) didn't clear close-on-exec\n", test);
test/bsd/dup_test/dup_test.c
170
++test, fd2);
test/bsd/dup_test/dup_test.c
172
printf("ok %d - fcntl(F_DUPFD) works\n", ++test);
test/bsd/dup_test/dup_test.c
175
++test;
test/bsd/dup_test/dup_test.c
179
test);
test/bsd/dup_test/dup_test.c
181
printf("ok %d - fcntl(F_DUPFD) cleared close-on-exec\n", test);
test/bsd/dup_test/dup_test.c
183
++test;
test/bsd/dup_test/dup_test.c
187
printf("not ok %d - dup2(2) bypassed NOFILE limit\n", test);
test/bsd/dup_test/dup_test.c
189
printf("ok %d - dup2(2) didn't bypass NOFILE limit\n", test);
test/bsd/dup_test/dup_test.c
194
printf("ok %d - fcntl(F_DUP2FD) works\n", ++test);
test/bsd/dup_test/dup_test.c
197
++test;
test/bsd/dup_test/dup_test.c
201
test);
test/bsd/dup_test/dup_test.c
204
test);
test/bsd/dup_test/dup_test.c
207
++test;
test/bsd/dup_test/dup_test.c
211
test);
test/bsd/dup_test/dup_test.c
214
test);
test/bsd/dup_test/dup_test.c
219
printf("ok %d - fcntl(F_DUP2FD) to itself works\n", ++test);
test/bsd/dup_test/dup_test.c
222
++test;
test/bsd/dup_test/dup_test.c
226
test);
test/bsd/dup_test/dup_test.c
230
test);
test/bsd/dup_test/dup_test.c
233
++test;
test/bsd/dup_test/dup_test.c
236
test);
test/bsd/dup_test/dup_test.c
239
test);
test/bsd/dup_test/dup_test.c
241
++test;
test/bsd/dup_test/dup_test.c
246
test);
test/bsd/dup_test/dup_test.c
249
test);
test/bsd/dup_test/dup_test.c
256
++test, fd2);
test/bsd/dup_test/dup_test.c
258
printf("ok %d - fcntl(F_DUPFD_CLOEXEC) works\n", ++test);
test/bsd/dup_test/dup_test.c
261
++test;
test/bsd/dup_test/dup_test.c
265
test);
test/bsd/dup_test/dup_test.c
268
test);
test/bsd/dup_test/dup_test.c
273
printf("ok %d - fcntl(F_DUP2FD_CLOEXEC) works\n", ++test);
test/bsd/dup_test/dup_test.c
276
++test;
test/bsd/dup_test/dup_test.c
280
test);
test/bsd/dup_test/dup_test.c
283
test);
test/bsd/dup_test/dup_test.c
286
++test;
test/bsd/dup_test/dup_test.c
290
test);
test/bsd/dup_test/dup_test.c
293
test);
test/bsd/dup_test/dup_test.c
300
++test;
test/bsd/dup_test/dup_test.c
305
test);
test/bsd/dup_test/dup_test.c
308
test);
test/bsd/dup_test/dup_test.c
313
printf("ok %d - dup3(O_CLOEXEC) works\n", ++test);
test/bsd/dup_test/dup_test.c
316
++test;
test/bsd/dup_test/dup_test.c
320
test);
test/bsd/dup_test/dup_test.c
323
test);
test/bsd/dup_test/dup_test.c
326
++test;
test/bsd/dup_test/dup_test.c
330
test);
test/bsd/dup_test/dup_test.c
333
test);
test/bsd/dup_test/dup_test.c
338
printf("ok %d - dup3(0) works\n", ++test);
test/bsd/dup_test/dup_test.c
341
++test;
test/bsd/dup_test/dup_test.c
345
test);
test/bsd/dup_test/dup_test.c
348
test);
test/bsd/dup_test/dup_test.c
351
++test;
test/bsd/dup_test/dup_test.c
355
test);
test/bsd/dup_test/dup_test.c
358
test);
test/bsd/dup_test/dup_test.c
361
++test;
test/bsd/dup_test/dup_test.c
364
"not ok %d - dup3(fd1, fd1, O_CLOEXEC) succeeded\n", test);
test/bsd/dup_test/dup_test.c
366
printf("ok %d - dup3(fd1, fd1, O_CLOEXEC) failed\n", test);
test/bsd/dup_test/dup_test.c
368
++test;
test/bsd/dup_test/dup_test.c
371
"not ok %d - dup3(fd1, fd1, 0) succeeded\n", test);
test/bsd/dup_test/dup_test.c
373
printf("ok %d - dup3(fd1, fd1, 0) failed\n", test);
test/bsd/dup_test/dup_test.c
375
++test;
test/bsd/dup_test/dup_test.c
380
test);
test/bsd/dup_test/dup_test.c
383
test);
test/bsd/dup_test/dup_test.c
390
++test, fd2);
test/bsd/dup_test/dup_test.c
392
printf("ok %d - fcntl(F_DUPFD_CLOFORK) works\n", ++test);
test/bsd/dup_test/dup_test.c
395
++test;
test/bsd/dup_test/dup_test.c
399
test);
test/bsd/dup_test/dup_test.c
402
test);
test/bsd/dup_test/dup_test.c
407
printf("ok %d - dup3(O_CLOFORK) works\n", ++test);
test/bsd/dup_test/dup_test.c
410
++test;
test/bsd/dup_test/dup_test.c
414
test);
test/bsd/dup_test/dup_test.c
417
test);
test/bsd/dup_test/dup_test.c
420
++test;
test/bsd/dup_test/dup_test.c
424
test);
test/bsd/dup_test/dup_test.c
427
test);
test/bsd/dup_test/dup_test.c
432
printf("ok %d - dup3(0) works\n", ++test);
test/bsd/dup_test/dup_test.c
435
++test;
test/bsd/dup_test/dup_test.c
439
test);
test/bsd/dup_test/dup_test.c
442
test);
test/bsd/dup_test/dup_test.c
445
++test;
test/bsd/dup_test/dup_test.c
449
test);
test/bsd/dup_test/dup_test.c
452
test);
test/bsd/dup_test/dup_test.c
455
++test;
test/bsd/dup_test/dup_test.c
458
"not ok %d - dup3(fd1, fd1, O_CLOFORK) succeeded\n", test);
test/bsd/dup_test/dup_test.c
460
printf("ok %d - dup3(fd1, fd1, O_CLOFORK) failed\n", test);
test/bsd/dup_test/dup_test.c
462
++test;
test/bsd/dup_test/dup_test.c
465
"not ok %d - dup3(fd1, fd1, 0) succeeded\n", test);
test/bsd/dup_test/dup_test.c
467
printf("ok %d - dup3(fd1, fd1, 0) failed\n", test);
test/bsd/dup_test/dup_test.c
469
++test;
test/bsd/dup_test/dup_test.c
474
test);
test/bsd/dup_test/dup_test.c
477
test);
test/bsd/dup_test/dup_test.c
83
int orgfd, fd1, fd2, test = 0;
test/bsd/dup_test/dup_test.c
92
printf("ok %d - dup(2) works\n", ++test);
test/stress/eattls.c
29
struct test *test;
test/stress/eattls.c
40
buf += random() % (BIGSIZE - sizeof(struct test));
test/stress/eattls.c
41
test = (void *)buf;
test/stress/eattls.c
43
info.size = sizeof(struct test);
test/stress/eattls.c
48
test->random1 = random1;
test/stress/eattls.c
49
test->random2 = random2;
test/stress/eattls.c
50
printf("setting %%gs to 0x%02x segment at %p\n", gs, test);
test/stress/fsx/fsx.c
1184
test();
test/stress/fsx/fsx.c
93
static void test(void);
test/stress/stress2/include/stress.h
32
extern int test(void);
test/stress/stress2/lib/main.c
112
test();
test/stress/stress2/testcases/openat/doat.c
101
tests = calloc(NUM_OF_TESTS, sizeof(struct test));
test/stress/stress2/testcases/openat/doat.c
64
struct test *tests;
test/stress/tuxload.c
106
const struct test *tp;
test/testcases/libnvmm/h_io_assist.c
295
const struct test *test)
test/testcases/libnvmm/h_io_assist.c
300
size = (size_t)test->code_end - (size_t)test->code_begin;
test/testcases/libnvmm/h_io_assist.c
307
memcpy(instbuf, test->code_begin, size);
test/testcases/libnvmm/h_io_assist.c
309
if (test->in) {
test/testcases/libnvmm/h_io_assist.c
310
strcpy(iobuf, test->wanted);
test/testcases/libnvmm/h_io_assist.c
312
strcpy(databuf, test->wanted);
test/testcases/libnvmm/h_io_assist.c
317
if (test->in) {
test/testcases/libnvmm/h_io_assist.c
323
if (!strcmp(res, test->wanted)) {
test/testcases/libnvmm/h_io_assist.c
324
printf("Test '%s' passed\n", test->name);
test/testcases/libnvmm/h_io_assist.c
326
printf("Test '%s' failed, wanted '%s', got '%s'\n", test->name,
test/testcases/libnvmm/h_io_assist.c
327
test->wanted, res);
test/testcases/libnvmm/h_io_assist.c
347
static const struct test tests[] = {
test/testcases/libnvmm/h_mem_assist.c
147
const struct test *test)
test/testcases/libnvmm/h_mem_assist.c
152
size = (size_t)test->code_end - (size_t)test->code_begin;
test/testcases/libnvmm/h_mem_assist.c
155
memcpy(instbuf, test->code_begin, size);
test/testcases/libnvmm/h_mem_assist.c
159
res = (uint64_t *)(mmiobuf + test->off);
test/testcases/libnvmm/h_mem_assist.c
160
if (*res == test->wanted) {
test/testcases/libnvmm/h_mem_assist.c
161
printf("Test '%s' passed\n", test->name);
test/testcases/libnvmm/h_mem_assist.c
163
printf("Test '%s' failed, wanted 0x%lx, got 0x%lx\n", test->name,
test/testcases/libnvmm/h_mem_assist.c
164
test->wanted, *res);
test/testcases/libnvmm/h_mem_assist.c
190
static const struct test tests64[] = {
test/testcases/libnvmm/h_mem_assist.c
401
static const struct test tests16[] = {
tools/regression/lib/libc-regex/testregex.c
1061
note(unsigned long level, char* msg, unsigned long skip, unsigned long test)
tools/regression/lib/libc-regex/testregex.c
1063
if (!(test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_SUMMARY)) && !skip)
tools/regression/lib/libc-regex/testregex.c
1078
extract(int* tabs, char* spec, char* re, char* s, char* ans, char* msg, char* accept, regmatch_t* match, int nmatch, int nsub, unsigned long skip, unsigned long level, unsigned long test)
tools/regression/lib/libc-regex/testregex.c
1080
if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_OK|TEST_PASS|TEST_SUMMARY))
tools/regression/lib/libc-regex/testregex.c
1083
if (test & TEST_OK)
tools/regression/lib/libc-regex/testregex.c
1086
if ((test & TEST_VERIFY) && !(test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_SUMMARY)))
tools/regression/lib/libc-regex/testregex.c
1092
test &= ~(TEST_PASS|TEST_QUERY);
tools/regression/lib/libc-regex/testregex.c
1094
if (test & (TEST_QUERY|TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
1096
if (test & TEST_BASELINE)
tools/regression/lib/libc-regex/testregex.c
1097
test &= ~(TEST_BASELINE|TEST_PASS);
tools/regression/lib/libc-regex/testregex.c
1099
test |= TEST_PASS;
tools/regression/lib/libc-regex/testregex.c
1102
if (!(test & TEST_OK))
tools/regression/lib/libc-regex/testregex.c
1104
if (test & TEST_UNSPECIFIED)
tools/regression/lib/libc-regex/testregex.c
1109
if (test & (TEST_PASS|TEST_SUMMARY))
tools/regression/lib/libc-regex/testregex.c
1111
test &= ~TEST_DELIMIT;
tools/regression/lib/libc-regex/testregex.c
1113
if ((test & (TEST_BASELINE|TEST_SAME)) == (TEST_BASELINE|TEST_SAME))
tools/regression/lib/libc-regex/testregex.c
1116
quote(re, -1, test);
tools/regression/lib/libc-regex/testregex.c
1118
quote(s, -1, test);
tools/regression/lib/libc-regex/testregex.c
1120
if (!(test & (TEST_ACTUAL|TEST_BASELINE)) || !accept && !match)
tools/regression/lib/libc-regex/testregex.c
1125
matchprint(match, nmatch, nsub, NiL, test);
tools/regression/lib/libc-regex/testregex.c
1130
else if (test & TEST_QUERY)
tools/regression/lib/libc-regex/testregex.c
1131
skip = note(level, msg, skip, test);
tools/regression/lib/libc-regex/testregex.c
1132
else if (test & TEST_VERIFY)
tools/regression/lib/libc-regex/testregex.c
1138
catchfree(regex_t* preg, int flags, int* tabs, char* spec, char* re, char* s, char* ans, char* msg, char* accept, regmatch_t* match, int nmatch, int nsub, unsigned long skip, unsigned long level, unsigned long test)
tools/regression/lib/libc-regex/testregex.c
1142
if (!(test & TEST_CATCH))
tools/regression/lib/libc-regex/testregex.c
1153
else if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_QUERY|TEST_SUMMARY|TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
1154
extract(tabs, spec, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test);
tools/regression/lib/libc-regex/testregex.c
1157
report("failed", "regfree", re, NiL, -1, msg, flags, test);
tools/regression/lib/libc-regex/testregex.c
1263
unsigned long test = 0;
tools/regression/lib/libc-regex/testregex.c
1281
test |= TEST_CATCH;
tools/regression/lib/libc-regex/testregex.c
1284
test |= TEST_IGNORE_ERROR;
tools/regression/lib/libc-regex/testregex.c
1297
test |= TEST_IGNORE_OVER;
tools/regression/lib/libc-regex/testregex.c
1300
test |= TEST_IGNORE_POSITION;
tools/regression/lib/libc-regex/testregex.c
1314
test |= TEST_VERBOSE;
tools/regression/lib/libc-regex/testregex.c
1317
test |= TEST_ACTUAL;
tools/regression/lib/libc-regex/testregex.c
1320
test |= TEST_BASELINE;
tools/regression/lib/libc-regex/testregex.c
1323
test |= TEST_FAIL;
tools/regression/lib/libc-regex/testregex.c
1326
test |= TEST_PASS;
tools/regression/lib/libc-regex/testregex.c
1329
test |= TEST_SUMMARY;
tools/regression/lib/libc-regex/testregex.c
1356
if (!(test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_SUMMARY)))
tools/regression/lib/libc-regex/testregex.c
1390
if (test & TEST_CATCH)
tools/regression/lib/libc-regex/testregex.c
1392
if (test & TEST_IGNORE_ERROR)
tools/regression/lib/libc-regex/testregex.c
1394
if (test & TEST_IGNORE_POSITION)
tools/regression/lib/libc-regex/testregex.c
1400
if (test & TEST_VERBOSE)
tools/regression/lib/libc-regex/testregex.c
1443
if (test & TEST_CATCH)
tools/regression/lib/libc-regex/testregex.c
1460
if (test & TEST_BASELINE)
tools/regression/lib/libc-regex/testregex.c
1469
if (test & TEST_BASELINE)
tools/regression/lib/libc-regex/testregex.c
1475
if (test & TEST_BASELINE)
tools/regression/lib/libc-regex/testregex.c
1477
else if (!(test & (TEST_ACTUAL|TEST_FAIL|TEST_PASS|TEST_SUMMARY)))
tools/regression/lib/libc-regex/testregex.c
1530
test &= TEST_GLOBAL;
tools/regression/lib/libc-regex/testregex.c
1547
test |= TEST_ARE;
tools/regression/lib/libc-regex/testregex.c
1550
test |= TEST_BRE;
tools/regression/lib/libc-regex/testregex.c
1553
if (!(test & TEST_QUERY) && !(skip & level))
tools/regression/lib/libc-regex/testregex.c
1555
test &= ~TEST_QUERY;
tools/regression/lib/libc-regex/testregex.c
1573
skip = note(level, s, skip, test);
tools/regression/lib/libc-regex/testregex.c
1576
if (!(test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_SUMMARY)))
tools/regression/lib/libc-regex/testregex.c
1581
skip = note(level, skip, test, "locales not supported");
tools/regression/lib/libc-regex/testregex.c
1587
test |= TEST_ERE;
tools/regression/lib/libc-regex/testregex.c
1590
test |= TEST_KRE;
tools/regression/lib/libc-regex/testregex.c
1593
test |= TEST_LRE;
tools/regression/lib/libc-regex/testregex.c
1596
test |= TEST_SRE;
tools/regression/lib/libc-regex/testregex.c
1660
test |= TEST_UNSPECIFIED;
tools/regression/lib/libc-regex/testregex.c
1672
test |= TEST_LENIENT;
tools/regression/lib/libc-regex/testregex.c
1682
test |= TEST_EXPAND;
tools/regression/lib/libc-regex/testregex.c
1686
test |= TEST_SUB;
tools/regression/lib/libc-regex/testregex.c
1690
test |= TEST_DECOMP;
tools/regression/lib/libc-regex/testregex.c
1694
test |= TEST_VERIFY;
tools/regression/lib/libc-regex/testregex.c
1695
test &= ~(TEST_AND|TEST_OR);
tools/regression/lib/libc-regex/testregex.c
1699
test |= TEST_VERIFY|TEST_AND;
tools/regression/lib/libc-regex/testregex.c
1700
test &= ~TEST_OR;
tools/regression/lib/libc-regex/testregex.c
1703
test |= TEST_VERIFY|TEST_OR;
tools/regression/lib/libc-regex/testregex.c
1704
test &= ~TEST_AND;
tools/regression/lib/libc-regex/testregex.c
1707
test |= TEST_OR;
tools/regression/lib/libc-regex/testregex.c
1708
test &= ~TEST_AND;
tools/regression/lib/libc-regex/testregex.c
1721
test |= TEST_QUERY;
tools/regression/lib/libc-regex/testregex.c
1729
if (!(test & (TEST_BASELINE|TEST_SUMMARY)))
tools/regression/lib/libc-regex/testregex.c
1731
if (test & (TEST_ACTUAL|TEST_FAIL))
tools/regression/lib/libc-regex/testregex.c
1733
else if (!(test & TEST_PASS))
tools/regression/lib/libc-regex/testregex.c
1746
if (!(test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_SUMMARY)))
tools/regression/lib/libc-regex/testregex.c
1748
else if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_PASS))
tools/regression/lib/libc-regex/testregex.c
1751
else if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL))
tools/regression/lib/libc-regex/testregex.c
1760
bad("bad spec\n", spec, NiL, 0, test);
tools/regression/lib/libc-regex/testregex.c
1766
if ((cflags|eflags) == NOTEST || (skip & level) && (test & TEST_BASELINE))
tools/regression/lib/libc-regex/testregex.c
1768
if (test & TEST_BASELINE)
tools/regression/lib/libc-regex/testregex.c
1776
if (test & TEST_OR)
tools/regression/lib/libc-regex/testregex.c
1778
if (!(test & TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
1780
test &= ~TEST_OR;
tools/regression/lib/libc-regex/testregex.c
1788
else if (test & TEST_AND)
tools/regression/lib/libc-regex/testregex.c
1794
if (i < ((test & TEST_DECOMP) ? 3 : 4))
tools/regression/lib/libc-regex/testregex.c
1795
bad("too few fields\n", NiL, NiL, 0, test);
tools/regression/lib/libc-regex/testregex.c
1803
test |= TEST_SAME;
tools/regression/lib/libc-regex/testregex.c
1807
if (test & TEST_EXPAND)
tools/regression/lib/libc-regex/testregex.c
1819
if (test & TEST_EXPAND)
tools/regression/lib/libc-regex/testregex.c
1828
if (!(ans = field[(test & TEST_DECOMP) ? 2 : 3]))
tools/regression/lib/libc-regex/testregex.c
1829
bad("NIL answer\n", NiL, NiL, 0, test);
tools/regression/lib/libc-regex/testregex.c
1832
if (test & TEST_SUB)
tools/regression/lib/libc-regex/testregex.c
1839
if (test & TEST_DECOMP)
tools/regression/lib/libc-regex/testregex.c
1849
if (REG_EXTENDED != 0 && (test & TEST_BRE))
tools/regression/lib/libc-regex/testregex.c
1851
if (test & TEST_BRE)
tools/regression/lib/libc-regex/testregex.c
1854
test &= ~TEST_BRE;
tools/regression/lib/libc-regex/testregex.c
1861
if (test & TEST_ERE)
tools/regression/lib/libc-regex/testregex.c
1863
test &= ~TEST_ERE;
tools/regression/lib/libc-regex/testregex.c
1870
if (test & TEST_ARE)
tools/regression/lib/libc-regex/testregex.c
1872
test &= ~TEST_ARE;
tools/regression/lib/libc-regex/testregex.c
1879
if (test & TEST_LRE)
tools/regression/lib/libc-regex/testregex.c
1881
test &= ~TEST_LRE;
tools/regression/lib/libc-regex/testregex.c
1888
if (test & TEST_SRE)
tools/regression/lib/libc-regex/testregex.c
1890
test &= ~TEST_SRE;
tools/regression/lib/libc-regex/testregex.c
1896
if (test & TEST_KRE)
tools/regression/lib/libc-regex/testregex.c
1898
test &= ~TEST_KRE;
tools/regression/lib/libc-regex/testregex.c
1906
if (test & (TEST_BASELINE|TEST_PASS|TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
1907
extract(tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test|TEST_OK);
tools/regression/lib/libc-regex/testregex.c
1910
if ((test & (TEST_QUERY|TEST_VERBOSE|TEST_VERIFY)) == TEST_VERBOSE)
tools/regression/lib/libc-regex/testregex.c
1913
quote(re, -1, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
1915
quote(s, nstr, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
1930
if (!(test & TEST_QUERY))
tools/regression/lib/libc-regex/testregex.c
1939
if (!(test & TEST_CATCH))
tools/regression/lib/libc-regex/testregex.c
1948
if (!cret && (test & TEST_SUB))
tools/regression/lib/libc-regex/testregex.c
1952
if (!(test & TEST_CATCH))
tools/regression/lib/libc-regex/testregex.c
1962
if (catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test))
tools/regression/lib/libc-regex/testregex.c
1969
if (!cret && (test & TEST_DECOMP))
tools/regression/lib/libc-regex/testregex.c
1977
if (!(test & TEST_CATCH))
tools/regression/lib/libc-regex/testregex.c
1987
catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test);
tools/regression/lib/libc-regex/testregex.c
1992
report("failed", fun, re, s, nstr, msg, flags, test);
tools/regression/lib/libc-regex/testregex.c
1998
report("failed", fun, re, s, nstr, msg, flags, test);
tools/regression/lib/libc-regex/testregex.c
1999
quote(ans, -1, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2001
quote(buf, -1, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2019
if (test & TEST_IGNORE_OVER)
tools/regression/lib/libc-regex/testregex.c
2028
if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_QUERY|TEST_SUMMARY|TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
2029
skip = extract(tabs, line, re, s, ans, msg, "OK", NiL, 0, 0, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2032
report("re_nsub incorrect", fun, re, NiL, -1, msg, flags, test);
tools/regression/lib/libc-regex/testregex.c
2042
if (!(test & (TEST_DECOMP|TEST_SUB)) && *ans && *ans != '(' && !streq(ans, "OK") && !streq(ans, "NOMATCH"))
tools/regression/lib/libc-regex/testregex.c
2044
if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_QUERY|TEST_SUMMARY|TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
2045
skip = extract(tabs, line, re, s, ans, msg, "OK", NiL, 0, 0, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2046
else if (!(test & TEST_LENIENT))
tools/regression/lib/libc-regex/testregex.c
2048
report("failed", fun, re, NiL, -1, msg, flags, test);
tools/regression/lib/libc-regex/testregex.c
2051
catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test);
tools/regression/lib/libc-regex/testregex.c
2057
if (test & TEST_LENIENT)
tools/regression/lib/libc-regex/testregex.c
2065
if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_QUERY|TEST_SUMMARY|TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
2066
skip = extract(tabs, line, re, s, ans, msg, codes[got].name, NiL, 0, 0, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2069
report("failed", fun, re, NiL, -1, msg, flags, test);
tools/regression/lib/libc-regex/testregex.c
2086
if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_QUERY|TEST_SUMMARY|TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
2087
skip = extract(tabs, line, re, s, ans, msg, codes[got].name, NiL, 0, 0, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2090
report("failed: invalid error code", NiL, re, NiL, -1, msg, flags, test);
tools/regression/lib/libc-regex/testregex.c
2096
if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_QUERY|TEST_SUMMARY|TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
2097
skip = extract(tabs, line, re, s, ans, msg, codes[got].name, NiL, 0, 0, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2098
else if (test & TEST_IGNORE_ERROR)
tools/regression/lib/libc-regex/testregex.c
2102
report("should fail and did", fun, re, NiL, -1, msg, flags, test);
tools/regression/lib/libc-regex/testregex.c
2133
if (!(test & TEST_CATCH))
tools/regression/lib/libc-regex/testregex.c
2143
if ((test & TEST_SUB) && !eret)
tools/regression/lib/libc-regex/testregex.c
2146
if (!(test & TEST_CATCH))
tools/regression/lib/libc-regex/testregex.c
2162
if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_QUERY|TEST_SUMMARY|TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
2163
skip = extract(tabs, line, re, s, ans, msg, "NOMATCH", NiL, 0, 0, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2166
report("REG_NOSUB failed", fun, re, s, nstr, msg, flags, test);
tools/regression/lib/libc-regex/testregex.c
2173
if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_QUERY|TEST_SUMMARY|TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
2174
skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2177
report("should fail and didn't", fun, re, s, nstr, msg, flags, test);
tools/regression/lib/libc-regex/testregex.c
2186
if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_QUERY|TEST_SUMMARY|TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
2187
skip = extract(tabs, line, re, s, ans, msg, "NOMATCH", NiL, 0, nsub, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2190
report("failed", fun, re, s, nstr, msg, flags, test);
tools/regression/lib/libc-regex/testregex.c
2202
if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_QUERY|TEST_SUMMARY|TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
2203
skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2206
report("should fail and didn't", fun, re, s, nstr, msg, flags, test);
tools/regression/lib/libc-regex/testregex.c
2207
matchprint(match, nmatch, nsub, NiL, test);
tools/regression/lib/libc-regex/testregex.c
2211
else if (test & TEST_SUB)
tools/regression/lib/libc-regex/testregex.c
2216
report("failed", fun, re, s, nstr, msg, flags, test);
tools/regression/lib/libc-regex/testregex.c
2217
quote(ans, -1, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2219
quote(p, -1, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2228
if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_QUERY|TEST_SUMMARY|TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
2229
skip = extract(tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test);
tools/regression/lib/libc-regex/testregex.c
2232
report("failed: no match but match array assigned", NiL, re, s, nstr, msg, flags, test);
tools/regression/lib/libc-regex/testregex.c
2233
matchprint(match, nmatch, nsub, NiL, test);
tools/regression/lib/libc-regex/testregex.c
2237
else if (matchcheck(match, nmatch, nsub, ans, re, s, nstr, flags, test))
tools/regression/lib/libc-regex/testregex.c
2248
if (!(test & (TEST_DECOMP|TEST_SUB|TEST_VERIFY)) && !nonosub)
tools/regression/lib/libc-regex/testregex.c
2250
if (catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test))
tools/regression/lib/libc-regex/testregex.c
2255
if (test & (TEST_BASELINE|TEST_PASS|TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
2256
skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_OK);
tools/regression/lib/libc-regex/testregex.c
2258
else if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_QUERY|TEST_SUMMARY|TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
2259
skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2260
if (catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test))
tools/regression/lib/libc-regex/testregex.c
2264
if (test & TEST_SUMMARY)
tools/regression/lib/libc-regex/testregex.c
2266
else if (!(test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS)))
tools/regression/lib/libc-regex/testregex.c
574
quote(char* s, int len, unsigned long test)
tools/regression/lib/libc-regex/testregex.c
587
else if (test & TEST_EXPAND)
tools/regression/lib/libc-regex/testregex.c
592
if (test & TEST_DELIMIT)
tools/regression/lib/libc-regex/testregex.c
601
if (test & TEST_DELIMIT)
tools/regression/lib/libc-regex/testregex.c
646
if (test & TEST_DELIMIT)
tools/regression/lib/libc-regex/testregex.c
654
report(char* comment, char* fun, char* re, char* s, int len, char* msg, int flags, unsigned long test)
tools/regression/lib/libc-regex/testregex.c
662
quote(re, -1, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
666
quote(s, len, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
669
if (test & TEST_UNSPECIFIED)
tools/regression/lib/libc-regex/testregex.c
717
bad(char* comment, char* re, char* s, int len, unsigned long test)
tools/regression/lib/libc-regex/testregex.c
720
report(comment, NiL, re, s, len, NiL, 0, test);
tools/regression/lib/libc-regex/testregex.c
858
matchprint(regmatch_t* match, int nmatch, int nsub, char* ans, unsigned long test)
tools/regression/lib/libc-regex/testregex.c
863
if ((match[nmatch-1].rm_so != -1 || match[nmatch-1].rm_eo != -1) && (!(test & TEST_IGNORE_POSITION) || match[nmatch-1].rm_so >= 0 && match[nmatch-1].rm_eo >= 0))
tools/regression/lib/libc-regex/testregex.c
873
if (!(test & (TEST_ACTUAL|TEST_BASELINE)))
tools/regression/lib/libc-regex/testregex.c
882
matchcheck(regmatch_t* match, int nmatch, int nsub, char* ans, char* re, char* s, int len, int flags, unsigned long test)
tools/regression/lib/libc-regex/testregex.c
890
return test & (TEST_BASELINE|TEST_PASS|TEST_VERIFY);
tools/regression/lib/libc-regex/testregex.c
902
if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_QUERY|TEST_SUMMARY|TEST_VERIFY))
tools/regression/lib/libc-regex/testregex.c
904
report("callout failed", NiL, re, s, len, NiL, flags, test);
tools/regression/lib/libc-regex/testregex.c
905
quote(p, -1, test);
tools/regression/lib/libc-regex/testregex.c
907
quote(x, -1, test);
tools/regression/lib/libc-regex/testregex.c
914
bad("improper answer\n", re, s, -1, test);
tools/regression/lib/libc-regex/testregex.c
930
bad("improper answer\n", re, s, -1, test);
tools/regression/lib/libc-regex/testregex.c
946
bad("improper answer\n", re, s, -1, test);
tools/regression/lib/libc-regex/testregex.c
949
if (!(test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_QUERY|TEST_SUMMARY|TEST_VERIFY)))
tools/regression/lib/libc-regex/testregex.c
951
report("failed: match was", NiL, re, s, len, NiL, flags, test);
tools/regression/lib/libc-regex/testregex.c
952
matchprint(match, nmatch, nsub, ans, test);
tools/regression/lib/libc-regex/testregex.c
961
if (!(test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_QUERY|TEST_VERIFY)))
tools/regression/lib/libc-regex/testregex.c
963
if ((test & TEST_IGNORE_POSITION) && (match[i].rm_so<0 || match[i].rm_eo<0))
tools/regression/lib/libc-regex/testregex.c
968
if (!(test & TEST_SUMMARY))
tools/regression/lib/libc-regex/testregex.c
970
report("failed: match was", NiL, re, s, len, NiL, flags, test);
tools/regression/lib/libc-regex/testregex.c
971
matchprint(match, nmatch, nsub, ans, test);
tools/regression/lib/libc-regex/testregex.c
977
if (!(test & TEST_IGNORE_OVER) && match[nmatch].rm_so != state.NOMATCH.rm_so)
tools/regression/lib/libc-regex/testregex.c
979
if (!(test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_QUERY|TEST_SUMMARY|TEST_VERIFY)))
tools/regression/lib/libc-regex/testregex.c
981
report("failed: overran match array", NiL, re, s, len, NiL, flags, test);
tools/regression/lib/libc-regex/testregex.c
982
matchprint(match, nmatch + 1, nsub, NiL, test);
tools/regression/lib/libm/test-cexp.c
272
test(cexp, cpackl(finites[i], 0.0),
tools/regression/lib/libm/test-cexp.c
275
test(cexp, cpackl(finites[i], -0.0),
tools/regression/lib/libm/test-cexp.c
278
test(cexpf, cpackl(finites[i], 0.0),
tools/regression/lib/libm/test-cexp.c
281
test(cexpf, cpackl(finites[i], -0.0),
tools/regression/lib/libm/test-cexp.c
293
test(cexp, cpackl(0.0, finites[i]),
tools/regression/lib/libm/test-cexp.c
296
test(cexp, cpackl(-0.0, finites[i]),
tools/regression/lib/libm/test-cexp.c
299
test(cexpf, cpackl(0.0, finites[i]),
tools/regression/lib/libm/test-cexp.c
302
test(cexpf, cpackl(-0.0, finites[i]),
tools/regression/lib/libm/test-cexp.c
97
test(cexp, x, result, exceptmask, excepts, checksign); \
tools/regression/lib/libm/test-cexp.c
98
test(cexpf, x, result, exceptmask, excepts, checksign); \
tools/regression/lib/libm/test-ctrig.c
125
test(func, x, result, exceptmask, excepts, checksign); \
tools/regression/lib/libm/test-ctrig.c
126
test(func##f, x, result, exceptmask, excepts, checksign); \
tools/regression/lib/libm/test-exponential.c
66
test(exp, x, result, exceptmask, excepts); \
tools/regression/lib/libm/test-exponential.c
67
test(expf, x, result, exceptmask, excepts); \
tools/regression/lib/libm/test-exponential.c
68
test(exp2, x, result, exceptmask, excepts); \
tools/regression/lib/libm/test-exponential.c
69
test(exp2f, x, result, exceptmask, excepts); \
tools/regression/lib/libm/test-exponential.c
70
test(exp2l, x, result, exceptmask, excepts); \
tools/regression/lib/libm/test-exponential.c
75
test(expm1, x, result, exceptmask, excepts); \
tools/regression/lib/libm/test-exponential.c
76
test(expm1f, x, result, exceptmask, excepts); \
tools/regression/lib/libm/test-fma.c
123
test(fmaf, -FLT_MIN, FLT_MIN, 0.0, -0.0,
tools/regression/lib/libm/test-fma.c
125
test(fma, -DBL_MIN, DBL_MIN, 0.0, -0.0,
tools/regression/lib/libm/test-fma.c
127
test(fmal, -LDBL_MIN, LDBL_MIN, 0.0, -0.0,
tools/regression/lib/libm/test-fma.c
159
test(fmaf, FLT_MAX, FLT_MAX, -INFINITY, -INFINITY, ALL_STD_EXCEPT, 0);
tools/regression/lib/libm/test-fma.c
160
test(fma, DBL_MAX, DBL_MAX, -INFINITY, -INFINITY, ALL_STD_EXCEPT, 0);
tools/regression/lib/libm/test-fma.c
161
test(fmal, LDBL_MAX, LDBL_MAX, -INFINITY, -INFINITY,
tools/regression/lib/libm/test-fma.c
163
test(fmaf, FLT_MAX, -FLT_MAX, INFINITY, INFINITY, ALL_STD_EXCEPT, 0);
tools/regression/lib/libm/test-fma.c
164
test(fma, DBL_MAX, -DBL_MAX, INFINITY, INFINITY, ALL_STD_EXCEPT, 0);
tools/regression/lib/libm/test-fma.c
165
test(fmal, LDBL_MAX, -LDBL_MAX, INFINITY, INFINITY,
tools/regression/lib/libm/test-fma.c
181
test(fmaf, FLT_MIN, FLT_MIN, NAN, NAN, ALL_STD_EXCEPT, 0);
tools/regression/lib/libm/test-fma.c
182
test(fma, DBL_MIN, DBL_MIN, NAN, NAN, ALL_STD_EXCEPT, 0);
tools/regression/lib/libm/test-fma.c
183
test(fmal, LDBL_MIN, LDBL_MIN, NAN, NAN, ALL_STD_EXCEPT, 0);
tools/regression/lib/libm/test-fma.c
184
test(fmaf, FLT_MAX, FLT_MAX, NAN, NAN, ALL_STD_EXCEPT, 0);
tools/regression/lib/libm/test-fma.c
185
test(fma, DBL_MAX, DBL_MAX, NAN, NAN, ALL_STD_EXCEPT, 0);
tools/regression/lib/libm/test-fma.c
186
test(fmal, LDBL_MAX, LDBL_MAX, NAN, NAN, ALL_STD_EXCEPT, 0);
tools/regression/lib/libm/test-fma.c
198
test(fmaf, one, one, 0x1.0p-100, 1.0 + FLT_EPSILON,
tools/regression/lib/libm/test-fma.c
200
test(fma, one, one, 0x1.0p-200, 1.0 + DBL_EPSILON,
tools/regression/lib/libm/test-fma.c
202
test(fmal, one, one, 0x1.0p-200, 1.0 + LDBL_EPSILON,
tools/regression/lib/libm/test-fma.c
211
test(fmaf, -one, one, -0x1.0p-100, -(1.0 + FLT_EPSILON),
tools/regression/lib/libm/test-fma.c
213
test(fma, -one, one, -0x1.0p-200, -(1.0 + DBL_EPSILON),
tools/regression/lib/libm/test-fma.c
215
test(fmal, -one, one, -0x1.0p-200, -(1.0 + LDBL_EPSILON),
tools/regression/lib/libm/test-fma.c
224
test(fmaf, one, one, -0x1.0p-100, 1.0 - FLT_EPSILON / 2,
tools/regression/lib/libm/test-fma.c
226
test(fma, one, one, -0x1.0p-200, 1.0 - DBL_EPSILON / 2,
tools/regression/lib/libm/test-fma.c
228
test(fmal, one, one, -0x1.0p-200, 1.0 - LDBL_EPSILON / 2,
tools/regression/lib/libm/test-fma.c
237
test(fmaf, -one, one, 0x1.0p-100, -1.0 + FLT_EPSILON / 2,
tools/regression/lib/libm/test-fma.c
239
test(fma, -one, one, 0x1.0p-200, -1.0 + DBL_EPSILON / 2,
tools/regression/lib/libm/test-fma.c
241
test(fmal, -one, one, 0x1.0p-200, -1.0 + LDBL_EPSILON / 2,
tools/regression/lib/libm/test-fma.c
258
test(fmaf, 0x1.0p-50, 0x1.0p-50, 1.0, 1.0 + FLT_EPSILON,
tools/regression/lib/libm/test-fma.c
260
test(fma, 0x1.0p-100, 0x1.0p-100, 1.0, 1.0 + DBL_EPSILON,
tools/regression/lib/libm/test-fma.c
262
test(fmal, 0x1.0p-100, 0x1.0p-100, 1.0, 1.0 + LDBL_EPSILON,
tools/regression/lib/libm/test-fma.c
271
test(fmaf, -0x1.0p-50, 0x1.0p-50, -1.0, -(1.0 + FLT_EPSILON),
tools/regression/lib/libm/test-fma.c
273
test(fma, -0x1.0p-100, 0x1.0p-100, -1.0, -(1.0 + DBL_EPSILON),
tools/regression/lib/libm/test-fma.c
275
test(fmal, -0x1.0p-100, 0x1.0p-100, -1.0, -(1.0 + LDBL_EPSILON),
tools/regression/lib/libm/test-fma.c
284
test(fmaf, -0x1.0p-50, -0x1.0p-50, -1.0,
tools/regression/lib/libm/test-fma.c
286
test(fma, -0x1.0p-100, -0x1.0p-100, -1.0,
tools/regression/lib/libm/test-fma.c
288
test(fmal, -0x1.0p-100, -0x1.0p-100, -1.0,
tools/regression/lib/libm/test-fma.c
297
test(fmaf, 0x1.0p-50, -0x1.0p-50, 1.0, 1.0 - FLT_EPSILON / 2,
tools/regression/lib/libm/test-fma.c
299
test(fma, 0x1.0p-100, -0x1.0p-100, 1.0, 1.0 - DBL_EPSILON / 2,
tools/regression/lib/libm/test-fma.c
301
test(fmal, 0x1.0p-100, -0x1.0p-100, 1.0, 1.0 - LDBL_EPSILON / 2,
tools/regression/lib/libm/test-fma.c
447
test(fma, 0x1.8000000000001p0, 0x1.8000000000001p0,
tools/regression/lib/libm/test-fma.c
451
test(fma, 0x1.8000000000001p0, 0x1.8000000000001p0,
tools/regression/lib/libm/test-fma.c
455
test(fma, 0x1.8000000000001p0, 0x1.8000000000001p0,
tools/regression/lib/libm/test-fma.c
460
test(fmaf, 0x1.800002p+0, 0x1.800002p+0, -0x1.000002p-46, 0x1.200002p+1,
tools/regression/lib/libm/test-fma.c
463
test(fmaf, 0x1.800002p+0, 0x1.800002p+0, -0x1.000002p-46, 0x1.200002p+1,
tools/regression/lib/libm/test-fma.c
466
test(fmaf, 0x1.800002p+0, 0x1.800002p+0, -0x1.000002p-46, 0x1.200004p+1,
tools/regression/lib/libm/test-fma.c
471
test(fmal, 0x1.4p+0L, 0x1.0000000000000004p+0L, 0x1p-128L,
tools/regression/lib/libm/test-fma.c
474
test(fmal, 0x1.8000000000000000000000000001p+0L,
tools/regression/lib/libm/test-fma.c
61
test(fma, (x), (y), (z), (double)(result), (exceptmask), (excepts)); \
tools/regression/lib/libm/test-fma.c
62
test(fmaf, (x), (y), (z), (float)(result), (exceptmask), (excepts)); \
tools/regression/lib/libm/test-fma.c
63
test(fmal, (x), (y), (z), (result), (exceptmask), (excepts)); \
tools/regression/lib/libm/test-fma.c
69
test((func), (x), (y), (z), (rn), (exceptmask), (excepts)); \
tools/regression/lib/libm/test-fma.c
71
test((func), (x), (y), (z), (ru), (exceptmask), (excepts)); \
tools/regression/lib/libm/test-fma.c
73
test((func), (x), (y), (z), (rd), (exceptmask), (excepts)); \
tools/regression/lib/libm/test-fma.c
75
test((func), (x), (y), (z), (rz), (exceptmask), (excepts)); \
tools/regression/lib/libm/test-invctrig.c
107
test(func, x, result, exceptmask, excepts, checksign); \
tools/regression/lib/libm/test-invctrig.c
108
test(func##f, x, result, exceptmask, excepts, checksign); \
tools/regression/lib/libm/test-logarithm.c
66
test(log, x, result, exceptmask, excepts); \
tools/regression/lib/libm/test-logarithm.c
67
test(logf, x, result, exceptmask, excepts); \
tools/regression/lib/libm/test-logarithm.c
68
test(log2, x, result, exceptmask, excepts); \
tools/regression/lib/libm/test-logarithm.c
69
test(log2f, x, result, exceptmask, excepts); \
tools/regression/lib/libm/test-logarithm.c
70
test(log10, x, result, exceptmask, excepts); \
tools/regression/lib/libm/test-logarithm.c
71
test(log10f, x, result, exceptmask, excepts); \
tools/regression/lib/libm/test-logarithm.c
76
test(log1p, x, result, exceptmask, excepts); \
tools/regression/lib/libm/test-logarithm.c
77
test(log1pf, x, result, exceptmask, excepts); \
tools/regression/lib/libm/test-lrint.c
102
test(lrint, 0x8000000000000000.0p0, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lrint.c
103
test(lrintf, 0x8000000000000000.0p0f, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lrint.c
104
test(lrint, 0x7ffffffffffffc00.0p0, 0x7ffffffffffffc00l, 0);
tools/regression/lib/libm/test-lrint.c
105
test(lrintf, 0x7fffff8000000000.0p0f, 0x7fffff8000000000l, 0);
tools/regression/lib/libm/test-lrint.c
106
test(lrint, -0x8000000000000800.0p0, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lrint.c
107
test(lrintf, -0x8000010000000000.0p0f, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lrint.c
108
test(lrint, -0x8000000000000000.0p0, -0x8000000000000000l, 0);
tools/regression/lib/libm/test-lrint.c
109
test(lrintf, -0x8000000000000000.0p0f, -0x8000000000000000l, 0);
tools/regression/lib/libm/test-lrint.c
116
test(llrint, 0x8000000000000000.0p0, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lrint.c
117
test(llrintf, 0x8000000000000000.0p0f, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lrint.c
118
test(llrint, 0x7ffffffffffffc00.0p0, 0x7ffffffffffffc00ll, 0);
tools/regression/lib/libm/test-lrint.c
119
test(llrintf, 0x7fffff8000000000.0p0f, 0x7fffff8000000000ll, 0);
tools/regression/lib/libm/test-lrint.c
120
test(llrint, -0x8000000000000800.0p0, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lrint.c
121
test(llrintf, -0x8000010000000000.0p0f, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lrint.c
122
test(llrint, -0x8000000000000000.0p0, -0x8000000000000000ll, 0);
tools/regression/lib/libm/test-lrint.c
123
test(llrintf, -0x8000000000000000.0p0f, -0x8000000000000000ll, 0);
tools/regression/lib/libm/test-lrint.c
51
test(lrint, x, result, excepts); \
tools/regression/lib/libm/test-lrint.c
52
test(lrintf, x, result, excepts); \
tools/regression/lib/libm/test-lrint.c
53
test(lrintl, x, result, excepts); \
tools/regression/lib/libm/test-lrint.c
54
test(llrint, x, result, excepts); \
tools/regression/lib/libm/test-lrint.c
55
test(llrintf, x, result, excepts); \
tools/regression/lib/libm/test-lrint.c
56
test(llrintl, x, result, excepts); \
tools/regression/lib/libm/test-lrint.c
84
test(lrint, 0x7fffffff.8p0, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lrint.c
85
test(lrint, -0x80000000.4p0, -0x80000000l, FE_INEXACT);
tools/regression/lib/libm/test-lrint.c
88
test(lrint, -0x80000000.8p0, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lrint.c
89
test(lrint, 0x80000000.0p0, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lrint.c
90
test(lrint, 0x7fffffff.4p0, 0x7fffffffl, FE_INEXACT);
tools/regression/lib/libm/test-lrint.c
91
test(lrintf, 0x80000000.0p0f, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lrint.c
92
test(lrintf, 0x7fffff80.0p0f, 0x7fffff80l, 0);
tools/regression/lib/libm/test-lrint.c
95
test(lrint, 0x7fffffff.8p0, 0x7fffffffl, FE_INEXACT);
tools/regression/lib/libm/test-lrint.c
96
test(lrint, -0x80000000.8p0, -0x80000000l, FE_INEXACT);
tools/regression/lib/libm/test-lrint.c
97
test(lrint, 0x80000000.0p0, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lrint.c
98
test(lrintf, 0x80000000.0p0f, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lrint.c
99
test(lrintf, 0x7fffff80.0p0f, 0x7fffff80l, 0);
tools/regression/lib/libm/test-lround.c
100
test(llroundf, 0x8000000000000000.0p0f, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lround.c
101
test(llround, 0x7ffffffffffffc00.0p0, 0x7ffffffffffffc00ll, 0);
tools/regression/lib/libm/test-lround.c
102
test(llroundf, 0x7fffff8000000000.0p0f, 0x7fffff8000000000ll, 0);
tools/regression/lib/libm/test-lround.c
103
test(llround, -0x8000000000000800.0p0, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lround.c
104
test(llroundf, -0x8000010000000000.0p0f, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lround.c
105
test(llround, -0x8000000000000000.0p0, -0x8000000000000000ll, 0);
tools/regression/lib/libm/test-lround.c
106
test(llroundf, -0x8000000000000000.0p0f, -0x8000000000000000ll, 0);
tools/regression/lib/libm/test-lround.c
51
test(lround, x, result, excepts); \
tools/regression/lib/libm/test-lround.c
52
test(lroundf, x, result, excepts); \
tools/regression/lib/libm/test-lround.c
53
test(llround, x, result, excepts); \
tools/regression/lib/libm/test-lround.c
54
test(llroundf, x, result, excepts); \
tools/regression/lib/libm/test-lround.c
78
test(lround, 0x7fffffff.8p0, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lround.c
79
test(lround, -0x80000000.8p0, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lround.c
80
test(lround, 0x80000000.0p0, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lround.c
81
test(lround, 0x7fffffff.4p0, 0x7fffffffl, FE_INEXACT);
tools/regression/lib/libm/test-lround.c
82
test(lround, -0x80000000.4p0, -0x80000000l, FE_INEXACT);
tools/regression/lib/libm/test-lround.c
83
test(lroundf, 0x80000000.0p0f, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lround.c
84
test(lroundf, 0x7fffff80.0p0f, 0x7fffff80l, 0);
tools/regression/lib/libm/test-lround.c
86
test(lround, 0x8000000000000000.0p0, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lround.c
87
test(lroundf, 0x8000000000000000.0p0f, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lround.c
88
test(lround, 0x7ffffffffffffc00.0p0, 0x7ffffffffffffc00l, 0);
tools/regression/lib/libm/test-lround.c
89
test(lroundf, 0x7fffff8000000000.0p0f, 0x7fffff8000000000l, 0);
tools/regression/lib/libm/test-lround.c
90
test(lround, -0x8000000000000800.0p0, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lround.c
91
test(lroundf, -0x8000010000000000.0p0f, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-lround.c
92
test(lround, -0x8000000000000000.0p0, -0x8000000000000000l, 0);
tools/regression/lib/libm/test-lround.c
93
test(lroundf, -0x8000000000000000.0p0f, -0x8000000000000000l, 0);
tools/regression/lib/libm/test-lround.c
99
test(llround, 0x8000000000000000.0p0, IGNORE, FE_INVALID);
tools/regression/lib/libm/test-next.c
103
test##prec(next(-0.0, 42.0), eps, ex_under); \
tools/regression/lib/libm/test-next.c
104
test##prec(next(0.0, -42.0), -eps, ex_under); \
tools/regression/lib/libm/test-next.c
105
test##prec(next(0.0, INFINITY), eps, ex_under); \
tools/regression/lib/libm/test-next.c
106
test##prec(next(-0.0, -INFINITY), -eps, ex_under)
tools/regression/lib/libm/test-next.c
149
test(nexttoward(1.0, 1.0 + ldbl_eps), 1.0 + DBL_EPSILON, 0);
tools/regression/lib/libm/test-next.c
203
test(idd(nextafter(DBL_MAX, INFINITY)), INFINITY, ex_over);
tools/regression/lib/libm/test-next.c
204
test(idd(nextafter(INFINITY, 0.0)), DBL_MAX, 0);
tools/regression/lib/libm/test-next.c
205
test(idd(nexttoward(DBL_MAX, DBL_MAX * 2.0L)), INFINITY, ex_over);
tools/regression/lib/libm/test-next.c
207
test(idd(nexttoward(INFINITY, DBL_MAX * 2.0L)), DBL_MAX, 0);
tools/regression/lib/libm/test-next.c
57
test##prec(nextafter##prec((arg1), (arg2)), (ans), (ex)); \
tools/regression/lib/libm/test-next.c
58
test##prec(nexttoward##prec((arg1), (arg2)), (ans), (ex)); \
tools/regression/lib/libm/test-next.c
92
test##prec(copysign##prec(1.0, nextafter##prec(0.0, -0.0)), -1.0, 0); \
tools/regression/lib/libm/test-next.c
93
test##prec(copysign##prec(1.0, nextafter##prec(-0.0, 0.0)), 1.0, 0); \
tools/regression/lib/libm/test-next.c
94
test##prec(copysign##prec(1.0, nexttoward##prec(0.0, -0.0)), -1.0, 0);\
tools/regression/lib/libm/test-next.c
95
test##prec(copysign##prec(1.0, nexttoward##prec(-0.0, 0.0)), 1.0, 0)
tools/regression/lib/libm/test-rem.c
67
test(4, 4, 0, 1);
tools/regression/lib/libm/test-rem.c
68
test(0, 3.0, 0, 0);
tools/regression/lib/libm/test-rem.c
71
test(3.0, 4, -1, 1);
tools/regression/lib/libm/test-rem.c
72
test(3.0, -4, -1, -1);
tools/regression/lib/libm/test-rem.c
74
test(4.5 * 7.5, 4.5, -2.25, 8); /* we should get the even one */
tools/regression/lib/libm/test-rem.c
92
test(0x1.fp100, 0x1.ep-40, -0x1.cp-41, 143165577);
tools/regression/lib/libm/test-rem.c
98
test(0x1.66666cp+120, 0x1p+71, 0.0, 1476395008);
tools/regression/lib/libm/test-trig.c
72
test(prefix, x, (double)result, exceptmask, excepts); \
tools/regression/lib/libm/test-trig.c
73
test(prefix##f, x, (float)result, exceptmask, excepts); \
tools/regression/lib/libm/test-trig.c
74
test(prefix##l, x, result, exceptmask, excepts); \
tools/regression/lib/libm/test-trig.c
78
test(prefix, x, (double)result, exceptmask, excepts); \
tools/regression/lib/libm/test-trig.c
79
test(prefix##f, x, (float)result, exceptmask, excepts); \
tools/regression/priv/test.c
102
test(fn, expected, msg, "as unpriv");
tools/regression/priv/test.c
145
test(fn, expected, msg, "as jailed unpriv");
tools/regression/priv/test.c
41
test(fn, expected, msg, "as root");
tools/regression/priv/test.c
71
test(fn, expected, msg, "as jailed root");
tools/regression/priv/test.h
1
void test(int (*fn)(), int expected, char *msg, char *msg2);
usr.bin/unzip/unzip.c
888
error_count += test(a, e);
usr.sbin/cron/lib/misc.c
122
char **test;
usr.sbin/cron/lib/misc.c
127
for ( test = DebugFlagNames, mask = 1;
usr.sbin/cron/lib/misc.c
128
*test && strcmp_until(*test, pc, ',');
usr.sbin/cron/lib/misc.c
129
test++, mask <<= 1
usr.sbin/cron/lib/misc.c
133
if (!*test) {
usr.sbin/lpr/lpr/lpr.c
110
static int test(const char *_file);
usr.sbin/lpr/lpr/lpr.c
378
if ((f = test(arg = *argv++)) < 0)
usr.sbin/makefs/cd9660.c
320
int test;
usr.sbin/makefs/cd9660.c
326
test = cd9660_valid_d_chars(val);
usr.sbin/makefs/cd9660.c
328
test = cd9660_valid_a_chars(val);
usr.sbin/makefs/cd9660.c
329
if (test) {
usr.sbin/makefs/cd9660.c
331
if (test == 2)
usr.sbin/pfctl/pfctl_parser.c
1641
append_addr(struct pfr_buffer *b, char *s, int test)
usr.sbin/pfctl/pfctl_parser.c
1653
rv = append_addr_host(b, n, test, not);
usr.sbin/pfctl/pfctl_parser.c
1669
append_addr_host(struct pfr_buffer *b, struct node_host *n, int test, int not)
usr.sbin/pfctl/pfctl_parser.c
1693
if ((test && (not || addr.pfra_net != bits)) ||
usr.sbin/sysvipcd/sysvipcd.c
133
char test;
usr.sbin/sysvipcd/sysvipcd.c
164
receive_msg_with_cred(cl->sock, &test, sizeof(test), &cred);