/titanic_50/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()
|
H A D | arc4random_forksig.c | 62 assert(ret == 0); in main() 70 assert(fork_data != MAP_FAILED); in main() 73 assert(ret == 0); in main() 74 assert(pid != -1); in main() 86 assert(child == pid); in main() 89 assert(fork_data->af_parent != fork_data->af_child); in main() 99 assert(i != sizeof (fork_data->af_pbuf)); in main()
|
/titanic_50/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 …]
|
H A D | zones_args.c | 128 assert(a_args != NULL); in _z_add_arg() 129 assert(a_format != NULL); in _z_add_arg() 130 assert(*a_format != '\0'); in _z_add_arg() 204 assert(a_args != NULL); in _z_free_args() 205 assert(a_args->_aaArgs != NULL); in _z_free_args() 210 assert(a_args->_aaArgs[i] != NULL); in _z_free_args() 283 assert(initialCount >= 0); in _z_new_args()
|
/titanic_50/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 …]
|
/titanic_50/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 …]
|
/titanic_50/usr/src/cmd/svc/configd/ |
H A D | snapshot.c | 70 assert(sp->rs_refcnt == 0 && sp->rs_childref == 0); in snapshot_free() 78 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() 162 assert(bp == SNAPSHOT_BUCKET(snap_id)); in snapshot_lookup_unlocked() 176 assert(MUTEX_HELD(&bp->sb_lock)); in snapshot_insert_unlocked() [all …]
|
/titanic_50/usr/src/lib/libsqlite/src/ |
H A D | vdbe.c | 175 assert( pOld==pElem ); /* Malloc failed on insert */ in AggInsert() 233 assert( (fg & MEM_Dyn)==0 ); in hardDynamicify() 257 assert( (pStack->flags & MEM_Ephem)!=0 ); in hardDeephem() 514 assert( db->magic==SQLITE_MAGIC_BUSY ); in sqliteVdbeExec() 515 assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY ); in sqliteVdbeExec() 517 assert( p->explain==0 ); in sqliteVdbeExec() 526 assert( pc>=0 && pc<p->nOp ); in sqliteVdbeExec() 527 assert( pTos<=&p->aStack[pc] ); in sqliteVdbeExec() 749 assert( pOp->p1>=0 ); in sqliteVdbeExec() 751 assert( pTos>=&p->aStack[-1] ); in sqliteVdbeExec() [all …]
|
/titanic_50/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did.c | 257 assert(did != NULL); in did_physlot() 264 assert(did != NULL); in did_physlot_exists() 279 assert(ibus == TRUST_BDF || (pd->dp_bus == ibus)); in did_create() 356 assert(dp != NULL); in did_link_get() 363 assert(dp != NULL); in did_chain_get() 372 assert(head != NULL); in did_link_set() 374 assert(hd != NULL); in did_link_set() 384 assert(from != NULL && to != NULL); in did_did_link_set() 391 assert(from != NULL && to != NULL); in did_did_chain_set() 398 assert(dp != NULL); in did_destroy() [all …]
|
/titanic_50/usr/src/cmd/rcm_daemon/common/ |
H A D | network_rcm.c | 231 assert(hd != NULL); in net_unregister() 373 assert(hd != NULL); in net_offline() 374 assert(rsrc != NULL); in net_offline() 375 assert(id == (id_t)0); in net_offline() 376 assert(reason != NULL); in net_offline() 377 assert(dependent_reason != NULL); in net_offline() 394 assert(hd != NULL); in net_online() 395 assert(rsrc != NULL); in net_online() 396 assert(id == (id_t)0); in net_online() 427 assert(hd != NULL); in net_getinfo() [all …]
|
H A D | filesys_rcm.c | 195 assert(hd != NULL); in mnt_register() 230 assert(hd != NULL); in mnt_unregister() 273 assert(hd != NULL); in mnt_offline() 274 assert(rsrc != NULL); in mnt_offline() 275 assert(id == (id_t)0); in mnt_offline() 276 assert(errorp != NULL); in mnt_offline() 345 assert(hd != NULL); in mnt_online() 346 assert(rsrc != NULL); in mnt_online() 347 assert(id == (id_t)0); in mnt_online() 348 assert(errorp != NULL); in mnt_online() [all …]
|
/titanic_50/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 …]
|
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1_encode.c | 325 (assert((TYPE)->loadptr != NULL), (TYPE)->loadptr(PTR)) 340 assert(a->type == atype_ptr); in get_nullterm_sequence_len() 341 assert(seq->size != 0); in get_nullterm_sequence_len() 383 assert(a->enc != NULL); in krb5int_asn1_encode_a_thing() 386 assert(a->seq != NULL); in krb5int_asn1_encode_a_thing() 389 assert(a->basetype != NULL); in krb5int_asn1_encode_a_thing() 393 assert(a->field != NULL); in krb5int_asn1_encode_a_thing() 397 assert(a->basetype != NULL); in krb5int_asn1_encode_a_thing() 415 assert(a->loadint != NULL); in krb5int_asn1_encode_a_thing() 418 assert(a->loaduint != NULL); in krb5int_asn1_encode_a_thing() [all …]
|
/titanic_50/usr/src/cmd/vntsd/ |
H A D | read.c | 60 assert(clientp); in write_vcc() 61 assert(clientp->cons); in write_vcc() 74 assert(n != 0); in write_vcc() 93 assert(clientp != NULL); in acquire_writer() 96 assert(consp); in acquire_writer() 100 assert(consp->clientpq != NULL); in acquire_writer() 113 assert(rv == VNTSD_SUCCESS); in acquire_writer() 195 assert(rv != VNTSD_STATUS_CONTINUE); in read_char() 211 assert(clientp); in vntsd_read() 227 assert(clientp->cons); in vntsd_read()
|
/titanic_50/usr/src/lib/libc/port/locale/ |
H A D | engine.c | 271 assert(m->coldp != NULL); in matcher() 277 assert(m->coldp < m->endp); in matcher() 314 assert(g->backrefs); /* must be back references doing it */ in matcher() 315 assert(g->nplus == 0 || m->lastpos != NULL); in matcher() 326 assert(m->pmatch[i].rm_so == -1); in matcher() 327 assert(m->pmatch[i].rm_eo == -1); in matcher() 333 assert(dp == NULL || dp == endp); in matcher() 342 assert(start <= stop); in matcher() 351 assert(m->pmatch != NULL); in matcher() 410 assert(0); in dissect() [all …]
|