Home
last modified time | relevance | path

Searched refs:EncodingSpeculator (Results 1 – 18 of 18) sorted by relevance

/glogg/glogg/src/data/ !
H A Dlogdataworkerthread.h
H A Dlogdataworkerthread.cpp
H A Dlogdata.h
H A Dlogdata.cpp
/glogg/src/data/ !
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_;
82 EncodingSpeculator* encodingSpeculator );
98 void doIndex( IndexingData* linePosition, EncodingSpeculator* encodingSpeculator,
105 EncodingSpeculator* encoding_speculator_;
113 EncodingSpeculator* speculator ) in FullIndexOperation()
123 EncodingSpeculator* speculator ) in PartialIndexOperation()
188 EncodingSpeculator encodingSpeculator_;
H A Dlogdataworkerthread.cpp58 EncodingSpeculator::Encoding IndexingData::getEncodingGuess() const in getEncodingGuess()
67 EncodingSpeculator::Encoding encoding ) in addAll()
84 encoding_ = EncodingSpeculator::Encoding::ASCII7; in clear()
199 EncodingSpeculator* encodingSpeculator ) in IndexOperation()
208 EncodingSpeculator* encoding_speculator, qint64 initialPosition ) in doIndex()
H A Dlogdata.h82 EncodingSpeculator::Encoding getDetectedEncoding() const;
H A Dlogdata.cpp521 EncodingSpeculator::Encoding LogData::getDetectedEncoding() const in getDetectedEncoding()
/glogg/glogg/tests/ !
H A DencodingspeculatorTest.cpp
H A DlogdataTest.cpp
/glogg/tests/ !
H A DencodingspeculatorTest.cpp14 EncodingSpeculator speculator;
21 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()
[all …]
H A DlogdataTest.cpp255 ASSERT_THAT( log_data.getDetectedEncoding(), EncodingSpeculator::Encoding::UTF16LE ); in TEST_F()
273 ASSERT_THAT( log_data.getDetectedEncoding(), EncodingSpeculator::Encoding::UTF16BE ); in TEST_F()
/glogg/glogg/src/ !
H A Dencodingspeculator.h
H A Dencodingspeculator.cpp
H A Dcrawlerwidget.cpp
/glogg/src/ !
H A Dencodingspeculator.h28 class EncodingSpeculator {
42 EncodingSpeculator() : state_( State::Start ) {} in EncodingSpeculator() function
H A Dencodingspeculator.cpp24 void EncodingSpeculator::inject_byte( uint8_t byte ) in inject_byte()
115 EncodingSpeculator::Encoding EncodingSpeculator::guess() const in guess()
H A Dcrawlerwidget.cpp983 case EncodingSpeculator::Encoding::ASCII7: in updateEncoding()
987 case EncodingSpeculator::Encoding::ASCII8: in updateEncoding()
991 case EncodingSpeculator::Encoding::UTF8: in updateEncoding()
995 case EncodingSpeculator::Encoding::UTF16LE: in updateEncoding()
999 case EncodingSpeculator::Encoding::UTF16BE: in updateEncoding()