Lines Matching refs:data
28 bufmem.data = (char *) str; in test_bio_memleak()
61 if (!TEST_mem_eq(bufmem->data, bufmem->length, "Hello World\n", 12)) in test_bio_get_mem()
76 char data[16]; in test_bio_new_mem_buf() local
81 if (!TEST_int_eq(BIO_read(bio, data, 5), 5)) in test_bio_new_mem_buf()
83 if (!TEST_mem_eq(data, 5, "Hello", 5)) in test_bio_new_mem_buf()
89 if (!TEST_int_eq(BIO_read(bio, data, 16), 7)) in test_bio_new_mem_buf()
91 if (!TEST_mem_eq(data, 7, " World\n", 7)) in test_bio_new_mem_buf()
95 if (!TEST_int_eq(BIO_read(bio, data, 16), 12)) in test_bio_new_mem_buf()
97 if (!TEST_mem_eq(data, 12, "Hello World\n", 12)) in test_bio_new_mem_buf()
111 char data[16]; in test_bio_rdonly_mem_buf() local
116 if (!TEST_int_eq(BIO_read(bio, data, 5), 5)) in test_bio_rdonly_mem_buf()
118 if (!TEST_mem_eq(data, 5, "Hello", 5)) in test_bio_rdonly_mem_buf()
130 if (!TEST_int_eq(BIO_read(bio2, data, 16), 7)) in test_bio_rdonly_mem_buf()
132 if (!TEST_mem_eq(data, 7, " World\n", 7)) in test_bio_rdonly_mem_buf()
136 if (!TEST_int_eq(BIO_read(bio2, data, 16), 7)) in test_bio_rdonly_mem_buf()
138 if (!TEST_mem_eq(data, 7, " World\n", 7)) in test_bio_rdonly_mem_buf()
152 char data[16]; in test_bio_rdwr_rdonly() local
161 if (!TEST_int_eq(BIO_read(bio, data, 16), 12)) in test_bio_rdwr_rdonly()
163 if (!TEST_mem_eq(data, 12, "Hello World\n", 12)) in test_bio_rdwr_rdonly()
171 if (!TEST_int_eq(BIO_read(bio, data, 16), 16)) in test_bio_rdwr_rdonly()
174 if (!TEST_mem_eq(data, 16, "Hello World\nHi!\n", 16)) in test_bio_rdwr_rdonly()
188 char data[16]; in test_bio_nonclear_rst() local
198 if (!TEST_int_eq(BIO_read(bio, data, 16), 12)) in test_bio_nonclear_rst()
200 if (!TEST_mem_eq(data, 12, "Hello World\n", 12)) in test_bio_nonclear_rst()
205 if (!TEST_int_eq(BIO_read(bio, data, 16), 12)) in test_bio_nonclear_rst()
207 if (!TEST_mem_eq(data, 12, "Hello World\n", 12)) in test_bio_nonclear_rst()
214 if (!TEST_int_lt(BIO_read(bio, data, 16), 1)) in test_bio_nonclear_rst()
249 bufmem.data = (char *) str; in test_bio_i2d_ASN1_mime()