HomeSort by: relevance | last modified time | path
    Searched defs:test (Results 1 - 25 of 135) sorted by relevancy

1 2 3 4 5 6

  /xsrc/external/mit/x11perf/dist/
do_tests.c 27 * some test must be done a certain multiple of times. That multiple is
32 Test test[] = { variable
  /xsrc/external/mit/xedit/dist/lisp/test/
math.lsp 30 ;; $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 -2 #'+ -2
    [all...]
regex.lsp 30 ;; $XFree86: xc/programs/xedit/lisp/test/regex.lsp,v 1.1 2002/12/10 03:59:04 paulo Exp $
41 (defun re-test (expect &rest arguments &aux result (error t) unused error-value)
73 (re-test '((0 . 3)) re "abc")
74 (re-test '((0 . 3)) re "abc" :notbol t)
75 (re-test '((0 . 3)) re "abc" :noteol t)
76 (re-test '((0 . 3)) re "abc" :notbol t :noteol t)
77 (re-test '((14 . 17)) re "aaaaaaaaaaaaaaabc")
78 (re-test '((14 . 17)) re "aaaaaaaaaaaaaaabc" :start 12 :end 17)
79 (re-test '((30 . 33)) re "xxxxxxxxxxxxxxaaaaaaaaaaaaaaaaabcxx")
80 (re-test '((30 . 33)) re "xxxxxxxxxxxxxxaaaaaaaaaaaaaaaaabcxx" :start 28 :end 34
    [all...]
stream.lsp 30 ;; $XFree86: xc/programs/xedit/lisp/test/stream.lsp,v 1.3 2002/12/06 03:25:29 paulo Exp $
37 (defun do-format-test (error-test expect arguments
46 (if error-test
58 (defun format-test (expect &rest arguments)
59 (do-format-test nil expect arguments))
62 (do-format-test t nil arguments))
66 (defun compare-test (test expect function arguments
77 (or (funcall test result expect
    [all...]
list.lsp 30 ;; $XFree86: xc/programs/xedit/lisp/test/list.lsp,v 1.5 2002/11/26 04:06:30 paulo Exp $
40 ;; Some tests are hand crafted, to test how the interpreter treats
54 (defun compare-test (test expect function arguments
65 (or (funcall test result expect)
73 (defun compare-eval (test expect form
84 (or (funcall test result expect)
92 (defun error-test (function &rest arguments &aux result (error t))
113 (defun eq-test (expect function &rest arguments)
114 (compare-test #'eq expect function arguments)
185 (defstruct test a b c) function
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
lp_bld_alpha.c 59 LLVMValueRef test; local
87 test = lp_build_cmp(&bld, func, alpha, ref);
89 lp_build_name(test, "alpha_mask");
91 lp_build_mask_update(mask, test);
lp_test_printf.c 76 /* Also test lp_build_assert(). This should not fail. */
94 LLVMValueRef test; local
101 test = add_printf_test(gallivm);
105 test_printf_func = (test_printf_t) gallivm_jit_function(gallivm, test);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
lp_bld_alpha.c 59 LLVMValueRef test; local
87 test = lp_build_cmp(&bld, func, alpha, ref);
89 lp_build_name(test, "alpha_mask");
91 lp_build_mask_update(mask, test);
lp_test_printf.c 76 /* Also test lp_build_assert(). This should not fail. */
94 LLVMValueRef test; local
101 test = add_printf_test(gallivm);
105 test_printf_func = (test_printf_t) gallivm_jit_function(gallivm, test);
  /xsrc/external/mit/MesaLib/dist/src/gallium/tests/unit/
u_half_test.c 10 test(void) function
40 test();
42 /* Test non-f16c. */
45 test();
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/tests/
unit_test.h 34 struct test { struct
40 unsigned run_tests(struct test tests[]);
  /xsrc/external/mit/MesaLib/dist/src/util/tests/vector/
vector_test.cpp 27 static void test(uint32_t size_in_elements, uint32_t elements_to_walk, uint32_t start) function
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);
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/tests/
unit_test.h 34 struct test { struct
40 unsigned run_tests(struct test tests[]);
  /xsrc/external/mit/fontconfig/dist/test/
test-name-parse.c 5 test (const FcChar8 *query, const FcPattern *expect) function
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 ((const FcChar8 *)":weight=[medium bold]", expect)) != 0
    [all...]
  /xsrc/external/mit/xterm/dist/vttests/
xorblink.pl 205 sub test($$) { subroutine
238 # A backspace response makes the current line reprint (to test menus)
255 $h-- unless &test( $DECSET[$h], $DECSET{ $DECSET[$h] } );
258 $l-- unless &test( $DECSCUSR[$l], $DECSCUSR{ $DECSCUSR[$l] } );
  /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/tests/
test-blend.c 26 /* A test consists of a given blend mode and its translated form */
27 struct test { struct
41 static const struct test blend_tests[] = {
281 struct test T = blend_tests[i];
test-clear.c 26 /* A test consists of a render target format, clear colour, dither state, and
29 struct test { struct
43 static const struct test clear_tests[] = {
56 /* Test rounding to nearest even. The values are cherrypicked to multiply
57 * out to a fractional part of 0.5. The first test should round down and
58 * second test should round up. */
156 struct test T = clear_tests[i];
  /xsrc/external/mit/mesa-demos/dist/src/tests/
jkrahntest.c 2 /* This is a good test for glXSwapBuffers on non-current windows,
44 int test; local
62 test = atoi(argv[1]);
88 XStoreName(dpy, win1, "Test [L]");
109 XStoreName(dpy, win1, "Test [R]");
144 if (test == 1 || test == 3 || test == 5)
147 if (test == 5)
150 if (test == 3 || test == 4)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/tests/
delay.c 32 * A test for delay-slot calculation. Each test specifies ir3 assembly
41 #define TEST(n, ...) { # __VA_ARGS__, n }
44 static const struct test { struct
49 TEST(6,
53 TEST(3,
58 TEST(2,
64 TEST(2,
69 TEST(2,
73 TEST(3
156 const struct test *test = &tests[i]; local
    [all...]
disasm.c 25 /* Unit test for disassembly of instructions.
27 * The goal is to take instructions we've seen the blob produce, and test that
50 static const struct test { struct
240 /* Custom test */
352 /* Custom test since we've never seen the blob emit these. */
389 const struct test *test = &tests[i]; local
390 printf("Testing a%d %s: \"%s\"...\n", test->gpu_id, test->instr,
391 test->expected)
    [all...]
  /xsrc/external/mit/xf86-video-intel/dist/test/
basic-lines.c 8 #include "test.h"
85 static void line_tests(struct test *t, enum target target)
138 struct test test; local
141 test_init(&test, argc, argv);
144 line_tests(&test, t);
DrawSegments.c 8 #include "test.h"
82 static void hv0(struct test *t, enum target target)
179 static void general(struct test *t, enum target target)
238 struct test test; local
241 test_init(&test, argc, argv);
244 hv0(&test, t);
245 general(&test, t);
  /xsrc/external/mit/xf86-video-intel-2014/dist/test/
basic-lines.c 8 #include "test.h"
85 static void line_tests(struct test *t, enum target target)
138 struct test test; local
141 test_init(&test, argc, argv);
144 line_tests(&test, t);
  /xsrc/external/mit/MesaLib/dist/bin/
gen_calendar_entries_test.py 42 """Replace the actual CSV data with our test data."""
105 def test(self, is_zero: bool, expected: int) -> None: member in class:TestNextReleaseDate.TestIsWeds
124 def test(self, is_zero: bool, expected: int) -> None: member in class:TestNextReleaseDate.TestBeforeWeds
143 def test(self, is_zero: bool, expected: int) -> None: member in class:TestNextReleaseDate.TestAfterWeds
168 """inject our test data.."""
284 """inject our test data.."""
  /xsrc/external/mit/MesaLib/dist/src/intel/common/tests/
genxml_test.c 97 struct GFX9_STRUCT_TWO_LEVELS test; local
101 test.byte[i][j] = (i * 10 + j) % 256;
106 GFX9_STRUCT_TWO_LEVELS_pack(NULL, dw, &test);
126 assert(number == test.byte[i][j]);

Completed in 31 milliseconds

1 2 3 4 5 6