| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | effects_i.c | 247 #define TEST(st, samp, len) \ 257 TEST("0" , 0, 1) 258 TEST("1" , 10000, 1) 260 TEST("0s" , 0, 2) 261 TEST("0s,", 0, 2) 262 TEST("0s/", 0, 2) 263 TEST("0s@", 0, 2) 265 TEST("0t" , 0, 2) 266 TEST("0t,", 0, 2) 267 TEST("0t/", 0, 2) [all …]
|
| /OK3568_Linux_fs/u-boot/post/lib_powerpc/fpu/ |
| H A D | compare-fp-1.c | 23 #define TEST(c) if ((c) != ok) failed++ macro 39 TEST (UNEQ (x, y)); in iuneq() 40 TEST (!LTGT (x, y)); in iuneq() 41 TEST (UNLE (x, y) && UNGE (x,y)); in iuneq() 46 TEST (ORD (x, y) && UNEQ (x, y)); in ieq() 51 TEST (!UNEQ (x, y)); /* Not optimizable. */ in iltgt() 52 TEST (LTGT (x, y)); /* Same, __builtin_islessgreater does not trap. */ in iltgt() 53 TEST (ORD (x, y) && (UNLT (x, y) || UNGT (x,y))); in iltgt() 58 TEST (UNLT (x, y) || UNGT (x, y)); in ine() 63 TEST (UNLT (x, y)); in iunlt() [all …]
|
| /OK3568_Linux_fs/kernel/arch/s390/lib/ |
| H A D | test_unwind.c | 306 #define TEST(flags) \ in test_unwind_init() macro 317 TEST(UWM_DEFAULT); in test_unwind_init() 318 TEST(UWM_SP); in test_unwind_init() 319 TEST(UWM_REGS); in test_unwind_init() 320 TEST(UWM_SWITCH_STACK); in test_unwind_init() 321 TEST(UWM_SP | UWM_REGS); in test_unwind_init() 322 TEST(UWM_CALLER | UWM_SP); in test_unwind_init() 323 TEST(UWM_CALLER | UWM_SP | UWM_REGS); in test_unwind_init() 324 TEST(UWM_CALLER | UWM_SP | UWM_REGS | UWM_SWITCH_STACK); in test_unwind_init() 325 TEST(UWM_THREAD); in test_unwind_init() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/probes/kprobes/ |
| H A D | test-thumb.c | 79 TEST( "movs.n r0, #0x5f") in kprobe_thumb16_test_cases() 80 TEST( "movs.n r7, #0xa0") in kprobe_thumb16_test_cases() 131 TEST( "mov lr, pc") in kprobe_thumb16_test_cases() 198 TEST( "ldr r0, [sp, #0]") in kprobe_thumb16_test_cases() 199 TEST( "ldr r7, [sp, #160]") in kprobe_thumb16_test_cases() 206 TEST("add r0, pc, #4") in kprobe_thumb16_test_cases() 207 TEST("add r7, pc, #1020") in kprobe_thumb16_test_cases() 208 TEST("add r0, sp, #4") in kprobe_thumb16_test_cases() 209 TEST("add r7, sp, #1020") in kprobe_thumb16_test_cases() 218 TEST("add sp, #"__stringify(TEST_MEMORY_SIZE)) /* Assumes TEST_MEMORY_SIZE < 0x400 */ in kprobe_thumb16_test_cases() [all …]
|
| H A D | test-arm.c | 78 TEST( op s " r4, pc" ", #0x00005a00") in kprobe_arm_test_cases() 114 TEST( op s "vs r7, pc, lsl #3") \ in kprobe_arm_test_cases() 115 TEST( op s "vs r7, sp, lsr #4") \ in kprobe_arm_test_cases() 122 TEST( op s "eq r0, #0xf5") \ in kprobe_arm_test_cases() 123 TEST( op s "ne r11, #0xf5000000") \ in kprobe_arm_test_cases() 124 TEST( op s " r7, #0x000af000") \ in kprobe_arm_test_cases() 125 TEST( op s " r4, #0x00005a00") in kprobe_arm_test_cases() 148 TEST("mov ip, sp") /* This has special case emulation code */ in kprobe_arm_test_cases() 176 TEST("add sp, sp, #16") in kprobe_arm_test_cases() 177 TEST("sub sp, sp, #8") in kprobe_arm_test_cases() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/kselftest/ |
| H A D | runner.sh | 45 TEST="$2" 48 BASENAME_TEST=$(basename $TEST) 68 if [ ! -x "$TEST" ]; then 69 echo -n "# Warning: file $TEST is " 70 if [ ! -e "$TEST" ]; then 77 cd `dirname $TEST` > /dev/null 102 for TEST in "$@"; do 103 BASENAME_TEST=$(basename $TEST) 109 run_one "$DIR" "$TEST" "$test_num"
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/cpprest/cpprest/ |
| H A D | disable-outside-tests.patch | 29 - TEST(auth_no_data) { auth_test_impl(false); } 30 + //TEST(auth_no_data) { auth_test_impl(false); } 32 - TEST(unsuccessful_auth_with_basic_cred) { auth_test_impl(true); } 33 + //TEST(unsuccessful_auth_with_basic_cred) { auth_test_impl(true); } 62 TEST(ssl_test) 77 - TEST(self_signed_cert) { handshake_error_test_impl(U("wss://self-signed.badssl.com/")); } 78 + //TEST(self_signed_cert) { handshake_error_test_impl(U("wss://self-signed.badssl.com/")); } 80 - TEST(hostname_mismatch) { handshake_error_test_impl(U("wss://wrong.host.badssl.com/")); } 81 + //TEST(hostname_mismatch) { handshake_error_test_impl(U("wss://wrong.host.badssl.com/")); } 83 - TEST(cert_expired) { handshake_error_test_impl(U("wss://expired.badssl.com/")); } [all …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | atomic64_test.c | 20 #define TEST(bit, op, c_op, val) \ macro 114 TEST(, add, +=, onestwos); in test_atomic() 115 TEST(, add, +=, -one); in test_atomic() 116 TEST(, sub, -=, onestwos); in test_atomic() 117 TEST(, sub, -=, -one); in test_atomic() 118 TEST(, or, |=, v1); in test_atomic() 119 TEST(, and, &=, v1); in test_atomic() 120 TEST(, xor, ^=, v1); in test_atomic() 121 TEST(, andnot, &= ~, v1); in test_atomic() 166 TEST(64, add, +=, onestwos); in test_atomic64() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/x86/ |
| H A D | test_FCMOV.c | 16 #define TEST(insn) \ macro 33 TEST(fcmovb) 34 TEST(fcmove) 35 TEST(fcmovbe) 36 TEST(fcmovu) 37 TEST(fcmovnb) 38 TEST(fcmovne) 39 TEST(fcmovnbe) 40 TEST(fcmovnu)
|
| /OK3568_Linux_fs/kernel/tools/testing/ktest/examples/include/ |
| H A D | tests.conf | 33 TEST_START IF ${TEST} == boot 42 TEST_START IF ${TEST} == build 54 TEST_START ITERATE 10 IF ${TEST} == randconfig 58 TEST = ${RUN_TEST} 63 TEST_START ITERATE 10 IF ${TEST} == randconfig && ${MULTI} 70 TEST_START IF ${TEST} == test 73 TEST = ${RUN_TEST}
|
| H A D | patchcheck.conf | 91 TEST_START IF ${TEST} == patchcheck 94 TEST = ${PATCH_TEST} 101 TEST_START IF ${TEST} == patchcheck && ${MULTI} 104 TEST = ${PATCH_TEST}
|
| H A D | min-config.conf | 47 TEST_START IF ${TEST} == min-config 52 TEST = ${SSH} echo hi 55 TEST_START IF ${TEST} == min-config && ${MULTI}
|
| H A D | bisect.conf | 19 TEST_START IF ${TEST} == bisect 32 TEST = ${RUN_TEST} 82 TEST_START IF ${TEST} == config-bisect
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/ |
| H A D | test_tc_redirect.sh | 129 TEST="TCPv4 connectivity test" 132 echo -e "${TEST}: ${RED}FAIL${NC}" 135 echo -e "${TEST}: ${GREEN}PASS${NC}" 137 TEST="TCPv6 connectivity test" 140 echo -e "${TEST}: ${RED}FAIL${NC}" 143 echo -e "${TEST}: ${GREEN}PASS${NC}" 145 TEST="ICMPv4 connectivity test" 148 echo -e "${TEST}: ${RED}FAIL${NC}" 151 echo -e "${TEST}: ${GREEN}PASS${NC}" 153 TEST="ICMPv6 connectivity test" [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/alignment/ |
| H A D | alignment_handler.c | 93 #define TEST(name, ld_op, st_op, form, ld_reg, st_reg) \ macro 115 #define LOAD_VSX_XFORM_TEST(op) TEST(op, op, stxvd2x, XFORM, 32, 32) 116 #define STORE_VSX_XFORM_TEST(op) TEST(op, lxvd2x, op, XFORM, 32, 32) 117 #define LOAD_VSX_DFORM_TEST(op) TEST(op, op, stxv, DFORM, 32, 32) 118 #define STORE_VSX_DFORM_TEST(op) TEST(op, lxv, op, DFORM, 32, 32) 119 #define LOAD_VMX_XFORM_TEST(op) TEST(op, op, stxvd2x, XFORM, 0, 32) 120 #define STORE_VMX_XFORM_TEST(op) TEST(op, lxvd2x, op, XFORM, 32, 0) 121 #define LOAD_VMX_DFORM_TEST(op) TEST(op, op, stxv, DFORM, 0, 32) 122 #define STORE_VMX_DFORM_TEST(op) TEST(op, lxv, op, DFORM, 32, 0) 124 #define LOAD_XFORM_TEST(op) TEST(op, op, stdx, XFORM, 31, 31) [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/incfs/ |
| H A D | incfs_test.c | 78 #define TEST(statement, condition) \ macro 2019 TEST(filename = concat_file_name(mount_dir, file->name), filename); in validate_hash_tree() 2020 TEST(fd = open(filename, O_RDONLY | O_CLOEXEC), fd != -1); in validate_hash_tree() 2021 TEST(buf = malloc(INCFS_DATA_FILE_BLOCK_SIZE * 8), buf); in validate_hash_tree() 2032 TEST(err = ioctl(fd, FS_IOC_READ_VERITY_METADATA, &args), in validate_hash_tree() 2188 TEST(filename = concat_file_name(mount_dir, file->name), filename); in validate_logs() 2189 TEST(fd = open(filename, O_RDONLY | O_CLOEXEC), fd != -1); in validate_logs() 2277 TEST(backing_dir = create_backing_dir(mount_dir), backing_dir); in read_log_test() 2281 TEST(cmd_fd = open_commands_file(mount_dir), cmd_fd != -1); in read_log_test() 2292 TEST(log_fd = open_log_file(mount_dir), log_fd != -1); in read_log_test() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sk_assign.c | 243 #define TEST(NAME, FAMILY, TYPE, REWRITE) \ macro 259 TEST("ipv4 tcp port redir", AF_INET, SOCK_STREAM, false), in test_sk_assign() 260 TEST("ipv4 tcp addr redir", AF_INET, SOCK_STREAM, true), in test_sk_assign() 261 TEST("ipv6 tcp port redir", AF_INET6, SOCK_STREAM, false), in test_sk_assign() 262 TEST("ipv6 tcp addr redir", AF_INET6, SOCK_STREAM, true), in test_sk_assign() 263 TEST("ipv4 udp port redir", AF_INET, SOCK_DGRAM, false), in test_sk_assign() 264 TEST("ipv4 udp addr redir", AF_INET, SOCK_DGRAM, true), in test_sk_assign() 265 TEST("ipv6 udp port redir", AF_INET6, SOCK_DGRAM, false), in test_sk_assign() 266 TEST("ipv6 udp addr redir", AF_INET6, SOCK_DGRAM, true), in test_sk_assign()
|
| H A D | sockmap_listen.c | 1416 #define TEST(fn, ...) \ macro 1488 TEST(test_insert_invalid), in test_ops() 1489 TEST(test_insert_opened), in test_ops() 1490 TEST(test_insert_bound, SOCK_STREAM), in test_ops() 1491 TEST(test_insert), in test_ops() 1493 TEST(test_delete_after_insert), in test_ops() 1494 TEST(test_delete_after_close), in test_ops() 1496 TEST(test_lookup_after_insert), in test_ops() 1497 TEST(test_lookup_after_delete), in test_ops() 1498 TEST(test_lookup_32_bit_value), in test_ops() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/epoll/ |
| H A D | epoll_wakeup_test.c | 148 TEST(epoll1) in TEST() function 179 TEST(epoll2) in TEST() function 210 TEST(epoll3) in TEST() function 248 TEST(epoll4) in TEST() function 286 TEST(epoll5) in TEST() function 325 TEST(epoll6) in TEST() function 365 TEST(epoll7) in TEST() function 411 TEST(epoll8) in TEST() function 457 TEST(epoll9) in TEST() function 500 TEST(epoll10) in TEST() function [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/arm64/pauth/ |
| H A D | pac.c | 196 TEST(corrupt_pac) in TEST() function 218 TEST(pac_instructions_not_nop) in TEST() function 240 TEST(pac_instructions_not_nop_generic) in TEST() function 252 TEST(single_thread_different_keys) in TEST() function 294 TEST(exec_changed_keys) in TEST() function 327 TEST(context_switch_keep_keys) in TEST() function 350 TEST(context_switch_keep_keys_generic) in TEST() function
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/android/ |
| H A D | Makefile | 16 TEST=$$DIR"_test.sh"; \ 17 if [ -e $$DIR/$$TEST ]; then \ 18 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/sparc64/ |
| H A D | Makefile | 26 TEST=$$DIR"_test.sh"; \ 27 if [ -e $$DIR/$$TEST ]; then \ 28 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/mincore/ |
| H A D | mincore_selftest.c | 31 TEST(basic_interface) in TEST() function 84 TEST(check_anonymous_locked_pages) in TEST() function 140 TEST(check_huge_pages) in TEST() function 188 TEST(check_file_mmap) in TEST() function 293 TEST(check_tmpfs_mmap) in TEST() function
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/seccomp/ |
| H A D | seccomp_bpf.c | 311 TEST(kcmp) in TEST() function 321 TEST(mode_strict_support) in TEST() function 348 TEST(no_new_privs_support) in TEST() function 359 TEST(mode_filter_support) in TEST() function 374 TEST(mode_filter_without_nnp) in TEST() function 403 TEST(filter_size_limits) in TEST() function 440 TEST(filter_chain_limits) in TEST() function 480 TEST(mode_filter_cannot_move_to_strict) in TEST() function 503 TEST(mode_filter_get_seccomp) in TEST() function 528 TEST(ALLOW_all) in TEST() function [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A D | reuseaddr_ports_exhausted.c | 81 TEST(reuseaddr_ports_exhausted_unreusable) in TEST() function 101 TEST(reuseaddr_ports_exhausted_reusable_same_euid) in TEST() function 126 TEST(reuseaddr_ports_exhausted_reusable_different_euid) in TEST() function
|