Home
last modified time | relevance | path

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

/external/openscreen/util/crypto/
Drandom_bytes_unittest.cc39 constexpr int kKeyLength = 100; in TEST() local
40 std::array<std::array<uint8_t, kKeyLength>, kNumKeys> keys; in TEST()
42 GenerateRandomBytes(keys[i].begin(), kKeyLength); in TEST()
/external/pigweed/pw_kvs/
Dkey_value_store_binary_format_test.cc64 template <size_t kAlignmentBytes, size_t kKeyLength, size_t kValueSize = 0>
67 sizeof(internal::EntryHeader) + kKeyLength + kValueSize; in EntryPadding()
81 constexpr size_t kKeyLength = kKeyLengthWithNull - 1; in MakeValidEntry() local
87 uint8_t(kKeyLength), in MakeValidEntry()
92 EntryPadding<kAlignmentBytes, kKeyLength, kValueSize>()); in MakeValidEntry()
112 constexpr size_t kKeyLength = kKeyLengthWithNull - 1; in MakeDeletedEntry() local
117 uint8_t(kKeyLength), in MakeDeletedEntry()
121 EntryPadding<kAlignmentBytes, kKeyLength>()); in MakeDeletedEntry()
/external/angle/src/libANGLE/
DBlobCache.h63 static constexpr size_t kKeyLength = kBlobCacheKeyLength;
DDisplay.cpp1989 return static_cast<EGLint>(BlobCache::kKeyLength); in programCacheGetAttrib()
2022 ASSERT(*keysize == static_cast<EGLint>(BlobCache::kKeyLength)); in programCacheQuery()
2023 memcpy(key, programHash->data(), BlobCache::kKeyLength); in programCacheQuery()
2040 *keysize = static_cast<EGLint>(BlobCache::kKeyLength); in programCacheQuery()
2050 ASSERT(keysize == static_cast<EGLint>(BlobCache::kKeyLength)); in programCachePopulate()
2053 memcpy(programHash.data(), key, BlobCache::kKeyLength); in programCachePopulate()
DvalidationEGL.cpp4818 if (binary && *keysize != static_cast<EGLint>(egl::BlobCache::kKeyLength)) in ValidateProgramCacheQueryANGLE()
4848 if (keysize != static_cast<EGLint>(egl::BlobCache::kKeyLength)) in ValidateProgramCachePopulateANGLE()