Lines Matching refs:num_bytes
368 uint8_t num_bytes, uint64_t data, int sd_bus_call_return_value, in ExpectRead() argument
396 Pointee(Eq<uint64_t>(num_bytes)))))) in ExpectRead()
417 num_bytes_returned = num_bytes; in ExpectRead()
443 constexpr uint8_t num_bytes = sizeof(uint64_t); in TEST() local
447 ExpectRead(mock, address, num_bytes, data, sd_bus_call_return_value); in TEST()
448 EXPECT_EQ(data, h.accelOobRead("test/path", address, num_bytes)); in TEST()
457 constexpr uint8_t num_bytes = sizeof(uint64_t); in TEST() local
461 ExpectRead(mock, address, num_bytes, data, sd_bus_call_return_value); in TEST()
462 EXPECT_THROW(h.accelOobRead("test/path", address, num_bytes), in TEST()
472 constexpr uint8_t num_bytes = sizeof(uint64_t); in TEST() local
475 constexpr uint8_t num_bytes_returned = num_bytes - 1; in TEST()
477 ExpectRead(mock, address, num_bytes, data, sd_bus_call_return_value, in TEST()
479 EXPECT_THROW(h.accelOobRead("test/path", address, num_bytes), in TEST()
489 constexpr uint8_t num_bytes = sizeof(uint64_t); in TEST() local
494 ExpectRead(mock, address, num_bytes, data, sd_bus_call_return_value, in TEST()
496 EXPECT_THROW(h.accelOobRead("test/path", address, num_bytes), in TEST()
501 uint8_t num_bytes, uint64_t data, int sd_bus_call_return_value) in ExpectWrite() argument
531 for (auto i = 0; i < num_bytes; ++i) in ExpectWrite()
564 constexpr uint8_t num_bytes = sizeof(uint64_t); in TEST() local
568 ExpectWrite(mock, address, num_bytes, data, sd_bus_call_return_value); in TEST()
569 EXPECT_NO_THROW(h.accelOobWrite("test/path", address, num_bytes, data)); in TEST()
578 constexpr uint8_t num_bytes = sizeof(uint64_t) + 1; in TEST() local
581 EXPECT_THROW(h.accelOobWrite("test/path", address, num_bytes, data), in TEST()
591 constexpr uint8_t num_bytes = sizeof(uint64_t); in TEST() local
595 ExpectWrite(mock, address, num_bytes, data, sd_bus_call_return_value); in TEST()
596 EXPECT_THROW(h.accelOobWrite("test/path", address, num_bytes, data), in TEST()