Searched refs:GetFreeSize (Results 1 – 5 of 5) sorted by relevance
109 ASSERT_TRUE(rb.GetFreeSize() == CAP) << "the buffer should be empty now";111 ASSERT_LE(rb.GetFreeSize(), CAP);114 ASSERT_TRUE(rb.GetFreeSize() == CAP) << "the buffer should be empty now";128 if (half >= (rb.GetFreeSize() / 2)) {132 ASSERT_LE(rb.GetFreeSize(), CAP);137 ASSERT_EQ(rb.GetFreeSize(), CAP);147 ASSERT_TRUE(rb.GetFreeSize() == CAP) << "the buffer should be empty now";
30 size_t GetFreeSize() const;
33 size_t RingBuffer::GetFreeSize() const in GetFreeSize() function in OHOS::Developtools::HiPerf::RingBuffer
1374 if (recordBuf_->GetFreeSize() <= BUFFER_CRITICAL_LEVEL) { in MoveRecordToBuf()
47 inline std::size_t GetFreeSize() in GetFreeSize() function