Searched refs:defaultsDir (Results 1 – 8 of 8) sorted by relevance
89 nsCOMPtr<nsIFile> defaultsDir; in EnsureProfileFile() local92 getter_AddRefs(defaultsDir)); in EnsureProfileFile()93 if (!defaultsDir) in EnsureProfileFile()96 nsresult rv = defaultsDir->AppendNative("profile"_ns); in EnsureProfileFile()99 defaultsDir->AppendNative(aLeafName); in EnsureProfileFile()101 defaultsDir->CopyToNative(aParentDir, aLeafName); in EnsureProfileFile()
381 nsresult nsMsgMailSession::GetSelectedLocaleDataDir(nsIFile* defaultsDir) { in GetSelectedLocaleDataDir() argument382 NS_ENSURE_ARG_POINTER(defaultsDir); in GetSelectedLocaleDataDir()403 nsCOMPtr<nsIFile> defaultsDir; in GetDataFilesDir() local405 getter_AddRefs(defaultsDir)); in GetDataFilesDir()408 rv = defaultsDir->AppendNative(nsDependentCString(dirName)); in GetDataFilesDir()409 if (NS_SUCCEEDED(rv)) rv = GetSelectedLocaleDataDir(defaultsDir); in GetDataFilesDir()411 defaultsDir.forget(dataFilesDir); in GetDataFilesDir()
50 nsresult GetSelectedLocaleDataDir(nsIFile* defaultsDir);
284 CLocalPath const defaultsDir = paths.defaults_path; in GetSiteByPath() local285 if (defaultsDir.empty()) { in GetSiteByPath()289 file.SetFileName(defaultsDir.GetPath() + L"fzdefaults.xml"); in GetSiteByPath()
387 std::wstring ReadSettingsFromDefaults(CLocalPath const& defaultsDir) in ReadSettingsFromDefaults() argument389 if (defaultsDir.empty()) { in ReadSettingsFromDefaults()393 …std::wstring dir = GetSettingFromFile(defaultsDir.GetPath() + L"fzdefaults.xml", "Config Location"… in ReadSettingsFromDefaults()
330 CLocalPath const defaultsDir = GetDefaultsDir(); in LoadGlobalDefaultOptions() local331 if (defaultsDir.empty()) { in LoadGlobalDefaultOptions()334 CXmlFile file(defaultsDir.GetPath() + L"fzdefaults.xml"); in LoadGlobalDefaultOptions()
1488 CLocalPath const defaultsDir = GetDefaultsDir(); in LoadDefaultSites() local1489 if (defaultsDir.empty()) { in LoadDefaultSites()1493 CXmlFile file(defaultsDir.GetPath() + _T("fzdefaults.xml")); in LoadDefaultSites()
1890 NSString *defaultsDir;1899 defaultsDir = gnustepUserDefaultsDir;1907 defaultsDir = [config objectForKey: @"GNUSTEP_USER_DEFAULTS_DIR"];1908 if (defaultsDir == nil)1910 defaultsDir = @GNUSTEP_TARGET_USER_DEFAULTS_DIR;1914 if ([defaultsDir rangeOfString: @":REGISTRY:"].length > 0)1916 return defaultsDir; // Just use windows registry.1919 if (NO == [defaultsDir isAbsolutePath])1923 defaultsDir = [home stringByAppendingPathComponent: defaultsDir];1926 return defaultsDir;