Home | History | Annotate | Download | only in tests

Lines Matching full:bcmp

1311   it = "bcmp";
1312 check(bcmp("a", "a", 1) == 0, 1); /* Identity. */
1313 check(bcmp("abc", "abc", 3) == 0, 2); /* Multicharacter. */
1314 check(bcmp("abcd", "abce", 4) != 0, 3); /* Honestly unequal. */
1315 check(bcmp("abce", "abcd", 4) != 0, 4);
1316 check(bcmp("alph", "beta", 4) != 0, 5);
1317 check(bcmp("abce", "abcd", 3) == 0, 6); /* Count limited. */
1318 check(bcmp("abc", "def", 0) == 0, 8); /* Zero count. */
1514 /* bcmp - somewhat like memcmp. */