Searched defs:ioPath (Results 1 - 5 of 5) sorted by relevance

/vbox/src/libs/xpcom18a4/xpcom/obsolete/
H A DnsFileSpecBeOS.cpp57 void nsFileSpecHelpers::Canonify(nsSimpleCharString& ioPath, PRBool inMakeDirs) argument
61 if (ioPath.IsEmpty())
66 nsFileSpecHelpers::MakeAllDirectories((const char*)ioPath, mode);
71 BEntry e((const char *)ioPath, true);
74 ioPath = p.Path();
H A DnsFileSpecOS2.cpp69 void nsFileSpecHelpers::Canonify(nsSimpleCharString& ioPath, PRBool inMakeDirs) argument
75 if (ioPath.IsEmpty())
78 NS_ASSERTION(strchr((const char*)ioPath, '/') == 0,
84 nsSimpleCharString unixStylePath = ioPath;
93 PRUint32 lenstr = ioPath.Length();
94 char &lastchar = ioPath[lenstr -1];
99 if( lastchar == '\\' && (lenstr != 3 || ioPath[1] != ':') && lenstr != 1)
107 DosQueryPathInfo( (char*) ioPath,
112 char* canonicalPath = _fullpath(buffer, ioPath, _MAX_PATH);
126 ioPath
130 UnixToNative(nsSimpleCharString& ioPath) argument
172 NativeToUnix(nsSimpleCharString& ioPath) argument
[all...]
H A DnsFileSpecUnix.cpp104 void nsFileSpecHelpers::Canonify(nsSimpleCharString& ioPath, PRBool inMakeDirs) argument
108 if (ioPath.IsEmpty())
113 nsFileSpecHelpers::MakeAllDirectories((const char*)ioPath, mode);
118 if (ioPath[0] != '/')
120 // the ioPath that was passed in is relative. We must cat it to the cwd.
126 strcat(buffer, ioPath);
128 ioPath = buffer;
H A DnsFileSpecWin.cpp67 void nsFileSpecHelpers::Canonify(nsSimpleCharString& ioPath, PRBool inMakeDirs) argument
73 if (ioPath.IsEmpty())
76 NS_ASSERTION(strchr((const char*)ioPath, '/') == 0,
82 nsSimpleCharString unixStylePath = ioPath;
89 char* canonicalPath = _fullpath(buffer, ioPath, _MAX_PATH);
97 ioPath = canonicalPath;
101 void nsFileSpecHelpers::UnixToNative(nsSimpleCharString& ioPath) argument
109 if (ioPath.IsEmpty())
113 char* src = (char*)ioPath;
116 // allocate new string by copying from ioPath[
141 NativeToUnix(nsSimpleCharString& ioPath) argument
[all...]
H A DnsFileSpecMac.cpp1200 static void AssignFromPath(nsFilePath& ioPath, const char* inString, PRBool inCreateDirs) argument
1221 ioPath = spec;

Completed in 244 milliseconds