Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 1986) sorted by relevance

12345678910>>...80

/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()
39 if(name) { in lookup()
40 if(strcasecompare(o->name, name)) in lookup()
49 } while(o->name); in lookup()
54 const struct curl_easyoption *curl_easy_option_by_name(const char *name) in curl_easy_option_by_name() argument
57 return lookup(name, CURLOPT_LASTENTRY); in curl_easy_option_by_name()
69 if(prev && prev->name) { in curl_easy_option_next()
71 if(prev->name) in curl_easy_option_next()
[all …]
H A Doptiontable.pl42 my $name;
53 $name=$1;
60 $opt{$name} = $opt;
61 $type{$name} = $type;
62 push @names, $name;
118 for my $name (sort @names) {
119 my $oname = $name;
120 my $a = $alias{$name};
123 $name = $alias{$name};
127 $oname, $opt{$name}, $type{$name}, $flag);
[all …]
H A Dcurl_gethostname.c44 int Curl_gethostname(char * const name, GETHOSTNAME_TYPE_ARG2 namelen) in Curl_gethostname() argument
49 (void) name; in Curl_gethostname()
63 strcpy(name, force_hostname); in Curl_gethostname()
69 name[0] = '\0'; in Curl_gethostname()
70 err = gethostname(name, namelen); in Curl_gethostname()
75 name[0] = '\0'; in Curl_gethostname()
76 err = gethostname(name, namelen); in Curl_gethostname()
80 name[namelen - 1] = '\0'; in Curl_gethostname()
86 dot = strchr(name, '.'); in Curl_gethostname()
H A Ddynhds.c46 DEBUGASSERT(name); in entry_new()
58 Curl_strntolower(e->name, e->name, e->namelen); in entry_new()
153 strncasecompare(dynhds->hds[i]->name, name, namelen)) { in Curl_dynhds_get()
162 return Curl_dynhds_get(dynhds, name, strlen(name)); in Curl_dynhds_cget()
253 name = line; in Curl_dynhds_h1_add_line()
289 return Curl_dynhds_contains(dynhds, name, strlen(name)); in Curl_dynhds_ccontains()
300 strncasecompare(name, dynhds->hds[i]->name, namelen)) in Curl_dynhds_count_name()
309 return Curl_dynhds_count_name(dynhds, name, strlen(name)); in Curl_dynhds_ccount_name()
328 strncasecompare(name, dynhds->hds[i]->name, namelen)) { in Curl_dynhds_remove()
348 return Curl_dynhds_remove(dynhds, name, strlen(name)); in Curl_dynhds_cremove()
[all …]
H A Ddynhds.h38 char *name; member
95 const char *name, size_t namelen);
105 const char *name, size_t namelen);
106 bool Curl_dynhds_ccontains(struct dynhds *dynhds, const char *name);
113 const char *name, size_t namelen);
126 const char *name, size_t namelen);
127 size_t Curl_dynhds_cremove(struct dynhds *dynhds, const char *name);
136 const char *name, size_t namelen,
141 const char *name, const char *value);
148 const char *name, size_t namelen,
[all …]
H A Dnoproxy.c130 if(!name || name[0] == '\0') in Curl_check_noproxy()
147 if(name[0] == '[') { in Curl_check_noproxy()
150 endptr = strchr(name, ']'); in Curl_check_noproxy()
153 name++; in Curl_check_noproxy()
154 namelen = endptr - name; in Curl_check_noproxy()
157 memcpy(hostip, name, namelen); in Curl_check_noproxy()
159 name = hostip; in Curl_check_noproxy()
164 namelen = strlen(name); in Curl_check_noproxy()
165 if(1 == Curl_inet_pton(AF_INET, name, &address)) in Curl_check_noproxy()
169 if(name[namelen - 1] == '.') in Curl_check_noproxy()
[all …]
/curl/tests/libtest/
H A Dmk-lib1521.pl420 my $opt = $name;
430 err("$name", first, __LINE__);
435 errstring("$name", first, __LINE__);
440 err("$name", res, __LINE__);
445 $name))
446 errlongzero("$name", first, __LINE__);
451 if(res && !bad_long(res, $name))
452 errlong("$name", res, __LINE__);
458 errnull(\"$name\", res, __LINE__);
486 if($name =~ /DEPENDS/) {
[all …]
H A Dlib1912.c30 #define print_err(name, exp) \ argument
31 fprintf(stderr, "Type mismatch for CURLOPT_%s (expected %s)\n", name, exp);
46 print_err(o->name, "CURLOT_LONG or CURLOT_VALUES"); in test()
50 print_err(o->name, "CURLOT_OFF_T"); in test()
54 print_err(o->name, "CURLOT_STRING"); in test()
58 print_err(o->name, "CURLOT_SLIST"); in test()
62 print_err(o->name, "CURLOT_CBPTR"); in test()
67 print_err(o->name, "CURLOT_FUNCTION"); in test()
71 print_err(o->name, "CURLOT_FUNCTION"); in test()
75 print_err(o->name, "CURLOT_OBJECT"); in test()
/curl/tests/
H A Dtest1477.pl51 my ($name)=($1);
52 if(($name !~ /OBSOLETE/) && ($name !~ /_LAST\z/)) {
53 push @hnames, $name;
54 if($wherefrom{$name}) {
55 print STDERR "double: $name\n";
57 $wherefrom{$name}="$file:$line";
71 my ($name)=($1);
72 push @mnames, $name;
73 $manfrom{$name}="$file:$line";
H A Dmk-bundle.pl127 my $name = $1;
128 my $namu = uc($name);
134 print "#define $symb ${symb}_$name\n";
148 $tlist .= " {\"$name\", test_$name},\n";
H A Dmk-bundle-hints.sh50 …'^ *(static|struct) +' $(find libtest unit -maxdepth 1 -name 'lib*.c' -o -name 'unit*.c' -o -name
64 grep -E '^ *# *define +' $(find libtest unit -maxdepth 1 -name 'lib*.c' -o -name 'unit*.c' -o -name
/curl/.github/workflows/
H A Dcheckdocs.yml8 name: Docs
40 # name: checkout
67 # - name: check prose
93 name: checkout
96 …run: find docs/cmdline-opts -name "*.md" ! -name "_*" ! -name MANPAGE.md -print0 | xargs -0 -n1 .g…
106 name: checkout
132 name: checkout
134 - name: badwords
144 name: checkout
157 name: checkout
[all …]
H A Dchecksrc.yml7 name: Source
39 name: checkout
41 - name: check
48 name: checkout
50 - name: install
71 - name: cmakelint
74 - name: pytype
77 - name: ruff
84 name: checkout
94 name: checkout
[all …]
H A Dconfigure-vs-cmake.yml5 name: configure-vs-cmake
43 - name: run cmake
47 - name: 'configure log'
50 - name: 'cmake log'
65 - name: install packages
81 - name: run cmake
87 - name: 'configure log'
90 - name: 'cmake log'
118 - name: run cmake
125 - name: 'configure log'
[all …]
H A Dhttp3-linux.yml5 name: Linux HTTP/3
92 - name: cache quictls
101 - name: cache gnutls
110 - name: cache wolfssl
129 - name: cache ngtcp2
253 name: ${{ matrix.build.generate && 'CM' || 'AM' }} ${{ matrix.build.name }}
263 - name: quictls
271 - name: gnutls
305 - name: quiche
314 - name: quiche
[all …]
/curl/docs/examples/
H A Dsslbackend.c45 const char *name = argc > 1 ? argv[1] : "openssl"; in main() local
48 if(!strcmp("list", name)) { in main()
57 i, list[i]->name, list[i]->id); in main()
61 else if(isdigit((int)(unsigned char)*name)) { in main()
62 int id = atoi(name); in main()
67 result = curl_global_sslset(CURLSSLBACKEND_NONE, name, NULL); in main()
70 fprintf(stderr, "Unknown SSL backend id: %s\n", name); in main()
76 printf("Version with SSL backend '%s':\n\n\t%s\n", name, curl_version()); in main()
/curl/docs/cmdline-opts/
H A Dservice-name.md4 Long: service-name
5 Help: SPNEGO service name
6 Arg: <name>
12 - proxy-service-name
14 - --service-name sockd/server $URL
17 # `--service-name`
19 Set the service name for SPNEGO.
H A Dproxy-service-name.md4 Long: proxy-service-name
5 Arg: <name>
6 Help: SPNEGO proxy service name
11 - service-name
15 - --proxy-service-name "shrubbery" -x proxy $URL
18 # `--proxy-service-name`
20 Set the service name for SPNEGO when doing proxy authentication.
H A Dremote-name-all.md4 Long: remote-name-all
10 - remote-name
12 - --remote-name-all ftp://example.com/file1 ftp://example.com/file2
15 # `--remote-name-all`
18 --remote-name were used for each one. If you want to disable that for a
19 specific URL after --remote-name-all has been used, you must use "-o -" or
20 --no-remote-name.
H A Dvariable.md5 Arg: <[%]name=text/@file>
13 - --variable name=smith --expand-url "$URL/{{name}}"
18 Set a variable with `name=content` or `name@file` (where `file` can be stdin
19 if set to a single dash (`-`)). The name is a case sensitive identifier that
23 Setting the same variable name again overwrites the old contents with the new.
26 when that option name is prefixed with `--expand-`, and the name is used as
27 `{{name}}`.
29 --variable can import environment variables into the name space. Opt to either
33 --variable %name imports the variable called `name` but exits with an error if
35 the environment variable is not set, use --variable %name=content or
[all …]
/curl/tests/http/testenv/
H A Dcerts.py85 self._name = name
110 elif self.name:
244 name = name if name is not None else creds.name
245 cert_file = self.get_cert_file(name=name, key_type=creds.key_type)
246 pkey_file = self.get_pkey_file(name=name, key_type=creds.key_type)
270 name = creds.name
313 cert_file = self.get_cert_file(name=name, key_type=key_type)
315 comb_file = self.get_combined_file(name=name, key_type=key_type)
519 return Credentials(name=name, cert=cert, pkey=pkey, issuer=issuer)
536 return Credentials(name=name, cert=cert, pkey=pkey, issuer=issuer)
[all …]
/curl/docs/libcurl/
H A Dcurl_mime_name.md20 curl_mime_name - set a mime part's name
27 CURLcode curl_mime_name(curl_mimepart *part, const char *name);
32 curl_mime_name(3) sets a mime part's name. This is the way HTTP form
35 *part* is the part's handle to assign a name to.
37 *name* points to the null-terminated name string.
39 The name string is copied into the part, thus the associated storage may
40 safely be released or reused after call. Setting a part's name multiple times
42 reset the name of a part by setting *name* to NULL.
62 /* give the part a name */
/curl/src/
H A Dvar.c74 !strncmp(name, list->name, nlen)) { in varcontent()
234 char name[MAX_VAR_LEN]; in varexpand() local
271 name[nlen] = 0; in varexpand()
275 (ISALNUM(name[i]) || (name[i] == '_')); i++); in varexpand()
362 memcpy(p->name, name, nlen); in addvariable()
380 const char *name; in setvariable() local
395 name = line; in setvariable()
398 nlen = line - name; in setvariable()
408 memcpy(buf, name, nlen); in setvariable()
410 name = buf; in setvariable()
[all …]
/curl/tests/data/
H A Dtest134019 Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
31 <name>
33 </name>
50 <file1 name="%LOGDIR/name%TESTNUMBER">
54 <file2 name="%LOGDIR/heads%TESTNUMBER">
61 Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
65 <file3 name="%LOGDIR/stdout%TESTNUMBER" mode="text">
66 curl saved to filename %LOGDIR/name%TESTNUMBER
H A Dtest115113 # reject cookies with too long name (instead of capping)
14 # 3000 bytes name + 1096 bytes content is fine
15 # 3000 bytes name + 1097 bytes content is NOT OK
16 # 4096 bytes name + 1 byte content is NOT OK
17 # 4094 bytes name + 1 byte content is fine
24 Set-Cookie: foobar=name; domain=127.0.0.1; path=/;
38 <name>
40 </name>
58 <file name="%LOGDIR/cookies%TESTNUMBER.txt" mode="text">
65 127.0.0.1 FALSE / FALSE 0 foobar name

Completed in 31 milliseconds

12345678910>>...80