/dports/security/keepass/KeePass-2.49-Source/KeePass/Util/ |
H A D | AppLocator.cs | 118 if((strPath != null) && (strPath.Length == 0)) strPath = null; in GetPath() 212 if(!string.IsNullOrEmpty(strPath)) return strPath; in FindFirefox() 259 strPath = strPath.Trim(); in FindFirefoxWin() 260 strPath = UrlUtil.GetQuotedAppPath(strPath).Trim(); in FindFirefoxWin() 303 if(!string.IsNullOrEmpty(strPath)) return strPath; in FindOpera() 354 strPath = strPath.Trim(); in FindChromeNew() 355 strPath = UrlUtil.GetQuotedAppPath(strPath).Trim(); in FindChromeNew() 374 strPath = strPath.Trim(); in FindChromeOld() 375 strPath = UrlUtil.GetQuotedAppPath(strPath).Trim(); in FindChromeOld() 393 strPath = strPath.Trim(); in FindSafari() [all …]
|
/dports/security/keepass/KeePass-2.49-Source/KeePassLib/Utility/ |
H A D | UrlUtil.cs | 116 Debug.Assert(strPath != null); if(strPath == null) throw new ArgumentNullException("strPath"); in GetFileName() 173 int nLength = strPath.Length; in EnsureTerminatingSeparator() 178 return strPath; in EnsureTerminatingSeparator() 266 string str = strPath.Trim(); in GetQuotedAppPath() 448 if(IsUncPath(strPath)) in GetShortestAbsolutePath() 450 char chSep = strPath[0]; in GetShortestAbsolutePath() 638 strPath = strPath.Replace('/', chSeparator); in ConvertSeparators() 639 strPath = strPath.Replace('\\', chSeparator); in ConvertSeparators() 641 return strPath; in ConvertSeparators() 648 return (strPath.StartsWith("\\\\") || strPath.StartsWith("//")); in IsUncPath() [all …]
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/ |
H A D | MediaSource.cpp | 30 strPath.clear(); in FromNameAndPaths() 34 strPath = paths[0]; in FromNameAndPaths() 48 if (URIUtils::IsMultiPath(strPath)) in FromNameAndPaths() 53 strPath = "D:\\"; in FromNameAndPaths() 57 else if (URIUtils::IsDVD(strPath)) in FromNameAndPaths() 59 else if (URIUtils::IsRemote(strPath)) in FromNameAndPaths() 61 else if (URIUtils::IsHD(strPath)) in FromNameAndPaths() 67 strPath = CURL(strPath).Get(); in FromNameAndPaths() 73 if (strPath != share.strPath) in operator ==() 88 if (StringUtils::EqualsNoCase(sources[j].strPath, extras[i].strPath)) in AddOrReplace() [all …]
|
/dports/lang/fpc-source/fpc-3.2.2/tests/webtbs/ |
H A D | tw10717.pp | 106 [strPath, ExtractFilePath(strPath)])); 108 [strPath, ExtractFileName(strPath)])); 110 [strPath, ExtractFileDrive(strPath)])); 112 [strPath, IncludeTrailingPathDelimiter(strPath)])); 114 [strPath, ExcludeTrailingPathDelimiter(strPath)])); 116 …if (Format('ExtractFilePath on ''%s'' = ''%s''',[strPath, ExtractFilePath(strPath)]) <> results[1]… 118 writeln('ExtractFilePath: ',ExtractFilePath(strPath)); 122 …if (Format('ExtractFileName on ''%s'' = ''%s''',[strPath, ExtractFileName(strPath)]) <> results[2]… 128 …if (Format('ExtractFileDrive on ''%s'' = ''%s''',[strPath, ExtractFileDrive(strPath)]) <> results[… 134 …at('IncludeTrailingPathDelimiter on ''%s'' = ''%s''',[strPath, IncludeTrailingPathDelimiter(strPat… [all …]
|
/dports/devel/pear-phing/phing-2.6.1/system/io/ |
H A D | Win32FileSystem.php | 120 return $strPath; 141 $c = $strPath{$src++}; 188 * @param string $strPath 191 function normalize($strPath) { argument 196 $n = strlen($strPath); 201 $c = $strPath{$i}; 216 return $strPath; 219 function prefixLength($strPath) { argument 224 $path = (string) $strPath; 286 function fromURIPath($strPath) { argument [all …]
|
H A D | FileSystem.php | 114 * @param string $strPath 116 abstract function normalize($strPath); argument 172 * @param string $strPath 175 function canonicalize($strPath) { argument 212 $strPath = (string) $f->getPath(); 217 if (!@file_exists($strPath) && !is_dir($strPath)) { 218 $strPath = $f->getParent(); 219 if ($strPath === null || !is_dir($strPath)) { 262 if (@is_link($strPath)) { 263 $stats = @lstat($strPath); [all …]
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/filesystem/ |
H A D | VirtualDirectory.cpp | 61 std::string strPath = url.Get(); in GetDirectory() local 65 if (!strPath.empty() && strPath != "files://") in GetDirectory() 77 if (strPath.empty()) in GetDirectory() 81 items.SetPath(strPath); in GetDirectory() 105 std::string strPathCpy = strPath; in IsSource() 122 std::string strShare = share.strPath; in IsSource() 155 if (URIUtils::IsOnDVD(share.strPath) && in IsInSource() 156 URIUtils::PathHasParent(path, share.strPath)) in IsInSource() 183 share.strPath = "cdda://local/"; in GetSources() 190 if (!share.strPath.length()) // unmounted CD in GetSources() [all …]
|
H A D | DirectoryCache.cpp | 62 std::string storedPath = CURL(strPath).GetWithoutOptions(); in GetDirectory() 102 std::string storedPath = CURL(strPath).GetWithoutOptions(); in SetDirectory() 124 void CDirectoryCache::ClearDirectory(const std::string& strPath) in ClearDirectory() argument 129 std::string storedPath = CURL(strPath).GetWithoutOptions(); in ClearDirectory() 137 void CDirectoryCache::ClearSubPaths(const std::string& strPath) in ClearSubPaths() argument 142 std::string storedPath = CURL(strPath).GetWithoutOptions(); in ClearSubPaths() 160 URIUtils::RemoveSlashAtEnd(strPath); in AddFile() 162 ciCache i = m_cache.find(strPath); in AddFile() 178 std::string strPath = CURL(strFile).GetWithoutOptions(); in FileExists() local 179 URIUtils::RemoveSlashAtEnd(strPath); in FileExists() [all …]
|
/dports/news/husky-fidoconf/husky-fidoconf-1.9.20191207/diskpoll/src/ |
H A D | cinbound.cc | 16 if (!(strPath.charAt(strPath.Length()-1)==':'|| in makevalidpath() 17 strPath.charAt(strPath.Length()-1)=='\\'|| in makevalidpath() 18 strPath.charAt(strPath.Length()-1)=='/')) in makevalidpath() 19 strPath+='/'; in makevalidpath() 81 CInbound::CInbound():strPath(){ makevalidpath(); receivedAnything = 0;} in CInbound() 82 CInbound::CInbound(const CString&r):strPath(r) in CInbound() 109 strDestname=makeNewFilename(strPath+strName); in Receive() 114 (const char *)strPath, (const char *)strName); in Receive()
|
/dports/news/husky-htick/husky-htick-1.9.20191207/diskpoll/src/ |
H A D | cinbound.cc | 16 if (!(strPath.charAt(strPath.Length()-1)==':'|| in makevalidpath() 17 strPath.charAt(strPath.Length()-1)=='\\'|| in makevalidpath() 18 strPath.charAt(strPath.Length()-1)=='/')) in makevalidpath() 19 strPath+='/'; in makevalidpath() 81 CInbound::CInbound():strPath(){ makevalidpath(); receivedAnything = 0;} in CInbound() 82 CInbound::CInbound(const CString&r):strPath(r) in CInbound() 109 strDestname=makeNewFilename(strPath+strName); in Receive() 114 (const char *)strPath, (const char *)strName); in Receive()
|
/dports/news/husky/husky-1.9.20191207/diskpoll/src/ |
H A D | cinbound.cc | 16 if (!(strPath.charAt(strPath.Length()-1)==':'|| in makevalidpath() 17 strPath.charAt(strPath.Length()-1)=='\\'|| in makevalidpath() 18 strPath.charAt(strPath.Length()-1)=='/')) in makevalidpath() 19 strPath+='/'; in makevalidpath() 81 CInbound::CInbound():strPath(){ makevalidpath(); receivedAnything = 0;} in CInbound() 82 CInbound::CInbound(const CString&r):strPath(r) in CInbound() 109 strDestname=makeNewFilename(strPath+strName); in Receive() 114 (const char *)strPath, (const char *)strName); in Receive()
|
/dports/news/husky-smapi/husky-smapi-1.9.20191207,1/diskpoll/src/ |
H A D | cinbound.cc | 16 if (!(strPath.charAt(strPath.Length()-1)==':'|| in makevalidpath() 17 strPath.charAt(strPath.Length()-1)=='\\'|| in makevalidpath() 18 strPath.charAt(strPath.Length()-1)=='/')) in makevalidpath() 19 strPath+='/'; in makevalidpath() 81 CInbound::CInbound():strPath(){ makevalidpath(); receivedAnything = 0;} in CInbound() 82 CInbound::CInbound(const CString&r):strPath(r) in CInbound() 109 strDestname=makeNewFilename(strPath+strName); in Receive() 114 (const char *)strPath, (const char *)strName); in Receive()
|
/dports/news/husky-hpt/husky-hpt-1.9.20191207/diskpoll/src/ |
H A D | cinbound.cc | 16 if (!(strPath.charAt(strPath.Length()-1)==':'|| in makevalidpath() 17 strPath.charAt(strPath.Length()-1)=='\\'|| in makevalidpath() 18 strPath.charAt(strPath.Length()-1)=='/')) in makevalidpath() 19 strPath+='/'; in makevalidpath() 81 CInbound::CInbound():strPath(){ makevalidpath(); receivedAnything = 0;} in CInbound() 82 CInbound::CInbound(const CString&r):strPath(r) in CInbound() 109 strDestname=makeNewFilename(strPath+strName); in Receive() 114 (const char *)strPath, (const char *)strName); in Receive()
|
/dports/news/husky-sqpack/husky-sqpack-1.9.20191207/diskpoll/src/ |
H A D | cinbound.cc | 16 if (!(strPath.charAt(strPath.Length()-1)==':'|| in makevalidpath() 17 strPath.charAt(strPath.Length()-1)=='\\'|| in makevalidpath() 18 strPath.charAt(strPath.Length()-1)=='/')) in makevalidpath() 19 strPath+='/'; in makevalidpath() 81 CInbound::CInbound():strPath(){ makevalidpath(); receivedAnything = 0;} in CInbound() 82 CInbound::CInbound(const CString&r):strPath(r) in CInbound() 109 strDestname=makeNewFilename(strPath+strName); in Receive() 114 (const char *)strPath, (const char *)strName); in Receive()
|
/dports/news/husky-huskylib/husky-huskylib-1.9.20191207/diskpoll/src/ |
H A D | cinbound.cc | 16 if (!(strPath.charAt(strPath.Length()-1)==':'|| in makevalidpath() 17 strPath.charAt(strPath.Length()-1)=='\\'|| in makevalidpath() 18 strPath.charAt(strPath.Length()-1)=='/')) in makevalidpath() 19 strPath+='/'; in makevalidpath() 81 CInbound::CInbound():strPath(){ makevalidpath(); receivedAnything = 0;} in CInbound() 82 CInbound::CInbound(const CString&r):strPath(r) in CInbound() 109 strDestname=makeNewFilename(strPath+strName); in Receive() 114 (const char *)strPath, (const char *)strName); in Receive()
|
/dports/news/husky-areafix/husky-areafix-1.9.20191207/diskpoll/src/ |
H A D | cinbound.cc | 16 if (!(strPath.charAt(strPath.Length()-1)==':'|| in makevalidpath() 17 strPath.charAt(strPath.Length()-1)=='\\'|| in makevalidpath() 18 strPath.charAt(strPath.Length()-1)=='/')) in makevalidpath() 19 strPath+='/'; in makevalidpath() 81 CInbound::CInbound():strPath(){ makevalidpath(); receivedAnything = 0;} in CInbound() 82 CInbound::CInbound(const CString&r):strPath(r) in CInbound() 109 strDestname=makeNewFilename(strPath+strName); in Receive() 114 (const char *)strPath, (const char *)strName); in Receive()
|
/dports/databases/pgbackrest/pgbackrest-release-2.35/test/lib/pgBackRestTest/Common/ |
H A D | StorageBase.pm | 139 $strPath 152 if (index($strPath, '/') == 0) 154 $strAbsolutePath = $strPath; 165 while (index($strPath, '..') == 0) 168 $strPath = substr($strPath, 2); 170 if (index($strPath, '/') == 0) 172 $strPath = substr($strPath, 1); 176 $strAbsolutePath = "${strBasePath}/${strPath}";
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/addons/interfaces/gui/dialogs/ |
H A D | FileBrowser.cpp | 71 std::string strPath = path_in; in show_and_get_directory() local 77 *path_out = strdup(strPath.c_str()); in show_and_get_directory() 108 std::string strPath = path_in; in show_and_get_file() local 115 *path_out = strdup(strPath.c_str()); in show_and_get_file() 147 std::string strPath = path_in; in show_and_get_file_from_dir() local 151 *path_out = strdup(strPath.c_str()); in show_and_get_file_from_dir() 225 std::string strPath = path_in; in show_and_get_source() local 260 std::string strPath = path_in; in show_and_get_image() local 391 std::string basePath = strPath; in GetVECShares() 395 share.strPath = basePath; in GetVECShares() [all …]
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/guilib/ |
H A D | GUIFontManager.cpp | 79 if (!XFILE::CFile::Exists(strPath)) in CheckFont() 81 strPath = URIUtils::AddFileToFolder(newPath,filename); in CheckFont() 83 strPath = CSpecialProtocol::TranslatePathConvertCase(strPath); in CheckFont() 107 std::string strPath; in LoadTTF() local 113 strPath = strFilename; in LoadTTF() 116 strPath = CSpecialProtocol::TranslatePathConvertCase(strPath); in LoadTTF() 122 !CheckFont(strPath, "special://xbmc/media/Fonts", file)) in LoadTTF() 129 if (font->GetFont(file, strPath)) in LoadTTF() 169 fontInfo.fontFilePath = strPath; in LoadTTF() 223 std::string& strPath = fontInfo.fontFilePath; in ReloadTTFFonts() local [all …]
|
/dports/www/dddbl/dddbl2/ |
H A D | dddbl.php | 114 function walkDirForCallback($strPath, $strCallback, $strFilenameMatch) { argument 116 if(!is_string($strPath)) 117 throw new UnexpectedParameterTypeException('string', $strPath); 125 if(!is_dir($strPath)) 126 throw new \Exception ('given path is not an directory: ' . $strPath); 128 $resDirHandle = opendir($strPath); 131 throw new \Exception ('could not read directory: ' . $strPath); 134 if(is_file($strPath.$strFile) && fnmatch($strFilenameMatch, $strFile)) 135 call_user_func_array($strCallback, array($strPath.$strFile));
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/video/tags/ |
H A D | VideoTagLoaderNFO.cpp | 101 std::string strPath = URIUtils::GetDirectory(url.GetHostName()); in FindNFO() local 102 item2.SetPath(URIUtils::AddFileToFolder(strPath, in FindNFO() 108 std::string strPath = URIUtils::GetDirectory(item.GetPath()); in FindNFO() local 112 nfoFile = URIUtils::AddFileToFolder(strPath, "movie.nfo"); in FindNFO() 150 URIUtils::RemoveSlashAtEnd(strPath); // need no slash for the check that follows in FindNFO() 152 if (StringUtils::EndsWithNoCase(strPath, "cd1")) in FindNFO() 154 strPath.erase(strPath.size() - 3); in FindNFO() 172 std::string strPath; in FindNFO() local 174 strPath = item.GetPath(); in FindNFO() 176 strPath = URIUtils::GetDirectory(item.GetPath()); in FindNFO() [all …]
|
/dports/x11/plasma5-plasma-desktop/plasma-desktop-5.23.5/kcms/keyboard/ |
H A D | xkb_rules.cpp | 245 QString strPath = path.join(QLatin1String("/")); in startElement() local 246 if (strPath.endsWith(QLatin1String("layoutList/layout/configItem"))) { in startElement() 248 } else if (strPath.endsWith(QLatin1String("layoutList/layout/variantList/variant"))) { in startElement() 250 } else if (strPath.endsWith(QLatin1String("modelList/model"))) { in startElement() 252 } else if (strPath.endsWith(QLatin1String("optionList/group"))) { in startElement() 255 } else if (strPath.endsWith(QLatin1String("optionList/group/option"))) { in startElement() 273 QString strPath = path.join(QLatin1String("/")); in characters() local 274 if (strPath.endsWith(QLatin1String("layoutList/layout/configItem/name"))) { in characters() 288 } else if (strPath.endsWith(QLatin1String("modelList/model/configItem/name"))) { in characters() 292 } else if (strPath.endsWith(QLatin1String("modelList/model/configItem/vendor"))) { in characters() [all …]
|
/dports/databases/pgbackrest/pgbackrest-release-2.35/doc/lib/pgBackRestDoc/Common/ |
H A D | DocRender.pm | 245 if (substr($strPath, 0, 1) ne '/') 257 $self->required($strPath); 354 my $strPath = shift; 392 if (defined($strPath)) 400 ${$self->{oSection}}{$strPath} = $oNode; 401 $oNode->paramSet('path', $strPath); 499 $strPathPrefix = $strPath; 617 my $strPath = shift; 621 my $oNode = ${$self->{oSection}}{$strPath}; 634 if ($strChildPath =~ /^$strPath$/ || $strChildPath =~ /^$strPath\/.*$/) [all …]
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/platform/win32/storage/ |
H A D | Win32StorageProvider.cpp | 56 share.strPath = KODI::PLATFORM::WINDOWS::FromW(profilePath); in GetLocalDrives() 79 return strdevice.append(vShare.front().strPath); in GetFirstOpticalDeviceFileName() 216 share.strPath= share.strName= ""; in GetDrivesByType() 225 share.strPath = FromW(strWdrive); in GetDrivesByType() 232 share.strName = share.strPath; in GetDrivesByType() 251 share.strName = share.strPath; in GetDrivesByType() 258 StringUtils::Replace(share.strPath, ":\\", ":"); in GetDrivesByType() 357 : m_strPath(strPath), m_bautorun(bautorun) in CDetectDisc() 366 share.strPath = m_strPath; in DoWork() 369 if (CServiceBroker::GetMediaManager().IsAudio(share.strPath)) in DoWork() [all …]
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/cores/DllLoader/ |
H A D | DllLoaderContainer.cpp | 104 std::string strPath=sCurrentDir; in LoadModule() local 105 strPath+=sName; in LoadModule() 106 pDll = GetModule(strPath.c_str()); in LoadModule() 152 std::string strPath=sCurrentDir; in FindModule() local 153 strPath+=sName; in FindModule() 155 if (CFile::Exists(strPath)) in FindModule() 156 return LoadDll(strPath.c_str(), bLoadSymbols); in FindModule() 174 std::string strPath = *i; in FindModule() local 175 URIUtils::AddSlashAtEnd(strPath); in FindModule() 181 strPath+=sName; in FindModule() [all …]
|