Searched refs:test (Results 1 - 25 of 878) sorted by relevance

1234567891011>>

/xsrc/external/mit/xedit/dist/lisp/test/
H A Dmath.lsp30 ;; $XFree86: xc/programs/xedit/lisp/test/math.lsp,v 1.4 2002/11/30 23:13:14 paulo Exp $
34 ;; This is far from a good regression test, but in the current stage of
36 ;; broken. But note that this does not test all cases where there is
43 (defun test (expect function &rest arguments &aux result (error t)) function
71 (defun div-test (quotient remainder function &rest arguments
111 (defun bool-test (expect function &rest arguments &aux result (error t))
126 (defun error-test (function &rest arguments &aux result (error t))
137 (test 0 #'+)
138 (test 5 #'+ 5)
139 (test
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/tests/
H A Dunit_test.h34 struct test { struct
40 unsigned run_tests(struct test tests[]);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/tests/
H A Dunit_test.h34 struct test { struct
40 unsigned run_tests(struct test tests[]);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/docs/source/cso/
H A Ddsa.rst22 Whether the depth test is enabled.
26 The depth test function. One of PIPE_FUNC.
32 Whether the stencil test is enabled. For the second stencil, whether the
36 The stencil test function. One of PIPE_FUNC.
38 Stencil test value mask; this is ANDed with the value in the stencil
39 buffer and the reference value before doing the stencil comparison test.
41 Stencil test writemask; this controls which bits of the stencil buffer
44 The operation to carry out if the stencil test fails. One of
47 The operation to carry out if the stencil test passes but the depth test
[all...]
/xsrc/external/mit/MesaLib/dist/docs/gallium/cso/
H A Ddsa.rst22 Whether the depth test is enabled.
26 The depth test function. One of PIPE_FUNC.
32 Whether the stencil test is enabled. For the second stencil, whether the
36 The stencil test function. One of PIPE_FUNC.
38 Stencil test value mask; this is ANDed with the value in the stencil
39 buffer and the reference value before doing the stencil comparison test.
41 Stencil test writemask; this controls which bits of the stencil buffer
44 The operation to carry out if the stencil test fails. One of
47 The operation to carry out if the stencil test passes but the depth test
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_bld_alpha.c59 LLVMValueRef test; local in function:lp_build_alpha_test
87 test = lp_build_cmp(&bld, func, alpha, ref);
89 lp_build_name(test, "alpha_mask");
91 lp_build_mask_update(mask, test);
H A Dlp_test_format.c165 const struct util_format_test_case *test = &util_format_test_cases[l]; local in function:test_format_float
167 if (test->format == desc->format) {
177 memcpy(packed, test->packed, sizeof packed);
188 if (util_double_inf_sign(test->unpacked[i][j][k]) != util_inf_sign(unpacked[k])) {
192 if (util_is_double_nan(test->unpacked[i][j][k]) != util_is_nan(unpacked[k])) {
196 if (!util_is_double_inf_or_nan(test->unpacked[i][j][k]) &&
197 fabs((float)test->unpacked[i][j][k] - unpacked[k]) > FLT_EPSILON) {
210 test->packed[0], test->packed[1], test
266 const struct util_format_test_case *test = &util_format_test_cases[l]; local in function:test_format_unorm8
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_bld_alpha.c59 LLVMValueRef test; local in function:lp_build_alpha_test
87 test = lp_build_cmp(&bld, func, alpha, ref);
89 lp_build_name(test, "alpha_mask");
91 lp_build_mask_update(mask, test);
H A Dlp_test_format.c165 const struct util_format_test_case *test = &util_format_test_cases[l]; local in function:test_format_float
167 if (test->format == desc->format) {
177 memcpy(packed, test->packed, sizeof packed);
188 if (util_double_inf_sign(test->unpacked[i][j][k]) != util_inf_sign(unpacked[k])) {
192 if (util_is_double_nan(test->unpacked[i][j][k]) != util_is_nan(unpacked[k])) {
196 if (!util_is_double_inf_or_nan(test->unpacked[i][j][k]) &&
197 fabs((float)test->unpacked[i][j][k] - unpacked[k]) > FLT_EPSILON) {
210 test->packed[0], test->packed[1], test
266 const struct util_format_test_case *test = &util_format_test_cases[l]; local in function:test_format_unorm8
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/tests/vector/
H A Dvector_test.cpp27 static void test(uint32_t size_in_elements, uint32_t elements_to_walk, uint32_t start) function in typeref:typename:void
35 // Override the head and tail so we can quickly test rollover
85 TEST(Vector, Grow0) { test(4, 0, 0); }
87 TEST(Vector, Grow1) { test(4, 1, 0); }
89 TEST(Vector, Grow2) { test(4, 2, 0); }
91 TEST(Vector, Grow3) { test(4, 3, 0); }
93 TEST(Vector, Grow4) { test(4, 4, 0); }
95 TEST(Vector, Grow5) { test(4, 5, 0); }
100 test(8, 4, start);
/xsrc/external/mit/fontconfig/dist/test/
H A Dtest-family-matching.c2 * fontconfig/test/test-family-matching.c
43 TestMatchPattern (const char *test, FcPattern *p) argument
73 concat = FcStrPlus (xml_pre, (const FcChar8 *) test);
132 TestShouldMatchPattern(const char* test, FcPattern *pat, int negate) argument
134 switch (TestMatchPattern (test, pat)) {
141 printf ("Following test unexpectedly matched:\n%s", test);
149 printf ("Following test should have matched:\n%s", test);
180 const char *test; local in function:TestFamily
[all...]
H A Dtest-name-parse.c5 test (const FcChar8 *query, const FcPattern *expect) function in typeref:typename:int
34 if ((ret = test ((const FcChar8 *)"sans\\-serif", expect)) != 0)
40 if ((ret = test ((const FcChar8 *)"Foo-10", expect)) != 0)
47 if ((ret = test ((const FcChar8 *)"Foo,Bar-10", expect)) != 0)
53 if ((ret = test ((const FcChar8 *)"Foo:weight=medium", expect)) != 0)
59 if ((ret = test ((const FcChar8 *)"Foo:weight_medium", expect)) != 0)
64 if ((ret = test ((const FcChar8 *)":medium", expect)) != 0)
69 if ((ret = test ((const FcChar8 *)":weight=normal", expect)) != 0)
74 if ((ret = test ((const FcChar8 *)":width=normal", expect)) != 0)
81 if ((ret = test ((cons
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/tests/unit/
H A Du_half_test.c10 test(void) function in typeref:typename:void
40 test();
45 test();
/xsrc/external/mit/libSM/dist/
H A Dconfigure.ac32 if test x"$with_libuuid" != xno && test x"$have_system_uuid" != xyes; then
35 if test x"$with_libuuid" = xyes && test x"$HAVE_LIBUUID" = xno; then
42 if test x"$HAVE_LIBUUID" = xyes ; then
44 if test x"$UUID_PC" = x ; then
51 AM_CONDITIONAL(WITH_LIBUUID, test x"$HAVE_LIBUUID" = xyes)
55 AS_IF([test x"$HAVE_LIBUUID" != xyes && test x"$ac_cv_func_uuid_create" != xyes],
/xsrc/external/mit/xf86-video-intel/dist/test/
H A Dbasic-copyarea-size.c7 #include "test.h"
47 struct test test; local in function:main
51 test_init(&test, argc, argv);
55 target_init(&test.out, &out, size);
56 target_init(&test.ref, &ref, size);
70 XCopyArea(test.out.dpy,
78 XCopyArea(test.ref.dpy,
88 test_compare(&test,
93 test_compare(&test,
[all...]
H A Drender-copyarea-size.c7 #include "test.h"
55 struct test test; local in function:main
59 test_init(&test, argc, argv);
63 target_init(&test.out, &out, size);
64 target_init(&test.ref, &ref, size);
81 XRenderComposite(test.out.dpy, PictOpSrc,
90 XRenderComposite(test.ref.dpy, PictOpSrc,
101 test_compare(&test,
106 test_compare(&test,
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/test/
H A Dbasic-copyarea-size.c7 #include "test.h"
47 struct test test; local in function:main
51 test_init(&test, argc, argv);
55 target_init(&test.out, &out, size);
56 target_init(&test.ref, &ref, size);
70 XCopyArea(test.out.dpy,
78 XCopyArea(test.ref.dpy,
88 test_compare(&test,
93 test_compare(&test,
[all...]
H A Drender-copyarea-size.c7 #include "test.h"
55 struct test test; local in function:main
59 test_init(&test, argc, argv);
63 target_init(&test.out, &out, size);
64 target_init(&test.ref, &ref, size);
81 XRenderComposite(test.out.dpy, PictOpSrc,
90 XRenderComposite(test.ref.dpy, PictOpSrc,
101 test_compare(&test,
106 test_compare(&test,
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/unit/
H A Du_format_test.c205 const struct util_format_test_case *test)
214 format_desc->fetch_rgba_float(unpacked[i][j], test->packed, j, i);
216 if (!compare_float(test->unpacked[i][j][k], unpacked[i][j][k])) {
230 print_unpacked_rgba_doubl(format_desc, " ", test->unpacked, " expected\n");
239 const struct util_format_test_case *test)
246 test->packed, 0,
253 if (!compare_float(test->unpacked[i][j][k], unpacked[i][j][k])) {
267 print_unpacked_rgba_doubl(format_desc, " ", test->unpacked, " expected\n");
276 const struct util_format_test_case *test)
283 if (test
204 test_format_fetch_rgba_float(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
238 test_format_unpack_rgba_float(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
275 test_format_pack_rgba_float(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
354 test_format_unpack_rgba_8unorm(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
393 test_format_pack_rgba_8unorm(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
455 test_format_unpack_z_float(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
485 test_format_pack_z_float(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
522 test_format_unpack_z_32unorm(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
559 test_format_pack_z_32unorm(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
597 test_format_unpack_s_8uint(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
634 test_format_pack_s_8uint(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
730 const struct util_format_test_case *test = &util_format_test_cases[i]; local in function:test_one_func
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/tests/format/
H A Du_format_test.c206 const struct util_format_test_case *test)
217 fetch_rgba(unpacked[i][j], test->packed, j, i);
219 if (!compare_float(test->unpacked[i][j][k], unpacked[i][j][k])) {
233 print_unpacked_rgba_doubl(format_desc, " ", test->unpacked, " expected\n");
242 const struct util_format_test_case *test)
249 test->packed, 0,
256 if (!compare_float(test->unpacked[i][j][k], unpacked[i][j][k])) {
270 print_unpacked_rgba_doubl(format_desc, " ", test->unpacked, " expected\n");
279 const struct util_format_test_case *test)
288 if (test
205 test_format_fetch_rgba(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
241 test_format_unpack_rgba(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
278 test_format_pack_rgba_float(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
359 test_format_unpack_rgba_8unorm(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
401 test_format_pack_rgba_8unorm(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
465 test_format_unpack_z_float(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
497 test_format_pack_z_float(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
536 test_format_unpack_z_32unorm(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
575 test_format_pack_z_32unorm(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
615 test_format_unpack_s_8uint(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
654 test_format_pack_s_8uint(const struct util_format_description * format_desc,const struct util_format_test_case * test) argument
752 const struct util_format_test_case *test = &util_format_test_cases[i]; local in function:test_one_func
[all...]
/xsrc/external/mit/freetype/dist/builds/unix/
H A Dfreetype2.m445 [Do not try to compile and run a test FreeType program]),
49 if test x$ft_config_exec_prefix != x ; then
51 if test x${FT2_CONFIG+set} != xset ; then
56 if test x$ft_config_prefix != x ; then
58 if test x${FT2_CONFIG+set} != xset ; then
63 if test "x$FT2_CONFIG" = x ; then
70 if test "$FT2_CONFIG" = "no" ; then
87 if test x$enable_fttest = xyes ; then
89 if test $ft_config_major_version -lt $ft_min_major_version ; then
92 if test
[all...]
/xsrc/external/mit/xf86-video-intel/dist/
H A Dconfigure.ac80 if test "x$backlight" = "xyes"; then
88 AM_CONDITIONAL(BUILD_BACKLIGHT_HELPER, [test "x$backlight" = "xyes" -a "x$backlight_helper" = "xyes"])
89 if test "x$backlight_helper" = "xyes"; then
96 if test -e .git; then
100 AM_CONDITIONAL(HAVE_DOT_GIT, test "x$dot_git" = "xyes")
113 if test "x$BUILDERSTRING" = "xx-magic-git-describe" -a "x$dot_git" = "xyes"; then
116 if test "x$BUILDERSTRING" != x -a "x$BUILDERSTRING" != "xno" -a "x$BUILDERSTRING" != xx-magic-git-describe; then
128 if test "x$ASM" != "xno"; then
134 if test -n "$path" ; then
138 if test "
[all...]
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Djkrahntest.c2 /* This is a good test for glXSwapBuffers on non-current windows,
44 int test; local in function:main
62 test = atoi(argv[1]);
144 if (test == 1 || test == 3 || test == 5)
147 if (test == 5)
150 if (test == 3 || test == 4) {
170 if (test
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/
H A Dconfigure.ac80 if test "x$backlight" = "xyes"; then
88 AM_CONDITIONAL(BUILD_BACKLIGHT_HELPER, [test "x$backlight" = "xyes" -a "x$backlight_helper" = "xyes"])
89 if test "x$backlight_helper" = "xyes"; then
96 if test -e .git; then
100 AM_CONDITIONAL(HAVE_DOT_GIT, test "x$dot_git" = "xyes")
113 if test "x$BUILDERSTRING" = "xx-magic-git-describe" -a "x$dot_git" = "xyes"; then
116 if test "x$BUILDERSTRING" != x -a "x$BUILDERSTRING" != "xno" -a "x$BUILDERSTRING" != xx-magic-git-describe; then
128 if test "x$ASM" != "xno"; then
134 if test -n "$path" ; then
138 if test "
[all...]
/xsrc/external/mit/pixman/dist/test/
H A Dfuzzer-find-diff.pl6 The first two input arguments are the commands to run the test programs
9 configure option). The third optional argument is the number of test rounds
14 fuzzer-find-diff.pl ./blitters-test-with-sse-disabled ./blitters-test 9000000
15 fuzzer-find-diff.pl ./blitters-test \"ssh ppc64_host /path/to/blitters-test\"
61 printf("Failure: results are different for test %d:\n", $res);

Completed in 24 milliseconds

1234567891011>>