Home
last modified time | relevance | path

Searched refs:fail_if (Results 1 - 24 of 24) sorted by relevance

/third_party/curl/tests/unit/
H A Dunit2602.c50 fail_if(Curl_dynhds_count(&hds), "should be empty");
51 fail_if(Curl_dynhds_add(&hds, "test1", 5, "123", 3), "add failed");
52 fail_if(Curl_dynhds_add(&hds, "test2", 5, "456", 3), "add failed");
56 fail_if(TRUE, "should");
60 fail_if(TRUE, "add failed");
68 fail_if(TRUE, "add failed");
79 fail_if(Curl_dynhds_get(&hds, "test1", 4), "false positive");
91 fail_if(Curl_dynhds_add(&hds, "test1", 5, "123", 3), "add failed");
93 fail_if(Curl_dynhds_add(&hds, "t", 1, "1", 1), "add failed");
98 fail_if(Curl_dynhds_ad
[all...]
H A Dunit1654.c51 fail_if(result, "Curl_altsvc_load");
57 fail_if(!curl, "curl_easy_init");
65 fail_if(result, "Curl_altsvc_parse() failed!");
70 fail_if(result, "Curl_altsvc_parse(2) failed!");
76 fail_if(result, "Curl_altsvc_parse(3) failed!");
83 fail_if(result, "Curl_altsvc_parse(4) failed!");
90 fail_if(result, "Curl_altsvc_parse(4) failed!");
97 fail_if(result, "Curl_altsvc_parse(5) failed!");
103 fail_if(result, "Curl_altsvc_parse(6) failed!");
H A Dunit1655.c119 fail_if(victim.canary1 == 87,
156 fail_if(olen1 == magic1, "olen has not been assigned properly");
163 fail_if(olen2 == magic1, "olen has not been assigned properly");
170 fail_if(olen2 == magic1, "olen has not been assigned properly");
175 fail_if(ret == DOH_OK, "short buffer should have been noticed");
H A Dunit1302.c152 fail_if(decoded, "returned pointer should be NULL");
161 fail_if(decoded, "returned pointer should be NULL");
170 fail_if(decoded, "returned pointer should be NULL");
179 fail_if(decoded, "returned pointer should be NULL");
188 fail_if(decoded, "returned pointer should be NULL");
H A Dunit2601.c139 fail_if(TRUE, "write: bufq full but nwritten wrong"); in check_bufq()
158 fail_if(TRUE, "read: bufq empty but nread wrong"); in check_bufq()
162 fail_if(TRUE, "read empty, but tail is not NULL"); in check_bufq()
194 fail_if(TRUE, "write: bufq full but nwritten wrong"); in check_bufq()
H A Dunit2603.c99 fail_if(!p.done, "end not detected"); in parse_success()
100 fail_if(!p.req, "not request created"); in parse_success()
H A Dunit1621.c75 fail_if(stripped && strcmp(tests[i].output, stripped),
H A Dunit1650.c277 fail_if(d.numaddr != 1, "missing address");
286 fail_if(d.numcname, "bad cname counter");
H A Dcurlcheck.h27 #define fail_if(expr, msg) \ macro
H A Dunit1395.c105 fail_if(fails, "output mismatched");
H A Dunit1614.c161 fail_if(err, "errors");
/third_party/mesa3d/src/intel/tools/
H A 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(!intel_get_device_info_from_fd(fd, &devinfo), in ensure_device_info()
128 fail_if(!intel_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()
266 fail_if(bo->map == MAP_FAILED, "bo mmap failed\n"); in dump_execbuffer2()
381 fail_if(handle >= MAX_BO_COUNT, "bo handle out of range\n"); in add_new_bo()
382 fail_if(f in add_new_bo()
[all...]
H A 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()
H A 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(!intel_get_device_info_from_pci_id(pci_id, &aub->devinfo), in aub_file_init()
/third_party/pulseaudio/src/tests/
H A Dmainloop-test.c96 fail_if(!glib_main_loop); in START_TEST()
99 fail_if(!g); in START_TEST()
102 fail_if(!a); in START_TEST()
107 fail_if(!m); in START_TEST()
110 fail_if(!a); in START_TEST()
114 fail_if(!me.ioe); in START_TEST()
117 fail_if(!me.de); in START_TEST()
H A Dusergroup-test.c126 fail_if(load_reference_structs(&reference_group, &reference_passwd)); in START_TEST()
130 fail_if(compare_group(reference_group, gr)); in START_TEST()
135 fail_if(compare_group(reference_group, gr)); in START_TEST()
140 fail_if(compare_passwd(reference_passwd, pw)); in START_TEST()
145 fail_if(compare_passwd(reference_passwd, pw)); in START_TEST()
H A Dlo-latency-test.c100 fail_if(fd < 0); in read_cb()
/third_party/lwip/test/unit/mdns/
H A Dtest_mdns.c48 fail_if(p == NULL); in START_TEST()
54 fail_if(memcmp(&domain.name, data, sizeof(data))); in START_TEST()
67 fail_if(p == NULL); in START_TEST()
73 fail_if(memcmp(&domain.name, data, sizeof(data))); in START_TEST()
86 fail_if(p == NULL); in START_TEST()
111 fail_if(p == NULL); in START_TEST()
167 fail_if(p == NULL); in START_TEST()
192 fail_if(p == NULL); in START_TEST()
199 fail_if(memcmp(&domain.name, fullname, sizeof(fullname))); in START_TEST()
221 fail_if( in START_TEST()
[all...]
/third_party/lwip/test/unit/dhcp/
H A Dtest_dhcp.c204 fail_if((pos + len) > p->tot_len); in check_pkt()
209 fail_if(p == NULL); in check_pkt()
213 fail_if(memcmp(&data[pos], mem, len), "data at pos %d, len %d in packet %d did not match", pos, len, txpacket); in check_pkt()
222 fail_if((startpos + len) > p->tot_len); in check_pkt_fuzzy()
227 fail_if(p == NULL); in check_pkt_fuzzy()
462 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST()
463 fail_if(memcmp(&netmask, &net_test.netmask, sizeof(ip4_addr_t))); in START_TEST()
464 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST()
493 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST()
494 fail_if(memcm in START_TEST()
[all...]
/third_party/lwip/test/unit/core/
H A Dtest_pbuf.c164 fail_if(memcmp(testbuf_1, testbuf_1a, TESTBUFSIZE_1)); in START_TEST()
165 fail_if(memcmp(testbuf_2, testbuf_2a, TESTBUFSIZE_2)); in START_TEST()
166 fail_if(memcmp(testbuf_3, testbuf_3a, TESTBUFSIZE_3)); in START_TEST()
188 fail_if(p->tot_len == p->len); in START_TEST()
240 fail_if(p->tot_len == p->len); in START_TEST()
H A Dtest_netif.c231 fail_if(netif_is_flag_set(&net_test, NETIF_FLAG_UP)); in START_TEST()
233 fail_if(netif_is_flag_set(&net_test, NETIF_FLAG_LINK_UP)); in START_TEST()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A 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()
224 fail_if(memcmp(&src_desc->channel[i], &dst_desc->channel[i], in can_do_blit()
229 fail_if(inf in can_do_blit()
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dwasm-compiler.h717 BranchBuilder fail_if; member
723 // the passed callbacks succeed_if, fail_if and fail_if_not. We have up to 5
H A Dwasm-compiler.cc5728 // fail_if in TestCallbacks()
5744 // fail_if in CastCallbacks()
5767 // fail_if
5791 (null_succeeds ? callbacks.succeed_if : callbacks.fail_if)(
5824 callbacks.fail_if(IsNull(object), BranchHint::kFalse);
5826 callbacks.fail_if(gasm_->IsI31(object), BranchHint::kFalse);
5836 callbacks.fail_if(IsNull(object), BranchHint::kFalse);
5838 callbacks.fail_if(gasm_->IsI31(object), BranchHint::kFalse);

Completed in 26 milliseconds