Home
last modified time | relevance | path

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

1234

/curl/tests/unit/
H A Dunit3205.c40 uint16_t id; member
460 uint16_t id; member
525 uint16_t id; variable
530 if(id != test->id) {
533 test->rfc, id, test->id);
541 if(id != test->id) {
544 test->openssl, id, test->id);
558 test->id, buf, expect);
580 uint16_t id; variable
590 if(id != test->id) {
[all …]
H A Dunit2600.c76 int id; member
114 char id[16]; member
125 (int)Curl_timediff(Curl_now(), current_tr->started), ctx->id); in cf_test_destroy()
146 (int)duration_ms, ctx->id); in cf_test_connect()
198 curl_msprintf(ctx->id, "v6-%d", ctx->stats->creations); in cf_test_create()
206 curl_msprintf(ctx->id, "v4-%d", ctx->stats->creations); in cf_test_create()
214 infof(data, "%04dms: cf[%s] created", (int)created_at, ctx->id); in cf_test_create()
245 tc->id, tc->exp_result, tr->result); in check_result()
250 tc->id, tc->exp_cf4_creations, tr->cf4.creations); in check_result()
255 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, buffer); 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 Dhash.c371 void *Curl_hash_offt_set(struct Curl_hash *h, curl_off_t id, void *elem) in Curl_hash_offt_set() argument
373 return Curl_hash_add(h, &id, sizeof(id), elem); in Curl_hash_offt_set()
376 int Curl_hash_offt_remove(struct Curl_hash *h, curl_off_t id) in Curl_hash_offt_remove() argument
378 return Curl_hash_delete(h, &id, sizeof(id)); in Curl_hash_offt_remove()
381 void *Curl_hash_offt_get(struct Curl_hash *h, curl_off_t id) in Curl_hash_offt_get() argument
383 return Curl_hash_pick(h, &id, sizeof(id)); in Curl_hash_offt_get()
H A Dhttp2.c220 stream->id = -1; in h2_stream_ctx_create()
277 stream->id, bits); in drain_stream()
332 stream->id); in http2_data_done()
487 stream->id = 1; in cf_h2_ctx_init()
503 stream->id); in cf_h2_ctx_init()
965 newstream->id); in push_promise()
1743 stream->id); in http2_handle_stream_close()
1832 if(stream && stream->id > 0 && in h2_progress_egress()
1841 DEBUGASSERT(stream->id != -1); in h2_progress_egress()
2147 stream->id = stream_id; in h2_submit()
[all …]
H A Dhash.h108 void *Curl_hash_offt_set(struct Curl_hash *h, curl_off_t id, void *elem);
109 int Curl_hash_offt_remove(struct Curl_hash *h, curl_off_t id);
110 void *Curl_hash_offt_get(struct Curl_hash *h, curl_off_t id);
H A Dpop3.h56 char *id; /* Message ID */ member
/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 ./maketgz 8.7…
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.md17 curl_easy_option_by_id - find an easy setopt option by id
24 const struct curl_easyoption *curl_easy_option_by_id(CURLoption id);
29 Given a *CURLoption* **id**, this function returns a pointer to the
31 curl_easy_setopt(3) option using that id. The option id is the CURLOPT_
36 If libcurl has no option with the given id, this function returns NULL.
H A Dcurl_global_sslset.md23 CURLsslset curl_global_sslset(curl_sslbackend id,
34 The backend can be identified by the *id*
37 **CURLSSLBACKEND_NONE** as *id*). If both *id* and *name* are
40 If neither *id* nor *name* are specified, the function fails with
81 curl_sslbackend id;
118 i, list[i]->name, list[i]->id);
H A Dcurl_easy_option_next.md59 /* The CURLOPTTYPE_* id ranges can still be used to figure out what type/size
60 to use for curl_easy_setopt() for the given id */
63 CURLoption 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
/curl/docs/libcurl/opts/
H A DCURLINFO_RTSP_SESSION_ID.md24 CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_RTSP_SESSION_ID, char **id);
35 The **id** pointer is NULL or points to private memory. You MUST NOT free -
50 char *id;
51 curl_easy_getinfo(curl, CURLINFO_RTSP_SESSION_ID, &id);
H A DCURLOPT_ADDRESS_SCOPE.md16 CURLOPT_ADDRESS_SCOPE - scope id for IPv6 addresses
28 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.c210 stream->id = -1; in h3_data_setup()
277 if(stream && stream->id == stream_id) { in get_stream_easy()
287 if(stream && stream->id == stream_id) { in get_stream_easy()
382 stream->id, result); in cb_each_header()
439 stream->id, nwritten); in cf_recv_body()
441 result, stream->id); in cf_recv_body()
492 CURL_PRIu64"]", rc, stream->id); in h3_process_event()
799 stream->id, *err); in recv_closed_stream()
805 stream->id); in recv_closed_stream()
997 stream->id = stream3_id; in h3_open_stream()
[all …]
H A Dcurl_osslq.c214 curl_int64_t id; member
370 nstream->id = stream_id; in cf_osslq_h3conn_add_stream()
536 stream->s.id = -1; in h3_data_setup()
564 stream->s.id); in h3_data_done()
943 stream->s.id); in cb_h3_read_req_body()
1192 x->s->id); in h3_quic_recv()
1297 s->id, rv); in cf_osslq_stream_recv()
1310 s->id, result); in cf_osslq_stream_recv()
1821 stream->s.id, in h3_stream_open()
1953 stream->s.id); in recv_closed_stream()
[all …]
H A Dcurl_ngtcp2.c213 stream->id = -1; in h3_data_setup()
246 stream->id, result); in cf_ngtcp2_stream_close()
257 stream->id); in h3_data_done()
274 if(stream && stream->id == stream_id) { in get_stream_easy()
918 stream->id, blen); in cb_h3_recv_data()
1172 stream->id); in recv_closed_stream()
1334 stream->id); in cb_h3_read_req_body()
1341 stream->id, (int)nvecs, in cb_h3_read_req_body()
1422 stream->id = (curl_int64_t)sid; in h3_stream_open()
1469 stream->id, data->state.url); in h3_stream_open()
[all …]
/curl/tests/
H A Dservers.pm1482 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1;
1619 my ($id, $verb, $ipv6) = @_;
1623 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1;
1771 my ($id, $verb, $ipv6) = @_;
1775 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1;
1893 my ($id, $verb, $ipv6) = @_;
1898 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1;
1954 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1;
2234 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1;
2275 my ($id, $verb, $ipv6) = @_;
[all …]
/curl/lib/vtls/
H A Dcipher_suite.h42 int Curl_cipher_suite_get_str(uint16_t id, char *buf, size_t buf_size,
H A Dmbedtls.c402 if(id == MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8) in mbed_cipher_suite_get_str()
412 uint16_t id = Curl_cipher_suite_walk_str(str, end); in mbed_cipher_suite_walk_str() local
415 if(!id) { in mbed_cipher_suite_walk_str()
417 id = MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8; in mbed_cipher_suite_walk_str()
419 return id; in mbed_cipher_suite_walk_str()
445 uint16_t id = mbed_cipher_suite_walk_str(&ptr, &end); in mbed_set_selected_ciphers() local
448 if(id) { in mbed_set_selected_ciphers()
451 id = 0; in mbed_set_selected_ciphers()
453 if(!id) { in mbed_set_selected_ciphers()
461 for(i = 0; i < count && selected[i] != id; i++); in mbed_set_selected_ciphers()
[all …]

Completed in 84 milliseconds

1234