Home
last modified time | relevance | path

Searched refs:record_size (Results 1 – 6 of 6) sorted by relevance

/system/extras/simpleperf/
Drecord_test.cpp137 size_t record_size = r.size(); in TEST_F() local
140 ASSERT_EQ(r.size(), record_size + 8); in TEST_F()
DRecordReadThread.cpp49 char* RecordBuffer::AllocWriteSpace(size_t record_size) { in AllocWriteSpace() argument
53 cur_write_record_size_ = record_size; in AllocWriteSpace()
55 if (write_head + record_size > write_tail) { in AllocWriteSpace()
58 } else if (write_head + record_size > buffer_size_) { in AllocWriteSpace()
60 if (write_tail < record_size) { in AllocWriteSpace()
DRecordReadThread_test.cpp63 size_t record_size = sizeof(perf_event_header) + loop; in TEST_F() local
64 size_t max_records_in_buffer = (buffer_->size() - 2 * record_size + 1) / record_size; in TEST_F()
69 ASSERT_NO_FATAL_FAILURE(PushRecord(write_id++, record_size)); in TEST_F()
71 ASSERT_NO_FATAL_FAILURE(PopRecord(read_id++, record_size)); in TEST_F()
DRecordReadThread.h47 char* AllocWriteSpace(size_t record_size);
/system/libziparchive/
Dzip_archive_common.h217 uint64_t record_size; member
/system/bt/btif/src/
Dbtif_sdp_server.cc194 int record_size = get_sdp_records_size(in_record, 1); in alloc_sdp_slot() local
197 bluetooth_sdp_record* record = (bluetooth_sdp_record*)osi_malloc(record_size); in alloc_sdp_slot()