Home
last modified time | relevance | path

Searched refs:ftp (Results 1 - 25 of 31) sorted by relevance

12

/third_party/libwebsockets/lib/plat/unix/
H A Dunix-service.c74 volatile struct lws_foreign_thread_pollfd *ftp, *next; in _lws_plat_service_tsi() local
174 ftp = vpt->foreign_pfd_list; in _lws_plat_service_tsi()
175 //lwsl_notice("cleared list %p\n", ftp); in _lws_plat_service_tsi()
176 while (ftp) { in _lws_plat_service_tsi()
180 next = ftp->next; in _lws_plat_service_tsi()
181 pfd = &vpt->fds[ftp->fd_index]; in _lws_plat_service_tsi()
185 __lws_change_pollfd(wsi, ftp->_and, in _lws_plat_service_tsi()
186 ftp->_or); in _lws_plat_service_tsi()
188 lws_free((void *)ftp); in _lws_plat_service_tsi()
189 ftp in _lws_plat_service_tsi()
[all...]
/third_party/curl/lib/
H A Dftp.c52 #include "ftp.h"
441 DEBUGF(infof(data, "ftp InitiateTransfer()")); in InitiateTransfer()
524 DEBUGF(infof(data, "ftp AllowServerConnect() -> %d", result)); in AllowServerConnect()
528 /* macro to check for a three-digit ftp status code at the start of the
553 int *ftpcode, /* return the ftp-code if done */ in ftp_readresp()
576 /* normal ftp stuff we pass through! */ in ftp_readresp()
614 int *ftpcode) /* return the ftp-code */ in Curl_GetFTPResponse()
875 for all upcoming ones in the ftp->dirs[] array */ in ftp_state_cwd()
1321 struct FTP *ftp = data->req.p.ftp; in ftp_state_prepare_transfer() local
1365 struct FTP *ftp = data->req.p.ftp; ftp_state_rest() local
1387 struct FTP *ftp = data->req.p.ftp; ftp_state_size() local
1407 struct FTP *ftp = data->req.p.ftp; ftp_state_list() local
1484 struct FTP *ftp = data->req.p.ftp; ftp_state_type() local
1543 struct FTP *ftp = data->req.p.ftp; ftp_state_ul_setup() local
1643 struct FTP *ftp = data->req.p.ftp; ftp_state_quote() local
2100 struct FTP *ftp = data->req.p.ftp; ftp_state_mdtm_resp() local
2237 struct FTP *ftp = data->req.p.ftp; ftp_state_retr() local
2461 struct FTP *ftp = data->req.p.ftp; ftp_state_get_resp() local
3228 struct FTP *ftp = data->req.p.ftp; ftp_done() local
3590 struct FTP *ftp = NULL; ftp_do_more() local
3738 struct FTP *ftp = data->req.p.ftp; ftp_perform() local
3773 struct FTP *ftp = data->req.p.ftp; init_wc_data() local
3908 struct FTP *ftp = data->req.p.ftp; wc_statemach() local
4127 struct FTP *ftp = data->req.p.ftp; ftp_parse_url_path() local
4274 struct FTP *ftp = data->req.p.ftp; ftp_dophase_done() local
4369 struct FTP *ftp; ftp_setup_connection() local
[all...]
/third_party/libwebsockets/lib/core-net/
H A Dpollfd.c97 struct lws_foreign_thread_pollfd *ftp, **ftp1; in _lws_change_pollfd() local
105 ftp = lws_malloc(sizeof(*ftp), "ftp"); in _lws_change_pollfd()
106 if (!ftp) { in _lws_change_pollfd()
113 ftp->_and = _and; in _lws_change_pollfd()
114 ftp->_or = _or; in _lws_change_pollfd()
115 ftp->fd_index = wsi->position_in_fds_table; in _lws_change_pollfd()
116 ftp->next = NULL; in _lws_change_pollfd()
126 *ftp1 = ftp; in _lws_change_pollfd()
[all...]
/third_party/ltp/testcases/network/stress/ftp/
H A Dftp-upload-stress02-rmt.sh22 TCID=ftp-upload-stress02-rmt
68 curl -s --noproxy '*' -u anonymous:ftp@ltp-ns.org -T $filename \
69 -g "ftp://${server_ipaddr}/${urldir}/${filename}${num}" &
76 out=$(curl --noproxy '*' -sS -u anonymous:ftp@ltp-ns.org -T $filename \
77 -g "ftp://$server_ipaddr/$urldir/" \
85 tst_brkm TBROK "Failed to upload to ftp://$server_ipaddr/$urldir/"
H A Dftp-upload-stress01-rmt.sh22 TCID=ftp-upload-stress01-rmt
50 out=$(curl --noproxy '*' -sS -u anonymous:ftp@ltp-ns.org -T $filename \
51 -g "ftp://$server_ipaddr/$urldir/" \
59 tst_brkm TBROK "Failed to upload to ftp://$server_ipaddr/$urldir/"
H A Dftp-upload-stress.sh22 TCID=ftp-upload-stress
52 tst_brkm TCONF "Start ftp server and set FTP_UPLOAD_DIR var"
83 tst_rhost_run -s -c "ftp-upload-stress01-rmt.sh $(tst_ipaddr) \
93 tst_rhost_run -s -c "ftp-upload-stress02-rmt.sh \
H A Dftp-download-stress.sh22 TCID=ftp-download-stress
28 # Big file size to upload/download in ftp tests (byte)
30 # Regular file size to upload/download in ftp tests (byte)
52 tst_brkm TCONF "Start ftp server and set FTP_DOWNLOAD_DIR var"
72 tst_rhost_run -s -c "ftp-download-stress01-rmt.sh \
85 tst_rhost_run -s -c "ftp-download-stress02-rmt.sh $(tst_ipaddr) \
/third_party/curl/tests/
H A Dserverhelp.pm107 /^((ftp|http|imap|pop3|smtp|http-pipe)s?)(\d*)(-ipv6|)$/) {
195 $trailer = '_stunnel.log' if(lc($proto) =~ /^(ftp|http|imap|pop3|smtp)s$/);
236 (lc($proto) =~ /^(ftp|imap|pop3|smtp)s?$/));
248 (lc($proto) =~ /^(ftp|imap|pop3|smtp)s?$/));
H A Dservers.pm219 for my $proto (('ftp', 'gopher', 'http', 'imap', 'pop3', 'smtp', 'http/2', 'http/3')) {
452 if($server =~ /^(ftp|imap|pop3|smtp)s?(\d*)(-ipv6|)$/) {
462 if($server =~ /^(ftp|http|imap|pop3|smtp)s((\d*)(-ipv6|-unix|))$/) {
466 elsif($server =~ /^(ftp|http|imap|pop3|smtp)((\d*)(-ipv6|-unix|))$/) {
632 $extra .= "--insecure --ftp-ssl-control ";
1042 'ftp' => \&verifyftp,
1475 if($proto !~ /^(?:ftp|imap|pop3|smtp)$/) {
2237 if($proto =~ /^(?:ftp|imap|pop3|smtp)$/) {
2333 if($what =~ /^(ftp|gopher|http|imap|pop3|smtp)s((\d*)(-ipv6|-unix|))$/) {
2338 ($what eq "ftp") ||
[all...]
H A Dprocesshelp.pm347 return if($proto !~ /^(ftp|imap|pop3|smtp)$/);
359 ($proto eq 'ftp')?'ctrl':'filt', $pid) if($verbose);
366 return if($proto ne 'ftp');
387 for my $proto (('ftp', 'imap', 'pop3', 'smtp')) {
/third_party/icu/icu4c/source/test/intltest/
H A Dtfsmalls.cpp167 Formattable* ftp = new Formattable(); in test_Formattable() local
168 if (!ftp || !(ftp->getType() == Formattable::kLong) || !(ftp->getLong() == 0)) { in test_Formattable()
171 delete ftp; in test_Formattable()
/third_party/python/Lib/test/
H A Dtest_ftplib.py1093 ftp = ftplib.FTP(HOST)
1096 self.assertEqual(ftp.sock.gettimeout(), 30)
1098 ftp.close()
1105 ftp = ftplib.FTP(HOST, timeout=None)
1108 self.assertIsNone(ftp.sock.gettimeout())
1110 ftp.close()
1114 ftp = ftplib.FTP(HOST, timeout=30)
1115 self.assertEqual(ftp.sock.gettimeout(), 30)
1117 ftp.close()
1124 ftp
[all...]
/third_party/ltp/testcases/network/tcp_cmds/ftp/
H A Dftp01.sh9 TST_NEEDS_CMDS='awk ftp'
44 } | ftp -nv $RHOST
65 } | ftp -nv $RHOST
H A DMakefile2 # network/tcp_cmds/ftp testcases Makefile.
28 INSTALL_TARGETS := ftp*
/third_party/python/Lib/
H A Dftplib.py8 >>> ftp = FTP('ftp.python.org') # connect to host, default port
9 >>> ftp.login() # default, i.e.: user anonymous, passwd anonymous@
11 >>> ftp.retrlines('LIST') # list directory contents
17 d-wxrwxr-x 2 ftp wheel 1024 Sep 5 13:43 incoming
23 >>> ftp.quit()
82 passed, meaning that no timeout will be set on any ftp socket(s).
83 If a timeout is passed, then this is now the default timeout for all ftp
89 To download a file, use ftp.retrlines('RETR ' + filename),
90 or ftp
[all...]
/third_party/ltp/testcases/kernel/fs/fsstress/
H A Dfsstress.c561 flist_t *ftp; in add_to_flist() local
563 ftp = &flist[ft]; in add_to_flist()
564 if (ftp->nfiles == ftp->nslots) { in add_to_flist()
565 ftp->nslots += FLIST_SLOT_INCR; in add_to_flist()
566 ftp->fents = realloc(ftp->fents, ftp->nslots * sizeof(fent_t)); in add_to_flist()
568 fep = &ftp->fents[ftp in add_to_flist()
720 flist_t *ftp; del_from_flist() local
[all...]
/third_party/ltp/testcases/network/tcp_cmds/
H A DMakefile11 FILTER_OUT_SUBDIRS := ftp ssh telnet
/third_party/python/Lib/urllib/
H A Drequest.py77 # ftp errors aren't handled cleanly
705 # than http, https or ftp.
707 if urlparts.scheme not in ('http', 'https', 'ftp', ''):
829 # {'http': 'ftp://proxy.example.com'}, we may end up turning
831 # ftp://proxy.example.com/a
1537 raise URLError('ftp error: no host given')
1674 MAXFTPCACHE = 10 # Trim the ftp cache beyond this size
1729 # ftp cache by assigning to the .ftpcache member;
2042 raise URLError('ftp error: proxy support for ftp protoco
[all...]
/third_party/libwebsockets/lib/core/
H A Dcontext.c1666 volatile struct lws_foreign_thread_pollfd *ftp, *next; in lws_pt_destroy() local
1676 ftp = vpt->foreign_pfd_list; in lws_pt_destroy()
1677 while (ftp) { in lws_pt_destroy()
1678 next = ftp->next; in lws_pt_destroy()
1679 lws_free((void *)ftp); in lws_pt_destroy()
1680 ftp = next; in lws_pt_destroy()
/third_party/mksh/
H A Dexec.c702 struct tbl *ftp; in comexec() local
714 !(ftp = findfunc(cp, hash(cp), false)) || in comexec()
715 !(ftp->flag & ISSET)) { in comexec()
717 if ((ftp = findcom(cp, FC_BI)) && in comexec()
718 (ftp->type == CSHELL) && in comexec()
719 (ftp->flag & LOW_BI)) { in comexec()
720 tp = ftp; in comexec()
733 tp = ftp; in comexec()
/third_party/curl/scripts/
H A Dcompletion.pl115 } elsif ($long =~ /ftp/ && $arg =~ /<method>/) {
/third_party/python/Tools/unicode/
H A DMakefile3 # files available at ftp://ftp.unicode.org/
23 ncftpget -R ftp.unicode.org . Public/MAPPINGS
/third_party/icu/icu4c/source/tools/gensprep/
H A DfilterRFC3454.pl672 The RFC text can be downloaded from ftp://ftp.rfc-editor.org/in-notes/rfc3454.txt
/third_party/skia/third_party/externals/icu/source/tools/gensprep/
H A DfilterRFC3454.pl672 The RFC text can be downloaded from ftp://ftp.rfc-editor.org/in-notes/rfc3454.txt
/third_party/curl/src/
H A Dtool_cb_hdr.c419 !strcmp("ftp", scheme) || in write_linked_location()

Completed in 22 milliseconds

12