Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 68) sorted by relevance

123

/curl/tests/libtest/
H A Dtest610.pl35 my $arg = shift @ARGV;
37 mkdir $arg || die "$!";
40 rmdir $arg || die "$!";
43 unlink $arg || die "$!";
47 move($arg,$arg2) || die "$!";
50 ! -e $arg || die "Path $arg exists";
H A Dlibauthretry.c72 static long parse_auth_name(const char *arg) in parse_auth_name() argument
74 if(!arg) in parse_auth_name()
76 if(curl_strequal(arg, "basic")) in parse_auth_name()
78 if(curl_strequal(arg, "digest")) in parse_auth_name()
80 if(curl_strequal(arg, "ntlm")) in parse_auth_name()
H A Dlib1513.c35 static int progressKiller(void *arg, in progressKiller() argument
41 (void)arg; in progressKiller()
H A Dlib1555.c34 static int progressCallback(void *arg, in progressCallback() argument
43 (void)arg; in progressCallback()
/curl/lib/
H A Dsetopt.c381 if((arg >= 0) && (arg <= (INT_MAX/1000))) in setopt_long()
391 if((arg >= 0) && (arg <= INT_MAX)) in setopt_long()
674 if((arg < 0) || (arg > 65535)) in setopt_long()
854 if((arg < 0) || (arg > 65535)) in setopt_long()
863 if((arg >= 0) && (arg <= (INT_MAX/1000))) in setopt_long()
879 if((arg >= 0) && (arg <= (INT_MAX/1000))) in setopt_long()
912 if((arg < 0) || (arg > 65535)) in setopt_long()
920 if((arg < 0) || (arg > 65535)) in setopt_long()
1157 if((arg < 0) || (arg > 0777)) in setopt_long()
1167 if((arg < 0) || (arg > 0777)) in setopt_long()
[all …]
H A Dcurl_threads.c48 void *arg; member
51 static void *curl_thread_create_thunk(void *arg) in curl_thread_create_thunk() argument
53 struct Curl_actual_call *ac = arg; in curl_thread_create_thunk()
55 void *real_arg = ac->arg; in curl_thread_create_thunk()
64 curl_thread_t Curl_thread_create(unsigned int (*func) (void *), void *arg) in Curl_thread_create() argument
72 ac->arg = arg; in Curl_thread_create()
112 void *arg) in Curl_thread_create() argument
122 thread_handle = CreateThread(NULL, 0, func, arg, 0, NULL); in Curl_thread_create()
124 thread_handle = _beginthreadex(NULL, 0, func, arg, 0, NULL); in Curl_thread_create()
/curl/scripts/
H A Dcompletion.pl82 my ($short, $long, $arg, $desc) = ($line =~ /^$regex/) or next;
86 $arg =~ s/\:/\\\:/g if defined $arg;
107 if (defined $arg) {
108 $option .= ":'$arg'";
109 if ($arg =~ /<file ?(name)?>|<path>/) {
111 } elsif ($arg =~ /<dir>/) {
113 } elsif ($arg =~ /<url>/i) {
115 } elsif ($long =~ /ftp/ && $arg =~ /<method>/) {
117 } elsif ($arg =~ /<method>/) {
H A Ddmaketgz43 --build-arg SOURCE_DATE_EPOCH="$timestamp" \
44 --build-arg UID="$(id -u)" \
45 --build-arg GID="$(id -g)" \
/curl/tests/server/
H A Dresolve.c65 int arg = 1; in main() local
69 while(argc > arg) { in main()
70 if(!strcmp("--version", argv[arg])) { in main()
80 else if(!strcmp("--ipv6", argv[arg])) { in main()
83 arg++; in main()
85 else if(!strcmp("--ipv4", argv[arg])) { in main()
89 arg++; in main()
92 host = argv[arg++]; in main()
H A Dsocksd.c983 arg++; in main()
988 arg++; in main()
993 arg++; in main()
998 arg++; in main()
1003 arg++; in main()
1008 arg++; in main()
1013 arg++; in main()
1022 arg++; in main()
1029 arg++; in main()
1032 arg++; in main()
[all …]
H A Dmqttd.c935 int arg = 1; in main() local
949 arg++; in main()
954 arg++; in main()
959 arg++; in main()
964 arg++; in main()
969 arg++; in main()
978 arg++; in main()
986 arg++; in main()
989 arg++; in main()
993 if((endptr != argv[arg] + strlen(argv[arg])) || in main()
[all …]
H A Dsockfilt.c1382 arg++; in main()
1385 arg++; in main()
1390 arg++; in main()
1395 arg++; in main()
1404 arg++; in main()
1412 arg++; in main()
1416 arg++; in main()
1419 arg++; in main()
1430 arg++; in main()
1434 if((endptr != argv[arg] + strlen(argv[arg])) || in main()
[all …]
H A Dtftpd.c556 int arg = 1; in main() local
579 arg++; in main()
584 arg++; in main()
589 arg++; in main()
594 arg++; in main()
603 arg++; in main()
610 arg++; in main()
613 arg++; in main()
618 arg++; in main()
622 arg++; in main()
[all …]
H A Dsws.c2035 arg++; in main()
2040 arg++; in main()
2045 arg++; in main()
2050 arg++; in main()
2055 arg++; in main()
2060 arg++; in main()
2069 arg++; in main()
2077 arg++; in main()
2080 arg++; in main()
2098 arg++; in main()
[all …]
H A Drtspd.c1065 int arg = 1; in main() local
1083 arg++; in main()
1088 arg++; in main()
1093 arg++; in main()
1098 arg++; in main()
1107 arg++; in main()
1114 arg++; in main()
1117 arg++; in main()
1122 arg++; in main()
1126 arg++; in main()
[all …]
/curl/include/curl/
H A Dmprintf.h42 #define CURL_TEMP_PRINTF(fmt, arg) \ argument
43 __attribute__((format(__MINGW_PRINTF_FORMAT, fmt, arg)))
45 #define CURL_TEMP_PRINTF(fmt, arg)
48 #define CURL_TEMP_PRINTF(fmt, arg) \
49 __attribute__((format(printf, fmt, arg)))
52 #define CURL_TEMP_PRINTF(fmt, arg)
/curl/tests/unit/
H A Dunit1304.c56 "test.example.com", &s_login, &s_password, arg);
68 "example.com", &s_login, &s_password, arg);
79 "test.example.com", &s_login, &s_password, arg);
91 "example.com", &s_login, &s_password, arg);
103 "example.com", &s_login, &s_password, arg);
115 "example.com", &s_login, &s_password, arg);
134 "example.com", &s_login, &s_password, arg);
153 "curl.example.com", &s_login, &s_password, arg);
172 "curl.example.com", &s_login, &s_password, arg);
H A Dunit1308.c38 static size_t print_httppost_callback(void *arg, const char *buf, size_t len) in print_httppost_callback() argument
41 (*(size_t *) arg) += len; in print_httppost_callback()
93 CURLFORM_FILE, arg,
H A Dcurlcheck.h97 CURLcode test(char *arg) \
99 (void)arg; \
/curl/packages/OS400/
H A Dccsidcurl.c570 va_list arg; in curl_easy_getinfo_ccsid() local
579 va_start(arg, info); in curl_easy_getinfo_ccsid()
662 va_end(arg); in curl_easy_getinfo_ccsid()
746 va_list arg; in curl_formadd_ccsid() local
796 va_start(arg, last_post); in curl_formadd_ccsid()
982 va_end(arg); in curl_formadd_ccsid()
1017 void * arg; member
1060 lcfc.arg = arg; in curl_formget_ccsid()
1070 va_list arg; in curl_easy_setopt_ccsid() local
1077 va_start(arg, tag); in curl_easy_setopt_ccsid()
[all …]
/curl/tests/http/testenv/mod_curltest/
H A Dmod_curltest.c208 s = strchr(arg, '='); in curltest_echo_handler()
354 s = strchr(arg, '='); in curltest_tweak_handler()
358 if(!strcmp("status", arg)) { in curltest_tweak_handler()
382 else if(!strcmp("id", arg)) { in curltest_tweak_handler()
433 arg, r->args); in curltest_tweak_handler()
556 s = strchr(arg, '='); in curltest_put_handler()
560 if(!strcmp("id", arg)) { in curltest_put_handler()
584 arg, r->args); in curltest_put_handler()
759 s = strchr(arg, '='); in curltest_sslinfo_handler()
763 if(!strcmp("id", arg)) { in curltest_sslinfo_handler()
[all …]
/curl/src/
H A Dtool_help.h34 const char *arg; member
47 const char *arg, const char *endarg);
H A Dmkhelp.pl150 void showhelp(const char *trigger, const char *arg, const char *endarg)
231 void showhelp(const char *trigger, const char *arg, const char *endarg)
/curl/docs/libcurl/
H A Dcurl_mime_data_cb.md28 size_t readfunc(char *buffer, size_t size, size_t nitems, void *arg);
30 int seekfunc(void *arg, curl_off_t offset, int origin);
32 void freefunc(void *arg);
37 curl_free_callback freefunc, void *arg);
60 *arg* is a user defined argument to callback functions.
96 duplicated: the *arg* pointer argument is also duplicated, resulting in
119 size_t read_callback(char *buffer, size_t size, size_t nitems, void *arg)
121 struct ctl *p = (struct ctl *) arg;
133 int seek_callback(void *arg, curl_off_t offset, int origin)
135 struct ctl *p = (struct ctl *) arg;
/curl/docs/examples/
H A Dmulti-event.c44 static void curl_perform(int fd, short event, void *arg);
124 static void curl_perform(int fd, short event, void *arg) in curl_perform() argument
135 context = (curl_context_t *) arg; in curl_perform()
143 static void on_timeout(evutil_socket_t fd, short events, void *arg) in on_timeout() argument

Completed in 48 milliseconds

123