Home
last modified time | relevance | path

Searched refs:check_memcmp (Results 1 – 1 of 1) sorted by relevance

/freebsd/lib/libc/tests/string/
H A Dmemcmp_test.c57 check_memcmp(const char *a, const char *b, size_t len, int expected) in check_memcmp() function
71 check_memcmp("a", "b", 0, 0); in ATF_TC_BODY()
72 check_memcmp("", "", 0, 0); in ATF_TC_BODY()
84 check_memcmp(data1, data2, i, 0); in ATF_TC_BODY()
86 check_memcmp(data1 + i, data2 + i, 256 - i, 0); in ATF_TC_BODY()
100 check_memcmp(data1, data2, i, -0x55); in ATF_TC_BODY()
102 check_memcmp(data1 + i, data2 + i, 256 - i, i - (i ^ 0x55)); in ATF_TC_BODY()
116 check_memcmp(data1 + 128, data2 + 128, i, 255); in ATF_TC_BODY()
117 check_memcmp(data2 + 128, data1 + 128, i, -255); in ATF_TC_BODY()
118 check_memcmp(data1 + 129 - i, data2 + 129 - i, i, 255); in ATF_TC_BODY()
[all …]