Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 46) sorted by relevance

12

/curl/lib/
H A Dinet_ntop.c63 char tmp[sizeof("255.255.255.255")]; in inet_ntop4() local
68 tmp[0] = '\0'; in inet_ntop4()
69 (void)msnprintf(tmp, sizeof(tmp), "%d.%d.%d.%d", in inet_ntop4()
75 len = strlen(tmp); in inet_ntop4()
80 strcpy(dst, tmp); in inet_ntop4()
96 char tmp[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")]; in inet_ntop6() local
137 tp = tmp; in inet_ntop6()
155 if(!inet_ntop4(src + 12, tp, sizeof(tmp) - (tp - tmp))) { in inet_ntop6()
173 if((size_t)(tp - tmp) > size) { in inet_ntop6()
177 strcpy(dst, tmp); in inet_ntop6()
H A Dgetenv.c42 char *tmp; in GetEnv()
48 tmp = realloc(buf, rc); in GetEnv()
49 if(!tmp) { in GetEnv()
54 buf = tmp; in GetEnv()
H A Dinet_pton.c104 unsigned char tmp[INADDRSZ], *tp; in inet_pton4() local
108 tp = tmp; in inet_pton4()
140 memcpy(dst, tmp, INADDRSZ); in inet_pton4()
162 unsigned char tmp[IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local
167 memset((tp = tmp), 0, IN6ADDRSZ); in inet_pton6()
239 memcpy(dst, tmp, IN6ADDRSZ); in inet_pton6()
H A Dslist.c114 struct curl_slist *tmp; in Curl_slist_duplicate() local
117 tmp = curl_slist_append(outlist, inlist->data); in Curl_slist_duplicate()
119 if(!tmp) { in Curl_slist_duplicate()
124 outlist = tmp; in Curl_slist_duplicate()
H A Dhttp_digest.c78 char *tmp = NULL; in Curl_output_digest() local
148 tmp = strchr((char *)uripath, '?'); in Curl_output_digest()
149 if(tmp) { in Curl_output_digest()
150 size_t urilen = tmp - (char *)uripath; in Curl_output_digest()
155 if(!tmp) in Curl_output_digest()
H A Dhttp1.c207 char tmp[H1_MAX_URL_LEN]; in start_req() local
214 if(target_len >= sizeof(tmp)) in start_req()
216 memcpy(tmp, target, target_len); in start_req()
217 tmp[target_len] = '\0'; in start_req()
219 if(Curl_is_absolute_url(tmp, NULL, 0, FALSE)) { in start_req()
232 uc = curl_url_set(url, CURLUPART_URL, tmp, url_options); in start_req()
H A Dhttp_aws_sigv4.c75 if(tmp) in find_date_hdr()
76 return tmp; in find_date_hdr()
277 char *tmp = l->data; in make_headers() local
280 next->data = tmp; in make_headers()
287 char *tmp; in make_headers() local
294 tmp = strchr(l->data, ':'); in make_headers()
295 if(tmp) in make_headers()
296 *tmp = 0; in make_headers()
452 char tmp[3]="%"; in canon_string() local
453 tmp[1] = Curl_raw_toupper(q[1]); in canon_string()
[all …]
H A Dcurl_trc.c265 char *token, *tok_buf, *tmp; in Curl_trc_opt() local
269 tmp = strdup(config); in Curl_trc_opt()
270 if(!tmp) in Curl_trc_opt()
273 token = strtok_r(tmp, ", ", &tok_buf); in Curl_trc_opt()
308 free(tmp); in Curl_trc_opt()
H A Dhttp_chunks.c560 char tmp[CURL_CHUNKED_MINLEN]; in add_chunk() local
566 if(blen < sizeof(tmp)) { in add_chunk()
568 buf = tmp; in add_chunk()
569 blen = sizeof(tmp); in add_chunk()
/curl/tests/libtest/
H A Dlib1964.c33 struct curl_slist *list = NULL, *tmp; in test()
50 tmp = curl_slist_append(list, "X-Xxx-Date: 19700101T000000Z"); in test()
51 if(!list || !tmp) { in test()
55 list = tmp; in test()
H A Dlib1527.c53 struct curl_slist *hhl = NULL, *tmp = NULL; in test()
71 tmp = curl_slist_append(hhl, "Expect: 100-continue"); in test()
72 if(!tmp) { in test()
75 hhl = tmp; in test()
H A Dlib1526.c52 struct curl_slist *hhl = NULL, *phl = NULL, *tmp = NULL; in test()
71 tmp = curl_slist_append(phl, "Expect:"); in test()
72 if(!tmp) { in test()
75 phl = tmp; in test()
/curl/lib/vauth/
H A Ddigest.c222 char *tmp; in auth_digest_get_qop_values() local
232 if(!tmp) in auth_digest_get_qop_values()
247 free(tmp); in auth_digest_get_qop_values()
558 if(!tmp) in Curl_auth_decode_digest_http_message()
575 free(tmp); in Curl_auth_decode_digest_http_message()
763 if(!tmp) in auth_create_digest_http_message()
766 result = hash(hashbuf, (unsigned char *) tmp, strlen(tmp)); in auth_create_digest_http_message()
767 free(tmp); in auth_create_digest_http_message()
918 if(!tmp) in auth_create_digest_http_message()
928 if(!tmp) in auth_create_digest_http_message()
[all …]
/curl/docs/cmdline-opts/
H A DMakefile.am51 …ANAGEN) -d $(srcdir) -I $(INCDIR) mainpage $(DPAGES) > manpage.tmp.$$$$ && mv manpage.tmp.$$$$ $(M…
54 …ANAGEN) -d $(srcdir) -I $(INCDIR) ascii $(DPAGES) > asciipage.tmp.$$$$ && mv asciipage.tmp.$$$$ $(…
H A Doutput-dir.md14 - --output-dir "tmp" -O $URL
/curl/tests/data/
H A Dtest301139 http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -O --output-dir %PWD/%LOGDIR/tmp --create-dirs
53 <file name="%LOGDIR/tmp/%TESTNUMBER">
H A Dtest14336 CWD tmp
H A Dtest109138 CWD tmp
/curl/m4/
H A D.gitignore6 libtool.m4.tmp
/curl/tests/
H A Dprocesshelp.pm272 foreach my $tmp (@requested) {
273 chomp $tmp;
274 if($tmp =~ /^(\d+)$/) {
/curl/.github/workflows/
H A Dmacos.yml146 …omake pkg-config libpsl ${{ matrix.build.install }} | xargs -Ix -n1 echo brew '"x"' > /tmp/Brewfile
152 …do for i in 1 2 3; do brew update && brew bundle install --no-lock --file /tmp/Brewfile && break 2…
162 …'/Cellar/openssl@3/3.3.0$',libdir=$(brew --prefix)/Cellar/openssl@3/3.3.0/lib,g < $i.orig > /tmp/$i
163 sudo cp /tmp/$i $i
235 …onf automake pkg-config ${{ matrix.build.install }} | xargs -Ix -n1 echo brew '"x"' > /tmp/Brewfile
238 …do for i in 1 2 3; do brew update && brew bundle install --no-lock --file /tmp/Brewfile && break 2…
/curl/docs/examples/
H A Dghiper.c335 gchar *buf, *tmp, *all = NULL; in fifo_cb() local
356 tmp = all; in fifo_cb()
357 all = g_strdup_printf("%s%s", tmp, buf); in fifo_cb()
358 g_free(tmp); in fifo_cb()
/curl/docs/libcurl/opts/
H A DCURLOPT_NETRC_FILE.md51 curl_easy_setopt(curl, CURLOPT_NETRC_FILE, "/tmp/magic-netrc");
H A DCURLOPT_ABSTRACT_UNIX_SOCKET.md54 curl_easy_setopt(curl, CURLOPT_ABSTRACT_UNIX_SOCKET, "/tmp/foo.sock");
H A DCURLOPT_COOKIESESSION.md58 curl_easy_setopt(curl, CURLOPT_COOKIEFILE, "/tmp/cookies.txt");

Completed in 60 milliseconds

12