| /freebsd-12.1/lib/msun/tests/ |
| H A D | lrint_test.c | 50 assert(feclearexcept(FE_ALL_EXCEPT) == 0); \ 51 assert((func)(_d) == (result) || fetestexcept(FE_INVALID)); \ 52 assert(fetestexcept(FE_ALL_EXCEPT) == (excepts)); \ 72 assert(fesetround(FE_DOWNWARD) == 0); in run_tests() 76 assert(fesetround(FE_TONEAREST) == 0); in run_tests() 88 assert(fesetround(FE_UPWARD) == 0); in run_tests() 92 assert(fesetround(FE_DOWNWARD) == 0); in run_tests() 99 assert(fesetround(FE_TOWARDZERO) == 0); in run_tests() 106 assert(fesetround(FE_TONEAREST) == 0); in run_tests() 120 assert(fesetround(FE_TONEAREST) == 0); in run_tests()
|
| /freebsd-12.1/contrib/libarchive/libarchive/test/ |
| H A D | test_write_format_cpio_odc.c | 56 assert((a = archive_write_new()) != NULL); in DEFINE_TEST() 67 assert((entry = archive_entry_new()) != NULL); in DEFINE_TEST() 82 assert((entry = archive_entry_new()) != NULL); in DEFINE_TEST() 97 assert((entry = archive_entry_new()) != NULL); in DEFINE_TEST() 109 assert((entry = archive_entry_new()) != NULL); in DEFINE_TEST() 149 assert(is_octal(e, 76)); /* Entire header is octal digits. */ in DEFINE_TEST() 166 assert(is_octal(e, 76)); /* Entire header is octal digits. */ in DEFINE_TEST() 183 assert(is_octal(e, 76)); in DEFINE_TEST() 199 assert(is_octal(e, 76)); /* Entire header is octal digits. */ in DEFINE_TEST() 203 assert(memcmp(e + 12, "000000", 6) != 0); /* ino must != 0 */ in DEFINE_TEST() [all …]
|
| H A D | test_write_format_pax.c | 42 assert(buff != NULL); in DEFINE_TEST() 45 assert((a = archive_write_new()) != NULL); in DEFINE_TEST() 53 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 68 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 87 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 122 assert((a = archive_read_new()) != NULL); in DEFINE_TEST() 140 assert((S_IFREG | 0755) == archive_entry_mode(ae)); in DEFINE_TEST() 149 assert(archive_entry_atime_is_set(ae)); in DEFINE_TEST() 153 assert(!archive_entry_birthtime_is_set(ae)); in DEFINE_TEST() 156 assert(archive_entry_ctime_is_set(ae)); in DEFINE_TEST() [all …]
|
| H A D | test_write_format_tar_ustar.c | 78 assert((a = archive_write_new()) != NULL); in DEFINE_TEST() 92 assert((entry = archive_entry_new()) != NULL); in DEFINE_TEST() 226 assert(is_null(e + 0, 512)); in DEFINE_TEST() 228 assert(is_null(e + 512, 512)); in DEFINE_TEST() 247 assert(is_null(e + 0, 512)); in DEFINE_TEST() 266 assert(is_null(e + 0, 512)); in DEFINE_TEST() 285 assert(is_null(e + 0, 512)); in DEFINE_TEST() 304 assert(is_null(e + 0, 512)); in DEFINE_TEST() 323 assert(is_null(e + 0, 512)); in DEFINE_TEST() 342 assert(is_null(e + 0, 512)); in DEFINE_TEST() [all …]
|
| H A D | test_write_disk_perms.c | 65 assert(fd > 0); in searchgid() 68 assert(fstat(fd, &st) == 0); in searchgid() 152 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 170 assert((st.st_mode & 07777) != 0144); in DEFINE_TEST() 246 assert(archive_entry_clear(ae) != NULL); in DEFINE_TEST() 254 assert(archive_entry_clear(ae) != NULL); in DEFINE_TEST() 267 assert(archive_entry_clear(ae) != NULL); in DEFINE_TEST() 283 assert(archive_entry_clear(ae) != NULL); in DEFINE_TEST() 296 assert(archive_entry_clear(ae) != NULL); in DEFINE_TEST() 333 assert(archive_entry_clear(ae) != NULL); in DEFINE_TEST() [all …]
|
| H A D | test_write_format_ar.c | 44 assert((a = archive_write_new()) != NULL); in DEFINE_TEST() 49 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 57 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 59 assert(1 == archive_entry_mtime(ae)); in DEFINE_TEST() 68 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 77 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 86 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 93 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 109 assert((a = archive_read_new()) != NULL); in DEFINE_TEST() 145 assert((a = archive_write_new()) != NULL); in DEFINE_TEST() [all …]
|
| H A D | test_read_format_xar.c | 95 assert(archive_entry_hardlink(ae) == NULL); in verify0() 96 assert(archive_entry_symlink(ae) == NULL); in verify0() 119 assert(archive_entry_symlink(ae) == NULL); in verify1() 185 assert(archive_entry_hardlink(ae) == NULL); in verify2() 233 assert(archive_entry_symlink(ae) == NULL); in verify3() 234 assert(archive_entry_hardlink(ae) == NULL); in verify3() 283 assert(archive_entry_symlink(ae) == NULL); in verify4() 374 assert(archive_entry_symlink(ae) == NULL); in verify6() 743 assert((a = archive_read_new()) != NULL); in verify() 766 assert((buff = malloc(100000)) != NULL); in verify() [all …]
|
| H A D | test_archive_match_path.c | 35 if (!assert((m = archive_match_new()) != NULL)) in test_exclusion_mbs() 37 if (!assert((ae = archive_entry_new()) != NULL)) { in test_exclusion_mbs() 78 if (!assert((m = archive_match_new()) != NULL)) in test_exclusion_wcs() 179 if (!assert((m = archive_match_new()) != NULL)) in test_exclusion_from_file_mbs() 188 if (!assert((m = archive_match_new()) != NULL)) in test_exclusion_from_file_mbs() 204 if (!assert((m = archive_match_new()) != NULL)) in test_exclusion_from_file_wcs() 213 if (!assert((m = archive_match_new()) != NULL)) in test_exclusion_from_file_wcs() 230 if (!assert((m = archive_match_new()) != NULL)) in test_inclusion_mbs() 279 if (!assert((m = archive_match_new()) != NULL)) in test_inclusion_wcs() 327 if (!assert((m = archive_match_new()) != NULL)) in test_inclusion_from_file_mbs() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | LowLevelTypeImpl.h | 44 assert(SizeInBits > 0 && "invalid scalar size"); in scalar() 51 assert(SizeInBits > 0 && "invalid pointer size"); in pointer() 59 assert(NumElements > 1 && "invalid number of vector elements"); in vector() 60 assert(ScalarSizeInBits > 0 && "invalid vector element size"); in vector() 67 assert(NumElements > 1 && "invalid number of vector elements"); in vector() 68 assert(!ScalarTy.isVector() && "invalid vector element type"); in vector() 108 assert(RawData != 0 && "Invalid Type"); in getScalarSizeInBits() 123 assert(RawData != 0 && "Invalid Type"); in getAddressSpace() 124 assert(IsPointer && "cannot get address space of non-pointer type"); in getAddressSpace() 203 assert(Val <= Mask && "Value too large for field"); [all …]
|
| H A D | GenericDomTree.h | 123 assert(I != IDom->Children.end() && 150 assert(IDom); 160 assert(C->IDom); 418 assert((!DFSInfoValid || 535 assert(From); 536 assert(To); 553 assert(From); 554 assert(To); 593 assert(Roots.size() == 1); 832 assert(A != B); [all …]
|
| /freebsd-12.1/contrib/ldns/ldns/ |
| H A D | buffer.h | 84 assert(buffer != NULL); in ldns_buffer_invariant() 85 assert(buffer->_position <= buffer->_limit); in ldns_buffer_invariant() 86 assert(buffer->_limit <= buffer->_capacity); in ldns_buffer_invariant() 87 assert(buffer->_data != NULL); in ldns_buffer_invariant() 173 assert(mark <= buffer->_limit); in ldns_buffer_set_position() 187 assert(buffer->_position + count <= buffer->_limit); in ldns_buffer_skip() 211 assert(limit <= buffer->_capacity); in ldns_buffer_set_limit() 259 assert(at <= buffer->_limit); in ldns_buffer_at() 309 assert(at <= buffer->_limit); in ldns_buffer_remaining_at() 362 assert(ldns_buffer_available_at(buffer, at, count)); in ldns_buffer_write_at() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMCallLowering.cpp | 143 assert(VA.getValVT() == MVT::f64 && "Unsupported type"); in assignCustomValue() 149 assert(VA.getValNo() == NextVA.getValNo() && in assignCustomValue() 152 assert(VA.isRegLoc() && "Value should be in reg"); in assignCustomValue() 153 assert(NextVA.isRegLoc() && "Value should be in reg"); in assignCustomValue() 256 assert(VRegs.size() == SplitEVTs.size() && in lowerReturnVal() 358 assert(ValSize <= 64 && "Unsupported value size"); in assignValueToReg() 359 assert(LocSize <= 64 && "Unsupported location size"); in assignValueToReg() 381 assert(VA.getValVT() == MVT::f64 && "Unsupported type"); in assignCustomValue() 387 assert(VA.getValNo() == NextVA.getValNo() && in assignCustomValue() 390 assert(VA.isRegLoc() && "Value should be in reg"); in assignCustomValue() [all …]
|
| /freebsd-12.1/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | bitmap.h | 199 assert(bit < binfo->nbits); in bitmap_get() 211 assert(bit < binfo->nbits); in bitmap_set() 219 assert(bitmap_get(bitmap, binfo, bit)); in bitmap_set() 243 assert(min_bit < binfo->nbits); in bitmap_ffu() 269 assert(sib_base > min_bit); in bitmap_ffu() 270 assert(sib_base > bit); in bitmap_ffu() 279 assert(bit >= min_bit); in bitmap_ffu() 280 assert(bit < binfo->nbits); in bitmap_ffu() 306 assert(!bitmap_full(bitmap, binfo)); in bitmap_sfu() 337 assert(bit < binfo->nbits); in bitmap_unset() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfExpression.cpp | 43 assert((LocationKind == Unknown || LocationKind == Register) && in addReg() 187 assert(LocationKind == Implicit || LocationKind == Unknown); in addSignedConstant() 194 assert(LocationKind == Implicit || LocationKind == Unknown); in addUnsignedConstant() 200 assert(LocationKind == Implicit || LocationKind == Unknown); in addUnsignedConstant() 265 assert(DwarfRegs.size() == 1); in addMachineRegExpression() 355 assert(LocationKind != Register); in addExpression() 376 assert(LocationKind != Register); in addExpression() 385 assert(LocationKind != Register); in addExpression() 392 assert(LocationKind != Register); in addExpression() 396 assert(LocationKind != Register); in addExpression() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGCleanup.cpp | 65 assert(rv.isAggregate()); in save() 273 assert(hasNormalCleanups()); in popNullFixups() 373 assert(Br->isUnconditional()); in TransitionToCleanupSwitch() 427 assert(Old.isValid()); in PopCleanupBlocks() 514 assert(Scope.isNormalCleanup()); in CreateNormalEntry() 639 assert(condition->use_empty()); in destroyOptimisticNormalEntry() 644 assert(entry->use_empty()); in destroyOptimisticNormalEntry() 827 assert(HasEnclosingCleanups); in PopCleanupBlock() 895 assert(BranchThroughDest); in PopCleanupBlock() 932 assert(!IsActive); in PopCleanupBlock() [all …]
|
| /freebsd-12.1/contrib/elftoolchain/libelf/ |
| H A D | elf_update.c | 384 assert(pt == NULL || in _libelf_extent_is_unused() 816 assert(msz != 0); in _libelf_write_scn() 854 assert(ehdr != NULL); in _libelf_write_ehdr() 900 assert(phnum > 0); in _libelf_write_phdr() 912 assert(phoff > 0); in _libelf_write_phdr() 920 assert(fsz > 0); in _libelf_write_phdr() 970 assert(nscn > 0); in _libelf_write_shdr() 1027 assert(e->e_fd >= 0); in _libelf_write_elf() 1064 assert(0); in _libelf_write_elf() 1069 assert(rc < nrc); in _libelf_write_elf() [all …]
|
| /freebsd-12.1/sys/contrib/libsodium/test/default/ |
| H A D | aead_xchacha20poly1305.c | 40 assert(sizeof MESSAGE - 1U == MLEN); in tv() 178 … assert(crypto_aead_xchacha20poly1305_ietf_abytes() == crypto_aead_xchacha20poly1305_ietf_ABYTES); in tv() 179 …assert(crypto_aead_xchacha20poly1305_ietf_keybytes() == crypto_aead_xchacha20poly1305_ietf_KEYBYTE… in tv() 180 …assert(crypto_aead_xchacha20poly1305_ietf_npubbytes() == crypto_aead_xchacha20poly1305_ietf_NPUBBY… in tv() 181 assert(crypto_aead_xchacha20poly1305_ietf_nsecbytes() == 0U); in tv() 182 …assert(crypto_aead_xchacha20poly1305_ietf_nsecbytes() == crypto_aead_xchacha20poly1305_ietf_NSECBY… in tv() 184 …assert(crypto_aead_xchacha20poly1305_IETF_KEYBYTES == crypto_aead_xchacha20poly1305_ietf_KEYBYTES… in tv() 185 …assert(crypto_aead_xchacha20poly1305_IETF_NSECBYTES == crypto_aead_xchacha20poly1305_ietf_NSECBYTE… in tv() 186 …assert(crypto_aead_xchacha20poly1305_IETF_NPUBBYTES == crypto_aead_xchacha20poly1305_ietf_NPUBBYTE… in tv() 187 … assert(crypto_aead_xchacha20poly1305_IETF_ABYTES == crypto_aead_xchacha20poly1305_ietf_ABYTES); in tv() [all …]
|
| /freebsd-12.1/crypto/heimdal/lib/sqlite/ |
| H A D | sqlite3.c | 17985 assert( p ); in winMutexFree() 39356 assert( 40265 assert( 0 ); 40273 assert( 56266 assert( p ); 56272 assert( p ); 57229 assert( 1 >= 61889 assert(p); 74480 assert(v); 83893 assert( v ); [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | IntervalMap.cpp | 20 assert(!path.empty() && "Can't replace missing root"); in replaceRoot() 49 assert(Level != 0 && "Cannot move the root node"); in moveLeft() 56 assert(l != 0 && "Cannot move beyond begin()"); in moveLeft() 99 assert(Level != 0 && "Cannot move the root node"); in moveRight() 123 assert(Elements + Grow <= Nodes * Capacity && "Not enough room for elements"); in distribute() 124 assert(Position <= Elements && "Invalid position"); in distribute() 138 assert(Sum == Elements + Grow && "Bad distribution sum"); in distribute() 142 assert(PosPair.first < Nodes && "Bad algebra"); in distribute() 143 assert(NewSize[PosPair.first] && "Too few elements to need Grow"); in distribute() 150 assert(NewSize[n] <= Capacity && "Overallocated node"); in distribute() [all …]
|
| H A D | Mutex.cpp | 56 assert(errorcode == 0); (void)errorcode; in MutexImpl() 62 assert(errorcode == 0); in MutexImpl() 66 assert(errorcode == 0); in MutexImpl() 70 assert(errorcode == 0); in MutexImpl() 80 assert(mutex != nullptr); in ~MutexImpl() 89 assert(mutex != nullptr); in acquire() 99 assert(mutex != nullptr); in release() 109 assert(mutex != nullptr); in tryacquire()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Designator.h | 75 assert(isFieldDesignator() && "Invalid accessor"); in getField() 80 assert(isFieldDesignator() && "Invalid accessor"); in getDotLoc() 85 assert(isFieldDesignator() && "Invalid accessor"); in getFieldLoc() 90 assert(isArrayDesignator() && "Invalid accessor"); in getArrayIndex() 95 assert(isArrayRangeDesignator() && "Invalid accessor"); in getArrayRangeStart() 99 assert(isArrayRangeDesignator() && "Invalid accessor"); in getArrayRangeEnd() 104 assert((isArrayDesignator() || isArrayRangeDesignator()) && in getLBracketLoc() 113 assert((isArrayDesignator() || isArrayRangeDesignator()) && in getRBracketLoc() 122 assert(isArrayRangeDesignator() && "Invalid accessor"); in getEllipsisLoc() 161 assert((isArrayDesignator() || isArrayRangeDesignator()) && in setRBracketLoc() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/MCA/ |
| H A D | Instruction.cpp | 23 assert(DependentWrites); in writeStartEvent() 24 assert(CyclesLeft == UNKNOWN_CYCLES); in writeStartEvent() 41 assert(CyclesLeft == UNKNOWN_CYCLES); in onInstructionIssued() 81 assert(!PartialWrite && "PartialWrite already set!"); in addUser() 130 assert(Stage == IS_INVALID); in dispatch() 139 assert(Stage == IS_READY); in execute() 154 assert(Stage == IS_READY && "Invalid internal state!"); in forceExecuted() 160 assert(isDispatched() && "Unexpected instruction stage found!"); in update() 193 assert(isExecuting() && "Instruction not in-flight?"); in cycleEvent() 194 assert(CyclesLeft && "Instruction already executed?"); in cycleEvent()
|
| /freebsd-12.1/contrib/jemalloc/src/ |
| H A D | background_thread.c | 134 assert(decay_interval_ns > 0); 165 assert(lb + 2 <= ub); 235 assert(ret == 0); 344 assert(ret == NULL); 472 assert(info->state == 540 assert(have_background_thread); 672 assert(decay_interval_ns > 0); 696 assert(h_steps_max >= 769 assert(ret == 0); 778 assert(config_stats); [all …]
|
| /freebsd-12.1/sys/contrib/libsodium/src/libsodium/crypto_generichash/blake2b/ref/ |
| H A D | generichash_blake2b.c | 19 assert(outlen <= UINT8_MAX); in crypto_generichash_blake2b() 20 assert(keylen <= UINT8_MAX); in crypto_generichash_blake2b() 36 assert(outlen <= UINT8_MAX); in crypto_generichash_blake2b_salt_personal() 37 assert(keylen <= UINT8_MAX); in crypto_generichash_blake2b_salt_personal() 53 assert(outlen <= UINT8_MAX); in crypto_generichash_blake2b_init() 54 assert(keylen <= UINT8_MAX); in crypto_generichash_blake2b_init() 76 assert(outlen <= UINT8_MAX); in crypto_generichash_blake2b_init_salt_personal() 77 assert(keylen <= UINT8_MAX); in crypto_generichash_blake2b_init_salt_personal() 103 assert(outlen <= UINT8_MAX); in crypto_generichash_blake2b_final()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Instructions.cpp | 658 assert((int)getNumOperands() == in init() 900 assert(NumOperands >= 1); in growOperands() 1040 assert(isConditional() && in swapSuccessors() 1057 assert(!isa<BasicBlock>(Amt) && in getAISize() 1208 assert(getOperand(0)->getType() == in AssertOK() 2521 assert( in isEliminableCastPair() 2541 assert( in isEliminableCastPair() 2553 assert( in isEliminableCastPair() 2672 assert((!Ty->isVectorTy() || in CreatePointerCast() 2690 assert((!Ty->isVectorTy() || in CreatePointerCast() [all …]
|