Home
last modified time | relevance | path

Searched refs:SetCapacity (Results 1 – 14 of 14) sorted by relevance

/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
Dhap_byte_buffer_test.cpp160 buffer1.SetCapacity(TEST_HAPBYTEBUFFER_LENGTH);
244 buffer2.SetCapacity(TEST_HAPBYTEBUFFER_LENGTH);
274 buffer1.SetCapacity(static_cast<int>(testStr.size()));
Dhap_verify_result_test.cpp91 testblock.optionalBlockValue.SetCapacity(TEST_HAPBYTEBUFFER_LENGTH);
Dhap_signing_block_utils_test.cpp94 signInfo.hapSignatureBlock.SetCapacity(TEST_FILE_BLOCK_LENGTH); in CreatTestZipFile()
202 digestInfo.content.SetCapacity(TEST_FILE_BLOCK_LENGTH);
306 testOptionalBlock.optionalBlockValue.SetCapacity(TEST_HAPBYTEBUFFER_LENGTH);
Dhap_verify_v2_test.cpp260 digest.content.SetCapacity(TEST_FILE_BLOCK_LENGTH);
Dhap_cert_verify_openssl_utils_test.cpp47 output.SetCapacity(len); in Base64StringDecode()
178 crlBuffer.SetCapacity(TEST_HAPBYTEBUFFER_LENGTH);
/base/powermgr/battery_manager/services/native/test/unittest/src/
Dbattery_notify_test.cpp38 g_batteryInfo->SetCapacity(capacity); in SetUp()
307 g_batteryInfo->SetCapacity(capacity);
335 g_batteryInfo->SetCapacity(capacity);
/base/security/appverify/interfaces/innerkits/appverify/include/common/
Dhap_byte_buffer.h57 DLL_EXPORT void SetCapacity(int cap);
/base/security/appverify/interfaces/innerkits/appverify/src/init/
Dhap_crl_manager.cpp125 crlsBuffer.SetCapacity(fileLen); in ReadCrls()
/base/powermgr/battery_manager/interfaces/innerkits/native/include/
Dbattery_info.h200 void SetCapacity(const int32_t capacity) in SetCapacity() function
/base/security/appverify/interfaces/innerkits/appverify/src/util/
Dhap_signing_block_utils.cpp457 finalDigest.SetCapacity(digestParam.digestOutputSizeBytes); in ComputeDigestsWithOptionalBlock()
498 result.SetCapacity(sumOfChunksLen); in ComputeDigestsForEachChunk()
Dhap_verify_openssl_utils.cpp504 content.SetCapacity(strContentInfoLen); in GetContentInfo()
/base/powermgr/battery_manager/frameworks/native/test/unittest/src/
Dbattery_client_test.cpp583 info1.SetCapacity(100);
584 info2.SetCapacity(0);
/base/security/appverify/interfaces/innerkits/appverify/src/common/
Dhap_byte_buffer.cpp336 void HapByteBuffer::SetCapacity(int cap) in SetCapacity() function in OHOS::Security::Verify::HapByteBuffer
/base/powermgr/battery_manager/services/native/src/
Dbattery_service.cpp186 batteryInfo_.SetCapacity(event.capacity); in ConvertingEvent()