HomeSort by relevance Sort by last modified time
    Searched refs:FAIL_IF (Results 1 - 25 of 83) sorted by null

1 2 3 4

  /external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
fork_cleanup_test.c 30 FAIL_IF(mfspr(SPRN_BESCR) != 0);
31 FAIL_IF(mfspr(SPRN_EBBHR) != 0);
32 FAIL_IF(mfspr(SPRN_EBBRR) != 0);
34 FAIL_IF(catch_sigill(write_pmc1));
37 FAIL_IF(event_read(&event));
52 FAIL_IF(event_open(&event));
58 FAIL_IF(ebb_event_enable(&event));
70 FAIL_IF(wait_for_child(pid));
cpu_event_pinned_vs_ebb_test.c 33 FAIL_IF(event_open_with_cpu(event, cpu));
34 FAIL_IF(event_enable(event));
49 FAIL_IF(cpu < 0);
50 FAIL_IF(bind_to_cpu(cpu));
52 FAIL_IF(pipe(read_pipe.fds) == -1);
53 FAIL_IF(pipe(write_pipe.fds) == -1);
74 FAIL_IF(sync_with_child(read_pipe, write_pipe));
78 FAIL_IF(wait_for_child(pid) != 2);
80 FAIL_IF(event_disable(&event));
81 FAIL_IF(event_read(&event))
    [all...]
ebb_vs_cpu_event_test.c 31 FAIL_IF(event_open_with_cpu(event, cpu));
32 FAIL_IF(event_enable(event));
47 FAIL_IF(cpu < 0);
48 FAIL_IF(bind_to_cpu(cpu));
50 FAIL_IF(pipe(read_pipe.fds) == -1);
51 FAIL_IF(pipe(write_pipe.fds) == -1);
60 FAIL_IF(sync_with_child(read_pipe, write_pipe));
70 FAIL_IF(sync_with_child(read_pipe, write_pipe));
73 FAIL_IF(wait_for_child(pid));
74 FAIL_IF(event_disable(&event))
    [all...]
close_clears_pmcc_test.c 28 FAIL_IF(event_open(&event));
33 FAIL_IF(ebb_event_enable(&event));
38 FAIL_IF(core_busy_loop());
43 FAIL_IF(ebb_state.stats.ebb_count == 0);
48 FAIL_IF(catch_sigill(write_pmc1));
ebb_on_child_test.c 27 FAIL_IF(wait_for_parent(read_pipe));
28 FAIL_IF(notify_parent(write_pipe));
32 FAIL_IF(wait_for_parent(read_pipe));
33 FAIL_IF(notify_parent(write_pipe));
52 FAIL_IF(pipe(read_pipe.fds) == -1);
53 FAIL_IF(pipe(write_pipe.fds) == -1);
61 FAIL_IF(sync_with_child(read_pipe, write_pipe));
72 FAIL_IF(event_open_with_pid(&event, pid));
73 FAIL_IF(ebb_event_enable(&event));
75 FAIL_IF(sync_with_child(read_pipe, write_pipe))
    [all...]
task_event_pinned_vs_ebb_test.c 32 FAIL_IF(event_open_with_pid(event, child_pid));
33 FAIL_IF(event_enable(event));
47 FAIL_IF(pipe(read_pipe.fds) == -1);
48 FAIL_IF(pipe(write_pipe.fds) == -1);
69 FAIL_IF(sync_with_child(read_pipe, write_pipe));
73 FAIL_IF(wait_for_child(pid) != 2);
74 FAIL_IF(event_disable(&event));
75 FAIL_IF(event_read(&event));
79 FAIL_IF(event.result.value == 0);
84 FAIL_IF(event.result.enabled == 0)
    [all...]
cpu_event_vs_ebb_test.c 31 FAIL_IF(event_open_with_cpu(event, cpu));
32 FAIL_IF(event_enable(event));
47 FAIL_IF(cpu < 0);
48 FAIL_IF(bind_to_cpu(cpu));
50 FAIL_IF(pipe(read_pipe.fds) == -1);
51 FAIL_IF(pipe(write_pipe.fds) == -1);
72 FAIL_IF(sync_with_child(read_pipe, write_pipe));
76 FAIL_IF(wait_for_child(pid));
78 FAIL_IF(event_disable(&event));
79 FAIL_IF(event_read(&event))
    [all...]
ebb_on_willing_child_test.c 25 FAIL_IF(wait_for_parent(read_pipe));
32 FAIL_IF(notify_parent(write_pipe));
35 FAIL_IF(core_busy_loop());
45 FAIL_IF(ebb_state.stats.ebb_count == 0);
59 FAIL_IF(pipe(read_pipe.fds) == -1);
60 FAIL_IF(pipe(write_pipe.fds) == -1);
69 FAIL_IF(sync_with_child(read_pipe, write_pipe));
80 FAIL_IF(event_open_with_pid(&event, pid));
81 FAIL_IF(ebb_event_enable(&event));
84 FAIL_IF(wait_for_child(pid))
    [all...]
