Home
last modified time | relevance | path

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

12

/curl/lib/
H A Dbufq.c235 memset(q, 0, sizeof(*q)); in bufq_init()
302 if(q->chunk_count < q->max_chunks) { in Curl_bufq_space()
303 space += (q->max_chunks - q->chunk_count) * q->chunk_size; in Curl_bufq_space()
315 if(!q->tail || q->spare) in Curl_bufq_is_full()
317 if(q->chunk_count < q->max_chunks) in Curl_bufq_is_full()
319 if(q->chunk_count > q->max_chunks) in Curl_bufq_is_full()
336 if(q->chunk_count >= q->max_chunks && (!(q->opts & BUFQ_OPT_SOFT_LIMIT))) in get_spare()
363 q->tail = q->head; in prune_head()
406 q->head = q->tail; in prune_tail()
430 if(q->tail && !chunk_is_full(q->tail)) 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,
212 bool Curl_bufq_peek(struct bufq *q,
223 void Curl_bufq_skip(struct bufq *q, size_t amount);
[all …]
H A Dcurl_memrchr.c54 const unsigned char *q = s; in Curl_memrchr() local
58 while(p >= q) { in Curl_memrchr()
H A Dhttp_aws_sigv4.c455 for(; len && !result; q++, len--) { in canon_string()
456 if(ISALNUM(*q)) in canon_string()
457 result = Curl_dyn_addn(dq, q, 1); in canon_string()
459 switch(*q) { in canon_string()
465 result = Curl_dyn_addn(dq, q, 1); in canon_string()
469 if(ISXDIGIT(q[1]) && ISXDIGIT(q[2])) { in canon_string()
474 q += 2; in canon_string()
487 if(*q == '/') { in canon_string()
495 if(*q == '=') { in canon_string()
503 out[2] = hex[*q & 0xf]; in canon_string()
[all …]
H A Dldap.c858 char *q = NULL; in _ldap_url_parse2() local
919 p = q; in _ldap_url_parse2()
925 if(q) in _ldap_url_parse2()
926 *q++ = '\0'; in _ldap_url_parse2()
994 p = q; in _ldap_url_parse2()
1000 if(q) in _ldap_url_parse2()
1001 *q++ = '\0'; in _ldap_url_parse2()
1013 p = q; in _ldap_url_parse2()
1019 if(q) in _ldap_url_parse2()
1020 *q++ = '\0'; in _ldap_url_parse2()
[all …]
H A DMakefile.mk289 DEL = -del 2>NUL /q /f $(subst /,\,$1)
292 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.c326 char *q; in parse_filename() local
347 if(q) in parse_filename()
348 *q = '\0'; in parse_filename()
352 if(q) { in parse_filename()
353 p = q + 1; in parse_filename()
364 if(q) { in parse_filename()
365 p = q + 1; in parse_filename()
374 if(q) in parse_filename()
375 *q = '\0'; in parse_filename()
378 if(q) in parse_filename()
[all …]
/curl/docs/cmdline-opts/
H A Ddisable.md5 Short: q
13 - -q $URL
/curl/lib/vquic/
H A Dcurl_quiche.c89 struct cf_quic_ctx q; member
143 vquic_ctx_free(&ctx->q); in cf_quiche_ctx_free()
850 vquic_ctx_update_time(&ctx->q); in cf_quiche_recv()
1102 vquic_ctx_update_time(&ctx->q); in cf_quiche_send()
1277 result = vquic_ctx_init(&ctx->q); in cf_quiche_ctx_open()
1325 ctx->q.local_addrlen = sizeof(ctx->q.local_addr); in cf_quiche_ctx_open()
1326 rv = getsockname(ctx->q.sockfd, (struct sockaddr *)&ctx->q.local_addr, in cf_quiche_ctx_open()
1407 vquic_ctx_update_time(&ctx->q); in cf_quiche_connect()
1489 vquic_ctx_update_time(&ctx->q); in cf_quiche_shutdown()
1557 if(ctx->q.got_first_byte) { in cf_quiche_query()
[all …]
H A Dcurl_ngtcp2.c116 struct cf_quic_ctx q; member
354 vquic_ctx_update_time(&ctx->q); in pktx_update_time()
1993 vquic_ctx_free(&ctx->q); in cf_ngtcp2_ctx_close()
2054 ctx->q.no_gso = TRUE; in cf_ngtcp2_shutdown()
2056 ctx->q.split_len = 0; in cf_ngtcp2_shutdown()
2290 result = vquic_ctx_init(&ctx->q); in cf_connect_start()
2297 ctx->q.local_addrlen = sizeof(ctx->q.local_addr); in cf_connect_start()
2298 rv = getsockname(ctx->q.sockfd, (struct sockaddr *)&ctx->q.local_addr, in cf_connect_start()
2458 if(ctx->q.got_first_byte) { in cf_ngtcp2_query()
2467 if(ctx->q.got_first_byte) in cf_ngtcp2_query()
[all …]
H A Dcurl_osslq.c283 struct cf_quic_ctx q; member
331 vquic_ctx_free(&ctx->q); in cf_osslq_ctx_close()
1176 result = vquic_ctx_init(&ctx->q); in cf_osslq_ctx_start()
1185 ctx->q.local_addrlen = sizeof(ctx->q.local_addr); in cf_osslq_ctx_start()
1186 rv = getsockname(ctx->q.sockfd, (struct sockaddr *)&ctx->q.local_addr, in cf_osslq_ctx_start()
1201 if(ctx->q.sockfd > INT_MAX) { in cf_osslq_ctx_start()
1572 ctx->q.last_io = Curl_now(); in h3_send_streams()
1718 ctx->q.last_io = now; in cf_osslq_connect()
1734 ctx->q.last_io = now; in cf_osslq_connect()
1738 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 Dtest43339 <command option="no-q">
H A Dtest43638 <command option="no-q">
H A Dtest118231 grep -q "Test should not run for unit test %TESTNUMBER" %LOGDIR/stdout%TESTNUMBER
/curl/tests/certs/
H A Dsrp-verifier-conf2 …YGEw3G.4E0jbMxcYBetDy2YdpiP/3GWJInoBbvYHIRO9uBuxgsFKTKWu7RnR7yTau/IrFTdQ4LY/q.AvoCzMxV0PKvD9Odso/L…
/curl/lib/vtls/
H A Dx509asn1.c981 char q[sizeof(len) * 8 / 3 + 1]; in do_pubkey() local
982 (void)msnprintf(q, sizeof(q), "%zu", len); in do_pubkey()
983 if(ssl_push_certinfo(data, certnum, "ECC Public Key", q)) in do_pubkey()
995 const char *q; in do_pubkey() local
1003 for(q = elem.beg; !*q && q < elem.end; q++) in do_pubkey()
1005 len = ((elem.end - q) * 8); in do_pubkey()
1008 for(i = *(unsigned char *) q; !(i & 0x80); i <<= 1) in do_pubkey()
1012 elem.beg = q; /* Strip leading zero bytes. */ in do_pubkey()
H A Dopenssl.c596 DECLARE_PKEY_PARAM_BIGNUM(q); in ossl_certchain()
601 EVP_PKEY_get_bn_param(pubkey, OSSL_PKEY_PARAM_FFC_Q, &q); in ossl_certchain()
605 DSA_get0_pqg(dsa, &p, &q, &g); in ossl_certchain()
610 print_pubkey_BN(dsa, q, i); in ossl_certchain()
614 FREE_PKEY_PARAM_BIGNUM(q); in ossl_certchain()
633 DECLARE_PKEY_PARAM_BIGNUM(q); in ossl_certchain()
638 EVP_PKEY_get_bn_param(pubkey, OSSL_PKEY_PARAM_FFC_Q, &q); in ossl_certchain()
642 DH_get0_pqg(dh, &p, &q, &g); in ossl_certchain()
646 print_pubkey_BN(dh, q, i); in ossl_certchain()
654 FREE_PKEY_PARAM_BIGNUM(q); in ossl_certchain()
H A Dbearssl.c239 ta->pkey.key.ec.q = ta->dn.data + ta->dn.len; in load_cafile()
240 memcpy(ta->pkey.key.ec.q, pkey->key.ec.q, pkey->key.ec.qlen); in load_cafile()
/curl/winbuild/
H A DMakefile.vc314 @if exist $(LIBCURL_DIROBJ) rd /s /q $(LIBCURL_DIROBJ)
315 @if exist $(CURL_DIROBJ) rd /s /q $(CURL_DIROBJ)
316 @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.md95 ## -q
H A Doptions-in-versions46 --disable (-q) 5.0

Completed in 85 milliseconds

12