Searched defs:isc_safe_memcompare (Results 1 - 2 of 2) sorted by relevance

/bind-9.11.3/lib/isc/tests/
H A Dsafe_test.c40 ATF_TC(isc_safe_memcompare); variable
41 ATF_TC_HEAD(isc_safe_memcompare, tc) {
44 ATF_TC_BODY(isc_safe_memcompare, tc) {
47 ATF_CHECK(isc_safe_memcompare("test", "test", 4) == 0);
48 ATF_CHECK(isc_safe_memcompare("test", "tesc", 4) > 0);
49 ATF_CHECK(isc_safe_memcompare("test", "tesy", 4) < 0);
50 ATF_CHECK(isc_safe_memcompare("\x00\x00\x00\x00",
52 ATF_CHECK(isc_safe_memcompare("\x00\x00\x00\x00",
54 ATF_CHECK(isc_safe_memcompare("\x00\x00\x00\x02",
107 ATF_TP_ADD_TC(tp, isc_safe_memcompare);
[all...]
/bind-9.11.3/lib/isc/
H A Dsafe.c41 isc_safe_memcompare(const void *b1, const void *b2, size_t len) { function

Completed in 10 milliseconds