cycles_test.c 28 FAIL_IF(event_open(&event));
33 FAIL_IF(ebb_event_enable(&event));
38 FAIL_IF(core_busy_loop());
39 FAIL_IF(ebb_check_mmcr0());
51 FAIL_IF(ebb_state.stats.ebb_count == 0);
52 FAIL_IF(!ebb_check_count(1, sample_period, 100));
event_attributes_test.c 24 FAIL_IF(event_open(&event));
31 FAIL_IF(event_open(&event) == 0);
38 FAIL_IF(event_open(&event) == 0);
45 FAIL_IF(event_open(&event) == 0);
52 FAIL_IF(event_open(&event) == 0);
59 FAIL_IF(event_open(&event) == 0);
66 FAIL_IF(event_open(&event) == 0);
71 FAIL_IF(event_open(&leader));
77 FAIL_IF(event_open_with_group(&event, leader.fd));
84 FAIL_IF(event_open(&leader))
    [all...]
task_event_vs_ebb_test.c 30 FAIL_IF(event_open_with_pid(event, child_pid));
31 FAIL_IF(event_enable(event));
45 FAIL_IF(pipe(read_pipe.fds) == -1);
46 FAIL_IF(pipe(write_pipe.fds) == -1);
67 FAIL_IF(sync_with_child(read_pipe, write_pipe));
71 FAIL_IF(wait_for_child(pid));
72 FAIL_IF(event_disable(&event));
73 FAIL_IF(event_read(&event));
multi_ebb_procs_test.c 46 FAIL_IF(event_open(&event));
52 FAIL_IF(ebb_event_enable(&event));
57 FAIL_IF(core_busy_loop());
58 FAIL_IF(ebb_check_mmcr0());
70 FAIL_IF(ebb_state.stats.ebb_count == 0);
85 FAIL_IF(cpu < 0);
86 FAIL_IF(bind_to_cpu(cpu));
no_handler_test.c 31 FAIL_IF(event_open(&event));
32 FAIL_IF(ebb_event_enable(&event));
35 FAIL_IF(val != 0);
49 FAIL_IF(val != 0x0000000080000080);
reg_access_test.c 26 FAIL_IF(val != expected);
32 FAIL_IF(val != expected);
instruction_count_test.c 122 FAIL_IF(event_open(&event));
123 FAIL_IF(ebb_event_enable(&event));
135 FAIL_IF(do_count_loop(&event, 0x100000, overhead, true));
138 FAIL_IF(do_count_loop(&event, 0xa00000, overhead, true));
141 FAIL_IF(do_count_loop(&event, 0x6400000, overhead, true));
144 FAIL_IF(do_count_loop(&event, 0x40000000, overhead, true));
147 FAIL_IF(do_count_loop(&event, 0x400000000, overhead, true));
150 FAIL_IF(do_count_loop(&event, 0x1000000000, overhead, true));
153 FAIL_IF(do_count_loop(&event, 0x2000000000, overhead, true));
  /external/linux-kselftest/tools/testing/selftests/powerpc/pmu/
l3_bank_test.c 24 FAIL_IF(!p);
28 FAIL_IF(event_open(&event));
36 FAIL_IF(event.result.running == 0);
37 FAIL_IF(event.result.enabled == 0);
  /external/linux-kselftest/tools/testing/selftests/powerpc/context_switch/
cp_abort.c 82 FAIL_IF(sched_setaffinity(0, sizeof(cpuset), &cpuset));
84 FAIL_IF(pipe(fd1) || pipe(fd2));
87 FAIL_IF(pid < 0);
91 FAIL_IF((write(fd1[WRITE_FD], &c, 1)) != 1);
92 FAIL_IF((read(fd2[READ_FD], &c, 1)) != 1);
94 FAIL_IF(paste(buf) & 0x20000000);
98 FAIL_IF((read(fd1[READ_FD], &c, 1)) != 1);
100 FAIL_IF((write(fd2[WRITE_FD], &c, 1) != 1));
  /external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
ptrace-tm-gpr.c 96 FAIL_IF(start_trace(child));
97 FAIL_IF(show_gpr(child, gpr));
98 FAIL_IF(validate_gpr(gpr, GPR_2));
99 FAIL_IF(show_fpr(child, fpr));
100 FAIL_IF(validate_fpr(fpr, FPR_2_REP));
101 FAIL_IF(show_ckpt_fpr(child, fpr));
102 FAIL_IF(validate_fpr(fpr, FPR_1_REP));
103 FAIL_IF(show_ckpt_gpr(child, gpr));
104 FAIL_IF(validate_gpr(gpr, GPR_1));
105 FAIL_IF(write_ckpt_gpr(child, GPR_3))
    [all...]
