Searched refs:assert (Results 351 - 375 of 4757) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_write_format_raw_b64.c40 assert((a = archive_write_new()) != NULL);
48 assert((ae = archive_entry_new()) != NULL);
60 assert((a = archive_read_new()) != NULL);
H A Dtest_write_open_memory.c39 assert((ae = archive_entry_new()) != NULL);
50 assert((a = archive_write_new()) != NULL);
81 assert(used <= i);
/freebsd-11-stable/contrib/libarchive/tar/test/
H A Dtest_option_T_upper.c59 if (!assert(f != NULL))
70 if (!assert(f != NULL))
86 assert(r == 0);
H A Dtest_option_exclude.c77 assert(r != 0);
123 assert(r != 0);
135 assert(r != 0);
H A Dtest_option_n.c134 assert(status);
135 assert(status != -1);
137 assert(WIFEXITED(status));
H A Dtest_option_xattrs.c72 assert(readval == NULL);
79 assert(readval == NULL);
86 assert(readval == NULL);
/freebsd-11-stable/contrib/gperf/lib/
H A Dgetline.cc28 #include <assert.h>
66 assert (*n - nchars_avail == (size_t) (read_pos - *lineptr));
83 assert (*n - nchars_avail == (size_t) (read_pos - *lineptr));
/freebsd-11-stable/lib/libprocstat/
H A Dsmbfs.c39 #include <assert.h>
57 assert(kd);
58 assert(vn);
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/
H A Dclient.c37 #include <assert.h>
69 assert(srv != NULL);
128 assert(srv != NULL);
129 assert(fd >= 0);
132 assert(s != NULL);
135 assert(d != NULL);
159 assert(s->ctrl == fd);
160 assert(s->intr == -1);
185 assert(s->ctrl != -1);
186 assert(
[all...]
/freebsd-11-stable/usr.sbin/fifolog/fifolog_writer/
H A Dfifolog_writer.c37 #include <assert.h>
92 assert(f != NULL);
106 assert(p != NULL);
/freebsd-11-stable/usr.sbin/makefs/cd9660/
H A Dcd9660_archimedes.c45 #include <assert.h>
97 assert(sizeof(*arc) == 32);
119 assert(node != NULL);
/freebsd-11-stable/usr.sbin/bhyve/
H A Dinout.c48 #include <assert.h>
58 assert((port) >= 0 && (size) > 0 && ((port) + (size)) <= MAX_IOPORTS)
122 assert(port < MAX_IOPORTS);
123 assert(bytes == 1 || bytes == 2 || bytes == 4);
147 assert(addrsize == 2 || addrsize == 4 || addrsize == 8);
159 assert(retval == 0);
206 assert(error == 0);
215 assert(error == 0);
221 assert(error == 0);
232 assert(erro
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Core/
H A DRichManglingContext.h65 assert(m_provider != None && "Initialize a provider first");
99 assert(parser.hasValue());
100 assert(llvm::any_isa<ParserT *>(parser));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DLazyRandomTypeCollection.cpp29 assert(!static_cast<bool>(EC));
85 assert(contains(Index));
91 assert(!Index.isSimple());
95 assert(contains(Index));
109 assert(contains(Index));
158 assert(!Index.isSimple());
166 assert(NewCapacity > capacity());
171 assert(!TI.isSimple());
180 assert(Next != PartialOffsets.begin());
226 assert(!T
[all...]
H A DStringsAndChecksums.cpp34 assert(SR.kind() == DebugSubsectionKind::StringTable);
35 assert(!Strings && "Found a string table even though we already have one!");
73 assert(FCR.kind() == DebugSubsectionKind::FileChecksums);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCSymbol.cpp49 assert(!IsUsed && "Cannot set a variable that has already been used.");
50 assert(Value && "Invalid variable value!");
51 assert((SymbolContents == SymContentsUnset ||
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DIntEqClasses.cpp25 assert(NumClasses == 0 && "grow() called after compress().");
32 assert(NumClasses == 0 && "join() called after compress().");
53 assert(NumClasses == 0 && "findLeader() called after compress().");
H A DLineIterator.cpp43 assert(Buffer.getBufferEnd()[0] == '\0');
51 assert(Buffer && "Cannot advance past the end!");
54 assert(Pos == Buffer->getBufferStart() || isAtLineEnd(Pos) || *Pos == '\0');
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclFriend.cpp42 assert(isa<FunctionDecl>(D) ||
49 assert(D->getFriendObjectKind() ||
52 assert(FriendTypeTPLists.empty());
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DDwarfStringPoolEntry.h47 assert(getMapEntry()->second.Symbol && "No symbol available!");
53 assert(isIndexed());
54 assert(getMapEntry()->getValue().isIndexed());
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DStringToOffsetTable.h64 assert(i + 1 < AggregateString.size() && "Incomplete escape sequence!");
66 assert(isdigit(AggregateString[i + 2]) &&
84 assert(AggregateString.find(')') == std::string::npos &&
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/
H A DBuiltins.cpp34 assert(((ID - Builtin::FirstTSBuiltin) <
44 assert(TSRecords.empty() && "Already initialized target?");
118 assert(*WidthPos == ':' &&
124 assert(*EndPos == ':' && "Vector width specific must end with a ':'");
130 assert(Fmt && "Not passed a format string");
131 assert(::strlen(Fmt) == 2 &&
133 assert(::toupper(Fmt[0]) == Fmt[1] &&
143 assert(*Like == ':' && "Format specifier must be followed by a ':'");
146 assert(::strchr(Like, ':') && "Format specifier must end with a ':'");
168 assert(*CalleePo
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DRecord.cpp32 assert(It != FieldMap.end() && "Missing field");
38 assert(It != BaseMap.end() && "Missing base");
44 assert(It != VirtualBaseMap.end() && "Missing virtual base");
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-dwp/
H A DDWPStringPool.h20 assert(Val != getEmptyKey() && "Cannot hash the empty key!");
21 assert(Val != getTombstoneKey() && "Cannot hash the tombstone key!");
42 assert(strlen(Str) + 1 == Length && "Ensure length hint is correct");
/freebsd-11-stable/contrib/elftoolchain/libelf/
H A Dlibelf_memory.c28 #include <assert.h>
49 assert(image != NULL);
50 assert(sz > 0);

Completed in 2469 milliseconds

<<11121314151617181920>>