Lines Matching refs:req
41 const char *req, *path; in mock_http_server() local
42 long count = BIO_get_mem_data(in, (unsigned char **)&req); in mock_http_server()
43 const char *hdr = (char *)req; in mock_http_server()
65 count -= (hdr - req); in mock_http_server()
128 BIO *req, *rsp; in test_http_method() local
136 req = BIO_new(BIO_s_mem()); in test_http_method()
137 if (req == NULL in test_http_method()
138 || BIO_puts(req, text1) != sizeof(text1) - 1 in test_http_method()
139 || BIO_puts(req, text2) != sizeof(text2) - 1) { in test_http_method()
140 BIO_free(req); in test_http_method()
141 req = NULL; in test_http_method()
146 req = ASN1_item_i2d_mem_bio(x509_it, (ASN1_VALUE *)x509); in test_http_method()
149 if (wbio == NULL || rbio == NULL || req == NULL) in test_http_method()
172 req, content_type, !do_txt /* expect_asn1 */, in test_http_method()
198 BIO_free(req); in test_http_method()