Lines Matching defs:result
155 static int ReadMessage(int socketFd, uint32_t sendMsgId, uint8_t *buf, int len, AppSpawnResult *result)
164 return memcpy_s(result, sizeof(AppSpawnResult), &msg->result, sizeof(msg->result));
255 static int ClientSendMsg(AppSpawnReqMsgMgr *reqMgr, AppSpawnReqMsgNode *reqNode, AppSpawnResult *result)
278 reqMgr->recvBlock.buffer, reqMgr->recvBlock.blockSize, result);
335 int AppSpawnClientSendMsg(AppSpawnClientHandle handle, AppSpawnReqMsgHandle reqHandle, AppSpawnResult *result)
337 APPSPAWN_CHECK(result != NULL, AppSpawnReqMsgFree(reqHandle);
338 return APPSPAWN_ARG_INVALID, "Invalid result");
339 result->result = APPSPAWN_ARG_INVALID;
340 result->pid = 0;
351 int ret = ClientSendMsg(reqMgr, reqNode, result);
353 result->result = ret;
356 APPSPAWN_LOGI("AppSpawnClientSendMsg reqId: %{public}u end result: 0x%{public}x pid: %{public}d",
357 reqNode->reqId, result->result, result->pid);