/freebsd/contrib/ntp/sntp/libevent/sample/ |
H A D | http-connect.c | 11 #define VERIFY(cond) do { \ macro 29 VERIFY(uri = evhttp_uri_parse(str)); in uri_parse() 30 VERIFY(evhttp_uri_get_host(uri)); in uri_parse() 31 VERIFY(evhttp_uri_get_port(uri) > 0); in uri_parse() 38 VERIFY(evhttp_uri_join(uri, buffer, URL_MAX)); in uri_path() 45 VERIFY(evhttp_uri_join(path, buffer, URL_MAX)); in uri_path() 50 VERIFY(evhttp_uri_join(uri, buffer, URL_MAX)); in uri_hostport() 51 VERIFY(evhttp_uri_get_host(uri)); in uri_hostport() 52 VERIFY(evhttp_uri_get_port(uri) > 0); in uri_hostport() 63 VERIFY(req); in get_cb() [all …]
|
/freebsd/contrib/libevent/sample/ |
H A D | http-connect.c | 11 #define VERIFY(cond) do { \ macro 29 VERIFY(uri = evhttp_uri_parse(str)); in uri_parse() 30 VERIFY(evhttp_uri_get_host(uri)); in uri_parse() 31 VERIFY(evhttp_uri_get_port(uri) > 0); in uri_parse() 38 VERIFY(evhttp_uri_join(uri, buffer, URL_MAX)); in uri_path() 45 VERIFY(evhttp_uri_join(path, buffer, URL_MAX)); in uri_path() 50 VERIFY(evhttp_uri_join(uri, buffer, URL_MAX)); in uri_hostport() 51 VERIFY(evhttp_uri_get_host(uri)); in uri_hostport() 52 VERIFY(evhttp_uri_get_port(uri) > 0); in uri_hostport() 63 VERIFY(req); in get_cb() [all …]
|
/freebsd/crypto/openssl/test/recipes/ |
H A D | 80-test_tsa.t | 32 my @VERIFY = ("openssl", "ts", "-verify"); 70 ok(run(app([@VERIFY, "-queryfile", $queryfile, "-in", $inputfile, 72 ok(run(app([@VERIFY, "-data", $datafile, "-in", $inputfile, 82 ok(!run(app([@VERIFY, "-queryfile", $queryfile, "-in", $inputfile, 150 ok(run(app([@VERIFY, "-queryfile", "req1.tsq", 153 ok(run(app([@VERIFY, "-data", $testtsa, 237 ok(run(app([@VERIFY, "-no_check_time", 243 ok(run(app([@VERIFY, "-no_check_time",
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_fuid.c | 114 VERIFY(0 == dmu_bonus_hold(os, fuid_obj, in zfs_fuid_table_load() 127 VERIFY(dmu_read(os, fuid_obj, 0, in zfs_fuid_table_load() 129 VERIFY(nvlist_unpack(packed, fuid_size, in zfs_fuid_table_load() 131 VERIFY(nvlist_lookup_nvlist_array(nvp, FUID_NVP_ARRAY, in zfs_fuid_table_load() 139 VERIFY(nvlist_lookup_string(fuidnvp[i], FUID_DOMAIN, in zfs_fuid_table_load() 141 VERIFY(nvlist_lookup_uint64(fuidnvp[i], FUID_IDX, in zfs_fuid_table_load() 243 VERIFY(zap_add(zfsvfs->z_os, MASTER_NODE_OBJ, in zfs_fuid_sync() 248 VERIFY(nvlist_alloc(&nvp, NV_UNIQUE_NAME, KM_SLEEP) == 0); in zfs_fuid_sync() 254 VERIFY(nvlist_alloc(&fuids[i], NV_UNIQUE_NAME, KM_SLEEP) == 0); in zfs_fuid_sync() 255 VERIFY(nvlist_add_uint64(fuids[i], FUID_IDX, in zfs_fuid_sync() [all …]
|
H A D | zfs_sa.c | 135 VERIFY((xoap = xva_getxoptattr(xvap)) != NULL); in zfs_sa_get_scanstamp() 169 VERIFY((xoap = xva_getxoptattr(xvap)) != NULL); in zfs_sa_set_scanstamp() 171 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_SCANSTAMP(zfsvfs), in zfs_sa_set_scanstamp() 183 VERIFY(dmu_set_bonus(db, len, tx) == 0); in zfs_sa_set_scanstamp() 188 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(zfsvfs), in zfs_sa_set_scanstamp() 429 VERIFY(dmu_set_bonustype(db, DMU_OT_SA, tx) == 0); in zfs_sa_upgrade() 430 VERIFY(sa_replace_all_by_template_locked(hdl, sa_attrs, in zfs_sa_upgrade() 433 VERIFY(0 == dmu_object_free(zfsvfs->z_os, in zfs_sa_upgrade()
|
H A D | dsl_deleg.c | 104 VERIFY(nvpair_value_nvlist(whopair, &perms) == 0); in dsl_deleg_can_allow() 191 VERIFY(zap_update(mos, jumpobj, in dsl_deleg_set_sync() 227 VERIFY(0 == zap_destroy(mos, jumpobj, tx)); in dsl_deleg_unset_sync() 245 VERIFY(0 == zap_destroy(mos, in dsl_deleg_unset_sync() 334 VERIFY(nvlist_alloc(nvp, NV_UNIQUE_NAME, KM_SLEEP) == 0); in dsl_deleg_get() 708 VERIFY(zap_add(mos, zapobj, whokey, 8, 1, &jumpobj, tx) == 0); in copy_create_perms() 718 VERIFY(zap_update(mos, jumpobj, za->za_name, in copy_create_perms() 763 VERIFY(0 == zap_destroy(mos, za->za_first_integer, tx)); in dsl_deleg_destroy() 766 VERIFY(0 == zap_destroy(mos, zapobj, tx)); in dsl_deleg_destroy()
|
H A D | dsl_prop.c | 1168 VERIFY(nvlist_alloc(&propval, NV_UNIQUE_NAME, KM_SLEEP) == 0); in dsl_prop_get_all_impl() 1181 VERIFY(nvlist_add_string(propval, ZPROP_VALUE, in dsl_prop_get_all_impl() 1193 VERIFY(nvlist_add_string(propval, ZPROP_SOURCE, source) == 0); in dsl_prop_get_all_impl() 1194 VERIFY(nvlist_add_nvlist(nv, propname, propval) == 0); in dsl_prop_get_all_impl() 1217 VERIFY(nvlist_alloc(nvp, NV_UNIQUE_NAME, KM_SLEEP) == 0); in dsl_prop_get_all_ds() 1335 VERIFY(nvlist_add_uint64(propval, ZPROP_VALUE, value) == 0); in dsl_prop_nvlist_add_uint64() 1339 VERIFY(nvlist_alloc(&propval, NV_UNIQUE_NAME, KM_SLEEP) == 0); in dsl_prop_nvlist_add_uint64() 1340 VERIFY(nvlist_add_uint64(propval, ZPROP_VALUE, value) == 0); in dsl_prop_nvlist_add_uint64() 1344 VERIFY(nvlist_add_string(propval, ZPROP_SOURCE, "") == 0); in dsl_prop_nvlist_add_uint64() 1346 VERIFY(nvlist_add_nvlist(nv, propname, propval) == 0); in dsl_prop_nvlist_add_uint64() [all …]
|
H A D | zio_checksum.c | 211 VERIFY((cksum & ~ZIO_CHECKSUM_MASK) == 0); in zio_checksum_to_feature() 307 VERIFY(ci->ci_tmpl_free != NULL); in zio_checksum_template_init() 312 VERIFY(spa->spa_cksum_tmpls[checksum] != NULL); in zio_checksum_template_init() 572 VERIFY(ci->ci_tmpl_free != NULL); in zio_checksum_templates_free()
|
H A D | dsl_synctask.c | 84 VERIFY(txg_list_add_tail(task_list, &dst, dst.dst_txg)); in dsl_sync_task_common() 188 VERIFY(txg_list_add_tail(task_list, dst, dst->dst_txg)); in dsl_sync_task_nowait_common()
|
H A D | zfs_ioctl.c | 1486 VERIFY(nvlist_alloc(&zplprops, NV_UNIQUE_NAME, KM_SLEEP) == 0); in zfs_ioc_pool_create() 2210 VERIFY(nvlist_add_uint64(props, zfs_prop_to_name(prop), value) == 0); in nvl_add_zplprop() 2245 VERIFY(nvlist_alloc(&nv, NV_UNIQUE_NAME, KM_SLEEP) == 0); in zfs_ioc_objset_zplprops() 2436 VERIFY(nvpair_value_nvlist(pair, &attrs) == 0); in zfs_prop_set_userquota() 2491 VERIFY(nvpair_value_nvlist(pair, &attrs) == 0); in zfs_prop_set_special() 2492 VERIFY(nvlist_lookup_nvpair(attrs, ZPROP_VALUE, in zfs_prop_set_special() 2871 VERIFY(nvlist_alloc(newprops, NV_UNIQUE_NAME, KM_SLEEP) == 0); in props_skip() 2878 VERIFY(nvlist_add_nvpair(*newprops, pair) == 0); in props_skip() 3003 VERIFY(0 == nvlist_add_string(dummy, propname, "")); in zfs_ioc_inherit_prop() 3007 VERIFY(0 == nvlist_add_uint64(dummy, propname, 0)); in zfs_ioc_inherit_prop() [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | dtlsv1listentest.c | 245 enum {GOOD, VERIFY, DROP} outtype; enumerator 249 { clienthello_nocookie, sizeof(clienthello_nocookie), VERIFY }, 250 { clienthello_nocookie_frag, sizeof(clienthello_nocookie_frag), VERIFY }, 255 { clienthello_badcookie, sizeof(clienthello_badcookie), VERIFY }, 324 if (tp->outtype == VERIFY) { in dtls_listen_test()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | range_tree.h | 131 VERIFY(0); in rs_get_start_raw() 148 VERIFY(0); in rs_get_end_raw() 169 VERIFY(0); in rs_get_fill_raw() 209 VERIFY(0); in rs_set_start_raw() 229 VERIFY(0); in rs_set_end_raw() 248 VERIFY(0); in rs_set_fill_raw()
|
/freebsd/sys/contrib/openzfs/cmd/raidz_test/ |
H A D | raidz_test.c | 214 VERIFY(parity >= 1 && parity <= 3); in cmp_code() 343 VERIFY(opts->zio_golden); in init_raidz_golden_map() 344 VERIFY(opts->rm_golden); in init_raidz_golden_map() 370 VERIFY(zio); in init_raidz_map() 371 VERIFY(parity <= 3 && parity >= 1); in init_raidz_map() 388 VERIFY(rm); in init_raidz_map() 432 VERIFY(rm_test); in run_gen_check() 661 VERIFY(opts != NULL); in sweep_thread() 769 VERIFY(free_slots <= max_free_slots); in run_sweep()
|
/freebsd/usr.bin/tcopy/ |
H A D | tcopy.c | 68 enum {READ, VERIFY, COPY, COPYVERIFY} op = READ; in main() enumerator 101 op = VERIFY; in main() 128 if ((outp = open(argv[1], op == VERIFY ? O_RDONLY : in main() 141 if (op == VERIFY) { in main()
|
/freebsd/contrib/wpa/src/ |
H A D | build.rules | 52 VERIFY := verify_config 54 VERIFY := 59 _all: $(VERIFY) $(ALL) $(EXTRA_TARGETS)
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/ |
H A D | assert.h | 70 #define VERIFY(cond) \ macro 259 #define ASSERT VERIFY 261 #define assert VERIFY
|
/freebsd/sys/contrib/openzfs/lib/libzpool/ |
H A D | util.c | 139 VERIFY(spa_get_stats(spa_name(spa), &config, NULL, 0) == 0); in show_pool_stats() 141 VERIFY(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in show_pool_stats() 143 VERIFY(nvlist_lookup_string(config, ZPOOL_CONFIG_POOL_NAME, in show_pool_stats() 158 VERIFY(arg); in set_global_var_parse_kv()
|
H A D | kernel.c | 138 VERIFY(ztw = malloc(sizeof (*ztw))); in zk_thread_create() 371 VERIFY(gettimeofday(&tv, NULL) == 0); in cv_timedwait() 738 VERIFY((random_fd = open(random_path, O_RDONLY | O_CLOEXEC)) != -1); in random_init() 739 VERIFY((urandom_fd = open(urandom_path, O_RDONLY | O_CLOEXEC)) != -1); in random_init() 951 VERIFY(vasprintf(&buf, fmt, adx_copy) != -1); in kmem_vasprintf() 964 VERIFY(vasprintf(&buf, fmt, adx) != -1); in kmem_asprintf()
|
H A D | taskq.c | 298 VERIFY((tq->tq_threadlist[t] = thread_create_named(tq->tq_name, in taskq_create() 360 VERIFY(tq != NULL); in taskq_create_synced() 361 VERIFY(tq->tq_nthreads == nthreads); in taskq_create_synced()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_taskq.c | 112 VERIFY(LIST_EMPTY(&tqenthashtbl[i])); in system_taskq_fini() 129 VERIFY(tqid); in __taskq_genid() 143 VERIFY(tqid); in __taskq_genid() 292 VERIFY(tq != NULL); in taskq_create_synced() 293 VERIFY(tq->tq_nthreads == nthreads); in taskq_create_synced()
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | rwlock.h | 154 VERIFY(0); \ 172 VERIFY(0); \
|
H A D | debug.h | 33 * The VERIFY() functions are never compiled out and cannot be disabled. 43 * VERIFY() - Verify X is true, if not panic. 106 #define VERIFY(cond) \ 108 spl_assert("VERIFY(" #cond ") failed\n", \ 114 "VERIFY(" #cond ") failed " str "\n", __VA_ARGS__);\ 313 #define ASSERT VERIFY 86 #define VERIFY( global() macro
|
/freebsd/sys/dev/hptmv/ |
H A D | ioctl.c | 535 hpt_queue_dpc((HPT_DPC)hpt_rebuild_data_block, pAdapter, pVDevice, VERIFY); in hpt_set_array_state() 577 hpt_queue_dpc((HPT_DPC)hpt_rebuild_data_block, pAdapter, pVDevice, VERIFY); in hpt_set_array_state() 725 case VERIFY: in hpt_rebuild_data_block() 759 case VERIFY: in hpt_rebuild_data_block() 785 case VERIFY: in hpt_rebuild_data_block() 845 case VERIFY: in hpt_rebuild_data_block() 880 if (flags==VERIFY) in hpt_rebuild_data_block() 925 case VERIFY: in hpt_rebuild_data_block()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_znode_os.c | 337 VERIFY(0 == sa_handle_get_from_db(zfsvfs->z_os, db, zp, in zfs_znode_sa_init() 807 VERIFY(0 == sa_handle_get_from_db(zfsvfs->z_os, db, NULL, SA_HDL_SHARED, in zfs_mknode() 897 VERIFY(sa_replace_all_by_template(sa_hdl, sa_attrs, cnt, tx) == 0); in zfs_mknode() 911 VERIFY(*zpp != NULL); in zfs_mknode() 912 VERIFY(dzp != NULL); in zfs_mknode() 1309 VERIFY(!zp->z_is_sa); in zfs_znode_delete() 1310 VERIFY(0 == dmu_object_free(os, acl_obj, tx)); in zfs_znode_delete() 1312 VERIFY(0 == dmu_object_free(os, obj, tx)); in zfs_znode_delete() 1532 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_SIZE(ZTOZSB(zp)), in zfs_extend() 1722 VERIFY(sa_bulk_update(zp->z_sa_hdl, bulk, count, tx) == 0); in zfs_trunc() [all …]
|
/freebsd/crypto/openssl/apps/ |
H A D | CA.pl.in | 27 my $VERIFY = "$openssl verify"; 214 my $status = run("$VERIFY \"-CAfile\" ${CATOP}/$CACERT $file $EXTRA{verify}");
|