Home
last modified time | relevance | path

Searched refs:headSize (Results 1 - 4 of 4) sorted by relevance

/base/sensors/sensor/utils/ipc/src/
H A Dstream_socket.cpp43 constexpr size_t headSize = sizeof(PackHead); in OnReadPackets() local
46 if (unreadSize < headSize) { in OnReadPackets()
49 size_t dataSize = unreadSize - headSize; in OnReadPackets()
64 if ((head->size > 0) && (!pkt.Write(&buf[headSize], head->size))) { in OnReadPackets()
/base/msdp/device_status/utils/ipc/src/
H A Dstream_socket.cpp74 constexpr int32_t headSize = static_cast<int32_t>(sizeof(PackHead)); in OnReadPackets() local
77 if (residualSize < headSize) { in OnReadPackets()
80 int32_t dataSize = residualSize - headSize; in OnReadPackets()
95 if ((head->size > 0) && (!pkt.Write(&buf[headSize], head->size))) { in OnReadPackets()
/base/security/huks/frameworks/huks_standard/main/core/src/
H A Dhks_verifier.c287 static int32_t ExtractTlvLength(const uint8_t *in, uint32_t inLen, uint32_t *headSize, uint32_t *outLen) in ExtractTlvLength() argument
300 *headSize = buf - in; in ExtractTlvLength()
301 if (*headSize > inLen) { in ExtractTlvLength()
306 if (length > (inLen - *headSize)) { in ExtractTlvLength()
327 uint32_t headSize = buf - in; in ExtractTlvData()
328 if (headSize > inLen) { in ExtractTlvData()
333 if (length > (inLen - headSize)) { in ExtractTlvData()
463 uint32_t headSize = 0; in GetClaimDataParamSet() local
472 int32_t ret = ExtractTlvDataAndHeadSize(data + offset, len - offset, &claimData, &claimSize, &headSize); in GetClaimDataParamSet()
503 uint32_t headSize; in FillAttestExtendParamSet() local
[all...]
/base/hiviewdfx/faultloggerd/frameworks/allocator/
H A Ddfx_allocator.c280 const size_t headSize = AlignRoundUp(PAGE_INFO_SIZE, align); in AllocMmap() local
284 if (__builtin_add_overflow(headSize, size, &allocSize) || in AllocMmap()
296 void* result = (void*)((char*)(mptr) + headSize); in AllocMmap()

Completed in 4 milliseconds