/curl/lib/ |
H A D | nonblock.c | 51 int flags; in curlx_nonblock() local 52 flags = sfcntl(sockfd, F_GETFL, 0); in curlx_nonblock() 53 if(flags < 0) in curlx_nonblock() 58 if(!!(flags & O_NONBLOCK) == !!nonblock) in curlx_nonblock() 61 flags |= O_NONBLOCK; in curlx_nonblock() 63 flags &= ~O_NONBLOCK; in curlx_nonblock() 64 return sfcntl(sockfd, F_SETFL, flags); in curlx_nonblock() 69 int flags = nonblock ? 1 : 0; in curlx_nonblock() 70 return ioctl(sockfd, FIONBIO, &flags); in curlx_nonblock() 75 unsigned long flags = nonblock ? 1UL : 0UL; in curlx_nonblock() [all …]
|
H A D | mprintf.c | 153 unsigned int flags; member 226 unsigned int flags; in parsefmt() local 263 flags = 0; in parsefmt() 428 flags |= FLAGS_ALT; in parsefmt() 568 optr->flags = flags; in parsefmt() 706 unsigned int flags = optr->flags; in formatf() local 838 if(is_neg || (flags & FLAGS_SHOWSIGN) || (flags & FLAGS_SPACE)) in formatf() 841 if(!(flags & FLAGS_LEFT) && !(flags & FLAGS_PAD_NIL)) in formatf() 860 if(!(flags & FLAGS_LEFT) && (flags & FLAGS_PAD_NIL)) in formatf() 901 if(flags & FLAGS_ALT) in formatf() [all …]
|
H A D | formdata.c | 75 long flags, in AddHttpPost() argument 100 post->flags = flags | CURL_HTTPPOST_LARGE; in AddHttpPost() 146 form_info->flags = HTTPPOST_FILENAME; in AddFormInfo() 427 current_form->flags |= HTTPPOST_CALLBACK; in FormAdd() 563 (form->flags & HTTPPOST_BUFFER) && in FormAdd() 572 if(((form->flags & HTTPPOST_FILENAME) || in FormAdd() 573 (form->flags & HTTPPOST_BUFFER)) && in FormAdd() 603 if(!(form->flags & HTTPPOST_PTRNAME) && in FormAdd() 763 if(!(form->flags & HTTPPOST_PTRNAME)) in curl_formfree() 765 if(!(form->flags & in curl_formfree() [all …]
|
H A D | urlapi.c | 477 if(flags & CURLU_DISALLOW_USER) { in parse_hostname_login() 1009 result = junkscan(url, &urllen, flags); in parseurl() 1167 if(flags & CURLU_DEFAULT_SCHEME) in parseurl() 1222 else if(flags & CURLU_NO_AUTHORITY) { in parseurl() 1241 if(flags & CURLU_URLENCODE) { in parseurl() 1268 if(flags & CURLU_URLENCODE) { in parseurl() 1318 else if(flags & CURLU_URLENCODE) in parseurl() 1322 if(!(flags & CURLU_PATH_AS_IS)) { in parseurl() 1355 result = parseurl(url, &tmpurl, flags); in parseurl_and_replace() 1422 (void)flags; in curl_url_get() [all …]
|
H A D | progress.c | 139 if(!(data->progress.flags & PGRS_HIDE) && in Curl_pgrsDone() 260 data->progress.flags &= PGRS_HIDE|PGRS_HEADERS_OUT; in Curl_pgrsStartNow() 364 data->progress.flags |= PGRS_DL_SIZE_KNOWN; in Curl_pgrsSetDownloadSize() 368 data->progress.flags &= ~PGRS_DL_SIZE_KNOWN; in Curl_pgrsSetDownloadSize() 376 data->progress.flags |= PGRS_UL_SIZE_KNOWN; in Curl_pgrsSetUploadSize() 380 data->progress.flags &= ~PGRS_UL_SIZE_KNOWN; in Curl_pgrsSetUploadSize() 517 if(!(p->flags & PGRS_HEADERS_OUT)) { in progress_meter() 528 p->flags |= PGRS_HEADERS_OUT; /* headers are shown */ in progress_meter() 532 pgrs_estimates(&p->ul, (p->flags & PGRS_UL_SIZE_KNOWN), &ul_estm); in progress_meter() 533 pgrs_estimates(&p->dl, (p->flags & PGRS_DL_SIZE_KNOWN), &dl_estm); in progress_meter() [all …]
|
H A D | idn.c | 40 #define IDN2_LOOKUP(name, host, flags) \ argument 41 idn2_lookup_u8((const uint8_t *)name, (uint8_t **)host, flags) 43 #define IDN2_LOOKUP(name, host, flags) \ argument 44 idn2_lookup_ul((const char *)name, (char **)host, flags) 261 int flags = IDN2_NFC_INPUT in idn_decode() local 269 int rc = IDN2_LOOKUP(input, &decoded, flags); in idn_decode()
|
H A D | setup-os400.h | 71 int flags); 133 extern int Curl_os400_sendto(int sd, char *buffer, int buflen, int flags, 135 extern int Curl_os400_recvfrom(int sd, char *buffer, int buflen, int flags,
|
H A D | system_win32.h | 36 CURLcode Curl_win32_init(long flags);
|
H A D | ws.c | 66 int flags; member 96 return WS_FRAMES[i].flags; in ws_frame_op2flags() 101 static unsigned char ws_frame_flags2op(int flags) in ws_frame_flags2op() argument 105 if(WS_FRAMES[i].flags & flags) in ws_frame_flags2op() 354 ws->frame.flags = frame_flags; in update_meta() 540 unsigned int flags, in ws_enc_write_head() argument 573 if(!(flags & CURLWS_CONT)) { in ws_enc_write_head() 1133 unsigned int flags) in curl_ws_send() argument 1169 if(fragsize || flags) { in curl_ws_send() 1186 if(flags & CURLWS_OFFSET) { in curl_ws_send() [all …]
|
/curl/lib/vauth/ |
H A D | ntlm.c | 68 if(flags & NTLMFLAG_NEGOTIATE_OEM) in ntlm_print_flags() 72 if(flags & (1 << 3)) in ntlm_print_flags() 84 if(flags & (1 << 10)) in ntlm_print_flags() 112 if(flags & (1 << 24)) in ntlm_print_flags() 114 if(flags & (1 << 25)) in ntlm_print_flags() 116 if(flags & (1 << 26)) in ntlm_print_flags() 118 if(flags & (1 << 27)) in ntlm_print_flags() 120 if(flags & (1 << 28)) in ntlm_print_flags() 126 if(flags & NTLMFLAG_NEGOTIATE_56) in ntlm_print_flags() 271 ntlm->flags = 0; in Curl_auth_decode_ntlm_type2_message() [all …]
|
/curl/tests/libtest/ |
H A D | lib1156.c | 46 unsigned int flags; /* ORed flags as above. */ member 93 replyselector = (p->flags & F_CONTENTRANGE) ? 1 : 0; in onetest() 94 if(p->flags & F_HTTP416) in onetest() 108 (p->flags & F_RESUME) ? "yes": "no", in onetest() 109 (p->flags & F_FAIL) ? "yes": "no", in onetest() 110 (p->flags & F_HTTP416) ? "yes": "no", in onetest() 111 (p->flags & F_CONTENTRANGE) ? "yes": "no", in onetest() 115 if(hasbody && (p->flags & F_IGNOREBODY)) { in onetest() 118 (p->flags & F_RESUME) ? "yes": "no", in onetest() 119 (p->flags & F_FAIL) ? "yes": "no", in onetest() [all …]
|
H A D | lib2304.c | 48 if(meta->flags & CURLWS_PONG) { in recv_pong() 62 meta->flags); in recv_pong() 80 meta->flags); in recv_any()
|
/curl/tests/ |
H A D | http-server.pl | 60 my $flags = ""; 174 $flags .= "--pidfile \"$pidfile\" ". 179 $flags .= "--gopher " if($gopher); 180 $flags .= "--connect $connect " if($connect); 181 $flags .= "--keepalive $keepalive_secs " if($keepalive_secs); 183 $flags .= "--unix-socket '$unix_socket' "; 185 $flags .= "--ipv$ipvnum --port $port "; 187 $flags .= "--srcdir \"$srcdir\""; 190 print STDERR "RUN: server/sws".exe_ext('SRV')." $flags\n"; 194 exec("exec server/sws".exe_ext('SRV')." $flags");
|
H A D | servers.pm | 1195 my $flags = ""; 1277 my $flags = ""; 1338 my $flags = ""; 1405 my $flags = ""; 1482 my $flags = ""; 1545 my $flags = ""; 1621 my $flags = ""; 1692 my $flags = ""; 1768 my $flags = ""; 1848 my $flags = ""; [all …]
|
H A D | tftpserver.pl | 54 my $flags = ""; 126 $flags .= "--pidfile \"$pidfile\" ". 130 $flags .= "--ipv$ipvnum --port $port --srcdir \"$srcdir\""; 133 exec("exec server/tftpd".exe_ext('SRV')." $flags");
|
H A D | rtspserver.pl | 53 my $flags = ""; 129 $flags .= "--pidfile \"$pidfile\" ". 133 $flags .= "--ipv$ipvnum --port $port --srcdir \"$srcdir\""; 136 exec("exec server/rtspd".exe_ext('SRV')." $flags");
|
/curl/CMake/ |
H A D | CurlTests.c | 50 int flags = 0; in main() local 51 if(0 != fcntl(0, F_SETFL, flags | O_NONBLOCK)) in main() 175 unsigned long flags = ioctlsocket(socket, FIONBIO, &flags); in main() local 205 long flags = 0; in main() local 206 if(0 != IoctlSocket(0, FIONBIO, &flags)) in main() 220 unsigned long flags = 0; in main() local 221 if(0 != ioctlsocket(0, FIONBIO, &flags)) in main() 248 int flags = 0; in main() local 249 if(0 != ioctl(0, FIONBIO, &flags)) in main()
|
/curl/src/ |
H A D | tool_doswin.c | 71 int flags); 75 int flags); 104 int flags) in sanitize_file_name() argument 119 if(flags & SANITIZE_ALLOW_PATH) { in sanitize_file_name() 170 if(!(flags & SANITIZE_ALLOW_PATH) && len) { in sanitize_file_name() 188 sc = msdosify(&p, target, flags); in sanitize_file_name() 201 if(!(flags & SANITIZE_ALLOW_RESERVED)) { in sanitize_file_name() 202 sc = rename_if_reserved_dos(&p, target, flags); in sanitize_file_name() 295 int flags) in msdosify() argument 460 if((flags & SANITIZE_ALLOW_PATH) && in rename_if_reserved_dos() [all …]
|
H A D | tool_doswin.h | 42 int flags); 46 int flags); 49 int flags);
|
/curl/tests/unit/ |
H A D | unit1604.c | 47 static char *getflagstr(int flags) in getflagstr() argument 52 ((flags & SANITIZE_ALLOW_PATH) ? in getflagstr() 54 ((flags & SANITIZE_ALLOW_RESERVED) ? in getflagstr() 77 int flags; member 220 res = sanitize_file_name(&output, data[i].input, data[i].flags); 230 flagstr = getflagstr(data[i].flags);
|
/curl/include/curl/ |
H A D | websockets.h | 33 int flags; /* See the CURLWS_* defines */ member 73 unsigned int flags);
|
H A D | urlapi.h | 134 char **part, unsigned int flags); 142 const char *part, unsigned int flags);
|
/curl/docs/examples/ |
H A D | multi-event.c | 127 int flags = 0; in curl_perform() local 131 flags |= CURL_CSELECT_IN; in curl_perform() 133 flags |= CURL_CSELECT_OUT; in curl_perform() 137 curl_multi_socket_action(curl_handle, context->sockfd, flags, in curl_perform()
|
H A D | multi-uv.c | 144 int flags = 0; in on_uv_socket() local 148 flags |= CURL_CSELECT_IN; in on_uv_socket() 150 flags |= CURL_CSELECT_OUT; in on_uv_socket() 152 curl_multi_socket_action(context->uv->multi, context->sockfd, flags, in on_uv_socket()
|
H A D | websocket.c | 55 if(meta->flags & CURLWS_PONG) { in recv_pong() 69 meta->flags); in recv_pong()
|