Searched refs:sizeLeft (Results 1 - 4 of 4) sorted by relevance
/base/hiviewdfx/hilog/frameworks/libhilog/socket/ |
H A D | socket.cpp | 94 int sizeLeft = static_cast<int>(len); in WriteAll() local 101 while (sizeLeft > 0) { in WriteAll() 102 midRes = Write(ptr, sizeLeft); in WriteAll() 106 sizeLeft -= midRes; in WriteAll()
|
/base/tee/tee_client/interfaces/kits/c/src/ |
H A D | tee_client.cpp | 642 size_t sizeLeft = dataSize; in TeecOptDecode() local 652 &(inOpt->params[paramCnt]), &ptr, &sizeLeft); in TeecOptDecode() 658 &(inOpt->params[paramCnt]), &ptr, &sizeLeft); in TeecOptDecode() 674 size_t sizeLeft = *dataSize; in TeecOptDecodeTempMem() local 677 if (sizeLeft < param->tmpref.size) { in TeecOptDecodeTempMem() 678 tloge("size is error:%zu:%{public}u\n", sizeLeft, param->tmpref.size); in TeecOptDecodeTempMem() 684 sizeLeft -= param->tmpref.size; in TeecOptDecodeTempMem() 695 if (sizeLeft < inParam->tmpref.size) { in TeecOptDecodeTempMem() 696 tloge("size is not enough:%zu:%{public}u\n", sizeLeft, inParam->tmpref.size); in TeecOptDecodeTempMem() 708 sizeLeft in TeecOptDecodeTempMem() 814 CovertEncodePtr(sptr<Ashmem> &optMem, size_t *sizeLeft, TEEC_SharedMemory *shm) CovertEncodePtr() argument 853 size_t sizeLeft = *dataSize; TeecOptEncodePartialMem() local 904 size_t sizeLeft = dataSize; TeecOptEncode() local [all...] |
H A D | tee_client.h | 134 bool CovertEncodePtr(sptr<Ashmem> &optMem, size_t *sizeLeft, TEEC_SharedMemory *shm);
|
/base/tee/tee_client/services/cadaemon/src/ca_daemon/ |
H A D | cadaemon_service.cpp | 697 size_t sizeLeft = optMemSize; in GetTeecOptMem() local 710 if (CheckSizeStatus(shmInfoOffset, refSize, optMemSize, sizeLeft)) { in GetTeecOptMem() 712 refSize, shmInfoOffset, (uint32_t)sizeLeft, (uint32_t)optMemSize); in GetTeecOptMem() 716 sizeLeft -= refSize; in GetTeecOptMem() 722 tmpInputPara.memSize = sizeLeft; in GetTeecOptMem() 729 sizeLeft = tmpInputPara.memSize; in GetTeecOptMem()
|
Completed in 5 milliseconds