Home
last modified time | relevance | path

Searched refs:assert (Results 801 – 825 of 5117) sorted by relevance

1...<<31323334353637383940>>...205

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedTemplate.h77 assert(Kind == Type && "Not a template type argument"); in getAsType()
83 assert(Kind == NonType && "Not a non-type template argument"); in getAsExpr()
89 assert(Kind == Template && "Not a template template argument"); in getAsTemplate()
99 assert(Kind == Template && in getScopeSpec()
107 assert(Kind == Template && in getEllipsisLoc()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanPredicator.cpp105 assert(Worklist.size() == 1 && "Expected 1 item in worklist"); in genPredicateTree()
122 assert(Count < 2 && "Switch not supported currently"); in getEdgeTypeBetween()
169 assert(isa<VPBasicBlock>(PredBlock) && "Only BBs have multiple exits"); in createOrPropagatePredicates()
196 assert(!isa<VPRegionBlock>(Block) && "Nested region not expected"); in predicateRegionRec()
213 assert(!isa<VPRegionBlock>(CurrBlock) && "Nested region not expected"); in linearizeRegionRec()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DBlotMapVector.h34 assert(Vector.size() >= Map.size()); // May differ due to blotting. in ~BlotMapVector()
37 assert(I->second < Vector.size()); in ~BlotMapVector()
38 assert(Vector[I->second].first == I->first); in ~BlotMapVector()
42 assert(!I->first || (Map.count(I->first) && in ~BlotMapVector()
110 assert(Map.empty() == Vector.empty()); in empty()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp76 assert(E); in getResultType()
199 assert(B); in getCalleeStackFrame()
207 assert(Idx < Sz); in getCalleeStackFrame()
429 assert(D); in getDeclaredResultType()
458 assert(D); in isVariadic()
734 assert(ParentRecord); in getExtraInvalidatedValues()
1098 assert(getMessageKind() == K); in getMessageKind()
1105 assert(getMessageKind() == OCM_Message); in getMessageKind()
1139 assert(IDecl); in canBeOverridenInSubclass()
1279 assert(E); in getRuntimeDefinition()
[all …]
/freebsd-13.1/contrib/libarchive/libarchive/test/
H A Dtest_read_format_cpio_bin_bz2.c41 assert((a = archive_read_new()) != NULL); in DEFINE_TEST()
54 assert(archive_filter_code(a, 0) == ARCHIVE_FILTER_BZIP2); in DEFINE_TEST()
55 assert(archive_format(a) == ARCHIVE_FORMAT_CPIO_BIN_LE); in DEFINE_TEST()
H A Dtest_read_set_format.c39 assert((a = archive_read_new()) != NULL); in DEFINE_TEST()
109 assert((a = archive_read_new()) != NULL); in DEFINE_TEST()
133 assert((a = archive_read_new()) != NULL); in DEFINE_TEST()
158 assert((a = archive_read_new()) != NULL); in DEFINE_TEST()
186 assert((a = archive_read_new()) != NULL); in DEFINE_TEST()
222 assert((fd = dup(fileno(stderr))) != -1); in DEFINE_TEST()
226 assert((a = archive_read_new()) != NULL); in DEFINE_TEST()
H A Dtest_write_filter_program.c48 assert((a = archive_read_new()) != NULL); in DEFINE_TEST()
56 assert((a = archive_write_new()) != NULL); in DEFINE_TEST()
74 assert((ae = archive_entry_new()) != NULL); in DEFINE_TEST()
91 assert((a = archive_read_new()) != NULL); in DEFINE_TEST()
H A Dtest_read_format_lha_filename.c50 assert((a = archive_read_new()) != NULL); in test_read_format_lha_filename_CP932_eucJP()
60 assert((a = archive_read_new()) != NULL); in test_read_format_lha_filename_CP932_eucJP()
112 assert((a = archive_read_new()) != NULL); in test_read_format_lha_filename_CP932_UTF8()
122 assert((a = archive_read_new()) != NULL); in test_read_format_lha_filename_CP932_UTF8()
173 assert((a = archive_read_new()) != NULL); in test_read_format_lha_filename_CP932_Windows()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp115 assert(isFromASTFile() && "Not from AST file?"); in getOwningModuleSlow()
349 assert( in setLexicalDeclContext()
909 assert(HasAttrs && "No attrs to get!"); in getAttrs()
992 assert(Access != AS_none && in AccessDeclContextSanity()
1282 assert(getDeclKind() >= Decl::firstFunction && in getPrimaryContext()
1474 assert(D->getLexicalDeclContext() == this && in removeDecl()
1525 assert(D->getLexicalDeclContext() == this && in addHiddenDecl()
1637 assert(getDeclKind() != Decl::LinkageSpec && in lookup()
1702 assert(getDeclKind() != Decl::LinkageSpec && in noload_lookup()
1936 assert(getPrimaryContext() == this && in CreateStoredDeclsMap()
[all …]
H A DExpr.cpp292 assert(!isa<ConstantExpr>(E)); in Create()
1216 assert(Char <= 0xff && in outputString()
1644 assert(!NameInfo.getName() || in MemberExpr()
1987 assert(hasStoredFPFeatures()); in getTrailingFPFeatures()
3158 assert(!isValueDependent() && in isConstantInitializer()
4796 assert(!T.isNull()); in RecoveryExpr()
4819 assert( in setDimensions()
4826 assert( in setBracketsRanges()
4866 assert(I < NumIterators && in setIteratorDeclaration()
4872 assert(I < NumIterators && in setAssignmentLoc()
[all …]
/freebsd-13.1/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_superblock.c347 assert(litSize > 0); in ZSTD_compressSubBlock_literal()
373 assert(cLitSize > litSize); in ZSTD_compressSubBlock_literal()
400 assert(0); in ZSTD_compressSubBlock_literal()
419 assert(litLengthSum <= litSize); in ZSTD_seqDecompressedSize()
421 assert(litLengthSum == litSize); in ZSTD_seqDecompressedSize()
598 assert(0); /* impossible */ in ZSTD_estimateSubBlockSize_literal()
619 assert(max <= defaultMax); in ZSTD_estimateSubBlockSize_symbolType()
747 assert(lp <= lend); in ZSTD_compressSubBlock_multi()
748 assert(litSize <= (size_t)(lend - lp)); in ZSTD_compressSubBlock_multi()
775 assert(ip + decompressedSize <= iend); in ZSTD_compressSubBlock_multi()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DScopedHashTable.h125 assert(Node && "Dereference end()");
140 assert(Node && "incrementing past end()");
174 assert(!CurScope && TopLevelMap.empty() && "Scope imbalance!"); in ~ScopedHashTable()
217 assert(S && "No scope active!"); in insertIntoScope()
237 assert(HT.CurScope == this && "Scope imbalance!"); in ~ScopedHashTableScope()
244 assert(HT.TopLevelMap[ThisEntry->getKey()] == ThisEntry && in ~ScopedHashTableScope()
249 assert(KeyEntry == ThisEntry && "Scope imbalance!"); in ~ScopedHashTableScope()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DDebugLoc.cpp26 assert(get() && "Expected valid DebugLoc"); in getLine()
31 assert(get() && "Expected valid DebugLoc"); in getCol()
36 assert(get() && "Expected valid DebugLoc"); in getScope()
41 assert(get() && "Expected valid DebugLoc"); in getInlinedAt()
H A DGlobals.cpp118 assert((!Align || *Align <= MaximumAlignment) && in setAlignment()
123 assert(MaybeAlign(getAlignment()) == Align && in setAlignment()
208 assert(hasSection()); in getSectionImpl()
238 assert(isa<GlobalIndirectSymbol>(this)); in isDeclaration()
342 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
346 assert(InitVal->getType() == Ty && in GlobalVariable()
366 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
370 assert(InitVal->getType() == Ty && in GlobalVariable()
399 assert(InitVal->getType() == getValueType() && in setInitializer()
522 assert((!Aliasee || Aliasee->getType() == getType()) && in setAliasee()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonInstPrinter.cpp36 assert(HexagonMCInstrInfo::isBundle(*MI)); in printInst()
37 assert(HexagonMCInstrInfo::bundleSize(*MI) <= HEXAGON_PACKET_SIZE); in printInst()
38 assert(HexagonMCInstrInfo::bundleSize(*MI) > 0); in printInst()
84 assert (MO.isExpr()); in printBrtarget()
/freebsd-13.1/contrib/mandoc/
H A Dpreconv.c40 assert(*cu & 0x80); in preconv_encode()
91 assert(accum > 0x7f); in preconv_encode()
92 assert(accum < 0x110000); in preconv_encode()
93 assert(accum < 0xd800 || accum > 0xdfff); in preconv_encode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCFrameLowering.cpp690 assert(SingleScratchReg && in emitPrologue()
860 assert(((ImmOffset & 0x7) == 0) && in emitPrologue()
1109 assert(NegFrameSize); in emitPrologue()
1364 assert(isInt<16>(NegProbeSize) && in inlineStackProbe()
1602 assert(SingleScratchReg && in emitEpilogue()
1871 assert(((ImmOffset & 0x7) == 0) && in emitEpilogue()
2389 assert(SpilledVSR.second == 0 && in spillCalleeSavedRegisters()
2625 assert(Subtarget.hasP9Vector()); in restoreCalleeSavedRegisters()
2634 assert(Subtarget.hasP8Vector()); in restoreCalleeSavedRegisters()
2658 assert(I != MBB.begin() && in restoreCalleeSavedRegisters()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCFLAliasAnalysisUtils.h26 assert(Fn != nullptr); in FunctionHandle()
27 assert(Result != nullptr); in FunctionHandle()
37 assert(Result != nullptr); in removeSelfFromCache()
/freebsd-13.1/sys/contrib/libsodium/test/default/
H A Dbox2.c64 assert(ret == -1); in main()
68 assert(ret == -1); in main()
70 assert(ret == 0); in main()
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.get_type.ksh44 assert(ans == "filesystem")
47 assert(ans == "snapshot")
50 assert(ans == "volume")
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFI386.h157 assert(Result <= UINT32_MAX && "relocation overflow"); in resolveRelocation()
172 assert(Result <= UINT32_MAX && "relocation overflow"); in resolveRelocation()
187 assert(static_cast<int64_t>(Result) <= INT32_MAX && in resolveRelocation()
189 assert(static_cast<int64_t>(Result) >= INT32_MIN && in resolveRelocation()
201 assert(static_cast<uint32_t>(RE.SectionID) <= UINT16_MAX && in resolveRelocation()
210 assert(static_cast<uint64_t>(RE.Addend) <= UINT32_MAX && in resolveRelocation()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp34 assert(T->isOpenCLSpecificType() && in convertOpenCLSpecificType()
119 assert(CGM.getLangOpts().OpenCL); in getGenericVoidPointerType()
147 assert(EnqueuedBlockMap.find(E) == EnqueuedBlockMap.end() && in recordBlockInfo()
149 assert(isa<llvm::Function>(InvokeF) && "Invalid invoke function"); in recordBlockInfo()
150 assert(Block->getType()->isPointerTy() && "Invalid block literal type"); in recordBlockInfo()
168 assert(EnqueuedBlockMap.find(Block) != EnqueuedBlockMap.end() && in emitOpenCLEnqueuedBlock()
/freebsd-13.1/sys/contrib/zstd/lib/decompress/
H A Dzstd_ddict.c48 assert(ddict != NULL); in ZSTD_DDict_dictContent()
54 assert(ddict != NULL); in ZSTD_DDict_dictSize()
61 assert(dctx != NULL); in ZSTD_copyDDictParameters()
62 assert(ddict != NULL); in ZSTD_copyDDictParameters()
196 assert(sBuffer != NULL); in ZSTD_initStaticDDict()
197 assert(dict != NULL); in ZSTD_initStaticDDict()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp72 assert(wpid == pid); in Launch()
147 assert(status.Success()); in NativeProcessFreeBSD()
200 assert(info.pl_event == PL_EVENT_SIGNAL); in MonitorSIGTRAP()
269 assert(thread); in MonitorSIGTRAP()
275 assert(thread); in MonitorSIGTRAP()
361 assert(info.pl_flags & PL_FLAG_SI); in MonitorSignal()
367 assert(info.pl_lwpid >= 0); in MonitorSignal()
782 assert(thread_id > 0); in AddThread()
783 assert(!HasThreadNoLock(thread_id) && in AddThread()
798 assert(thread_id > 0); in RemoveThread()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h4294 assert(UnwindDest);
4506 assert(CatchPad);
4507 assert(BB);
4513 assert(CatchPad);
4514 assert(BB);
4524 assert(CatchPad);
4530 assert(NewSucc);
4593 assert(CleanupPad);
4632 assert(NewDest);
4647 assert(Idx == 0);
[all …]

1...<<31323334353637383940>>...205