Lines Matching defs:ioPath
67 void nsFileSpecHelpers::Canonify(nsSimpleCharString& ioPath, PRBool inMakeDirs)
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)
109 if (ioPath.IsEmpty())
113 char* src = (char*)ioPath;
116 // allocate new string by copying from ioPath[1]
118 ioPath = temp;
125 // allocate new string by copying from ioPath[1]
127 ioPath = temp;
132 for (src = (char*)ioPath; *src; ++src)
141 void nsFileSpecHelpers::NativeToUnix(nsSimpleCharString& ioPath)
146 if (ioPath.IsEmpty())
152 char* cp = (char*)ioPath + 1;
173 temp += ioPath;
174 ioPath = temp;