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

12

/external/jsilver/src/com/google/streamhtmlparser/impl/
H A DGenericParser.java43 protected InternalState currentState; field in class:GenericParser
53 this.currentState = initialState;
69 currentState = aGenericParser.currentState;
109 parserStateTable.getNextState(currentState, input);
116 currentState.getName(), getState().getName());
117 currentState = InternalState.INTERNAL_ERROR_STATE;
121 if (currentState != nextState) {
122 nextState = handleExitState(currentState, nextState, input);
124 if (currentState !
225 handleEnterState(InternalState currentState, InternalState expectedNextState, char input) argument
242 handleExitState(InternalState currentState, InternalState expectedNextState, char input) argument
257 handleInState(InternalState currentState, char input) argument
[all...]
H A DHtmlParserImpl.java189 || (currentState == CDATA_TEXT)
190 || (currentState == CDATA_COM_START)
191 || (currentState == CDATA_COM_START_DASH)
192 || (currentState == CDATA_COM_BODY)
193 || (currentState == CDATA_COM_DASH)
194 || (currentState == CDATA_COM_DASH_DASH)
195 || (currentState == CDATA_LT)
196 || (currentState == CDATA_MAY_CLOSE)
197 || (currentState == JS_FILE) ));
230 return (currentState
420 handleEnterState(InternalState currentState, InternalState expectedNextState, char input) argument
443 handleExitState(InternalState currentState, InternalState expectedNextState, char input) argument
462 handleInState(InternalState currentState, char input) argument
[all...]
H A DJavascriptParserImpl.java102 currentState = JS_TEXT;
106 protected InternalState handleEnterState(InternalState currentState, argument
110 if (currentState == JS_SLASH) {
111 nextState = enterStateJsSlash(currentState, input);
112 } else if (currentState == JS_COM_AFTER) {
119 protected InternalState handleExitState(InternalState currentState, argument
127 protected InternalState handleInState(InternalState currentState, argument
129 if (currentState == JS_TEXT) {
132 return currentState;
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowVideoView.java28 private int currentState = -1; field in class:ShadowVideoView
59 currentState = ShadowVideoView.START;
65 currentState = ShadowVideoView.STOP;
71 currentState = ShadowVideoView.SUSPEND;
77 currentState = ShadowVideoView.PAUSE;
83 currentState = ShadowVideoView.RESUME;
88 return (currentState == ShadowVideoView.START);
93 return (currentState != ShadowVideoView.PAUSE &&
94 currentState != ShadowVideoView.STOP &&
95 currentState !
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
H A DRungeKuttaStepInterpolator.java83 if (interpolator.currentState != null) {
84 final int dimension = currentState.length;
140 final int n = (currentState == null) ? -1 : currentState.length;
162 final int n = (currentState == null) ? -1 : currentState.length;
174 if (currentState != null) {
H A DGraggBulirschStoerStepInterpolator.java155 final int dimension = currentState.length;
197 newPols[i] = new double[currentState.length];
201 newPols[i] = new double[currentState.length];
246 for (int i = 0; i < currentState.length; ++i) {
250 final double ydiff = y1[i] - currentState[i];
254 polynoms[0][i] = currentState[i];
264 final double ph0 = 0.5 * (currentState[i] + y1[i]) + 0.125 * (aspl + bspl);
314 final int dimension = currentState.length;
361 final int dimension = (currentState == null) ? -1 : currentState
[all...]
H A DDormandPrince853StepInterpolator.java246 if (interpolator.currentState == null) {
254 final int dimension = interpolator.currentState.length;
288 final int dimension = currentState.length;
371 interpolatedState[i] = currentState[i] -
391 if (currentState == null) {
397 final double[] yTmp = new double[currentState.length];
401 for (int j = 0; j < currentState.length; ++j) {
405 yTmp[j] = currentState[j] + h * s;
410 for (int j = 0; j < currentState.length; ++j) {
415 yTmp[j] = currentState[
[all...]
H A DEulerStepInterpolator.java85 interpolatedState[i] = currentState[i] - oneMinusThetaH * yDotK[0][i];
H A DMidpointStepInterpolator.java94 interpolatedState[i] = currentState[i] + coeff1 * yDot1 - coeff2 * yDot2;
H A DClassicalRungeKuttaStepInterpolator.java103 currentState[i] + coeff1 * yDot1 + coeff23 * yDot23 + coeff4 * yDot4;
H A DThreeEighthesStepInterpolator.java108 currentState[i] - coeff1 * yDot1 - coeff2 * yDot2 - coeff3 * yDot3 - coeff4 * yDot4;
H A DGillStepInterpolator.java118 currentState[i] - coeff1 * yDot1 - coeff2 * yDot2 - coeff3 * yDot3 - coeff4 * yDot4;
H A DHighamHall54StepInterpolator.java96 currentState[i] + b0 * yDot0 + b2 * yDot2 + b3 * yDot3 + b4 * yDot4 + b5 * yDot5;
H A DDormandPrince54StepInterpolator.java208 currentState[i] - oneMinusThetaH * (v1[i] - theta * (v2[i] + theta * (v3[i] + eta * v4[i])));
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/sampling/
H A DAbstractStepInterpolator.java50 protected double[] currentState; field in class:AbstractStepInterpolator
101 currentState = null;
123 currentState = y;
159 if (interpolator.currentState != null) {
160 currentState = interpolator.currentState.clone();
164 currentState = null;
189 currentState = y;
444 if (currentState == null) {
447 out.writeInt(currentState
[all...]
H A DDummyStepInterpolator.java102 System.arraycopy(currentState, 0, interpolatedState, 0, currentState.length);
136 if (currentState == null) {
139 currentDerivative = new double[currentState.length];
H A DNordsieckStepInterpolator.java209 for (int j = 0; j < currentState.length; ++j) {
211 interpolatedState[j] = currentState[j] + stateVariation[j];
230 final int n = (currentState == null) ? -1 : currentState.length;
263 final int n = (currentState == null) ? -1 : currentState.length;
/external/jmonkeyengine/engine/src/test/jme3test/input/combomoves/
H A DComboMoveExecution.java97 ComboMoveState currentState = moveDef.getState(state);
98 if (isStateSatisfied(pressedMappings, time, currentState)){
112 if (currentState.getPressedMappings().length > 0){
116 debugString += Arrays.toString(currentState.getPressedMappings()).replace(", ", "+");
/external/icu/icu4c/source/layout/
H A DStateTableProcessor.cpp49 ByteOffset currentState = stateArrayOffset; local
73 LEReferenceToArrayOf<EntryTableIndex> stateArray(stHeader, success, currentState, LE_UNBOUNDED_ARRAY);
76 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex);
H A DStateTableProcessor2.cpp59 le_uint16 currentState = 0;
98 EntryTableIndex2 entryTableIndex = SWAPW(stateArray(classCode + currentState * nClasses, success));
100 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex); // return a zero-based index instead of a byte offset
133 EntryTableIndex2 entryTableIndex = SWAPW(stateArray(classCode + currentState * nClasses,success));
135 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex, success);
173 EntryTableIndex2 entryTableIndex = SWAPW(stateArray(classCode + currentState * nClasses, success));
175 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex, success);
204 EntryTableIndex2 entryTableIndex = SWAPW(stateArray(classCode + currentState * nClasses, success));
206 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex, success);
/external/icu/icu4c/source/common/
H A Ducnv_ct.c339 COMPOUND_TEXT_CONVERTERS currentState, tmpState; local
346 currentState = myConverterData->state;
395 if (tmpState != DO_SEARCH && currentState != tmpState) {
397 currentState = tmpState;
398 for (i = 0; escSeqCompoundText[currentState][i] != 0; i++) {
399 tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][i];
409 if (currentState != tmpState) {
410 currentState = tmpState;
411 for (j = 0; escSeqCompoundText[currentState][j] != 0; j++) {
412 tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][
467 COMPOUND_TEXT_CONVERTERS currentState, tmpState; local
[all...]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetCompoundText.java347 byte currentState = state;
440 if (currentState != tmpState) {
441 currentState = tmpState;
444 for (i = 0; i < escSeqCompoundText[currentState].length; i++) {
445 targetBytes[i] = escSeqCompoundText[currentState][i];
476 state = currentState;
510 byte currentState = state;
511 byte tmpState = currentState;
547 if (tmpState != currentState) {
548 currentState
[all...]
/external/nist-sip/java/gov/nist/javax/sip/stack/
H A DSIPTransaction.java222 private TransactionState currentState; field in class:SIPTransaction
356 this.currentState = null;
527 if (currentState == TransactionState.COMPLETED) {
532 if (currentState == TransactionState.CONFIRMED) {
536 if (currentState != TransactionState.TERMINATED)
537 currentState = newState;
539 newState = currentState;
555 return this.currentState;
/external/parameter-framework/tools/coverage/
H A 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/
H A DDFAPacketizerEmitter.cpp64 // Specifically, currentState is a set of bit-masks.
70 // From the initial state (currentState = 0x00), if we add instruction class
71 // L_or_M we will transition to a state with currentState = [0x01, 0x10]. This
137 State *currentState; member in class:__anon11359::DFA
158 DFA::DFA(): currentState(nullptr) {}
184 // Iterate over all resource states in currentState.

Completed in 877 milliseconds

12