Home
last modified time | relevance | path

Searched refs:currentState (Results 1 – 25 of 54) sorted by relevance

123

/external/jsilver/src/com/google/streamhtmlparser/impl/
DGenericParser.java43 protected InternalState currentState; field in GenericParser
53 this.currentState = initialState; in GenericParser()
69 currentState = aGenericParser.currentState; in GenericParser()
109 parserStateTable.getNextState(currentState, input); in parse()
116 currentState.getName(), getState().getName()); in parse()
117 currentState = InternalState.INTERNAL_ERROR_STATE; in parse()
121 if (currentState != nextState) { in parse()
122 nextState = handleExitState(currentState, nextState, input); in parse()
124 if (currentState != nextState) { in parse()
128 currentState = nextState; in parse()
[all …]
DHtmlParserImpl.java189 || (currentState == CDATA_TEXT) in inJavascript()
190 || (currentState == CDATA_COM_START) in inJavascript()
191 || (currentState == CDATA_COM_START_DASH) in inJavascript()
192 || (currentState == CDATA_COM_BODY) in inJavascript()
193 || (currentState == CDATA_COM_DASH) in inJavascript()
194 || (currentState == CDATA_COM_DASH_DASH) in inJavascript()
195 || (currentState == CDATA_LT) in inJavascript()
196 || (currentState == CDATA_MAY_CLOSE) in inJavascript()
197 || (currentState == JS_FILE) )); in inJavascript()
230 return (currentState == CSS_FILE in inCss()
[all …]
DJavascriptParserImpl.java102 currentState = JS_TEXT; in reset()
106 protected InternalState handleEnterState(InternalState currentState, in handleEnterState() argument
110 if (currentState == JS_SLASH) { in handleEnterState()
111 nextState = enterStateJsSlash(currentState, input); in handleEnterState()
112 } else if (currentState == JS_COM_AFTER) { in handleEnterState()
119 protected InternalState handleExitState(InternalState currentState, in handleExitState() argument
127 protected InternalState handleInState(InternalState currentState, in handleInState() argument
129 if (currentState == JS_TEXT) { in handleInState()
132 return currentState; in handleInState()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowVideoView.java28 private int currentState = -1; field in ShadowVideoView
59 currentState = ShadowVideoView.START; in start()
65 currentState = ShadowVideoView.STOP; in stopPlayback()
71 currentState = ShadowVideoView.SUSPEND; in suspend()
77 currentState = ShadowVideoView.PAUSE; in pause()
83 currentState = ShadowVideoView.RESUME; in resume()
88 return (currentState == ShadowVideoView.START); in isPlaying()
93 return (currentState != ShadowVideoView.PAUSE && in canPause()
94 currentState != ShadowVideoView.STOP && in canPause()
95 currentState != ShadowVideoView.SUSPEND); in canPause()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/sampling/
DAbstractStepInterpolator.java50 protected double[] currentState; field in AbstractStepInterpolator
101 currentState = null; in AbstractStepInterpolator()
123 currentState = y; in AbstractStepInterpolator()
159 if (interpolator.currentState != null) { in AbstractStepInterpolator()
160 currentState = interpolator.currentState.clone(); in AbstractStepInterpolator()
164 currentState = null; in AbstractStepInterpolator()
189 currentState = y; in reinitialize()
444 if (currentState == null) { in writeBaseExternal()
447 out.writeInt(currentState.length); in writeBaseExternal()
456 if (currentState != null) { in writeBaseExternal()
[all …]
DDummyStepInterpolator.java102 System.arraycopy(currentState, 0, interpolatedState, 0, currentState.length); in computeInterpolatedStateAndDerivatives()
136 if (currentState == null) { in readExternal()
139 currentDerivative = new double[currentState.length]; in readExternal()
DNordsieckStepInterpolator.java209 for (int j = 0; j < currentState.length; ++j) { in computeInterpolatedStateAndDerivatives()
211 interpolatedState[j] = currentState[j] + stateVariation[j]; in computeInterpolatedStateAndDerivatives()
230 final int n = (currentState == null) ? -1 : currentState.length; in writeExternal()
263 final int n = (currentState == null) ? -1 : currentState.length; in readExternal()
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
DRungeKuttaStepInterpolator.java83 if (interpolator.currentState != null) { in RungeKuttaStepInterpolator()
84 final int dimension = currentState.length; in RungeKuttaStepInterpolator()
140 final int n = (currentState == null) ? -1 : currentState.length; in writeExternal()
162 final int n = (currentState == null) ? -1 : currentState.length; in readExternal()
174 if (currentState != null) { in readExternal()
DGraggBulirschStoerStepInterpolator.java155 final int dimension = currentState.length; in GraggBulirschStoerStepInterpolator()
197 newPols[i] = new double[currentState.length]; in resetTables()
201 newPols[i] = new double[currentState.length]; in resetTables()
246 for (int i = 0; i < currentState.length; ++i) { in computeCoefficients()
250 final double ydiff = y1[i] - currentState[i]; in computeCoefficients()
254 polynoms[0][i] = currentState[i]; in computeCoefficients()
264 final double ph0 = 0.5 * (currentState[i] + y1[i]) + 0.125 * (aspl + bspl); in computeCoefficients()
314 final int dimension = currentState.length; in computeInterpolatedStateAndDerivatives()
361 final int dimension = (currentState == null) ? -1 : currentState.length; in writeExternal()
383 final int dimension = (currentState == null) ? -1 : currentState.length; in readExternal()
DDormandPrince853StepInterpolator.java246 if (interpolator.currentState == null) { in DormandPrince853StepInterpolator()
254 final int dimension = interpolator.currentState.length; in DormandPrince853StepInterpolator()
288 final int dimension = currentState.length; in reinitialize()
371 interpolatedState[i] = currentState[i] - in computeInterpolatedStateAndDerivatives()
391 if (currentState == null) { in doFinalize()
397 final double[] yTmp = new double[currentState.length]; in doFinalize()
401 for (int j = 0; j < currentState.length; ++j) { in doFinalize()
405 yTmp[j] = currentState[j] + h * s; in doFinalize()
410 for (int j = 0; j < currentState.length; ++j) { in doFinalize()
415 yTmp[j] = currentState[j] + h * s; in doFinalize()
[all …]
DEulerStepInterpolator.java85 interpolatedState[i] = currentState[i] - oneMinusThetaH * yDotK[0][i]; in computeInterpolatedStateAndDerivatives()
DMidpointStepInterpolator.java94 interpolatedState[i] = currentState[i] + coeff1 * yDot1 - coeff2 * yDot2; in computeInterpolatedStateAndDerivatives()
DClassicalRungeKuttaStepInterpolator.java103 currentState[i] + coeff1 * yDot1 + coeff23 * yDot23 + coeff4 * yDot4; in computeInterpolatedStateAndDerivatives()
DThreeEighthesStepInterpolator.java108 currentState[i] - coeff1 * yDot1 - coeff2 * yDot2 - coeff3 * yDot3 - coeff4 * yDot4; in computeInterpolatedStateAndDerivatives()
DHighamHall54StepInterpolator.java96 currentState[i] + b0 * yDot0 + b2 * yDot2 + b3 * yDot3 + b4 * yDot4 + b5 * yDot5; in computeInterpolatedStateAndDerivatives()
DGillStepInterpolator.java118 currentState[i] - coeff1 * yDot1 - coeff2 * yDot2 - coeff3 * yDot3 - coeff4 * yDot4; in computeInterpolatedStateAndDerivatives()
DDormandPrince54StepInterpolator.java208currentState[i] - oneMinusThetaH * (v1[i] - theta * (v2[i] + theta * (v3[i] + eta * v4[i]))); in computeInterpolatedStateAndDerivatives()
/external/icu/icu4c/source/common/
Ducnv_ct.c341 COMPOUND_TEXT_CONVERTERS currentState, tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS() local
348 currentState = myConverterData->state; in UConverter_fromUnicode_CompoundText_OFFSETS()
397 if (tmpState != DO_SEARCH && currentState != tmpState) { in UConverter_fromUnicode_CompoundText_OFFSETS()
399 currentState = tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS()
400 for (i = 0; escSeqCompoundText[currentState][i] != 0; i++) { in UConverter_fromUnicode_CompoundText_OFFSETS()
401 tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][i]; in UConverter_fromUnicode_CompoundText_OFFSETS()
411 if (currentState != tmpState) { in UConverter_fromUnicode_CompoundText_OFFSETS()
412 currentState = tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS()
413 for (j = 0; escSeqCompoundText[currentState][j] != 0; j++) { in UConverter_fromUnicode_CompoundText_OFFSETS()
414 … tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][j]; in UConverter_fromUnicode_CompoundText_OFFSETS()
[all …]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetCompoundText.java351 byte currentState = state; in encodeLoop()
444 if (currentState != tmpState) { in encodeLoop()
445 currentState = tmpState; in encodeLoop()
448 for (i = 0; i < escSeqCompoundText[currentState].length; i++) { in encodeLoop()
449 targetBytes[i] = escSeqCompoundText[currentState][i]; in encodeLoop()
480 state = currentState; in encodeLoop()
516 byte currentState = state; in decodeLoop()
517 byte tmpState = currentState; in decodeLoop()
553 if (tmpState != currentState) { in decodeLoop()
554 currentState = tmpState; in decodeLoop()
[all …]
/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/
Dserver.js54 var currentState=bgPage.getServerState();
55 if (currentState.isConnected) {
56 setConnectedState(currentState.addr, currentState.port);
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPTransaction.java222 private TransactionState currentState; field in SIPTransaction
356 this.currentState = null; in SIPTransaction()
527 if (currentState == TransactionState.COMPLETED) { in setState()
532 if (currentState == TransactionState.CONFIRMED) { in setState()
536 if (currentState != TransactionState.TERMINATED) in setState()
537 currentState = newState; in setState()
539 newState = currentState; in setState()
555 return this.currentState; in getState()
/external/parameter-framework/upstream/tools/coverage/
Dcoverage.py628 self.currentState = []
638 list(self._getElementNames(self.currentState)),
651 self.currentState = newCurrentState
660 self.currentState = child
664 subStateNames = self._getElementNames(self.currentState)
669 subStateCurrentNames = list(self._getElementNames(self.currentState))
680 if len(self.currentState) != 1 :
/external/llvm/utils/TableGen/
DDFAPacketizerEmitter.cpp252 State *currentState; member in __anon99a781940411::DFA
317 DFA::DFA(): currentState(nullptr) {} in DFA()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.p2.updatesite_1.0.201.R36x_v20100823.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.equinox.p2.metadata.generator_1.0.200.v20100503a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...

123