/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml/tests/XmlReaderLib/ |
H A D | TestFiles.cs | 212 CreateByteTestFile(strFileName); in CreateTestFile() 221 CreateJunkTestFile(strFileName); in CreateTestFile() 251 CreateXDRTestFile(strFileName); in CreateTestFile() 255 CreateXDRTestFile(strFileName); in CreateTestFile() 299 FilePathUtil.addStream(strFileName, s); in CreateByteTestFile() 342 FilePathUtil.addStream(strFileName, s); in CreateWhitespaceHandlingTestFile() 350 CreateGenericTestFile(strFileName); in CreateGenericXsltTestFile() 528 FilePathUtil.addStream(strFileName, s); in CreateGenericTestFile() 569 FilePathUtil.addStream(strFileName, s); in CreateInvalidNamespaceTestFile() 590 FilePathUtil.addStream(strFileName, s); in CreateNamespaceTestFile() [all …]
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/filesystem/ |
H A D | OverrideFile.cpp | 30 std::string strFileName = TranslatePath(url); in Open() local 32 return m_file.Open(strFileName); in Open() 40 std::string strFileName = TranslatePath(url); in OpenForWrite() local 50 std::string strFileName = TranslatePath(url); in Delete() local 52 return m_file.Delete(strFileName); in Delete() 57 std::string strFileName = TranslatePath(url); in Exists() local 59 return m_file.Exists(strFileName); in Exists() 64 std::string strFileName = TranslatePath(url); in Stat() local 66 return m_file.Stat(strFileName, buffer); in Stat() 74 std::string strFileName = TranslatePath(url); in Rename() local [all …]
|
H A D | VideoDatabaseFile.cpp | 27 std::string strFileName = URIUtils::GetFileName(url.Get()); in GetVideoTag() local 28 if (strFileName.empty()) in GetVideoTag() 31 URIUtils::RemoveExtension(strFileName); in GetVideoTag() 32 if (!StringUtils::IsNaturalNumber(strFileName)) in GetVideoTag() 34 long idDb = atol(strFileName.c_str()); in GetVideoTag() 76 std::string strFileName = URIUtils::GetFileName(url.Get()); in TranslatePath() local 77 if (strFileName.empty()) in TranslatePath() 80 URIUtils::RemoveExtension(strFileName); in TranslatePath() 81 if (!StringUtils::IsNaturalNumber(strFileName)) in TranslatePath() 83 long idDb = atol(strFileName.c_str()); in TranslatePath()
|
H A D | MusicDatabaseFile.cpp | 31 std::string strFileName=URIUtils::GetFileName(url.Get()); in TranslateUrl() local 32 std::string strExtension = URIUtils::GetExtension(strFileName); in TranslateUrl() 33 URIUtils::RemoveExtension(strFileName); in TranslateUrl() 35 if (!StringUtils::IsNaturalNumber(strFileName)) in TranslateUrl() 38 int idSong = atoi(strFileName.c_str()); in TranslateUrl() 45 if (!URIUtils::HasExtension(song.strFileName, strExtension)) in TranslateUrl() 48 return song.strFileName; in TranslateUrl()
|
H A D | MusicFileDirectory.cpp | 28 std::string strFileName; in GetDirectory() local 29 strFileName = URIUtils::GetFileName(strPath); in GetDirectory() 30 URIUtils::RemoveExtension(strFileName); in GetDirectory() 38 …std::string strLabel = StringUtils::Format("%s - %s %2.2i", strFileName.c_str(), g_localizeStrings… in GetDirectory() 40 …strLabel = StringUtils::Format("%s%s-%i.%s", strPath.c_str(), strFileName.c_str(), i+1, m_strExt.c… in GetDirectory()
|
H A D | File.h | 67 bool Open(const std::string& strFileName, const unsigned int flags = 0); 70 bool OpenForWrite(const std::string& strFileName, bool bOverWrite = false); 133 static bool Exists(const std::string& strFileName, bool bUseCache = true); 146 static int Stat(const std::string& strFileName, struct __stat64* buffer); 159 static bool Delete(const std::string& strFileName); 160 static bool Rename(const std::string& strFileName, const std::string& strNewFileName); 161 …static bool Copy(const std::string& strFileName, const std::string& strDest, XFILE::IFileCallback*…
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/playlists/ |
H A D | PlayListM3U.cpp | 60 bool CPlayListM3U::Load(const std::string& strFileName) in Load() argument 73 m_strPlayListName = URIUtils::GetFileName(strFileName); in Load() 74 URIUtils::GetParentPath(strFileName, m_strBasePath); in Load() 77 if (!file.Open(strFileName) ) in Load() 140 std::string strFileName = strLine; in Load() local 142 if (!strFileName.empty() && strFileName[0] == '#') in Load() 150 if (strFileName.length() > 0) in Load() 152 g_charsetConverter.unknownToUTF8(strFileName); in Load() 161 strFileName = URIUtils::SubstitutePath(strFileName); in Load() 166 newItem->SetPath(strFileName); in Load() [all …]
|
H A D | PlayListB4S.cpp | 71 std::string strFileName = XMLUtils::GetAttribute(pEntryElement, "Playstring"); in LoadData() local 72 size_t iColon = strFileName.find(':'); in LoadData() 76 strFileName.erase(0, iColon); in LoadData() 78 if (strFileName.size()) in LoadData() 90 strFileName = URIUtils::SubstitutePath(strFileName); in LoadData() 91 CUtil::GetQualifiedFilename(m_strBasePath, strFileName); in LoadData() 93 newItem->SetPath(strFileName); in LoadData() 103 void CPlayListB4S::Save(const std::string& strFileName) const in Save() 106 std::string strPlaylist = strFileName; in Save()
|
H A D | PlayListXML.cpp | 70 bool CPlayListXML::Load( const std::string& strFileName ) in Load() argument 74 m_strPlayListName = URIUtils::GetFileName(strFileName); in Load() 75 URIUtils::GetParentPath(strFileName, m_strBasePath); in Load() 80 if ( !xmlDoc.LoadFile( strFileName ) ) in Load() 82 CLog::Log(LOGERROR, "Playlist %s has invalid format/malformed xml", strFileName.c_str()); in Load() 91 CLog::Log(LOGERROR, "Playlist %s has no <streams> root", strFileName.c_str()); in Load() 147 …LOGERROR, "Playlist entry %s in file %s has missing <url> tag", name.c_str(), strFileName.c_str()); in Load() 156 void CPlayListXML::Save(const std::string& strFileName) const in Save() 159 std::string strPlaylist = CUtil::MakeLegalPath(strFileName); in Save()
|
H A D | PlayListPLS.cpp | 53 std::string strFileName(strFile); in Load() local 54 m_strPlayListName = URIUtils::GetFileName(strFileName); in Load() 59 if( StringUtils::StartsWithNoCase(strFileName, "shout://") ) in Load() 61 strFileName.replace(0, 8, "http://"); in Load() 66 URIUtils::GetParentPath(strFileName, m_strBasePath); in Load() 69 if (!file.Open(strFileName) ) in Load() 132 URIUtils::GetFileName(strFileName))) in Load() 199 void CPlayListPLS::Save(const std::string& strFileName) const in Save() 202 std::string strPlaylist = CUtil::MakeLegalPath(strFileName); in Save() 218 std::string strFileName=item->GetPath(); in Save() local [all …]
|
H A D | PlayListXSPF.cpp | 46 bool CPlayListXSPF::Load(const std::string& strFileName) in Load() argument 50 if (!xmlDoc.LoadFile(strFileName)) in Load() 52 …CLog::Log(LOGERROR, "Error parsing XML file %s (%d, %d): %s", strFileName.c_str(), xmlDoc.ErrorRow… in Load() 59 …CLog::Log(LOGERROR, "Error parsing XML file %s: missing root element %s", strFileName.c_str(), PLA… in Load() 66 …CLog::Log(LOGERROR, "Error parsing XML file %s: missing element %s", strFileName.c_str(), TRACKLIS… in Load() 71 URIUtils::GetParentPath(strFileName, m_strBasePath); in Load()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml.Linq/tests/XDocument.Common/ |
H A D | BridgeHelpers.cs | 537 public static void DeleteTestFile(string strFileName) in DeleteTestFile() argument 541 public static void CreateByteTestFile(string strFileName) in CreateByteTestFile() argument 543 FilePathUtil.addStream(strFileName, new MemoryStream()); in CreateByteTestFile() 552 FilePathUtil.addStream(strFileName, new MemoryStream()); in CreateUTF8EncodedTestFile() 565 FilePathUtil.addStream(strFileName, new MemoryStream()); in CreateEncodedTestFile() 577 FilePathUtil.addStream(strFileName, new MemoryStream()); in CreateWhitespaceHandlingTestFile() 597 CreateGenericTestFile(strFileName); in CreateGenericXsltTestFile() 600 public static void CreateGenericTestFile(string strFileName) in CreateGenericTestFile() argument 602 FilePathUtil.addStream(strFileName, new MemoryStream()); in CreateGenericTestFile() 898 public static void CreateXDRTestFile(string strFileName) in CreateXDRTestFile() argument [all …]
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/addons/binary-addons/ |
H A D | AddonDll.cpp | 51 std::string strFileName = libPath; in GetDllPath() local 59 if (XFILE::CFile::Exists(strFileName)) in GetDllPath() 81 strFileName = dstfile; in GetDllPath() 101 strAltFileName = strFileName; in GetDllPath() 109 strFileName = strAltFileName; in GetDllPath() 115 strFileName = tempbin + strFileName; in GetDllPath() 119 strFileName.clear(); in GetDllPath() 124 return strFileName; in GetDllPath() 137 std::string strFileName = LibPath(); in LoadDll() local 138 if (strFileName.empty()) in LoadDll() [all …]
|
/dports/net-mgmt/nagiosql/nagiosql-365d4e0b5edc623b12ea96e8002e8ac66aad6aac/admin/ |
H A D | cgicfg.php | 80 $strFileName = tempnam($_SESSION['SETS']['path']['tempdir'], 'nagiosql_cgi'); variable 81 $resFile = fopen($strFileName, 'wb'); 85 $intReturn2 = $myConfigClass->remoteFileCopy($strConfigfile, $intConfigId, $strFileName, 1); 90 unlink($strFileName); 95 unlink($strFileName); 127 $strFileName = tempnam($_SESSION['SETS']['path']['tempdir'], 'nagiosql_cgi'); variable 130 $intReturn = $myConfigClass->remoteFileCopy($strConfigfile, $intConfigId, $strFileName, 0); 132 $resFile = fopen($strFileName, 'rb'); 137 unlink($strFileName); 144 if (file_exists($strFileName)) { [all …]
|
H A D | nagioscfg.php | 80 $strFileName = tempnam($_SESSION['SETS']['path']['tempdir'], 'nagiosql_conf'); variable 81 $resFile = fopen($strFileName, 'wb'); 85 $intReturn2 = $myConfigClass->remoteFileCopy($strConfigfile, $intConfigId, $strFileName, 1); 90 unlink($strFileName); 95 unlink($strFileName); 127 $strFileName = tempnam($_SESSION['SETS']['path']['tempdir'], 'nagiosql_conf'); variable 129 $intReturn = $myConfigClass->remoteFileCopy($strConfigfile, $intConfigId, $strFileName, 0); 131 $resFile = fopen($strFileName, 'rb'); 136 unlink($strFileName); 143 if (file_exists($strFileName)) { [all …]
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/objtools/blast/gene_info_reader/ |
H A D | file_utils.cpp | 75 bool CGeneFileUtils::OpenTextInputFile(const string& strFileName, in OpenTextInputFile() argument 78 if (!CheckExistence(strFileName)) in OpenTextInputFile() 84 in.open(strFileName.c_str(), IOS_BASE::in); in OpenTextInputFile() 88 bool CGeneFileUtils::OpenBinaryInputFile(const string& strFileName, in OpenBinaryInputFile() argument 91 if (!CheckExistence(strFileName)) in OpenBinaryInputFile() 97 in.open(strFileName.c_str(), IOS_BASE::in | IOS_BASE::binary); in OpenBinaryInputFile() 101 bool CGeneFileUtils::OpenTextOutputFile(const string& strFileName, in OpenTextOutputFile() argument 107 out.open(strFileName.c_str(), in OpenTextOutputFile() 112 bool CGeneFileUtils::OpenBinaryOutputFile(const string& strFileName, in OpenBinaryOutputFile() argument 118 out.open(strFileName.c_str(), in OpenBinaryOutputFile()
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/objtools/blast/gene_info_reader/ |
H A D | file_utils.cpp | 75 bool CGeneFileUtils::OpenTextInputFile(const string& strFileName, in OpenTextInputFile() argument 78 if (!CheckExistence(strFileName)) in OpenTextInputFile() 84 in.open(strFileName.c_str(), IOS_BASE::in); in OpenTextInputFile() 88 bool CGeneFileUtils::OpenBinaryInputFile(const string& strFileName, in OpenBinaryInputFile() argument 91 if (!CheckExistence(strFileName)) in OpenBinaryInputFile() 97 in.open(strFileName.c_str(), IOS_BASE::in | IOS_BASE::binary); in OpenBinaryInputFile() 101 bool CGeneFileUtils::OpenTextOutputFile(const string& strFileName, in OpenTextOutputFile() argument 107 out.open(strFileName.c_str(), in OpenTextOutputFile() 112 bool CGeneFileUtils::OpenBinaryOutputFile(const string& strFileName, in OpenBinaryOutputFile() argument 118 out.open(strFileName.c_str(), in OpenBinaryOutputFile()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/reflection/emit/ |
H A D | modulebuilderdata.cs | 29 …internal ModuleBuilderData(ModuleBuilder module, String strModuleName, String strFileName, int tkF… in ModuleBuilderData() argument 35 InitNames(strModuleName, strFileName); in ModuleBuilderData() 42 private void InitNames(String strModuleName, String strFileName) in InitNames() argument 45 if (strFileName == null) in InitNames() 52 String strExtension = Path.GetExtension(strFileName); in InitNames() 56 …ew ArgumentException(Environment.GetResourceString("Argument_NoModuleFileExtension", strFileName)); in InitNames() 58 m_strFileName = strFileName; in InitNames()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/diagnostics/ |
H A D | stackframe.cs | 29 private String strFileName; field in System.Diagnostics.StackFrame 43 strFileName = null; in InitMembers() 107 strFileName = fileName; in StackFrame() 121 strFileName = fileName; in StackFrame() 148 strFileName = strFName; in SetFileName() 211 if (strFileName != null) in GetFileName() 222 return strFileName; in GetFileName() 285 bool useFileName = (strFileName != null); in ToString() 308 sb.Append(strFileName); in ToString() 341 strFileName = StackF.GetFilename(skipFrames); in BuildStackFrame()
|
/dports/emulators/ukncbtl/ukncbtl-qt-812cde85/ |
H A D | mainwindow.cpp | 323 saveStateImage(strFileName); in saveStateImage() 339 loadStateImage(strFileName); in loadStateImage() 353 saveScreenshot(strFileName); in saveScreenshot() 365 saveScreenshot(strFileName); in saveScreenshotAs() 370 image.save(strFileName, "PNG", -1); in saveScreenshot() 558 if (!attachCartridge(slot, strFileName)) in emulatorCartridge() 564 QFileInfo fi(strFileName); in attachCartridge() 605 if (! attachFloppy(slot, strFileName)) in emulatorFloppy() 614 QFileInfo fi(strFileName); in attachFloppy() 673 QFileInfo fi(strFileName); in attachHardDrive() [all …]
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/utils/ |
H A D | URIUtils.cpp | 56 if (IsURL(strFileName)) in GetExtension() 58 CURL url(strFileName); in GetExtension() 71 if (IsURL(strFileName)) in HasExtension() 73 CURL url(strFileName); in HasExtension() 88 if (IsURL(strFileName)) in HasExtension() 90 CURL url(strFileName); in HasExtension() 121 if(IsURL(strFileName)) in RemoveExtension() 123 CURL url(strFileName); in RemoveExtension() 206 strFileName = ""; in Split() 235 strFileName = strFileName.substr(0, i); in Split() [all …]
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/cores/DllLoader/ |
H A D | SoLoader.cpp | 34 std::string strFileName= CSpecialProtocol::TranslatePath(GetFileName()); in Load() local 35 if (strFileName == "xbmc.so") in Load() 42 CLog::Log(LOGDEBUG, "Loading: %s", strFileName.c_str()); in Load() 44 m_soHandle = dlopen(strFileName.c_str(), flags); in Load() 47 CLog::Log(LOGERROR, "Unable to load %s, reason: %s", strFileName.c_str(), dlerror()); in Load()
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/platform/posix/filesystem/ |
H A D | SMBFile.cpp | 387 std::string strFileName; in Open() local 388 m_fd = OpenFile(url, strFileName); in Open() 402 if (smbc_stat(strFileName.c_str(), &tmpBuffer) < 0) in Open() 475 std::string strFileName = GetAuthenticatedPath(CSMB::GetResolvedUrl(url)); in Exists() local 482 int iResult = smbc_stat(strFileName.c_str(), &info); in Exists() 512 int iResult = smbc_stat(strFileName.c_str(), &tmpBuffer); in Stat() 669 m_fd = smbc_creat(strFileName.c_str(), 0); in OpenForWrite() 673 m_fd = smbc_open(strFileName.c_str(), O_RDWR, 0); in OpenForWrite() 687 bool CSMBFile::IsValidFile(const std::string& strFileName) in IsValidFile() argument 690 StringUtils::EndsWith(strFileName, "/.") || /* not current folder */ in IsValidFile() [all …]
|
/dports/finance/kmymoney/kmymoney-5.1.1/kmymoney/mymoney/ |
H A D | mymoneyutils.cpp | 35 QString MyMoneyUtils::getFileExtension(QString strFileName) in getFileExtension() argument 38 if (!strFileName.isEmpty()) { in getFileExtension() 40 int nLoc = strFileName.lastIndexOf('.'); in getFileExtension() 42 strTemp = strFileName.right(strFileName.length() - (nLoc + 1)); in getFileExtension()
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/interfaces/legacy/ |
H A D | ModuleXbmcvfs.cpp | 118 std::string strFileName = URIUtils::GetFileName(itemPath); in listdir() local 119 if (strFileName.empty()) in listdir() 122 strFileName = url.GetHostName(); in listdir() 124 ret.first().push_back(strFileName); in listdir() 128 std::string strFileName = URIUtils::GetFileName(itemPath); in listdir() local 129 ret.second().push_back(strFileName); in listdir()
|