Lines Matching refs:RetVal
125 NFCSTATUS RetVal = NFCSTATUS_FAILED;
130 RetVal = NFCSTATUS_NOT_INITIALISED;
138 RetVal= NFCSTATUS_INVALID_PARAMETER;
142 RetVal = NFCSTATUS_SHUTDOWN;
146 RetVal=NFCSTATUS_TARGET_NOT_CONNECTED;
150 RetVal=NFCSTATUS_INVALID_HANDLE;
157 RetVal = NFCSTATUS_REJECTED;
162 RetVal = NFCSTATUS_NON_NDEF_COMPLIANT;
169 RetVal = NFCSTATUS_SUCCESS;
175 RetVal= NFCSTATUS_BUSY;
226 RetVal= phFriNfc_NdefMap_SetCompletionRoutine(
237 RetVal = phFriNfc_NdefMap_RdNdef(gpphLibContext->ndef_cntx.psNdefMap,
242 RetVal = PHNFCSTATUS(RetVal);
243 if(NFCSTATUS_INSUFFICIENT_STORAGE == RetVal)
246 RetVal = NFCSTATUS_SUCCESS;
252 RetVal = NFCSTATUS_PENDING;
254 if(NFCSTATUS_PENDING == RetVal)
262 else if (NFCSTATUS_SUCCESS == RetVal)
264 RetVal= NFCSTATUS_SUCCESS;
269 RetVal = NFCSTATUS_FAILED;
272 return RetVal;
378 NFCSTATUS RetVal = NFCSTATUS_FAILED;
385 RetVal = NFCSTATUS_NOT_INITIALISED;
392 RetVal= NFCSTATUS_INVALID_PARAMETER;
397 RetVal= NFCSTATUS_SHUTDOWN;
401 RetVal=NFCSTATUS_TARGET_NOT_CONNECTED;
405 RetVal=NFCSTATUS_INVALID_HANDLE;
411 RetVal = NFCSTATUS_REJECTED;
416 RetVal = NFCSTATUS_NON_NDEF_COMPLIANT;
420 RetVal = NFCSTATUS_NOT_ENOUGH_MEMORY;
426 RetVal= NFCSTATUS_BUSY;
479 RetVal = NFCSTATUS_PENDING;
486 RetVal= phFriNfc_NdefMap_SetCompletionRoutine(
496 RetVal = phFriNfc_NdefMap_EraseNdef(gpphLibContext->ndef_cntx.psNdefMap);
503 RetVal=phFriNfc_NdefMap_WrNdef(gpphLibContext->ndef_cntx.psNdefMap,
508 if(NFCSTATUS_PENDING == RetVal)
517 RetVal = NFCSTATUS_FAILED;
521 return RetVal;
752 NFCSTATUS RetVal = NFCSTATUS_FAILED;
759 RetVal = NFCSTATUS_NOT_INITIALISED;
766 RetVal= NFCSTATUS_INVALID_PARAMETER;
770 RetVal = NFCSTATUS_SHUTDOWN;
774 RetVal=NFCSTATUS_TARGET_NOT_CONNECTED;
778 RetVal=NFCSTATUS_INVALID_HANDLE;
784 RetVal= NFCSTATUS_BUSY;
796 RetVal = phFriNfc_NdefMap_Reset( gpphLibContext->ndef_cntx.psNdefMap,
810 RetVal = phFriNfc_NdefMap_SetCompletionRoutine(
817 RetVal = phFriNfc_NdefMap_ChkNdef(gpphLibContext->ndef_cntx.psNdefMap);
818 RetVal =PHNFCSTATUS(RetVal);
820 if(RetVal== NFCSTATUS_PENDING)
822 RetVal = NFCSTATUS_PENDING;
824 else if((RetVal == NFCSTATUS_FAILED) || (RetVal ==(PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
827 RetVal= NFCSTATUS_FAILED;
840 RetVal = NFCSTATUS_FAILED;
846 RetVal = NFCSTATUS_PENDING;
849 if(RetVal== NFCSTATUS_PENDING)
858 return RetVal;
1253 NFCSTATUS RetVal = NFCSTATUS_FAILED;
1262 RetVal = NFCSTATUS_NOT_INITIALISED;
1269 RetVal= NFCSTATUS_INVALID_PARAMETER;
1274 RetVal= NFCSTATUS_SHUTDOWN;
1278 RetVal=NFCSTATUS_TARGET_NOT_CONNECTED;
1282 RetVal=NFCSTATUS_INVALID_HANDLE;
1289 RetVal = NFCSTATUS_REJECTED;
1296 RetVal= NFCSTATUS_BUSY;
1307 RetVal = phFriNfc_NdefSmtCrd_Reset(gpphLibContext->ndef_cntx.ndef_fmt,
1316 RetVal = phFriNfc_NdefSmtCrd_SetCR(gpphLibContext->ndef_cntx.ndef_fmt,
1327 RetVal = phFriNfc_NdefSmtCrd_Format(gpphLibContext->ndef_cntx.ndef_fmt,
1329 RetVal = PHNFCSTATUS(RetVal);
1330 if(RetVal== NFCSTATUS_PENDING)
1339 RetVal = NFCSTATUS_FAILED;
1342 return RetVal;
1677 NFCSTATUS RetVal = NFCSTATUS_SUCCESS ;
1686 RetVal = NFCSTATUS_SHUTDOWN;
1690 RetVal = NFCSTATUS_ABORTED;
1694 RetVal = status;
1704 if( RetVal!= NFCSTATUS_SUCCESS )
1706 if((RetVal!=NFCSTATUS_SHUTDOWN)&& (RetVal!=NFCSTATUS_ABORTED))
1708 RetVal= NFCSTATUS_FAILED;
1714 RetVal);
1721 RetVal = phFriNfc_NdefRecord_GetRecords(
1752 RetVal = phFriNfc_NdefRecord_GetRecords(
1761 RetVal = phFriNfc_NdefRecord_Parse(
1772 RetVal = phFriNfc_NdefReg_DispatchPacket(
1776 if(NFCSTATUS_SUCCESS != RetVal)
1847 RetVal = phFriNfc_NdefReg_RmCb(
1886 NFCSTATUS RetVal =NFCSTATUS_SUCCESS;
1895 RetVal = NFCSTATUS_NOT_INITIALISED;
1901 RetVal= NFCSTATUS_SHUTDOWN;
1907 RetVal= NFCSTATUS_INVALID_PARAMETER;
1911 RetVal= NFCSTATUS_INVALID_PARAMETER;
1915 RetVal=NFCSTATUS_TARGET_NOT_CONNECTED;
1919 RetVal=NFCSTATUS_INVALID_HANDLE;
1925 RetVal = NFCSTATUS_REJECTED;
1936 RetVal = phFriNfc_NdefReg_Reset(
1962 RetVal = phFriNfc_NdefReg_AddCb(&(gpphLibContext->phLib_NdefRecCntx.NdefReg),
1973 RetVal= phFriNfc_NdefMap_SetCompletionRoutine(
1982 RetVal = phFriNfc_NdefMap_RdNdef(gpphLibContext->ndef_cntx.psNdefMap,
1987 if(NFCSTATUS_PENDING == RetVal)
1994 else if (NFCSTATUS_SUCCESS == RetVal)
1996 RetVal= NFCSTATUS_SUCCESS;
2001 RetVal = NFCSTATUS_FAILED;
2004 return RetVal;