Home
last modified time | relevance | path

Searched refs:ureq (Results 1 – 25 of 133) sorted by relevance

123456

/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/ureq-2.3.1/
H A DREADME.tpl10 [Agent]: https://docs.rs/ureq/latest/ureq/struct.Agent.html
11 [get()]: https://docs.rs/ureq/latest/ureq/fn.get.html
12 [post()]: https://docs.rs/ureq/latest/ureq/fn.post.html
13 [put()]: https://docs.rs/ureq/latest/ureq/fn.put.html
14 [Request]: https://docs.rs/ureq/latest/ureq/struct.Request.html
15 [Error]: https://docs.rs/ureq/latest/ureq/enum.Error.html
16 [Request::call()]: https://docs.rs/ureq/latest/ureq/struct.Request.html#method.call
17 [Request::send()]: https://docs.rs/ureq/latest/ureq/struct.Request.html#method.send
18 [Request::send_bytes()]: https://docs.rs/ureq/latest/ureq/struct.Request.html#method.send_bytes
20 [Request::send_json()]: https://docs.rs/ureq/latest/ureq/struct.Request.html#method.send_json
[all …]
H A DREADME.md3 # ureq chapter
77 ureq returns errors via `Result<T, ureq::Error>`. That includes I/O errors,
82 use ureq::Error;
258 [Agent]: https://docs.rs/ureq/latest/ureq/struct.Agent.html
259 [get()]: https://docs.rs/ureq/latest/ureq/fn.get.html
260 [post()]: https://docs.rs/ureq/latest/ureq/fn.post.html
261 [put()]: https://docs.rs/ureq/latest/ureq/fn.put.html
262 [Request]: https://docs.rs/ureq/latest/ureq/struct.Request.html
263 [Error]: https://docs.rs/ureq/latest/ureq/enum.Error.html
264 [Request::call()]: https://docs.rs/ureq/latest/ureq/struct.Request.html#method.call
[all …]
/dports/net/mpich/mpich-3.4.3/src/mpid/ch3/src/
H A Dch3u_rma_reqops.c19 MPIR_Request *ureq; in MPID_Rput() local
38 MPIR_Object_set_ref(ureq, 2); in MPID_Rput()
53 *request = ureq; in MPID_Rput()
73 MPIR_Request *ureq; in MPID_Rget() local
92 MPIR_Object_set_ref(ureq, 2); in MPID_Rget()
107 *request = ureq; in MPID_Rget()
127 MPIR_Request *ureq; in MPID_Raccumulate() local
144 MPIR_Object_set_ref(ureq, 2); in MPID_Raccumulate()
161 *request = ureq; in MPID_Raccumulate()
182 MPIR_Request *ureq; in MPID_Rget_accumulate() local
[all …]
H A Dch3u_handle_op_req.c13 MPIR_Request *ureq = NULL; in MPIDI_CH3_Req_handler_rma_op_complete() local
31 MPIR_Request_get_ptr(sreq->dev.request_handle, ureq); in MPIDI_CH3_Req_handler_rma_op_complete()
32 mpi_errno = MPID_Request_complete(ureq); in MPIDI_CH3_Req_handler_rma_op_complete()
H A Dch3u_rma_ops.c39 MPIR_Request * ureq) in MPIDI_CH3I_Put() argument
85 if (ureq) { in MPIDI_CH3I_Put()
87 mpi_errno = MPID_Request_complete(ureq); in MPIDI_CH3I_Put()
112 op_ptr->ureq = ureq; in MPIDI_CH3I_Put()
200 MPIR_Request * ureq) in MPIDI_CH3I_Get() argument
247 if (ureq) { in MPIDI_CH3I_Get()
275 op_ptr->ureq = ureq; in MPIDI_CH3I_Get()
402 if (ureq) { in MPIDI_CH3I_Accumulate()
432 op_ptr->ureq = ureq; in MPIDI_CH3I_Accumulate()
601 if (ureq) { in MPIDI_CH3I_Get_accumulate()
[all …]
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/rspotify-http-0.11.3/src/
H A Dureq.rs9 use ureq::{Request, Response};
39 Transport(#[from] ureq::Transport),
49 #[error("status code {}", ureq::Response::status(.0))]
50 StatusCode(ureq::Response),
72 D: Fn(Request) -> Result<Response, ureq::Error>, in request()
86 ureq::Error::Status(_, response) => Err(UreqError::StatusCode(response)), in request()
104 let request = ureq::get(url); in get()
121 let request = ureq::post(url); in post()
133 let request = ureq::post(url); in post_form()
153 let request = ureq::put(url); in put()
[all …]
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/rspotify-0.11.3/
H A DCargo.toml.orig-cargo65 client-ureq = ["rspotify-http/client-ureq", "__sync"]
73 # Same for ureq.
74 ureq-rustls-tls = ["rspotify-http/ureq-rustls-tls"]
84 features = ["cli", "env-file", "client-ureq"]
119 required-features = ["env-file", "cli", "client-ureq"]
120 path = "examples/ureq/device.rs"
124 required-features = ["env-file", "cli", "client-ureq"]
125 path = "examples/ureq/me.rs"
130 path = "examples/ureq/search.rs"
135 path = "examples/ureq/seek_track.rs"
[all …]
H A DCargo.toml25 features = ["cli", "env-file", "client-ureq"]
60 path = "examples/ureq/device.rs"
61 required-features = ["env-file", "cli", "client-ureq"]
65 path = "examples/ureq/me.rs"
66 required-features = ["env-file", "cli", "client-ureq"]
70 path = "examples/ureq/search.rs"
71 required-features = ["env-file", "cli", "client-ureq"]
75 path = "examples/ureq/seek_track.rs"
80 path = "examples/ureq/threading.rs"
179 client-ureq = ["rspotify-http/client-ureq", "__sync"]
[all …]
/dports/net/mpich/mpich-3.4.3/src/mpi/request/
H A Dmpir_request.c287 greq_ptr->u.ureq.greq_fns->greq_lang = MPIR_LANG__FORTRAN; in MPII_Grequest_set_lang_f77()
297 switch (request_ptr->u.ureq.greq_fns->greq_lang) { in MPIR_Grequest_cancel()
302 rc = (request_ptr->u.ureq.greq_fns->U.C.cancel_fn) (request_ptr->u.ureq. in MPIR_Grequest_cancel()
315 (request_ptr->u.ureq.greq_fns->U.F.cancel_fn) (request_ptr->u.ureq. in MPIR_Grequest_cancel()
330 "**badcase %d", request_ptr->u.ureq.greq_fns->greq_lang); in MPIR_Grequest_cancel()
345 switch (request_ptr->u.ureq.greq_fns->greq_lang) { in MPIR_Grequest_query()
352 rc = (request_ptr->u.ureq.greq_fns->U.C.query_fn) (request_ptr->u.ureq. in MPIR_Grequest_query()
367 (request_ptr->u.ureq.greq_fns->U.F.query_fn) (request_ptr->u.ureq. in MPIR_Grequest_query()
399 switch (request_ptr->u.ureq.greq_fns->greq_lang) { in MPIR_Grequest_free()
404 rc = (request_ptr->u.ureq.greq_fns->U.C.free_fn) (request_ptr->u.ureq. in MPIR_Grequest_free()
[all …]
H A Dgreq_start.c94 (*request_ptr)->u.ureq.greq_fns->U.C.cancel_fn = cancel_fn; in MPIR_Grequest_start()
95 (*request_ptr)->u.ureq.greq_fns->U.C.free_fn = free_fn; in MPIR_Grequest_start()
96 (*request_ptr)->u.ureq.greq_fns->U.C.query_fn = query_fn; in MPIR_Grequest_start()
97 (*request_ptr)->u.ureq.greq_fns->poll_fn = NULL; in MPIR_Grequest_start()
98 (*request_ptr)->u.ureq.greq_fns->wait_fn = NULL; in MPIR_Grequest_start()
100 (*request_ptr)->u.ureq.greq_fns->greq_lang = MPIR_LANG__C; in MPIR_Grequest_start()
353 lrequest_ptr->u.ureq.greq_fns->poll_fn = class_ptr->poll_fn; in MPIX_Grequest_class_allocate()
354 lrequest_ptr->u.ureq.greq_fns->wait_fn = class_ptr->wait_fn; in MPIX_Grequest_class_allocate()
355 lrequest_ptr->u.ureq.greq_fns->greq_class = greq_class; in MPIX_Grequest_class_allocate()
426 (*request)->u.ureq.greq_fns->poll_fn = poll_fn; in MPIX_Grequest_start_impl()
[all …]
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/rspotify-http-0.11.3/
H A DCargo.toml.orig-cargo27 ureq = { version = "2.2.0", default-features = false, features = ["json", "cookies"], optional = tr…
38 client-ureq = ["ureq", "__sync"]
46 # Same for ureq.
47 ureq-rustls-tls = ["ureq/tls"]
54 # We generate the docs for ureq so that the function signatures of the endpoints
56 features = ["client-ureq"]
H A DCargo.toml25 features = ["client-ureq"]
49 [dependencies.ureq]
65 client-ureq = ["ureq", "__sync"]
71 ureq-rustls-tls = ["ureq/tls"]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/usb/renesas_usbhs/
H A Dmod_host.c159 struct usbhsh_request *ureq; in usbhsh_ureq_alloc() local
162 if (!ureq) in usbhsh_ureq_alloc()
165 usbhs_pkt_init(&ureq->pkt); in usbhsh_ureq_alloc()
166 ureq->urb = urb; in usbhsh_ureq_alloc()
169 return ureq; in usbhsh_ureq_alloc()
176 ureq->urb = NULL; in usbhsh_ureq_free()
178 kfree(ureq); in usbhsh_ureq_free()
678 if (unlikely(!ureq)) { in usbhsh_queue_push()
818 if (unlikely(!ureq)) in usbhsh_data_stage_packet_push()
848 if (unlikely(!ureq)) in usbhsh_status_stage_packet_push()
[all …]
H A Dmod_gadget.c130 ureq->req.status = status; in __usbhsg_queue_pop()
137 struct usbhsg_request *ureq, in usbhsg_queue_pop() argument
156 ureq->req.actual = pkt->actual; in usbhsg_queue_done()
160 __usbhsg_queue_pop(uep, ureq, 0); in usbhsg_queue_done()
307 kfree(ureq->pkt.buf); in __usbhsg_recip_send_complete()
662 struct usbhsg_request *ureq; in usbhsg_ep_alloc_request() local
664 ureq = kzalloc(sizeof *ureq, gfp_flags); in usbhsg_ep_alloc_request()
665 if (!ureq) in usbhsg_ep_alloc_request()
670 return &ureq->req; in usbhsg_ep_alloc_request()
679 kfree(ureq); in usbhsg_ep_free_request()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/usb/renesas_usbhs/
H A Dmod_host.c159 struct usbhsh_request *ureq; in usbhsh_ureq_alloc() local
162 if (!ureq) in usbhsh_ureq_alloc()
165 usbhs_pkt_init(&ureq->pkt); in usbhsh_ureq_alloc()
166 ureq->urb = urb; in usbhsh_ureq_alloc()
169 return ureq; in usbhsh_ureq_alloc()
176 ureq->urb = NULL; in usbhsh_ureq_free()
178 kfree(ureq); in usbhsh_ureq_free()
678 if (unlikely(!ureq)) { in usbhsh_queue_push()
818 if (unlikely(!ureq)) in usbhsh_data_stage_packet_push()
848 if (unlikely(!ureq)) in usbhsh_status_stage_packet_push()
[all …]
H A Dmod_gadget.c130 ureq->req.status = status; in __usbhsg_queue_pop()
137 struct usbhsg_request *ureq, in usbhsg_queue_pop() argument
156 ureq->req.actual = pkt->actual; in usbhsg_queue_done()
160 __usbhsg_queue_pop(uep, ureq, 0); in usbhsg_queue_done()
307 kfree(ureq->pkt.buf); in __usbhsg_recip_send_complete()
662 struct usbhsg_request *ureq; in usbhsg_ep_alloc_request() local
664 ureq = kzalloc(sizeof *ureq, gfp_flags); in usbhsg_ep_alloc_request()
665 if (!ureq) in usbhsg_ep_alloc_request()
670 return &ureq->req; in usbhsg_ep_alloc_request()
679 kfree(ureq); in usbhsg_ep_free_request()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/usb/renesas_usbhs/
H A Dmod_host.c159 struct usbhsh_request *ureq; in usbhsh_ureq_alloc() local
162 if (!ureq) in usbhsh_ureq_alloc()
165 usbhs_pkt_init(&ureq->pkt); in usbhsh_ureq_alloc()
166 ureq->urb = urb; in usbhsh_ureq_alloc()
169 return ureq; in usbhsh_ureq_alloc()
176 ureq->urb = NULL; in usbhsh_ureq_free()
178 kfree(ureq); in usbhsh_ureq_free()
678 if (unlikely(!ureq)) { in usbhsh_queue_push()
818 if (unlikely(!ureq)) in usbhsh_data_stage_packet_push()
848 if (unlikely(!ureq)) in usbhsh_status_stage_packet_push()
[all …]
H A Dmod_gadget.c130 ureq->req.status = status; in __usbhsg_queue_pop()
137 struct usbhsg_request *ureq, in usbhsg_queue_pop() argument
156 ureq->req.actual = pkt->actual; in usbhsg_queue_done()
160 __usbhsg_queue_pop(uep, ureq, 0); in usbhsg_queue_done()
307 kfree(ureq->pkt.buf); in __usbhsg_recip_send_complete()
662 struct usbhsg_request *ureq; in usbhsg_ep_alloc_request() local
664 ureq = kzalloc(sizeof *ureq, gfp_flags); in usbhsg_ep_alloc_request()
665 if (!ureq) in usbhsg_ep_alloc_request()
670 return &ureq->req; in usbhsg_ep_alloc_request()
679 kfree(ureq); in usbhsg_ep_free_request()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/infiniband/core/
H A Duser_mad.c696 if (copy_from_user(&ureq, arg, sizeof ureq)) { in ib_umad_reg_agent()
701 if (ureq.qpn != 0 && ureq.qpn != 1) { in ib_umad_reg_agent()
704 ureq.qpn); in ib_umad_reg_agent()
720 if (ureq.mgmt_class) { in ib_umad_reg_agent()
741 ureq.rmpp_version, in ib_umad_reg_agent()
797 if (copy_from_user(&ureq, arg, sizeof(ureq))) { in ib_umad_reg_agent2()
802 if (ureq.qpn != 0 && ureq.qpn != 1) { in ib_umad_reg_agent2()
804 __func__, ureq.qpn); in ib_umad_reg_agent2()
833 if (ureq.mgmt_class) { in ib_umad_reg_agent2()
840 ureq.oui); in ib_umad_reg_agent2()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/infiniband/core/
H A Duser_mad.c696 if (copy_from_user(&ureq, arg, sizeof ureq)) { in ib_umad_reg_agent()
701 if (ureq.qpn != 0 && ureq.qpn != 1) { in ib_umad_reg_agent()
704 ureq.qpn); in ib_umad_reg_agent()
720 if (ureq.mgmt_class) { in ib_umad_reg_agent()
741 ureq.rmpp_version, in ib_umad_reg_agent()
797 if (copy_from_user(&ureq, arg, sizeof(ureq))) { in ib_umad_reg_agent2()
802 if (ureq.qpn != 0 && ureq.qpn != 1) { in ib_umad_reg_agent2()
804 __func__, ureq.qpn); in ib_umad_reg_agent2()
833 if (ureq.mgmt_class) { in ib_umad_reg_agent2()
840 ureq.oui); in ib_umad_reg_agent2()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/infiniband/core/
H A Duser_mad.c696 if (copy_from_user(&ureq, arg, sizeof ureq)) { in ib_umad_reg_agent()
701 if (ureq.qpn != 0 && ureq.qpn != 1) { in ib_umad_reg_agent()
704 ureq.qpn); in ib_umad_reg_agent()
720 if (ureq.mgmt_class) { in ib_umad_reg_agent()
741 ureq.rmpp_version, in ib_umad_reg_agent()
797 if (copy_from_user(&ureq, arg, sizeof(ureq))) { in ib_umad_reg_agent2()
802 if (ureq.qpn != 0 && ureq.qpn != 1) { in ib_umad_reg_agent2()
804 __func__, ureq.qpn); in ib_umad_reg_agent2()
833 if (ureq.mgmt_class) { in ib_umad_reg_agent2()
840 ureq.oui); in ib_umad_reg_agent2()
[all …]
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/ureq-2.3.1/examples/smoke-test/
H A Dmain.rs8 use ureq;
19 impl From<ureq::Error> for Oops {
20 fn from(e: ureq::Error) -> Oops { in from()
35 fn get(agent: &ureq::Agent, url: &str) -> Result<Vec<u8>> { in get()
43 fn get_and_write(agent: &ureq::Agent, url: &str) { in get_and_write()
52 let agent = ureq::builder() in get_many()
/dports/net/mpich/mpich-3.4.3/src/include/
H A Dmpir_request.h188 } ureq; /* kind : MPIR_REQUEST_KIND__GREQUEST */ member
467 MPL_free(req->u.ureq.greq_fns); in MPIR_Request_free_with_safety()
586 request_ptr->u.ureq.greq_fns != NULL && request_ptr->u.ureq.greq_fns->poll_fn != NULL); in MPIR_Request_has_poll_fn()
592 request_ptr->u.ureq.greq_fns != NULL && request_ptr->u.ureq.greq_fns->wait_fn != NULL); in MPIR_Request_has_wait_fn()
599 mpi_errno = (request_ptr->u.ureq.greq_fns->wait_fn) (1, in MPIR_Grequest_wait()
600 &request_ptr->u.ureq.greq_fns-> in MPIR_Grequest_wait()
611 (request_ptr->u.ureq.greq_fns->poll_fn) (request_ptr->u.ureq.greq_fns->grequest_extra_state, in MPIR_Grequest_poll()
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/ureq-2.3.1/examples/cureq/
H A Dmain.rs11 use ureq;
52 impl From<ureq::Error> for Error {
53 fn from(source: ureq::Error) -> Self {
69 agent: &ureq::Agent,
143 let mut builder = ureq::builder()
/dports/net/krill/krill-0.9.4/cargo-crates/oauth2-4.1.0/src/
H A Dureq.rs26 Ureq(#[from] Box<ureq::Error>),
34 ureq::post(&request.url.to_string()) in http_client()
36 ureq::get(&request.url.to_string()) in http_client()

123456