Searched refs:byte_array (Results 1 – 4 of 4) sorted by relevance
32 ByteArray<16> byte_array(data); in TEST() local35 ASSERT_EQ(data[i], byte_array.bytes[i]); in TEST()40 auto byte_array = ByteArray<16>::FromString(test_bytes); in TEST() local41 ASSERT_TRUE(byte_array); in TEST()44 ASSERT_EQ(test_data[i], byte_array->bytes[i]); in TEST()49 ByteArray<16> byte_array = { in TEST() local51 std::string str = byte_array.ToString(); in TEST()
86 ByteArray<kLength> byte_array = {}; in FromString() local87 std::move(vec->data(), vec->data() + vec->size(), byte_array.data()); in FromString()88 return byte_array; in FromString()
56 common::ByteArray<23> byte_array(peerid); in SetLeData() local57 mutation.Add(le_device.SetPeerId(byte_array.ToString())); in SetLeData()74 common::ByteArray<28> byte_array(penc_keys); in SetLeData() local75 mutation.Add(le_device.SetPeerEncryptionKeys(byte_array.ToString())); in SetLeData()89 common::ByteArray<21> byte_array(psrk_keys); in SetLeData() local90 mutation.Add(le_device.SetPeerSignatureResolvingKeys(byte_array.ToString())); in SetLeData()
564 std::array<uint8_t, byte_array_size> byte_array; in TEST() local565 for (uint8_t i = 0; i < byte_array_size; i++) byte_array[i] = i; in TEST()571 auto packet = PacketWithFixedArraysOfBytesBuilder::Create(byte_array, word_array); in TEST()581 ASSERT_EQ(byte_array[i], packet_bytes->at(i)); in TEST()588 ASSERT_EQ(byte_array.size(), array.size()); in TEST()590 ASSERT_EQ(array[i], byte_array[i]); in TEST()