Lines Matching defs:nResult
170 TEEC_Result nResult = TEEC_SUCCESS;
245 nResult = ioctl((S_HANDLE)pContext->imp._hConnection, IOCTL_SCX_EXCHANGE, pCommand);
246 if (nResult != S_SUCCESS)
248 TRACE_INFO("scxExchangeMessage[0x%X]: Ioctl returned error: 0x%x (0x%x - %d)\n",pContext,nResult,errno,errno);
252 nResult=TEEC_ERROR_OUT_OF_MEMORY;
255 nResult=TEEC_ERROR_ACCESS_DENIED;
258 nResult=TEEC_ERROR_COMMUNICATION;
300 return nResult;
521 TEEC_Result nResult;
534 nResult = scxExchangeMessage(context,
538 if (nResult == TEEC_SUCCESS)
540 nResult = sAnswer.sRegisterSharedMemory.nErrorCode;
542 if (nResult == TEEC_SUCCESS)
547 return nResult;
568 TEEC_Result nResult;
579 nResult = TEEC_RegisterSharedMemory0(context, sharedMem);
580 if (nResult != TEEC_SUCCESS)
585 return nResult;
621 TEEC_Result nResult;
646 nResult = scxExchangeMessage(context,&sMessage, &sAnswer, NULL);
648 if (nResult != TEEC_SUCCESS)
912 uint32_t nResult;
914 nResult = ioctl((S_HANDLE)context->imp._hConnection, IOCTL_SCX_GET_DESCRIPTION, &sInfoBuffer);
915 if (nResult != S_SUCCESS)
917 TRACE_ERROR("TEEC_GetImplementationInfo[0x%X]: ioctl returned error: 0x%x ( %d)\n",context, nResult, errno);