Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 30) sorted by relevance

12

/curl/lib/
H A Dbufq.c218 memset(q, 0, sizeof(*q)); in bufq_init()
285 if(q->chunk_count < q->max_chunks) { in Curl_bufq_space()
286 space += (q->max_chunks - q->chunk_count) * q->chunk_size; in Curl_bufq_space()
298 if(!q->tail || q->spare) in Curl_bufq_is_full()
300 if(q->chunk_count < q->max_chunks) in Curl_bufq_is_full()
302 if(q->chunk_count > q->max_chunks) in Curl_bufq_is_full()
319 if(q->chunk_count >= q->max_chunks && (!(q->opts & BUFQ_OPT_SOFT_LIMIT))) in get_spare()
346 q->tail = q->head; in prune_head()
370 if(q->tail && !chunk_is_full(q->tail)) in get_non_full_tail()
381 q->head = q->tail = chunk; in get_non_full_tail()
[all …]
H A Dbufq.h141 void Curl_bufq_reset(struct bufq *q);
146 void Curl_bufq_free(struct bufq *q);
151 size_t Curl_bufq_len(const struct bufq *q);
159 size_t Curl_bufq_space(const struct bufq *q);
164 bool Curl_bufq_is_empty(const struct bufq *q);
169 bool Curl_bufq_is_full(const struct bufq *q);
177 ssize_t Curl_bufq_write(struct bufq *q,
181 CURLcode Curl_bufq_cwrite(struct bufq *q,
206 bool Curl_bufq_peek(struct bufq *q,
217 void Curl_bufq_skip(struct bufq *q, size_t amount);
[all …]
H A Dcurl_memrchr.c51 const unsigned char *q = s; in Curl_memrchr() local
55 while(p >= q) { in Curl_memrchr()
H A Dhttp_aws_sigv4.c437 for(; len && !result; q++, len--) { in canon_string()
438 if(ISALNUM(*q)) in canon_string()
439 result = Curl_dyn_addn(dq, q, 1); in canon_string()
441 switch(*q) { in canon_string()
447 result = Curl_dyn_addn(dq, q, 1); in canon_string()
451 if(ISXDIGIT(q[1]) && ISXDIGIT(q[2])) { in canon_string()
456 q += 2; in canon_string()
469 if(*q == '/') { in canon_string()
477 if(*q == '=') { in canon_string()
485 out[2] = hex[*q & 0xf]; in canon_string()
[all …]
H A Dldap.c854 char *q = NULL; in _ldap_url_parse2() local
915 p = q; in _ldap_url_parse2()
921 if(q) in _ldap_url_parse2()
922 *q++ = '\0'; in _ldap_url_parse2()
990 p = q; in _ldap_url_parse2()
996 if(q) in _ldap_url_parse2()
997 *q++ = '\0'; in _ldap_url_parse2()
1009 p = q; in _ldap_url_parse2()
1015 if(q) in _ldap_url_parse2()
1016 *q++ = '\0'; in _ldap_url_parse2()
[all …]
H A DMakefile.mk282 DEL = -del 2>NUL /q /f $(subst /,\,$1)
285 RMDIR = -rd 2>NUL /q /s $(subst /,\,$1)
/curl/tests/unit/
H A Dunit2601.c44 if(!q->tail) { in tail_err()
48 chunk = q->head; in tail_err()
68 q->chunk_size, q->max_chunks, msg); in dump_bufq()
70 chunk = q->head; in dump_bufq()
77 terr = tail_err(q); in dump_bufq()
80 chunk = q->spare; in dump_bufq()
95 struct bufq q; in check_bufq() local
124 Curl_bufq_reset(&q); in check_bufq()
160 if(q.tail) { in check_bufq()
179 Curl_bufq_free(&q); in check_bufq()
[all …]
/curl/src/
H A Dtool_cb_hdr.c277 char *q; in parse_filename() local
298 if(q) in parse_filename()
299 *q = '\0'; in parse_filename()
303 if(q) { in parse_filename()
304 p = q + 1; in parse_filename()
315 if(q) { in parse_filename()
316 p = q + 1; in parse_filename()
325 if(q) in parse_filename()
326 *q = '\0'; in parse_filename()
329 if(q) in parse_filename()
[all …]
/curl/docs/cmdline-opts/
H A Ddisable.md5 Short: q
13 - -q $URL
22 Prior to 7.50.0 curl supported the short option name *q* but not the long
/curl/lib/vquic/
H A Dcurl_quiche.c90 struct cf_quic_ctx q; member
131 vquic_ctx_free(&ctx->q); in cf_quiche_ctx_clear()
826 vquic_ctx_update_time(&ctx->q); in cf_quiche_recv()
1026 vquic_ctx_update_time(&ctx->q); in cf_quiche_send()
1264 result = vquic_ctx_init(&ctx->q); in cf_connect_start()
1312 ctx->q.local_addrlen = sizeof(ctx->q.local_addr); in cf_connect_start()
1313 rv = getsockname(ctx->q.sockfd, (struct sockaddr *)&ctx->q.local_addr, in cf_connect_start()
1394 vquic_ctx_update_time(&ctx->q); in cf_quiche_connect()
1512 if(ctx->q.got_first_byte) { in cf_quiche_query()
1521 if(ctx->q.got_first_byte) in cf_quiche_query()
[all …]
H A Dcurl_ngtcp2.c115 struct cf_quic_ctx q; member
328 vquic_ctx_update_time(&ctx->q); in pktx_update_time()
1634 ctx->q.local_addrlen); in recv_pkt()
1994 vquic_ctx_free(&ctx->q); in cf_ngtcp2_ctx_clear()
2182 result = vquic_ctx_init(&ctx->q); in cf_connect_start()
2189 ctx->q.local_addrlen = sizeof(ctx->q.local_addr); in cf_connect_start()
2190 rv = getsockname(ctx->q.sockfd, (struct sockaddr *)&ctx->q.local_addr, in cf_connect_start()
2197 ctx->q.local_addrlen); in cf_connect_start()
2354 if(ctx->q.got_first_byte) { in cf_ngtcp2_query()
2363 if(ctx->q.got_first_byte) in cf_ngtcp2_query()
[all …]
H A Dcurl_osslq.c283 struct cf_quic_ctx q; member
309 vquic_ctx_free(&ctx->q); in cf_osslq_ctx_clear()
1089 result = vquic_ctx_init(&ctx->q); in cf_osslq_ctx_start()
1098 ctx->q.local_addrlen = sizeof(ctx->q.local_addr); in cf_osslq_ctx_start()
1099 rv = getsockname(ctx->q.sockfd, (struct sockaddr *)&ctx->q.local_addr, in cf_osslq_ctx_start()
1114 if(ctx->q.sockfd > INT_MAX) { in cf_osslq_ctx_start()
1489 ctx->q.last_io = Curl_now(); in h3_send_streams()
1633 ctx->q.last_io = now; in cf_osslq_connect()
1649 ctx->q.last_io = now; in cf_osslq_connect()
1654 ctx->q.last_io = now; in cf_osslq_connect()
[all …]
/curl/tests/data/
H A Dtest111030 http://%HOSTIP:%HTTPPORT/%TESTNUMBER?q=foobar#fragment
38 GET /%TESTNUMBER?q=foobar HTTP/1.1
H A Dtest111130 http://%HOSTIP:%HTTPPORT/%TESTNUMBER?q=foobar#fragment#fragment2
38 GET /%TESTNUMBER?q=foobar HTTP/1.1
H A Dtest118225 grep -q "Test should not run for unit test %TESTNUMBER" %LOGDIR/stdout%TESTNUMBER
H A Dtest43638 <command option="no-q">
H A Dtest43339 <command option="no-q">
/curl/tests/certs/
H A Dsrp-verifier-conf2 …YGEw3G.4E0jbMxcYBetDy2YdpiP/3GWJInoBbvYHIRO9uBuxgsFKTKWu7RnR7yTau/IrFTdQ4LY/q.AvoCzMxV0PKvD9Odso/L…
/curl/lib/vtls/
H A Dx509asn1.c957 char q[sizeof(len) * 8 / 3 + 1]; in do_pubkey() local
958 (void)msnprintf(q, sizeof(q), "%zu", len); in do_pubkey()
959 if(ssl_push_certinfo(data, certnum, "ECC Public Key", q)) in do_pubkey()
970 const char *q; in do_pubkey() local
978 for(q = elem.beg; !*q && q < elem.end; q++) in do_pubkey()
980 len = ((elem.end - q) * 8); in do_pubkey()
983 for(i = *(unsigned char *) q; !(i & 0x80); i <<= 1) in do_pubkey()
987 elem.beg = q; /* Strip leading zero bytes. */ in do_pubkey()
H A Dopenssl.c562 DECLARE_PKEY_PARAM_BIGNUM(q); in Curl_ossl_certchain()
567 EVP_PKEY_get_bn_param(pubkey, OSSL_PKEY_PARAM_FFC_Q, &q); in Curl_ossl_certchain()
571 DSA_get0_pqg(dsa, &p, &q, &g); in Curl_ossl_certchain()
576 print_pubkey_BN(dsa, q, i); in Curl_ossl_certchain()
580 FREE_PKEY_PARAM_BIGNUM(q); in Curl_ossl_certchain()
600 DECLARE_PKEY_PARAM_BIGNUM(q); in Curl_ossl_certchain()
605 EVP_PKEY_get_bn_param(pubkey, OSSL_PKEY_PARAM_FFC_Q, &q); in Curl_ossl_certchain()
609 DH_get0_pqg(dh, &p, &q, &g); in Curl_ossl_certchain()
613 print_pubkey_BN(dh, q, i); in Curl_ossl_certchain()
621 FREE_PKEY_PARAM_BIGNUM(q); in Curl_ossl_certchain()
H A Dbearssl.c238 ta->pkey.key.ec.q = ta->dn.data + ta->dn.len; in load_cafile()
239 memcpy(ta->pkey.key.ec.q, pkey->key.ec.q, pkey->key.ec.qlen); in load_cafile()
/curl/winbuild/
H A DMakefile.vc317 @if exist $(LIBCURL_DIROBJ) rd /s /q $(LIBCURL_DIROBJ)
318 @if exist $(CURL_DIROBJ) rd /s /q $(CURL_DIROBJ)
319 @if exist $(DIRDIST) rd /s /q $(DIRDIST)
/curl/projects/
H A Dbuild-openssl.bat508 rd out32.dbg /s /q
517 rd tmp32.dbg /s /q
521 rd out32dll.dbg /s /q
530 rd tmp32dll.dbg /s /q
539 rd out32 /s /q
548 rd tmp32 /s /q
552 rd out32dll /s /q
561 rd tmp32dll /s /q
643 rd "%TMP_BUILD_PATH%" /s /q
646 rd "%TMP_INSTALL_PATH%" /s /q
/curl/docs/
H A Dmk-ca-bundle.md94 ## -q
H A Doptions-in-versions46 --disable (-q) 5.0

Completed in 79 milliseconds

12