Home
last modified time | relevance | path

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

/system/keymaster/android_keymaster/
Dserializable.cpp122 bool Buffer::write(const uint8_t* src, size_t write_length) { in write() argument
123 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()
/system/update_engine/scripts/update_payload/
Dapplier.py151 write_length = min(data_length, ex.num_blocks * block_size)
156 data_view = buffer(data, data_offset, write_length)
159 data_offset += write_length
160 data_length -= write_length
/system/core/adb/client/
Dusb_libusb.cpp188 static bool should_perform_zero_transfer(uint8_t endpoint, size_t write_length, uint16_t zero_mask)… in should_perform_zero_transfer() argument
189 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()
/system/keymaster/include/keymaster/
Dserializable.h231 bool write(const uint8_t* src, size_t write_length);