Searched refs:assert (Results 376 - 400 of 4757) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/contrib/elftoolchain/libelf/
H A Delf_end.c27 #include <assert.h>
51 assert(e->e_activations == 0);
73 assert(0);
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_perms.c65 assert(fd > 0);
68 assert(fstat(fd, &st) == 0);
149 assert((a = archive_write_disk_new()) != NULL);
152 assert((ae = archive_entry_new()) != NULL);
161 assert((ae = archive_entry_new()) != NULL);
170 assert((st.st_mode & 07777) != 0144);
172 assert((ae = archive_entry_new()) != NULL);
180 assert((ae = archive_entry_new()) != NULL);
195 assert((ae = archive_entry_new()) != NULL);
223 assert((a
[all...]
H A Dtest_write_filter_lzma.c46 assert(NULL != (buff = (char *)malloc(buffsize)));
51 assert(NULL != (data = (char *)malloc(datasize)));
61 assert((a = archive_write_new()) != NULL);
79 assert((ae = archive_entry_new()) != NULL);
93 assert((a = archive_read_new()) != NULL);
120 assert((a = archive_write_new()) != NULL);
136 assert((ae = archive_entry_new()) != NULL);
148 assert((a = archive_read_new()) != NULL);
174 assert((a = archive_write_new()) != NULL);
184 assert((a
[all...]
H A Dtest_write_filter_xz.c47 assert(NULL != (buff = (char *)malloc(buffsize)));
52 assert(NULL != (data = (char *)malloc(datasize)));
62 assert((a = archive_write_new()) != NULL);
79 assert((ae = archive_entry_new()) != NULL);
93 assert((a = archive_read_new()) != NULL);
120 assert((a = archive_write_new()) != NULL);
136 assert((ae = archive_entry_new()) != NULL);
152 assert(used2 < used1);
155 assert((a = archive_read_new()) != NULL);
181 assert((
[all...]
H A Dtest_acl_pax.c226 assert(NULL != (a = archive_write_new()));
236 assert((ae = archive_entry_new()) != NULL);
265 assert(NULL != (f = fopen("testout", "wb")));
281 assert(NULL != (a = archive_read_new()));
289 assert(0 == archive_entry_acl_reset(ae, ARCHIVE_ENTRY_ACL_TYPE_ACCESS));
292 assert((archive_entry_mode(ae) & 0777) == 0142);
297 assert(4 == archive_entry_acl_reset(ae, ARCHIVE_ENTRY_ACL_TYPE_ACCESS));
302 assert((archive_entry_mode(ae) & 0777) == 0142);
312 assert((archive_entry_mode(ae) & 0777) == 0543);
317 assert(
[all...]
H A Dtest_write_format_mtree_no_separator.c42 assert((a = archive_write_new()) != NULL);
48 assert((ae = archive_entry_new()) != NULL);
55 assert((ae = archive_entry_new()) != NULL);
63 assert((ae = archive_entry_new()) != NULL);
76 assert((a = archive_read_new()) != NULL);
H A Dtest_read_format_gtar_sparse.c188 assert((a = archive_read_new()) != NULL);
189 assert(0 == archive_read_support_filter_all(a));
190 assert(0 == archive_read_support_format_tar(a));
192 assert(0 == archive_read_open_filename(a, name, 3));
238 assert(actual.o <= expect.o);
H A Dtest_pax_xattr_header.c32 assert((ae = archive_entry_new()) != NULL);
60 assert((a = archive_write_new()) != NULL);
76 assert((a = archive_write_new()) != NULL);
95 assert((a = archive_write_new()) != NULL);
114 assert((a = archive_write_new()) != NULL);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMRegisterBankInfo.cpp56 assert(
59 assert(
62 assert(
98 assert(checkValueMapping(ValueMappings[GPR3OpsIdx],
101 assert(checkValueMapping(ValueMappings[GPR3OpsIdx + 1],
104 assert(checkValueMapping(ValueMappings[GPR3OpsIdx + 2],
108 assert(checkValueMapping(ValueMappings[SPR3OpsIdx],
111 assert(checkValueMapping(ValueMappings[SPR3OpsIdx + 1],
114 assert(checkValueMapping(ValueMappings[SPR3OpsIdx + 2],
118 assert(checkValueMappin
[all...]
/freebsd-11-stable/usr.sbin/nscd/
H A Dcachelib.c33 #include <assert.h>
85 assert(hp1->key != NULL);
86 assert(hp2->key != NULL);
111 assert(hp1->key != NULL);
112 assert(hp2->key != NULL);
139 assert(hp->key != NULL);
160 assert(key != NULL);
161 assert(ent != NULL);
171 assert(e1 != NULL);
172 assert(e
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ShuffleDecodeConstantPool.cpp49 assert((CstSizeInBits % MaskEltSizeInBits) == 0 &&
58 assert(NumCstElts == NumMaskElts && "Unaligned shuffle mask size");
116 assert((Width == 128 || Width == 256 || Width == 512) &&
127 assert((NumElts == 16 || NumElts == 32 || NumElts == 64) &&
154 assert((Width == 128 || Width == 256 || Width == 512) &&
157 assert((ElSize == 32 || ElSize == 64) && "Unexpected vector element size.");
167 assert((NumElts == 2 || NumElts == 4 || NumElts == 8 || NumElts == 16) &&
193 assert((MaskTySize == 128 || MaskTySize == 256) &&
204 assert((NumElts == 2 || NumElts == 4 || NumElts == 8) &&
248 assert(Widt
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTree.cpp47 assert(It.second && "duplicate FileID");
52 assert(Tok != nullptr);
69 assert(Child->Parent == nullptr);
70 assert(Child->NextSibling == nullptr);
71 assert(Child->role() == NodeRole::Detached);
72 assert(Role != NodeRole::Detached);
82 assert(!BeforeBegin || BeforeBegin->Parent == this);
86 assert(N->Parent == nullptr);
87 assert(N->role() != NodeRole::Detached && "Roles must be set");
129 assert(!Token
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp22 assert(Last >= First);
25 assert(LowCase.getBitWidth() == HighCase.getBitWidth());
36 assert(Last >= First);
37 assert(TotalCases[Last] >= TotalCases[First]);
50 assert(!Clusters.empty());
52 assert(C.Kind == CC_Range);
54 assert(Clusters[i - 1].High->getValue().slt(Clusters[i].Low->getValue()));
57 assert(TLI && "TLI not set!");
81 assert(NumCases < UINT64_MAX / 100);
82 assert(Rang
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DInstructionSelectorImpl.h75 assert(CurrentIdx != ~0u && "Invalid MatchTable index");
92 assert(NewInsnID != 0 && "Refusing to modify MIs[0]");
114 assert((size_t)NewInsnID == State.MIs.size() &&
143 assert(State.MIs[InsnID] != nullptr && "Used insn before defined");
163 assert(State.MIs[InsnID] != nullptr && "Used insn before defined");
191 assert(State.MIs[InsnID] != nullptr && "Used insn before defined");
234 assert(State.MIs[InsnID] != nullptr && "Used insn before defined");
248 assert(State.MIs[InsnID] != nullptr && "Used insn before defined");
249 assert(State.MIs[InsnID]->getOpcode() == TargetOpcode::G_CONSTANT &&
251 assert(Predicat
[all...]
/freebsd-11-stable/contrib/jemalloc/src/
H A Dnstime.c58 assert(UINT64_MAX - time->ns >= addend->ns);
67 assert(nstime_compare(time, subtrahend) >= 0);
76 assert((((time->ns | multiplier) & (UINT64_MAX << (sizeof(uint64_t) <<
86 assert(divisor != 0);
95 assert(divisor->ns != 0);
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-platform.h154 #include <assert.h>
196 #include <assert.h>
208 #include <assert.h>
218 #include <assert.h>
229 #include <assert.h>
H A Dcvmx-zone.c142 assert(zone != NULL);
143 assert(zone->baseptr != NULL);
163 assert(zone != NULL);
164 assert(zone->baseptr != NULL);
165 assert((unsigned long)ptr - (unsigned long)zone->baseptr < zone->num_elem * zone->elem_size);
/freebsd-11-stable/contrib/mdocml/
H A Dpreconv.c22 #include <assert.h>
37 assert(*cu & 0x80);
88 assert(accum > 0x7f);
89 assert(accum < 0x110000);
90 assert(accum < 0xd800 || accum > 0xdfff);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DPassRegistry.cpp61 assert(Inserted && "Pass registered multiple times!");
90 assert(Registeree.isAnalysisGroup() &&
95 assert(ImplementationInfo &&
105 assert(InterfaceInfo->getNormalCtor() == nullptr &&
107 assert(
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypeHashing.cpp49 assert(DebugH.size() >= 8);
50 assert((DebugH.size() - 8) % 8 == 0);
63 assert(Reader.bytesRemaining() == 0);
82 assert((Hash.size() == 8) && "Invalid hash size!");
85 assert(Writer.bytesRemaining() == 0);
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayout.h186 assert(FieldInfo.count(FD) && "Invalid field for record!");
191 assert(NonVirtualBases.count(RD) && "Invalid non-virtual base!");
198 assert(CompleteObjectVirtualBases.count(base) && "Invalid virtual base!");
205 assert(FD->isBitField() && "Invalid call for non-bit-field decl!");
208 assert(it != BitFields.end() && "Unable to find bitfield info");
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DInstructionUtils.h23 assert(msbit < 64 && lsbit <= msbit);
31 assert(msbit < 32 && lsbit <= msbit);
48 assert(msbit < 32 && lsbit < 32 && msbit >= lsbit);
62 assert(amt < 32 && "Invalid rotate amount");
68 assert(amt < 32 && "Invalid rotate amount");
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.h32 assert(isImplicitConst());
36 assert(!isImplicitConst());
74 assert(isImplicitConst());
101 assert(idx < AttributeSpecs.size());
110 assert(idx < AttributeSpecs.size());
/freebsd-11-stable/contrib/llvm-project/lldb/utils/TableGen/
H A DLLDBPropertyDefEmitter.cpp51 assert((hasDefaultUnsignedValue || hasDefaultEnumValue ||
57 assert(!(hasDefaultUnsignedValue && hasDefaultEnumValue) &&
61 assert(!(Property->getValueAsString("Type") == "Boolean" &&
66 assert(!(Property->getValueAsString("Type") == "String" &&
71 assert(
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DVirtRegMap.h85 assert(MF && "getMachineFunction called before runOnMachineFunction");
103 assert(virtReg.isVirtual());
114 assert(virtReg.isVirtual());
115 assert(Virt2PhysMap[virtReg.id()] != NO_PHYS_REG &&
167 assert(virtReg.isVirtual());

Completed in 385 milliseconds

<<11121314151617181920>>