HomeSort by relevance Sort by last modified time
    Searched refs:currentState (Results 1 - 25 of 57) sorted by null

1 2 3

  /external/jsilver/src/com/google/streamhtmlparser/impl/
GenericParser.java 43 protected InternalState currentState;
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 != nextState)
    [all...]
HtmlParserImpl.java 189 || (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 == CSS_FIL
    [all...]
JavascriptParserImpl.java 102 currentState = JS_TEXT;
106 protected InternalState handleEnterState(InternalState currentState,
110 if (currentState == JS_SLASH) {
111 nextState = enterStateJsSlash(currentState, input);
112 } else if (currentState == JS_COM_AFTER) {
119 protected InternalState handleExitState(InternalState currentState,
127 protected InternalState handleInState(InternalState currentState,
129 if (currentState == JS_TEXT) {
132 return currentState;
  /external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/internal/
CurrentStateTest.java 21 import io.opencensus.implcore.internal.CurrentState.State;
28 /** Tests for {@link CurrentState}. */
36 assertThat(new CurrentState(State.ENABLED).get()).isEqualTo(State.ENABLED);
41 CurrentState currentState = new CurrentState(State.ENABLED);
42 assertThat(currentState.set(State.DISABLED)).isTrue();
43 assertThat(currentState.getInternal()).isEqualTo(State.DISABLED);
44 assertThat(currentState.set(State.ENABLED)).isTrue();
45 assertThat(currentState.getInternal()).isEqualTo(State.ENABLED)
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowVideoView.java 26 private int currentState = -1;
58 currentState = ShadowVideoView.START;
64 currentState = ShadowVideoView.STOP;
70 currentState = ShadowVideoView.SUSPEND;
76 currentState = ShadowVideoView.PAUSE;
82 currentState = ShadowVideoView.RESUME;
87 return (currentState == ShadowVideoView.START);
92 return (currentState != ShadowVideoView.PAUSE &&
93 currentState != ShadowVideoView.STOP &&
94 currentState != ShadowVideoView.SUSPEND)
    [all...]
  /art/tools/checker/file_format/c1visualizer/
parser.py 25 self.currentState = C1ParserState.OutsideBlock
37 if state.currentState == C1ParserState.StartingCfgBlock:
43 state.currentState = C1ParserState.InsideCfgBlock
48 elif state.currentState == C1ParserState.InsideCfgBlock:
50 state.currentState = C1ParserState.OutsideBlock
55 elif state.currentState == C1ParserState.InsideCompilationBlock:
63 state.currentState = C1ParserState.OutsideBlock
67 assert state.currentState == C1ParserState.OutsideBlock
73 state.currentState = C1ParserState.StartingCfgBlock
76 state.currentState = C1ParserState.InsideCompilationBloc
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
RungeKuttaStepInterpolator.java 83 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) {
GraggBulirschStoerStepInterpolator.java 155 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.length
    [all...]
DormandPrince853StepInterpolator.java 246 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[j] + h * s
    [all...]
EulerStepInterpolator.java 85 interpolatedState[i] = currentState[i] - oneMinusThetaH * yDotK[0][i];
MidpointStepInterpolator.java 94 interpolatedState[i] = currentState[i] + coeff1 * yDot1 - coeff2 * yDot2;
ClassicalRungeKuttaStepInterpolator.java 103 currentState[i] + coeff1 * yDot1 + coeff23 * yDot23 + coeff4 * yDot4;
ThreeEighthesStepInterpolator.java 108 currentState[i] - coeff1 * yDot1 - coeff2 * yDot2 - coeff3 * yDot3 - coeff4 * yDot4;
  /device/google/wahoo/powerstats/
EaselStateResidencyDataProvider.cpp 55 unsigned long currentState;
56 if(!(inFile >> currentState) || currentState >= NUM_EASEL_STATES) {
64 if ((currentState == EASEL_OFF) || (currentState == EASEL_SUSPENDED)) {
  /external/apache-commons-math/src/main/java/org/apache/commons/math/ode/sampling/
AbstractStepInterpolator.java 50 protected double[] currentState;
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.length)
    [all...]
DummyStepInterpolator.java 102 System.arraycopy(currentState, 0, interpolatedState, 0, currentState.length);
136 if (currentState == null) {
139 currentDerivative = new double[currentState.length];
NordsieckStepInterpolator.java 209 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/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
StatsComponentImplBase.java 21 import io.opencensus.implcore.internal.CurrentState;
22 import io.opencensus.implcore.internal.CurrentState.State;
34 private final CurrentState currentState = new CurrentState(DEFAULT_STATE);
46 StatsManager statsManager = new StatsManager(queue, clock, currentState);
68 return stateToStatsState(currentState.get());
75 currentState.set(statsStateToState(Preconditions.checkNotNull(newState, "newState")));
  /external/grpc-grpc-java/core/src/main/java/io/grpc/
PickFirstBalancerFactory.java 93 ConnectivityState currentState = stateInfo.getState();
94 if (subchannel != this.subchannel || currentState == SHUTDOWN) {
99 switch (currentState) {
115 throw new IllegalArgumentException("Unsupported state:" + currentState);
118 helper.updateBalancingState(currentState, picker);
  /external/cldr/tools/java/org/unicode/cldr/draft/
StateMachineBuilder.java 25 private short currentState = StateMachine.UNDEFINED;
114 if (currentState >= 0) {
120 currentState = getStateNumber(stateString);
121 if (currentState < 0) {
124 if (stateToData.size() > currentState && stateToData.get(currentState) != null) {
128 while (stateToData.size() <= currentState) {
131 stateToData.set(currentState, currentMap);
211 throw new IllegalArgumentException("Missing default action for: " + numberToState.get(currentState));
  /external/v8/tools/profview/
profview.js 48 currentState : emptyState(),
51 if (mode !== main.currentState.mode) {
54 let callTreeState = Object.assign({}, main.currentState.callTree);
61 let state = Object.assign({}, main.currentState);
80 main.currentState = state;
86 if (attribution !== main.currentState.attribution) {
87 let callTreeState = Object.assign({}, main.currentState.callTree);
89 main.currentState = setCallTreeState(main.currentState, callTreeState);
95 if (sort !== main.currentState.sort)
    [all...]
  /external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/bzip2/
BZip2CompressorInputStream.java 79 private int currentState = START_BLOCK_STATE;
209 switch (currentState) {
317 this.currentState = EOF;
335 this.currentState = START_BLOCK_STATE;
359 this.currentState = EOF;
742 if (currentState == EOF || this.data == null) {
797 this.currentState = RAND_PART_B_STATE;
814 this.currentState = NO_RAND_PART_B_STATE;
818 this.currentState = NO_RAND_PART_A_STATE;
826 this.currentState = RAND_PART_A_STATE
    [all...]
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
CharsetCompoundText.java 351 byte currentState = state;
444 if (currentState != tmpState) {
445 currentState = tmpState;
448 for (i = 0; i < escSeqCompoundText[currentState].length; i++) {
449 targetBytes[i] = escSeqCompoundText[currentState][i];
480 state = currentState;
516 byte currentState = state;
517 byte tmpState = currentState;
553 if (tmpState != currentState) {
554 currentState = tmpState
    [all...]
  /external/icu/icu4c/source/common/
ucnv_ct.cpp 346 COMPOUND_TEXT_CONVERTERS currentState, tmpState;
353 currentState = myConverterData->state;
402 if (tmpState != DO_SEARCH && currentState != tmpState) {
404 currentState = tmpState;
405 for (i = 0; escSeqCompoundText[currentState][i] != 0; i++) {
406 tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][i];
416 if (currentState != tmpState) {
417 currentState = tmpState;
418 for (j = 0; escSeqCompoundText[currentState][j] != 0; j++) {
419 tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][j]
    [all...]
  /device/google/cuttlefish_common/tests/wifi/src/com/android/cuttlefish/wifi/tests/
WifiE2eTests.java 86 SupplicantState currentState = info.getSupplicantState();
88 Log.i(TAG, "WIFI State: " + currentState);
90 if (currentState == state) {

Completed in 939 milliseconds

1 2 3