| /xsrc/external/mit/xedit/dist/lisp/test/ |
| H A D | 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 39 (setq *default-float-format* 'double-float) 43 (defun test (expect function &rest arguments &aux result (error t)) function 49 (format t "ERROR: (~A~{ ~A~})~%" function arguments) 60 (format t "(~A~{ ~A~}) => should be ~A not ~A~%" 64 #+xedit (format t "(~A~{ ~A~}) => should be ~A not ~A~%" 71 (defun div-test (quotient remainder function &rest arguments 78 (format [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/test/ |
| H A D | render-copyarea-size.c | 7 #include "test.h" 14 XRenderPictFormat *format; member in struct:draw 21 tt->format = XRenderFindStandardFormat(t->dpy, PictStandardARGB32); 24 size, size, tt->format->depth); 25 tt->pa = XRenderCreatePicture(t->dpy, tt->a, tt->format, 0, NULL); 34 size, size, tt->format->depth); 35 tt->pb = XRenderCreatePicture(t->dpy, tt->b, tt->format, 0, NULL); 55 struct test test; local in function:main 59 test_init(&test, arg [all...] |
| H A D | basic-copyarea-size.c | 7 #include "test.h" 13 XRenderPictFormat *format; member in struct:draw 28 tt->format = XRenderFindStandardFormat(t->dpy, PictStandardARGB32); 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 [all...] |
| H A D | basic-stress.c | 8 #include "test.h" 76 test_init_image(&image, &tt->dpy->shm, tt->format, w, h); 107 static void rect_tests(struct test *test, int iterations, enum target target) argument 121 test_target_create_render(&test->out, target, &out); 122 test_target_create_render(&test->ref, target, &ref); 130 test_compare(test, 131 out.draw, out.format, 132 ref.draw, ref.format, 138 test_target_destroy_render(&test 144 struct test test; local in function:main [all...] |
| H A D | basic-rectangle.c | 7 #include "test.h" 31 static void zrect_tests(struct test *t, int reps, int sets, enum target target) 60 out.draw, out.format, 61 ref.draw, ref.format, 72 static void hrect_tests(struct test *t, int reps, int sets, enum target target) 102 out.draw, out.format, 103 ref.draw, ref.format, 114 static void vrect_tests(struct test *t, int reps, int sets, enum target target) 144 out.draw, out.format, 145 ref.draw, ref.format, 201 struct test test; local in function:main [all...] |
| H A D | mixed-stress.c | 8 #include "test.h" 19 10+w, 20+h, tt->format->depth); 20 src = XRenderCreatePicture(tt->dpy->dpy, tmp, tt->format, 0, NULL); 128 test_init_image(&image, &tt->dpy->shm, tt->format, w, h); 159 static void rect_tests(struct test *test, int iterations, enum target target) argument 174 test_target_create_render(&test->out, target, &out); 175 test_target_create_render(&test->ref, target, &ref); 183 test_compare(test, 184 out.draw, out.format, 197 struct test test; local in function:main [all...] |
| H A D | render-copyarea-mask.c | 7 #include "test.h" 11 XRenderPictFormat *format, 29 0, format->depth, 37 w, h, format->depth); 50 src = XRenderCreatePicture(t->dpy, tmp, format, 0, NULL); 76 static void rect_tests(struct test *t, int reps, int sets, enum target target, int use_window) 118 fill_rect(&t->out, out.picture, out.format, 123 fill_rect(&t->ref, ref.picture, ref.format, 132 out.draw, out.format, 133 ref.draw, ref.format, 9 fill_rect(struct test_display * t,Picture p,XRenderPictFormat * format,int use_window,int tx,int ty,uint8_t op,int x,int y,int w,int h,int mask_x,int mask_y,int mask_w,int mask_h,uint8_t red,uint8_t green,uint8_t blue,uint8_t alpha) argument 146 struct test test; local in function:main [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/test/ |
| H A D | render-copyarea-size.c | 7 #include "test.h" 14 XRenderPictFormat *format; member in struct:draw 21 tt->format = XRenderFindStandardFormat(t->dpy, PictStandardARGB32); 24 size, size, tt->format->depth); 25 tt->pa = XRenderCreatePicture(t->dpy, tt->a, tt->format, 0, NULL); 34 size, size, tt->format->depth); 35 tt->pb = XRenderCreatePicture(t->dpy, tt->b, tt->format, 0, NULL); 55 struct test test; local in function:main 59 test_init(&test, arg [all...] |
| H A D | basic-copyarea-size.c | 7 #include "test.h" 13 XRenderPictFormat *format; member in struct:draw 28 tt->format = XRenderFindStandardFormat(t->dpy, PictStandardARGB32); 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 [all...] |
| H A D | basic-stress.c | 8 #include "test.h" 76 test_init_image(&image, &tt->dpy->shm, tt->format, w, h); 107 static void rect_tests(struct test *test, int iterations, enum target target) argument 121 test_target_create_render(&test->out, target, &out); 122 test_target_create_render(&test->ref, target, &ref); 130 test_compare(test, 131 out.draw, out.format, 132 ref.draw, ref.format, 138 test_target_destroy_render(&test 144 struct test test; local in function:main [all...] |
| H A D | test.h | 28 struct test { struct 36 XRenderPictFormat *format; member in struct:test::test_display 45 void test_init(struct test *test, int argc, char **argv); 47 void test_compare(struct test *out, 72 XRenderPictFormat *format, 81 XRenderPictFormat *format; member in struct:test_target
|
| H A D | basic-rectangle.c | 7 #include "test.h" 31 static void zrect_tests(struct test *t, int reps, int sets, enum target target) 60 out.draw, out.format, 61 ref.draw, ref.format, 72 static void hrect_tests(struct test *t, int reps, int sets, enum target target) 102 out.draw, out.format, 103 ref.draw, ref.format, 114 static void vrect_tests(struct test *t, int reps, int sets, enum target target) 144 out.draw, out.format, 145 ref.draw, ref.format, 201 struct test test; local in function:main [all...] |
| H A D | mixed-stress.c | 8 #include "test.h" 19 10+w, 20+h, tt->format->depth); 20 src = XRenderCreatePicture(tt->dpy->dpy, tmp, tt->format, 0, NULL); 128 test_init_image(&image, &tt->dpy->shm, tt->format, w, h); 159 static void rect_tests(struct test *test, int iterations, enum target target) argument 174 test_target_create_render(&test->out, target, &out); 175 test_target_create_render(&test->ref, target, &ref); 183 test_compare(test, 184 out.draw, out.format, 197 struct test test; local in function:main [all...] |
| H A D | render-copyarea-mask.c | 7 #include "test.h" 11 XRenderPictFormat *format, 29 0, format->depth, 37 w, h, format->depth); 50 src = XRenderCreatePicture(t->dpy, tmp, format, 0, NULL); 76 static void rect_tests(struct test *t, int reps, int sets, enum target target, int use_window) 118 fill_rect(&t->out, out.picture, out.format, 123 fill_rect(&t->ref, ref.picture, ref.format, 132 out.draw, out.format, 133 ref.draw, ref.format, 9 fill_rect(struct test_display * t,Picture p,XRenderPictFormat * format,int use_window,int tx,int ty,uint8_t op,int x,int y,int w,int h,int mask_x,int mask_y,int mask_w,int mask_h,uint8_t red,uint8_t green,uint8_t blue,uint8_t alpha) argument 146 struct test test; local in function:main [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_test_format.c | 54 "format\n"); 165 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 266 const struct util_format_test_case *test = &util_format_test_cases[l]; local in function:test_format_unorm8 361 enum pipe_format format; local in function:test_all [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_test_format.c | 36 #include "util/format/u_format.h" 37 #include "util/format/u_format_tests.h" 38 #include "util/format/u_format_s3tc.h" 54 "format\n"); 165 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 266 const struct util_format_test_case *test = &util_format_test_cases[l]; local in function:test_format_unorm8 361 enum pipe_format format; local in function:test_all [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/tests/format/ |
| H A D | u_format_test.c | 35 #include "util/format/u_format.h" 36 #include "util/format/u_format_tests.h" 37 #include "util/format/u_format_s3tc.h" 206 const struct util_format_test_case *test) 209 util_format_fetch_rgba_func(format_desc->format); 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) 248 util_format_unpack_rgba_rect(format_desc->format, 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 784 enum pipe_format format; local in function:test_all [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/unit/ |
| H A D | u_format_test.c | 205 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 762 enum pipe_format format; local in function:test_all [all...] |
| /xsrc/external/mit/libXfont2/dist/ |
| H A D | configure.ac | 59 AS_IF([test "x$TRY_LIBBSD" = "xyes"], 90 AM_CONDITIONAL(XFONT_FREETYPE, [test x$XFONT_FREETYPE = xyes]) 91 if test x$XFONT_FREETYPE = xyes; then 98 if test "$freetype_config" = "auto" ; then 103 if test "$freetype_config" = "yes"; then 105 if test "$ft_config" = "no"; then 112 if test "$freetype_config" != "no"; then 129 # Builtins (gzipped pcf format in .text segment) 139 if test "x$Z_REQUIRES" = "x"; then 149 if test " [all...] |
| /xsrc/external/mit/libXfont/dist/ |
| H A D | configure.ac | 74 AM_CONDITIONAL(XFONT_FREETYPE, [test x$XFONT_FREETYPE = xyes]) 75 if test x$XFONT_FREETYPE = xyes; then 82 if test "$freetype_config" = "auto" ; then 87 if test "$freetype_config" = "yes"; then 89 if test "$ft_config" = "no"; then 96 if test "$freetype_config" != "no"; then 113 # Builtins (gzipped pcf format in .text segment) 128 if test "x$with_bzip2" = xyes; then 133 AM_CONDITIONAL(X_BZIP2_FONT_COMPRESSION, [test "x$with_bzip2" = xyes ]) 140 AM_CONDITIONAL(XFONT_BUILTINS, [test " [all...] |
| /xsrc/external/mit/MesaLib/dist/.gitlab-ci/lava/ |
| H A D | lava_job_submitter.py | 56 print("{}: {}".format(datetime.now(), msg)) 65 'job_name': 'mesa: {}'.format(args.pipeline_info), 70 'extra_nfsroot_args': ' init=/init rootwait minio_results={}'.format(args.job_artifacts_base) 89 'url': '{}/{}'.format(args.base_system_url_prefix, args.kernel_image_name), 92 'url': '{}/lava-rootfs.tgz'.format(args.base_system_url_prefix), 100 'url': '{}/{}.dtb'.format(args.base_system_url_prefix, args.dtb) 111 # skeleton test definition: only declaring each job as a single 'test' 112 # since LAVA's test parsing is not useful to us 113 test [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/ |
| H A D | lower_precision_test.py | 2292 def run_test(standalone_compiler, test): 2293 ir = compile_shader(standalone_compiler, test.source) 2295 if re.search(test.match_re, ir) is None: 2306 for test in TESTS: 2307 print('Testing {} ... '.format(test.name), end='') 2309 result = run_test(standalone_compiler, test) 2317 print('{}/{} tests returned correct results'.format(passed, len(TESTS)))
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/ |
| H A D | gen_disasm.py | 130 def find_context_keys(desc, test): 133 if len(test) > 0: 134 keys |= find_context_keys_expr(test) 161 return "'{}'".format(expr[1:]) 165 return "ctx[{}]".format(keys.index(expr)) 226 def build_lut(mnemonic, desc, test): 238 key_set = find_context_keys(desc, test) 244 testf = compile_derived(test, keys) 257 output += "bool ordering = (_BITS(bits, {}, 3) > _BITS(bits, {}, 3));\n".format(desc["srcs"][0][0], desc["srcs"][1][0]) 268 idx_parts.append("(_BITS(bits, {}, {}) << {})".format(po [all...] |
| /xsrc/external/mit/pixman/dist/test/ |
| H A D | lowlevel-blt-bench.c | 188 * otherwise if they are evicted during the test, they remain 818 pixman_format_code_t format; local in function:parse_format 825 format = format_from_string (buf); 827 if (format != PIXMAN_null) 830 return format; 834 parse_test_pattern (test_entry_t *test, const char *pattern) argument 839 pixman_format_code_t format[3]; local in function:parse_test_pattern 850 *test = special_patterns[i]; 855 test->testname = pattern; 860 test 944 test_entry_t test; local in function:parser_self_test 983 print_test_details(const test_entry_t * test) argument 999 test_entry_t test; local in function:run_one_test [all...] |
| /xsrc/external/mit/x11perf/dist/ |
| H A D | x11perf.c | 170 static const char *NameFromFormat (int format); 502 " -draw draw after each test -- pmax only\n" 506 " -labels generate test labels for use by fillblnk\n" 509 " -clips <default> default number of clip windows per test\n" 526 " -help [options|tests|all] list general options, test options, or both\n" 535 while (test[i].option != NULL) { 536 if (test[i].versions & xparms.version ) { 538 test[i].option, 539 test[i].label14 ? test[ 650 DoTest(XParms xp,Test * test,int64_t reps) argument 675 CalibrateTest(XParms xp,Test * test,int seconds,double * usecperobj) argument 831 DisplayStatus(Display * d,const char * message,const char * test,int try) argument 844 ProcessTest(XParms xp,Test * test,int func,unsigned long pm,char * label) argument 919 int pop, format; local in function:main 1599 NameFromFormat(int format) argument 1616 int format; local in function:GetFormats [all...] |