/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | TemplateBase.h | 153 assert(D && "Expected decl"); 257 assert(getKind() == Type && "Unexpected kind"); 264 assert(getKind() == Declaration && "Unexpected kind"); 269 assert(getKind() == Declaration && "Unexpected kind"); 275 assert(getKind() == NullPtr && "Unexpected kind"); 281 assert(getKind() == Template && "Unexpected kind"); 288 assert((getKind() == Template || getKind() == TemplateExpansion) && 301 assert(getKind() == Integral && "Unexpected kind"); 315 assert(getKind() == Integral && "Unexpected kind"); 320 assert(getKin [all...] |
H A D | DependentDiagnostic.h | 65 assert(getKind() == Access); 70 assert(getKind() == Access); 75 assert(getKind() == Access); 80 assert(getKind() == Access); 85 assert(getKind() == Access); 90 assert(getKind() == Access); 139 assert(Ptr && "attempt to increment past end of diag list"); 159 assert(N >= 0 && "cannot rewind a DeclContext::ddiag_iterator"); 176 assert(isDependentContext()
|
H A D | GlobalDecl.h | 45 assert(!isa<CXXConstructorDecl>(D) && "Use other ctor with ctor decls!"); 46 assert(!isa<CXXDestructorDecl>(D) && "Use other ctor with dtor decls!"); 80 assert(isa<CXXConstructorDecl>(getDecl()) && "Decl is not a ctor!"); 85 assert(isa<CXXDestructorDecl>(getDecl()) && "Decl is not a dtor!"); 90 assert(isa<VarDecl>(getDecl()) && 97 assert(isa<FunctionDecl>(getDecl()) && 124 assert(isa<CXXConstructorDecl>(getDecl())); 131 assert(isa<CXXDestructorDecl>(getDecl())); 138 assert(isa<FunctionDecl>(getDecl()) &&
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_write_filter_lrzip.c | 49 assert(NULL != (buff = (char *)malloc(buffsize))); 52 assert(NULL != (data = (char *)malloc(datasize))); 58 assert((a = archive_write_new()) != NULL); 67 assert((ae = archive_entry_new()) != NULL); 81 assert((a = archive_read_new()) != NULL); 103 assert((a = archive_write_new()) != NULL); 107 assert((a = archive_write_new()) != NULL); 112 assert((a = archive_write_new()) != NULL); 118 assert((a = archive_write_new()) != NULL);
|
H A D | test_archive_cmdline.c | 37 assert((cl = __archive_cmdline_allocate()) != NULL); 46 assert((cl = __archive_cmdline_allocate()) != NULL); 57 assert((cl = __archive_cmdline_allocate()) != NULL); 70 assert((cl = __archive_cmdline_allocate()) != NULL); 82 assert((cl = __archive_cmdline_allocate()) != NULL); 94 assert((cl = __archive_cmdline_allocate()) != NULL); 107 assert((cl = __archive_cmdline_allocate()) != NULL); 120 assert((cl = __archive_cmdline_allocate()) != NULL); 131 assert((cl = __archive_cmdline_allocate()) != NULL);
|
H A D | test_open_fd.c | 52 assert(fd >= 0); 57 assert((a = archive_write_new()) != NULL); 65 assert((ae = archive_entry_new()) != NULL); 77 assert((ae = archive_entry_new()) != NULL); 91 assert(lseek(fd, 0, SEEK_SET) == 0); 92 assert((a = archive_read_new()) != NULL); 103 assert((S_IFREG | 0755) == archive_entry_mode(ae)); 110 assert((S_IFREG | 0755) == archive_entry_mode(ae)); 125 assert((a = archive_read_new()) != NULL);
|
H A D | test_short_writes.c | 58 assert(new_buf != NULL); 76 assert(new_buf != NULL); 90 assert((a = archive_write_new()) != NULL); 122 assert ((checker = calloc(1, sizeof *checker)) != NULL); 134 assert((entry = archive_entry_new()) != NULL); 166 assert(memcmp(checker->shortbuf, checker->fullbuf, checker->fullbuf_len) == 0); 193 assert(checker->shortbuf_len > 1024); 204 assert(checker->shortbuf_len > 21 * 1024); 213 assert(checker->shortbuf_len > 1024);
|
H A D | test_open_filename.c | 36 assert((a = archive_write_new()) != NULL); 45 assert((ae = archive_entry_new()) != NULL); 57 assert((ae = archive_entry_new()) != NULL); 71 assert((a = archive_read_new()) != NULL); 83 assert((S_IFREG | 0755) == archive_entry_mode(ae)); 90 assert((S_IFREG | 0755) == archive_entry_mode(ae)); 102 assert((a = archive_read_new()) != NULL); 120 assert((a = archive_write_new()) != NULL); 129 assert((ae = archive_entry_new()) != NULL); 141 assert((a [all...] |
H A D | test_read_format_tar.c | 68 assert((a = archive_read_new()) != NULL); 102 assert(archive_entry_filetype(ae) != AE_IFLNK); 104 assert(archive_entry_filetype(ae) != AE_IFDIR); 112 assert(archive_entry_symlink(ae) == NULL); 141 assert(archive_entry_hardlink(ae) == NULL); 169 assert(archive_entry_symlink(ae) == NULL); 170 assert(archive_entry_hardlink(ae) == NULL); 198 assert(archive_entry_symlink(ae) == NULL); 199 assert(archive_entry_hardlink(ae) == NULL); 253 assert(archive_entry_symlin [all...] |
H A D | test_write_format_ar.c | 44 assert((a = archive_write_new()) != NULL); 49 assert((ae = archive_entry_new()) != NULL); 57 assert((ae = archive_entry_new()) != NULL); 59 assert(1 == archive_entry_mtime(ae)); 61 assert((S_IFREG | 0755) == archive_entry_mode(ae)); 68 assert((ae = archive_entry_new()) != NULL); 77 assert((ae = archive_entry_new()) != NULL); 86 assert((ae = archive_entry_new()) != NULL); 93 assert((ae = archive_entry_new()) != NULL); 109 assert(( [all...] |
H A D | test_write_format_iso9660_empty.c | 60 assert(buff != NULL); 65 assert((a = archive_write_new()) != NULL); 73 assert((ae = archive_entry_new()) != NULL); 83 assert((ae = archive_entry_new()) != NULL); 93 assert((ae = archive_entry_new()) != NULL); 103 assert((ae = archive_entry_new()) != NULL); 113 assert((ae = archive_entry_new()) != NULL); 123 assert((ae = archive_entry_new()) != NULL); 136 assert(used == 2048 * 181); 140 assert(buf [all...] |
H A D | test_write_format_tar_v7tar.c | 73 assert((a = archive_write_new()) != NULL); 87 assert((entry = archive_entry_new()) != NULL); 102 assert((entry = archive_entry_new()) != NULL); 119 assert((entry = archive_entry_new()) != NULL); 131 assert((entry = archive_entry_new()) != NULL); 147 assert((entry = archive_entry_new()) != NULL); 161 assert((entry = archive_entry_new()) != NULL); 193 assert(is_null(e + 0, 512)); 195 assert(is_null(e + 512, 512)); 208 assert(is_nul [all...] |
H A D | test_write_filter_lzop.c | 44 assert((a = archive_write_new()) != NULL); 57 assert(NULL != (buff = (char *)malloc(buffsize))); 60 assert(NULL != (data = (char *)calloc(1, datasize))); 66 assert((a = archive_write_new()) != NULL); 78 assert((ae = archive_entry_new()) != NULL); 92 assert((a = archive_read_new()) != NULL); 117 assert((a = archive_write_new()) != NULL); 139 assert((ae = archive_entry_new()) != NULL); 153 assert(used2 < used1); 155 assert(( [all...] |
/freebsd-11-stable/crypto/openssh/regress/unittests/test_helper/ |
H A D | fuzz.c | 25 #include <assert.h> 144 assert(fuzz->o2 < sizeof(fuzz_b64chars) - 1); 221 assert(p != NULL); 222 assert(ret != NULL); 224 assert(ret->seed != NULL); 229 assert(ret->slen < SIZE_MAX / 8); 230 assert(ret->strategies <= (FUZZ_MAX|(FUZZ_MAX-1))); 252 assert(fuzz != NULL); 253 assert(fuzz->seed != NULL); 254 assert(fuz [all...] |
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/ |
H A D | session.c | 37 #include <assert.h> 61 assert(srv != NULL); 62 assert(d != NULL); 114 assert(srv != NULL); 115 assert(bdaddr != NULL); 133 assert(srv != NULL); 134 assert(fd >= 0); 150 assert(s != NULL); 151 assert(s->srv != NULL);
|
/freebsd-11-stable/contrib/expat/tests/ |
H A D | minicheck.c | 40 #include <assert.h> 66 assert(suite != NULL); 67 assert(tc != NULL); 68 assert(tc->next_tcase == NULL); 77 assert(tc != NULL); 84 assert(tc != NULL); 89 assert(new_tests != NULL); 156 assert(runner != NULL); 217 assert(runner != NULL);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Bitstream/ |
H A D | BitstreamWriter.h | 79 assert((Offset & 3) == 0 && "Not 32-bit aligned"); 88 assert(CurBit == 0 && "Unflushed data remaining"); 89 assert(BlockScope.empty() && CurAbbrevs.empty() && "Block imbalance"); 107 assert((!endian::readAtBitAlignment<uint32_t, little, unaligned>( 120 assert(NumBits && NumBits <= 32 && "Invalid value size!"); 121 assert((Val & ~(~0U >> (32-NumBits))) == 0 && "High bits set!"); 147 assert(NumBits <= 32 && "Too many bits to emit!"); 160 assert(NumBits <= 32 && "Too many bits to emit!"); 229 assert(!BlockScope.empty() && "Block scope imbalance!"); 259 assert(O [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ |
H A D | PassAnalysisSupport.h | 202 assert(Resolver && "Pass not resident in a PassManager object!"); 221 assert(Resolver && "Pass has not been inserted into a PassManager object!"); 227 assert(PI && "getAnalysis for unregistered pass!"); 228 assert(Resolver&&"Pass has not been inserted into a PassManager object!"); 233 assert(ResultPass && 249 assert(Resolver &&"Pass has not been inserted into a PassManager object!"); 256 assert(PI && "getAnalysis for unregistered pass!"); 257 assert(Resolver && "Pass has not been inserted into a PassManager object!"); 262 assert(ResultPass && "Unable to find requested analysis info");
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfExpression.cpp | 43 assert(DwarfReg >= 0 && "invalid negative dwarf register number"); 44 assert((isUnknownLocation() || isRegisterLocation()) && 56 assert(DwarfReg >= 0 && "invalid negative dwarf register number"); 57 assert(!isRegisterLocation() && "location description already locked down"); 186 assert(isImplicitLocation() || isUnknownLocation()); 193 assert(isImplicitLocation() || isUnknownLocation()); 199 assert(isImplicitLocation() || isUnknownLocation()); 275 assert(DwarfRegs.size() == 1); 279 assert(Reg.Size == 0 && "subregister has same size as superregister"); 321 assert(O [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | DelayedDiagnostic.h | 90 assert(!IsMember); return cast<CXXRecordDecl>(Target); 105 assert(isQuiet() && "partial diagnostic already defined"); 109 assert(isQuiet() && "partial diagnostic already defined"); 110 assert(DiagID && "creating null diagnostic"); 174 assert(Kind == Access && "Not an access diagnostic."); 178 assert(Kind == Access && "Not an access diagnostic."); 183 assert(Kind == Availability && "Not an availability diagnostic."); 192 assert(Kind == Availability && "Not an availability diagnostic."); 197 assert(Kind == Availability && "Not an availability diagnostic."); 203 assert(Kin [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | InlineAsm.h | 270 assert(((NumOps << 3) & ~0xffff) == 0 && "Too many inline asm operands!"); 271 assert(Kind >= Kind_RegUse && Kind <= Kind_Mem && "Invalid Kind"); 290 assert(MatchedOperandNo <= 0x7fff && "Too big matched operand"); 291 assert((InputFlag & ~0xffff) == 0 && "High bits already contain data"); 303 assert(!isImmKind(InputFlag) && "Immediates cannot have a register class"); 304 assert(!isMemKind(InputFlag) && "Memory operand cannot have a register class"); 305 assert(RC <= 0x7fff && "Too large register class ID"); 306 assert((InputFlag & ~0xffff) == 0 && "High bits already contain data"); 313 assert(isMemKind(InputFlag) && "InputFlag is not a memory constraint!"); 314 assert(Constrain [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | LowLevelTypeImpl.h | 43 assert(SizeInBits > 0 && "invalid scalar size"); 50 assert(SizeInBits > 0 && "invalid pointer size"); 58 assert(NumElements > 1 && "invalid number of vector elements"); 59 assert(ScalarSizeInBits > 0 && "invalid vector element size"); 66 assert(NumElements > 1 && "invalid number of vector elements"); 67 assert(!ScalarTy.isVector() && "invalid vector element type"); 100 assert(IsVector && "cannot get number of elements on scalar/aggregate"); 134 assert(!getScalarType().isPointer() && 143 assert(RawData != 0 && "Invalid Type"); 158 assert(RawDat [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCSymbol.h | 183 assert(FragmentAndHasName.getInt() && "Name is required"); 261 assert(isInSection() && "Invalid accessor!"); 267 assert(!isVariable() && "Cannot set fragment of variable"); 295 assert(isVariable() && "Invalid accessor!"); 317 assert((SymbolContents == SymContentsUnset || 323 assert((SymbolContents == SymContentsUnset || 332 assert(isCommon() && "Not a 'common' symbol!"); 342 assert(getOffset() == 0); 346 assert((!Align || isPowerOf2_32(Align)) && 349 assert(Log2Alig [all...] |
/freebsd-11-stable/contrib/ldns/ldns/ |
H A D | buffer.h | 16 #include <assert.h> 84 assert(buffer != NULL); 85 assert(buffer->_position <= buffer->_limit); 86 assert(buffer->_limit <= buffer->_capacity); 87 assert(buffer->_data != NULL); 173 assert(mark <= buffer->_limit); 187 assert(buffer->_position + count <= buffer->_limit); 211 assert(limit <= buffer->_capacity); 259 assert(at <= buffer->_limit); 309 assert(a [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | LazyCallGraph.cpp | 73 assert(!Edges && "Must not have already populated the edges for this node!"); 136 assert(F != &NewF && "Must not replace a function with itself!"); 233 assert(OuterRefSCC && "Can't have a null RefSCC!"); 234 assert(!Nodes.empty() && "Can't have an empty SCC!"); 237 assert(N && "Can't have a null node!"); 238 assert(OuterRefSCC->G->lookupSCC(*N) == this && 240 assert(N->DFSNumber == -1 && 242 assert(N->LowLink == -1 && 245 assert(E.getNode().isPopulated() && "Can't have an unpopulated node!"); 307 assert( [all...] |