Home
last modified time | relevance | path

Searched refs:aligned_len (Results 1 – 3 of 3) sorted by relevance

/system/extras/simpleperf/
DUnixSocket.cpp183 uint32_t aligned_len = 0; in ConsumeDataInReadBuffer() local
186 aligned_len = Align(msg->len, UnixSocketMessageAlignment); in ConsumeDataInReadBuffer()
187 if (left_size < aligned_len) { in ConsumeDataInReadBuffer()
193 p += aligned_len; in ConsumeDataInReadBuffer()
194 left_size -= aligned_len; in ConsumeDataInReadBuffer()
200 if (aligned_len > read_buffer_.size()) { in ConsumeDataInReadBuffer()
201 read_buffer_.resize(aligned_len); in ConsumeDataInReadBuffer()
DUnixSocket.h65 uint32_t aligned_len = Align(message.len, UnixSocketMessageAlignment); in StoreMessage() local
66 if (data_.size() - valid_bytes_ < aligned_len) { in StoreMessage()
78 valid_bytes_ += aligned_len; in StoreMessage()
DUnixSocket_test.cpp69 size_t aligned_len = Align(msg->len, UnixSocketMessageAlignment); in TEST() local
70 read_func(aligned_len); in TEST()