Home
last modified time | relevance | path

Searched refs:Assert (Results 1 – 25 of 67) sorted by relevance

123

/freebsd-12.1/contrib/llvm/lib/IR/
H A DVerifier.cpp1377 Assert( in visitModuleFlag()
1381 Assert(false, in visitModuleFlag()
1883 Assert( in visitConstantExpr()
2702 Assert( in visitBitCastInst()
2972 Assert( in verifyMustTailCall()
3034 Assert( in visitInvokeInst()
3162 Assert( in visitExtractElementInst()
3190 Assert(all_of( in visitGetElementPtrInst()
3977 Assert( in visitInstruction()
4469 Assert( in visitIntrinsicCall()
[all …]
H A DValue.cpp850 for (ValueHandleBase Iterator(Assert, *Entry); Entry; Entry = Iterator.Next) { in ValueIsDeleted()
856 case Assert: in ValueIsDeleted()
876 if (pImpl->ValueHandles[V]->getKind() == Assert) in ValueIsDeleted()
902 for (ValueHandleBase Iterator(Assert, *Entry); Entry; Entry = Iterator.Next) { in ValueIsRAUWd()
908 case Assert: in ValueIsRAUWd()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DLint.cpp197 #define Assert(C, ...) \ in INITIALIZE_PASS_DEPENDENCY() macro
219 Assert(F.hasName() || F.hasLocalLinkage(), in visitFunction()
247 Assert(FT->getReturnType() == I.getType(), in visitCallSite()
307 Assert(!isa<AllocaInst>(Obj), in visitCallSite()
400 Assert(!F->doesNotReturn(), in visitReturnInst()
422 Assert(!isa<UndefValue>(UnderlyingObject), in visitMemoryReference()
424 Assert(!isa<ConstantInt>(UnderlyingObject) || in visitMemoryReference()
435 Assert(!isa<Function>(UnderlyingObject) && in visitMemoryReference()
450 Assert(!isa<Constant>(UnderlyingObject) || in visitMemoryReference()
619 Assert(I.getNumDestinations() != 0, in visitIndirectBrInst()
[all …]
/freebsd-12.1/lib/libc/net/
H A Dbase64.c59 #define Assert(Cond) if (!(Cond)) abort() macro
145 Assert(output[0] < 64); in b64_ntop()
146 Assert(output[1] < 64); in b64_ntop()
147 Assert(output[2] < 64); in b64_ntop()
148 Assert(output[3] < 64); in b64_ntop()
168 Assert(output[0] < 64); in b64_ntop()
169 Assert(output[1] < 64); in b64_ntop()
170 Assert(output[2] < 64); in b64_ntop()
/freebsd-12.1/contrib/googletest/googletest/test/
H A Dgtest_testbridge_test.py41 def Assert(condition): function
57 Assert('filter = *.TestThatSucceeds' in p.output)
58 Assert('[ OK ] TestFilterTest.TestThatSucceeds' in p.output)
59 Assert('[ PASSED ] 1 test.' in p.output)
H A Dgoogletest-param-test-invalid-name1-test.py39 def Assert(condition): function
50 Assert(p.terminated_by_signal)
53 Assert(err in p.output)
H A Dgoogletest-param-test-invalid-name2-test.py39 def Assert(condition): function
50 Assert(p.terminated_by_signal)
53 Assert(err in p.output)
H A Dgoogletest-uninitialized-test.py39 def Assert(condition): function
57 Assert('IMPORTANT NOTICE' in p.output);
58 Assert('InitGoogleTest' in p.output)
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dtrees.c198 Assert(length > 0 && length <= 15, "invalid length");
267 Assert (length == 256, "tr_static_init: length != 256"); in tr_static_init()
282 Assert (dist == 256, "tr_static_init: dist != 256"); in tr_static_init()
290 Assert (dist == 256, "tr_static_init: 256+dist != 512"); in tr_static_init()
335 Assert (header != NULL, "Can't open trees.h"); in gen_trees_header()
596 Assert (code + bl_count[MAX_BITS]-1 == (1<<MAX_BITS)-1,
779 Assert(count >= 3 && count <= 6, " 3_6?");
965 Assert(buf != (char*)0, "lost buf");
1036 Assert((ush)dist < (ush)MAX_DIST(s) &&
1100 Assert (code < D_CODES, "bad d_code");
[all …]
H A Ddeflate.c833 Assert(strm->avail_out > 0, "bug2");
1067 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1081 Assert(cur_match < s->strstart, "no future");
1108 Assert(scan[2] == match[2], "scan[2]?");
1139 Assert(*scan == *match, "match[2]?");
1197 Assert(cur_match < s->strstart, "no future");
1212 Assert(*scan == *match, "match[2]?");
1346 Assert(more >= 2, "more < 2");
1415 Assert(s->strstart < s->w_size+MAX_DIST(s) ||
1423 Assert(s->block_start >= 0L, "block gone");
[all …]
H A Dzutil.h250 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} macro
257 # define Assert(cond,msg) macro
H A Dzutil.c265 Assert(0, "zcfree: ptr not found"); in zcfree()
/freebsd-12.1/sys/contrib/zlib/
H A Dtrees.c192 Assert(length > 0 && length <= 15, "invalid length");
263 Assert (length == 256, "tr_static_init: length != 256"); in tr_static_init()
278 Assert (dist == 256, "tr_static_init: dist != 256"); in tr_static_init()
286 Assert (dist == 256, "tr_static_init: 256+dist != 512"); in tr_static_init()
331 Assert (header != NULL, "Can't open trees.h"); in gen_trees_header()
592 Assert (code + bl_count[MAX_BITS]-1 == (1<<MAX_BITS)-1,
775 Assert(count >= 3 && count <= 6, " 3_6?");
955 Assert(buf != (char*)0, "lost buf");
1028 Assert((ush)dist < (ush)MAX_DIST(s) &&
1092 Assert (code < D_CODES, "bad d_code");
[all …]
H A Ddeflate.c1270 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1284 Assert(cur_match < s->strstart, "no future");
1311 Assert(scan[2] == match[2], "scan[2]?");
1342 Assert(*scan == *match, "match[2]?");
1397 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1401 Assert(cur_match < s->strstart, "no future");
1416 Assert(*scan == *match, "match[2]?");
1489 Assert(s->lookahead < MIN_LOOKAHEAD, "already enough lookahead");
1532 Assert(more >= 2, "more < 2");
1597 Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD,
[all …]
H A Dzutil.h241 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} macro
248 # define Assert(cond,msg) macro
/freebsd-12.1/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h295 inline void Assert(bool condition, const char* file, int line,
302 inline void Assert(bool condition, const char* file, int line) {
303 Assert(condition, file, line, "Assertion failed.");
406 Assert(false, "", -1, "Internal error: attempt to return invalid value");
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DValueHandle.h38 enum HandleBaseKind { Assert, Callback, Weak, WeakTracking }; enumerator
262 AssertingVH() : ValueHandleBase(Assert) {}
263 AssertingVH(ValueTy *P) : ValueHandleBase(Assert, GetAsValue(P)) {}
264 AssertingVH(const AssertingVH &RHS) : ValueHandleBase(Assert, RHS) {}
/freebsd-12.1/usr.sbin/ctm/ctm/
H A Dctm.h142 #define Assert() Fatal_(__LINE__,__FILE__,"Assert failed.") macro
143 #define WRONG {Assert(); return Exit_Mess;}
H A Dctm_input.c26 #define Assert() Fatal_(__LINE__,__FILE__,"Assert failed.") macro
/freebsd-12.1/sys/sys/
H A Dzutil.h202 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} macro
209 # define Assert(cond,msg) macro
/freebsd-12.1/sys/libkern/
H A Dzlib.c241 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} macro
248 # define Assert(cond,msg) macro
1103 Assert(strm->avail_out > 0, "bug2");
1350 Assert(scan[2] == match[2], "scan[2]?");
1381 Assert(*scan == *match, "match[2]?");
1526 Assert(more >= 2, "more < 2");
1604 Assert(s->block_start >= 0L, "block gone");
1834 Assert (flush != Z_NO_FLUSH, "no flush?");
2735 Assert(buf != (char*)0, "lost buf");
2818 Assert((ush)dist < (ush)MAX_DIST(s) &&
[all …]
/freebsd-12.1/contrib/googletest/googlemock/test/
H A Dgmock-internal-utils_test.cc354 Assert(true, __FILE__, __LINE__, "This should succeed."); in TEST()
355 Assert(true, __FILE__, __LINE__); // This should succeed too. in TEST()
361 Assert(false, __FILE__, __LINE__, "This should fail."); in TEST()
365 Assert(false, __FILE__, __LINE__); in TEST()
/freebsd-12.1/contrib/googletest/googlemock/src/
H A Dgmock-spec-builders.cc343 Assert(mock_obj_ != NULL, __FILE__, __LINE__, in MockObject()
360 Assert(name_ != NULL, __FILE__, __LINE__, in Name()
497 Assert(false, __FILE__, __LINE__, "Cannot find expectation."); in GetHandleOf()
H A Dgmock-internal-utils.cc193 internal::Assert( in IllegalDoDefault()
/freebsd-12.1/sys/dev/extres/hwreset/
H A Dhwreset_if.m55 # Assert/deassert given reset.

123