Home
last modified time | relevance | path

Searched refs:numWritten (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp401 int numWritten; in decryptAes128Gcm() local
403 if (EVP_DecryptUpdate(ctx.get(), NULL, &numWritten, in decryptAes128Gcm()
409 if ((size_t)numWritten != additionalAuthenticatedData.size()) { in decryptAes128Gcm()
410 LOG(ERROR) << "EVP_DecryptUpdate: Unexpected outl=" << numWritten << " (expected " in decryptAes128Gcm()
416 if (EVP_DecryptUpdate(ctx.get(), (unsigned char*)plainText.data(), &numWritten, cipherText, in decryptAes128Gcm()
421 if (numWritten != cipherTextSize) { in decryptAes128Gcm()
422 LOG(ERROR) << "EVP_DecryptUpdate: Unexpected outl=" << numWritten << " (expected " in decryptAes128Gcm()
432 int ret = EVP_DecryptFinal_ex(ctx.get(), (unsigned char*)plainText.data() + numWritten, in decryptAes128Gcm()
433 &numWritten); in decryptAes128Gcm()
438 if (numWritten != 0) { in decryptAes128Gcm()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp640 uint32_t numWritten = 0; in getChangedCompositionTypes() local
642 if (numWritten == *outNumElements) { in getChangedCompositionTypes()
649 outLayers[numWritten] = layerId; in getChangedCompositionTypes()
650 outTypes[numWritten] = intType; in getChangedCompositionTypes()
651 ++numWritten; in getChangedCompositionTypes()
653 *outNumElements = numWritten; in getChangedCompositionTypes()
681 uint32_t numWritten = 0; in getConfigs() local
683 if (numWritten == *outNumConfigs) { in getConfigs()
686 outConfigs[numWritten] = config->getId(); in getConfigs()
687 ++numWritten; in getConfigs()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp680 uint32_t numWritten = 0; in getChangedCompositionTypes() local
682 if (numWritten == *outNumElements) { in getChangedCompositionTypes()
689 outLayers[numWritten] = layerId; in getChangedCompositionTypes()
690 outTypes[numWritten] = intType; in getChangedCompositionTypes()
691 ++numWritten; in getChangedCompositionTypes()
693 *outNumElements = numWritten; in getChangedCompositionTypes()
723 uint32_t numWritten = 0; in getConfigs() local
725 if (numWritten == *outNumConfigs) { in getConfigs()
728 outConfigs[numWritten] = config->getId(); in getConfigs()
729 ++numWritten; in getConfigs()
[all …]