Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 97) sorted by relevance

1234

/curl/tests/unit/
H A Dunit3205.c41 uint16_t id; member
608 uint16_t id; member
697 uint16_t id; variable
702 if(id != test->id) {
705 test->rfc, id, test->id);
713 if(id != test->id) {
716 test->openssl, id, test->id);
741 if(test->id >= 0x0011 && test->id < 0x0017) {
760 uint16_t id; variable
770 if(id != test->id) {
[all …]
H A Dunit2600.c78 int id; member
116 char id[16]; member
127 (int)Curl_timediff(Curl_now(), current_tr->started), ctx->id); in cf_test_destroy()
148 (int)duration_ms, ctx->id); in cf_test_connect()
212 curl_msprintf(ctx->id, "v6-%d", ctx->stats->creations); in cf_test_create()
220 curl_msprintf(ctx->id, "v4-%d", ctx->stats->creations); in cf_test_create()
228 infof(data, "%04dms: cf[%s] created", (int)created_at, ctx->id); in cf_test_create()
259 tc->id, tc->exp_result, tr->result); in check_result()
264 tc->id, tc->exp_cf4_creations, tr->cf4.creations); in check_result()
269 tc->id, tc->exp_cf6_creations, tr->cf6.creations); in check_result()
[all …]
/curl/tests/libtest/
H A Dlib1918.c43 curl_easy_option_by_id(o->id); in test()
45 if(ename->id != o->id) { in test()
47 ename->id, o->id); in test()
49 else if(eid->id != o->id) { in test()
51 ename->id, o->id); in test()
H A Dlib1912.c44 if(curlcheck_long_option(o->id) != in test()
49 if(curlcheck_off_t_option(o->id) != (o->type == CURLOT_OFF_T)) { in test()
53 if(curlcheck_string_option(o->id) != (o->type == CURLOT_STRING)) { in test()
57 if(curlcheck_slist_option(o->id) != (o->type == CURLOT_SLIST)) { in test()
61 if(curlcheck_cb_data_option(o->id) != (o->type == CURLOT_CBPTR)) { in test()
66 if(curlcheck_write_cb_option(o->id) && (o->type != CURLOT_FUNCTION)) { in test()
70 if(curlcheck_conv_cb_option(o->id) && (o->type != CURLOT_FUNCTION)) { in test()
74 if(curlcheck_postfields_option(o->id) && (o->type != CURLOT_OBJECT)) { in test()
H A Dlib1911.c65 switch(o->id) { in test()
79 result = curl_easy_setopt(easy, o->id, testbuf); in test()
/curl/lib/
H A Deasygetopt.c32 static struct curl_easyoption *lookup(const char *name, CURLoption id) in lookup() argument
34 DEBUGASSERT(name || id); in lookup()
36 if(name || id) { in lookup()
44 if((o->id == id) && !(o->flags & CURLOT_FLAG_ALIAS)) in lookup()
60 const struct curl_easyoption *curl_easy_option_by_id(CURLoption id) in curl_easy_option_by_id() argument
62 return lookup(NULL, id); in curl_easy_option_by_id()
86 const struct curl_easyoption *curl_easy_option_by_id (CURLoption id) in curl_easy_option_by_id() argument
88 (void)id; in curl_easy_option_by_id()
H A Dhttp2.c238 stream->id = -1; in h2_stream_ctx_create()
365 stream->id, bits); in drain_stream()
416 stream->id); in http2_data_done()
566 stream->id = 1; in cf_h2_ctx_open()
582 stream->id); in cf_h2_ctx_open()
1036 newstream->id); in push_promise()
1804 stream->id); in http2_handle_stream_close()
1893 if(stream && stream->id > 0 && in h2_progress_egress()
1902 DEBUGASSERT(stream->id != -1); in h2_progress_egress()
2253 stream->id = stream_id; in h2_submit()
[all …]
H A Dhash.c390 void *Curl_hash_offt_set(struct Curl_hash *h, curl_off_t id, void *elem) in Curl_hash_offt_set() argument
392 return Curl_hash_add(h, &id, sizeof(id), elem); in Curl_hash_offt_set()
395 int Curl_hash_offt_remove(struct Curl_hash *h, curl_off_t id) in Curl_hash_offt_remove() argument
397 return Curl_hash_delete(h, &id, sizeof(id)); in Curl_hash_offt_remove()
400 void *Curl_hash_offt_get(struct Curl_hash *h, curl_off_t id) in Curl_hash_offt_get() argument
402 return Curl_hash_pick(h, &id, sizeof(id)); in Curl_hash_offt_get()
H A Dhash.h118 void *Curl_hash_offt_set(struct Curl_hash *h, curl_off_t id, void *elem);
119 int Curl_hash_offt_remove(struct Curl_hash *h, curl_off_t id);
120 void *Curl_hash_offt_get(struct Curl_hash *h, curl_off_t id);
H A Dmultiif.h34 void Curl_expire_done(struct Curl_easy *data, expire_id id);
175 curl_off_t id);
/curl/
H A DDockerfile9 …ild --build-arg SOURCE_DATE_EPOCH=1711526400 --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t …
13 # docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):/usr/src -w /usr/src curl/curl autoreconf -fi
14 # docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):/usr/src -w /usr/src curl/curl ./configure -…
15 # docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):/usr/src -w /usr/src curl/curl make
16 # docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):/usr/src -w /usr/src curl/curl ./scripts/mak…
20 # docker run --rm -it -u $(id -u):$(id -g) -v (pwd):/usr/src -w /usr/src curl/curl bash
/curl/docs/libcurl/
H A Dcurl_easy_option_by_id.md18 curl_easy_option_by_id - find an easy setopt option by id
25 const struct curl_easyoption *curl_easy_option_by_id(CURLoption id);
30 Given a *CURLoption* **id**, this function returns a pointer to the
32 curl_easy_setopt(3) option using that id. The option id is the CURLOPT_
37 If libcurl has no option with the given id, this function returns NULL.
H A Dcurl_global_sslset.md24 CURLsslset curl_global_sslset(curl_sslbackend id,
35 The backend can be identified by the *id*
38 **CURLSSLBACKEND_NONE** as *id*). If both *id* and *name* are
41 If neither *id* nor *name* are specified, the function fails with
82 curl_sslbackend id;
121 i, list[i]->name, list[i]->id);
/curl/docs/examples/
H A Dsslbackend.c57 i, list[i]->name, list[i]->id); in main()
62 int id = atoi(name); in main() local
64 result = curl_global_sslset((curl_sslbackend)id, NULL, NULL); in main()
/curl/.github/ISSUE_TEMPLATE/
H A Dbug_report.yml24 id: reproducer
31 id: expected-behaviour
38 id: version
48 id: os
H A Ddocs.yml18 id: source
28 id: problem
/curl/docs/libcurl/opts/
H A DCURLINFO_RTSP_SESSION_ID.md25 CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_RTSP_SESSION_ID, char **id);
36 The **id** pointer is NULL or points to private memory. You MUST NOT free -
53 char *id;
54 curl_easy_getinfo(curl, CURLINFO_RTSP_SESSION_ID, &id);
H A DCURLOPT_ADDRESS_SCOPE.md17 CURLOPT_ADDRESS_SCOPE - scope id for IPv6 addresses
29 Pass a long specifying the scope id value to use when connecting to IPv6 addresses.
/curl/include/curl/
H A Doptions.h53 CURLoption id; member
62 curl_easy_option_by_id(CURLoption id);
/curl/lib/vquic/
H A Dcurl_quiche.c232 stream->id = -1; in h3_data_setup()
298 if(stream && stream->id == stream_id) { in get_stream_easy()
310 if(stream && stream->id == stream_id) { in get_stream_easy()
406 stream->id, result); in cb_each_header()
463 stream->id, nwritten); in cf_recv_body()
465 result, stream->id); in cf_recv_body()
516 FMT_PRIu64"]", rc, stream->id); in h3_process_event()
823 stream->id, *err); in recv_closed_stream()
829 stream->id); in recv_closed_stream()
1056 stream->id = stream3_id; in h3_open_stream()
[all …]
H A Dcurl_osslq.c214 curl_int64_t id; member
463 nstream->id = stream_id; in cf_osslq_h3conn_add_stream()
625 stream->s.id = -1; in h3_data_setup()
653 stream->s.id); in h3_data_done()
1033 stream->s.id); in cb_h3_read_req_body()
1279 x->s->id); in h3_quic_recv()
1385 s->id, rv); in cf_osslq_stream_recv()
1398 s->id, result); in cf_osslq_stream_recv()
1905 stream->s.id, in h3_stream_open()
2012 stream->s.id); in recv_closed_stream()
[all …]
H A Dcurl_ngtcp2.c239 stream->id = -1; in h3_data_setup()
272 stream->id, result); in cf_ngtcp2_stream_close()
283 stream->id); in h3_data_done()
299 if(stream && stream->id == stream_id) { in get_stream_easy()
955 stream->id, blen); in cb_h3_recv_data()
1208 stream->id); in recv_closed_stream()
1370 stream->id); in cb_h3_read_req_body()
1376 stream->id, (int)nvecs, in cb_h3_read_req_body()
1457 stream->id = (curl_int64_t)sid; in h3_stream_open()
1504 stream->id, data->state.url); in h3_stream_open()
[all …]
/curl/tests/
H A Dservers.pm1524 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1;
1661 my ($id, $verb, $ipv6) = @_;
1665 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1;
1813 my ($id, $verb, $ipv6) = @_;
1817 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1;
1935 my ($id, $verb, $ipv6) = @_;
1940 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1;
1995 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1;
2274 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1;
2288 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1;
[all …]
/curl/lib/vtls/
H A Dmbedtls.c353 if(id == MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8) in mbed_cipher_suite_get_str()
367 if(!id) { in mbed_cipher_suite_walk_str()
371 return id; in mbed_cipher_suite_walk_str()
404 uint16_t id = (uint16_t) supported[j]; in mbed_set_selected_ciphers() local
408 selected[count++] = id; in mbed_set_selected_ciphers()
422 if(id) { in mbed_set_selected_ciphers()
425 id = 0; in mbed_set_selected_ciphers()
427 if(!id) { in mbed_set_selected_ciphers()
443 selected[count++] = id; in mbed_set_selected_ciphers()
455 uint16_t id = (uint16_t) supported[j]; in mbed_set_selected_ciphers() local
[all …]
H A Dcipher_suite.h43 int Curl_cipher_suite_get_str(uint16_t id, char *buf, size_t buf_size,

Completed in 61 milliseconds

1234