Lines Matching refs:ByteString
89 ByteString Export::sLanguages;
90 ByteString Export::sForcedLanguages;
94 void Export::DumpExportList( ByteString& sListName , ExportList& aList ){ in DumpExportList()
96 ByteString l(""); in DumpExportList()
104 ByteString Export::DumpMap( ByteString& sMapName , ByteStringHashMap& aMap ){ in DumpMap()
106 ByteString sReturn; in DumpMap()
110 if( aMap.size() < 1 ) return ByteString(); in DumpMap()
112 ByteString a( idbg->first ); in DumpMap()
113 ByteString b( idbg->second ); in DumpMap()
121 void Export::SetLanguages( std::vector<ByteString> val ){ in SetLanguages()
127 std::vector<ByteString> Export::GetLanguages(){ in GetLanguages()
132 std::vector<ByteString> Export::GetForcedLanguages(){ in GetForcedLanguages()
136 std::vector<ByteString> Export::aLanguages = std::vector<ByteString>();
137 std::vector<ByteString> Export::aForcedLanguages = std::vector<ByteString>();
141 void Export::QuotHTMLXRM( ByteString &rString ) in QuotHTMLXRM()
144 ByteString sReturn; in QuotHTMLXRM()
147 ByteString sTemp = rString.Copy( i ); in QuotHTMLXRM()
210 void Export::QuotHTML( ByteString &rString ) in QuotHTML()
213 ByteString sReturn; in QuotHTML()
215 ByteString sTemp = rString.Copy( i ); in QuotHTML()
261 void Export::RemoveUTF8ByteOrderMarker( ByteString &rString ){ in RemoveUTF8ByteOrderMarker()
266 bool Export::hasUTF8ByteOrderMarker( const ByteString &rString ){ in hasUTF8ByteOrderMarker()
275 bool Export::fileHasUTF8ByteOrderMarker( const ByteString &rString ){ in fileHasUTF8ByteOrderMarker()
277 ByteString sLine; in fileHasUTF8ByteOrderMarker()
286 void Export::RemoveUTF8ByteOrderMarkerFromFile( const ByteString &rFilename ){ in RemoveUTF8ByteOrderMarkerFromFile()
288 ByteString sLine; in RemoveUTF8ByteOrderMarkerFromFile()
295 ByteString sTempFile = ByteString( aTempFile.GetFull() , RTL_TEXTENCODING_ASCII_US ); in RemoveUTF8ByteOrderMarkerFromFile()
340 bool Export::CopyFile( const ByteString& source , const ByteString& dest ) in CopyFile()
389 void Export::UnquotHTML( ByteString &rString ) in UnquotHTML()
392 ByteString sReturn; in UnquotHTML()
421 bool Export::isSourceLanguage( const ByteString &sLanguage ) in isSourceLanguage()
425 bool Export::isAllowed( const ByteString &sLanguage ){ in isAllowed()
429 bool Export::LanguageAllowed( const ByteString &nLanguage ) in LanguageAllowed()
441 ByteString sTmp; in InitLanguages()
458 ByteString sTmp; in InitForcedLanguages()
470 ByteString Export::GetFallbackLanguage( const ByteString nLanguage ) in GetFallbackLanguage()
473 ByteString sFallback=nLanguage; in GetFallbackLanguage()
478 void Export::replaceEncoding( ByteString& rString ) in replaceEncoding()
489 ByteString sTmp = rString.Copy( 0 , idx ); in replaceEncoding()
505 ByteString sCur; in FillInFallbacks()
509 ByteString nFallbackIndex = GetFallbackLanguage( sCur ); in FillInFallbacks()
553 ExportList *pList, const ByteString &nSource, const ByteString &nFallback ) in FillInListFallbacks()
561 ByteString x = ( *pEntry )[ nSource ]; in FillInListFallbacks()
562 ByteString y = ( *pEntry )[ nFallback ]; in FillInListFallbacks()
568 ByteString Export::GetTimeStamp() in GetTimeStamp()
577 return ByteString(buf); in GetTimeStamp()
582 ByteString sSource, ByteString sDestination ) in ConvertLineEnds()
597 ByteString sLine; in ConvertLineEnds()
616 ByteString Export::GetNativeFile( ByteString sSource ) in GetNativeFile()
620 ByteString sReturn( aTemp.GetFull(), RTL_TEXTENCODING_ASCII_US ); in GetNativeFile()
661 void Export::getRandomName( const ByteString& sPrefix , ByteString& sRandStr , const ByteString& sP… in getRandomName()
692 void Export::getRandomName( ByteString& sRandStr ) in getRandomName()
694 const ByteString sEmpty; in getRandomName()
712 ByteString sTmp( sDecodedStr , RTL_TEXTENCODING_UTF8 ); in GetTempFile()