/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_write_filter_gzip_timestamp.c | 41 assert(NULL != (buff = (char *)malloc(buffsize))); 46 assert(NULL != (data = (char *)malloc(datasize))); 54 assert((a = archive_write_new()) != NULL); 76 assert((ae = archive_entry_new()) != NULL); 86 assert(memcmp(buff + 4, "\x00\x00\x00\x00", 4) != 0); 89 assert((a = archive_write_new()) != NULL); 101 assert((ae = archive_entry_new()) != NULL);
|
H A D | test_write_format_xar_empty.c | 42 assert((a = archive_write_new()) != NULL); 55 assert((ae = archive_entry_new()) != NULL); 65 assert((ae = archive_entry_new()) != NULL); 75 assert((ae = archive_entry_new()) != NULL); 85 assert((ae = archive_entry_new()) != NULL); 95 assert((ae = archive_entry_new()) != NULL); 105 assert((ae = archive_entry_new()) != NULL);
|
H A D | test_read_extract.c | 46 assert((a = archive_write_new()) != NULL); 52 assert((ae = archive_entry_new()) != NULL); 59 assert((ae = archive_entry_new()) != NULL); 70 assert((ae = archive_entry_new()) != NULL); 77 assert((ae = archive_entry_new()) != NULL); 84 assert((ae = archive_entry_new()) != NULL); 91 assert((ae = archive_entry_new()) != NULL); 98 assert((ae = archive_entry_new()) != NULL); 106 assert((ae = archive_entry_new()) != NULL); 118 assert(( [all...] |
H A D | test_read_large.c | 51 assert(NULL != (a = archive_write_new())); 54 assert(NULL != (entry = archive_entry_new())); 63 assert(NULL != (a = archive_read_new())); 74 assert(NULL != (a = archive_read_new())); 84 assert(0 < tmpfilefd);
|
H A D | test_write_filter_compress.c | 47 assert(NULL != (buff = (char *)malloc(buffsize))); 50 assert(NULL != (data = (char *)malloc(datasize))); 53 assert((a = archive_write_new()) != NULL); 63 assert((ae = archive_entry_new()) != NULL); 79 assert((a = archive_read_new()) != NULL);
|
H A D | test_write_format_mtree_absolute_path.c | 39 assert((a = archive_write_new()) != NULL); 45 assert((ae = archive_entry_new()) != NULL); 52 assert((ae = archive_entry_new()) != NULL); 60 assert((ae = archive_entry_new()) != NULL); 72 assert((a = archive_read_new()) != NULL);
|
H A D | test_write_disk_secure746.c | 60 assert((a = archive_write_disk_new()) != NULL); 64 assert((ae = archive_entry_new()) != NULL); 105 assert((a = archive_write_disk_new()) != NULL); 109 assert((ae = archive_entry_new()) != NULL); 117 assert((ae = archive_entry_new()) != NULL);
|
H A D | test_xattr_platform.c | 54 assert(NULL != (a = archive_read_disk_new())); 56 assert(ae != NULL); 61 assert(e > 0); 80 assert(NULL != (a = archive_write_disk_new())); 86 assert(ae != NULL);
|
H A D | test_write_format_pax.c | 42 assert(buff != NULL); 45 assert((a = archive_write_new()) != NULL); 53 assert((ae = archive_entry_new()) != NULL); 68 assert((ae = archive_entry_new()) != NULL); 87 assert((ae = archive_entry_new()) != NULL); 111 assert((ae = archive_entry_new()) != NULL); 144 assert((a = archive_read_new()) != NULL); 162 assert((S_IFREG | 0755) == archive_entry_mode(ae)); 171 assert(archive_entry_atime_is_set(ae)); 175 assert(!archive_entry_birthtime_is_se [all...] |
/freebsd-11-stable/lib/msun/tests/ |
H A D | conj_test.c | 34 #include <assert.h> 88 assert(fpequal(libcrealf(in), __real__ in)); 89 assert(fpequal(libcreal(in), __real__ in)); 90 assert(fpequal(libcreall(in), __real__ in)); 91 assert(fpequal(libcimagf(in), __imag__ in)); 92 assert(fpequal(libcimag(in), __imag__ in)); 93 assert(fpequal(libcimagl(in), __imag__ in));
|
H A D | logarithm_test.c | 35 #include <assert.h> 56 * These are macros instead of functions so that assert provides more 64 assert(feclearexcept(FE_ALL_EXCEPT) == 0); \ 65 assert(fpequal((func)(_d), (result))); \ 66 assert(((void)(func), fetestexcept(exceptmask) == (excepts))); \ 71 assert(feclearexcept(FE_ALL_EXCEPT) == 0); \ 72 assert(fpequal((func)(_d), (result))); \ 73 assert(((void)(func), fetestexcept(exceptmask) == (excepts))); \ 79 assert(fpequal_tol((func)(_d), (result), (tol), CS_BOTH)); \ 140 assert(feclearexcep [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineFrameInfo.h | 406 assert (i >= 0 && (unsigned)i < LocalFrameObjects.size() && 444 assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && 451 assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && 458 assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && 465 assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && 472 assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && 484 assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && 492 assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && 494 assert(!isDeadObjectIndex(ObjectIdx) && 500 assert(unsigne [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VEISelLowering.cpp | 44 assert(!IsVarArg && "TODO implement var args"); 45 assert(Outs.empty() && "TODO implement return values"); 55 assert(!IsVarArg && "TODO implement var args"); 56 assert(Outs.empty() && "TODO implement return values"); 57 assert(OutVals.empty() && "TODO implement return values"); 68 assert(!IsVarArg && "TODO implement var args"); 69 assert(Ins.empty() && "TODO implement input arguments");
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | User.cpp | 23 assert((!isa<Constant>(this) || isa<GlobalValue>(this)) && 40 assert(HasHungOffUses && "alloc must have hung off uses"); 59 assert(HasHungOffUses && "realloc must have hung off uses"); 65 assert(NewNumUses > OldNumUses && "realloc must grow num uses"); 98 assert(HasDescriptor && "Don't call otherwise!"); 99 assert(!HasHungOffUses && "Invariant!"); 102 assert(DI->SizeInBytes != 0 && "Should not have had a descriptor otherwise!"); 114 assert(Us < (1u << NumUserOperandsBits) && "Too many operands"); 120 assert(DescBytesToAllocate % sizeof(void *) == 0 && 172 assert(!Ob [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_list.c | 39 #include <assert.h> 53 assert(p->dl_next == NULL); 56 assert(dlp->dl_next == NULL); 72 assert(q->dl_prev == NULL); 75 assert(dlp->dl_prev == NULL);
|
/freebsd-11-stable/tools/regression/capsicum/syscalls/ |
H A D | misc.c | 37 #include <assert.h> 62 assert(sock >= 0); 63 assert(fd >= 0); 94 assert(sock >= 0); 95 assert(fdp != NULL);
|
/freebsd-11-stable/usr.sbin/fifolog/lib/ |
H A D | fifolog_create.c | 31 #include <assert.h> 70 assert(i == 0); 74 assert(!close (fd)); 79 assert(!close (fd)); 122 assert(0 == close(fd));
|
/freebsd-11-stable/contrib/libarchive/cpio/test/ |
H A D | test_format_newc.c | 194 assert(is_hex(e, 110)); /* Entire header is octal digits. */ 213 assert(t <= now); /* File wasn't created in future. */ 216 assert(t >= now - 2); /* File was created w/in last 2 secs. */ 225 assert(is_hex(e + 78, 8)); /* rdevmajor */ 226 assert(is_hex(e + 86, 8)); /* rdevminor */ 238 assert(is_hex(e, 110)); 240 assert(is_hex(e + 6, 8)); /* ino */ 253 assert(t2 == t || t2 == t + 1); /* Almost same as first entry. */ 259 assert(is_hex(e + 78, 8)); /* rdevmajor */ 260 assert(is_he [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/ |
H A D | TildeExpressionResolver.cpp | 11 #include <assert.h> 36 assert(!llvm::any_of(Expr, [](char c) { return path::is_separator(c); })); 37 assert(Expr.empty() || Expr[0] == '~'); 46 assert(!llvm::any_of(Expr, [](char c) { return path::is_separator(c); })); 47 assert(Expr.empty() || Expr[0] == '~');
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/ |
H A D | vts_many_threads_bench.cpp | 26 #include <assert.h> 79 assert(n_threads > 0 && n_threads <= 32); 81 assert(n_garbage_threads > 0 && n_garbage_threads <= 16000); 98 assert(status == 0); 102 assert(status == 0);
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/CodeGen/ |
H A D | CGFunctionInfo.h | 102 assert(canHavePaddingType()); 107 assert(isCoerceAndExpand()); 135 assert(Ty->isIntegralOrEnumerationType() && "Unexpected QualType"); 145 assert(Ty->isIntegralOrEnumerationType() && "Unexpected QualType"); 157 assert(Ty->isIntegralOrEnumerationType() && "Unexpected QualType"); 216 assert(!unpaddedStruct || unpaddedStruct->getNumElements() != 1); 224 assert(unpaddedStruct->getElementType(unpaddedIndex) == eltType); 226 assert(unpaddedIndex == 0 && unpaddedCoerceToType == eltType); 233 assert(unpaddedStruct->getNumElements() == unpaddedIndex); 235 assert(unpaddedInde [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | StratifiedSets.h | 102 assert(inbounds(Index)); 185 assert(!isRemapped()); 190 assert(!isRemapped()); 195 assert(!isRemapped()); 200 assert(!isRemapped()); 205 assert(!isRemapped()); 210 assert(!isRemapped()); 215 assert(!isRemapped()); 216 assert(hasBelow()); 221 assert(!isRemappe [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | Token.h | 130 assert(!isAnnotation() && "Annotation tokens have no length field"); 136 assert(!isAnnotation() && "Annotation tokens have no length field"); 141 assert(isAnnotation() && "Used AnnotEndLocID on non-annotation token"); 145 assert(isAnnotation() && "Used AnnotEndLocID on non-annotation token"); 180 assert(isNot(tok::raw_identifier) && 182 assert(!isAnnotation() && 193 assert(is(tok::eof)); 197 assert(is(tok::eof)); 198 assert(!PtrData); 206 assert(i [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ValueLattice.h | 136 assert(!isa<UndefValue>(C) && "!= undef is not supported"); 161 assert(isConstant() && "Cannot get the constant of a non-constant!"); 166 assert(isNotConstant() && "Cannot get the constant of a non-notconstant!"); 171 assert(isConstantRange() && 200 assert(isUnknown()); 210 assert(getConstant() == V && "Marking constant with different value"); 217 assert(isUnknown() || isUndef()); 224 assert(V && "Marking constant with NULL"); 233 assert(getNotConstant() == V && "Marking !constant with different value"); 237 assert(isUnknow [all...] |
/freebsd-11-stable/usr.sbin/nscd/ |
H A D | config.c | 34 #include <assert.h> 123 assert(name != NULL); 124 assert(positive_params != NULL); 125 assert(negative_params != NULL); 126 assert(mp_params != NULL); 130 assert(retval != NULL); 171 assert(retval->name != NULL); 180 assert(retval->positive_cache_params.cep.entry_name != NULL); 183 assert(retval->negative_cache_params.cep.entry_name != NULL); 186 assert(retva [all...] |