Home | History | Annotate | Download | only in Common

Lines Matching refs:fileName

7 static UString GetDefaultName3(const UString &fileName,

11 const unsigned fileNameLen = fileName.Len();
16 if (fileName[dotPos] == '.')
17 if (extension.IsEqualTo_NoCase(fileName.Ptr(dotPos + 1)))
18 return fileName.Left(dotPos) + addSubExtension;
21 int dotPos = fileName.ReverseFind_Dot();
23 return fileName.Left(dotPos) + addSubExtension;
26 return fileName + L'~';
28 return fileName + addSubExtension;
31 UString GetDefaultName2(const UString &fileName,
34 UString name = GetDefaultName3(fileName, extension, addSubExtension);