Lines Matching refs:tpath
330 char *tpath, *ttpath, *hoststart=NULL; in php_fopen_do_pasv() local
350 tpath = tmp_line; in php_fopen_do_pasv()
352 for (tpath += 4; *tpath && !isdigit((int) *tpath); tpath++); in php_fopen_do_pasv()
353 if (!*tpath) { in php_fopen_do_pasv()
357 hoststart = tpath; in php_fopen_do_pasv()
359 for (; isdigit((int) *tpath); tpath++); in php_fopen_do_pasv()
360 if (*tpath != ',') { in php_fopen_do_pasv()
363 *tpath='.'; in php_fopen_do_pasv()
364 tpath++; in php_fopen_do_pasv()
366 tpath[-1] = '\0'; in php_fopen_do_pasv()
372 portno = (unsigned short) strtoul(tpath, &ttpath, 10) * 256; in php_fopen_do_pasv()
377 tpath = ttpath; in php_fopen_do_pasv()
378 if (*tpath != ',') { in php_fopen_do_pasv()
381 tpath++; in php_fopen_do_pasv()
383 portno += (unsigned short) strtoul(tpath, &ttpath, 10); in php_fopen_do_pasv()
387 for (i = 0, tpath = tmp_line + 4; *tpath; tpath++) { in php_fopen_do_pasv()
388 if (*tpath == '|') { in php_fopen_do_pasv()
398 portno = (unsigned short) strtoul(tpath + 1, &ttpath, 10); in php_fopen_do_pasv()