Home
last modified time | relevance | path

Searched refs:getState (Results 1 – 25 of 148) sorted by relevance

123456

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DMediaRecorderTest.java38 …assertThat(shadowMediaRecorder.getState(), not(equalTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFI… in testAudioEncoder()
41 …assertThat(shadowMediaRecorder.getState(), equalTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFIGURE… in testAudioEncoder()
61 … assertThat(shadowMediaRecorder.getState(), not(equalTo(ShadowMediaRecorder.STATE_INITIALIZED))); in testAudioSource()
64 assertThat(shadowMediaRecorder.getState(), equalTo(ShadowMediaRecorder.STATE_INITIALIZED)); in testAudioSource()
110 …assertThat(shadowMediaRecorder.getState(), not(equalTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFI… in testOutputFile()
114 …assertThat(shadowMediaRecorder.getState(), equalTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFIGURE… in testOutputFile()
119 …assertThat(shadowMediaRecorder.getState(), not(equalTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFI… in testOutputFormat()
123 …assertThat(shadowMediaRecorder.getState(), equalTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFIGURE… in testOutputFormat()
128 …assertThat(shadowMediaRecorder.getState(), not(equalTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFI… in testPreviewDisplay()
134 …assertThat(shadowMediaRecorder.getState(), equalTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFIGURE… in testPreviewDisplay()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/app/
DSimpleApplication.java92 if (stateManager.getState(StatsAppState.class) != null) { in onAction()
93 stateManager.getState(StatsAppState.class).toggleStats(); in onAction()
194 if (stateManager.getState(FlyCamAppState.class) != null) { in initialize()
197 stateManager.getState(FlyCamAppState.class).setCamera( flyCam ); in initialize()
204 if (stateManager.getState(StatsAppState.class) != null) { in initialize()
212 if (stateManager.getState(StatsAppState.class) != null) { in initialize()
215 stateManager.getState(StatsAppState.class).setFont(guiFont); in initialize()
216 fpsText = stateManager.getState(StatsAppState.class).getFpsText(); in initialize()
252 if (stateManager.getState(StatsAppState.class) != null) { in setDisplayFps()
253 stateManager.getState(StatsAppState.class).setDisplayFps(show); in setDisplayFps()
[all …]
/external/apache-harmony/security/src/test/api/java.injected/java/security/
DSignatureTest.java49 assertEquals("state", Signature.UNINITIALIZED, s.getState()); in testGetProvider()
56 assertEquals("state", Signature.UNINITIALIZED, s.getState()); in testGetAlgorithm()
67 assertEquals("state", Signature.VERIFY, s.getState()); in testInitVerifyPublicKey()
78 assertEquals("state", Signature.VERIFY, s.getState()); in testInitVerifyCertificate()
89 assertEquals("state", Signature.SIGN, s.getState()); in testInitSignPrivateKey()
100 assertEquals("state", Signature.SIGN, s.getState()); in testInitSignPrivateKeySecureRandom()
125 assertEquals("state", Signature.SIGN, s.getState()); in testSign()
150 assertEquals("state", Signature.VERIFY, s.getState()); in testVerifybyteArray()
183 assertEquals("state", Signature.VERIFY, s.getState()); in testVerifybyteArrayintint()
203 assertEquals("state", Signature.SIGN, s.getState()); in testUpdatebyte()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPClientTransaction.java360 if (TransactionState.COMPLETED == this.getState()) { in isMessagePartOfTransaction()
419 sipStack.getStackLogger().logDebug("TransactionState " + this.getState()); in sendMessage()
422 if (TransactionState.PROCEEDING == getState() in sendMessage()
423 || TransactionState.CALLING == getState()) { in sendMessage()
449 if (getState() == null) { in sendMessage()
505 if (getState() == null) in processResponse()
509 if ((TransactionState.COMPLETED == this.getState() || TransactionState.TERMINATED == this in processResponse()
510 .getState()) in processResponse()
518 + getState()); in processResponse()
609 if (TransactionState.TRYING == this.getState()) { in nonInviteClientTransaction()
[all …]
DSIPDialog.java336 if (getState() != DialogState.TERMINATED) { in run()
356 if (SIPDialog.this.getState() != DialogState.TERMINATED) { in run()
419 && transaction.getState() != javax.sip.TransactionState.TERMINATED) { in runTask()
832 "setContact: dialogState: " + this + "state = " + this.getState()); in addRoute()
858 if (this.getState() != DialogState.CONFIRMED in addRoute()
859 && this.getState() != DialogState.TERMINATED) { in addRoute()
940 if (this.getState() == null || this.getState().getValue() == EARLY_STATE) { in sendAck()
945 throw new SipException("Bad dialog state " + this.getState()); in sendAck()
1220 this + " old dialog state is " + this.getState()); in setState()
1328 "setContact: dialogState: " + this + "state = " + this.getState()); in addRoute()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCheckerContext.h98 assert(Pred->getState() && in Eng()
122 const ProgramStateRef &getState() const { return Pred->getState(); } in getState() function
195 return getState()->getSVal(S, getLocationContext()); in getSVal()
209 return addTransitionImpl(State ? State : getState(), false, 0, Tag);
230 return addTransitionImpl(State ? State : getState(), true, Pred, Tag);
289 if (!State || (State == Pred->getState() && !Tag && !MarkAsSink))
/external/clang/lib/StaticAnalyzer/Checkers/
DStreamChecker.cpp210 ProgramStateRef state = C.getState(); in OpenFileAux()
236 ProgramStateRef state = CheckDoubleClose(CE, C.getState(), C); in Fclose()
242 ProgramStateRef state = C.getState(); in Fread()
249 ProgramStateRef state = C.getState(); in Fwrite()
256 ProgramStateRef state = C.getState(); in Fseek()
283 ProgramStateRef state = C.getState(); in Ftell()
290 ProgramStateRef state = C.getState(); in Rewind()
297 ProgramStateRef state = C.getState(); in Fgetpos()
304 ProgramStateRef state = C.getState(); in Fsetpos()
311 ProgramStateRef state = C.getState(); in Clearerr()
[all …]
DObjCSelfInitChecker.cpp120 return getSelfFlags(val, C.getState()); in getSelfFlags()
140 SVal exprVal = C.getState()->getSVal(E, C.getLocationContext()); in isInvalidSelf()
154 if (!C.getState()->get<CalledInit>()) in checkForInvalidSelf()
183 ProgramStateRef state = C.getState(); in checkPostObjCMessage()
248 ProgramStateRef state = C.getState(); in checkPreCall()
276 ProgramStateRef state = C.getState(); in checkPostCall()
313 ProgramStateRef state = C.getState(); in checkLocation()
333 ProgramStateRef State = C.getState(); in checkBind()
DDivZeroChecker.cpp60 SVal Denom = C.getState()->getSVal(B->getRHS(), C.getLocationContext()); in checkPreStmt()
71 llvm::tie(stateNotZero, stateZero) = CM.assumeDual(C.getState(), *DV); in checkPreStmt()
79 bool TaintedD = C.getState()->isTainted(*DV); in checkPreStmt()
DUndefBranchChecker.cpp63 SVal X = Ctx.getState()->getSVal(Condition, Ctx.getLocationContext()); in checkBranchCondition()
91 ProgramStateRef St = N->getState(); in checkBranchCondition()
95 St = PrevN->getState(); in checkBranchCondition()
DGenericTaintChecker.cpp330 ProgramStateRef State = C.getState(); in propagateFromPre()
362 if (State != C.getState()) { in propagateFromPre()
429 ProgramStateRef State = C.getState(); in getPointedToSymbol()
448 ProgramStateRef State = C.getState(); in process()
519 ProgramStateRef State = C.getState(); in preFscanf()
537 ProgramStateRef State = C.getState(); in postSocket()
553 ProgramStateRef State = C.getState(); in postScanf()
571 return C.getState()->addTaint(CE, C.getLocationContext()); in postRetTaint()
575 ProgramStateRef State = C.getState(); in isStdin()
641 ProgramStateRef State = C.getState(); in generateReportIfTainted()
DMacOSKeychainAPIChecker.cpp217 ProgramStateRef State = C.getState(); in getAsPointeeSymbol()
257 ProgramStateRef State = C.getState(); in generateDeallocatorMismatchReport()
281 ProgramStateRef State = C.getState(); in checkPreStmt()
444 ProgramStateRef State = C.getState(); in checkPostStmt()
499 if (!N->getState()->get<AllocatedData>(Sym)) in getAllocationNode()
549 ProgramStateRef State = C.getState(); in checkDeadSymbols()
578 ExplodedNode *N = C.addTransition(C.getState(), C.getPredecessor(), &Tag); in checkDeadSymbols()
596 const AllocationState *AS = N->getState()->get<AllocatedData>(Sym); in VisitNode()
599 const AllocationState *ASPrev = PrevN->getState()->get<AllocatedData>(Sym); in VisitNode()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp197 ProgramStateRef State = Node->getState(); in addVisitorIfNecessary()
243 ProgramStateRef State = N->getState(); in visitNodeInitial()
348 ProgramStateRef State = N->getState(); in visitNodeMaybeUnsuppress()
438 if (Succ->getState()->getSVal(R) != V) in VisitNode()
441 if (Pred->getState()->getSVal(R) == V) { in VisitNode()
468 Succ->getState()); in VisitNode()
516 ProgramStateRef State = StoreSite->getState(); in VisitNode()
663 if (PrevN->getState()->assume(Constraint, !Assumption)) { in VisitNode()
670 if (N->getState()->assume(Constraint, !Assumption)) in VisitNode()
706 SubEngine *Eng = N->getState()->getStateManager().getOwningEngine(); in SuppressInlineDefensiveChecksVisitor()
[all …]
DExprEngineObjC.cpp25 ProgramStateRef state = Pred->getState(); in VisitLvalObjCIvarRefExpr()
75 ProgramStateRef state = Pred->getState(); in VisitObjCForCollectionStmt()
96 ProgramStateRef state = Pred->getState(); in VisitObjCForCollectionStmt()
140 CEMgr.getObjCMethodCall(ME, Pred->getState(), Pred->getLocationContext()); in VisitObjCMessage()
157 ProgramStateRef State = Pred->getState(); in VisitObjCMessage()
199 Bldr.generateSink(ME, Pred, Pred->getState()); in VisitObjCMessage()
DExprEngineC.cpp38 ProgramStateRef state = (*it)->getState(); in VisitBinaryOperator()
121 state = (*I)->getState(); in VisitBinaryOperator()
187 ProgramStateRef State = Pred->getState(); in VisitBlockExpr()
227 ProgramStateRef state = subExprNode->getState(); in VisitCast()
246 ProgramStateRef state = Pred->getState(); in VisitCast()
273 ProgramStateRef state = Pred->getState(); in VisitCast()
407 ProgramStateRef state = Pred->getState(); in VisitCompoundLiteralExpr()
446 if (Pred->getState()->contains<InitializedGlobalsSet>(VD)) { in REGISTER_TRAIT_WITH_PROGRAMSTATE()
459 ProgramStateRef state = N->getState(); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
521 ProgramStateRef state = Pred->getState(); in VisitLogicalExpr()
[all …]
DExprEngineCXX.cpp30 ProgramStateRef state = Pred->getState(); in CreateCXXTemporaryObject()
46 if (state == Pred->getState()) in CreateCXXTemporaryObject()
80 V = Pred->getState()->getSVal(*L); in performTrivialCopy()
90 ProgramStateRef State = (*I)->getState(); in performTrivialCopy()
103 ProgramStateRef State = Pred->getState(); in VisitCXXConstructExpr()
232 ProgramStateRef State = Pred->getState(); in VisitCXXDestructor()
284 ProgramStateRef State = Pred->getState(); in VisitCXXNewExpr()
353 ProgramStateRef state = Pred->getState(); in VisitCXXDeleteExpr()
369 ProgramStateRef state = Pred->getState(); in VisitCXXCatchStmt()
387 ProgramStateRef state = Pred->getState(); in VisitCXXThisExpr()
DExprEngine.cpp312 ProgramStateRef CleanedState = Pred->getState(); in removeDead()
356 ProgramStateRef CheckerState = (*I)->getState(); in removeDead()
362 assert(StateMgr.haveEqualEnvironments(CheckerState, Pred->getState()) && in removeDead()
365 assert(StateMgr.haveEqualStores(CheckerState, Pred->getState()) && in removeDead()
423 ProgramStateRef State = Pred->getState(); in ProcessInitializer()
457 Bldr.generateNode(PP, N->getState(), N); in ProcessInitializer()
491 ProgramStateRef state = Pred->getState(); in ProcessAutomaticObjDtor()
508 ProgramStateRef State = Pred->getState(); in ProcessBaseDtor()
513 SVal ThisVal = Pred->getState()->getSVal(ThisPtr); in ProcessBaseDtor()
528 ProgramStateRef State = Pred->getState(); in ProcessMemberDtor()
[all …]
DCallEvent.cpp32 ASTContext &Ctx = getState()->getStateManager().getContext(); in getResultType()
141 ProgramStateRef Result = (Orig ? Orig : getState()); in invalidateRegions()
250 ASTContext &Ctx = getState()->getStateManager().getContext(); in dump()
327 SValBuilder &SVB = getState()->getStateManager().getSValBuilder(); in getInitialStackFrameContents()
444 DynamicTypeInfo DynType = getState()->getDynamicTypeInfo(R); in getRuntimeDefinition()
496 ProgramStateManager &StateMgr = getState()->getStateManager(); in getInitialStackFrameContents()
574 SValBuilder &SVB = getState()->getStateManager().getSValBuilder(); in getInitialStackFrameContents()
598 SValBuilder &SVB = getState()->getStateManager().getSValBuilder(); in getInitialStackFrameContents()
650 return getState()->getSVal(getState()->getRegion(SelfDecl, LCtx)); in getSelfSVal()
752 getState()->getStateManager().getContext().getSourceManager(); in canBeOverridenInSubclass()
[all …]
/external/webkit/LayoutTests/http/tests/resources/
Dnetwork-simulator.php17 function getState($file) function
60 $state = getState($stateFile);
92 $resourceCount = getState($resourceCountFile);
115 $resourceCount = getState($resourceCountFile);
Dtripmine.php20 function getState($file) function
32 echo getState($stateFile);
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractFuture.java285 int state = getState(); in getValue()
307 return (getState() & (COMPLETED | CANCELLED)) != 0; in isDone()
314 return getState() == CANCELLED; in isCancelled()
358 } else if (getState() == COMPLETING) { in complete()
/external/webkit/LayoutTests/http/tests/appcache/resources/
Dfail-on-update-2.php11 function getState($file) function
20 $state = getState($tmpFile);
Dfail-on-update.php11 function getState($file) function
20 $state = getState($tmpFile);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DNFA.java61 public NFAState getState(int s) { in getState() method in NFA
62 return grammar.composite.getState(s); in getState()
/external/llvm/include/llvm/Support/
DLockFileManager.h65 LockFileState getState() const;
67 operator LockFileState() const { return getState(); } in LockFileState()

123456