| /freebsd-13.1/contrib/libarchive/cpio/test/ |
| H A D | test_format_newc.c | 225 assert(is_hex(e + 78, 8)); /* rdevmajor */ in DEFINE_TEST() 226 assert(is_hex(e + 86, 8)); /* rdevminor */ in DEFINE_TEST() 238 assert(is_hex(e, 110)); in DEFINE_TEST() 240 assert(is_hex(e + 6, 8)); /* ino */ in DEFINE_TEST() 271 assert(is_hex(e, 110)); in DEFINE_TEST() 273 assert(is_hex(e + 6, 8)); /* ino */ in DEFINE_TEST() 295 assert(is_hex(e + 78, 8)); /* rdevmajor */ in DEFINE_TEST() 296 assert(is_hex(e + 86, 8)); /* rdevminor */ in DEFINE_TEST() 307 assert(is_hex(e, 110)); in DEFINE_TEST() 329 assert(is_hex(e + 78, 8)); /* rdevmajor */ in DEFINE_TEST() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | RegisterBankInfo.cpp | 73 assert(Idx == RegBank.getID() && in verify() 127 assert(RegBank.covers(*RC) && in getRegBankFromConstraints() 502 assert(RC && "Expecting Register class"); in getSizeInBits() 519 assert(RegBank && "Register bank not set"); in verify() 520 assert(Length && "Empty mapping"); in verify() 560 assert(OrigValueBitWidth >= MeaningfulBitWidth && in verify() 602 assert(MI.getParent() && MI.getMF() && in verify() 611 assert(!getOperandMapping(Idx).isValid() && in verify() 618 assert(getOperandMapping(Idx).isValid() && in verify() 624 assert(MOMapping.verify(RBI->getSizeInBits( in verify() [all …]
|
| H A D | RegBankSelect.cpp | 84 assert(RBI && "Cannot work without RegisterBankInfo"); in init() 157 assert((RepairPt.getNumInsertPoints() == 1 || in repairReg() 181 assert( in repairReg() 247 assert(CurRegBank || MO.isDef()); in getRepairCost() 292 assert(!PossibleMappings.empty() && in findBestMapping() 332 assert(&MI.getOperand(RepairPt.getOpIdx()) == &MO && in tryAvoidingSplit() 366 assert(MI.isTerminator() && MO.isDef() && in tryAvoidingSplit() 602 assert(ValMapping.NumBreakDowns == 1 && in applyMapping() 628 assert((Opc == TargetOpcode::G_ASSERT_ZEXT || in assignInstr() 874 assert((!Before || !Instr.isPHI()) && in InstrInsertPoint() [all …]
|
| /freebsd-13.1/contrib/libarchive/libarchive/test/ |
| H A D | test_write_format_iso9660_zisofs.c | 108 assert(buff != NULL); in test_write_format_iso9660_zisofs_1() 113 assert((a = archive_write_new()) != NULL); in test_write_format_iso9660_zisofs_1() 244 assert((a = archive_read_new()) != NULL); in test_write_format_iso9660_zisofs_1() 340 assert(buff != NULL); in test_write_format_iso9660_zisofs_2() 593 assert(buff != NULL); in test_write_format_iso9660_zisofs_3() 682 assert(buff[2048*17+i] == 0); in test_write_format_iso9660_zisofs_3() 685 assert(buff[2048*17+0x47] == 0x20); in test_write_format_iso9660_zisofs_3() 686 assert(buff[2048*17+0x48] == 0x00); in test_write_format_iso9660_zisofs_3() 687 assert(buff[2048*17+0x49] == 0x00); in test_write_format_iso9660_zisofs_3() 688 assert(buff[2048*17+0x4a] == 0x00); in test_write_format_iso9660_zisofs_3() [all …]
|
| H A D | test_write_format_zip.c | 59 assert((ae = archive_entry_new()) != NULL); in write_contents() 72 assert((ae = archive_entry_new()) != NULL); in write_contents() 84 assert((ae = archive_entry_new()) != NULL); in write_contents() 96 assert((ae = archive_entry_new()) != NULL); in write_contents() 114 assert((ae = archive_entry_new()) != NULL); in write_contents() 294 assert(archive_entry_size_is_set(ae)); in verify_contents() 313 assert(archive_entry_size_is_set(ae)); in verify_contents() 380 assert(archive_entry_size_is_set(ae)); in verify_contents() 398 assert(archive_entry_size_is_set(ae)); in verify_contents() 465 assert(archive_entry_size_is_set(ae)); in verify_contents() [all …]
|
| H A D | test_write_read_format_zip.c | 56 assert((ae = archive_entry_new()) != NULL); in write_contents() 292 assert(archive_entry_size_is_set(ae)); in verify_contents() 309 assert(archive_entry_size_is_set(ae)); in verify_contents() 349 assert(archive_entry_size_is_set(ae)); in verify_contents() 362 assert(archive_entry_size_is_set(ae)); in verify_contents() 382 assert(archive_entry_size_is_set(ae)); in verify_contents() 399 assert(archive_entry_size_is_set(ae)); in verify_contents() 452 assert(archive_entry_size_is_set(ae)); in verify_contents() 471 assert(archive_entry_size_is_set(ae)); in verify_contents() 472 assert(archive_entry_size_is_set(ae)); in verify_contents() [all …]
|
| H A D | test_write_disk_symlink.c | 51 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 62 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 78 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 92 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 103 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 114 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 125 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 136 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 147 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() 158 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST() [all …]
|
| /freebsd-13.1/sys/contrib/libsodium/test/default/ |
| H A D | generichash2.c | 15 assert(crypto_generichash_statebytes() >= sizeof *st); in main() 46 assert(crypto_generichash_init(st, k, sizeof k, 0U) == -1); in main() 47 assert(crypto_generichash_init(st, k, sizeof k, in main() 49 assert(crypto_generichash_init(st, k, crypto_generichash_KEYBYTES_MAX + 1U, in main() 51 assert(crypto_generichash_init(st, k, 0U, sizeof out) == 0); in main() 52 assert(crypto_generichash_init(st, k, 1U, sizeof out) == 0); in main() 53 assert(crypto_generichash_init(st, NULL, 1U, 0U) == -1); in main() 54 assert(crypto_generichash_init(st, NULL, crypto_generichash_KEYBYTES, in main() 56 assert(crypto_generichash_init(st, NULL, crypto_generichash_KEYBYTES, in main()
|
| /freebsd-13.1/contrib/libcbor/src/cbor/ |
| H A D | bytestrings.c | 13 assert(cbor_isa_bytestring(item)); in cbor_bytestring_length() 18 assert(cbor_isa_bytestring(item)); in cbor_bytestring_handle() 23 assert(cbor_isa_bytestring(item)); in cbor_bytestring_is_definite() 73 assert(cbor_isa_bytestring(item)); in cbor_bytestring_set_handle() 74 assert(cbor_bytestring_is_definite(item)); in cbor_bytestring_set_handle() 80 assert(cbor_isa_bytestring(item)); in cbor_bytestring_chunks_handle() 81 assert(cbor_bytestring_is_indefinite(item)); in cbor_bytestring_chunks_handle() 86 assert(cbor_isa_bytestring(item)); in cbor_bytestring_chunk_count() 87 assert(cbor_bytestring_is_indefinite(item)); in cbor_bytestring_chunk_count() 92 assert(cbor_isa_bytestring(item)); in cbor_bytestring_add_chunk() [all …]
|
| H A D | strings.c | 65 assert(cbor_isa_string(item)); in cbor_string_set_handle() 66 assert(cbor_string_is_definite(item)); in cbor_string_set_handle() 72 assert(cbor_isa_string(item)); in cbor_string_chunks_handle() 73 assert(cbor_string_is_indefinite(item)); in cbor_string_chunks_handle() 78 assert(cbor_isa_string(item)); in cbor_string_chunk_count() 79 assert(cbor_string_is_indefinite(item)); in cbor_string_chunk_count() 84 assert(cbor_isa_string(item)); in cbor_string_add_chunk() 112 assert(cbor_isa_string(item)); in cbor_string_length() 117 assert(cbor_isa_string(item)); in cbor_string_handle() 122 assert(cbor_isa_string(item)); in cbor_string_codepoint_count() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Option/ |
| H A D | Option.h | 88 assert(Info && "Must have a valid info!"); in getID() 93 assert(Info && "Must have a valid info!"); in getKind() 99 assert(Info && "Must have a valid info!"); in getName() 104 assert(Info && "Must have a valid info!"); in getGroup() 105 assert(Owner && "Must have a valid owner!"); in getGroup() 110 assert(Info && "Must have a valid info!"); in getAlias() 111 assert(Owner && "Must have a valid owner!"); in getAlias() 118 assert(Info && "Must have a valid info!"); in getAliasArgs() 119 assert((!Info->AliasArgs || Info->AliasArgs[0] != 0) && in getAliasArgs() 140 assert(Info && "Must have a valid info!"); in getHelpText() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | TypeLocBuilder.cpp | 45 assert(NewCapacity > Capacity); in grow() 65 assert(TLast == LastTy && in pushImpl() 70 assert(LocalAlignment <= BufferMaxAlignment && "Unexpected alignment"); in pushImpl() 97 assert(LocalSize % 8 == 4); in pushImpl() 103 assert(Padding == 4); in pushImpl() 108 assert(LocalSize % 8 == 4); in pushImpl() 131 assert(LocalSize % 8 == 4); in pushImpl() 137 assert(Padding == 4); in pushImpl() 142 assert(LocalSize % 8 == 4); in pushImpl() 154 assert(LocalSize == 0); in pushImpl() [all …]
|
| /freebsd-13.1/lib/libcasper/libcasper/ |
| H A D | service.c | 118 assert(service->s_magic == SERVICE_MAGIC); in service_free() 134 assert(service->s_magic == SERVICE_MAGIC); in service_connection_add() 169 assert(service->s_magic == SERVICE_MAGIC); in service_connection_remove() 210 assert(sconn == NULL || in service_connection_first() 222 assert(sconn == NULL || in service_connection_next() 396 assert(*sockp > STDERR_FILENO); in service_clean() 397 assert(*procfdp > STDERR_FILENO); in service_clean() 398 assert(*sockp != *procfdp); in service_clean() 427 assert(service != NULL); in service_start() 444 assert(maxfd >= 0); in service_start() [all …]
|
| H A D | libcasper.c | 119 assert(ret); in cap_init() 158 assert(chan != NULL); in cap_unwrap() 159 assert(chan->cch_magic == CAP_CHANNEL_MAGIC); in cap_unwrap() 179 assert(chan != NULL); in cap_clone() 180 assert(chan->cch_magic == CAP_CHANNEL_MAGIC); in cap_clone() 210 assert(chan != NULL); in cap_close() 224 assert(chan != NULL); in cap_sock() 283 assert(chan != NULL); in cap_send_nvlist() 293 assert(chan != NULL); in cap_recv_nvlist() 304 assert(chan != NULL); in cap_xfer_nvlist() [all …]
|
| /freebsd-13.1/crypto/openssh/regress/unittests/test_helper/ |
| H A D | fuzz.c | 219 assert(p != NULL); in fuzz_begin() 220 assert(ret != NULL); in fuzz_begin() 222 assert(ret->seed != NULL); in fuzz_begin() 252 assert(fuzz != NULL); in fuzz_cleanup() 253 assert(fuzz->seed != NULL); in fuzz_cleanup() 254 assert(fuzz->fuzzed != NULL); in fuzz_cleanup() 315 assert(fuzz->fuzzed != NULL); in fuzz_next() 337 assert(fuzz->o1 < fuzz->slen); in fuzz_next() 343 assert(fuzz->o1 < fuzz->slen); in fuzz_next() 400 assert(fuzz->fuzzed != NULL); in fuzz_len() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 89 assert(getMinSignedBits() <= 64 && "Too many bits for int64_t"); in getExtValue() 112 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 120 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 128 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 132 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 148 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 152 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 156 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 160 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 314 assert(!I2.isSigned() && "Expected signed mismatch"); in compareValues() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | InstructionSelectorImpl.h | 93 assert(CurrentIdx != ~0u && "Invalid MatchTable index"); in executeMatchTable() 110 assert(NewInsnID != 0 && "Refusing to modify MIs[0]"); in executeMatchTable() 132 assert((size_t)NewInsnID == State.MIs.size() && in executeMatchTable() 165 assert(State.MIs[InsnID] != nullptr && "Used insn before defined"); in executeMatchTable() 188 assert(State.MIs[InsnID] != nullptr && "Used insn before defined"); in executeMatchTable() 216 assert(State.MIs[InsnID] != nullptr && "Used insn before defined"); in executeMatchTable() 259 assert(State.MIs[InsnID] != nullptr && "Used insn before defined"); in executeMatchTable() 278 assert((State.MIs[InsnID]->getOperand(OpIdx).isImm() || in executeMatchTable() 347 assert((MI->getOpcode() == TargetOpcode::G_BUILD_VECTOR || in executeMatchTable() 615 assert(SizeInBits != 0 && "Pointer size must be known"); in executeMatchTable() [all …]
|
| /freebsd-13.1/usr.sbin/nscd/ |
| H A D | config.c | 123 assert(name != NULL); in create_configuration_entry() 130 assert(retval != NULL); in create_configuration_entry() 248 assert(entry != NULL); in destroy_configuration_entry() 266 assert(entry != NULL); in add_configuration_entry() 301 assert(config != NULL); in configuration_get_entries_size() 310 assert(config != NULL); in configuration_get_entry() 471 assert(entry != NULL); in configuration_lock_entry() 495 assert(entry != NULL); in configuration_unlock_entry() 521 assert(retval != NULL); in init_configuration() 540 assert(config != NULL); in fill_configuration_defaults() [all …]
|
| /freebsd-13.1/contrib/nvi/regex/ |
| H A D | engine.c | 329 assert(nope); in dissect() 345 assert(nope); in dissect() 405 assert(dp == sep); in dissect() 448 assert(nope); in dissect() 461 assert(nope); in dissect() 466 assert(sp == stop); in dissect() 666 assert(nope); in backref() 671 assert(nope); in backref() 746 assert(c != OUT); in fast() 831 assert(c != OUT); in slow() [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/ |
| H A D | guarded_pool_allocator_fuchsia.cpp | 24 assert((Size % State.PageSize) == 0); in map() 39 assert((reinterpret_cast<uintptr_t>(Ptr) % State.PageSize) == 0); in unmap() 40 assert((Size % State.PageSize) == 0); in unmap() 47 assert((Size % State.PageSize) == 0); in reserveGuardedPool() 61 assert(Vmar != ZX_HANDLE_INVALID && Vmar != _zx_vmar_root_self()); in unreserveGuardedPool() 68 assert((reinterpret_cast<uintptr_t>(Ptr) % State.PageSize) == 0); in allocateInGuardedPool() 69 assert((Size % State.PageSize) == 0); in allocateInGuardedPool() 76 assert(Vmar != ZX_HANDLE_INVALID && Vmar != _zx_vmar_root_self()); in allocateInGuardedPool() 90 assert((reinterpret_cast<uintptr_t>(Ptr) % State.PageSize) == 0); in deallocateInGuardedPool() 91 assert((Size % State.PageSize) == 0); in deallocateInGuardedPool() [all …]
|
| /freebsd-13.1/usr.sbin/bluetooth/hccontrol/ |
| H A D | send_recv.c | 54 assert(rp != NULL); in hci_request() 55 assert(rp_size != NULL); in hci_request() 56 assert(*rp_size > 0); in hci_request() 63 assert(0 < cp_size && cp_size <= NG_HCI_CMD_PKT_SIZE); in hci_request() 136 assert(buffer != NULL); in hci_send() 137 assert(size >= sizeof(ng_hci_cmd_pkt_t)); in hci_send() 138 assert(size <= sizeof(ng_hci_cmd_pkt_t) + NG_HCI_CMD_PKT_SIZE); in hci_send() 154 assert(buffer != NULL); in hci_recv() 155 assert(size != NULL); in hci_recv() 156 assert(*size > sizeof(ng_hci_event_pkt_t)); in hci_recv() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/CodeGen/ |
| H A D | ConstantInitBuilder.h | 129 assert(Finished && "didn't finish aggregate builder"); in ~ConstantAggregateBuilderBase() 133 assert(!Frozen && "child builder still active"); in markFinished() 134 assert(!Finished && "builder already finished"); in markFinished() 137 assert(Parent->Frozen && in markFinished() 141 assert(Builder.Frozen && in markFinished() 170 assert(this->Begin <= this->getBuffer().size()); in size() 187 assert(value && "adding null value to constant initializer"); in add() 300 assert(slot == nullptr && "placeholder already filled"); in fillPlaceholder() 389 assert(!this->Parent && "finishing non-root builder"); in finishAndCreateGlobal() 398 assert(!this->Parent && "finishing non-root builder"); in finishAndSetAsInitializer() [all …]
|
| /freebsd-13.1/usr.sbin/bhyve/ |
| H A D | spinup_ap.c | 63 assert(error == 0); in spinup_ap_realmode() 67 assert(error == 0); in spinup_ap_realmode() 72 assert(error == 0); in spinup_ap_realmode() 76 assert(error == 0); in spinup_ap_realmode() 84 assert(newcpu != 0); in spinup_ap() 85 assert(newcpu < guest_ncpus); in spinup_ap() 88 assert(error == 0); in spinup_ap() 99 assert(error == 0); in spinup_ap()
|
| /freebsd-13.1/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | jemalloc_internal_inlines_c.h | 29 assert(ptr != NULL); in iaalloc() 36 assert(ptr != NULL); in isalloc() 46 assert(!is_internal || tcache == NULL); in iallocztm() 71 assert(usize != 0); in ipallocztm() 73 assert(!is_internal || tcache == NULL); in ipallocztm() 106 assert(ptr != NULL); in idalloctm() 116 assert(tcache == NULL); in idalloctm() 177 assert(ptr != NULL); in iralloct() 178 assert(size != 0); in iralloct() 206 assert(ptr != NULL); in ixalloc() [all …]
|
| /freebsd-13.1/usr.bin/getent/ |
| H A D | getent.c | 194 assert(argc > 1); in ethers() 236 assert(argc > 1); in group() 288 assert(argc > 1); in hosts() 349 assert(argc > 1); in networks() 386 assert(argc > 1); in passwd() 426 assert(argc > 1); in protocols() 465 assert(argc > 1); in rpc() 506 assert(argc > 1); in services() 548 assert(argc > 1); in shells() 587 assert(argc > 1); in netgroup() [all …]
|