Home
last modified time | relevance | path

Searched refs:keySize (Results 1 – 25 of 44) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLProgramCacheControlTest.cpp115 EGLint keySize = eglProgramCacheGetAttribANGLE(display, EGL_PROGRAM_CACHE_KEY_LENGTH_ANGLE); in TEST_P() local
116 EXPECT_GT(kDefaultKeySize, keySize); in TEST_P()
117 eglProgramCachePopulateANGLE(display, kDefaultKey, keySize + 1, kDefaultBinary, in TEST_P()
121 eglProgramCachePopulateANGLE(display, kDefaultKey, keySize, kDefaultBinary, -1); in TEST_P()
124 eglProgramCachePopulateANGLE(display, nullptr, keySize, kDefaultBinary, kDefaultBinarySize); in TEST_P()
127 eglProgramCachePopulateANGLE(display, kDefaultKey, keySize, nullptr, kDefaultBinarySize); in TEST_P()
131 eglProgramCachePopulateANGLE(display, kDefaultKey, keySize, kDefaultBinary, kDefaultBinarySize); in TEST_P()
151 ASSERT_EQ(keySize, tempKeySize); in TEST_P()
202 EGLint keySize = 0; in TEST_P() local
204 eglProgramCacheQueryANGLE(display, 0, nullptr, &keySize, nullptr, &binarySize); in TEST_P()
[all …]
DEGLBlobCacheTest.cpp52 void SetBlob(const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize) in SetBlob() argument
54 std::vector<uint8_t> keyVec(keySize); in SetBlob()
55 memcpy(keyVec.data(), key, keySize); in SetBlob()
66 EGLsizeiANDROID keySize, in GetBlob() argument
70 std::vector<uint8_t> keyVec(keySize); in GetBlob()
71 memcpy(keyVec.data(), key, keySize); in GetBlob()
/third_party/lzma/CPP/7zip/Crypto/
DMyAes.h41 CAesCoder(bool encodeMode, unsigned keySize, bool ctrMode);
68 CAesCbcEncoder(unsigned keySize = 0): CAesCoder(true, keySize, false) {} in CAesCoder()
74 CAesCbcDecoder(unsigned keySize = 0): CAesCoder(false, keySize, false) {} in CAesCoder()
DMyAesReg.cpp13 #define REGISTER_AES_2(name, nameString, keySize, isCtr) \ argument
15 CAesCoder(false, keySize, isCtr), \
16 CAesCoder(true , keySize, isCtr), \
17 0x6F00100 | ((keySize - 16) * 8) | (isCtr ? 4 : 1), \
DMyAes.cpp13 CAesCoder::CAesCoder(bool encodeMode, unsigned keySize, bool ctrMode): in CAesCoder() argument
14 _keySize(keySize), in CAesCoder()
/third_party/skia/third_party/externals/angle2/src/common/
Dhash_utils.h18 inline std::size_t ComputeGenericHash(const void *key, size_t keySize) in ComputeGenericHash() argument
23 ASSERT(keySize % 4 == 0); in ComputeGenericHash()
25 return XXH64(key, keySize, kSeed); in ComputeGenericHash()
27 return XXH32(key, keySize, kSeed); in ComputeGenericHash()
/third_party/lzma/C/
DAes.c197 void MY_FAST_CALL Aes_SetKey_Enc(UInt32 *w, const Byte *key, unsigned keySize) in Aes_SetKey_Enc() argument
204 keySize /= 4; in Aes_SetKey_Enc()
205 w[0] = ((UInt32)keySize / 2) + 3; in Aes_SetKey_Enc()
208 for (i = 0; i < keySize; i++, key += 4) in Aes_SetKey_Enc()
211 t = w[(size_t)keySize - 1]; in Aes_SetKey_Enc()
212 wLim = w + (size_t)keySize * 3 + 28; in Aes_SetKey_Enc()
222 m = keySize; in Aes_SetKey_Enc()
224 else if (m == 4 && keySize > 6) in Aes_SetKey_Enc()
228 w[keySize] = t; in Aes_SetKey_Enc()
233 void MY_FAST_CALL Aes_SetKey_Dec(UInt32 *w, const Byte *key, unsigned keySize) in Aes_SetKey_Dec() argument
[all …]
DAes.h23 typedef void (MY_FAST_CALL *AES_SET_KEY_FUNC)(UInt32 *aes, const Byte *key, unsigned keySize);
24 void MY_FAST_CALL Aes_SetKey_Enc(UInt32 *aes, const Byte *key, unsigned keySize);
25 void MY_FAST_CALL Aes_SetKey_Dec(UInt32 *aes, const Byte *key, unsigned keySize);
/third_party/skia/third_party/externals/icu/source/samples/legacy/
Dnewcol.cpp76 int32_t keySize = 0; in test_current() local
83 keySize = getSortKey_current("ja", data[i], -1, keys[i], 32); in test_current()
84 fprintf(stderr, "For i=%d, size of sortkey is %d\n", i, keySize); in test_current()
Doldcol.cpp92 int32_t keySize = 0; in test_legacy() local
100 keySize = getSortKey_legacy("ja", data[i], -1, keys[i], 32); in test_legacy()
101 fprintf(stderr, "For i=%d, size of sortkey is %d\n", i, keySize); in test_legacy()
Dlegacy.cpp55 void printKeys(const char *comment, uint8_t keys[][32], int32_t keySize) { in printKeys() argument
59 for(i = 0; i<keySize; i++) { in printKeys()
/third_party/icu/icu4c/source/samples/legacy/
Dnewcol.cpp76 int32_t keySize = 0; in test_current() local
83 keySize = getSortKey_current("ja", data[i], -1, keys[i], 32); in test_current()
84 fprintf(stderr, "For i=%d, size of sortkey is %d\n", i, keySize); in test_current()
Doldcol.cpp92 int32_t keySize = 0; in test_legacy() local
100 keySize = getSortKey_legacy("ja", data[i], -1, keys[i], 32); in test_legacy()
101 fprintf(stderr, "For i=%d, size of sortkey is %d\n", i, keySize); in test_legacy()
Dlegacy.cpp55 void printKeys(const char *comment, uint8_t keys[][32], int32_t keySize) { in printKeys() argument
59 for(i = 0; i<keySize; i++) { in printKeys()
/third_party/node/test/fixtures/wpt/WebCryptoAPI/import_export/
Dsymmetric_importKey.https.any.js68 function testFormat(format, algorithm, keyData, keySize, usages, extractable) { argument
73 …assert_goodCryptoKey(key, hasLength(key.algorithm) ? { length: keySize, ...algorithm } : algorithm…
91 …}, "Good parameters: " + keySize.toString() + " bits " + parameterString(format, keyData, algorith…
96 function testEmptyUsages(format, algorithm, keyData, keySize, extractable) { argument
105 …}, "Empty Usages: " + keySize.toString() + " bits " + parameterString(format, keyData, algorithm, …
Drsa_importKey.https.any.js112 function testFormat(format, algorithm, keyData, keySize, usages, extractable) { argument
135 …}, "Good parameters: " + keySize.toString() + " bits " + parameterString(format, keyData[format], …
140 function testEmptyUsages(format, algorithm, keyData, keySize, extractable) { argument
149 …}, "Empty Usages: " + keySize.toString() + " bits " + parameterString(format, keyData, algorithm, …
Dec_importKey.https.any.js104 function testFormat(format, algorithm, data, keySize, usages, extractable) { argument
136 …}, "Good parameters: " + keySize.toString() + " bits " + parameterString(format, compressed, keyDa…
141 function testEmptyUsages(format, algorithm, data, keySize, extractable) { argument
151 …}, "Empty Usages: " + keySize.toString() + " bits " + parameterString(format, false, keyData, algo…
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DD3D12CachingTests.cpp35 size_t keySize, in StoreData() argument
40 const std::string keyStr(reinterpret_cast<const char*>(key), keySize); in StoreData()
50 size_t keySize, in LoadData() argument
53 const std::string keyStr(reinterpret_cast<const char*>(key), keySize); in LoadData()
/third_party/icu/docs/userguide/collation/
Dexamples.md300 uint32_t keySize = 0;
312 keySize = ucol_getSortKey(coll, source[i], -1, *buffer+currentOffset, bufferSize-currentOffset);
313 if(keySize > bufferSize-currentOffset) {
320keySize = ucol_getSortKey(coll, source[i], -1, *buffer+currentOffset, bufferSize-currentOffset);
322 /* here you can hook code that does something interesting with the keySize -
325 if(keySize > *maxSize) {
326 *maxSize = keySize;
328 currentOffset += keySize;
/third_party/skia/third_party/externals/dawn/src/include/dawn_platform/
DDawnPlatform.h48 size_t keySize,
55 size_t keySize,
/third_party/EGL/extensions/ANDROID/
DEGL_ANDROID_blob_cache.txt78 EGLsizeiANDROID keySize, const void* value, EGLsizeiANDROID valueSize)
86 EGLsizeiANDROID keySize, void* value, EGLsizeiANDROID valueSize)
141 void (*set) (const void* key, EGLsizeiANDROID keySize,
145 respectively, that are to be inserted. <keySize> and <valueSize> specify
160 EGLsizeiANDROID (*get) (const void* key, EGLsizeiANDROID keySize,
163 <key> is a pointer to the beginning of the key. <keySize> specifies the
/third_party/skia/third_party/externals/egl-registry/extensions/ANDROID/
DEGL_ANDROID_blob_cache.txt78 EGLsizeiANDROID keySize, const void* value, EGLsizeiANDROID valueSize)
86 EGLsizeiANDROID keySize, void* value, EGLsizeiANDROID valueSize)
141 void (*set) (const void* key, EGLsizeiANDROID keySize,
145 respectively, that are to be inserted. <keySize> and <valueSize> specify
160 EGLsizeiANDROID (*get) (const void* key, EGLsizeiANDROID keySize,
163 <key> is a pointer to the beginning of the key. <keySize> specifies the
/third_party/mesa3d/src/util/
Ddisk_cache.h59 (*disk_cache_put_cb) (const void *key, signed long keySize,
63 (*disk_cache_get_cb) (const void *key, signed long keySize,
/third_party/node/deps/icu-small/source/common/
Dmlbe.cpp239 int32_t keySize = 0; in initKeyValue() local
254 keySize = stringArray.getSize(); in initKeyValue()
257 for (int32_t idx = 0; idx < keySize; idx++) { in initKeyValue()
/third_party/skia/src/ports/
DSkFontMgr_FontConfigInterface.cpp76 SkASSERT(SkTAddOffset<char>(this, sizeof(SkResourceCache::Key) + keySize) == content); in Request()
84 this->init(nullptr, 0, keySize + contentLen); in Request()
88 static const size_t keySize = sizeof(fStyle); member

12