Home
last modified time | relevance | path

Searched refs:assert (Results 1 – 25 of 976) sorted by relevance

12345678910>>...40

/illumos-gate/usr/src/test/util-tests/tests/awk/examples/out/
H A Dt.assert1 >>> assert failed <<<
2 >>> assert failed <<<
3 >>> assert failed <<<
4 >>> assert failed <<<
5 >>> assert failed <<<
6 >>> assert failed <<<
7 >>> assert failed <<<
8 >>> assert failed <<<
9 >>> assert failed <<<
10 >>> assert failed <<<
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dmemset_s.c64 assert(a == 5); in main()
78 assert(b[0] == 9); in main()
79 assert(b[1] == 2); in main()
80 assert(b[2] == 3); in main()
88 assert(e > 0); in main()
90 assert(b[0] == 9); in main()
91 assert(b[1] == 2); in main()
99 assert(e > 0); in main()
107 assert(e > 0); in main()
115 assert(e > 0); in main()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/random/
H A Dinz_inval.c48 assert(ret == -1); in main()
52 assert(ret == -1); in main()
56 assert(ret == -1); in main()
60 assert(ret == -1); in main()
64 assert(ret == 0); in main()
68 assert(ret == -1); in main()
79 assert(ret == 0); in main()
85 assert(fd >= 0); in main()
87 assert(ret == 0); in main()
96 assert(ret == 0); in main()
[all …]
H A Dgetrandom.c35 assert(ret == -1); in main()
39 assert(ret >= 0); in main()
42 assert(ret >= 0); in main()
45 assert(ret >= 0); in main()
48 assert(ret >= 0); in main()
51 assert(ret == -1); in main()
56 assert(ret == -1); in main()
60 assert(ret == -1); in main()
67 assert(ret == 0); in main()
69 assert(ret == -1); in main()
[all …]
H A Dgetentropy.c34 assert(ret == 0); in main()
38 assert(ret == -1); in main()
39 assert(errno == EIO); in main()
42 assert(ret == -1); in main()
43 assert(errno == EIO); in main()
46 assert(ret == 0); in main()
49 assert(ret == 0); in main()
53 assert(ret == -1); in main()
54 assert(errno == EFAULT); in main()
60 assert(ret == 0); in main()
[all …]
H A Dinz_split_vpp.c53 assert(ret == 0); in main()
56 assert(ret == 0); in main()
62 assert(ubuf[i] == 'a'); in main()
64 assert(ubuf[i] == 0); in main()
66 assert(ubuf[i] == 0); in main()
71 assert(child != -1); in main()
76 assert(ret == 0); in main()
82 assert(ubuf[i] == 'a'); in main()
84 assert(ubuf[i] == 'a'); in main()
86 assert(ubuf[i] == 'a'); in main()
[all …]
H A Dinz_split.c44 assert(buf != MAP_FAILED); in main()
48 assert(ret == 0); in main()
51 assert(ret == 0); in main()
57 assert(ubuf[i] == 0); in main()
59 assert(ubuf[i] == 0); in main()
62 assert(child != -1); in main()
67 assert(ret == 0); in main()
68 assert(info.si_pid == child); in main()
69 assert(info.si_status == 0); in main()
73 assert(ubuf[i] == 'a'); in main()
[all …]
H A Dinz_vpp.c45 assert(buf != MAP_FAILED); in main()
49 assert(ret == 0); in main()
55 assert(ubuf[i] == 'a'); in main()
57 assert(ubuf[i] == 0); in main()
59 assert(ubuf[i] == 'a'); in main()
62 assert(child != -1); in main()
67 assert(ret == 0); in main()
68 assert(info.si_pid == child); in main()
69 assert(info.si_status == 0); in main()
72 assert(ubuf[i] == 'a'); in main()
H A Dinz_mlock.c42 assert(buf != MAP_FAILED); in main()
46 assert(ret == 0); in main()
49 assert(ret == 0); in main()
54 assert(ubuf[i] == 0); in main()
57 assert(child != -1); in main()
62 assert(ret == 0); in main()
63 assert(info.si_pid == child); in main()
64 assert(info.si_status == 0); in main()
67 assert(ubuf[i] == 'a'); in main()
H A Dinz_region.c42 assert(buf != MAP_FAILED); in main()
46 assert(ret == 0); in main()
51 assert(ubuf[i] == 0); in main()
54 assert(child != -1); in main()
59 assert(ret == 0); in main()
60 assert(info.si_pid == child); in main()
61 assert(info.si_status == 0); in main()
64 assert(ubuf[i] == 'a'); in main()
H A Dinz_child.c44 assert(buf != MAP_FAILED); in main()
47 assert(ret == 0); in main()
55 assert(ubuf[i] == 0); in main()
60 assert(child != -1); in main()
65 assert(ret == 0); in main()
66 assert(info.si_pid == child); in main()
67 assert(info.si_status == 0); in main()
70 assert(ubuf[i] == 'a' + nchild); in main()
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_str.c128 assert(a_old != NULL); in _z_strAddToken()
161 assert(*a_old == NULL); in _z_strAddToken()
268 assert(a_index >= 0); in _z_strGetToken()
374 assert(a_index >= 0); in _z_strGetToken_r()
377 assert(a_buf != NULL); in _z_strGetToken_r()
378 assert(a_bufLen > 0); in _z_strGetToken_r()
461 assert(vres > 0); in _z_strPrintf()
474 assert(vres > 0); in _z_strPrintf()
514 assert(a_bufLen > 1); in _z_strPrintf_r()
522 assert(vres > 0); in _z_strPrintf_r()
[all …]
H A Dzones_locks.c159 assert(a_zoneName != (char *)NULL); in _z_acquire_lock()
161 assert(*a_lockObject != '\0'); in _z_acquire_lock()
162 assert(r_lockKey != (char **)NULL); in _z_acquire_lock()
360 assert(r_result != (char **)NULL); in _z_adjust_lock_object_for_rootpath()
362 assert(*a_lockObject != '\0'); in _z_adjust_lock_object_for_rootpath()
595 assert(a_busyMsg != (char *)NULL); in _z_lock_zone_object()
597 assert(*a_lockObject != '\0'); in _z_lock_zone_object()
709 assert(*a_lockObject != '\0'); in _z_release_lock()
711 assert(*a_lockKey != '\0'); in _z_release_lock()
887 assert(a_errMsg != (char *)NULL); in _z_unlock_zone_object()
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgstr.c233 assert(a_bufLen > 1); in pkgstrPrintf_r()
241 assert(vres > 0); in pkgstrPrintf_r()
284 assert(vres > 0); in pkgstrPrintf()
301 assert(vres > 0); in pkgstrPrintf()
303 assert(*rstr != '\0'); in pkgstrPrintf()
415 assert(a_index >= 0); in pkgstrGetToken()
528 assert(a_index >= 0); in pkgstrGetToken_r()
532 assert(a_bufLen > 0); in pkgstrGetToken_r()
828 assert(sep != '\0'); in pkgstrRemoveToken()
836 assert(*copyString); in pkgstrRemoveToken()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dsml.c386 assert(bufLen > 0); in smlGetParam_r()
1177 assert(vres > 0); in smlDbgPrintTag()
1190 assert(vres > 0); in smlDbgPrintTag()
1342 assert(vres > 0); in smlSetParamF()
1355 assert(vres > 0); in smlSetParamF()
1407 assert(vres > 0); in smlGetParamF()
1420 assert(vres > 0); in smlGetParamF()
1558 assert(vres > 0); in smlParamEqF()
1571 assert(vres > 0); in smlParamEqF()
1941 assert(vres > 0); in sml_strPrintf()
[all …]
H A Dpkgops.c143 assert(*a_pkgInst != '\0'); in pkginfoIsPkgInstalled()
295 assert(*a_pkgInst != '\0'); in pkgIsPkgInGzOnlyFP()
364 assert(*a_pkgInst != '\0'); in pkgRemovePackageFromGzonlyList()
553 assert(*a_pkgInst != '\0'); in pkgAddPackageToGzonlyList()
741 assert(*a_param != '\0'); in pkginfoParamTruth()
743 assert(*a_value != '\0'); in pkginfoParamTruth()
912 assert(*a_pkgInst != '\0'); in pkgAddThisZonePackage()
976 assert(*a_pkgInst != '\0'); in pkgPackageIsThisZone()
1031 assert(r_pathLen > 0); in pkgLocateHighestInst()
1033 assert(r_pkgInstLen > 0); in pkgLocateHighestInst()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.get_count_and_limit.ksh45 assert(ans == -1)
49 assert(ans == nil)
50 assert(src == nil)
55 assert(ans == -1)
59 assert(ans == nil)
60 assert(src == nil)
67 assert(ans == 10)
71 assert(ans == 1)
72 assert(src == nil)
81 assert(ans == 8)
[all …]
H A Dtst.get_userquota.ksh46 assert(setpoint == "$fs")
49 assert(ans == 0)
50 assert(setpoint == "$fs")
54 assert(setpoint == "$fs")
57 assert(ans == 0)
64 assert(ans == nil)
65 assert(setpoint == nil)
68 assert(ans == 0)
72 assert(ans == nil)
73 assert(setpoint == nil)
[all …]
H A Dtst.get_mountpoint.ksh48 assert(ans == '/$fs')
54 assert(ans == nil)
55 assert(src == nil)
60 assert(ans == '/$clone')
61 assert(src == 'default')
72 assert(ans == '$mnt1')
73 assert(src == '$fs')
78 assert(ans == nil)
79 assert(src == nil)
84 assert(ans == '$mnt2')
[all …]
/illumos-gate/usr/src/test/os-tests/tests/sockfs/
H A Dnosignal.c59 assert(s >= 0 && c >= 0); in main()
61 assert(bind(s, (struct sockaddr *)&sin, sizeof (sin)) >= 0); in main()
62 assert(listen(s, 3) >= 0); in main()
64 assert(close(s) == 0); in main()
66 assert(MSG_NOSIGNAL > 0); in main()
67 assert(sigcount == 0); in main()
71 assert(len == -1 && errno == EPIPE); in main()
73 assert(sigcount == 1); in main()
77 assert(len == -1 && errno == EPIPE); in main()
79 assert(sigcount == 1); in main()
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dspinup_ap.c76 assert(error == 0); in spinup_ap_realmode()
80 assert(error == 0); in spinup_ap_realmode()
85 assert(error == 0); in spinup_ap_realmode()
89 assert(error == 0); in spinup_ap_realmode()
97 assert(newcpu != 0); in spinup_ap()
98 assert(newcpu < guest_ncpus); in spinup_ap()
101 assert(error == 0); in spinup_ap()
112 assert(error == 0); in spinup_ap()
126 assert(newcpu != 0); in spinup_halted_ap()
130 assert(error == 0); in spinup_halted_ap()
[all …]
H A Dpci_virtio_viona.c456 assert(error == 0); in pci_viona_init()
675 assert(size == 4); in pci_viona_write()
686 assert(size == 4); in pci_viona_write()
690 assert(size == 2); in pci_viona_write()
695 assert(size == 2); in pci_viona_write()
700 assert(size == 1); in pci_viona_write()
704 assert(size == 2); in pci_viona_write()
708 assert(size == 2); in pci_viona_write()
777 assert(size == 4); in pci_viona_read()
786 assert(size == 4); in pci_viona_read()
[all …]
/illumos-gate/usr/src/cmd/svc/configd/
H A Dsnapshot.c78 assert(lvl->rsl_parent == sp); in snapshot_free()
96 assert(sp->rs_refcnt > 0); in rc_snapshot_hold()
105 assert(sp->rs_refcnt > 0); in rc_snapshot_rele()
121 assert(sp->rs_childref > 0); in rc_snaplevel_hold()
131 assert(sp->rs_childref > 0); in rc_snaplevel_rele()
152 assert(MUTEX_HELD(&bp->sb_lock)); in snapshot_rele_bucket()
161 assert(MUTEX_HELD(&bp->sb_lock)); in snapshot_lookup_unlocked()
176 assert(MUTEX_HELD(&bp->sb_lock)); in snapshot_insert_unlocked()
179 assert(sp->rs_hash_next == NULL); in snapshot_insert_unlocked()
190 assert(MUTEX_HELD(&bp->sb_lock)); in snapshot_remove_unlocked()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Ddbm.c150 assert(ip >= 0); in dbm_page_get()
151 assert(ip < npages); in dbm_page_get()
175 assert(match != NULL); in dbm_page_byname()
182 assert(match != NULL); in dbm_page_bysect()
203 assert(im >= 0); in dbm_page_bymacro()
357 assert(im >= 0); in page_bymacro()
399 assert(im >= 0); in dbm_macro_count()
409 assert(im >= 0); in dbm_macro_get()
411 assert(iv >= 0); in dbm_macro_get()
424 assert(im >= 0); in dbm_macro_bypage()
[all …]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dvdbe.c515 assert( p->explain==0 ); in sqliteVdbeExec()
747 assert( pOp->p1>=0 ); in sqliteVdbeExec()
2405 assert( pX!=0 ); in sqliteVdbeExec()
2418 assert( i>=0 ); in sqliteVdbeExec()
2472 assert( i>=0 ); in sqliteVdbeExec()
2510 assert( i>=0 ); in sqliteVdbeExec()
2716 assert( nKey >= 4 ); in sqliteVdbeExec()
4037 assert( j<nByte ); in sqliteVdbeExec()
4141 assert( pOp->p3!=0 ); in sqliteVdbeExec()
4445 assert( n>=0 ); in sqliteVdbeExec()
[all …]

12345678910>>...40