/base/tee/tee_client/services/cadaemon/src/ca_daemon/ |
D | cadaemon_service.cpp | 609 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 …]
|
D | cadaemon_service.h | 51 uint32_t memSize; member
|
/base/update/updater/services/package/pkg_manager/ |
D | pkg_stream.cpp | 285 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/ |
D | event_logger_catcher_test.cpp | 243 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/ |
D | adapter_utility_ohos_test.cpp | 484 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/ |
D | appspawn_service.c | 360 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/ |
D | cert_manager_service.c | 354 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/ |
D | elf_imitate.cpp | 558 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/ |
D | tee_client.h | 120 TEEC_Result GetOptMemSize(TEEC_Operation *operation, size_t *memSize);
|
D | tee_client.cpp | 990 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/ |
D | cf_adapter_extension_openssl.c | 213 uint32_t memSize = sizeof(CfBlob) * arrayLen; in DeepCopyOidsToOut() local 214 CfBlob *dataArray = (CfBlob *)CfMalloc(memSize, 0); in DeepCopyOidsToOut()
|