47 case '0':
case '1':
case '2':
case '3':
case '4':
48 case '5':
case '6':
case '7':
case '8':
case '9':
49 case 'a':
case 'b':
case 'c':
case 'd':
case 'e':
50 case 'f':
case 'g':
case 'h':
case 'i':
case 'j':
51 case 'k':
case 'l':
case 'm':
case 'n':
case 'o':
52 case 'p':
case 'q':
case 'r':
case 's':
case 't':
53 case 'u':
case 'v':
case 'w':
case 'x':
case 'y':
case 'z':
54 case 'A':
case 'B':
case 'C':
case 'D':
case 'E':
55 case 'F':
case 'G':
case 'H':
case 'I':
case 'J':
56 case 'K':
case 'L':
case 'M':
case 'N':
case 'O':
57 case 'P':
case 'Q':
case 'R':
case 'S':
case 'T':
58 case 'U':
case 'V':
case 'W':
case 'X':
case 'Y':
case 'Z':
59 case '-':
case '.':
case '_':
case '~':
84 char *testing_ptr = NULL;
94 alloc = (inlength?(
size_t)inlength:strlen(
string)) + 1;
126 snprintf(&ns[strindex], 4,
"%%%02X", in);
147 const char *
string,
size_t length,
148 char **ostring,
size_t *olen,
151 size_t alloc = (length?length:strlen(
string)) + 1;
163 if((
'%' == in) && (alloc > 2) &&
168 hexstr[0] =
string[1];
169 hexstr[1] =
string[2];
172 hex = strtoul(hexstr, &ptr, 16);
187 if(reject_ctrl && (in < 0x20)) {
214 int length,
int *olen)
218 size_t inputlen = length;
226 if(outputlen <= (
size_t) INT_MAX)
CURLcode Curl_urldecode(struct Curl_easy *data, const char *string, size_t length, char **ostring, size_t *olen, bool reject_ctrl)
char * curl_escape(const char *string, int inlength)
unsigned char curlx_ultouc(unsigned long ulnum)
UNITTEST_START char * ptr
static bool Curl_isunreserved(unsigned char in)
int curlx_uztosi(size_t uznum)
UNITTEST_START int result
curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option curl_easy_setopt expects a curl_conv_callback argument for this option curl_easy_setopt expects a private data pointer as argument for this option curl_easy_setopt expects a FILE *argument for this option curl_easy_setopt expects a struct curl_httppost *argument for this option curl_easy_setopt expects a struct curl_slist *argument for this option curl_easy_getinfo expects a pointer to char *for this info curl_easy_getinfo expects a pointer to double for this info curl_easy_getinfo expects a pointer to struct curl_tlssessioninfo *for this info curl_easy_getinfo expects a pointer to curl_socket_t for this info size_t
void * Curl_saferealloc(void *ptr, size_t size)
#define Curl_convert_from_network(a, b, c)
char * curl_unescape(const char *string, int length)
#define Curl_convert_to_network(a, b, c)
char * curl_easy_escape(struct Curl_easy *data, const char *string, int inlength)
#define Curl_safefree(ptr)
TFSIMD_FORCE_INLINE tfScalar length(const Quaternion &q)
char * curl_easy_unescape(struct Curl_easy *data, const char *string, int length, int *olen)