/curl/lib/ |
H A D | inet_ntop.c | 63 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 D | getenv.c | 42 char *tmp; in GetEnv() 48 tmp = realloc(buf, rc); in GetEnv() 49 if(!tmp) { in GetEnv() 54 buf = tmp; in GetEnv()
|
H A D | inet_pton.c | 104 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 D | slist.c | 114 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 D | http_digest.c | 78 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 D | http1.c | 207 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 D | http_aws_sigv4.c | 75 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 D | curl_trc.c | 265 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 D | http_chunks.c | 560 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 D | lib1964.c | 33 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 D | lib1527.c | 53 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 D | lib1526.c | 52 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 D | digest.c | 222 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 D | Makefile.am | 51 …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 D | output-dir.md | 14 - --output-dir "tmp" -O $URL
|
/curl/tests/data/ |
H A D | test3011 | 39 http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -O --output-dir %PWD/%LOGDIR/tmp --create-dirs 53 <file name="%LOGDIR/tmp/%TESTNUMBER">
|
H A D | test143 | 36 CWD tmp
|
H A D | test1091 | 38 CWD tmp
|
/curl/m4/ |
H A D | .gitignore | 6 libtool.m4.tmp
|
/curl/tests/ |
H A D | processhelp.pm | 272 foreach my $tmp (@requested) { 273 chomp $tmp; 274 if($tmp =~ /^(\d+)$/) {
|
/curl/.github/workflows/ |
H A D | macos.yml | 146 …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 D | ghiper.c | 335 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 D | CURLOPT_NETRC_FILE.md | 51 curl_easy_setopt(curl, CURLOPT_NETRC_FILE, "/tmp/magic-netrc");
|
H A D | CURLOPT_ABSTRACT_UNIX_SOCKET.md | 54 curl_easy_setopt(curl, CURLOPT_ABSTRACT_UNIX_SOCKET, "/tmp/foo.sock");
|
H A D | CURLOPT_COOKIESESSION.md | 58 curl_easy_setopt(curl, CURLOPT_COOKIEFILE, "/tmp/cookies.txt");
|