Home
last modified time | relevance | path

Searched refs:VERIFY3U (Results 1 – 25 of 156) sorted by relevance

1234567

/illumos-gate/usr/src/test/crypto-tests/tests/longhash/
H A Dlonghash.c66 VERIFY3U(len, >, pagesize); in test_update_sha1()
69 VERIFY3U(0, ==, ctx.count[0]); in test_update_sha1()
70 VERIFY3U(0, ==, ctx.count[1]); in test_update_sha1()
79 VERIFY3U(c0, ==, ctx.count[0]); in test_update_sha1()
80 VERIFY3U(c1, ==, ctx.count[1]); in test_update_sha1()
93 VERIFY3U(0, ==, ctx.count[0]); in test_update_sha1()
94 VERIFY3U(pagesize * 8, ==, ctx.count[1]); in test_update_sha1()
103 VERIFY3U(c0, ==, ctx.count[0]); in test_update_sha1()
104 VERIFY3U(c1, ==, ctx.count[1]); in test_update_sha1()
112 VERIFY3U(len, >, pagesize); in test_update_32()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dendian.c61 VERIFY3U(test16, ==, ebe16); in endian_fromhost()
63 VERIFY3U(test32, ==, ebe32); in endian_fromhost()
65 VERIFY3U(test64, ==, ebe64); in endian_fromhost()
68 VERIFY3U(test16, ==, ele16); in endian_fromhost()
70 VERIFY3U(test32, ==, ele32); in endian_fromhost()
72 VERIFY3U(test64, ==, ele64); in endian_fromhost()
98 VERIFY3U(test16, ==, e16); in endian_frombig()
100 VERIFY3U(test16, ==, e16); in endian_frombig()
103 VERIFY3U(test32, ==, e32); in endian_frombig()
105 VERIFY3U(test32, ==, e32); in endian_frombig()
[all …]
H A Dwcsncasecmp.c59 VERIFY3U(ret, ==, len); in main()
61 VERIFY3U(ret, ==, len); in main()
67 VERIFY3U(ret, ==, len); in main()
71 VERIFY3U(ret, ==, len); in main()
75 VERIFY3U(ret, ==, len); in main()
79 VERIFY3U(ret, ==, len); in main()
81 VERIFY3U(ret, ==, len); in main()
92 VERIFY3U(ret, >, 0); in main()
94 VERIFY3U(ret, >, 0); in main()
98 VERIFY3U(ret, >, 0); in main()
/illumos-gate/usr/src/test/os-tests/tests/ilstr/
H A Dilstr_basic.c62 VERIFY3U(ilstr_len(ils), ==, 0); in ist_empty()
64 VERIFY3U(ilstr_cstr(ils)[0], ==, '\0'); in ist_empty()
65 VERIFY3U(ilstr_errno(ils), ==, ILSTR_ERROR_OK); in ist_empty()
76 VERIFY3U(ilstr_errno(ils), ==, ILSTR_ERROR_OK); in ist_prealloc_toobig()
79 VERIFY3U(ilstr_errno(ils), ==, ILSTR_ERROR_NOMEM); in ist_prealloc_toobig()
82 VERIFY3U(ilstr_errno(ils), ==, ILSTR_ERROR_NOMEM); in ist_prealloc_toobig()
87 VERIFY3U(ilstr_errno(ils), ==, ILSTR_ERROR_OK); in ist_prealloc_toobig()
107 VERIFY3U(ilstr_errno(ils), ==, ILSTR_ERROR_OK); in ist_huge()
110 VERIFY3U(ilstr_errno(ils), ==, ILSTR_ERROR_OK); in ist_huge()
111 VERIFY3U(ilstr_len(ils), ==, target); in ist_huge()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_deadlist.c84 VERIFY3U(0, ==, bpobj_open(&dle->dle_bpobj, dl->dl_os, in dsl_deadlist_load_tree()
102 VERIFY3U(0, ==, dmu_bonus_hold(os, object, dl, &dl->dl_dbuf)); in dsl_deadlist_open()
108 VERIFY3U(0, ==, bpobj_open(&dl->dl_bpobj, os, object)); in dsl_deadlist_open()
171 VERIFY3U(0, ==, dmu_object_info(os, dlobj, &doi)); in dsl_deadlist_free()
187 VERIFY3U(0, ==, dmu_object_free(os, dlobj, tx)); in dsl_deadlist_free()
200 VERIFY3U(0, ==, bpobj_open(&dle->dle_bpobj, dl->dl_os, obj)); in dle_enqueue()
201 VERIFY3U(0, ==, zap_update_int_key(dl->dl_os, dl->dl_object, in dle_enqueue()
218 VERIFY3U(0, ==, bpobj_open(&dle->dle_bpobj, dl->dl_os, obj)); in dle_enqueue_subobj()
219 VERIFY3U(0, ==, zap_update_int_key(dl->dl_os, dl->dl_object, in dle_enqueue_subobj()
275 VERIFY3U(0, ==, bpobj_open(&dle->dle_bpobj, dl->dl_os, obj)); in dsl_deadlist_add_key()
[all …]
H A Dzcp.c136 VERIFY3U(1, ==, lua_gettop(state)); in zcp_error_handler()
276 VERIFY3U(sizeof (buf), >, in zcp_table_to_nvlist()
440 VERIFY3U(1, ==, lua_gettop(state)); in zcp_convert_return_values()
816 VERIFY3U(3, ==, lua_gettop(state)); in zcp_eval_impl()
831 VERIFY3U(3, ==, lua_gettop(state)); in zcp_eval_impl()
907 VERIFY3U(1, ==, lua_gettop(state)); in zcp_eval_impl()
927 VERIFY3U(1, ==, lua_gettop(state)); in zcp_eval_impl()
989 VERIFY3U(3, ==, lua_gettop(ri->zri_state)); in zcp_eval_sync()
1004 VERIFY3U(3, ==, lua_gettop(ri->zri_state)); in zcp_eval_open()
1060 VERIFY3U(1, ==, luaopen_base(state)); in zcp_eval()
[all …]
H A Dbpobj.c70 VERIFY3U(0, ==, zap_remove(dp->dp_meta_objset, in bpobj_decr_empty()
73 VERIFY3U(0, ==, dmu_object_free(os, dp->dp_empty_bpobj, tx)); in bpobj_decr_empty()
104 VERIFY3U(0, ==, bpobj_open(&bpo, os, obj)); in bpobj_free()
111 VERIFY3U(0, ==, dmu_object_info(os, bpo.bpo_phys->bpo_subobjs, &doi)); in bpobj_free()
124 VERIFY3U(0, ==, dmu_buf_hold(os, in bpobj_free()
138 VERIFY3U(0, ==, dmu_object_free(os, bpo.bpo_phys->bpo_subobjs, tx)); in bpobj_free()
144 VERIFY3U(0, ==, dmu_object_free(os, obj, tx)); in bpobj_free()
268 VERIFY3U(0, ==, dmu_free_range(bpo->bpo_os, bpo->bpo_object, in bpobj_iterate_impl()
319 VERIFY3U(0, ==, bpobj_space(&sublist, in bpobj_iterate_impl()
345 VERIFY3U(0, ==, dmu_free_range(bpo->bpo_os, in bpobj_iterate_impl()
[all …]
H A Dspace_map.c115 VERIFY3U(block_length, !=, 0); in space_map_iterate()
340 VERIFY3U(entry_offset, >=, sm->sm_start); in space_map_incremental_destroy()
341 VERIFY3U(entry_offset, <, sm->sm_start + sm->sm_size); in space_map_incremental_destroy()
342 VERIFY3U(entry_run, <=, sm->sm_size); in space_map_incremental_destroy()
343 VERIFY3U(entry_offset + entry_run, <=, in space_map_incremental_destroy()
384 VERIFY3U(range_tree_space(smla->smla_rt) + sme->sme_run, <=, in space_map_load_callback()
460 VERIFY3U(space_map_object(sm), !=, 0); in space_map_histogram_add()
740 VERIFY3U(space_map_object(sm), !=, 0); in space_map_write()
752 VERIFY3U(sm->sm_object, ==, sm->sm_phys->smp_object); in space_map_write()
770 VERIFY3U(nodes, ==, zfs_btree_numnodes(&rt->rt_root)); in space_map_write()
[all …]
H A Dzfeature.c316 VERIFY3U(*refcount_cache, ==, in feature_sync()
403 VERIFY3U(feature_get_refcount(spa, feature, &refcount), !=, ENOTSUP); in feature_do_action()
407 VERIFY3U(refcount, !=, UINT64_MAX); in feature_do_action()
411 VERIFY3U(refcount, !=, 0); in feature_do_action()
/illumos-gate/usr/src/test/os-tests/tests/uccid/
H A Dmodify.c68 VERIFY3U(ucs.ucs_status & UCCID_STATUS_F_CARD_ACTIVE, ==, 0); in main()
82 VERIFY3U(ucs.ucs_status & UCCID_STATUS_F_CARD_ACTIVE, !=, 0); in main()
97 VERIFY3U(ucs.ucs_status & UCCID_STATUS_F_CARD_ACTIVE, !=, 0); in main()
111 VERIFY3U(ucs.ucs_status & UCCID_STATUS_F_CARD_ACTIVE, ==, 0); in main()
125 VERIFY3U(ucs.ucs_status & UCCID_STATUS_F_CARD_ACTIVE, !=, 0); in main()
139 VERIFY3U(ucs.ucs_status & UCCID_STATUS_F_CARD_ACTIVE, !=, 0); in main()
158 VERIFY3U(ucs.ucs_status & UCCID_STATUS_F_CARD_ACTIVE, ==, 0); in main()
177 VERIFY3U(ucs.ucs_status & UCCID_STATUS_F_CARD_ACTIVE, !=, 0); in main()
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dvpmtmr.c161 VERIFY3U(req->vdr_class, ==, VDC_PM_TIMER); in vpmtmr_data_read()
162 VERIFY3U(req->vdr_version, ==, 1); in vpmtmr_data_read()
163 VERIFY3U(req->vdr_len, >=, sizeof (struct vdi_pm_timer_v1)); in vpmtmr_data_read()
177 VERIFY3U(req->vdr_class, ==, VDC_PM_TIMER); in vpmtmr_data_write()
178 VERIFY3U(req->vdr_version, ==, 1); in vpmtmr_data_write()
179 VERIFY3U(req->vdr_len, >=, sizeof (struct vdi_pm_timer_v1)); in vpmtmr_data_write()
H A Dvioapic.c456 VERIFY3U(req->vdr_class, ==, VDC_IOAPIC); in vioapic_data_read()
457 VERIFY3U(req->vdr_version, ==, 1); in vioapic_data_read()
458 VERIFY3U(req->vdr_len, >=, sizeof (struct vdi_ioapic_v1)); in vioapic_data_read()
478 VERIFY3U(req->vdr_class, ==, VDC_IOAPIC); in vioapic_data_write()
479 VERIFY3U(req->vdr_version, ==, 1); in vioapic_data_write()
480 VERIFY3U(req->vdr_len, >=, sizeof (struct vdi_ioapic_v1)); in vioapic_data_write()
H A Dvatpit.c542 VERIFY3U(req->vdr_class, ==, VDC_ATPIT); in vatpit_data_read()
543 VERIFY3U(req->vdr_version, ==, 1); in vatpit_data_read()
544 VERIFY3U(req->vdr_len, >=, sizeof (struct vdi_atpit_v1)); in vatpit_data_read()
596 VERIFY3U(req->vdr_class, ==, VDC_ATPIT); in vatpit_data_write()
597 VERIFY3U(req->vdr_version, ==, 1); in vatpit_data_write()
598 VERIFY3U(req->vdr_len, >=, sizeof (struct vdi_atpit_v1)); in vatpit_data_write()
/illumos-gate/usr/src/test/nvme-tests/tests/ioctl/
H A Dlock-order.c102 VERIFY3U(nwrite + nread, ==, nthr); in lock_verify_write_before_read()
129 VERIFY3U(nwrite, ==, 0); in lock_verify_write_before_read()
130 VERIFY3U(nread, ==, 0); in lock_verify_write_before_read()
161 VERIFY3U(nctrl + nns, ==, nthr); in lock_verify_ctrl_before_ns()
189 VERIFY3U(nctrl, ==, 0); in lock_verify_ctrl_before_ns()
190 VERIFY3U(nns, ==, 0); in lock_verify_ctrl_before_ns()
309 VERIFY3U(lock_nextres, <, MAX_LOCKS); in lock_thread()
381 VERIFY3U(lock_nextres, ==, nthr); in lock_order_test()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_reservoir.c450 VERIFY3U(vmmr_alloc_sz, ==, 0); in vmmr_fini()
451 VERIFY3U(vmmr_free_sz, ==, 0); in vmmr_fini()
452 VERIFY3U(vmmr_adding_sz, ==, 0); in vmmr_fini()
453 VERIFY3U(vmmr_alloc_transient_sz, ==, 0); in vmmr_fini()
454 VERIFY3U(vmmr_free_transient_sz, ==, 0); in vmmr_fini()
490 VERIFY3U(sz & PAGEOFFSET, ==, 0); in vmmr_alloc()
507 VERIFY3U(vmmr_free_transient_sz, >=, sz); in vmmr_alloc()
559 VERIFY3U(off & PAGEOFFSET, ==, 0); in vmmr_region_pfn_at()
560 VERIFY3U(off, <, region->vr_size); in vmmr_region_pfn_at()
583 VERIFY3U(region->vr_size, <=, vmmr_alloc_sz); in vmmr_free()
[all …]
/illumos-gate/usr/src/lib/libdemangle/common/
H A Dcxx.c807 VERIFY3U(nlen(db), >, 1); in parse_nested_name()
825 VERIFY3U(nlen(db), >, 1); in parse_nested_name()
845 VERIFY3U(nlen(db), >, 1); in parse_nested_name()
867 VERIFY3U(nlen(db), >, 1); in parse_nested_name()
891 VERIFY3U(nlen(db), >, 1); in parse_nested_name()
1192 VERIFY3U(nlen(db), >, 2); in parse_binary_expr()
1217 VERIFY3U(nlen(db), >, 1); in parse_prefix_expr()
1243 VERIFY3U(nlen(db), >, 0); in parse_gs()
1265 VERIFY3U(first[0], ==, 'n'); in parse_new_expr()
1331 VERIFY3U(first[0], ==, 'd'); in parse_del_expr()
[all …]
H A Drust-v0puny.c121 VERIFY3U(delim_idx, <, bufalloc); in rustv0_puny_decode()
134 VERIFY3U(c, <, 0x80); in rustv0_puny_decode()
160 VERIFY3U(i, <=, buflen); in rustv0_puny_decode()
167 VERIFY3U(buflen, <, bufalloc - 1); in rustv0_puny_decode()
H A Dcxx_util.c155 VERIFY3U(idx, <, n->nm_len); in name_at()
190 VERIFY3U(amt, <=, n->nm_len); in name_join()
204 VERIFY3U(name_len(n), >, 0); in name_join()
257 VERIFY3U(val, <, n->nm_len); in name_fmt_s()
448 VERIFY3U(idx, <, sub->sub_len); in sub_substitute()
579 VERIFY3U(tpl->tpl_len, >, 0); in templ_save()
H A Dstrview.c30 VERIFY3U(sv_remaining(src), >=, len); in sv_init_sv_range()
105 VERIFY3U(sv->sv_rem, >=, n); in sv_consume_n()
/illumos-gate/usr/src/uts/common/io/ena/
H A Dena_hw.c29 VERIFY3U(addr, >=, ena->ena_reg_base); in ena_hw_abs_read32()
30 VERIFY3U(addr, <, ena->ena_reg_base + (ena->ena_reg_size - 4)); in ena_hw_abs_read32()
47 VERIFY3U(addr, >=, ena->ena_reg_base); in ena_hw_abs_write32()
48 VERIFY3U(addr, <, ena->ena_reg_base + (ena->ena_reg_size - 4)); in ena_hw_abs_write32()
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/ccm/
H A Daes_ccm.c60 VERIFY3U(args.plen, <=, sizeof (param)); in main()
80 VERIFY3U(args.plen, <=, sizeof (param)); in main()
102 VERIFY3U(args.plen, <=, sizeof (param)); in main()
122 VERIFY3U(args.plen, <=, sizeof (param)); in main()
/illumos-gate/usr/src/uts/common/io/virtio/
H A Dvirtio_dma.c81 VERIFY3U(offset, <, vidma->vidma_size); in virtio_dma_va()
89 VERIFY3U(cookie, <, vidma->vidma_dma_ncookies); in virtio_dma_cookie_pa()
97 VERIFY3U(cookie, <, vidma->vidma_dma_ncookies); in virtio_dma_cookie_size()
286 VERIFY3U(ddi_dma_unbind_handle(vidma->vidma_dma_handle), ==, in virtio_dma_unbind()
/illumos-gate/usr/src/lib/libjedec/common/
H A Dlibjedec_spd.c411 VERIFY3U(len, ==, 2); in spd_parse_jedec_id()
425 VERIFY3U(len, ==, 2); in spd_parse_jedec_id_str()
448 VERIFY3U(sizeof (buf), >, len); in spd_parse_string()
490 VERIFY3U(sizeof (buf), >=, len * 2 + 1); in spd_parse_hex_string()
502 VERIFY3U(ret, ==, 2); in spd_parse_hex_string()
523 VERIFY3U(len, ==, 1); in spd_parse_hex_vers()
539 VERIFY3U(len, ==, 1); in spd_parse_raw_u8()
554 VERIFY3U(len, ==, 1); in spd_parse_dram_step()
/illumos-gate/usr/src/lib/libcmdutils/common/
H A Dnicenum.c80 VERIFY3U(newdiv, >=, divamt); in nicenum_scale()
81 VERIFY3U(newdiv, >=, divisor); in nicenum_scale()
/illumos-gate/usr/src/uts/common/io/vioif/
H A Dvioif.c278 VERIFY3U(vif->vif_ntxbufs_alloc, >, 0); in vioif_txbuf_free()
304 VERIFY3U(vif->vif_nrxbufs_alloc, >, 0); in vioif_rxbuf_free()
324 VERIFY3U(vif->vif_nrxbufs_onloan, >, 0); in vioif_rx_free_callback()
357 VERIFY3U(vif->vif_nctrlbufs_alloc, >, 0); in vioif_ctrlbuf_free()
369 VERIFY3U(vif->vif_ntxbufs_alloc, ==, 0); in vioif_free_bufs()
417 VERIFY3U(vif->vif_nrxbufs_alloc, ==, 0); in vioif_free_bufs()
446 VERIFY3U(vif->vif_nctrlbufs_alloc, ==, 0); in vioif_free_bufs()
551 VERIFY3U(virtio_dma_ncookies(tb->tb_dma), ==, 1); in vioif_alloc_bufs()
576 VERIFY3U(virtio_dma_ncookies(cb->cb_dma), ==, 1); in vioif_alloc_bufs()
610 VERIFY3U(virtio_dma_cookie_size(rb->rb_dma, 0), >=, in vioif_alloc_bufs()
[all …]

1234567