Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 31) sorted by relevance

12

/system/core/libpixelflinger/tests/gglmul/
Dgglmul_test.cpp59 gglClampx_test_t *test = &gglClampx_tests[i]; in gglClampx_test() local
61 test->input, test->output); in gglClampx_test()
62 if(gglClampx(test->input) == test->output) in gglClampx_test()
90 gglClz_test_t *test = &gglClz_tests[i]; in gglClz_test() local
91 printf("Test input=0x%08x output=%2d :", test->input, test->output); in gglClz_test()
92 if(gglClz(test->input) == test->output) in gglClz_test()
128 gglMulx_test_t *test = &gglMulx_tests[i]; in gglMulx_test() local
130 test->x, test->y, test->shift); in gglMulx_test()
131 actual = gglMulx(test->x, test->y, test->shift); in gglMulx_test()
133 ((int64_t)test->x * test->y + (1 << (test->shift-1))) >> test->shift; in gglMulx_test()
[all …]
/system/core/libpixelflinger/tests/arch-arm64/assembler/
Darm64_assembler_test.cpp414 void dataOpTest(dataOpTest_t test, ARMAssemblerInterface *a64asm, uint32_t Rd = 0, in dataOpTest() argument
428 regs[Rd] = test.RdValue; in dataOpTest()
429 regs[Rn] = test.RnValue; in dataOpTest()
430 regs[Rs] = test.RsValue; in dataOpTest()
431 flags[test.preFlag] = 1; in dataOpTest()
434 if(test.immediate == true) in dataOpTest()
436 op2 = a64asm->imm(test.immValue); in dataOpTest()
438 else if(test.immediate == false && test.shiftAmount == 0) in dataOpTest()
441 regs[Rm] = test.RmValue; in dataOpTest()
445 op2 = a64asm->reg_imm(Rm, test.shiftMode, test.shiftAmount); in dataOpTest()
[all …]
/system/core/libpixelflinger/tests/arch-arm64/col32cb16blend/
Dcol32cb16blend_test.c91 struct test_t test = tests[i]; in scanline_col32cb16blend_test() local
93 printf("Testing - %s:",test.name); in scanline_col32cb16blend_test()
98 for(j = 0; j < test.count; ++j) in scanline_col32cb16blend_test()
100 dst_c[j] = test.dst_color; in scanline_col32cb16blend_test()
101 dst_asm[j] = test.dst_color; in scanline_col32cb16blend_test()
105 scanline_col32cb16blend_c(dst_c, test.src_color, test.count); in scanline_col32cb16blend_test()
106 scanline_col32cb16blend_arm64(dst_asm, test.src_color, test.count); in scanline_col32cb16blend_test()
114 for(j = 0; j < test.count; ++j) in scanline_col32cb16blend_test()
/system/core/libpixelflinger/tests/arch-arm64/disassembler/
Darm64_diassembler_test.cpp299 test_table_entry_t *test; in main() local
300 test = &test_table[i]; in main()
301 arm64_disassemble(test->code, instr); in main()
302 if(strcmp(instr, test->instr) != 0) in main()
307 "Actual : %s\n", test->code, test->instr, instr); in main()
/system/core/libpixelflinger/tests/arch-arm64/t32cb16blend/
Dt32cb16blend_test.c100 struct test_t test = tests[i]; in scanline_t32cb16blend_test() local
102 printf("Testing - %s:",test.name); in scanline_t32cb16blend_test()
107 for(j = 0; j < test.count; ++j) in scanline_t32cb16blend_test()
109 dst_c[j] = test.dst_color; in scanline_t32cb16blend_test()
110 dst_asm[j] = test.dst_color; in scanline_t32cb16blend_test()
111 src[j] = test.src_color; in scanline_t32cb16blend_test()
114 scanline_t32cb16blend_c(dst_c,src,test.count); in scanline_t32cb16blend_test()
115 scanline_t32cb16blend_arm64(dst_asm,src,test.count); in scanline_t32cb16blend_test()
123 for(j = 0; j < test.count; ++j) in scanline_t32cb16blend_test()
/system/core/include/ctest/
Dctest.h31 #define addTest(test) addNamedTest(#test, &test) argument
63 void addNamedTest(const char* name, void (*test)(void));
/system/extras/tests/sdcard/
DREADME35 Run a simple test:
37 adb shell sdcard_perf_test --test=write --size=1000 --chunk-size=100 --procnb=1 --iterations=100
39 This test will write 1000kbyte (1M) files using writes of 100kbytes (so 10 writes per file) using
41 The test will not call sync to flush the writes.
42 At the end of the test, some stats for the 'open' and 'write' system calls are written.
46 …adb shell sdcard_perf_test --test=write --size=1000 --chunk-size=100 --procnb=1 --iterations=100 -…
/system/extras/tests/bionic/libc/common/
Dtest_pthread_cleanup_push.c86 static int test( int do_exit ) in test() function
130 test(0); in main()
131 test(1); in main()
/system/extras/tests/bionic/libstdc++/
DREADME.TXT4 test programs. For example, do:
13 All test programs should exit with a status code of 0 in case of success, and 1
16 The directory layout is currently flat because there is one Bionic test. If you
/system/core/libdiskconfig/
Ddiskutils.c34 write_raw_image(const char *dst, const char *src, loff_t offset, int test) in write_raw_image() argument
50 if (!test) { in write_raw_image()
80 if (test) in write_raw_image()
Dwrite_lst.c70 wlist_commit(int fd, struct write_list *lst, int test) in wlist_commit() argument
78 if (!test) { in wlist_commit()
Ddiskconfig.c435 apply_disk_config(struct disk_info *dinfo, int test) in apply_disk_config() argument
446 if ((rv = wlist_commit(fd, wr_lst, test)) >= 0) in apply_disk_config()
447 rv = test ? 0 : sync_ptable(fd); in apply_disk_config()
/system/core/libion/
Dion_test.c38 int test = -1; variable
260 test = ALLOC_TEST; in main()
263 test = MAP_TEST; in main()
266 test = SHARE_TEST; in main()
271 " alloc_flags %d\n", test, len, align, map_flags, prot, in main()
273 switch (test) { in main()
/system/core/include/diskconfig/
Ddiskconfig.h111 int wlist_commit(int fd, struct write_list *lst, int test);
115 int apply_disk_config(struct disk_info *dinfo, int test);
120 int write_raw_image(const char *dst, const char *src, loff_t offset, int test);
/system/extras/tests/bionic/libc/
DREADME.TXT8 test programs. For example, do:
13 All test programs, except those in the 'other' directory, should exit
30 Other unrelated tests. These are not run by the test runner
/system/core/fastboot/
Dusbtest.c130 int (*test)(usb_handle *usb); member
194 if(tests[i].test) { in main()
200 if(tests[i].test(usb)) { in main()
/system/core/init/
Dinit_parser.c524 const char *test = act->name + strlen("property:"); in queue_property_triggers() local
527 if (!strncmp(name, test, name_length) && in queue_property_triggers()
528 test[name_length] == '=' && in queue_property_triggers()
529 (!strcmp(test + name_length + 1, value) || in queue_property_triggers()
530 !strcmp(test + name_length + 1, "*"))) { in queue_property_triggers()
/system/core/libcutils/arch-x86_64/
Dandroid_memset32_SSE2-atom.S134 test $3, %edi
141 test $3, %edi
145 test $3, %edi
/system/keymaster/
Dgoogle_keymaster_test_utils.h41 namespace test {
Dkey_blob_test.cpp40 namespace test { namespace
Dgoogle_keymaster_messages_test.cpp34 namespace test { namespace
/system/security/keystore/
Dkeystore_cli.cpp186 NO_ARG_INT_RETURN(test); in main()
/system/core/libcutils/arch-x86/
Dsse2-memset32-atom.S211 test $3, %edx
218 test $3, %edx
222 test $3, %edx
/system/security/keystore/include/keystore/
DIKeystoreService.h75 virtual int32_t test() = 0;
/system/extras/tests/fstest/
DREADME55 Once the test is installed, it can be executed via:

12