Lines Matching refs:tpath
318 char *tpath, *ttpath, *hoststart=NULL; in php_fopen_do_pasv() local
338 tpath = tmp_line; in php_fopen_do_pasv()
340 for (tpath += 4; *tpath && !isdigit((int) *tpath); tpath++); in php_fopen_do_pasv()
341 if (!*tpath) { in php_fopen_do_pasv()
345 hoststart = tpath; in php_fopen_do_pasv()
347 for (; isdigit((int) *tpath); tpath++); in php_fopen_do_pasv()
348 if (*tpath != ',') { in php_fopen_do_pasv()
351 *tpath='.'; in php_fopen_do_pasv()
352 tpath++; in php_fopen_do_pasv()
354 tpath[-1] = '\0'; in php_fopen_do_pasv()
360 portno = (unsigned short) strtoul(tpath, &ttpath, 10) * 256; in php_fopen_do_pasv()
365 tpath = ttpath; in php_fopen_do_pasv()
366 if (*tpath != ',') { in php_fopen_do_pasv()
369 tpath++; in php_fopen_do_pasv()
371 portno += (unsigned short) strtoul(tpath, &ttpath, 10); in php_fopen_do_pasv()
375 for (i = 0, tpath = tmp_line + 4; *tpath; tpath++) { in php_fopen_do_pasv()
376 if (*tpath == '|') { in php_fopen_do_pasv()
386 portno = (unsigned short) strtoul(tpath + 1, &ttpath, 10); in php_fopen_do_pasv()