Lines Matching defs:data
130 /* Test that calls to ERR_add_error_[v]data append */
133 const char *data;
138 ERR_peek_error_data(&data, NULL);
139 return TEST_str_eq(data, "hello world");
144 const char *f, *data;
161 if (!TEST_ulong_ne(e = ERR_get_error_all(&f, &l, NULL, &data, NULL), 0)
167 || !TEST_str_eq(data, "calling exit()"))
293 const char *data = NULL;
296 /* Raise an error with data and clear it */
298 ERR_peek_error_data(&data, &flags);
299 if (!TEST_str_eq(data, "hello world")
304 /* Raise a new error without data */
306 ERR_peek_error_data(&data, &flags);
307 if (!TEST_str_eq(data, "")
312 /* Raise a new error with data */
314 ERR_peek_error_data(&data, &flags);
315 if (!TEST_str_eq(data, "goodbye cruel world")
321 * Raise a new error without data to check that the malloced storage
325 ERR_peek_error_data(&data, &flags);
326 if (!TEST_str_eq(data, "")