Lines Matching refs:mock_args
154 server_args mock_args = { NULL, NULL, NULL, '0', 0 }; in test_http_method() local
173 mock_args.txt = text1; in test_http_method()
177 mock_args.txt = NULL; in test_http_method()
182 mock_args.out = rbio; in test_http_method()
183 mock_args.content_type = content_type; in test_http_method()
185 BIO_set_callback_arg(wbio, (char *)&mock_args); in test_http_method()
244 server_args mock_args = { NULL, NULL, NULL, '0', 0 }; in test_http_keep_alive() local
250 mock_args.out = rbio; in test_http_keep_alive()
251 mock_args.content_type = content_type; in test_http_keep_alive()
252 mock_args.version = version; in test_http_keep_alive()
253 mock_args.keep_alive = kept_alive; in test_http_keep_alive()
255 BIO_set_callback_arg(wbio, (char *)&mock_args); in test_http_keep_alive()
497 server_args mock_args = { NULL, NULL, NULL, '0', 0 }; in test_http_resp_hdr_limit() local
504 mock_args.txt = text1; in test_http_resp_hdr_limit()
505 mock_args.content_type = "text/plain"; in test_http_resp_hdr_limit()
506 mock_args.version = '1'; in test_http_resp_hdr_limit()
507 mock_args.out = rbio; in test_http_resp_hdr_limit()
510 BIO_set_callback_arg(wbio, (char *)&mock_args); in test_http_resp_hdr_limit()