Lines Matching defs:file
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
24 * Alternatively, the contents of this file may be used under the terms of
28 * of those above. If you wish to allow use of your version of this file only
30 * use your version of this file under the terms of the MPL, indicate your
33 * the provisions above, a recipient may use your version of this file under
173 nsCOMPtr<nsIFile> file;
174 NS_GetSpecialDirectory(NS_GRE_DIR, getter_AddRefs(file));
176 if (!file)
179 // we are talking about a file in the GRE dir. Lets append something
181 file->AppendNative(NS_LITERAL_CSTRING("dummy"));
204 file->SetNativeLeafName(nsDependentCString(token));
205 file->GetNativePath(path);