Home
last modified time | relevance | path

Searched refs:WriteState (Results 1 – 5 of 5) sorted by relevance

/system/teeui/libteeui/include/teeui/
Dcbor.h165 class WriteState {
167 WriteState() : data_(nullptr), size_(0), error_(Error::OK) {}
168 WriteState(uint8_t* buffer, size_t size) : data_(buffer), size_(size), error_(Error::OK) {}
169 WriteState(uint8_t* buffer, size_t size, Error error)
172 WriteState(uint8_t (&buffer)[size]) : data_(buffer), size_(size), error_(Error::OK) {}
174 WriteState& operator++() {
183 WriteState& operator+=(size_t offset) {
199 WriteState writeHeader(WriteState wState, Type type, const uint64_t value);
202 template <typename T> WriteState writeNumber(WriteState wState, const T& v) {
211 inline WriteState write(const WriteState& wState, const uint8_t& v) {
[all …]
Dgeneric_operation.h96 auto state = write(WriteState(formattedMessageBuffer_), in init()
/system/teeui/libteeui/src/
Dcbor.cpp29 WriteState writeBytes(WriteState state, uint64_t value, uint8_t size) { in writeBytes()
57 WriteState writeHeader(WriteState wState, Type type, const uint64_t value) { in writeHeader()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_stats.cpp47 bool SnapshotMergeStats::WriteState() { in WriteState() function in android::snapshot::SnapshotMergeStats
84 return WriteState(); in Start()
93 WriteState(); in set_cow_file_size()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot_stats.h61 bool WriteState();