Home
last modified time | relevance | path

Searched refs:Encoding (Results 1 – 25 of 34) sorted by relevance

12

/glogg/glogg/src/ !
H A Dencodingspeculator.cpp
H A Dcrawlerwidget.cpp
H A Dencodingspeculator.h
H A Dcrawlerwidget.h
H A Dutils.h
/glogg/src/ !
H A Dencodingspeculator.cpp115 EncodingSpeculator::Encoding EncodingSpeculator::guess() const in guess()
117 Encoding guess; in guess()
122 guess = Encoding::ASCII7; in guess()
126 guess = Encoding::ASCII8; in guess()
129 guess = Encoding::UTF8; in guess()
132 guess = Encoding::UTF16LE; in guess()
135 guess = Encoding::UTF16BE; in guess()
138 guess = Encoding::ASCII8; in guess()
H A Dcrawlerwidget.cpp126 Encoding CrawlerWidget::encodingSetting() const in encodingSetting()
208 void CrawlerWidget::setEncoding( Encoding encoding ) in setEncoding()
978 Encoding encoding = Encoding::ENCODING_MAX; in updateEncoding()
981 case Encoding::ENCODING_AUTO: in updateEncoding()
983 case EncodingSpeculator::Encoding::ASCII7: in updateEncoding()
984 encoding = Encoding::ENCODING_ISO_8859_1; in updateEncoding()
987 case EncodingSpeculator::Encoding::ASCII8: in updateEncoding()
988 encoding = Encoding::ENCODING_ISO_8859_1; in updateEncoding()
991 case EncodingSpeculator::Encoding::UTF8: in updateEncoding()
992 encoding = Encoding::ENCODING_UTF8; in updateEncoding()
[all …]
H A Dencodingspeculator.h30 enum class Encoding { enum
48 Encoding guess() const;
H A Dcrawlerwidget.h72 Encoding encodingSetting() const;
88 void setEncoding( Encoding encoding );
296 Encoding encodingSetting_ = Encoding::ENCODING_AUTO;
/glogg/glogg/tests/ !
H A DencodingspeculatorTest.cpp
H A DlogdataTest.cpp
/glogg/tests/ !
H A DencodingspeculatorTest.cpp21 ASSERT_THAT( speculator.guess(), Eq( EncodingSpeculator::Encoding::ASCII7 ) ); in TEST_F()
28 ASSERT_THAT( speculator.guess(), Eq( EncodingSpeculator::Encoding::ASCII7 ) ); in TEST_F()
36 ASSERT_THAT( speculator.guess(), Eq( EncodingSpeculator::Encoding::ASCII8 ) ); in TEST_F()
82 ASSERT_THAT( speculator.guess(), Eq( EncodingSpeculator::Encoding::UTF8 ) ); in TEST_F()
95 ASSERT_THAT( speculator.guess(), Eq( EncodingSpeculator::Encoding::UTF8 ) ); in TEST_F()
111 ASSERT_THAT( speculator.guess(), Eq( EncodingSpeculator::Encoding::ASCII8 ) ); in TEST_F()
129 ASSERT_THAT( speculator.guess(), Eq( EncodingSpeculator::Encoding::ASCII8 ) ); in TEST_F()
137 ASSERT_THAT( speculator.guess(), Eq( EncodingSpeculator::Encoding::ASCII8 ) ); in TEST_F()
151 ASSERT_THAT( speculator.guess(), Eq( EncodingSpeculator::Encoding::UTF8 ) ); in TEST_F()
160 ASSERT_THAT( speculator.guess(), Eq( EncodingSpeculator::Encoding::ASCII8 ) ); in TEST_F()
[all …]
H A DlogdataTest.cpp253 log_data.setDisplayEncoding( Encoding::ENCODING_UTF16LE ); in TEST_F()
255 ASSERT_THAT( log_data.getDetectedEncoding(), EncodingSpeculator::Encoding::UTF16LE ); in TEST_F()
271 log_data.setDisplayEncoding( Encoding::ENCODING_UTF16BE ); in TEST_F()
273 ASSERT_THAT( log_data.getDetectedEncoding(), EncodingSpeculator::Encoding::UTF16BE ); in TEST_F()
/glogg/src/data/ !
H A Dlogdata.cpp316 void LogData::doSetDisplayEncoding( Encoding encoding ) in doSetDisplayEncoding()
338 case Encoding::ENCODING_UTF8: in doSetDisplayEncoding()
341 case Encoding::ENCODING_UTF16LE: in doSetDisplayEncoding()
346 case Encoding::ENCODING_UTF16BE: in doSetDisplayEncoding()
351 case Encoding::ENCODING_CP1251: in doSetDisplayEncoding()
354 case Encoding::ENCODING_CP1252: in doSetDisplayEncoding()
357 case Encoding::ENCODING_BIG5: in doSetDisplayEncoding()
360 case Encoding::ENCODING_GB18030: in doSetDisplayEncoding()
363 case Encoding::ENCODING_SHIFT_JIS: in doSetDisplayEncoding()
366 case Encoding::ENCODING_KOI8R: in doSetDisplayEncoding()
[all …]
H A Dlogdataworkerthread.h39 indexedSize_(0), encoding_(EncodingSpeculator::Encoding::ASCII7) { } in IndexingData()
55 EncodingSpeculator::Encoding getEncodingGuess() const;
61 EncodingSpeculator::Encoding encoding );
73 EncodingSpeculator::Encoding encoding_;
H A Dabstractlogdata.h57 void setDisplayEncoding( Encoding encoding );
78 virtual void doSetDisplayEncoding( Encoding encoding ) = 0;
H A Dabstractlogdata.cpp74 void AbstractLogData::setDisplayEncoding( Encoding encoding ) in setDisplayEncoding()
H A Dlogdata.h82 EncodingSpeculator::Encoding getDetectedEncoding() const;
161 void doSetDisplayEncoding( Encoding encoding ) override;
H A Dlogdataworkerthread.cpp58 EncodingSpeculator::Encoding IndexingData::getEncodingGuess() const in getEncodingGuess()
67 EncodingSpeculator::Encoding encoding ) in addAll()
84 encoding_ = EncodingSpeculator::Encoding::ASCII7; in clear()
/glogg/glogg/src/data/ !
H A Dlogdata.cpp
H A Dlogdataworkerthread.h
H A Dabstractlogdata.h
H A Dabstractlogdata.cpp
H A Dlogdata.h
H A Dlogdataworkerthread.cpp

12