Lines Matching refs:tmp_buf
1029 unsigned char *tmp_buf = NULL; in run_script_worker() local
1251 || !TEST_ptr(tmp_buf = (unsigned char *)OPENSSL_malloc(alpn_len + 1))) in run_script_worker()
1254 memcpy(tmp_buf + 1, alpn, alpn_len); in run_script_worker()
1255 tmp_buf[0] = (unsigned char)alpn_len; in run_script_worker()
1258 if (!TEST_false(SSL_set_alpn_protos(h->c_conn, tmp_buf, in run_script_worker()
1262 OPENSSL_free(tmp_buf); in run_script_worker()
1263 tmp_buf = NULL; in run_script_worker()
1369 if (op->arg1 > 0 && tmp_buf == NULL in run_script_worker()
1370 && !TEST_ptr(tmp_buf = OPENSSL_malloc(op->arg1))) in run_script_worker()
1373 r = SSL_read_ex(c_tgt, tmp_buf + offset, op->arg1 - offset, in run_script_worker()
1387 && !TEST_mem_eq(tmp_buf, op->arg1, op->arg0, op->arg1)) in run_script_worker()
1390 OPENSSL_free(tmp_buf); in run_script_worker()
1391 tmp_buf = NULL; in run_script_worker()
1402 if (op->arg1 > 0 && tmp_buf == NULL in run_script_worker()
1403 && !TEST_ptr(tmp_buf = OPENSSL_malloc(op->arg1))) in run_script_worker()
1407 tmp_buf + offset, in run_script_worker()
1418 && !TEST_mem_eq(tmp_buf, op->arg1, op->arg0, op->arg1)) in run_script_worker()
1421 OPENSSL_free(tmp_buf); in run_script_worker()
1422 tmp_buf = NULL; in run_script_worker()
2077 OPENSSL_free(tmp_buf); in run_script_worker()