HomeSort by relevance Sort by last modified time
    Searched full:fail_if (Results 1 - 25 of 91) sorted by null

1 2 3 4

  /external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
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...]
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));
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...]
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_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...]
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));
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));
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...]
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));
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_counter_test.c 40 FAIL_IF(event_open_with_group(&events[i], group_fd));
53 FAIL_IF(ioctl(events[0].fd, PERF_EVENT_IOC_ENABLE, PERF_IOC_FLAG_GROUP));
54 FAIL_IF(event_read(&events[0]));
66 FAIL_IF(core_busy_loop());
67 FAIL_IF(ebb_check_mmcr0());
85 FAIL_IF(ebb_state.stats.ebb_count == 0);
  /external/libnl/tests/
check-attr.c 18 fail_if(nla_attr_size(0) != NLA_HDRLEN,
20 fail_if(nla_attr_size(1) != NLA_HDRLEN + 1,
22 fail_if(nla_attr_size(2) != NLA_HDRLEN + 2,
24 fail_if(nla_attr_size(3) != NLA_HDRLEN + 3,
26 fail_if(nla_attr_size(4) != NLA_HDRLEN + 4,
29 fail_if(nla_total_size(1) != NLA_HDRLEN + 4,
31 fail_if(nla_total_size(2) != NLA_HDRLEN + 4,
33 fail_if(nla_total_size(3) != NLA_HDRLEN + 4,
35 fail_if(nla_total_size(4) != NLA_HDRLEN + 4,
38 fail_if(nla_padlen(1) != 3
    [all...]
check-addr.c 20 fail_if(addr == NULL,
23 fail_if(nl_addr_iszero(addr) == 0,
26 fail_if(nl_addr_get_family(addr) != AF_UNSPEC,
29 fail_if(nl_addr_get_prefixlen(addr) != 0,
32 fail_if(nl_addr_shared(addr),
35 fail_if(nl_addr_get(addr) != addr,
38 fail_if(nl_addr_shared(addr) == 0,
43 fail_if(nl_addr_shared(addr),
46 fail_if(nl_addr_fill_sockaddr(addr, NULL, 0) == 0,
60 fail_if(addr == NULL
    [all...]
util.h 4 fail_if((condition), "nlerr=%d (%s): %s", \
  /external/curl/tests/unit/
unit1397.c 54 fail_if(Curl_cert_hostcheck("xxx.example.com", "www.example.com"), "bad 1");
55 fail_if(Curl_cert_hostcheck("*", "www.example.com"), "bad 2");
56 fail_if(Curl_cert_hostcheck("*.*.com", "www.example.com"), "bad 3");
57 fail_if(Curl_cert_hostcheck("*.example.com", "baa.foo.example.com"), "bad 4");
58 fail_if(Curl_cert_hostcheck("f*.example.com", "baa.example.com"), "bad 5");
59 fail_if(Curl_cert_hostcheck("*.com", "example.com"), "bad 6");
60 fail_if(Curl_cert_hostcheck("*fail.com", "example.com"), "bad 7");
61 fail_if(Curl_cert_hostcheck("*.example.", "www.example."), "bad 8");
62 fail_if(Curl_cert_hostcheck("*.example.", "www.example"), "bad 9");
63 fail_if(Curl_cert_hostcheck("", "www"), "bad 10")
    [all...]
  /external/pcre/dist2/src/sljit/
sljitNativeMIPS_32.c 37 FAIL_IF(push_inst(compiler, LUI | TA(dst_ar) | IMM(imm >> 16), dst_ar));
44 FAIL_IF(push_inst(compiler, op_imm | S(src1) | TA(EQUAL_FLAG) | IMM(src2), EQUAL_FLAG)); \
46 FAIL_IF(push_inst(compiler, op_imm | S(src1) | T(dst) | IMM(src2), DR(dst))); \
50 FAIL_IF(push_inst(compiler, op_norm | S(src1) | T(src2) | DA(EQUAL_FLAG), EQUAL_FLAG)); \
52 FAIL_IF(push_inst(compiler, op_norm | S(src1) | T(src2) | D(dst), DR(dst))); \
58 FAIL_IF(push_inst(compiler, op_imm | T(src1) | DA(EQUAL_FLAG) | SH_IMM(src2), EQUAL_FLAG)); \
60 FAIL_IF(push_inst(compiler, op_imm | T(src1) | D(dst) | SH_IMM(src2), DR(dst))); \
64 FAIL_IF(push_inst(compiler, op_v | S(src2) | T(src1) | DA(EQUAL_FLAG), EQUAL_FLAG)); \
66 FAIL_IF(push_inst(compiler, op_v | S(src2) | T(src1) | D(dst), DR(dst))); \
90 FAIL_IF(push_inst(compiler, SLL | T(src2) | D(dst) | SH_IMM(24), DR(dst)))
    [all...]
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...]
  /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/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...]
  /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));

Completed in 202 milliseconds

1 2 3 4