Lines Matching refs:argptr
118 char *argptr; in vsetopt() local
445 argptr = va_arg(param, char *); in vsetopt()
446 if(argptr && !*argptr) { in vsetopt()
447 argptr = Curl_all_content_encodings(); in vsetopt()
448 if(!argptr) in vsetopt()
451 result = Curl_setstropt(&data->set.str[STRING_ENCODING], argptr); in vsetopt()
452 free(argptr); in vsetopt()
456 result = Curl_setstropt(&data->set.str[STRING_ENCODING], argptr); in vsetopt()
527 argptr = va_arg(param, char *); in vsetopt()
529 if(!argptr || data->set.postfieldsize == -1) in vsetopt()
530 result = Curl_setstropt(&data->set.str[STRING_COPYPOSTFIELDS], argptr); in vsetopt()
557 memcpy(p, argptr, (size_t)data->set.postfieldsize); in vsetopt()
709 argptr = (char *)va_arg(param, void *); in vsetopt()
710 if(argptr) { in vsetopt()
714 cl = curl_slist_append(data->change.cookielist, argptr); in vsetopt()
765 argptr = va_arg(param, char *); in vsetopt()
767 if(argptr == NULL) in vsetopt()
770 if(strcasecompare(argptr, "ALL")) { in vsetopt()
776 else if(strcasecompare(argptr, "SESS")) { in vsetopt()
782 else if(strcasecompare(argptr, "FLUSH")) { in vsetopt()
786 else if(strcasecompare(argptr, "RELOAD")) { in vsetopt()
796 argptr = strdup(argptr); in vsetopt()
797 if(!argptr || !data->cookies) { in vsetopt()
799 free(argptr); in vsetopt()
804 if(checkprefix("Set-Cookie:", argptr)) in vsetopt()
806 Curl_cookie_add(data, data->cookies, TRUE, FALSE, argptr + 11, NULL, in vsetopt()
811 Curl_cookie_add(data, data->cookies, FALSE, FALSE, argptr, NULL, in vsetopt()
815 free(argptr); in vsetopt()
1624 argptr = va_arg(param, char *); in vsetopt()
1625 if(argptr && argptr[0]) { in vsetopt()
1626 result = Curl_setstropt(&data->set.str[STRING_SSL_ENGINE], argptr); in vsetopt()
1628 result = Curl_ssl_set_engine(data, argptr); in vsetopt()
2513 argptr = va_arg(param, char *); in vsetopt()
2514 if(!argptr || in vsetopt()
2515 strncasecompare(argptr, "SRP", strlen("SRP"))) in vsetopt()
2521 argptr = va_arg(param, char *); in vsetopt()
2522 if(!argptr || in vsetopt()
2523 strncasecompare(argptr, "SRP", strlen("SRP"))) in vsetopt()
2666 argptr = va_arg(param, char *); in vsetopt()
2667 result = Curl_setstropt(&data->set.str[STRING_ALTSVC], argptr); in vsetopt()
2670 (void)Curl_altsvc_load(data->asi, argptr); in vsetopt()