Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 49) 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()
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 Dcurl_trc.c361 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 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 Dfirst.c183 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 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.am54 …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 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 Dtest303139 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 Dtest14339 CWD tmp
H A Dtest109141 CWD tmp
/curl/m4/
H A D.gitignore6 libtool.m4.tmp
/curl/tests/
H A Dprocesshelp.pm290 foreach my $tmp (@requested) {
291 chomp $tmp;
292 if($tmp =~ /^(\d+)$/) {
/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.md57 curl_easy_setopt(curl, CURLOPT_NETRC_FILE, "/tmp/magic-netrc");
H A DCURLOPT_ABSTRACT_UNIX_SOCKET.md57 curl_easy_setopt(curl, CURLOPT_ABSTRACT_UNIX_SOCKET, "/tmp/foo.sock");

Completed in 27 milliseconds

12