Lines Matching refs:argptr
200 char *argptr; in Curl_vsetopt() local
501 argptr = va_arg(param, char *); in Curl_vsetopt()
503 if(!argptr || data->set.postfieldsize == -1) in Curl_vsetopt()
504 result = Curl_setstropt(&data->set.str[STRING_COPYPOSTFIELDS], argptr); in Curl_vsetopt()
520 char *p = Curl_memdup0(argptr, (size_t)data->set.postfieldsize); in Curl_vsetopt()
599 argptr = va_arg(param, char *); in Curl_vsetopt()
600 if(argptr && !*argptr) { in Curl_vsetopt()
606 result = Curl_setstropt(&data->set.str[STRING_ENCODING], argptr); in Curl_vsetopt()
756 argptr = (char *)va_arg(param, void *); in Curl_vsetopt()
757 if(argptr) { in Curl_vsetopt()
760 if(strlen(argptr) > CURL_MAX_INPUT_LENGTH) in Curl_vsetopt()
764 cl = curl_slist_append(data->state.cookielist, argptr); in Curl_vsetopt()
820 argptr = va_arg(param, char *); in Curl_vsetopt()
822 if(!argptr) in Curl_vsetopt()
825 if(strcasecompare(argptr, "ALL")) { in Curl_vsetopt()
831 else if(strcasecompare(argptr, "SESS")) { in Curl_vsetopt()
837 else if(strcasecompare(argptr, "FLUSH")) { in Curl_vsetopt()
841 else if(strcasecompare(argptr, "RELOAD")) { in Curl_vsetopt()
852 if(strlen(argptr) > CURL_MAX_INPUT_LENGTH) in Curl_vsetopt()
854 argptr = strdup(argptr); in Curl_vsetopt()
855 if(!argptr || !data->cookies) { in Curl_vsetopt()
857 free(argptr); in Curl_vsetopt()
862 if(checkprefix("Set-Cookie:", argptr)) in Curl_vsetopt()
864 Curl_cookie_add(data, data->cookies, TRUE, FALSE, argptr + 11, NULL, in Curl_vsetopt()
869 Curl_cookie_add(data, data->cookies, FALSE, FALSE, argptr, NULL, in Curl_vsetopt()
873 free(argptr); in Curl_vsetopt()
1841 argptr = va_arg(param, char *); in Curl_vsetopt()
1842 if(argptr && argptr[0]) { in Curl_vsetopt()
1843 result = Curl_setstropt(&data->set.str[STRING_SSL_ENGINE], argptr); in Curl_vsetopt()
1845 result = Curl_ssl_set_engine(data, argptr); in Curl_vsetopt()
2664 argptr = va_arg(param, char *); in Curl_vsetopt()
2665 result = protocol2num(argptr, &data->set.allowed_protocols); in Curl_vsetopt()
2672 argptr = va_arg(param, char *); in Curl_vsetopt()
2673 result = protocol2num(argptr, &data->set.redir_protocols); in Curl_vsetopt()
2869 argptr = va_arg(param, char *); in Curl_vsetopt()
2870 if(argptr && !strncasecompare(argptr, "SRP", strlen("SRP"))) in Curl_vsetopt()
2875 argptr = va_arg(param, char *); in Curl_vsetopt()
2876 if(argptr || !strncasecompare(argptr, "SRP", strlen("SRP"))) in Curl_vsetopt()
3056 argptr = va_arg(param, char *); in Curl_vsetopt()
3057 if(argptr) { in Curl_vsetopt()
3058 result = Curl_setstropt(&data->set.str[STRING_HSTS], argptr); in Curl_vsetopt()
3064 h = curl_slist_append(data->state.hstslist, argptr); in Curl_vsetopt()
3102 argptr = va_arg(param, char *); in Curl_vsetopt()
3103 result = Curl_setstropt(&data->set.str[STRING_ALTSVC], argptr); in Curl_vsetopt()
3106 if(argptr) in Curl_vsetopt()
3107 (void)Curl_altsvc_load(data->asi, argptr); in Curl_vsetopt()