/external/jsilver/src/com/google/streamhtmlparser/impl/ |
D | GenericParser.java | 43 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 …]
|
D | HtmlParserImpl.java | 189 || (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 …]
|
D | JavascriptParserImpl.java | 102 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-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowVideoView.java | 26 private int currentState = -1; field in ShadowVideoView 58 currentState = ShadowVideoView.START; in start() 64 currentState = ShadowVideoView.STOP; in stopPlayback() 70 currentState = ShadowVideoView.SUSPEND; in suspend() 76 currentState = ShadowVideoView.PAUSE; in pause() 82 currentState = ShadowVideoView.RESUME; in resume() 87 return (currentState == ShadowVideoView.START); in isPlaying() 92 return (currentState != ShadowVideoView.PAUSE && in canPause() 93 currentState != ShadowVideoView.STOP && in canPause() 94 currentState != ShadowVideoView.SUSPEND); in canPause() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/sampling/ |
D | AbstractStepInterpolator.java | 50 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 …]
|
D | DummyStepInterpolator.java | 102 System.arraycopy(currentState, 0, interpolatedState, 0, currentState.length); in computeInterpolatedStateAndDerivatives() 136 if (currentState == null) { in readExternal() 139 currentDerivative = new double[currentState.length]; in readExternal()
|
D | NordsieckStepInterpolator.java | 209 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/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/internal/ |
D | CurrentStateTest.java | 41 CurrentState currentState = new CurrentState(State.ENABLED); in setState() local 42 assertThat(currentState.set(State.DISABLED)).isTrue(); in setState() 43 assertThat(currentState.getInternal()).isEqualTo(State.DISABLED); in setState() 44 assertThat(currentState.set(State.ENABLED)).isTrue(); in setState() 45 assertThat(currentState.getInternal()).isEqualTo(State.ENABLED); in setState() 46 assertThat(currentState.set(State.ENABLED)).isFalse(); in setState() 51 CurrentState currentState = new CurrentState(State.ENABLED); in preventSettingStateAfterReadingState() local 52 currentState.get(); in preventSettingStateAfterReadingState() 55 currentState.set(State.DISABLED); in preventSettingStateAfterReadingState()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
D | RungeKuttaStepInterpolator.java | 83 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()
|
D | GraggBulirschStoerStepInterpolator.java | 155 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()
|
D | DormandPrince853StepInterpolator.java | 246 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 …]
|
/external/icu/icu4c/source/common/ |
D | ucnv_ct.cpp | 346 COMPOUND_TEXT_CONVERTERS currentState, tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS() local 353 currentState = myConverterData->state; in UConverter_fromUnicode_CompoundText_OFFSETS() 402 if (tmpState != DO_SEARCH && currentState != tmpState) { in UConverter_fromUnicode_CompoundText_OFFSETS() 404 currentState = tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS() 405 for (i = 0; escSeqCompoundText[currentState][i] != 0; i++) { in UConverter_fromUnicode_CompoundText_OFFSETS() 406 tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][i]; in UConverter_fromUnicode_CompoundText_OFFSETS() 416 if (currentState != tmpState) { in UConverter_fromUnicode_CompoundText_OFFSETS() 417 currentState = tmpState; in UConverter_fromUnicode_CompoundText_OFFSETS() 418 for (j = 0; escSeqCompoundText[currentState][j] != 0; j++) { in UConverter_fromUnicode_CompoundText_OFFSETS() 419 … tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][j]; in UConverter_fromUnicode_CompoundText_OFFSETS() [all …]
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/tags/ |
D | TagsComponentImplBase.java | 34 private final CurrentState currentState = new CurrentState(DEFAULT_STATE); field in TagsComponentImplBase 36 private final Tagger tagger = new TaggerImpl(currentState); 38 new TagPropagationComponentImpl(currentState); 52 return stateToTaggingState(currentState.get()); in getState() 58 currentState.set(taggingStateToState(checkNotNull(newState, "newState"))); in setState()
|
/external/v4l2_codec2/components/ |
D | V4L2DecodeComponent.cpp | 171 auto currentState = mComponentState.load(); in start() local 172 if (currentState != ComponentState::STOPPED) { in start() 173 ALOGE("Could not start at %s state", ComponentStateToString(currentState)); in start() 274 auto currentState = mComponentState.load(); in stop() local 275 if (currentState != ComponentState::RUNNING && currentState != ComponentState::ERROR) { in stop() 276 ALOGE("Could not stop at %s state", ComponentStateToString(currentState)); in stop() 335 auto currentState = mComponentState.load(); in setListener_vb() local 336 if (currentState == ComponentState::RELEASED || in setListener_vb() 337 (currentState == ComponentState::RUNNING && listener)) { in setListener_vb() 338 ALOGE("Could not set listener at %s state", ComponentStateToString(currentState)); in setListener_vb() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | StateMachineBuilder.java | 25 private short currentState = StateMachine.UNDEFINED; field in StateMachineBuilder 114 if (currentState >= 0) { in add() 120 currentState = getStateNumber(stateString); in add() 121 if (currentState < 0) { in add() 124 if (stateToData.size() > currentState && stateToData.get(currentState) != null) { in add() 128 while (stateToData.size() <= currentState) { in add() 131 stateToData.set(currentState, currentMap); in add() 211 …row new IllegalArgumentException("Missing default action for: " + numberToState.get(currentState)); in fixDefaultAction()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | PickFirstBalancerFactory.java | 93 ConnectivityState currentState = stateInfo.getState(); in handleSubchannelState() local 94 if (subchannel != this.subchannel || currentState == SHUTDOWN) { in handleSubchannelState() 99 switch (currentState) { in handleSubchannelState() 115 throw new IllegalArgumentException("Unsupported state:" + currentState); in handleSubchannelState() 118 helper.updateBalancingState(currentState, picker); in handleSubchannelState()
|
/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/ |
D | server.js | 54 var currentState=bgPage.getServerState(); 55 if (currentState.isConnected) { 56 setConnectedState(currentState.addr, currentState.port);
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetCompoundText.java | 351 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/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/ |
D | StatsComponentImplBase.java | 34 private final CurrentState currentState = new CurrentState(DEFAULT_STATE); field in StatsComponentImplBase 46 StatsManager statsManager = new StatsManager(queue, clock, currentState); in StatsComponentImplBase() 68 return stateToStatsState(currentState.get()); in getState() 75 currentState.set(statsStateToState(Preconditions.checkNotNull(newState, "newState"))); in setState()
|
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
D | CodegenStrategy.cpp | 36 auto currentState = zeroState; in transform() local 39 auto marker = (currentState == zeroState) in transform() 41 : linalg::LinalgMarker(currentState, nextState); in transform() 43 currentState = nextState; in transform()
|
/external/oboe/apps/fxlab/app/src/main/cpp/ |
D | DuplexEngine.cpp | 77 auto currentState = outStream->getState(); in startStreams() local 79 while (result == oboe::Result::OK && currentState != oboe::StreamState::Started) { in startStreams() 80 result = outStream->waitForStateChange(currentState, &nextState, timeoutNanos); in startStreams() 81 currentState = nextState; in startStreams()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/bzip2/ |
D | BZip2CompressorInputStream.java | 79 private int currentState = START_BLOCK_STATE; field in BZip2CompressorInputStream 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/grpc-grpc/src/csharp/Grpc.Core/ |
D | Channel.cs | 212 var currentState = GetConnectivityState(true); 213 while (currentState != ChannelState.Ready) 215 if (currentState == ChannelState.Shutdown) 219 await WaitForStateChangedAsync(currentState, deadline).ConfigureAwait(false); 220 currentState = GetConnectivityState(false);
|
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/ |
D | GlobToRegex.java | 79 currentState().process(this, glob.charAt(index)); in convert() 81 currentState().finish(this); in convert() 96 private State currentState() { in currentState() method in GlobToRegex 279 converter.currentState().process(converter, c);
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | SIPTransaction.java | 222 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()
|