Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/curl/docs/libcurl/
H A Dmksymbolsmanpage.pl70 my ($n)=@_;
71 if($n =~ /^CURLOPT_/) {
82 return "$n(3)";
86 return "$n(3)";
98 if($infotypes{$n}) {
111 elsif($n =~ /^CURLKH/) {
114 elsif($n =~ /^CURLE_/) {
117 elsif($n =~ /^CURLM_/) {
150 elsif($n =~ /^CURLU_/) {
160 return "$n(3)";
[all …]
/curl/tests/unit/
H A Dunit2601.c65 size_t n; in dump_bufq() local
79 n = 0; in dump_bufq()
82 ++n; in dump_bufq()
99 ssize_t n, i; in check_bufq() local
127 if(n >= 0) { in check_bufq()
146 if(n >= 0) { in check_bufq()
184 if(n < 0 || (size_t)n != wsize) { in check_bufq()
185 fail_unless(n > 0 && (size_t)n == wsize, "write should be complete"); in check_bufq()
198 fail_unless(n > 0 && (size_t)n == wsize, "write should be complete"); in check_bufq()
204 if(n <= 0) { in check_bufq()
[all …]
H A Dunit1614.c40 const char *n; member
47 const char *n; member
129 bool match = Curl_cidr4_match(list4[i].a, list4[i].n, list4[i].bits);
132 list4[i].a, list4[i].n, list4[i].bits,
138 bool match = Curl_cidr6_match(list6[i].a, list6[i].n, list6[i].bits);
141 list6[i].a, list6[i].n, list6[i].bits,
148 bool match = Curl_check_noproxy(list[i].a, list[i].n, &spacesep);
151 list[i].a, list[i].n,
157 list[i].n, list[i].space?"":"NOT ");
/curl/lib/
H A Dbufq.c65 if(n) { in chunk_append()
66 n = CURLMIN(n, len); in chunk_append()
70 return n; in chunk_append()
79 if(!n) { in chunk_read()
103 if(!n) { in chunk_slurpn()
138 if(n) { in chunk_skip()
139 n = CURLMIN(n, amount); in chunk_skip()
144 return n; in chunk_skip()
406 if(!n) in Curl_bufq_write()
427 *pnwritten = (n < 0)? 0 : (size_t)n; in Curl_bufq_cwrite()
[all …]
H A Dfopen.c66 size_t n; in dirslash() local
70 n = strlen(path); in dirslash()
71 if(n) { in dirslash()
73 while(n && !IS_SEP(path[n-1])) in dirslash()
74 --n; in dirslash()
76 while(n && IS_SEP(path[n-1])) in dirslash()
77 --n; in dirslash()
79 if(Curl_dyn_addn(&out, path, n)) in dirslash()
82 if(n && Curl_dyn_addn(&out, PATHSEP, 1)) in dirslash()
H A Dstrcase.c149 void Curl_strntoupper(char *dest, const char *src, size_t n) in Curl_strntoupper() argument
151 if(n < 1) in Curl_strntoupper()
156 } while(*src++ && --n); in Curl_strntoupper()
164 void Curl_strntolower(char *dest, const char *src, size_t n) in Curl_strntolower() argument
166 if(n < 1) in Curl_strntolower()
171 } while(*src++ && --n); in Curl_strntolower()
H A Dcurl_memrchr.c47 Curl_memrchr(const void *s, int c, size_t n) in Curl_memrchr() argument
49 if(n > 0) { in Curl_memrchr()
53 p += n - 1; in Curl_memrchr()
H A Doptiontable.pl106 my ($o, $n)=($1, $2);
108 if($n !~ /OBSOLETE/) {
110 $n =~ s/^CURLOPT_//;
111 $alias{$o} = $n;
/curl/tests/
H A Dtest1177.pl82 for my $n (keys %sourcename) {
83 if(!$manname{$n}) {
84 print STDERR "$manpage: missing feature name $n\n";
88 for my $n (keys %manname) {
89 if(!$sourcename{$n} && ($n ne "\"no name\"")) {
90 print STDERR "$manpage: $n is not in the source!\n";
H A Dech_combos.py60 if start > n:
79 def CombinationRepetition(arr, badarr, n, r): argument
87 CombinationRepetitionUtil(chosen, arr, badarr, 0, r, 0, n)
94 n = len(arr) - 1 variable
96 CombinationRepetition(arr, badarr, n, r)
/curl/src/
H A Dmkhelp.pl166 for my $n (@out) {
167 chomp $n;
168 $n =~ s/\\/\\\\/g;
169 $n =~ s/\"/\\\"/g;
171 if(!$n) {
175 $n =~ s/ /\\t/g;
176 printf(" \"%s%s\",\n", $blank?"\\n":"", $n);
/curl/scripts/
H A Dschemetable.c33 const char *n; member
98 for(i = 0; scheme[i].n; ++i) in showtable()
99 num[i] = calc(scheme[i].n, init, shift); in showtable()
100 for(i = 0; scheme[i].n; ++i) in showtable()
118 for(j=0; scheme[j].n; j++) { in showtable()
122 printf(" &Curl_handler_%s,\n", scheme[j].n); in showtable()
153 for(i = 0; scheme[i].n; ++i) { in main()
173 for(i = 0; scheme[i].n; ++i) { in main()
174 printf("%u - %s\n", num[i], scheme[i].n); in main()
180 for(i = 0; scheme[i].n; ++i) { in main()
[all …]
/curl/lib/vtls/
H A Dmbedtls_threadlock.c94 int Curl_mbedtlsthreadlock_lock_function(int n) in Curl_mbedtlsthreadlock_lock_function() argument
96 if(n < NUMT) { in Curl_mbedtlsthreadlock_lock_function()
98 if(pthread_mutex_lock(&mutex_buf[n])) { in Curl_mbedtlsthreadlock_lock_function()
104 if(WaitForSingleObject(mutex_buf[n], INFINITE) == WAIT_FAILED) { in Curl_mbedtlsthreadlock_lock_function()
114 int Curl_mbedtlsthreadlock_unlock_function(int n) in Curl_mbedtlsthreadlock_unlock_function() argument
116 if(n < NUMT) { in Curl_mbedtlsthreadlock_unlock_function()
118 if(pthread_mutex_unlock(&mutex_buf[n])) { in Curl_mbedtlsthreadlock_unlock_function()
124 if(!ReleaseMutex(mutex_buf[n])) { in Curl_mbedtlsthreadlock_unlock_function()
H A Dmbedtls_threadlock.h36 int Curl_mbedtlsthreadlock_lock_function(int n);
37 int Curl_mbedtlsthreadlock_unlock_function(int n);
/curl/docs/libcurl/opts/
H A DCURLOPT_SSL_CTX_DATA.md63 printf("PEM_read_bio_X509 failed...\n");
70 printf("error adding certificate\n");
85 "-----BEGIN CERTIFICATE-----\n"
86 "MIIHPTCCBSWgAwIBAgIBADANBgkqhkiG9w0BAQQFADB5MRAwDgYDVQQKEwdSb290\n"
87 "IENBMR4wHAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNB\n"
88 "IENlcnQgU2lnbmluZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRA\n"
89 "Y2FjZXJ0Lm9yZzAeFw0wMzAzMzAxMjI5NDlaFw0zMzAzMjkxMjI5NDlaMHkxEDAO\n"
92 "omTxJBzcoTWcFbLUvFUufQb1nA5V9FrWk9p2rSVzTMVD\n"
93 "-----END CERTIFICATE-----\n";
106 printf("*** transfer succeeded ***\n");
[all …]
H A DCURLOPT_SSL_CTX_FUNCTION.md107 printf("PEM_read_bio_X509 failed...\n");
114 printf("error adding certificate\n");
129 "-----BEGIN CERTIFICATE-----\n"
130 "MIIHPTCCBSWgAwIBAgIBADANBgkqhkiG9w0BAQQFADB5MRAwDgYDVQQKEwdSb290\n"
131 "IENBMR4wHAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNB\n"
132 "IENlcnQgU2lnbmluZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRA\n"
133 "Y2FjZXJ0Lm9yZzAeFw0wMzAzMzAxMjI5NDlaFw0zMzAzMjkxMjI5NDlaMHkxEDAO\n"
136 "omTxJBzcoTWcFbLUvFUufQb1nA5V9FrWk9p2rSVzTMVD\n"
137 "-----END CERTIFICATE-----\n";
150 printf("*** transfer succeeded ***\n");
[all …]
/curl/tests/libtest/
H A Dlib1597.c43 int n; in test() local
84 n = 0; in test()
86 if((size_t) n >= sizeof(protolist)) { in test()
91 n += msnprintf(protolist + n, sizeof(protolist) - n, ",%s", *proto); in test()
H A Dlib1901.c79 struct curl_slist *n = in test() local
81 if(n) in test()
82 chunk = n; in test()
83 if(n) in test()
84 easy_setopt(curl, CURLOPT_HTTPHEADER, n); in test()
H A Dlib1555.c42 size_t n = 0; in progressCallback() local
48 res = curl_easy_recv(curl, buffer, 256, &n); in progressCallback()
50 res = curl_easy_send(curl, buffer, n, &n); in progressCallback()
/curl/tests/data/
H A Dtest55848 s/^MEM escape.c:\d+ free\(\(nil\)\)[\n]$//
53 s/\r\n/\n/
54 s/^MEM getenv.c: realloc\(\)[\n]$//
55 s/^MEM getenv.c: free\(\)[\n]$//
H A Dtest133043 s/\r\n/\n/
44 s/^MEM getenv.c: realloc\(\)[\n]$//
45 s/^MEM getenv.c: free\(\)[\n]$//
H A Dtest108946 …TESTNUMBER -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_ty…
H A Dtest109053 …TESTNUMBER -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_ty…
H A Dtest204656 …RT:%HOSTIP -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_ty…
H A Dtest204757 …:%HTTPPORT -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_ty…

Completed in 94 milliseconds

12345678910>>...14