Searched refs:NumBytesRemaining (Results 1 – 5 of 5) sorted by relevance
/system/bt/gd/packet/ |
D | packet_view_unittest.cc | 312 size_t remaining = all.NumBytesRemaining(); in TYPED_TEST() 314 ASSERT_EQ(remaining, all.NumBytesRemaining()); in TYPED_TEST() 318 ASSERT_EQ(static_cast<size_t>(0), all.NumBytesRemaining()); in TYPED_TEST() 322 ASSERT_EQ(static_cast<size_t>(0), all.NumBytesRemaining()); in TYPED_TEST() 329 ASSERT_EQ(static_cast<size_t>(0), empty.NumBytesRemaining()); in TYPED_TEST() 333 ASSERT_EQ(static_cast<size_t>(0), empty.NumBytesRemaining()); in TYPED_TEST() 337 auto fullrange = all.Subrange(0, all.NumBytesRemaining()); in TYPED_TEST() 338 ASSERT_EQ(all.NumBytesRemaining(), fullrange.NumBytesRemaining()); in TYPED_TEST() 341 fullrange = all.Subrange(0, all.NumBytesRemaining() + 1); in TYPED_TEST() 342 ASSERT_EQ(all.NumBytesRemaining(), fullrange.NumBytesRemaining()); in TYPED_TEST() [all …]
|
D | iterator.cc | 136 size_t Iterator<little_endian>::NumBytesRemaining() const { in NumBytesRemaining() function in bluetooth::packet::Iterator 147 if (to_return.NumBytesRemaining() > index) { in Subrange() 150 if (to_return.NumBytesRemaining() >= length) { in Subrange()
|
D | iterator.h | 61 size_t NumBytesRemaining() const;
|
/system/bt/gd/packet/parser/test/ |
D | variable.h | 48 if (it.NumBytesRemaining() < 1) { in Parse() 55 if (it.NumBytesRemaining() < data_length) { in Parse()
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
D | link_layer_socket_device_test.cc | 109 ASSERT_EQ(args_itr.NumBytesRemaining(), count.size()); in ValidatePacket()
|