Lines Matching refs:records

443     // These records come from the durable buffer.
455 fbl::Vector<trace::Record> records;
458 &records);
460 // Verify all trailing records are the same (sans timestamp).
461 auto test_record = records[kDataRecordOffset].ToString();
463 for (size_t i = kDataRecordOffset + 1; i < records.size(); ++i) {
468 records[i].ToString().c_str());
517 // All the records are the same size, so each buffer should end up at
569 // should have the new kind of record. And the newer records should be
576 // These records come from the durable buffer.
590 // There is no DATA2_RECORD, those records are dropped (buffer is full).
594 fbl::Vector<trace::Record> records;
597 &records);
599 // Verify the first set of data records are the same (sans timestamp).
600 auto test_record = records[kDataRecordOffset].ToString();
604 for (i = kDataRecordOffset + 1; i < records.size(); ++i) {
607 records[i].ToString().c_str());
614 // The records are all of equal size, therefore they should evenly fit
615 // in the number of bytes written. Buffer 1 holds the older records.
618 // There should be the same number of records remaining.
619 EXPECT_EQ(num_data_records, records.size() - i);
622 EXPECT_TRUE(fixture_compare_raw_records(records, i, 1, data3_record));
624 // All remaining records should match (sans timestamp).
625 test_record = records[i].ToString();
627 for (i = i + 1; i < records.size(); ++i) {
630 records[i].ToString().c_str());
653 // Keep writing records until we just fill the buffer.
679 // NOTE: The functions for writing trace records are exercised by other trace tests.