Lines Matching refs:tPath
310 static const char *tPath = nsnull;
311 if (!tPath) {
312 tPath = PR_GetEnv("TMPDIR");
313 if (!tPath || !*tPath) {
314 tPath = PR_GetEnv("TMP");
315 if (!tPath || !*tPath) {
316 tPath = PR_GetEnv("TEMP");
317 if (!tPath || !*tPath) {
318 tPath = "/tmp/";
323 return NS_NewNativeLocalFile(nsDependentCString(tPath),
706 char *tPath = PR_GetEnv("MOZILLA_HOME");
710 if (!tPath || !*tPath) {
716 tPath = buffer;
718 rv = NS_NewNativeLocalFile(nsDependentCString(tPath),
722 PrfWriteProfileString(HINI_USERPROFILE, "Mozilla", "Home", tPath);