Home
last modified time | relevance | path

Searched refs:write_length (Results 1 – 4 of 4) sorted by relevance

/system/keymaster/android_keymaster/
Dserializable.cpp130 bool Buffer::write(const uint8_t* src, size_t write_length) { in write() argument
131 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()
/system/update_engine/scripts/update_payload/
Dapplier.py145 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_length
150 data_length -= write_length
/system/core/adb/client/
Dusb_libusb.cpp187 static bool should_perform_zero_transfer(uint8_t endpoint, size_t write_length, uint16_t zero_mask)… in should_perform_zero_transfer() argument
188 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()
/system/keymaster/include/keymaster/
Dserializable.h231 bool write(const uint8_t* src, size_t write_length);