/curl/lib/vauth/ |
H A D | ntlm.c | 73 fprintf(handle, "NTLMFLAG_UNKNOWN_3 "); in ntlm_print_flags() 85 fprintf(handle, "NTLMFLAG_UNKNOWN_10 "); in ntlm_print_flags() 113 fprintf(handle, "NTLMFLAG_UNKNOWN_24 "); in ntlm_print_flags() 115 fprintf(handle, "NTLMFLAG_UNKNOWN_25 "); in ntlm_print_flags() 117 fprintf(handle, "NTLMFLAG_UNKNOWN_26 "); in ntlm_print_flags() 119 fprintf(handle, "NTLMFLAG_UNKNOWN_27 "); in ntlm_print_flags() 136 fprintf(stderr, "0x"); in ntlm_print_hex() 297 fprintf(stderr, "\n****\n"); in Curl_auth_decode_ntlm_type2_message() 431 fprintf(stderr, "\n****\n"); in Curl_auth_create_ntlm_type1_message() 693 fprintf(stderr, "\n ntresp="); in Curl_auth_create_ntlm_type3_message() [all …]
|
/curl/tests/libtest/ |
H A D | lib2301.c | 35 fprintf(stderr, 50 fprintf(stderr, "ws: got PONG back\n"); 53 fprintf(stderr, "ws: got the same payload back\n"); 58 fprintf(stderr, "ws: did NOT get the same payload back\n"); 74 fprintf(stderr, 81 fprintf(stderr, "ws: websocket() starts\n"); 107 fprintf(stderr, "%02x ", (unsigned char)buffer[i]); in writecb() 108 fprintf(stderr, "\n"); in writecb() 112 fprintf(stderr, "send back a simple PONG\n"); in writecb() 118 fprintf(stderr, "returns error from callback\n"); in writecb() [all …]
|
H A D | lib518.c | 90 fprintf(stderr, "%s\n", msgbuff); in fopen_works() 136 fprintf(stderr, "%s\n", msgbuff); in test_rlimit() 184 fprintf(stderr, "%s\n", msgbuff); in test_rlimit() 192 fprintf(stderr, "%s\n", msgbuff); in test_rlimit() 233 fprintf(stderr, "%s\n", msgbuff); in test_rlimit() 262 fprintf(stderr, "%s\n", msgbuff); in test_rlimit() 284 fprintf(stderr, "%s\n", msgbuff); in test_rlimit() 297 fprintf(stderr, "%s\n", msgbuff); in test_rlimit() 320 fprintf(stderr, "%s\n", msgbuff); in test_rlimit() 389 fprintf(stderr, "%s\n", msgbuff); in test_rlimit() [all …]
|
H A D | lib537.c | 88 fprintf(stderr, "%s\n", msgbuff); in fopen_works() 134 fprintf(stderr, "%s\n", msgbuff); 185 fprintf(stderr, "%s\n", msgbuff); 193 fprintf(stderr, "%s\n", msgbuff); 242 fprintf(stderr, "%s\n", msgbuff); 279 fprintf(stderr, "%s\n", msgbuff); 298 fprintf(stderr, "%s\n", msgbuff); 321 fprintf(stderr, "%s\n", msgbuff); 342 fprintf(stderr, "%s\n", strbuff); 400 fprintf(stderr, "%s\n", msgbuff); [all …]
|
H A D | lib2304.c | 35 fprintf(stderr, in send_ping() 50 fprintf(stderr, "ws: got PONG back\n"); in recv_pong() 53 fprintf(stderr, "ws: got the same payload back\n"); in recv_pong() 58 fprintf(stderr, "ws: did NOT get the same payload back\n"); in recv_pong() 61 fprintf(stderr, "recv_pong: got %d bytes rflags %x\n", (int)rlen, in recv_pong() 79 fprintf(stderr, "recv_any: got %u bytes rflags %x\n", (int)rlen, in recv_any() 90 fprintf(stderr, in websocket_close() 97 fprintf(stderr, "ws: websocket() starts\n"); in websocket() 100 fprintf(stderr, "Send ping\n"); in websocket() 103 fprintf(stderr, "Receive pong\n"); in websocket() [all …]
|
H A D | lib1536.c | 45 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test() 50 fprintf(stderr, "%s:%d scheme init failed; expected NULL\n", in test() 60 fprintf(stderr, "%s:%d curl_easy_perform() failed with code %d (%s)\n", in test() 70 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test() 75 fprintf(stderr, "%s:%d scheme of http resource is incorrect; " in test() 88 fprintf(stderr, "%s:%d curl_easy_duphandle() failed\n", in test() 96 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test() 101 fprintf(stderr, "%s:%d scheme init failed; expected NULL\n", in test() 115 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test() 120 fprintf(stderr, "%s:%d scheme init failed; expected NULL\n", in test()
|
H A D | lib541.c | 45 fprintf(stderr, "Usage: <url> <file-to-upload>\n"); in test() 51 fprintf(stderr, "fopen failed with error: %d %s\n", in test() 53 fprintf(stderr, "Error opening file: %s\n", libtest_arg2); in test() 61 fprintf(stderr, "fstat() failed with error: %d %s\n", in test() 63 fprintf(stderr, "ERROR: cannot open file %s\n", libtest_arg2); in test() 69 fprintf(stderr, "ERROR: file %s has zero size!\n", libtest_arg2); in test() 75 fprintf(stderr, "curl_global_init() failed\n"); in test() 83 fprintf(stderr, "curl_easy_init() failed\n"); in test()
|
H A D | lib1534.c | 45 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test() 50 fprintf(stderr, "%s:%d filetime init failed; expected -1 but is %ld\n", in test() 61 fprintf(stderr, "%s:%d curl_easy_perform() failed with code %d (%s)\n", in test() 71 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test() 76 fprintf(stderr, "%s:%d filetime of http resource is incorrect; " in test() 88 fprintf(stderr, "%s:%d curl_easy_duphandle() failed\n", in test() 96 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test() 101 fprintf(stderr, "%s:%d filetime init failed; expected -1 but is %ld\n", in test() 115 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test() 120 fprintf(stderr, "%s:%d filetime init failed; expected -1 but is %ld\n", in test()
|
H A D | lib1535.c | 47 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test() 52 fprintf(stderr, "%s:%d protocol init failed; expected 0 but is %ld\n", in test() 62 fprintf(stderr, "%s:%d curl_easy_perform() failed with code %d (%s)\n", in test() 74 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test() 79 fprintf(stderr, "%s:%d protocol of http resource is incorrect; " in test() 91 fprintf(stderr, "%s:%d curl_easy_duphandle() failed\n", in test() 101 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test() 106 fprintf(stderr, "%s:%d protocol init failed; expected 0 but is %ld\n", in test() 122 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test() 127 fprintf(stderr, "%s:%d protocol init failed; expected 0 but is %ld\n", in test()
|
H A D | lib505.c | 53 fprintf(stderr, "Usage: <url> <file-to-upload>\n"); in test() 59 fprintf(stderr, "fopen failed with error: %d %s\n", in test() 61 fprintf(stderr, "Error opening file: %s\n", libtest_arg2); in test() 69 fprintf(stderr, "fstat() failed with error: %d %s\n", in test() 71 fprintf(stderr, "ERROR: cannot open file %s\n", libtest_arg2); in test() 77 fprintf(stderr, "ERROR: file %s has zero size!\n", libtest_arg2); in test() 83 fprintf(stderr, "curl_global_init() failed\n"); in test() 91 fprintf(stderr, "curl_easy_init() failed\n"); in test() 101 fprintf(stderr, "curl_slist_append() failed\n"); in test() 109 fprintf(stderr, "curl_slist_append() failed\n"); in test()
|
H A D | lib652.c | 46 fprintf(stderr, "curl_global_init() failed\n"); in test() 52 fprintf(stderr, "curl_easy_init() failed\n"); in test() 60 fprintf(stderr, "curl_mime_init() failed\n"); in test() 66 fprintf(stderr, "curl_mime_addpart() failed\n"); in test() 72 fprintf(stderr, "curl_mime_filename() failed\n"); in test() 77 fprintf(stderr, "curl_mime_type() failed\n"); in test() 82 fprintf(stderr, "curl_mime_data() failed\n"); in test() 87 fprintf(stderr, "curl_mime_encoder() failed\n"); in test() 94 fprintf(stderr, "curl_slist_append() failed\n"); in test()
|
H A D | lib666.c | 48 fprintf(stderr, "curl_global_init() failed\n"); in test() 54 fprintf(stderr, "curl_easy_init() failed\n"); in test() 62 fprintf(stderr, "curl_mime_init() failed\n"); in test() 68 fprintf(stderr, "curl_mime_addpart() failed\n"); in test() 74 fprintf(stderr, "curl_mime_name() failed\n"); in test() 79 fprintf(stderr, "curl_mime_filename() failed\n"); in test() 84 fprintf(stderr, "curl_mime_data() failed\n"); in test() 89 fprintf(stderr, "curl_mime_encoder() failed\n"); in test()
|
H A D | lib655.c | 39 fprintf(stderr, "Invalid test data received"); in resolver_alloc_cb_fail() 54 fprintf(stderr, "Invalid test data received"); in resolver_alloc_cb_pass() 67 fprintf(stderr, "curl_global_init() failed\n"); in test() 72 fprintf(stderr, "curl_easy_init() failed\n"); in test() 86 fprintf(stderr, "curl_easy_perform should have returned " in test() 98 fprintf(stderr, "curl_easy_perform failed.\n"); in test() 103 fprintf(stderr, "Unexpected number of callbacks: %d\n", cb_count); in test()
|
H A D | lib1592.c | 82 fprintf(stderr, in test() 97 fprintf(stderr, "curl_multi_perform()...\n"); in test() 99 fprintf(stderr, "curl_multi_perform() succeeded\n"); in test() 102 fprintf(stderr, "curl_multi_remove_handle()...\n"); in test() 106 fprintf(stderr, "curl_multi_remove_handle() failed, with code %d\n", mres); in test() 110 fprintf(stderr, "curl_multi_remove_handle() succeeded\n"); in test()
|
H A D | lib574.c | 34 fprintf(stderr, "lib574: match string '%s' against pattern '%s'\n", in new_fnmatch() 45 fprintf(stderr, "curl_global_init() failed\n"); in test() 51 fprintf(stderr, "curl_easy_init() failed\n"); in test() 63 fprintf(stderr, "curl_easy_perform() failed %d\n", res); in test() 68 fprintf(stderr, "curl_easy_perform() failed %d\n", res); in test()
|
H A D | lib583.c | 66 fprintf(stderr, "curl_multi_perform()...\n"); in test() 70 fprintf(stderr, "curl_multi_perform() succeeded\n"); in test() 72 fprintf(stderr, "curl_multi_remove_handle()...\n"); in test() 75 fprintf(stderr, "curl_multi_remove_handle() failed, " in test() 80 fprintf(stderr, "curl_multi_remove_handle() succeeded\n"); in test()
|
H A D | lib500.c | 69 fprintf(stderr, "curl_global_init() failed\n"); in test() 75 fprintf(stderr, "curl_easy_init() failed\n"); in test() 107 fprintf(moo, "IP %s\n", ipstr); in test() 121 fprintf(moo, "namelookup vs connect: %" CURL_FORMAT_CURL_OFF_T in test() 128 fprintf(moo, "connect vs pretransfer: %" CURL_FORMAT_CURL_OFF_T in test() 135 fprintf(moo, "pretransfer vs posttransfer: %" CURL_FORMAT_CURL_OFF_T in test() 143 fprintf(moo, "pretransfer vs starttransfer: %" CURL_FORMAT_CURL_OFF_T in test() 151 fprintf(moo, "starttransfer vs total: %" CURL_FORMAT_CURL_OFF_T in test() 158 fprintf(moo, "posttransfer vs total: %" CURL_FORMAT_CURL_OFF_T in test()
|
/curl/tests/http/clients/ |
H A D | ws-data.c | 60 fprintf(stderr, "%s, %lu bytes (0x%lx)\n", in dump() 65 fprintf(stderr, "%4.4lx: ", (unsigned long)i); in dump() 71 fprintf(stderr, "%02x ", ptr[i + c]); in dump() 83 fprintf(stderr, "%c", in dump() 101 fprintf(stderr, "ws: send_binary(len=%ld) -> %d, %ld\n", in send_binary() 118 fprintf(stderr, "EAGAIN, sleep, try again\n"); in recv_binary() 160 fprintf(stderr, "recv_data: frame complete\n"); in recv_binary() 173 fprintf(stderr, in websocket_close() 222 fprintf(stderr, "usage: ws-data url minlen maxlen\n"); in main() 228 fprintf(stderr, "minlen must be >= 0, got %ld\n", l1); in main() [all …]
|
H A D | ws-pingpong.c | 53 fprintf(stderr, in ping() 66 fprintf(stderr, "ws: curl_ws_recv returned %u, received %ld\n", in recv_pong() 72 fprintf(stderr, "recv_pong: wrong frame, got %d bytes rflags %x\n", in recv_pong() 77 fprintf(stderr, "ws: got PONG back\n"); in recv_pong() 80 fprintf(stderr, "ws: got the same payload back\n"); in recv_pong() 83 fprintf(stderr, "ws: did NOT get the same payload back\n"); in recv_pong() 93 fprintf(stderr, in websocket_close() 106 fprintf(stderr, "Receive pong\n"); in pingpong() 133 fprintf(stderr, "usage: ws-pingpong url payload\n"); in main() 150 fprintf(stderr, "curl_easy_perform() returned %u\n", (int)res); in main() [all …]
|
H A D | h2-pausing.c | 55 fprintf(log, "%s%s", idsbuf, s_infotype[type]); in log_line_start() 129 fprintf(output, "[%ld bytes data]\n", (long)size); in debug_cb() 152 fprintf(stderr, "%s\n", msg); in usage() 153 fprintf(stderr, in usage() 246 fprintf(stderr, "ERROR: need URL as argument\n"); in main() 256 fprintf(stderr, "out of memory\n"); in main() 260 fprintf(stderr, "not a URL: '%s'\n", url); in main() 264 fprintf(stderr, "could not get host of '%s'\n", url); in main() 268 fprintf(stderr, "could not get port of '%s'\n", url); in main() 374 fprintf(stderr, "INFO: all transfers paused\n"); in main() [all …]
|
H A D | tls-session-reuse.c | 46 fprintf(log, "%s%s", idsbuf, s_infotype[type]); in log_line_start() 150 fprintf(stderr, "curl_easy_init failed\n"); in add_transfer() 171 fprintf(stderr, "curl_multi_add_handle: %s\n", in add_transfer() 194 fprintf(stderr, "%s proto URL\n", argv[0]); in main() 206 fprintf(stderr, "out of memory\n"); in main() 210 fprintf(stderr, "not a URL: '%s'\n", url); in main() 229 fprintf(stderr, "curl_multi_init failed\n"); in main() 235 fprintf(stderr, "curl_share_init failed\n"); in main() 248 fprintf(stderr, "curl_multi_perform: %s\n", in main() 256 fprintf(stderr, "curl_multi_poll: %s\n", in main() [all …]
|
H A D | h2-upgrade-extreme.c | 45 fprintf(log, "%s%s", idsbuf, s_infotype[type]); in log_line_start() 119 fprintf(output, "[%ld bytes data]\n", (long)size); in debug_cb() 152 fprintf(stderr, "%s URL\n", argv[0]); in main() 159 fprintf(stderr, "curl_multi_init failed\n"); in main() 168 fprintf(stderr, "curl_easy_init failed\n"); in main() 190 fprintf(stderr, "curl_multi_add_handle: %s\n", in main() 199 fprintf(stderr, "curl_multi_perform: %s\n", in main() 207 fprintf(stderr, "curl_multi_poll: %s\n", in main() 227 fprintf(stderr, "transfer #%" CURL_FORMAT_CURL_OFF_T in main() 243 fprintf(stderr, "running_handles=%d, yet_to_start=%d\n", in main() [all …]
|
H A D | h2-serverpush.c | 52 fprintf(stderr, "%s, %lu bytes (0x%lx)\n", in dump() 57 fprintf(stderr, "%4.4lx: ", (unsigned long)i); in dump() 63 fprintf(stderr, "%02x ", ptr[i + c]); in dump() 75 fprintf(stderr, "%c", in dump() 98 fprintf(stderr, "== Info: %s", data); in my_trace() 175 fprintf(stderr, "Failed to create output file for push\n"); in server_push_callback() 183 fprintf(stderr, "**** push callback approves stream %u, got %lu headers!\n", in server_push_callback() 188 fprintf(stderr, "**** header %lu: %s\n", (unsigned long)i, headp); in server_push_callback() 193 fprintf(stderr, "**** The PATH is %s\n", headp /* skip :path + colon */); in server_push_callback() 216 fprintf(stderr, "need URL as argument\n"); in main() [all …]
|
/curl/tests/unit/ |
H A D | curlcheck.h | 30 fprintf(stderr, "%s:%d FAILED Assertion '%s' met: %s\n", \ 39 fprintf(stderr, "%s:%d Assertion '%s' FAILED: %s\n", \ 48 fprintf(stderr, "%s:%d Memory buffer FAILED match size %d. " \ 51 fprintf(stderr, "%s:%d the same as '%s'\n", __FILE__, __LINE__, \ 60 fprintf(stderr, "%s:%d test FAILED: '%s'\n", \ 70 fprintf(stderr, "%s:%d ABORT assertion '%s' met: %s\n", \ 80 fprintf(stderr, "%s:%d ABORT assertion '%s' failed: %s\n", \ 89 fprintf(stderr, "%s:%d test ABORTED: '%s'\n", \
|
/curl/docs/examples/ |
H A D | synctime.c | 147 fprintf(stderr, "%s", (char *)(ptr)); in SyncTime_CURL_WriteHeader() 151 fprintf(stderr, "HTTP Server. %s", (char *)(ptr)); in SyncTime_CURL_WriteHeader() 184 fprintf(stderr, "ERROR: HTTP Server data is cached." in SyncTime_CURL_WriteHeader() 232 fprintf(stderr, "Usage : SYNCTIME [Option]\n"); in showUsage() 233 fprintf(stderr, "Options :\n"); in showUsage() 239 fprintf(stderr, " --proxy-user=USER[:PASS] Set proxy username and" in showUsage() 241 fprintf(stderr, " --proxy=HOST[:PORT] Use HTTP proxy on given" in showUsage() 243 fprintf(stderr, " --help Print this help.\n"); in showUsage() 244 fprintf(stderr, "\n"); in showUsage() 339 fprintf(stderr, "Fetch: %s\n\n", conf->timeserver); in main() [all …]
|