Searched refs:write_length (Results 1 – 4 of 4) sorted by relevance
122 bool Buffer::write(const uint8_t* src, size_t write_length) { in write() argument123 if (available_write() < write_length) in write()125 memcpy(buffer_.get() + write_position_, src, write_length); in write()126 write_position_ += write_length; in write()
151 write_length = min(data_length, ex.num_blocks * block_size)156 data_view = buffer(data, data_offset, write_length)159 data_offset += write_length160 data_length -= write_length
188 static bool should_perform_zero_transfer(uint8_t endpoint, size_t write_length, uint16_t zero_mask)… in should_perform_zero_transfer() argument189 return endpoint_is_output(endpoint) && write_length != 0 && zero_mask != 0 && in should_perform_zero_transfer()190 (write_length & zero_mask) == 0; in should_perform_zero_transfer()
231 bool write(const uint8_t* src, size_t write_length);