Lines Matching defs:buf
50 char buf[1024];
54 result = isc_file_sanitize("testdata/file", NAME, "test", buf, 1024);
56 ATF_CHECK(strcmp(buf, F(NAME)) == 0);
59 result = isc_file_sanitize("testdata/file", NAME, "test", buf, 1024);
61 ATF_CHECK(strcmp(buf, F(TRUNC_SHA)) == 0);
64 result = isc_file_sanitize("testdata/file", NAME, "test", buf, 1024);
66 ATF_CHECK(strcmp(buf, F(SHA)) == 0);
68 result = isc_file_sanitize("testdata/file", BAD1, "test", buf, 1024);
70 ATF_CHECK(strcmp(buf, F(BADHASH1)) == 0);
72 result = isc_file_sanitize("testdata/file", BAD2, "test", buf, 1024);
74 ATF_CHECK(strcmp(buf, F(BADHASH2)) == 0);