Searched refs:GetBytesOrDie (Results 1 – 4 of 4) sorted by relevance
51 EXPECT_EQ(buffer[0], *reader1.GetBytesOrDie(sizeof(uint8_t))); in TEST()55 EXPECT_EQ(buffer[1], *reader2.GetBytesOrDie(sizeof(uint8_t))); in TEST()65 EXPECT_EQ(buffer[0], *reader1.GetBytesOrDie(sizeof(uint8_t))); in TEST()69 EXPECT_EQ(buffer[1], *reader2.GetBytesOrDie(sizeof(uint8_t))); in TEST()112 EXPECT_EQ(buffer.data(), memory_reader.GetBytesOrDie(1)); in TEST()118 EXPECT_EQ(buffer.data(), memory_reader.GetBytesOrDie(buffer.size())); in TEST()125 EXPECT_EQ(buffer.data(), memory_reader.GetBytesOrDie(buffer.size() / 2)); in TEST()127 memory_reader.GetBytesOrDie(buffer.size() / 2)); in TEST()145 memory_reader.GetBytesOrDie(1); in TEST()152 memory_reader.GetBytesOrDie(buffer.size()); in TEST()[all …]
22 const uint8_t* MemoryReader::GetBytesOrDie(size_t n_bytes) { in GetBytesOrDie() function in android::wifilogd::MemoryReader
56 RETURNS_NONNULL const uint8_t* GetBytesOrDie(size_t n_bytes);
103 auto out = MakeSanitizedString(buffer_reader->GetBytesOrDie(effective_len), in GetStringFromMemoryReader()