Searched refs:byte (Results 1 – 12 of 12) sorted by relevance
24 void EncodingSpeculator::inject_byte( uint8_t byte ) in inject_byte() argument26 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 …]
159 uint8_t byte; in waitAndProcessEvents() local160 read( breaking_pipe_read_fd_, &byte, sizeof byte ); in waitAndProcessEvents()216 char byte = 'X'; in interruptWait() local218 (void) write( breaking_pipe_write_fd_, (void*) &byte, sizeof byte ); in interruptWait()
238 char byte = 'X'; in interruptWait() local240 (void) write( breaking_pipe_write_fd_, (void*) &byte, sizeof byte ); in interruptWait()
45 void inject_byte( uint8_t byte );
112 uint8_t byte = **ptr; in block32_next_pos() local114 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() local167 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 …]
145 for ( uint8_t byte: utf8_bytes ) { in TEST_F() local147 speculator.inject_byte( byte ); in TEST_F()168 for ( uint8_t byte: utf8_bytes ) { in TEST_F() local170 speculator.inject_byte( byte ); in TEST_F()