Home
last modified time | relevance | path

Searched refs:RetVal (Results 1 – 25 of 29) sorted by relevance

12

/external/libnfc-nxp/src/
DphLibNfc_target.c86 NFCSTATUS RetVal = NFCSTATUS_FAILED; in phLibNfc_RemoteDev_Receive() local
91 RetVal = NFCSTATUS_NOT_INITIALISED; in phLibNfc_RemoteDev_Receive()
95 RetVal = NFCSTATUS_DESELECTED; in phLibNfc_RemoteDev_Receive()
101 RetVal= NFCSTATUS_INVALID_PARAMETER; in phLibNfc_RemoteDev_Receive()
105 RetVal = NFCSTATUS_SHUTDOWN; in phLibNfc_RemoteDev_Receive()
113 RetVal = NFCSTATUS_REJECTED; in phLibNfc_RemoteDev_Receive()
117 RetVal= NFCSTATUS_INVALID_DEVICE; in phLibNfc_RemoteDev_Receive()
123 RetVal = NFCSTATUS_BUSY; in phLibNfc_RemoteDev_Receive()
132 RetVal = NFCSTATUS_PENDING; in phLibNfc_RemoteDev_Receive()
138 RetVal =phHal4Nfc_Receive( in phLibNfc_RemoteDev_Receive()
[all …]
DphLibNfc_discovery.c149 NFCSTATUS RetVal = NFCSTATUS_FAILED; in phLibNfc_Mgt_ConfigureDiscovery() local
159 RetVal = NFCSTATUS_NOT_INITIALISED; in phLibNfc_Mgt_ConfigureDiscovery()
164 RetVal= NFCSTATUS_INVALID_PARAMETER; in phLibNfc_Mgt_ConfigureDiscovery()
169 RetVal= NFCSTATUS_SHUTDOWN; in phLibNfc_Mgt_ConfigureDiscovery()
180 RetVal = phHal4Nfc_ConfigureDiscovery ( gpphLibContext->psHwReference, in phLibNfc_Mgt_ConfigureDiscovery()
186 if(PHNFCSTATUS(RetVal) == NFCSTATUS_PENDING) in phLibNfc_Mgt_ConfigureDiscovery()
197 RetVal=NFCSTATUS_FAILED; in phLibNfc_Mgt_ConfigureDiscovery()
203 RetVal=NFCSTATUS_BUSY; in phLibNfc_Mgt_ConfigureDiscovery()
206 return RetVal; in phLibNfc_Mgt_ConfigureDiscovery()
218 NFCSTATUS RetVal = NFCSTATUS_FAILED; in phLibNfc_RemoteDev_CheckPresence() local
[all …]
DphLibNfc_ndef_raw.c124 NFCSTATUS RetVal = NFCSTATUS_FAILED; in phLibNfc_Ndef_Read() local
128 RetVal = NFCSTATUS_NOT_INITIALISED; in phLibNfc_Ndef_Read()
136 RetVal= NFCSTATUS_INVALID_PARAMETER; in phLibNfc_Ndef_Read()
140 RetVal = NFCSTATUS_SHUTDOWN; in phLibNfc_Ndef_Read()
144 RetVal=NFCSTATUS_TARGET_NOT_CONNECTED; in phLibNfc_Ndef_Read()
148 RetVal=NFCSTATUS_INVALID_HANDLE; in phLibNfc_Ndef_Read()
155 RetVal = NFCSTATUS_REJECTED; in phLibNfc_Ndef_Read()
160 RetVal = NFCSTATUS_NON_NDEF_COMPLIANT; in phLibNfc_Ndef_Read()
167 RetVal = NFCSTATUS_SUCCESS; in phLibNfc_Ndef_Read()
173 RetVal= NFCSTATUS_BUSY; in phLibNfc_Ndef_Read()
[all …]
DphLibNfc_initiator.c121 NFCSTATUS RetVal = NFCSTATUS_SUCCESS, in phLibNfc_NotificationRegister_Resp_Cb() local
361 RetVal = phHal4Nfc_ConfigureDiscovery ( gpphLibContext->psHwReference, in phLibNfc_NotificationRegister_Resp_Cb()
367 if((RetVal!=NFCSTATUS_SUCCESS) &&(RetVal!=NFCSTATUS_PENDING)) in phLibNfc_NotificationRegister_Resp_Cb()
396 NFCSTATUS RetVal = NFCSTATUS_SUCCESS; in phLibNfc_RemoteDev_NtfRegister() local
404 RetVal= NFCSTATUS_INVALID_PARAMETER; in phLibNfc_RemoteDev_NtfRegister()
410 RetVal = NFCSTATUS_NOT_INITIALISED; in phLibNfc_RemoteDev_NtfRegister()
416 RetVal= NFCSTATUS_SHUTDOWN; in phLibNfc_RemoteDev_NtfRegister()
429 RetVal = phHal4Nfc_RegisterNotification( in phLibNfc_RemoteDev_NtfRegister()
436 RetVal = phHal4Nfc_RegisterNotification( in phLibNfc_RemoteDev_NtfRegister()
447 return RetVal; in phLibNfc_RemoteDev_NtfRegister()
[all …]
DphLibNfc.c800 NFCSTATUS RetVal = NFCSTATUS_FAILED; in phLibNfc_Mgt_GetstackCapabilities() local
805 RetVal = NFCSTATUS_NOT_INITIALISED; in phLibNfc_Mgt_GetstackCapabilities()
811 RetVal= NFCSTATUS_INVALID_PARAMETER; in phLibNfc_Mgt_GetstackCapabilities()
815 RetVal = NFCSTATUS_SHUTDOWN; in phLibNfc_Mgt_GetstackCapabilities()
820 RetVal = NFCSTATUS_BUSY; in phLibNfc_Mgt_GetstackCapabilities()
849 RetVal= phHal4Nfc_GetDeviceCapabilities( in phLibNfc_Mgt_GetstackCapabilities()
880 if(NFCSTATUS_SUCCESS != RetVal) in phLibNfc_Mgt_GetstackCapabilities()
882 RetVal = NFCSTATUS_FAILED; in phLibNfc_Mgt_GetstackCapabilities()
885 return RetVal; in phLibNfc_Mgt_GetstackCapabilities()
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp268 Value *RetVal = FlowsToReturn[i+1]; // UniqueVector[0] is reserved. in IsFunctionMallocLike() local
270 if (Constant *C = dyn_cast<Constant>(RetVal)) { in IsFunctionMallocLike()
277 if (isa<Argument>(RetVal)) in IsFunctionMallocLike()
280 if (Instruction *RVI = dyn_cast<Instruction>(RetVal)) in IsFunctionMallocLike()
316 if (PointerMayBeCaptured(RetVal, false, /*StoreCaptures=*/false)) in IsFunctionMallocLike()
DDeadArgumentElimination.cpp865 Value *RetVal = UndefValue::get(RetTy); in RemoveDeadStuffFromFunction() local
878 RetVal = InsertValueInst::Create(RetVal, V, i, "oldret", InsertPt); in RemoveDeadStuffFromFunction()
882 Call->replaceAllUsesWith(RetVal); in RemoveDeadStuffFromFunction()
920 Value *RetVal; in RemoveDeadStuffFromFunction() local
923 RetVal = 0; in RemoveDeadStuffFromFunction()
933 RetVal = UndefValue::get(NRetTy); in RemoveDeadStuffFromFunction()
942 RetVal = InsertValueInst::Create(RetVal, EV, NewRetIdxs[i], in RemoveDeadStuffFromFunction()
947 RetVal = EV; in RemoveDeadStuffFromFunction()
953 ReturnInst::Create(F->getContext(), RetVal, RI); in RemoveDeadStuffFromFunction()
DGlobalOpt.cpp2305 static bool EvaluateFunction(Function *F, Constant *&RetVal, in EvaluateFunction() argument
2477 Constant *RetVal; in EvaluateFunction() local
2479 if (!EvaluateFunction(Callee, RetVal, Formals, CallStack, in EvaluateFunction()
2482 InstResult = RetVal; in EvaluateFunction()
2509 RetVal = getVal(Values, RI->getOperand(0)); in EvaluateFunction()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h459 template<typename SC, typename RetVal=void>
461 RetVal visit(const SCEV *S) { in visit()
492 RetVal visitCouldNotCompute(const SCEVCouldNotCompute *S) { in visitCouldNotCompute()
494 return RetVal(); in visitCouldNotCompute()
/external/llvm/lib/CodeGen/
DIfConversion.cpp314 bool RetVal = false; in runOnMachineFunction() local
328 RetVal = IfConvertSimple(BBI, Kind); in runOnMachineFunction()
329 DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n"); in runOnMachineFunction()
330 if (RetVal) { in runOnMachineFunction()
354 RetVal = IfConvertTriangle(BBI, Kind); in runOnMachineFunction()
355 DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n"); in runOnMachineFunction()
356 if (RetVal) { in runOnMachineFunction()
372 RetVal = IfConvertDiamond(BBI, Kind, NumDups, NumDups2); in runOnMachineFunction()
373 DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n"); in runOnMachineFunction()
374 if (RetVal) ++NumDiamonds; in runOnMachineFunction()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DStreamChecker.cpp227 DefinedSVal RetVal = in OpenFileAux() local
229 state = state->BindExpr(CE, RetVal); in OpenFileAux()
235 llvm::tie(stateNotNull, stateNull) = CM.assumeDual(state, RetVal); in OpenFileAux()
237 if (SymbolRef Sym = RetVal.getAsSymbol()) { in OpenFileAux()
/external/llvm/tools/bugpoint/
DExecutionDriver.cpp386 int RetVal = AI->ExecuteProgram(BitcodeFile, InputArgv, InputFile, OutputFile, in executeProgram() local
392 if (RetVal == -1) { in executeProgram()
407 outFile << "exit " << RetVal << '\n'; in executeProgram()
/external/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp134 bool RetVal = false; in CheckForEscapingAllocas() local
137 RetVal |= AllocaMightEscapeToCalls(AI); in CheckForEscapingAllocas()
146 return RetVal; in CheckForEscapingAllocas()
DCodeGenPrepare.cpp532 Constant *RetVal = ConstantInt::get(ReturnTy, Min ? 0 : -1ULL); in OptimizeCallInst() local
539 ReplaceAndSimplifyAllUses(CI, RetVal, TLI ? TLI->getTargetData() : 0, in OptimizeCallInst()
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp454 if (Value *RetVal = Body->Codegen()) { in Codegen() local
456 Builder.CreateRet(RetVal); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp462 if (Value *RetVal = Body->Codegen()) { in Codegen() local
464 Builder.CreateRet(RetVal); in Codegen()
/external/valgrind/unittest/
Dbigtest.cc204 template <typename RetVal>
206 TestAdder(int id, RetVal (*_Run)(), in TestAdder()
/external/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp1577 bool RetVal = false; in RescheduleOps() local
1713 RetVal = true; in RescheduleOps()
1718 return RetVal; in RescheduleOps()
1723 bool RetVal = false; in RescheduleLoadStoreInstrs() local
1810 RetVal |= RescheduleOps(MBB, Lds, Base, true, MI2LocMap); in RescheduleLoadStoreInstrs()
1818 RetVal |= RescheduleOps(MBB, Sts, Base, false, MI2LocMap); in RescheduleLoadStoreInstrs()
1829 return RetVal; in RescheduleLoadStoreInstrs()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp707 if (Value *RetVal = Body->Codegen()) { in Codegen() local
709 Builder.CreateRet(RetVal); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp815 if (Value *RetVal = Body->Codegen()) { in Codegen() local
817 Builder.CreateRet(RetVal); in Codegen()
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp1741 SDNode *RetVal = SelectAtomicLoadAdd(Node, NVT); in Select() local
1742 if (RetVal) in Select()
1743 return RetVal; in Select()
1749 SDNode *RetVal = SelectAtomicLoadArith(Node, NVT); in Select() local
1750 if (RetVal) in Select()
1751 return RetVal; in Select()
/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGRRList.cpp2110 bool RetVal = false; in hasOnlyLiveInOpers() local
2120 RetVal = true; in hasOnlyLiveInOpers()
2126 return RetVal; in hasOnlyLiveInOpers()
2133 bool RetVal = false; in hasOnlyLiveOutUses() local
2142 RetVal = true; in hasOnlyLiveOutUses()
2148 return RetVal; in hasOnlyLiveOutUses()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp978 if (Value *RetVal = Body->Codegen()) { in Codegen() local
980 Builder.CreateRet(RetVal); in Codegen()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp287 Constant *RetVal = ConstantInt::get(ReturnTy, DontKnow); in visitCallInst() local
288 return ReplaceInstUsesWith(CI, RetVal); in visitCallInst()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp4514 Constant *&RetVal = ConstantEvolutionLoopExitValue[PN]; in getConstantEvolutionLoopExitValue() local
4523 return RetVal = 0; // Must be a constant. in getConstantEvolutionLoopExitValue()
4528 return RetVal = 0; // Not derived from same PHI. in getConstantEvolutionLoopExitValue()
4532 return RetVal = 0; // More than 2^32-1 iterations?? Not doing it! in getConstantEvolutionLoopExitValue()
4538 return RetVal = PHIVal; // Got exit value! in getConstantEvolutionLoopExitValue()
4543 return RetVal = NextPHI; // Stopped evolving! in getConstantEvolutionLoopExitValue()

12