Lines Matching refs:buffer
17 char buffer[128], *p = buffer, *end = p + sizeof(buffer);
20 EXPECT_EQ(buffer + 7, p);
21 EXPECT_STREQ("foo/bar", buffer);
25 char buffer[4], *p, *end = buffer + sizeof(buffer);
26 p = bufprint(buffer, end, "foobar");
27 EXPECT_EQ(buffer + 4, p);
28 EXPECT_STREQ("foo", buffer);