Lines Matching refs:buf
48 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee };
50 ASSERT_EQ(0, mCache->getBlob("abcd", 4, buf, 4));
51 ASSERT_EQ(0xee, buf[0]);
52 ASSERT_EQ(0xee, buf[1]);
53 ASSERT_EQ(0xee, buf[2]);
54 ASSERT_EQ(0xee, buf[3]);
58 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee };
61 ASSERT_EQ(4, mCache->getBlob("abcd", 4, buf, 4));
62 ASSERT_EQ('e', buf[0]);
63 ASSERT_EQ('f', buf[1]);
64 ASSERT_EQ('g', buf[2]);
65 ASSERT_EQ('h', buf[3]);
69 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee };
73 ASSERT_EQ(0, mCache->getBlob("abcd", 4, buf, 4));
74 ASSERT_EQ(0xee, buf[0]);
75 ASSERT_EQ(0xee, buf[1]);
76 ASSERT_EQ(0xee, buf[2]);
77 ASSERT_EQ(0xee, buf[3]);
98 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee };
104 ASSERT_EQ(4, mCache->getBlob("abcd", 4, buf, 4));
105 ASSERT_EQ('e', buf[0]);
106 ASSERT_EQ('f', buf[1]);
107 ASSERT_EQ('g', buf[2]);
108 ASSERT_EQ('h', buf[3]);