Home
last modified time | relevance | path

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

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/rpcid_decode/
H A Dsyscap_tool.c42 uint16_t sysCapLength; in RPCIDStreamDecodeToBuffer() local
79 sysCapLength = ntohs(*(uint16_t *)(sysCapArrayPtr - sizeof(uint16_t))); in RPCIDStreamDecodeToBuffer()
80 if (sysCapLength < 0) { in RPCIDStreamDecodeToBuffer()
81 HILOG_ERROR(LOG_CORE, "format error:sysCapLength is invalid\n"); in RPCIDStreamDecodeToBuffer()
84 if (contextBufferTail < sysCapArrayPtr + sysCapLength) { in RPCIDStreamDecodeToBuffer()
89 if ((sysCapLength % SINGLE_FEAT_LENGTH) != 0) { in RPCIDStreamDecodeToBuffer()
90 HILOG_ERROR(LOG_CORE, "format error:sysCapLength is invalid\n"); in RPCIDStreamDecodeToBuffer()
94 syscapBufLen = sysCapLength / SINGLE_FEAT_LENGTH * SINGLE_SYSCAP_LENGTH; in RPCIDStreamDecodeToBuffer()
103 for (int32_t i = 0; i < ((int32_t)sysCapLength / SINGLE_FEAT_LENGTH); i++) { in RPCIDStreamDecodeToBuffer()

Completed in 1 milliseconds