Home
last modified time | relevance | path

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

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/rpcid_decode/
H A Dsyscap_tool.c39 char *syscapBuf = NULL; in RPCIDStreamDecodeToBuffer() local
95 syscapBuf = (char *)malloc(syscapBufLen); in RPCIDStreamDecodeToBuffer()
96 if (syscapBuf == NULL) { in RPCIDStreamDecodeToBuffer()
97 HILOG_ERROR(LOG_CORE, "malloc syscapBuf failed, size = %u, errno = %{public}d\n", syscapBufLen, errno); in RPCIDStreamDecodeToBuffer()
101 (void)memset_s(syscapBuf, syscapBufLen, 0, syscapBufLen); in RPCIDStreamDecodeToBuffer()
102 char *bufferPtr = syscapBuf; in RPCIDStreamDecodeToBuffer()
106 (void)free(syscapBuf); in RPCIDStreamDecodeToBuffer()
113 (void)free(syscapBuf); in RPCIDStreamDecodeToBuffer()
121 (void)free(syscapBuf); in RPCIDStreamDecodeToBuffer()
128 *syscapSetBuf = syscapBuf; in RPCIDStreamDecodeToBuffer()
[all...]

Completed in 1 milliseconds