Home
last modified time | relevance | path

Searched refs:NumBytesRemaining (Results 1 – 5 of 5) sorted by relevance

/system/bt/gd/packet/
Dpacket_view_unittest.cc312 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 …]
Diterator.cc136 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()
Diterator.h61 size_t NumBytesRemaining() const;
/system/bt/gd/packet/parser/test/
Dvariable.h48 if (it.NumBytesRemaining() < 1) { in Parse()
55 if (it.NumBytesRemaining() < data_length) { in Parse()
/system/bt/vendor_libs/test_vendor_lib/test/
Dlink_layer_socket_device_test.cc109 ASSERT_EQ(args_itr.NumBytesRemaining(), count.size()); in ValidatePacket()