Lines Matching refs:hoststart
318 char *tpath, *ttpath, *hoststart=NULL; in php_fopen_do_pasv() local
345 hoststart = tpath; in php_fopen_do_pasv()
355 memcpy(ip, hoststart, ip_size); in php_fopen_do_pasv()
357 hoststart = ip; in php_fopen_do_pasv()
395 *phoststart = hoststart; in php_fopen_do_pasv()
411 char *hoststart = NULL; in php_stream_url_wrap_ftp() local
511 portno = php_fopen_do_pasv(stream, ip, sizeof(ip), &hoststart); in php_stream_url_wrap_ftp()
544 if (hoststart == NULL) { in php_stream_url_wrap_ftp()
545 hoststart = ZSTR_VAL(resource->host); in php_stream_url_wrap_ftp()
547 transport_len = (int)spprintf(&transport, 0, "tcp://%s:%d", hoststart, portno); in php_stream_url_wrap_ftp()
688 char *hoststart = NULL, tmp_line[512]; in php_stream_ftp_opendir() local
709 portno = php_fopen_do_pasv(stream, ip, sizeof(ip), &hoststart); in php_stream_ftp_opendir()
716 if (hoststart == NULL) { in php_stream_ftp_opendir()
717 hoststart = ZSTR_VAL(resource->host); in php_stream_ftp_opendir()
720 datastream = php_stream_sock_open_host(hoststart, portno, SOCK_STREAM, 0, 0); in php_stream_ftp_opendir()