Home
last modified time | relevance | path

Searched refs:evreq (Results 1 – 13 of 13) sorted by relevance

/dports/net-p2p/libswift/libswift-dc0cbcc/
H A Dstatsgw.cpp78 void StatsExitCallback(struct evhttp_request *evreq) in StatsExitCallback() argument
96 evhttp_send_reply(evreq, 200, "OK", evb); in StatsExitCallback()
107 void StatsOverviewCallback(struct evhttp_request *evreq) in StatsOverviewCallback() argument
161 evhttp_send_reply(evreq, 200, "OK", evb); in StatsOverviewCallback()
166 void StatsGetSpeedCallback(struct evhttp_request *evreq) in StatsGetSpeedCallback() argument
224 evhttp_send_reply(evreq, 200, "OK", evb); in StatsGetSpeedCallback()
235 if (evhttp_request_get_command(evreq) != EVHTTP_REQ_GET) { in StatsGwNewRequestCallback()
240 const char *uri = evhttp_request_get_uri(evreq); in StatsGwNewRequestCallback()
247 StatsGetSpeedCallback(evreq); in StatsGwNewRequestCallback()
250 StatsExitCallback(evreq); in StatsGwNewRequestCallback()
[all …]
H A Dhttpgw.cpp110 http_gw_t *HttpGwFindRequestByEV(struct evhttp_request *evreq) in HttpGwFindRequestByEV() argument
113 if (http_requests[httpc].sinkevreq==evreq) in HttpGwFindRequestByEV()
193 struct evhttp_request *evreq = pair.second; in HttpGwCloseConnection() local
197 HttpGwNewRequestCallback(evreq,evreq); // note: second evreq significant! in HttpGwCloseConnection()
228 void HttpGwWrite(struct evhttp_request *evreq) in HttpGwWrite() argument
233 http_gw_t* req = HttpGwFindRequestByEV(evreq); in HttpGwWrite()
1061 std::string uri = evhttp_request_get_uri(evreq); in HttpGwNewRequestCallback()
1153 if (evreq == arg) { in HttpGwNewRequestCallback()
1167 evhttp_request_own(evreq); in HttpGwNewRequestCallback()
1220 req->sinkevreq = evreq; in HttpGwNewRequestCallback()
[all …]
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/test/fuzz/
H A Dhttp_request.cpp27 evhttp_request* evreq = evhttp_request_new(nullptr, nullptr); in test_one_input() local
28 assert(evreq != nullptr); in test_one_input()
29 evreq->kind = EVHTTP_REQUEST; in test_one_input()
34 if (evhttp_parse_firstline_(evreq, evbuf) != 1 || evhttp_parse_headers_(evreq, evbuf) != 1) { in test_one_input()
36 evhttp_request_free(evreq); in test_one_input()
40 HTTPRequest http_request{evreq, true}; in test_one_input()
55 evhttp_request_free(evreq); in test_one_input()
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/test/fuzz/
H A Dhttp_request.cpp45 evhttp_request* evreq = evhttp_request_new(nullptr, nullptr); in FUZZ_TARGET() local
46 assert(evreq != nullptr); in FUZZ_TARGET()
47 evreq->kind = EVHTTP_REQUEST; in FUZZ_TARGET()
59 evhttp_parse_firstline_(evreq, evbuf) != 1 || evhttp_parse_headers_(evreq, evbuf) != 1) { in FUZZ_TARGET()
61 evhttp_request_free(evreq); in FUZZ_TARGET()
65 HTTPRequest http_request{evreq, true}; in FUZZ_TARGET()
80 evhttp_request_free(evreq); in FUZZ_TARGET()
/dports/net-p2p/bitcoin/bitcoin-22.0/src/test/fuzz/
H A Dhttp_request.cpp45 evhttp_request* evreq = evhttp_request_new(nullptr, nullptr); in FUZZ_TARGET() local
46 assert(evreq != nullptr); in FUZZ_TARGET()
47 evreq->kind = EVHTTP_REQUEST; in FUZZ_TARGET()
59 evhttp_parse_firstline_(evreq, evbuf) != 1 || evhttp_parse_headers_(evreq, evbuf) != 1) { in FUZZ_TARGET()
61 evhttp_request_free(evreq); in FUZZ_TARGET()
65 HTTPRequest http_request{evreq, true}; in FUZZ_TARGET()
80 evhttp_request_free(evreq); in FUZZ_TARGET()
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/test/fuzz/
H A Dhttp_request.cpp45 evhttp_request* evreq = evhttp_request_new(nullptr, nullptr); in FUZZ_TARGET() local
46 assert(evreq != nullptr); in FUZZ_TARGET()
47 evreq->kind = EVHTTP_REQUEST; in FUZZ_TARGET()
59 evhttp_parse_firstline_(evreq, evbuf) != 1 || evhttp_parse_headers_(evreq, evbuf) != 1) { in FUZZ_TARGET()
61 evhttp_request_free(evreq); in FUZZ_TARGET()
65 HTTPRequest http_request{evreq, true}; in FUZZ_TARGET()
80 evhttp_request_free(evreq); in FUZZ_TARGET()
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/test/fuzz/
H A Dhttp_request.cpp45 evhttp_request* evreq = evhttp_request_new(nullptr, nullptr); in test_one_input() local
46 assert(evreq != nullptr); in test_one_input()
47 evreq->kind = EVHTTP_REQUEST; in test_one_input()
59 evhttp_parse_firstline_(evreq, evbuf) != 1 || evhttp_parse_headers_(evreq, evbuf) != 1) { in test_one_input()
61 evhttp_request_free(evreq); in test_one_input()
65 HTTPRequest http_request{evreq, true}; in test_one_input()
80 evhttp_request_free(evreq); in test_one_input()
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/test/fuzz/
H A Dhttp_request.cpp45 evhttp_request* evreq = evhttp_request_new(nullptr, nullptr); in test_one_input() local
46 assert(evreq != nullptr); in test_one_input()
47 evreq->kind = EVHTTP_REQUEST; in test_one_input()
59 evhttp_parse_firstline_(evreq, evbuf) != 1 || evhttp_parse_headers_(evreq, evbuf) != 1) { in test_one_input()
61 evhttp_request_free(evreq); in test_one_input()
65 HTTPRequest http_request{evreq, true}; in test_one_input()
80 evhttp_request_free(evreq); in test_one_input()
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/test/fuzz/
H A Dhttp_request.cpp45 evhttp_request* evreq = evhttp_request_new(nullptr, nullptr); in test_one_input() local
46 assert(evreq != nullptr); in test_one_input()
47 evreq->kind = EVHTTP_REQUEST; in test_one_input()
59 evhttp_parse_firstline_(evreq, evbuf) != 1 || evhttp_parse_headers_(evreq, evbuf) != 1) { in test_one_input()
61 evhttp_request_free(evreq); in test_one_input()
65 HTTPRequest http_request{evreq, true}; in test_one_input()
80 evhttp_request_free(evreq); in test_one_input()
/dports/net-p2p/libswift/libswift-dc0cbcc/tests/
H A Dexttracktest.cpp54 void BTTrackerServerRequestCallback(struct evhttp_request *evreq, void *arg) in BTTrackerServerRequestCallback() argument
57 ASSERT_EQ(EVHTTP_REQ_GET,evhttp_request_get_command(evreq)); in BTTrackerServerRequestCallback()
59 const struct evhttp_uri *evu = evhttp_request_get_evhttp_uri(evreq); in BTTrackerServerRequestCallback()
65 int ret = evhttp_parse_query(evhttp_request_get_uri(evreq),&qheaders); in BTTrackerServerRequestCallback()
95 struct evkeyvalq *headers = evhttp_request_get_output_headers(evreq); in BTTrackerServerRequestCallback()
101 evhttp_send_reply(evreq, 200, "OK", evb); in BTTrackerServerRequestCallback()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlxsw/
H A Dpci.c1735 bool evreq = mlxsw_pci->cmd.nopoll; in mlxsw_pci_cmd_exec() local
1766 (evreq ? MLXSW_PCI_CIR_CTRL_EVREQ_BIT : 0) | in mlxsw_pci_cmd_exec()
1770 if (!evreq) { in mlxsw_pci_cmd_exec()
1804 if (!evreq) { in mlxsw_pci_cmd_exec()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlxsw/
H A Dpci.c1735 bool evreq = mlxsw_pci->cmd.nopoll; in mlxsw_pci_cmd_exec() local
1766 (evreq ? MLXSW_PCI_CIR_CTRL_EVREQ_BIT : 0) | in mlxsw_pci_cmd_exec()
1770 if (!evreq) { in mlxsw_pci_cmd_exec()
1804 if (!evreq) { in mlxsw_pci_cmd_exec()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlxsw/
H A Dpci.c1735 bool evreq = mlxsw_pci->cmd.nopoll; in mlxsw_pci_cmd_exec() local
1766 (evreq ? MLXSW_PCI_CIR_CTRL_EVREQ_BIT : 0) | in mlxsw_pci_cmd_exec()
1770 if (!evreq) { in mlxsw_pci_cmd_exec()
1804 if (!evreq) { in mlxsw_pci_cmd_exec()