Lines Matching refs:portno
327 unsigned short portno; in php_fopen_do_pasv() local
370 portno = (unsigned short) strtoul(tpath, &ttpath, 10) * 256; in php_fopen_do_pasv()
381 portno += (unsigned short) strtoul(tpath, &ttpath, 10); in php_fopen_do_pasv()
396 portno = (unsigned short) strtoul(tpath + 1, &ttpath, 10); in php_fopen_do_pasv()
408 return portno; in php_fopen_do_pasv()
421 unsigned short portno; in php_stream_url_wrap_ftp() local
522 portno = php_fopen_do_pasv(stream, ip, sizeof(ip), &hoststart); in php_stream_url_wrap_ftp()
524 if (!portno) { in php_stream_url_wrap_ftp()
558 transport_len = (int)spprintf(&transport, 0, "tcp://%s:%d", hoststart, portno); in php_stream_url_wrap_ftp()
703 unsigned short portno; in php_stream_ftp_opendir() local
722 portno = php_fopen_do_pasv(stream, ip, sizeof(ip), &hoststart); in php_stream_ftp_opendir()
724 if (!portno) { in php_stream_ftp_opendir()
733 datastream = php_stream_sock_open_host(hoststart, portno, SOCK_STREAM, 0, 0); in php_stream_ftp_opendir()