Home
last modified time | relevance | path

Searched refs:dotPos (Results 1 – 16 of 16) sorted by relevance

/external/lzma/CPP/7zip/UI/Common/
DDefaultName.cpp15 const unsigned dotPos = fileNameLen - (extLen + 1); in GetDefaultName3() local
16 if (fileName[dotPos] == '.') in GetDefaultName3()
17 if (extension.IsEqualTo_NoCase(fileName.Ptr(dotPos + 1))) in GetDefaultName3()
18 return fileName.Left(dotPos) + addSubExtension; in GetDefaultName3()
21 int dotPos = fileName.ReverseFind_Dot(); in GetDefaultName3() local
22 if (dotPos > 0) in GetDefaultName3()
23 return fileName.Left(dotPos) + addSubExtension; in GetDefaultName3()
DArchiveName.cpp21 int dotPos = resultName.ReverseFind_Dot(); in CreateArchiveName() local
22 if (dotPos > 0) in CreateArchiveName()
24 FString archiveName2 = resultName.Left(dotPos); in CreateArchiveName()
64 int dotPos = resultName.ReverseFind_Dot(); in CreateArchiveName2() local
65 if (dotPos > 0) in CreateArchiveName2()
67 FString name2 = resultName.Left(dotPos); in CreateArchiveName2()
DUpdate.cpp294 int dotPos = Name.ReverseFind_Dot(); in ParseFromPath() local
295 if (dotPos < 0) in ParseFromPath()
297 if ((unsigned)dotPos == Name.Len() - 1) in ParseFromPath()
301 const UString ext = Name.Ptr(dotPos + 1); in ParseFromPath()
305 Name.DeleteFrom(dotPos); in ParseFromPath()
DLoadCodecs.cpp679 int dotPos = arcPath.ReverseFind_Dot(); in FindFormatForArchiveName() local
680 if (dotPos <= arcPath.ReverseFind_PathSepar()) in FindFormatForArchiveName()
682 const UString ext = arcPath.Ptr(dotPos + 1); in FindFormatForArchiveName()
DOpenArchive.cpp1591 int dotPos = fileName.ReverseFind_Dot(); in OpenStream2() local
1592 if (dotPos >= 0) in OpenStream2()
1593 extension = fileName.Ptr(dotPos + 1); in OpenStream2()
2930 int dotPos = fileName.ReverseFind_Dot(); in OpenStream() local
2931 if (dotPos >= 0) in OpenStream()
2932 extension = fileName.Ptr(dotPos + 1); in OpenStream()
/external/lzma/CPP/7zip/Common/
DFilePathAutoRename.cpp22 int dotPos = path.ReverseFind_Dot(); in AutoRenamePath() local
27 if (dotPos > slashPos + 1) in AutoRenamePath()
29 name.DeleteFrom(dotPos); in AutoRenamePath()
30 extension = path.Ptr(dotPos); in AutoRenamePath()
/external/lzma/CPP/7zip/UI/FileManager/
DSysIconUtils.cpp157 int dotPos = -1; in GetIconIndex() local
165 dotPos = i; in GetIconIndex()
178 if ((attrib & FILE_ATTRIBUTE_DIRECTORY) != 0 || dotPos < 0) in GetIconIndex()
209 const wchar_t *ext = fileName + dotPos + 1; in GetIconIndex()
244 GetRealIconIndex(us2fs(fileName + dotPos), attrib, pair.IconIndex); in GetIconIndex()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptorPool.cs161 int dotPos = fullName.LastIndexOf('.'); in AddSymbol()
165 if (dotPos == -1) in AddSymbol()
171 … message = "\"" + fullName.Substring(dotPos + 1) + "\" is already defined in \"" + in AddSymbol()
172 fullName.Substring(0, dotPos) + "\"."; in AddSymbol()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DCompilationUnitContext.java133 int dotPos = name.indexOf('.'); in solveType() local
135 if (dotPos > -1) { in solveType()
136 prefix = name.substring(0, dotPos); in solveType()
148 qName = qName + name.substring(dotPos); in solveType()
/external/deqp/framework/delibs/decpp/
DdeFilePath.cpp164 size_t dotPos = baseName.find_last_of('.'); in getFileExtension() local
165 if (dotPos == std::string::npos) in getFileExtension()
168 return baseName.substr(dotPos+1); in getFileExtension()
/external/lzma/CPP/7zip/Archive/
DSplitHandler.cpp144 int dotPos = name.ReverseFind_Dot(); in Open2() local
145 const UString prefix = name.Left(dotPos + 1); in Open2()
146 const UString ext = name.Ptr(dotPos + 1); in Open2()
/external/lzma/CPP/7zip/Archive/7z/
D7zUpdate.cpp646 int dotPos = ui.Name.ReverseFind_Dot(); in CRefItem() local
647 if (dotPos <= slashPos) in CRefItem()
651 ExtensionPos = dotPos + 1; in CRefItem()
827 int dotPos = ui.Name.ReverseFind_Dot(); in GetFilterGroup() local
838 if (dotPos > slashPos) in GetFilterGroup()
839 ext = ui.Name.Ptr(dotPos + 1); in GetFilterGroup()
2349 int dotPos = ui.Name.ReverseFind_Dot(); in Update() local
2350 const wchar_t *ext = ui.Name.Ptr(dotPos <= slashPos ? ui.Name.Len() : dotPos + 1); in Update()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DDemo.java597 int dotPos = targetFile.lastIndexOf('.'); in genTestFile() local
598 if (dotPos >= 0) targetFile = targetFile.substring(0,dotPos); in genTestFile()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_CompilationUnitContext.txt37 Line 130) name.substring(0, dotPos) ==> java.lang.String.substring(int, int)
48 Line 142) name.substring(dotPos) ==> java.lang.String.substring(int)
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTest.java4063 int dotPos = test[2].indexOf('.'); in TestCurrencyPlurals() local
4064 int decimals = dotPos < 0 ? 0 : test[2].length() - dotPos - 1; in TestCurrencyPlurals()
4065 int digits = dotPos < 0 ? test[2].length() : test[2].length() - 1; in TestCurrencyPlurals()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java4060 int dotPos = test[2].indexOf('.'); in TestCurrencyPlurals() local
4061 int decimals = dotPos < 0 ? 0 : test[2].length() - dotPos - 1; in TestCurrencyPlurals()
4062 int digits = dotPos < 0 ? test[2].length() : test[2].length() - 1; in TestCurrencyPlurals()