Lines Matching defs:buffer
48 parse_buffer buffer = { 0, 0, 0, 0, { 0, 0, 0 } };
49 buffer.content = (const unsigned char*)string;
50 buffer.length = strlen(string) + sizeof("");
51 buffer.hooks = global_hooks;
53 TEST_ASSERT_TRUE_MESSAGE(parse_string(item, &buffer), "Couldn't parse string.");
62 parse_buffer buffer = { 0, 0, 0, 0, { 0, 0, 0 } };
63 buffer.content = (const unsigned char*)string;
64 buffer.length = strlen(string) + sizeof("");
65 buffer.hooks = global_hooks;
67 TEST_ASSERT_FALSE_MESSAGE(parse_string(item, &buffer), "Malformed string should not be accepted.");