Searched refs:write_length (Results 1 – 4 of 4) sorted by relevance
130 bool Buffer::write(const uint8_t* src, size_t write_length) { in write() argument131 if (available_write() < write_length) in write()133 memcpy(buffer_.get() + write_position_, src, write_length); in write()134 write_position_ += write_length; in write()
145 write_length = min(data_length, ex.num_blocks * block_size)147 file_obj.write(data[data_offset:(data_offset + write_length)])149 data_offset += write_length150 data_length -= write_length
187 static bool should_perform_zero_transfer(uint8_t endpoint, size_t write_length, uint16_t zero_mask)… in should_perform_zero_transfer() argument188 return endpoint_is_output(endpoint) && write_length != 0 && zero_mask != 0 && in should_perform_zero_transfer()189 (write_length & zero_mask) == 0; in should_perform_zero_transfer()
231 bool write(const uint8_t* src, size_t write_length);