Searched refs:test (Results 76 - 100 of 380) sorted by relevance

1234567891011>>

/freebsd-10.1-release/contrib/ofed/librdmacm/examples/
H A Dcmatose.c81 static struct cmatest test; variable in typeref:struct:cmatest
221 test.disconnects_left--;
222 test.connects_left--;
278 if (test.conn_index == connections) {
282 node = &test.nodes[test.conn_index++];
330 test.connects_left--;
343 test.disconnects_left--;
346 /* Cleanup will occur after test completes. */
384 test
[all...]
H A Dudaddy.c73 static struct cmatest test; variable in typeref:struct:cmatest
237 test.connects_left--;
294 if (test.conn_index == connections) {
298 node = &test.nodes[test.conn_index++];
323 test.connects_left--;
347 test.connects_left--;
382 /* Cleanup will occur after test completes. */
420 test.nodes = malloc(sizeof *test
[all...]
/freebsd-10.1-release/tools/regression/usr.bin/cc/
H A Dfloat.c47 #define test(desc, pass) test1((desc), (pass), 0) macro
85 test("optimizations don't break the sign of 0",
97 test("optimizations don't break infinities",
126 test("sign bits", fpequal(-0.0, -0.0) && !fpequal(0.0, -0.0));
129 test("NaN equality", fpequal(NAN, NAN) && NAN != NAN && vd != vd);
132 test("NaN comparison returns false", !(vd <= vd));
157 test("0.75->int conversion rounds toward 0, raises inexact exception",
163 test("-42.0->int conversion is exact, raises no exception",
178 test("compile-time constants don't have too much precision",
181 test("cons
[all...]
/freebsd-10.1-release/crypto/heimdal/lib/roken/
H A Dfnmatch.c65 char c, test; local
107 while ((test = *string) != EOS) {
110 if (test == '/' && flags & FNM_PATHNAME)
142 rangematch(const char *pattern, int test, int flags) argument
169 if (c <= test && test <= c2)
171 } else if (c == test)
/freebsd-10.1-release/contrib/ntp/libntp/
H A Dclocktime.c63 u_int32 test[3]; /* result time stamp */ local
84 test[0] = (u_int32)(*yearstart) + tmp;
86 diff[0] = test[0] - rec_ui;
91 *ts_ui = test[0];
111 test[idx] = ystt[idx] + tmp;
113 diff[idx] = test[idx] - rec_ui;
122 *ts_ui = test[min];
/freebsd-10.1-release/sys/dev/aic7xxx/
H A Daic7xxx.seq81 test SCSISEQ, ENSELO jnz poll_for_selection;
84 test SCSISEQ, ENSELO jnz poll_for_selection;
93 test SSTAT0, SELDO|SELDI jnz selection;
98 test QOFF_CTLSTA, SCB_AVAIL jz poll_for_work_loop;
161 test SSTAT0, SELDO|SELDI jz poll_for_selection;
178 test SSTAT0, SELDI|SELDO jz bus_free_sel;
179 test SSTAT0,SELDO jnz select_out;
183 test SSTAT0, TARGET jz initiator_reselect;
223 test SBLKCTL, SELBUSB jz . + 2;
238 test SCSISIG
[all...]
/freebsd-10.1-release/sys/libkern/
H A Dfnmatch.c58 char c, test; local
103 while ((test = *string) != EOS) {
106 if (test == '/' && flags & FNM_PATHNAME)
157 rangematch(const char *pattern, char test, int flags, char **newp) argument
173 test = tolower((unsigned char)test);
205 if (c <= test && test <= c2)
207 } else if (c == test)
/freebsd-10.1-release/usr.bin/csup/
H A Dfnmatch.c61 char c, test; local
106 while ((test = *string) != EOS) {
109 if (test == '/' && flags & FNM_PATHNAME)
152 rangematch(const char *pattern, char test, int flags) argument
168 test = tolower((unsigned char)test);
190 if ((unsigned char)c <= (unsigned char)test &&
191 (unsigned char)test <= (unsigned char)c2)
193 } else if (c == test)
/freebsd-10.1-release/contrib/gcc/
H A Dgenconditions.c117 const struct c_test *test = * (const struct c_test **) slot; local
120 print_rtx_ptr_loc (test->expr);
122 for (p = test->expr; *p; p++)
135 print_c_condition (test->expr);
137 print_c_condition (test->expr);
/freebsd-10.1-release/lib/libc/string/
H A Dstrtok.c112 char blah[80], test[80]; local
118 printf("String tokenizer test:\n");
119 strcpy(test, "This;is.a:test:of=the/string\\tokenizer-function.");
120 for (word = strtok(test, sep); word; word = strtok(NULL, sep))
122 strcpy(test, "This;is.a:test:of=the/string\\tokenizer-function.");
124 for (word = strtok_r(test, sep, &brkt); word;
/freebsd-10.1-release/tools/regression/lib/msun/
H A Dtest-logarithm.c44 #include "test-utils.h"
61 #define test(func, x, result, exceptmask, excepts) do { \ macro
68 #define test(func, x, result, exceptmask, excepts) do { \ macro
83 test(log, x, result, exceptmask, excepts); \
84 test(logf, x, result, exceptmask, excepts); \
85 test(logl, x, result, exceptmask, excepts); \
86 test(log2, x, result, exceptmask, excepts); \
87 test(log2f, x, result, exceptmask, excepts); \
88 test(log2l, x, result, exceptmask, excepts); \
89 test(log1
[all...]
H A Dtest-exponential.c44 #include "test-utils.h"
61 #define test(func, x, result, exceptmask, excepts) do { \ macro
70 test(exp, x, result, exceptmask, excepts); \
71 test(expf, x, result, exceptmask, excepts); \
72 test(exp2, x, result, exceptmask, excepts); \
73 test(exp2f, x, result, exceptmask, excepts); \
74 test(exp2l, x, result, exceptmask, excepts); \
79 test(expm1, x, result, exceptmask, excepts); \
80 test(expm1f, x, result, exceptmask, excepts); \
/freebsd-10.1-release/tools/regression/posixsem/
H A Dtest.c37 #include "test.h"
40 static struct regression_test *test; variable in typeref:struct:regression_test
46 * Outputs a test summary of the following:
48 * <status> <test #> [name] [# <fmt> [fmt args]]
55 if (test->rt_name)
56 printf(" - %s", test->rt_name);
122 test = *testp;
123 test->rt_function();
/freebsd-10.1-release/tools/regression/posixshm/
H A Dtest.c37 #include "test.h"
40 static struct regression_test *test; variable in typeref:struct:regression_test
46 * Outputs a test summary of the following:
48 * <status> <test #> [name] [# <fmt> [fmt args]]
55 if (test->rt_name)
56 printf(" - %s", test->rt_name);
122 test = *testp;
123 test->rt_function();
/freebsd-10.1-release/share/mk/
H A Dbsd.test.mk3 # Generic build infrastructure for test programs.
6 # tests are to be built. All other *.test.mk files are internal and not
11 __<bsd.test.mk>__:
15 # get registered into the run-time test suite definitions so that the test
18 # In other words: list here any directories that contain test programs but use
34 # distribution to end up in the 'tests' distribution; the test programs
48 # List of all tests being built. The various *.test.mk modules extend this
52 # Pull in the definitions of all supported test interfaces.
53 .include <atf.test
[all...]
H A Dsuite.test.mk3 # You must include bsd.test.mk instead of this file from your Makefile.
7 .if !target(__<bsd.test.mk>__)
8 .error suite.test.mk cannot be included directly.
15 # Name of the test suite these tests belong to. Should rarely be changed for
24 # If 'auto', a Kyuafile is automatically generated based on the list of test
31 # Per-test program interface definition.
34 # Kyua as this is later encoded in the Kyuafile test program definitions.
35 #TEST_INTERFACE.<test-program>= interface-name
37 # Per-test program metadata properties as a list of key/value pairs.
43 #TEST_METADATA.<test
[all...]
/freebsd-10.1-release/contrib/libarchive/libarchive/test/
H A Dtest_archive_read_next_header_raw.c26 #include "test.h"
34 test(int skip_explicitely) function
63 test(1);
64 test(0);
H A Dtest_archive_read_set_format_option.c26 #include "test.h"
33 test(int pristine) function
65 test(1);
66 test(0);
H A Dtest_archive_read_set_option.c26 #include "test.h"
33 test(int pristine) function
67 test(1);
68 test(0);
H A Dtest_archive_write_set_format_option.c26 #include "test.h"
33 test(int pristine) function
65 test(1);
66 test(0);
H A Dtest_archive_write_set_option.c26 #include "test.h"
33 test(int pristine) function
67 test(1);
68 test(0);
/freebsd-10.1-release/contrib/sendmail/libsm/
H A Dt-inet6_ntop.c16 #include <sm/test.h>
40 test() function
60 sm_test_begin(argc, argv, "test inet6_ntop");
61 test();
/freebsd-10.1-release/contrib/ntp/sntp/tests/
H A Dutilities.c25 const char * Version = "stub unit test Version string";
161 l_fp test; local
162 test.l_ui = 8;
163 test.l_uf = 2147483647; // Lots of ones.
164 HTONL_FP(&test, &testpkt.xmt);
177 l_fp test; local
178 test.l_ui = 63; // 00000000 00000000 00000000 00111111
179 test.l_uf = 127; // 00000000 00000000 00000000 01111111
182 HTONL_FP(&test, &network);
195 l_fp test; local
[all...]
/freebsd-10.1-release/usr.bin/make/tests/
H A Dtest-new.mk6 rm -rf /tmp/${USER}.make.test
/freebsd-10.1-release/tools/test/iconv/gnu/
H A Dgnu.c412 test(int (tester) (void), const char * label) function
425 test(ctl_get_translit1, "ctl_get_translit1");
426 test(ctl_get_translit2, "ctl_get_translit2");
427 test(ctl_set_translit1, "ctl_set_translit1");
428 test(ctl_set_translit2, "ctl_set_translit2");
429 test(ctl_get_discard_ilseq1, "ctl_get_discard_ilseq1");
430 test(ctl_get_discard_ilseq2, "ctl_get_discard_ilseq2");
431 test(ctl_set_discard_ilseq1, "ctl_set_discard_ilseq1");
432 test(ctl_set_discard_ilseq2, "ctl_set_discard_ilseq2");
433 test(ctl_trivialp
[all...]

Completed in 313 milliseconds

1234567891011>>