| /freebsd-12.1/contrib/libarchive/libarchive/test/ |
| H A D | test_write_format_cpio.c | 43 assert((a = archive_write_new()) != NULL); in test_format() 53 assert(1 == archive_entry_mtime(ae)); in test_format() 73 assert(1 == archive_entry_mtime(ae)); in test_format() 96 assert(archive_error_string(a) == NULL); in test_format() 107 assert(archive_error_string(a) != NULL); in test_format() 117 assert(archive_error_string(a) != NULL); in test_format() 165 assert(damaged == 1); in test_format() 183 assert(0 == archive_entry_atime(ae)); in test_format() 184 assert(0 == archive_entry_ctime(ae)); in test_format() 208 assert(0 == archive_entry_atime(ae)); in test_format() [all …]
|
| H A D | test_write_format_iso9660.c | 48 assert(buff != NULL); in DEFINE_TEST() 51 assert((a = archive_write_new()) != NULL); in DEFINE_TEST() 59 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 75 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 206 assert((a = archive_read_new()) != NULL); in DEFINE_TEST() 420 assert(archive_entry_atime_is_set(ae)); in DEFINE_TEST() 425 assert(archive_entry_ctime_is_set(ae)); in DEFINE_TEST() 427 assert(archive_entry_mtime_is_set(ae)); in DEFINE_TEST() 489 assert(archive_entry_atime_is_set(ae)); in DEFINE_TEST() 493 assert(archive_entry_ctime_is_set(ae)); in DEFINE_TEST() [all …]
|
| H A D | test_read_format_raw.c | 43 assert((a = archive_read_new()) != NULL); in DEFINE_TEST() 54 assert(!archive_entry_size_is_set(ae)); in DEFINE_TEST() 55 assert(!archive_entry_atime_is_set(ae)); in DEFINE_TEST() 56 assert(!archive_entry_ctime_is_set(ae)); in DEFINE_TEST() 57 assert(!archive_entry_mtime_is_set(ae)); in DEFINE_TEST() 84 assert(!archive_entry_size_is_set(ae)); in DEFINE_TEST() 85 assert(!archive_entry_atime_is_set(ae)); in DEFINE_TEST() 86 assert(!archive_entry_ctime_is_set(ae)); in DEFINE_TEST() 112 assert(!archive_entry_size_is_set(ae)); in DEFINE_TEST() 136 assert(archive_entry_mtime_is_set(ae)); in DEFINE_TEST() [all …]
|
| H A D | test_write_disk.c | 216 assert(NULL != fname); in create_reg_file_win() 231 assert(0 == _wstat(fname, &st)); in create_reg_file_win() 251 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 258 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 265 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 272 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 279 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 286 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 293 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 300 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() [all …]
|
| H A D | test_link_resolver.c | 48 assert(e2 == NULL); in test_linkify_tar() 58 assert(e2 == NULL); in test_linkify_tar() 65 assert(e2 == NULL); in test_linkify_tar() 79 assert(e2 == NULL); in test_linkify_tar() 85 assert(e2 == NULL); in test_linkify_tar() 113 assert(e2 == NULL); in test_linkify_old_cpio() 119 assert(e2 == NULL); in test_linkify_old_cpio() 148 assert(e2 == NULL); in test_linkify_new_cpio() 159 assert(entry == NULL); in test_linkify_new_cpio() 160 assert(e2 == NULL); in test_linkify_new_cpio() [all …]
|
| H A D | test_archive_string.c | 46 assert(NULL != (as).s); \ 83 assert(&s == archive_strcat(&s, "")); in test_archive_strcat() 87 assert(&s == archive_strcat(&s, "")); in test_archive_strcat() 95 assert(&s == archive_strcat(&s, "baz")); in test_archive_strcat() 183 assert(&s == archive_strcpy(&s, "foo")); in test_archive_strcpy() 187 assert(&s == archive_strcpy(&s, "")); in test_archive_strcpy() 213 assert(&s == archive_strcpy(&s, "")); in test_archive_string_concat() 219 assert(&s == archive_strcpy(&s, "foo")); in test_archive_string_concat() 225 assert(&s == archive_strcpy(&s, "")); in test_archive_string_concat() 226 assert(&t == archive_strcpy(&t, "")); in test_archive_string_concat() [all …]
|
| /freebsd-12.1/lib/msun/tests/ |
| H A D | ilogb_test.c | 46 assert(ilogb(0) == FP_ILOGB0); in main() 47 assert(ilogb(NAN) == FP_ILOGBNAN); in main() 48 assert(ilogb(INFINITY) == INT_MAX); in main() 52 assert(*end == '\0'); in main() 54 assert(i == e); in main() 58 assert(ilogbf(0) == FP_ILOGB0); in main() 64 assert(*end == '\0'); in main() 66 assert(i == e); in main() 70 assert(ilogbl(0) == FP_ILOGB0); in main() 76 assert(*end == '\0'); in main() [all …]
|
| /freebsd-12.1/contrib/openbsm/bin/auditdistd/ |
| H A D | pjdlog.c | 67 assert(n >= 1); in pjdlog_printf_arginfo_humanized_number() 93 assert(n >= 1); in pjdlog_printf_arginfo_sockaddr() 191 assert(pjdlog_initialized == PJDLOG_INITIALIZED); in pjdlog_fini() 214 assert(pjdlog_initialized == PJDLOG_INITIALIZED); in pjdlog_mode_set() 253 assert(level >= 0); in pjdlog_debug_set() 296 assert(fmt != NULL); in pjdlogv_prefix_set() 330 assert(!"Invalid log level."); in pjdlog_level_string() 364 assert(loglevel != LOG_DEBUG || debuglevel > 0); in pjdlogv_common() 365 assert(error >= -1); in pjdlogv_common() 395 assert(!"Invalid loglevel."); in pjdlogv_common() [all …]
|
| /freebsd-12.1/sbin/hastd/ |
| H A D | pjdlog.c | 67 assert(n >= 1); in pjdlog_printf_arginfo_humanized_number() 93 assert(n >= 1); in pjdlog_printf_arginfo_sockaddr() 188 assert(pjdlog_initialized == PJDLOG_INITIALIZED); in pjdlog_fini() 211 assert(pjdlog_initialized == PJDLOG_INITIALIZED); in pjdlog_mode_set() 250 assert(level >= 0); in pjdlog_debug_set() 293 assert(fmt != NULL); in pjdlogv_prefix_set() 327 assert(!"Invalid log level."); in pjdlog_level_string() 361 assert(loglevel != LOG_DEBUG || debuglevel > 0); in pjdlogv_common() 362 assert(error >= -1); in pjdlogv_common() 392 assert(!"Invalid loglevel."); in pjdlogv_common() [all …]
|
| /freebsd-12.1/usr.sbin/nscd/ |
| H A D | parser.c | 105 assert(res == 0); in find_create_entry() 135 assert(ttl >= 0); in set_positive_time_to_live() 157 assert(nttl > 0); in set_negative_time_to_live() 163 assert(entry != NULL); in set_negative_time_to_live() 181 assert(entry != NULL); in set_positive_confidence_threshold() 197 assert(entry != NULL); in set_negative_confidence_threshold() 212 assert(count >= 0); in set_keep_hot_count() 216 assert(entry != NULL); in set_keep_hot_count() 220 assert(entry != NULL); in set_keep_hot_count() 283 assert(size > 0); in set_suggested_size() [all …]
|
| /freebsd-12.1/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | arena_inlines_b.h | 14 assert(ptr != NULL); in arena_prof_tctx_get() 34 assert(ptr != NULL); in arena_prof_tctx_set() 52 assert(ptr != NULL); in arena_prof_tctx_reset() 90 assert(size != 0); in arena_malloc() 115 assert(ptr != NULL); in arena_salloc() 122 assert(szind != NSIZES); in arena_salloc() 155 assert(szind != NSIZES); in arena_vsalloc() 162 assert(ptr != NULL); in arena_dalloc_no_tcache() 193 assert(ptr != NULL); in arena_dalloc() 244 assert(ptr != NULL); in arena_sdalloc_no_tcache() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
| H A D | MPIFunctionClassifier.cpp | 34 assert(IdentInfo_MPI_Send); in initPointToPointIdentifiers() 40 assert(IdentInfo_MPI_Isend); in initPointToPointIdentifiers() 45 assert(IdentInfo_MPI_Ssend); in initPointToPointIdentifiers() 51 assert(IdentInfo_MPI_Issend); in initPointToPointIdentifiers() 56 assert(IdentInfo_MPI_Bsend); in initPointToPointIdentifiers() 62 assert(IdentInfo_MPI_Ibsend); in initPointToPointIdentifiers() 67 assert(IdentInfo_MPI_Rsend); in initPointToPointIdentifiers() 72 assert(IdentInfo_MPI_Irsend); in initPointToPointIdentifiers() 77 assert(IdentInfo_MPI_Recv); in initPointToPointIdentifiers() 83 assert(IdentInfo_MPI_Irecv); in initPointToPointIdentifiers() [all …]
|
| /freebsd-12.1/sys/contrib/libsodium/test/default/ |
| H A D | kdf.c | 26 assert(ret == 0); in tv_kdf() 49 assert(crypto_kdf_BYTES_MAX > 0); in tv_kdf() 50 assert(crypto_kdf_BYTES_MIN <= crypto_kdf_BYTES_MAX); in tv_kdf() 51 assert(crypto_kdf_bytes_min() == crypto_kdf_BYTES_MIN); in tv_kdf() 52 assert(crypto_kdf_bytes_max() == crypto_kdf_BYTES_MAX); in tv_kdf() 53 assert(crypto_kdf_CONTEXTBYTES > 0); in tv_kdf() 54 assert(crypto_kdf_contextbytes() == crypto_kdf_CONTEXTBYTES); in tv_kdf() 55 assert(crypto_kdf_KEYBYTES >= 16); in tv_kdf() 56 assert(crypto_kdf_keybytes() == crypto_kdf_KEYBYTES); in tv_kdf() 57 assert(crypto_kdf_bytes_min() == crypto_kdf_blake2b_bytes_min()); in tv_kdf() [all …]
|
| H A D | pwhash_scrypt.c | 283 assert(out != NULL); in tv3() 286 assert(passwd != NULL); in tv3() 358 assert(crypto_pwhash_scryptsalsa208sha256_str_needs_rehash in str_tests() 360 assert(crypto_pwhash_str_needs_rehash(str_out, 0, 0) == -1); in str_tests() 362 assert(crypto_pwhash_scryptsalsa208sha256_str_needs_rehash in str_tests() 378 assert(crypto_pwhash_scryptsalsa208sha256_bytes_min() > 0U); in main() 379 assert(crypto_pwhash_scryptsalsa208sha256_bytes_max() > in main() 381 assert(crypto_pwhash_scryptsalsa208sha256_passwd_max() > in main() 383 assert(crypto_pwhash_scryptsalsa208sha256_saltbytes() > 0U); in main() 384 assert(crypto_pwhash_scryptsalsa208sha256_strbytes() > 1U); in main() [all …]
|
| H A D | auth.c | 25 assert(crypto_auth_hmacsha512_statebytes() == in main() 68 assert(crypto_auth_bytes() > 0U); in main() 69 assert(crypto_auth_keybytes() > 0U); in main() 70 assert(strcmp(crypto_auth_primitive(), "hmacsha512256") == 0); in main() 71 assert(crypto_auth_hmacsha256_bytes() > 0U); in main() 72 assert(crypto_auth_hmacsha256_keybytes() > 0U); in main() 73 assert(crypto_auth_hmacsha512_bytes() > 0U); in main() 74 assert(crypto_auth_hmacsha512_keybytes() > 0U); in main() 77 assert(crypto_auth_hmacsha512256_statebytes() >= in main() 79 assert(crypto_auth_hmacsha256_statebytes() == in main() [all …]
|
| /freebsd-12.1/contrib/jemalloc/src/ |
| H A D | pages.c | 57 assert(size != 0); in os_pages_map() 81 assert(ret != NULL); in os_pages_map() 173 assert(ret != NULL); in pages_map_slow() 174 assert(PAGE_ADDR2BASE(ret) == ret); in pages_map_slow() 180 assert(alignment >= PAGE); in pages_map() 201 assert(addr == NULL); in pages_map() 207 assert(PAGE_ADDR2BASE(ret) == ret); in pages_map() 214 assert(PAGE_CEILING(size) == size); in pages_unmap() 222 assert(PAGE_CEILING(size) == size); in pages_commit_impl() 265 assert(PAGE_CEILING(size) == size); in pages_purge_lazy() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86ELFObjectWriter.cpp | 130 assert(!IsPCRel); in getRelocType64() 133 assert(!IsPCRel); in getRelocType64() 145 assert(!IsPCRel); in getRelocType64() 157 assert(!IsPCRel); in getRelocType64() 250 assert(!IsPCRel); in getRelocType32() 254 assert(!IsPCRel); in getRelocType32() 258 assert(!IsPCRel); in getRelocType32() 262 assert(!IsPCRel); in getRelocType32() 266 assert(!IsPCRel); in getRelocType32() 273 assert(!IsPCRel); in getRelocType32() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/CodeGen/ |
| H A D | CGFunctionInfo.h | 105 assert(canHavePaddingType()); in setPaddingType() 110 assert(isCoerceAndExpand()); in setUnpaddedCoerceToType() 241 assert(unpaddedIndex == 1); in getCoerceAndExpand() 284 assert(isExtend() && "Invalid kind!"); in isSignExt() 288 assert(isExtend() && "Invalid kind!"); in setSignExt() 314 assert(isCoerceAndExpand()); in getCoerceAndExpandType() 319 assert(isCoerceAndExpand()); in getUnpaddedCoerceAndExpandType() 324 assert(isCoerceAndExpand()); in getCoerceAndExpandTypeSequence() 435 assert(n != ~0U); in RequiredArgs() 473 assert(allowsOptionalArgs()); in getNumRequiredArgs() [all …]
|
| /freebsd-12.1/contrib/libarchive/cpio/test/ |
| H A D | test_option_c.c | 122 assert(is_octal(e + 6, 6)); /* dev */ in DEFINE_TEST() 124 assert(is_octal(e + 12, 6)); /* ino */ in DEFINE_TEST() 135 assert(is_octal(e + 30, 6)); /* gid */ in DEFINE_TEST() 142 assert(t <= now); /* File wasn't created in future. */ in DEFINE_TEST() 155 assert(ino != from_octal(e + 12, 6)); /* ino */ in DEFINE_TEST() 178 assert(is_octal(e, 76)); in DEFINE_TEST() 181 assert(is_octal(e + 6, 6)); /* dev */ in DEFINE_TEST() 184 assert(is_octal(e + 12, 6)); /* ino */ in DEFINE_TEST() 185 assert(ino != from_octal(e + 12, 6)); in DEFINE_TEST() 196 assert(is_octal(e + 30, 6)); /* gid */ in DEFINE_TEST() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | DbiModuleList.cpp | 51 assert(Modi == R.Modi); in operator ==() 52 assert(!isEnd()); in operator ==() 53 assert(!R.isEnd()); in operator ==() 60 assert(isCompatible(R)); in operator <() 73 assert(isCompatible(R)); in operator -() 74 assert(!(*this < R)); in operator -() 80 assert(!R.isEnd()); in operator -() 92 assert(Thisi >= R.Filei); in operator -() 98 assert(!isEnd()); in operator +=() 112 assert(N <= Filei); in operator -=() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | LazyCallGraph.cpp | 227 assert(N->DFSNumber == -1 && in verify() 229 assert(N->LowLink == -1 && in verify() 641 assert(C != &TargetSCC && in switchInternalEdgeToCall() 750 assert(DFSStack.empty() && in switchInternalEdgeToRef() 1182 assert(DFSStack.empty() && in removeInternalRefEdge() 1452 assert(OldF.use_empty() && in replaceNodeFunction() 1464 assert(SCCMap.empty() && in insertEdge() 1471 assert(SCCMap.empty() && in removeEdge() 1482 assert(F.use_empty() && in removeDeadFunction() 1487 assert(!isLibFunction(F) && in removeDeadFunction() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/ |
| H A D | VariadicMacroSupport.h | 43 assert( in VariadicMacroScopeGuard() 98 assert(isInVAOpt() && "Must be within VAOPT context to call this"); in getUnmatchedOpeningParenLoc() 106 assert(isInVAOpt() && "Must be within VAOPT context to call this"); in sawClosingParen() 113 assert(isInVAOpt() && "Must be within VAOPT context to call this"); in sawOpeningParen() 142 assert(!isReset() && in hasStringifyBefore() 181 assert(!isReset() && in hasCharifyBefore() 190 assert(!isReset() && in getNumberOfTokensPriorToVAOpt() 196 assert(hasStringifyBefore() && in getLeadingSpaceForStringifiedToken() 208 assert(NumOfTokensPriorToVAOpt > -1 && in sawVAOptFollowedByOpeningParens() 213 assert(!isReset() && in getVAOptLoc() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | APValue.h | 253 assert(isInt() && "Invalid accessor"); in getInt() 267 assert(isFloat() && "Invalid accessor"); in getFloat() 332 assert(isArray() && "Invalid accessor"); in getArrayInitializedElt() 343 assert(isArray() && "Invalid accessor"); in getArrayFiller() 351 assert(isArray() && "Invalid accessor"); in getArrayInitializedElts() 355 assert(isArray() && "Invalid accessor"); in getArraySize() 383 assert(isUnion() && "Invalid accessor"); in getUnionField() 387 assert(isUnion() && "Invalid accessor"); in getUnionValue() 408 assert(isInt() && "Invalid accessor"); in setInt() 412 assert(isFloat() && "Invalid accessor"); in setFloat() [all …]
|
| H A D | RecordLayout.h | 204 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getNonVirtualSize() 212 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getNonVirtualAlignment() 219 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getPrimaryBase() 227 assert(CXXInfo && "Record layout does not have C++ specific info!"); in isPrimaryBaseVirtual() 234 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getBaseClassOffset() 235 assert(CXXInfo->BaseOffsets.count(Base) && "Did not find base!"); in getBaseClassOffset() 242 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getVBaseClassOffset() 243 assert(CXXInfo->VBaseOffsets.count(VBase) && "Did not find base!"); in getVBaseClassOffset() 249 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getSizeOfLargestEmptySubobject() 261 assert(CXXInfo && "Record layout does not have C++ specific info!"); in hasOwnVFPtr() [all …]
|
| /freebsd-12.1/crypto/openssl/crypto/bio/ |
| H A D | bss_bio.c | 100 assert(b != NULL); in bio_free() 123 assert(b != NULL); in bio_read() 126 assert(peer_b != NULL); in bio_read() 158 assert(rest > 0); in bio_read() 213 assert(b != NULL); in bio_nread0() 232 assert(num > 0); in bio_nread0() 282 assert(b != NULL); in bio_write() 308 assert(rest > 0); in bio_write() 359 assert(b != NULL); in bio_nwrite0() 411 assert(b != NULL); in bio_nwrite() [all …]
|