/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() 295 char *tmp = l->data; in make_headers() local 298 next->data = tmp; in make_headers() 305 char *tmp; in make_headers() local 312 tmp = strchr(l->data, ':'); in make_headers() 313 if(tmp) in make_headers() 314 *tmp = 0; in make_headers() 470 char tmp[3]="%"; in canon_string() local 471 tmp[1] = Curl_raw_toupper(q[1]); in canon_string() [all …]
|
H A D | curl_trc.c | 361 char *token, *tok_buf, *tmp; in trc_opt() local 364 tmp = strdup(config); in trc_opt() 365 if(!tmp) in trc_opt() 368 token = Curl_strtok_r(tmp, ", ", &tok_buf); in trc_opt() 396 free(tmp); in 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 | first.c | 183 size_t tmp; in main() local 184 for(tmp = 0; tmp < (sizeof(s_tests)/sizeof((s_tests)[0])); ++tmp) { in main() 185 if(strcmp(test_name, s_tests[tmp].name) == 0) { in main() 186 test_func = s_tests[tmp].ptr; in main()
|
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 | 54 …ANAGEN) -d $(srcdir) -I $(INCDIR) mainpage $(DPAGES) > manpage.tmp.$$$$ && mv manpage.tmp.$$$$ $(M… 57 …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 | test3031 | 39 http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER --dump-header %PWD/%LOGDIR/tmp/out.txt --create-di… 53 <file name="%LOGDIR/tmp/out.txt" crlf="yes">
|
H A D | test143 | 39 CWD tmp
|
H A D | test1091 | 41 CWD tmp
|
/curl/m4/ |
H A D | .gitignore | 6 libtool.m4.tmp
|
/curl/tests/ |
H A D | processhelp.pm | 290 foreach my $tmp (@requested) { 291 chomp $tmp; 292 if($tmp =~ /^(\d+)$/) {
|
/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 | 57 curl_easy_setopt(curl, CURLOPT_NETRC_FILE, "/tmp/magic-netrc");
|
H A D | CURLOPT_ABSTRACT_UNIX_SOCKET.md | 57 curl_easy_setopt(curl, CURLOPT_ABSTRACT_UNIX_SOCKET, "/tmp/foo.sock");
|