Searched refs:record_size (Results 1 – 5 of 5) sorted by relevance
62 size_t record_size = sizeof(perf_event_header) + loop; in TEST_F() local63 size_t max_records_in_buffer = (buffer_->size() - 2 * record_size + 1) / record_size; in TEST_F()68 ASSERT_NO_FATAL_FAILURE(PushRecord(write_id++, record_size)); in TEST_F()70 ASSERT_NO_FATAL_FAILURE(PopRecord(read_id++, record_size)); in TEST_F()
137 size_t record_size = r.size(); in TEST_F() local140 ASSERT_EQ(r.size(), record_size + 8); in TEST_F()
47 char* RecordBuffer::AllocWriteSpace(size_t record_size) { in AllocWriteSpace() argument51 cur_write_record_size_ = record_size; in AllocWriteSpace()53 if (write_head + record_size > write_tail) { in AllocWriteSpace()56 } else if (write_head + record_size > buffer_size_) { in AllocWriteSpace()58 if (write_tail < record_size) { in AllocWriteSpace()
47 char* AllocWriteSpace(size_t record_size);
194 int record_size = get_sdp_records_size(in_record, 1); in alloc_sdp_slot() local197 bluetooth_sdp_record* record = (bluetooth_sdp_record*)osi_malloc(record_size); in alloc_sdp_slot()