/illumos-gate/usr/src/test/util-tests/tests/awk/examples/out/ |
H A D | t.assert | 1 >>> 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 D | memset_s.c | 50 assert(memset_s(0, 1, 1, 1) != 0); in main() 54 assert(memset_s(&b, RSIZE_MAX + 1, 1, 1) != 0); in main() 58 assert(memset_s(&a, -1, 1, 1) != 0); in main() 63 assert(memset_s(&a, 1, 5, 1) == 0); in main() 64 assert(a == 5); in main() 68 assert(memset_s(&a, 1, 1, RSIZE_MAX + 1) != 0); in main() 72 assert(memset_s(&a, 1, 1, -1) != 0); in main() 77 assert(memset_s(&b[0], 3, 9, 1) == 0); in main() 78 assert(b[0] == 9); in main() 79 assert(b[1] == 2); in main() [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/random/ |
H A D | inz_inval.c | 44 assert(buf != MAP_FAILED); in main() 48 assert(ret == -1); in main() 49 assert(errno == EINVAL); in main() 52 assert(ret == -1); in main() 53 assert(errno == EINVAL); in main() 56 assert(ret == -1); in main() 57 assert(errno == EINVAL); in main() 60 assert(ret == -1); in main() 61 assert(errno == EINVAL); in main() 64 assert(ret == 0); in main() [all …]
|
H A D | getrandom.c | 35 assert(ret == -1); in main() 36 assert(errno == EINVAL); 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() 52 assert(errno == EINVAL); in main() 56 assert(ret == -1); in main() 57 assert(errno == EFAULT); in main() [all …]
|
H A D | getentropy.c | 34 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() 58 assert(addr != MAP_FAILED); in main() [all …]
|
H A D | inz_split_vpp.c | 49 assert(buf != MAP_FAILED); in main() 53 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() 68 assert(ubuf[i] == 'a'); in main() 71 assert(child != -1); in main() 76 assert(ret == 0); in main() 77 assert(info.si_pid == child); in main() [all …]
|
H A D | inz_split.c | 44 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 D | inz_vpp.c | 45 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 D | inz_mlock.c | 42 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 D | inz_region.c | 42 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 D | inz_child.c | 44 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 D | zones_str.c | 128 assert(a_old != NULL); in _z_strAddToken() 129 assert(a_separator != '\0'); in _z_strAddToken() 139 assert(strchr(a_new, (int)a_separator) == NULL); in _z_strAddToken() 161 assert(*a_old == NULL); in _z_strAddToken() 190 assert(a_separators != NULL); in _z_strContainsToken() 191 assert(*a_separators != '\0'); in _z_strContainsToken() 267 assert(a_string != NULL); in _z_strGetToken() 268 assert(a_index >= 0); in _z_strGetToken() 269 assert(a_separators != NULL); in _z_strGetToken() 270 assert(*a_separators != '\0'); in _z_strGetToken() [all …]
|
H A D | zones_locks.c | 159 assert(a_zoneName != (char *)NULL); in _z_acquire_lock() 160 assert(a_lockObject != (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() 361 assert(a_lockObject != (char *)NULL); in _z_adjust_lock_object_for_rootpath() 362 assert(*a_lockObject != '\0'); in _z_adjust_lock_object_for_rootpath() 488 assert(a_zlst != (zoneListElement_t *)NULL); in _z_lock_zone() 592 assert(r_objectLocks != (char **)NULL); in _z_lock_zone_object() 593 assert(a_zoneName != (char *)NULL); in _z_lock_zone_object() [all …]
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgstr.c | 129 assert(a_str != (char **)NULL); in pkgstrRemoveLeadingWhitespace() 171 assert(o_str != (char *)NULL); in pkgstrRemoveLeadingWhitespace() 230 assert(a_format != (char *)NULL); in pkgstrPrintf_r() 231 assert(*a_format != '\0'); in pkgstrPrintf_r() 232 assert(a_buf != (char *)NULL); in pkgstrPrintf_r() 233 assert(a_bufLen > 1); in pkgstrPrintf_r() 241 assert(vres > 0); in pkgstrPrintf_r() 242 assert(vres < a_bufLen); in pkgstrPrintf_r() 275 assert(a_format != (char *)NULL); in pkgstrPrintf() 276 assert(*a_format != '\0'); in pkgstrPrintf() [all …]
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | sml.c | 181 assert(SML_TAG__ISVALID(a_subTag)); in smlAddTag() 182 assert(SML_TAG__R_ISVALID(r_tag)); in smlAddTag() 246 assert(SML_TAG__ISVALID(sub_tag)); in smlDelTag() 325 assert(SML_TAG__ISVALID(tag)); in smlFreeTag() 383 assert(name != (char *)NULL); in smlGetParam_r() 384 assert(*name != '\0'); in smlGetParam_r() 385 assert(buf != (char *)NULL); in smlGetParam_r() 386 assert(bufLen > 0); in smlGetParam_r() 415 assert(tag->params[k].name != (char *)NULL); in smlGetParam_r() 416 assert(tag->params[k].value != (char *)NULL); in smlGetParam_r() [all …]
|
H A D | pkgops.c | 90 assert(r_info != (struct pkginfo **)NULL); in pkginfoFree() 100 assert(pinfo != (struct pkginfo *)NULL); in pkginfoFree() 142 assert(a_pkgInst != (char *)NULL); in pkginfoIsPkgInstalled() 143 assert(*a_pkgInst != '\0'); in pkginfoIsPkgInstalled() 293 assert(a_fp != (FILE *)NULL); in pkgIsPkgInGzOnlyFP() 294 assert(a_pkgInst != (char *)NULL); in pkgIsPkgInGzOnlyFP() 295 assert(*a_pkgInst != '\0'); in pkgIsPkgInGzOnlyFP() 363 assert(a_pkgInst != (char *)NULL); in pkgRemovePackageFromGzonlyList() 364 assert(*a_pkgInst != '\0'); in pkgRemovePackageFromGzonlyList() 552 assert(a_pkgInst != (char *)NULL); in pkgAddPackageToGzonlyList() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/synctask_core/ |
H A D | tst.get_count_and_limit.ksh | 45 assert(ans == -1) 46 assert(src == 'default') 49 assert(ans == nil) 50 assert(src == nil) 55 assert(ans == -1) 56 assert(src == 'default') 59 assert(ans == nil) 60 assert(src == nil) 67 assert(ans == 10) 68 assert(src == '$fs') [all …]
|
H A D | tst.get_userquota.ksh | 45 assert(ans == $UQUOTA_SIZE) 46 assert(setpoint == "$fs") 49 assert(ans == 0) 50 assert(setpoint == "$fs") 53 assert(ans == $GQUOTA_SIZE) 54 assert(setpoint == "$fs") 57 assert(ans == 0) 58 assert(setpoint == "$fs") 64 assert(ans == nil) 65 assert(setpoint == nil) [all …]
|
H A D | tst.get_mountpoint.ksh | 48 assert(ans == '/$fs') 49 assert(src == 'default') 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) [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/sockfs/ |
H A D | nosignal.c | 59 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() 63 assert(connect(c, (struct sockaddr *)&sin, sizeof (sin)) >= 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() [all …]
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | snapshot.c | 68 assert(sp->rs_refcnt == 0 && sp->rs_childref == 0); in snapshot_free() 76 assert(lvl->rsl_parent == sp); in snapshot_free() 94 assert(sp->rs_refcnt > 0); in rc_snapshot_hold() 103 assert(sp->rs_refcnt > 0); in rc_snapshot_rele() 119 assert(sp->rs_childref > 0); in rc_snaplevel_hold() 129 assert(sp->rs_childref > 0); in rc_snaplevel_rele() 150 assert(MUTEX_HELD(&bp->sb_lock)); in snapshot_rele_bucket() 159 assert(MUTEX_HELD(&bp->sb_lock)); in snapshot_lookup_unlocked() 160 assert(bp == SNAPSHOT_BUCKET(snap_id)); in snapshot_lookup_unlocked() 174 assert(MUTEX_HELD(&bp->sb_lock)); in snapshot_insert_unlocked() [all …]
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | vdbe.c | 173 assert( pOld==pElem ); /* Malloc failed on insert */ in AggInsert() 231 assert( (fg & MEM_Dyn)==0 ); in hardDynamicify() 255 assert( (pStack->flags & MEM_Ephem)!=0 ); in hardDeephem() 512 assert( db->magic==SQLITE_MAGIC_BUSY ); in sqliteVdbeExec() 513 assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY ); in sqliteVdbeExec() 515 assert( p->explain==0 ); in sqliteVdbeExec() 524 assert( pc>=0 && pc<p->nOp ); in sqliteVdbeExec() 525 assert( pTos<=&p->aStack[pc] ); in sqliteVdbeExec() 747 assert( pOp->p1>=0 ); in sqliteVdbeExec() 749 assert( pTos>=&p->aStack[-1] ); in sqliteVdbeExec() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | dbm.c | 150 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() 189 assert(match != NULL); in dbm_page_byarch() 196 assert(match != NULL); in dbm_page_bydesc() 203 assert(im >= 0); in dbm_page_bymacro() 204 assert(im < MACRO_MAX); in dbm_page_bymacro() 205 assert(match != NULL); in dbm_page_bymacro() 240 assert(arg_iter == ITER_NAME || arg_iter == ITER_DESC || in page_bytitle() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | basl.c | 73 assert(len <= 8); in basl_le_dec() 94 assert(len <= 8); in basl_le_enc() 140 assert(gas != NULL); in basl_fill_gas() 212 assert(checksum->off < table->len); in basl_finish_patch_checksums() 213 assert(checksum->start < table->len); in basl_finish_patch_checksums() 214 assert(checksum->start + len <= table->len); in basl_finish_patch_checksums() 297 assert(pointer->off < table->len); 298 assert(pointer->off + pointer->size <= table->len); 350 assert(length->off < table->len); 351 assert(length->off + length->size <= table->len); [all …]
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | scf_tmpl.c | 184 assert(t->pt_svc != NULL || t->pt_inst != NULL); in _scf_tmpl_get_fmri() 185 assert(t->pt_svc == NULL || t->pt_inst == NULL); in _scf_tmpl_get_fmri() 202 assert(0); in _scf_tmpl_get_fmri() 232 assert(0); in _scf_get_pg_type() 262 assert(0); in _scf_get_prop_name() 289 assert(0); in _scf_get_prop_type() 334 assert(val != NULL); in _read_single_value_from_pg() 336 assert(scf_error() == SCF_ERROR_HANDLE_DESTROYED); in _read_single_value_from_pg() 344 assert(scf_error() != SCF_ERROR_INVALID_ARGUMENT); in _read_single_value_from_pg() 349 assert(scf_error() != SCF_ERROR_HANDLE_MISMATCH); in _read_single_value_from_pg() [all …]
|