Home
last modified time | relevance | path

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

/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/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.c339 COMPOUND_TEXT_CONVERTERS currentState, tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS() local
346 currentState = myConverterData->state; in UConverter_fromUnicode_CompoundText_OFFSETS()
395 if (tmpState != DO_SEARCH && currentState != tmpState) { in UConverter_fromUnicode_CompoundText_OFFSETS()
397 currentState = tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS()
398 for (i = 0; escSeqCompoundText[currentState][i] != 0; i++) { in UConverter_fromUnicode_CompoundText_OFFSETS()
399 tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][i]; in UConverter_fromUnicode_CompoundText_OFFSETS()
409 if (currentState != tmpState) { in UConverter_fromUnicode_CompoundText_OFFSETS()
410 currentState = tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS()
411 for (j = 0; escSeqCompoundText[currentState][j] != 0; j++) { in UConverter_fromUnicode_CompoundText_OFFSETS()
412 … tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][j]; in UConverter_fromUnicode_CompoundText_OFFSETS()
[all …]
/external/icu/icu4c/source/layout/
DStateTableProcessor2.cpp59 le_uint16 currentState = 0; in process() local
98 …EntryTableIndex2 entryTableIndex = SWAPW(stateArray(classCode + currentState * nClasses, success)); in process()
100currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex); // return a zero-based… in process()
133 … EntryTableIndex2 entryTableIndex = SWAPW(stateArray(classCode + currentState * nClasses,success)); in process()
135 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex, success); in process()
173 …EntryTableIndex2 entryTableIndex = SWAPW(stateArray(classCode + currentState * nClasses, success)); in process()
175 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex, success); in process()
204 …EntryTableIndex2 entryTableIndex = SWAPW(stateArray(classCode + currentState * nClasses, success)); in process()
206 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex, success); in process()
DStateTableProcessor.cpp49 ByteOffset currentState = stateArrayOffset; in process() local
73 …LEReferenceToArrayOf<EntryTableIndex> stateArray(stHeader, success, currentState, LE_UNBOUNDED_ARR… in process()
76 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex); in process()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetCompoundText.java347 byte currentState = state; in encodeLoop()
440 if (currentState != tmpState) { in encodeLoop()
441 currentState = tmpState; in encodeLoop()
444 for (i = 0; i < escSeqCompoundText[currentState].length; i++) { in encodeLoop()
445 targetBytes[i] = escSeqCompoundText[currentState][i]; in encodeLoop()
476 state = currentState; in encodeLoop()
510 byte currentState = state; in decodeLoop()
511 byte tmpState = currentState; in decodeLoop()
547 if (tmpState != currentState) { in decodeLoop()
548 currentState = tmpState; in decodeLoop()
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/input/combomoves/
DComboMoveExecution.java97 ComboMoveState currentState = moveDef.getState(state); in updateState() local
98 if (isStateSatisfied(pressedMappings, time, currentState)){ in updateState()
112 if (currentState.getPressedMappings().length > 0){ in updateState()
116 … debugString += Arrays.toString(currentState.getPressedMappings()).replace(", ", "+"); in updateState()
/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/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.cpp137 State *currentState; member in __anon18621f340311::DFA
158 DFA::DFA(): currentState(nullptr) {} in DFA()