ptrace-tm-spd-gpr.c 102 FAIL_IF(start_trace(child));
103 FAIL_IF(show_gpr(child, gpr));
104 FAIL_IF(validate_gpr(gpr, GPR_4));
105 FAIL_IF(show_fpr(child, fpr));
106 FAIL_IF(validate_fpr(fpr, FPR_4_REP));
107 FAIL_IF(show_ckpt_fpr(child, fpr));
108 FAIL_IF(validate_fpr(fpr, FPR_1_REP));
109 FAIL_IF(show_ckpt_gpr(child, gpr));
110 FAIL_IF(validate_gpr(gpr, GPR_1));
111 FAIL_IF(write_ckpt_gpr(child, GPR_3))
    [all...]
ptrace-tm-spd-vsx.c 106 FAIL_IF(start_trace(child));
107 FAIL_IF(show_vsx(child, vsx));
108 FAIL_IF(validate_vsx(vsx, fp_load));
109 FAIL_IF(show_vmx(child, vmx));
110 FAIL_IF(validate_vmx(vmx, fp_load));
111 FAIL_IF(show_vsx_ckpt(child, vsx));
112 FAIL_IF(validate_vsx(vsx, fp_load_ckpt));
113 FAIL_IF(show_vmx_ckpt(child, vmx));
114 FAIL_IF(validate_vmx(vmx, fp_load_ckpt));
121 FAIL_IF(write_vsx_ckpt(child, vsx))
    [all...]
ptrace-tm-vsx.c 94 FAIL_IF(start_trace(child));
95 FAIL_IF(show_vsx(child, vsx));
96 FAIL_IF(validate_vsx(vsx, fp_load));
97 FAIL_IF(show_vmx(child, vmx));
98 FAIL_IF(validate_vmx(vmx, fp_load));
99 FAIL_IF(show_vsx_ckpt(child, vsx));
100 FAIL_IF(validate_vsx(vsx, fp_load_ckpt));
101 FAIL_IF(show_vmx_ckpt(child, vmx));
102 FAIL_IF(validate_vmx(vmx, fp_load_ckpt));
108 FAIL_IF(write_vsx_ckpt(child, vsx))
    [all...]
ptrace-gpr.c 64 FAIL_IF(start_trace(child));
65 FAIL_IF(show_gpr(child, gpr));
66 FAIL_IF(validate_gpr(gpr, GPR_1));
67 FAIL_IF(show_fpr(child, fpr));
68 FAIL_IF(validate_fpr(fpr, FPR_1_REP));
69 FAIL_IF(write_gpr(child, GPR_3));
70 FAIL_IF(write_fpr(child, FPR_3_REP));
71 FAIL_IF(stop_trace(child));
ptrace-vsx.c 46 FAIL_IF(start_trace(child));
47 FAIL_IF(show_vsx(child, vsx));
48 FAIL_IF(validate_vsx(vsx, fp_load));
49 FAIL_IF(show_vmx(child, vmx));
50 FAIL_IF(validate_vmx(vmx, fp_load));
56 FAIL_IF(write_vsx(child, vsx));
57 FAIL_IF(write_vmx(child, vmx));
58 FAIL_IF(stop_trace(child));
ptrace-tar.c 59 FAIL_IF(start_trace(child));
60 FAIL_IF(show_tar_registers(child, reg));
64 FAIL_IF(validate_tar_registers(reg, TAR_1, PPR_1, DSCR_1));
65 FAIL_IF(stop_trace(child));
71 FAIL_IF(start_trace(child));
72 FAIL_IF(write_tar_registers(child, TAR_2, PPR_2, DSCR_2));
76 FAIL_IF(stop_trace(child));
  /external/pcre/dist2/src/sljit/
sljitNativeMIPS_64.c 44 FAIL_IF(push_inst(compiler, LUI | TA(dst_ar) | IMM(imm >> 16), dst_ar));
79 FAIL_IF(push_inst(compiler, LUI | TA(dst_ar) | IMM(uimm >> 48), dst_ar));
81 FAIL_IF(push_inst(compiler, ORI | SA(dst_ar) | TA(dst_ar) | IMM(uimm >> 32), dst_ar));
88 FAIL_IF(push_inst(compiler, ins | TA(dst_ar) | DA(dst_ar), dst_ar));
113 FAIL_IF(push_inst(compiler, DSLL | TA(dst_ar) | DA(dst_ar) | SH_IMM(shift - shift2), dst_ar));
114 FAIL_IF(push_inst(compiler, ORI | SA(dst_ar) | TA(dst_ar) | IMM(uimm >> 48), dst_ar));
115 FAIL_IF(push_inst(compiler, DSLL | TA(dst_ar) | DA(dst_ar) | SH_IMM(shift2), dst_ar));
127 FAIL_IF(push_inst(compiler, op_imm | S(src1) | TA(EQUAL_FLAG) | IMM(src2), EQUAL_FLAG)); \
129 FAIL_IF(push_inst(compiler, op_imm | S(src1) | T(dst) | IMM(src2), DR(dst))); \
133 FAIL_IF(push_inst(compiler, op_norm | S(src1) | T(src2) | DA(EQUAL_FLAG), EQUAL_FLAG));
    [all...]

Completed in 328 milliseconds

1 2 3 4