Searched refs:SetCapacity (Results 1 – 16 of 16) sorted by relevance
32 void SetCapacity(const int32_t capacity) in SetCapacity() function
160 buffer1.SetCapacity(TEST_HAPBYTEBUFFER_LENGTH);244 buffer2.SetCapacity(TEST_HAPBYTEBUFFER_LENGTH);274 buffer1.SetCapacity(static_cast<int>(testStr.size()));
91 testblock.optionalBlockValue.SetCapacity(TEST_HAPBYTEBUFFER_LENGTH);
94 signInfo.hapSignatureBlock.SetCapacity(TEST_FILE_BLOCK_LENGTH); in CreatTestZipFile()202 digestInfo.content.SetCapacity(TEST_FILE_BLOCK_LENGTH);306 testOptionalBlock.optionalBlockValue.SetCapacity(TEST_HAPBYTEBUFFER_LENGTH);
260 digest.content.SetCapacity(TEST_FILE_BLOCK_LENGTH);
47 output.SetCapacity(len); in Base64StringDecode()178 crlBuffer.SetCapacity(TEST_HAPBYTEBUFFER_LENGTH);
38 g_batteryInfo->SetCapacity(capacity); in SetUp()307 g_batteryInfo->SetCapacity(capacity);337 g_batteryInfo->SetCapacity(capacity);
58 DLL_EXPORT void SetCapacity(int32_t cap);
67 g_info.SetCapacity(BATTERY_HIGH_FULL); in SetUp()609 info1.SetCapacity(100);625 info2.SetCapacity(100);664 info1.SetCapacity(100);665 info2.SetCapacity(50);
125 SetCapacity(BATTERY_LEVEL_FULL);204 SetCapacity(BATTERY_LEVEL_FULL);
125 crlsBuffer.SetCapacity(fileLen); in ReadCrls()
234 void SetCapacity(const int32_t capacity) in SetCapacity() function
468 finalDigest.SetCapacity(digestParam.digestOutputSizeBytes); in ComputeDigestsWithOptionalBlock()509 result.SetCapacity(sumOfChunksLen); in ComputeDigestsForEachChunk()
505 content.SetCapacity(strContentInfoLen); in GetContentInfo()
346 void HapByteBuffer::SetCapacity(int32_t cap) in SetCapacity() function in OHOS::Security::Verify::HapByteBuffer
188 batteryInfo_.SetCapacity(event.capacity); in ConvertingEvent()697 batteryInfo_.SetCapacity(capacity); in MockCapacity()