Home
last modified time | relevance | path

Searched refs:byte (Results 1 – 12 of 12) sorted by relevance

/glogg/glogg/src/
H A Dencodingspeculator.cpp
H A Dinotifywatchtowerdriver.cpp
H A Dkqueuewatchtowerdriver.cpp
H A Dencodingspeculator.h
/glogg/src/
H A Dencodingspeculator.cpp24 void EncodingSpeculator::inject_byte( uint8_t byte ) in inject_byte() argument
26 if ( ! ( byte & 0x80 ) ) { in inject_byte()
34 if ( byte == 0xFE ) { in inject_byte()
38 else if ( byte == 0xFF ) { in inject_byte()
48 if ( ( byte & 0xE0 ) == 0xC0 ) { in inject_byte()
50 code_point_ = ( byte & 0x1F ) << 6; in inject_byte()
55 else if ( ( byte & 0xF0 ) == 0xE0 ) { in inject_byte()
57 code_point_ = ( byte & 0x0F ) << 12; in inject_byte()
62 else if ( ( byte & 0xF8 ) == 0xF0 ) { in inject_byte()
64 code_point_ = ( byte & 0x07 ) << 18; in inject_byte()
[all …]
H A Dinotifywatchtowerdriver.cpp159 uint8_t byte; in waitAndProcessEvents() local
160 read( breaking_pipe_read_fd_, &byte, sizeof byte ); in waitAndProcessEvents()
216 char byte = 'X'; in interruptWait() local
218 (void) write( breaking_pipe_write_fd_, (void*) &byte, sizeof byte ); in interruptWait()
H A Dkqueuewatchtowerdriver.cpp238 char byte = 'X'; in interruptWait() local
240 (void) write( breaking_pipe_write_fd_, (void*) &byte, sizeof byte ); in interruptWait()
H A Dencodingspeculator.h45 void inject_byte( uint8_t byte );
/glogg/glogg/src/data/
H A Dcompressedlinestorage.cpp
/glogg/src/data/
H A Dcompressedlinestorage.cpp112 uint8_t byte = **ptr; in block32_next_pos() local
114 if ( ! ( byte & 0x80 ) ) { in block32_next_pos()
116 pos += byte; in block32_next_pos()
118 else if ( ( byte & 0xC0 ) == 0x80 ) { in block32_next_pos()
123 byte &= ~0xC0; in block32_next_pos()
125 pos += ( (uint16_t) byte << 8 ) | (uint16_t) lo_byte; in block32_next_pos()
165 uint8_t byte = **ptr; in block64_next_pos() local
167 if ( ! ( byte & 0x80 ) ) { in block64_next_pos()
169 pos += byte; in block64_next_pos()
171 else if ( ( byte & 0xC0 ) == 0x80 ) { in block64_next_pos()
[all …]
/glogg/glogg/tests/
H A DencodingspeculatorTest.cpp
/glogg/tests/
H A DencodingspeculatorTest.cpp145 for ( uint8_t byte: utf8_bytes ) { in TEST_F() local
147 speculator.inject_byte( byte ); in TEST_F()
168 for ( uint8_t byte: utf8_bytes ) { in TEST_F() local
170 speculator.inject_byte( byte ); in TEST_F()