Searched refs:REQUIRE (Results 1 - 25 of 109) sorted by relevance

12345

/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dbuffer.c37 REQUIRE(b != NULL);
63 REQUIRE(b->length <= length);
64 REQUIRE(base != NULL);
77 REQUIRE(ISC_BUFFER_VALID(b));
78 REQUIRE(!ISC_LINK_LINKED(b, link));
79 REQUIRE(b->mctx == NULL);
90 REQUIRE(ISC_BUFFER_VALID(b));
91 REQUIRE(r != NULL);
102 REQUIRE(ISC_BUFFER_VALID(b));
103 REQUIRE(
[all...]
H A Dmem_api.c65 REQUIRE(mem_createfunc != NULL);
82 REQUIRE(mem_createfunc != NULL);
92 REQUIRE(ISCAPI_MCTX_VALID(source));
93 REQUIRE(targetp != NULL && *targetp == NULL);
102 REQUIRE(mctxp != NULL && ISCAPI_MCTX_VALID(*mctxp));
111 REQUIRE(mctxp != NULL && ISCAPI_MCTX_VALID(*mctxp));
120 REQUIRE(ISCAPI_MCTX_VALID(mctx));
127 REQUIRE(ISCAPI_MCTX_VALID(mctx));
134 REQUIRE(mctxp != NULL && ISCAPI_MCTX_VALID(*mctxp));
146 REQUIRE(ISCAPI_MCTX_VALI
[all...]
H A Dapp_api.c62 REQUIRE(appctx_createfunc != NULL);
72 REQUIRE(ctxp != NULL && ISCAPI_APPCTX_VALID(*ctxp));
81 REQUIRE(ISCAPI_APPCTX_VALID(ctx));
88 REQUIRE(ISCAPI_APPCTX_VALID(ctx));
95 REQUIRE(ISCAPI_APPCTX_VALID(ctx));
102 REQUIRE(ISCAPI_APPCTX_VALID(ctx));
109 REQUIRE(ISCAPI_APPCTX_VALID(ctx));
116 REQUIRE(ISCAPI_APPCTX_VALID(ctx));
117 REQUIRE(taskmgr != NULL);
124 REQUIRE(ISCAPI_APPCTX_VALI
[all...]
H A Dbitstring.c53 REQUIRE(bitstring != NULL);
54 REQUIRE(data != NULL);
55 REQUIRE(length <= size);
71 REQUIRE(VALID_BITSTRING(bitstring));
92 REQUIRE(VALID_BITSTRING(source));
93 REQUIRE(VALID_BITSTRING(target));
94 REQUIRE(source->lsb0 == target->lsb0);
96 REQUIRE(sbitpos <= source->length);
98 REQUIRE(sbitpos >= n);
101 REQUIRE(sbitpo
[all...]
H A Dbufferlist.c35 REQUIRE(bl != NULL);
40 REQUIRE(ISC_BUFFER_VALID(buffer));
53 REQUIRE(bl != NULL);
58 REQUIRE(ISC_BUFFER_VALID(buffer));
H A Dtask_api.c64 REQUIRE(taskmgr_createfunc != NULL);
84 REQUIRE(taskmgr_createfunc != NULL);
95 REQUIRE(managerp != NULL && ISCAPI_TASKMGR_VALID(*managerp));
104 REQUIRE(ISCAPI_TASKMGR_VALID(manager));
111 REQUIRE(ISCAPI_TASKMGR_VALID(manager));
120 REQUIRE(ISCAPI_TASKMGR_VALID(manager));
121 REQUIRE(taskp != NULL && *taskp == NULL);
128 REQUIRE(ISCAPI_TASK_VALID(source));
129 REQUIRE(targetp != NULL && *targetp == NULL);
138 REQUIRE(task
[all...]
H A Dsocket_api.c61 REQUIRE(socketmgr_createfunc != NULL);
78 REQUIRE(socketmgr_createfunc != NULL);
88 REQUIRE(managerp != NULL && ISCAPI_SOCKETMGR_VALID(*managerp));
99 REQUIRE(ISCAPI_SOCKETMGR_VALID(manager));
106 REQUIRE(ISCAPI_SOCKET_VALID(sock));
107 REQUIRE(socketp != NULL && *socketp == NULL);
116 REQUIRE(socketp != NULL && ISCAPI_SOCKET_VALID(*socketp));
127 REQUIRE(ISCAPI_SOCKET_VALID(sock));
137 REQUIRE(ISCAPI_SOCKET_VALID(sock));
147 REQUIRE(ISCAPI_SOCKET_VALI
[all...]
H A Dlfsr.c38 REQUIRE(VALID_LFSR(lfsr));
39 REQUIRE(8 <= bits && bits <= 32);
40 REQUIRE(tap != 0);
92 REQUIRE(VALID_LFSR(lfsr));
93 REQUIRE(data != NULL);
94 REQUIRE(count > 0);
134 REQUIRE(VALID_LFSR(lfsr));
150 REQUIRE(VALID_LFSR(lfsr1));
151 REQUIRE(VALID_LFSR(lfsr2));
H A Dportset.c66 REQUIRE(portsetp != NULL && *portsetp == NULL);
83 REQUIRE(portsetp != NULL);
91 REQUIRE(portset != NULL);
98 REQUIRE(portset != NULL);
105 REQUIRE(portset != NULL);
121 REQUIRE(portset != NULL);
122 REQUIRE(port_lo <= port_hi);
136 REQUIRE(portset != NULL);
137 REQUIRE(port_lo <= port_hi);
H A Dtimer_api.c63 REQUIRE(timermgr_createfunc != NULL);
80 REQUIRE(timermgr_createfunc != NULL);
90 REQUIRE(*managerp != NULL && ISCAPI_TIMERMGR_VALID(*managerp));
103 REQUIRE(ISCAPI_TIMERMGR_VALID(manager));
112 REQUIRE(ISCAPI_TIMER_VALID(timer));
113 REQUIRE(timerp != NULL && *timerp == NULL);
122 REQUIRE(timerp != NULL && ISCAPI_TIMER_VALID(*timerp));
134 REQUIRE(ISCAPI_TIMER_VALID(timer));
141 REQUIRE(ISCAPI_TIMER_VALID(timer));
H A Dondestroy.c48 REQUIRE(VALID_ONDESTROY(ondest));
49 REQUIRE(task != NULL);
50 REQUIRE(eventp != NULL);
54 REQUIRE(theevent != NULL);
70 REQUIRE(VALID_ONDESTROY(ondest));
H A Dregion.c35 REQUIRE(r1 != NULL);
36 REQUIRE(r2 != NULL);
H A Devent.c47 REQUIRE(size >= sizeof(struct isc_event));
48 REQUIRE(action != NULL);
78 REQUIRE(eventp != NULL);
80 REQUIRE(event != NULL);
H A Dfsaccess.c39 REQUIRE(trustee <= 0x7);
40 REQUIRE(permission <= 0xFF);
54 REQUIRE(trustee <= 0x7);
55 REQUIRE(permission <= 0xFF);
H A Dheap.c82 REQUIRE(heapp != NULL && *heapp == NULL);
83 REQUIRE(compare != NULL);
110 REQUIRE(heapp != NULL);
112 REQUIRE(VALID_HEAP(heap));
128 REQUIRE(VALID_HEAP(heap));
192 REQUIRE(VALID_HEAP(heap));
210 REQUIRE(VALID_HEAP(heap));
211 REQUIRE(index >= 1 && index <= heap->last);
232 REQUIRE(VALID_HEAP(heap));
233 REQUIRE(inde
[all...]
H A Drefcount.c29 REQUIRE(ref != NULL);
/freebsd-11-stable/contrib/ntp/libntp/
H A Dcaltontp.c43 REQUIRE(jt != NULL);
45 REQUIRE(jt->month <= 13); /* permit month 0..13! */
46 REQUIRE(jt->monthday <= 32);
47 REQUIRE(jt->yearday <= 366);
48 REQUIRE(jt->hour <= 24);
49 REQUIRE(jt->minute <= MINSPERHR);
50 REQUIRE(jt->second <= SECSPERMIN);
/freebsd-11-stable/contrib/ntp/lib/isc/nls/
H A Dmsgcat.c64 REQUIRE(name != NULL);
65 REQUIRE(msgcatp != NULL && *msgcatp == NULL);
94 REQUIRE(msgcatp != NULL);
96 REQUIRE(VALID_MSGCAT(msgcat) || msgcat == NULL);
119 REQUIRE(VALID_MSGCAT(msgcat) || msgcat == NULL);
120 REQUIRE(set > 0);
121 REQUIRE(message > 0);
122 REQUIRE(default_text != NULL);
/freebsd-11-stable/tools/regression/security/cap_test/
H A Dcap_test_fcntl.c77 REQUIRE(files[0].f_fd);
78 REQUIRE(files[1].f_fd);
79 REQUIRE(files[2].f_fd);
86 REQUIRE(caps[0].f_fd);
87 REQUIRE(caps[1].f_fd);
88 REQUIRE(caps[2].f_fd);
97 REQUIRE(cap_enter());
108 REQUIRE(cap = cap_new(f.f_fd, CAP_READ));
/freebsd-11-stable/contrib/netbsd-tests/dev/md/
H A Dh_mdserv.c22 #define REQUIRE(a, msg) if ((a) != 0) err(1, msg); macro
55 REQUIRE(error, "rump_daemonize_done");
78 REQUIRE(error, "rump_daemonize_begin");
81 REQUIRE(error, "rump_init");
84 REQUIRE(error, "init server");
100 REQUIRE(error, "pthread_create");
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/
H A Drefcount.h106 #define isc_refcount_destroy(rp) REQUIRE((rp)->refs == 0)
123 REQUIRE(prev > 0); \
133 REQUIRE(prev > 0); \
148 REQUIRE((rp)->refs == 0); \
169 REQUIRE((rp)->refs > 0); \
181 REQUIRE((rp)->refs > 0); \
195 #define isc_refcount_destroy(rp) REQUIRE((rp)->refs == 0)
210 REQUIRE((rp)->refs > 0); \
220 REQUIRE((rp)->refs > 0); \
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Ddir.c46 REQUIRE(dir != NULL);
69 REQUIRE(dirname != NULL);
70 REQUIRE(VALID_DIR(dir) && dir->search_handle == INVALID_HANDLE_VALUE);
105 REQUIRE(VALID_DIR(dir) && dir->search_handle != INVALID_HANDLE_VALUE);
144 REQUIRE(VALID_DIR(dir) && dir->search_handle != INVALID_HANDLE_VALUE);
157 REQUIRE(VALID_DIR(dir) && dir->search_handle != INVALID_HANDLE_VALUE);
158 REQUIRE(dir->dirname != NULL);
183 REQUIRE(VALID_DIR(dir));
184 REQUIRE(dir->search_handle == INVALID_HANDLE_VALUE);
230 REQUIRE(dirnam
[all...]
H A Dkeyboard.c41 REQUIRE(keyboard != NULL);
56 REQUIRE(keyboard != NULL);
71 REQUIRE(keyboard != NULL);
72 REQUIRE(cp != NULL);
H A Dstdtime.c34 REQUIRE(t != NULL);
/freebsd-11-stable/contrib/ntp/lib/isc/unix/
H A Dtime.c90 REQUIRE(i != NULL);
91 REQUIRE(nanoseconds < NS_PER_S);
99 REQUIRE(i != NULL);
118 REQUIRE(t != NULL);
119 REQUIRE(nanoseconds < NS_PER_S);
127 REQUIRE(t != NULL);
135 REQUIRE(t != NULL);
150 REQUIRE(t != NULL);
192 REQUIRE(t != NULL);
193 REQUIRE(
[all...]

Completed in 68 milliseconds

12345