Home
last modified time | relevance | path

Searched refs:memSize (Results 1 – 11 of 11) sorted by relevance

/base/tee/tee_client/services/cadaemon/src/ca_daemon/
Dcadaemon_service.cpp609 uint32_t totalSize, uint32_t memSize) in CheckSizeStatus() argument
612 (shmInfoOffset + refSize > totalSize) || (refSize > memSize)); in CheckSizeStatus()
638 uint32_t memSize = inputPara->memSize; in TeecOptDecodePartialMem() local
646 if (CheckSizeStatus(shmInfoOffset, refSize, inputPara->totalSize, memSize)) { in TeecOptDecodePartialMem()
651 memSize -= refSize; in TeecOptDecodePartialMem()
658 if (CheckSizeStatus(shmInfoOffset, refSize, inputPara->totalSize, memSize)) { in TeecOptDecodePartialMem()
675 memSize -= refSize; in TeecOptDecodePartialMem()
679 inputPara->memSize = memSize; in TeecOptDecodePartialMem()
684 refSize, shmInfoOffset, memSize, inputPara->totalSize); in TeecOptDecodePartialMem()
722 tmpInputPara.memSize = sizeLeft; in GetTeecOptMem()
[all …]
Dcadaemon_service.h51 uint32_t memSize; member
/base/update/updater/services/package/pkg_manager/
Dpkg_stream.cpp285 auto memSize = static_cast<long long>(memSize_); in Seek() local
286 if (memSize + offset < 0) { in Seek()
290 currOffset_ = static_cast<size_t>(memSize + offset); in Seek()
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/test/unittest/common/
Devent_logger_catcher_test.cpp243 const int memSize = 1024 * 3; variable
254 volatile int temp[memSize] = {0};
257 while (i < memSize) {
310 const int memSize = 1024 * 3; variable
321 volatile int temp[memSize] = {0};
324 while (i < memSize) {
/base/hiviewdfx/hiview/base/utility/test/unittest/common/
Dadapter_utility_ohos_test.cpp484 const uint32_t memSize = 256; variable
485 auto ashmem = AshMemoryUtils::GetAshmem("ashMemTest", memSize);
490 bool retIn = AshMemoryUtils::WriteBulkData<AshMemTestStruct>(dataIn, ashmem, memSize, allSize);
/base/startup/appspawn/standard/
Dappspawn_service.c360 const uint32_t memSize = (property->message->msgHeader.msgLen / 4096 + 1) * 4096; // 4096 4K in WriteMsgToChild() local
361 char *buffer = GetMapMem(property->client.id, GetProcessName(property), memSize, false, isNweb); in WriteMsgToChild()
365 int ret = memcpy_s(buffer, memSize, &property->message->msgHeader, sizeof(AppSpawnMsg)); in WriteMsgToChild()
367 ret = memcpy_s((char *)buffer + sizeof(AppSpawnMsg), memSize - sizeof(AppSpawnMsg), in WriteMsgToChild()
372 munmap((char *)buffer, memSize); in WriteMsgToChild()
375 property->forkCtx.msgSize = memSize; in WriteMsgToChild()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_service.c354 uint32_t memSize = sizeof(struct CmMutableBlob) * uidCount; in MergeUserPathList() local
355 struct CmMutableBlob *uidList = (struct CmMutableBlob *)CMMalloc(memSize); in MergeUserPathList()
360 (void)memset_s(uidList, memSize, 0, memSize); in MergeUserPathList()
/base/hiviewdfx/faultloggerd/test/unittest/unwind/
Delf_imitate.cpp558 uint64_t memSize = std::stoull(strVec[INDEX_I5], nullptr, base); in ParseProgramHeaders() local
567 ptLoads_[offset] = ElfLoadInfo{offset, vAddr, static_cast<size_t>(memSize)}; in ParseProgramHeaders()
578 if (vAddr + memSize > endVaddr_) { in ParseProgramHeaders()
579 endVaddr_ = vAddr + memSize; in ParseProgramHeaders()
/base/tee/tee_client/interfaces/kits/c/src/
Dtee_client.h120 TEEC_Result GetOptMemSize(TEEC_Operation *operation, size_t *memSize);
Dtee_client.cpp990 TEEC_Result TeeClient::GetOptMemSize(TEEC_Operation *operation, size_t *memSize) in GetOptMemSize() argument
999 *memSize = optMemSize; in GetOptMemSize()
1028 *memSize = optMemSize; in GetOptMemSize()
/base/security/certificate_framework/frameworks/adapter/v2.0/src/
Dcf_adapter_extension_openssl.c213 uint32_t memSize = sizeof(CfBlob) * arrayLen; in DeepCopyOidsToOut() local
214 CfBlob *dataArray = (CfBlob *)CfMalloc(memSize, 0); in DeepCopyOidsToOut()