Home
last modified time | relevance | path

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

12

/freebsd/contrib/arm-optimized-routines/networking/arm/
H A Dchksum_simd.c31 Assert(nbytes >= 8); in __chksum_arm_simd()
49 Assert(((uintptr_t) ptr & 7) == 0); in __chksum_arm_simd()
84 Assert(nbytes < 16); in __chksum_arm_simd()
93 Assert((vgetq_lane_u64(vsum0, 0) >> 32) == 0); in __chksum_arm_simd()
94 Assert((vgetq_lane_u64(vsum0, 1) >> 32) == 0); in __chksum_arm_simd()
109 Assert(nbytes < 8); in __chksum_arm_simd()
114 Assert(((uintptr_t) ptr32 & 7) == 0); in __chksum_arm_simd()
115 Assert(nbytes < 8); in __chksum_arm_simd()
131 Assert(vget_lane_u32(vreinterpret_u32_u64(vsum), 1) == 0); in __chksum_arm_simd()
137 Assert(vget_lane_u16(vreinterpret_u16_u32(vsum32), 1) == 0); in __chksum_arm_simd()
[all …]
/freebsd/contrib/arm-optimized-routines/networking/aarch64/
H A Dchksum_simd.c21 Assert(*nbytes >= 8); in slurp_head64()
43 Assert(nbytes < 8); in slurp_tail64()
48 Assert(__builtin_popcountl(mask) / CHAR_BIT == nbytes); in slurp_tail64()
54 Assert(nbytes == 0); in slurp_tail64()
72 Assert(nbytes >= 8); in __chksum_aarch64_simd()
74 Assert(((uintptr_t) ptr & 7) == 0); in __chksum_aarch64_simd()
112 Assert(nbytes < 32); in __chksum_aarch64_simd()
125 Assert(nbytes < 16); in __chksum_aarch64_simd()
135 Assert(nbytes < 8); in __chksum_aarch64_simd()
/freebsd/lib/libc/net/
H A Dbase64.c56 #define Assert(Cond) if (!(Cond)) abort() macro
142 Assert(output[0] < 64); in b64_ntop()
143 Assert(output[1] < 64); in b64_ntop()
144 Assert(output[2] < 64); in b64_ntop()
145 Assert(output[3] < 64); in b64_ntop()
165 Assert(output[0] < 64); in b64_ntop()
166 Assert(output[1] < 64); in b64_ntop()
167 Assert(output[2] < 64); in b64_ntop()
/freebsd/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.py41 def Assert(condition): function
59 Assert('IMPORTANT NOTICE' in p.output)
60 Assert('InitGoogleTest' in p.output)
/freebsd/contrib/arm-optimized-routines/networking/
H A Dchksum_common.h24 #define Assert(exp) assert(exp) macro
26 #define Assert(exp) (void) (exp) macro
117 Assert(sum == (uint32_t) sum); in fold_and_swap()
122 Assert(sum == (uint16_t) sum); in fold_and_swap()
H A Dchksum.c17 Assert(*nbytes >= 4); in slurp_head32()
58 Assert(nbytes < 16); in __chksum()
67 Assert(nbytes < 4); in __chksum()
/freebsd/sys/contrib/zlib/
H A Dtrees.c218 Assert (code + bl_count[MAX_BITS] - 1 == (1 << MAX_BITS) - 1, in gen_codes()
254 Assert(length > 0 && length <= 15, "invalid length"); in send_bits()
324 Assert (length == 256, "tr_static_init: length != 256"); in tr_static_init()
339 Assert (dist == 256, "tr_static_init: dist != 256"); in tr_static_init()
347 Assert (dist == 256, "tr_static_init: 256 + dist != 512"); in tr_static_init()
391 Assert (header != NULL, "Can't open trees.h"); in gen_trees_header()
774 Assert(count >= 3 && count <= 6, " 3_6?"); in send_tree()
835 Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, "not enough codes"); in send_all_trees()
836 Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES, in send_all_trees()
929 Assert (code < D_CODES, "bad d_code"); in compress_block()
[all …]
H A Ddeflate.c256 Assert(s->lookahead < MIN_LOOKAHEAD, "already enough lookahead"); in fill_window()
301 Assert(more >= 2, "more < 2"); in fill_window()
366 Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD, in fill_window()
1379 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever"); in longest_match()
1390 Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD, in longest_match()
1394 Assert(cur_match < s->strstart, "no future"); in longest_match()
1421 Assert(scan[2] == match[2], "scan[2]?"); in longest_match()
1432 Assert(scan <= s->window + (unsigned)(s->window_size - 1), in longest_match()
1453 Assert(*scan == *match, "match[2]?"); in longest_match()
1465 Assert(scan <= s->window + (unsigned)(s->window_size - 1), in longest_match()
[all …]
H A Dzutil.h224 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} macro
231 # define Assert(cond,msg) macro
H A Dzutil.c247 Assert(0, "zcfree: ptr not found"); in zcfree()
/freebsd/contrib/arm-optimized-routines/networking/test/
H A Dchksum.c23 #define Assert(exp) assert(exp) macro
25 #define Assert(exp) (void) (exp) macro
59 Assert(sum == (uint32_t) sum); in checksum_simple()
64 Assert(sum == (uint16_t) sum); in checksum_simple()
/freebsd/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h243 inline void Assert(bool condition, const char* file, int line, in Assert() function
250 inline void Assert(bool condition, const char* file, int line) { in Assert() function
251 Assert(condition, file, line, "Assertion failed."); in Assert()
315 Assert(/*condition=*/false, /*file=*/"", /*line=*/-1, in Invalid()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DValueHandle.h37 enum HandleBaseKind { Assert, Callback, Weak, WeakTracking }; enumerator
284 AssertingVH() : ValueHandleBase(Assert) {}
285 AssertingVH(ValueTy *P) : ValueHandleBase(Assert, GetAsValue(P)) {}
286 AssertingVH(const AssertingVH &RHS) : ValueHandleBase(Assert, RHS) {}
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-internal-utils_test.cc333 Assert(true, __FILE__, __LINE__, "This should succeed."); in TEST()
334 Assert(true, __FILE__, __LINE__); // This should succeed too. in TEST()
340 { Assert(false, __FILE__, __LINE__, "This should fail."); }, ""); in TEST()
342 EXPECT_DEATH_IF_SUPPORTED({ Assert(false, __FILE__, __LINE__); }, ""); in TEST()
/freebsd/contrib/googletest/googlemock/src/
H A Dgmock-spec-builders.cc349 Assert(mock_obj_ != nullptr, __FILE__, __LINE__, in MockObject()
366 Assert(name_ != nullptr, __FILE__, __LINE__, in Name()
386 Assert(false, __FILE__, __LINE__, "Cannot find expectation."); in GetHandleOf()
H A Dgmock-internal-utils.cc194 internal::Assert( in IllegalDoDefault()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DValue.cpp1220 for (ValueHandleBase Iterator(Assert, *Entry); Entry; Entry = Iterator.Next) { in ValueIsDeleted()
1226 case Assert: in ValueIsDeleted()
1246 if (pImpl->ValueHandles[V]->getKind() == Assert) in ValueIsDeleted()
1272 for (ValueHandleBase Iterator(Assert, *Entry); Entry; Entry = Iterator.Next) { in ValueIsRAUWd()
1278 case Assert: in ValueIsRAUWd()
/freebsd/sys/dev/hwreset/
H A Dhwreset_if.m56 # Assert/deassert given reset.
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGLexer.h95 Assert = OBJECT_START_FIRST, enumerator
/freebsd/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-bmc-asrock-e3c246d4i.dts184 /* Assert BMC_READY so BIOS doesn't sit around waiting for it */
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h262 Assert(property, file_, line_, failure_message); in AssertSpecProperty()
744 Assert(property, file_, line_, failure_message); in AssertSpecProperty()
1186 Assert(count >= 1, __FILE__, __LINE__, in GetCurrentAction()
1512 Assert(DefaultValue<Result>::Exists(), "", -1, message); in PerformDefaultAction()
/freebsd/sys/contrib/device-tree/Bindings/i2c/
H A Di2c-arb-gpio-challenge.txt32 1. Assert OUR_CLAIM.

12