Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/curl/lib/
H A Descape.c46 return curl_easy_escape(NULL, string, inlength); in curl_escape()
65 if(!string || (inlength < 0)) in curl_easy_escape()
76 unsigned char in = (unsigned char)*string++; in curl_easy_escape()
130 DEBUGASSERT(string); in Curl_urldecode()
133 alloc = (length ? length : strlen(string)); in Curl_urldecode()
143 unsigned char in = (unsigned char)*string; in Curl_urldecode()
145 ISXDIGIT(string[1]) && ISXDIGIT(string[2])) { in Curl_urldecode()
147 in = (unsigned char)(onehex2dec(string[1]) << 4) | onehex2dec(string[2]); in Curl_urldecode()
149 string += 3; in Curl_urldecode()
153 string++; in Curl_urldecode()
[all …]
H A Dcurl_fnmatch.c257 static int loop(const unsigned char *pattern, const unsigned char *string, in loop() argument
261 unsigned char *s = (unsigned char *)string; in loop()
355 int Curl_fnmatch(void *ptr, const char *pattern, const char *string) in Curl_fnmatch() argument
359 if(!pattern || !string) { in Curl_fnmatch()
362 return loop((unsigned char *)pattern, (unsigned char *)string, 2); in Curl_fnmatch()
369 int Curl_fnmatch(void *ptr, const char *pattern, const char *string) in Curl_fnmatch() argument
373 if(!pattern || !string) { in Curl_fnmatch()
377 switch(fnmatch(pattern, string, 0)) { in Curl_fnmatch()
/curl/docs/cmdline-opts/
H A Dform-string.md4 Long: form-string
7 Arg: <name=string>
14 - --form-string "name=data" $URL
17 # `--form-string`
19 Similar to --form except that the value string for the named parameter is used
20 literally. Leading @ and \< characters, and the `;type=` string in the value
22 possibility that the string value may accidentally trigger the @ or \<
/curl/docs/libcurl/
H A Dcurl_escape.md17 curl_escape - URL encode a string
24 char *curl_escape(const char *string, int length);
31 This function converts the given input **string** to a URL encoded string
32 and return that as a new allocated string. All input characters that are not
37 on **string** to find out the size.
39 You must curl_free(3) the returned string when you are done with it.
65 A pointer to a null-terminated string or NULL if it failed.
H A Dcurl_unescape.md19 curl_unescape - URL decode a string
33 This function converts the URL encoded string **input** to a "plain string"
34 and return that as a new allocated string. All input characters that are URL
41 You must curl_free(3) the returned string when you are done with it.
72 A pointer to a null-terminated string or NULL if it failed.
H A Dcurl_easy_escape.md18 curl_easy_escape - URL encode a string
25 char *curl_easy_escape(CURL *curl, const char *string, int length);
30 This function converts the given input *string* to a URL encoded string and
31 returns that as a new allocated string. All input characters that are not a-z,
36 *string* to find out the size. This function does not accept input strings
39 You must curl_free(3) the returned string when you are done with it.
56 entire URL string with curl_easy_escape(3), because it then also converts
92 A pointer to a null-terminated string or NULL if it failed.
H A Dcurl_easy_unescape.md17 curl_easy_unescape - URL decode a string
30 This function converts the URL encoded string **input** to a "plain string"
39 string in the integer it points to. This allows proper handling even for
41 only return a value up to *INT_MAX* so no longer string can be returned in
48 You must curl_free(3) the returned string when you are done with it.
76 A pointer to a null-terminated string or NULL if it failed.
H A Dcurl_version.md16 curl_version - returns the libcurl version string
28 Returns a human readable string with the version number of libcurl and some of
48 A pointer to a null-terminated string. The string resides in a statically
H A Dcurl_slist_append.md16 curl_slist_append - add a string to an slist
24 const char *string);
29 curl_slist_append(3) appends a string to a linked list of strings. The
32 a new list. The specified **string** has been appended when this function
33 returns. curl_slist_append(3) copies the string.
H A Dcurl_share_strerror.md19 curl_share_strerror - return string describing error code
31 The curl_share_strerror(3) function returns a string describing the
53 A pointer to a null-terminated string.
H A Dcurl_multi_strerror.md19 curl_multi_strerror - return string describing error code
31 This function returns a string describing the *CURLMcode* error code
54 A pointer to a null-terminated string.
H A Dcurl_url_strerror.md21 curl_url_strerror - return string describing error code
33 This function returns a string describing the CURLUcode error code passed in
56 A pointer to a null-terminated string.
H A Dcurl_easy_strerror.md19 curl_easy_strerror - return string describing error code
31 The curl_easy_strerror(3) function returns a string describing the
62 A pointer to a null-terminated string.
/curl/docs/libcurl/opts/
H A DCURLOPT_REQUEST_TARGET.md26 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_REQUEST_TARGET, string);
31 Pass a char pointer to string which libcurl uses in the upcoming request
34 libcurl passes on the verbatim string in its request without any filter or
37 Using this option multiple times makes the last set string override the
40 The application does not have to keep the string around after setting this
H A DCURLOPT_KRBLEVEL.md30 this also enables kerberos awareness. This is a string that should match one
32 string is set but does not match one of these, 'private' is used. Set the
33 string to NULL to disable kerberos support for FTP.
35 The application does not have to keep the string around after setting this
38 The application does not have to keep the string around after setting this
H A DCURLOPT_ECH.md40 Pass a string that specifies configuration details for ECH. In all cases, if
63 If the string starts with `ecl:` then the remainder of the string should be a
69 If the string starts with `pn:` then the remainder of the string should be a
75 The application does not have to keep the string around after setting this
78 Using this option multiple times makes the last set string override the
H A DCURLOPT_PRE_PROXY.md30 char * to a null-terminated string holding the hostname or dotted numerical IP
33 To specify port number in this string, append :[port] to the end of the host
42 The pre proxy string should be prefixed with [scheme]:// to specify which kind
48 Setting the pre proxy string to "" (an empty string) explicitly disables the
54 The application does not have to keep the string around after setting this
57 Using this option multiple times makes the last set string override the
H A DCURLOPT_SSLCERT.md37 Pass a pointer to a null-terminated string as parameter. The string should be
52 string which you can see in certificate details. Following store locations are
56 the string `P12` specified with CURLOPT_SSLCERTTYPE(3).
61 The application does not have to keep the string around after setting this
64 Using this option multiple times makes the last set string override the
H A DCURLOPT_FNMATCH_FUNCTION.md27 const char *string);
40 Return *CURL_FNMATCHFUNC_MATCH* if pattern matches the string,
59 const char *pattern, const char *string)
63 if(string_match(pattern, string))
H A DCURLOPT_SSH_HOST_PUBLIC_KEY_MD5.md33 Pass a char pointer pointing to a string containing 32 hexadecimal digits. The
34 string should be the 128 bit MD5 checksum of the remote host's public key, and
40 The application does not have to keep the string around after setting this
43 Using this option multiple times makes the last set string override the
H A DCURLOPT_PROXY.md32 should be a char * to a null-terminated string holding the hostname or dotted
36 To specify port number in this string, append :[port] to the end of the host
41 The proxy string may be prefixed with [scheme]:// to specify which kind of
44 Using this option multiple times makes the last set string override the
47 The application does not have to keep the string around after setting this
82 kind of proxy the string identifies.
90 Setting the proxy string to "" (an empty string) explicitly disables the use
93 A proxy host string can also include protocol scheme (http://) and embedded
147 Since 7.21.7 the proxy string supports the socks protocols as "schemes".
H A DCURLOPT_MAIL_AUTH.md29 Pass a pointer to a null-terminated string as parameter. This is used to
37 and the AUTH address is not known or is invalid, then an empty string should
42 string is used then a pair of brackets are sent by libcurl as required by RFC
45 The application does not have to keep the string around after setting this
48 Using this option multiple times makes the last set string override the
H A DCURLOPT_NOPROXY.md30 Pass a pointer to a null-terminated string. The string consists of a comma
38 Setting the *noproxy* string to "" (an empty string) explicitly enables the
51 The application does not have to keep the string around after setting this
54 Using this option multiple times makes the last set string override the
/curl/docs/examples/
H A Dhtmltitle.cpp61 std::string title;
68 static std::string buffer;
75 std::string *writerData) in writer()
240 static void parseHtml(const std::string &html, in parseHtml()
241 std::string &title) in parseHtml()
261 std::string title; in main()
/curl/packages/OS400/rpg-examples/
H A DSIMPLE262 dcl-s errmsgp pointer; // Error string pointer
89 * Get the length of right-trimmed string
94 string char(9999999) const options(*varsize);
100 len = %scan(X'00': string: 1: length); // Limit to zero-terminated string
107 return %checkr(' ': string: len - 1); // Trim right

Completed in 39 milliseconds

12345678910>>...12