Home
last modified time | relevance | path

Searched refs:fail_if (Results 1 – 18 of 18) sorted by relevance

/external/libnl/tests/
Dcheck-addr.c22 fail_if(addr == NULL, in START_TEST()
25 fail_if(nl_addr_iszero(addr) == 0, in START_TEST()
28 fail_if(nl_addr_get_family(addr) != AF_UNSPEC, in START_TEST()
31 fail_if(nl_addr_get_prefixlen(addr) != 0, in START_TEST()
34 fail_if(nl_addr_shared(addr), in START_TEST()
37 fail_if(nl_addr_get(addr) != addr, in START_TEST()
40 fail_if(nl_addr_shared(addr) == 0, in START_TEST()
45 fail_if(nl_addr_shared(addr), in START_TEST()
48 fail_if(nl_addr_fill_sockaddr(addr, NULL, 0) == 0, in START_TEST()
62 fail_if(addr == NULL, in START_TEST()
[all …]
Dcheck-attr.c20 fail_if(nla_attr_size(0) != NLA_HDRLEN, in START_TEST()
22 fail_if(nla_attr_size(1) != NLA_HDRLEN + 1, in START_TEST()
24 fail_if(nla_attr_size(2) != NLA_HDRLEN + 2, in START_TEST()
26 fail_if(nla_attr_size(3) != NLA_HDRLEN + 3, in START_TEST()
28 fail_if(nla_attr_size(4) != NLA_HDRLEN + 4, in START_TEST()
31 fail_if(nla_total_size(1) != NLA_HDRLEN + 4, in START_TEST()
33 fail_if(nla_total_size(2) != NLA_HDRLEN + 4, in START_TEST()
35 fail_if(nla_total_size(3) != NLA_HDRLEN + 4, in START_TEST()
37 fail_if(nla_total_size(4) != NLA_HDRLEN + 4, in START_TEST()
40 fail_if(nla_padlen(1) != 3, in START_TEST()
[all …]
Dcheck-ematch-tree-clone.c125 fail_if(!dst); in START_TEST()
126 fail_if(i != j); in START_TEST()
127 fail_if(compare(src_result, dst_result, i)); in START_TEST()
Dutil.h4 fail_if((condition), "nlerr=%d (%s): %s", \
/external/curl/tests/unit/
Dunit1397.c54 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 …]
Dunit1655.c117 fail_if(victim.canary1 == 87,
154 fail_if(olen1 == magic1, "olen has not been assigned properly");
161 fail_if(olen2 == magic1, "olen has not been assigned properly");
168 fail_if(olen2 == magic1, "olen has not been assigned properly");
173 fail_if(ret == DOH_OK, "short buffer should have been noticed");
Dunit1302.c136 fail_if(decoded, "returned pointer should be NULL");
145 fail_if(decoded, "returned pointer should be NULL");
154 fail_if(decoded, "returned pointer should be NULL");
163 fail_if(decoded, "returned pointer should be NULL");
Dunit1395.c92 fail_if(fails, "output mismatched");
Dunit1650.c272 fail_if(d.numaddr != 1, "missing address");
281 fail_if(d.numcname, "bad cname counter");
Dcurlcheck.h25 #define fail_if(expr, msg) \ macro
DREADME.md62 fail_if( head == NULL , "head should not be initiated to NULL" );
/external/mesa3d/src/intel/tools/
Dintel_dump_gpu.c95 #define fail_if(cond, ...) _fail_if(cond, "intel_dump_gpu", __VA_ARGS__) macro
102 fail_if(handle >= MAX_BO_COUNT, "bo handle too large\n"); in get_bo()
103 fail_if(fd >= MAX_FD_COUNT, "bo fd too large\n"); in get_bo()
124 fail_if(!gen_get_device_info_from_fd(fd, &devinfo), in ensure_device_info()
128 fail_if(!gen_get_device_info_from_pci_id(device, &devinfo), in ensure_device_info()
145 fail_if(relocated == NULL, "out of memory\n"); in relocate_bo()
148 fail_if(relocs[i].offset >= bo->size, "reloc outside bo\n"); in relocate_bo()
264 fail_if(bo->map == MAP_FAILED, "bo mmap failed\n"); in dump_execbuffer2()
379 fail_if(handle >= MAX_BO_COUNT, "bo handle out of range\n"); in add_new_bo()
380 fail_if(fd >= MAX_FD_COUNT, "bo fd out of range\n"); in add_new_bo()
[all …]
Derror2aub.c41 #define fail_if(cond, ...) _fail_if(cond, NULL, __VA_ARGS__) macro
43 #define fail(...) fail_if(true, __VA_ARGS__)
271 fail_if(!err_file, "Failed to open error file \"%s\": %m\n", in_filename); in main()
274 fail_if(!aub_file, "Failed to open aub file \"%s\": %m\n", in_filename); in main()
306 fail_if(!matched, "Invalid error state file!\n"); in main()
343 fail_if(!count || sscanf(count, "[%d]:", &num_ring_bos) < 1, in main()
376 fail_if(count == 0, "ASCII85 decode failed.\n"); in main()
443 fail_if(!batch_bo, "Failed to find batch buffer.\n"); in main()
528 fail_if(!hwsp_bo, "Failed to find Context buffer.\n"); in main()
Daub_write.c59 #define fail_if(cond, ...) _fail_if(cond, NULL, __VA_ARGS__) macro
87 fail_if(fwrite(data, 1, size, aub->file) == 0, in data_out()
162 fail_if(!gen_get_device_info_from_pci_id(pci_id, &aub->devinfo), in aub_file_init()
/external/igt-gpu-tools/tools/
Daubdump.c288 fail_if(int cond, const char *format, ...) in fail_if() function
307 fail_if(handle >= MAX_BO_COUNT, "bo handle too large\n"); in get_bo()
332 fail_if(fwrite(&data, 1, 4, files[i]) == 0, in dword_out()
347 fail_if(fwrite(data, 1, size, files[i]) == 0, in data_out()
841 fail_if(relocated == NULL, "intel_aubdump: out of memory\n"); in relocate_bo()
844 fail_if(relocs[i].offset >= bo->size, "intel_aubdump: reloc outside bo\n"); in relocate_bo()
915 fail_if(device == 0 || gen == -1, "failed to identify chipset\n"); in dump_execbuffer2()
977 fail_if(bo->map == MAP_FAILED, "intel_aubdump: bo mmap failed\n"); in dump_execbuffer2()
1043 fail_if(handle >= MAX_BO_COUNT, "intel_aubdump: bo handle out of range\n"); in add_new_bo()
1044 fail_if(size == 0, "intel_aubdump: bo size is invalid\n"); in add_new_bo()
[all …]
/external/igt-gpu-tools/benchmarks/
Dgem_exec_tracer.c125 fail_if(int cond, const char *format, ...) in fail_if() function
150 fail_if(execbuffer2->flags & (LOCAL_I915_EXEC_FENCE_IN | LOCAL_I915_EXEC_FENCE_OUT), in trace_exec()
388 fail_if(size == -1, "failed to get prime bo size\n"); in ioctl()
417 fail_if(libc_close == NULL || libc_ioctl == NULL, in init()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_blitter.c156 #define fail_if(cond) \ macro
194 fail_if(info->dst.box.depth != info->src.box.depth); in can_do_blit()
197 fail_if(!ok_format(info->src.format)); in can_do_blit()
198 fail_if(!ok_format(info->dst.format)); in can_do_blit()
203 fail_if(!ok_dims(info->src.resource, &info->src.box, info->src.level)); in can_do_blit()
205 fail_if(!ok_dims(info->dst.resource, &info->dst.box, info->dst.level)); in can_do_blit()
211 fail_if(info->dst.resource->nr_samples > 1); in can_do_blit()
213 fail_if(info->window_rectangle_include); in can_do_blit()
223 fail_if(memcmp(&src_desc->channel[i], in can_do_blit()
229 fail_if(info->alpha_blend); in can_do_blit()
/external/mesa3d/docs/relnotes/
D20.3.0.rst3302 - intel/tools: add missing new lines to few remaining fail_if users