Home
last modified time | relevance | path

Searched refs:slashPos (Results 1 – 25 of 497) sorted by relevance

12345678910>>...20

/dports/audio/kid3-kf5/kid3-3.8.6/src/gui/widgets/
H A Dtracknumbervalidator.cpp56 int slashPos = input.indexOf(QLatin1Char('/')); in validate() local
57 if (slashPos == -1) { in validate()
61 if (slashPos == len - 1) { in validate()
64 if (input.indexOf(QLatin1Char('/'), slashPos + 1) != -1) { in validate()
67 if (slashPos == 0) { in validate()
72 input.left(slashPos).toULongLong(&ok); in validate()
74 input.mid(slashPos + 1).toULongLong(&ok); in validate()
77 input.leftRef(slashPos).toULongLong(&ok); in validate()
79 input.midRef(slashPos + 1).toULongLong(&ok); in validate()
/dports/audio/kid3-qt5/kid3-3.8.6/src/gui/widgets/
H A Dtracknumbervalidator.cpp56 int slashPos = input.indexOf(QLatin1Char('/')); in validate() local
57 if (slashPos == -1) { in validate()
61 if (slashPos == len - 1) { in validate()
64 if (input.indexOf(QLatin1Char('/'), slashPos + 1) != -1) { in validate()
67 if (slashPos == 0) { in validate()
72 input.left(slashPos).toULongLong(&ok); in validate()
74 input.mid(slashPos + 1).toULongLong(&ok); in validate()
77 input.leftRef(slashPos).toULongLong(&ok); in validate()
79 input.midRef(slashPos + 1).toULongLong(&ok); in validate()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/tools/PsfPlayer/Source/
H A DPsfStreamProvider.cpp68 auto slashPos = pathString.find_last_of(L"/"); in GetSiblingPath() local
69 if(slashPos == std::wstring::npos) in GetSiblingPath()
71 slashPos = pathString.find_last_of(L"\\"); in GetSiblingPath()
72 if(slashPos == std::wstring::npos) in GetSiblingPath()
74 slashPos = -1; in GetSiblingPath()
77 slashPos++; in GetSiblingPath()
78 auto stem = std::wstring(std::begin(pathString), std::begin(pathString) + slashPos); in GetSiblingPath()
/dports/www/mediawiki136/mediawiki-1.36.3/vendor/wikimedia/parsoid/src/Utils/
H A DUrlUtils.php161 $slashPos = strpos( $urlPath, '/', $inputOffset + 1 );
163 $slashPos = strpos( $urlPath, '/', $inputOffset );
165 if ( $slashPos === false ) {
169 $output .= substr( $urlPath, $inputOffset, $slashPos - $inputOffset );
170 $inputOffset += $slashPos - $inputOffset;
175 $slashPos = strrpos( $output, '/' );
176 if ( $slashPos === false ) {
179 $output = substr( $output, 0, $slashPos );
/dports/www/mediawiki135/mediawiki-1.35.5/vendor/wikimedia/parsoid/src/Utils/
H A DUrlUtils.php161 $slashPos = strpos( $urlPath, '/', $inputOffset + 1 );
163 $slashPos = strpos( $urlPath, '/', $inputOffset );
165 if ( $slashPos === false ) {
169 $output .= substr( $urlPath, $inputOffset, $slashPos - $inputOffset );
170 $inputOffset += $slashPos - $inputOffset;
175 $slashPos = strrpos( $output, '/' );
176 if ( $slashPos === false ) {
179 $output = substr( $output, 0, $slashPos );
/dports/www/mediawiki137/mediawiki-1.37.1/vendor/wikimedia/parsoid/src/Utils/
H A DUrlUtils.php161 $slashPos = strpos( $urlPath, '/', $inputOffset + 1 );
163 $slashPos = strpos( $urlPath, '/', $inputOffset );
165 if ( $slashPos === false ) {
169 $output .= substr( $urlPath, $inputOffset, $slashPos - $inputOffset );
170 $inputOffset += $slashPos - $inputOffset;
175 $slashPos = strrpos( $output, '/' );
176 if ( $slashPos === false ) {
179 $output = substr( $output, 0, $slashPos );
/dports/irc/smuxi/smuxi-1.1/lib/agsxmpp/agsxmpp/
H A DJid.cs151 int slashPos = m_Jid.IndexOf('/'); in Parse()
155 if (atPos == 0 || slashPos == 0) in Parse()
163 if (atPos + 1 == slashPos) in Parse()
169 if (slashPos == -1) in Parse()
177 server = m_Jid.Substring(0, slashPos); in Parse()
178 resource = m_Jid.Substring(slashPos + 1); in Parse()
183 if (slashPos == -1) in Parse()
194 server = m_Jid.Substring(atPos + 1, slashPos - atPos - 1); in Parse()
195 resource = m_Jid.Substring(slashPos + 1); in Parse()
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/scripts/
H A Dtest2tasks.pl132 my $slashPos = rindex($fullFileName, '/');
133 $slashPos = rindex($fullFileName, "\\") if $slashPos < 0;
134 my $fileName = $slashPos > 0 ? substr($fullFileName, $slashPos + 1) : $fullFileName;
/dports/graphics/digikam/digikam-7.4.0/core/libs/models/
H A Dcategorizeditemmodel.cpp81 int slashPos = -1; in adjustedActionText() local
83 while ((slashPos = text.indexOf(QLatin1Char('/'), slashPos + 1)) != -1) in adjustedActionText()
85 if ((slashPos == 0) || (slashPos == (text.length()-1))) in adjustedActionText()
90 if (text.at(slashPos - 1).isSpace() || text.at(slashPos + 1).isSpace()) in adjustedActionText()
95 text.replace(slashPos, 1, QLatin1Char(',')); in adjustedActionText()
96 text.insert(slashPos+1, QLatin1Char(' ')); in adjustedActionText()
/dports/devel/log4cxx/apache-log4cxx-0.11.0/src/main/cpp/
H A Dfile.cpp282 LogString::size_type slashPos = path.rfind(LOG4CXX_STR('/')); in getParent() local
285 if (slashPos == LogString::npos) in getParent()
287 slashPos = backPos; in getParent()
291 if (backPos != LogString::npos && backPos > slashPos) in getParent()
293 slashPos = backPos; in getParent()
299 if (slashPos != LogString::npos && slashPos > 0) in getParent()
301 parent.assign(path, 0, slashPos); in getParent()
/dports/games/flightgear/flightgear-2020.3.11/src/Main/
H A DXLIFFParser.cxx105 const auto slashPos = _unitId.find('/'); in finishTransUnit() local
108 if (slashPos == std::string::npos) { in finishTransUnit()
114 const auto res = _unitId.substr(0, slashPos); in finishTransUnit()
124 const auto id = _unitId.substr(slashPos + 1, indexPos - (slashPos + 1)); in finishTransUnit()
/dports/archivers/ppmd-7z/p7zip_9.04/CPP/7zip/Common/
H A DFilePathAutoRename.cpp30 int slashPos = fullProcessedPath.ReverseFind(L'/'); in AutoRenamePath() local
33 slashPos = MyMax(slashPos, slash1Pos); in AutoRenamePath()
37 if (dotPos > slashPos && dotPos > 0) in AutoRenamePath()
/dports/sysutils/squashfs-tools/CPP/7zip/Common/
H A DFilePathAutoRename.cpp30 int slashPos = fullProcessedPath.ReverseFind(FTEXT('/')); in AutoRenamePath() local
33 slashPos = MyMax(slashPos, slash1Pos); in AutoRenamePath()
37 if (dotPos > slashPos && dotPos > 0) in AutoRenamePath()
/dports/www/firefox-legacy/firefox-52.8.0esr/other-licenses/7zstub/src/7zip/Common/
H A DFilePathAutoRename.cpp30 int slashPos = fullProcessedPath.ReverseFind(L'/'); in AutoRenamePath() local
33 slashPos = MyMax(slashPos, slash1Pos); in AutoRenamePath()
37 if (dotPos > slashPos && dotPos > 0) in AutoRenamePath()
/dports/net-mgmt/whatmask/whatmask-1.2/
H A Dmain.c44 char* slashPos; local
122 slashPos = strchr(inStrPtr, '/');
123 if(slashPos != NULL )
129 slashPos[0] = '\0'; /* terminate the ip string by putting a null in place of the slash */
131 retVal = whatnet_main(inStrPtr, slashPos + 1);
/dports/x11-toolkits/qt5-declarative-test/kde-qtdeclarative-5.15.2p41/src/plugins/qmltooling/qmldbg_preview/
H A Dqqmlpreviewfileengine.cpp227 int slashPos = m_name.lastIndexOf('/'); in fileName() local
228 if (slashPos == -1) in fileName()
230 return m_name.mid(slashPos + 1); in fileName()
233 const int slashPos = path.lastIndexOf('/'); in fileName() local
234 if (slashPos == -1) in fileName()
236 else if (slashPos == 0) in fileName()
238 return path.left(slashPos); in fileName()
241 const int slashPos = m_absolute.lastIndexOf('/'); in fileName() local
242 if (slashPos != -1) in fileName()
243 return m_absolute.left(slashPos); in fileName()
/dports/x11-toolkits/qt5-declarative/kde-qtdeclarative-5.15.2p41/src/plugins/qmltooling/qmldbg_preview/
H A Dqqmlpreviewfileengine.cpp227 int slashPos = m_name.lastIndexOf('/'); in fileName() local
228 if (slashPos == -1) in fileName()
230 return m_name.mid(slashPos + 1); in fileName()
233 const int slashPos = path.lastIndexOf('/'); in fileName() local
234 if (slashPos == -1) in fileName()
236 else if (slashPos == 0) in fileName()
238 return path.left(slashPos); in fileName()
241 const int slashPos = m_absolute.lastIndexOf('/'); in fileName() local
242 if (slashPos != -1) in fileName()
243 return m_absolute.left(slashPos); in fileName()
/dports/mail/libvmime/vmime-0.9.2/src/vmime/utility/
H A Durl.cpp167 size_t slashPos = str.find('/', protoEnd + 3); in parse() local
168 if (slashPos == string::npos) slashPos = str.length(); in parse()
170 size_t atPos = str.rfind('@', slashPos); in parse()
179 slashPos = protoEnd + 3; in parse()
183 if (atPos != string::npos && atPos < slashPos) in parse()
198 hostPart = string(str.begin() + atPos + 1, str.begin() + slashPos); in parse()
202 hostPart = string(str.begin() + protoEnd + 3, str.begin() + slashPos); in parse()
223 string path = utility::stringUtils::trim(string(str.begin() + slashPos, str.end())); in parse()
/dports/www/typo3-11/typo3_src-11.5.7/vendor/symfony/finder/
H A DGitignore.php71 $slashPos = strpos($gitignoreLine, '/');
72 if (false !== $slashPos && \strlen($gitignoreLine) - 1 !== $slashPos) {
73 if (0 === $slashPos) {
/dports/archivers/7-zip/7-zip-21.07/CPP/7zip/UI/Far/
H A DOverwriteDialogFar.cpp82 int slashPos = oldName2.ReverseFind_PathSepar(); in Execute() local
83 UString pref1 = oldName2.Left(slashPos + 1); in Execute()
84 UString name1 = oldName2.Ptr(slashPos + 1); in Execute()
86 slashPos = newName2.ReverseFind_PathSepar(); in Execute()
87 UString pref2 = newName2.Left(slashPos + 1); in Execute()
88 UString name2 = newName2.Ptr(slashPos + 1); in Execute()
/dports/archivers/maxcso/maxcso-1.10.0/7zip/CPP/7zip/UI/Far/
H A DOverwriteDialogFar.cpp82 int slashPos = oldName2.ReverseFind_PathSepar(); in Execute() local
83 UString pref1 = oldName2.Left(slashPos + 1); in Execute()
84 UString name1 = oldName2.Ptr(slashPos + 1); in Execute()
86 slashPos = newName2.ReverseFind_PathSepar(); in Execute()
87 UString pref2 = newName2.Left(slashPos + 1); in Execute()
88 UString name2 = newName2.Ptr(slashPos + 1); in Execute()
/dports/x11/plasma5-plasma-workspace/plasma-workspace-5.23.5/kcms/kfontinst/lib/
H A DMisc.cpp40 int slashPos(ds.lastIndexOf('/')); in dirSyntax() local
42 if (slashPos != (((int)ds.length()) - 1)) { in dirSyntax()
59 int slashPos(ds.lastIndexOf('/')); in fileSyntax() local
61 if (slashPos == (((int)ds.length()) - 1)) { in fileSyntax()
62 ds.remove(slashPos, 1); in fileSyntax()
74 int slashPos(d.lastIndexOf('/')); in getDir() local
76 if (slashPos != -1) { in getDir()
77 d.remove(slashPos + 1, d.length()); in getDir()
87 int slashPos = d.lastIndexOf('/'); in getFile() local
89 if (slashPos != -1) { in getFile()
[all …]
/dports/audio/kid3-kf5/kid3-3.8.6/src/core/model/
H A Ddirrenamer.cpp219 int slashPos = parent.lastIndexOf(QLatin1Char('/')); in parentDirectory() local
220 if (slashPos != -1) { in parentDirectory()
221 parent.truncate(slashPos + 1); in parentDirectory()
556 int slashPos = newPart.indexOf(QLatin1Char('/'), 1); in scheduleAction() local
557 if (slashPos != -1 && slashPos != newPart.length() - 1) { in scheduleAction()
558 newPart.truncate(slashPos); in scheduleAction()
579 int slashPos = newPart.indexOf(QLatin1Char('/')); in scheduleAction() local
580 if (slashPos != -1 && slashPos != newPart.length() - 1) { in scheduleAction()
581 newPart.truncate(slashPos); in scheduleAction()
/dports/audio/kid3-qt5/kid3-3.8.6/src/core/model/
H A Ddirrenamer.cpp219 int slashPos = parent.lastIndexOf(QLatin1Char('/')); in parentDirectory() local
220 if (slashPos != -1) { in parentDirectory()
221 parent.truncate(slashPos + 1); in parentDirectory()
556 int slashPos = newPart.indexOf(QLatin1Char('/'), 1); in scheduleAction() local
557 if (slashPos != -1 && slashPos != newPart.length() - 1) { in scheduleAction()
558 newPart.truncate(slashPos); in scheduleAction()
579 int slashPos = newPart.indexOf(QLatin1Char('/')); in scheduleAction() local
580 if (slashPos != -1 && slashPos != newPart.length() - 1) { in scheduleAction()
581 newPart.truncate(slashPos); in scheduleAction()
/dports/devel/cmake-gui/cmake-3.22.1/Source/
H A DcmQtAutoGen.cxx169 auto slashPos = filename.rfind('/'); in FileNameWithoutLastExtension() local
170 if (slashPos != cm::string_view::npos) { in FileNameWithoutLastExtension()
171 filename.remove_prefix(slashPos + 1); in FileNameWithoutLastExtension()
179 auto slashPos = filename.rfind('/'); in ParentDir() local
180 if (slashPos == cm::string_view::npos) { in ParentDir()
183 return std::string(filename.substr(0, slashPos)); in ParentDir()
188 auto slashPos = filename.rfind('/'); in SubDirPrefix() local
189 if (slashPos == cm::string_view::npos) { in SubDirPrefix()
192 return std::string(filename.substr(0, slashPos + 1)); in SubDirPrefix()

12345678910>>...20