Searched refs:new_byte (Results 1 – 6 of 6) sorted by relevance
40 Result<Frame> Decoder::Process(const byte new_byte) { in Process() argument43 if (new_byte == kFlag) { in Process()58 if (new_byte == kFlag) { in Process()70 if (new_byte == kEscape) { in Process()73 AppendByte(new_byte); in Process()79 if (new_byte == kFlag) { in Process()85 if (new_byte == kEscape) { in Process()94 AppendByte(Escape(new_byte)); in Process()102 void Decoder::AppendByte(byte new_byte) { in AppendByte() argument104 buffer_[current_frame_size_] = new_byte; in AppendByte()[all …]
55 const auto new_byte = in MakeVector() local57 word |= (new_byte << (8 * (byte_index % sizeof(uint32_t)))); in MakeVector()
180 fn update_hash(&self, prev: Hash, old_byte: u8, new_byte: u8) -> Hash { in update_hash()183 .wrapping_add(new_byte as usize) in update_hash()
134 void AppendByte(std::byte new_byte);
165 void SetByte(int offset, char new_byte) { contents_[offset] = new_byte; } in SetByte() argument