Home | History | Annotate | Download | only in tests

Lines Matching refs:buf

42   uint8_t buf[128];
43 ASSERT_EQ(128, b64_pton(data, buf, sizeof(buf)));
47 char buf[128];
48 memset(buf, 'x', sizeof(buf));
51 buf, sizeof(buf)));
52 ASSERT_STREQ(buf, "aGVsbG8=");
56 u_char buf[128];
57 memset(buf, 'x', sizeof(buf));
58 ASSERT_EQ(static_cast<int>(strlen("hello")), b64_pton("aGVsbG8=", buf, sizeof(buf)));
59 ASSERT_STREQ(reinterpret_cast<char*>(buf), "hello");