Lines Matching refs:testdata
78 const char testdata[] = "Test data"; in test_func() local
79 char buf[sizeof(testdata)]; in test_func()
104 for (ret = -1, i = 0, len = 0; len != sizeof(testdata) && i < 2; in test_func()
121 ret = SSL_write(clientssl, testdata + len, in test_func()
122 sizeof(testdata) - len); in test_func()
135 if (!TEST_size_t_eq(len, sizeof(testdata))) in test_func()
142 for (ret = -1, i = 0, len = 0; len != sizeof(testdata) && in test_func()
171 if (!TEST_mem_eq(buf, len, testdata, sizeof(testdata))) in test_func()
203 const char testdata[] = "Test data"; in test_free_buffers() local
237 if (!TEST_true(SSL_write_ex(clientssl, testdata, strlen(testdata), in test_free_buffers()
251 readlen += strlen(testdata); in test_free_buffers()
312 || !TEST_size_t_eq(readbytes, strlen(testdata))) in test_free_buffers()