Home
last modified time | relevance | path

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

12345

/external/antlr/tool/src/main/java/org/antlr/tool/
DNFAFactory.java67 public NFAState newState() { in newState() method in NFAFactory
119 NFAState left = newState(); in build_Atom()
120 NFAState right = newState(); in build_Atom()
137 NFAState left = newState(); in build_Set()
138 NFAState right = newState(); in build_Set()
164 NFAState left = newState(); in build_Range()
165 NFAState right = newState(); in build_Range()
201 NFAState first = newState(); in build_StringLiteralAtom()
206 NFAState next = newState(); in build_StringLiteralAtom()
235 NFAState left = newState(); in build_RuleRef()
[all …]
/external/libchrome/base/android/java/src/org/chromium/base/
DApplicationStatus.java129 void onApplicationStateChange(@ApplicationState int newState); in onApplicationStateChange() argument
141 void onActivityStateChange(Activity activity, @ActivityState int newState); in onActivityStateChange() argument
320 private static void onStateChange(Activity activity, @ActivityState int newState) { in onStateChange() argument
324 || newState == ActivityState.CREATED in onStateChange()
325 || newState == ActivityState.RESUMED in onStateChange()
326 || newState == ActivityState.STARTED) { in onStateChange()
334 if (newState == ActivityState.CREATED) { in onStateChange()
340 info.setStatus(newState); in onStateChange()
344 if (newState == ActivityState.DESTROYED) { in onStateChange()
354 listener.onActivityStateChange(activity, newState); in onStateChange()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/
DStateFlow.kt267 private fun updateState(expectedState: Any?, newState: Any): Boolean { in compareAndSet()
273 …if (oldState == newState) return true // Don't do anything if value is not changing, but CAS -> tr… in compareAndSet()
274 _state.value = newState in compareAndSet()
337 val newState = _state.value in collect() constant
341 if (oldState == null || oldState != newState) { in collect()
342 collector.emit(NULL.unbox(newState)) in collect()
343 oldState = newState in collect()
/external/lzma/CPP/Windows/
DSecurityUtils.h43 bool AdjustPrivileges(bool disableAllPrivileges, PTOKEN_PRIVILEGES newState, in AdjustPrivileges() argument
46 newState, bufferLength, previousState, returnLength)); } in AdjustPrivileges()
48 bool AdjustPrivileges(bool disableAllPrivileges, PTOKEN_PRIVILEGES newState) in AdjustPrivileges() argument
49 { return AdjustPrivileges(disableAllPrivileges, newState, 0, NULL, NULL); } in AdjustPrivileges()
51 bool AdjustPrivileges(PTOKEN_PRIVILEGES newState) in AdjustPrivileges() argument
52 { return AdjustPrivileges(false, newState); } in AdjustPrivileges()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DConnectivityStateManager.java62 void gotoState(@Nonnull ConnectivityState newState) { in gotoState() argument
63 checkNotNull(newState, "newState"); in gotoState()
64 if (state != newState && state != ConnectivityState.SHUTDOWN) { in gotoState()
65 state = newState; in gotoState()
/external/skqp/src/sksl/
DSkSLLexer.cpp1071 int16_t newState = transitions[mappings[(int)fText[fOffset]]][state]; in next() local
1072 if (!newState) { in next()
1075 state = newState; in next()
/external/skia/src/sksl/
DSkSLLexer.cpp797 State newState = transitions[mappings[c]][state]; in next() local
798 if (!newState) { in next()
801 state = newState; in next()
/external/antlr/tool/src/main/java/org/antlr/analysis/
DLL1DFA.java54 DFAState s0 = newState(); in LL1DFA()
63 DFAState acceptAltState = newState(); in LL1DFA()
81 DFAState s0 = newState(); in LL1DFA()
94 DFAState s = newState(); in LL1DFA()
113 predDFATarget = newState(); // create if not there. in LL1DFA()
/external/skqp/experimental/canvaskit/htmlcanvas/
Dcanvas2dcontext.js871 var newState = this._canvasStateStack.pop();
872 if (!newState) {
880 CanvasKit.SkMatrix.invert(newState.ctm)
884 this._paint = newState.paint;
886 this._lineDashList = newState.ldl;
887 this._strokeWidth = newState.sw;
888 this._strokeStyle = newState.ss;
889 this._fillStyle = newState.fs;
890 this._shadowOffsetX = newState.sox;
891 this._shadowOffsetY = newState.soy;
[all …]
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DProgramState.cpp122 ProgramStateRef newState = makeWithStore(Mgr.StoreMgr->Bind(getStore(), in bindLoc() local
126 return Mgr.getOwningEngine().processRegionChange(newState, MR, LCtx); in bindLoc()
128 return newState; in bindLoc()
209 ProgramStateRef newState = makeWithStore(newStore); in invalidateRegionsImpl() local
212 newState = Eng.notifyCheckersOfPointerEscape(newState, IS, in invalidateRegionsImpl()
218 return Eng.processRegionChanges(newState, IS, TopLevelInvalidated, in invalidateRegionsImpl()
417 ProgramState *newState = nullptr; in getPersistentState() local
419 newState = freeStates.back(); in getPersistentState()
423 newState = (ProgramState*) Alloc.Allocate<ProgramState>(); in getPersistentState()
425 new (newState) ProgramState(State); in getPersistentState()
[all …]
/external/grpc-grpc/src/objective-c/RxLibrary/
DGRXBufferedPipe.m69 - (void)setState:(GRXWriterState)newState {
76 switch (newState) {
82 _state = newState;
86 _state = newState;
92 _state = newState;
DGRXImmediateWriter.m109 - (void)setState:(GRXWriterState)newState {
115 switch (newState) {
117 _state = newState;
125 _state = newState;
129 _state = newState;
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DObjectIdWriter.java82 public ObjectIdWriter withAlwaysAsId(boolean newState) { in withAlwaysAsId() argument
83 if (newState == alwaysAsId) { in withAlwaysAsId()
86 return new ObjectIdWriter(idType, propertyName, generator, serializer, newState); in withAlwaysAsId()
/external/perfetto/ui/src/controller/
Dpermalink_controller.ts74 globals.dispatch(Actions.setState({newState: stateOrConfig}));
81 const newState = createEmptyState(); constant
84 newState
91 return newState;
/external/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js859 var newState = this._canvasStateStack.pop();
860 if (!newState) {
868 CanvasKit.Matrix.invert(newState.ctm)
872 this._paint = newState.paint;
874 this._lineDashList = newState.ldl;
875 this._strokeWidth = newState.sw;
876 this._strokeStyle = newState.ss;
877 this._fillStyle = newState.fs;
878 this._shadowOffsetX = newState.sox;
879 this._shadowOffsetY = newState.soy;
[all …]
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DStatsComponentImplBase.java73 public synchronized void setState(StatsCollectionState newState) { in setState() argument
75 currentState.set(statsStateToState(Preconditions.checkNotNull(newState, "newState"))); in setState()
77 if (newState == StatsCollectionState.DISABLED) { in setState()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DPeerConnectionEndToEndTest.java163 public synchronized void expectSignalingChange(SignalingState newState) { in expectSignalingChange() argument
164 expectedSignalingChanges.add(newState); in expectSignalingChange()
170 public synchronized void onSignalingChange(SignalingState newState) { in onSignalingChange() argument
171 assertEquals(expectedSignalingChanges.remove(), newState); in onSignalingChange() local
176 public synchronized void expectIceConnectionChange(IceConnectionState newState) { in expectIceConnectionChange() argument
177 expectedIceConnectionChanges.add(newState); in expectIceConnectionChange()
182 public synchronized void expectStandardizedIceConnectionChange(IceConnectionState newState) { in expectStandardizedIceConnectionChange() argument
183 expectedStandardizedIceConnectionChanges.add(newState); in expectStandardizedIceConnectionChange()
189 public synchronized void onIceConnectionChange(IceConnectionState newState) { in onIceConnectionChange() argument
192 if (newState.equals(IceConnectionState.COMPLETED)) { in onIceConnectionChange()
[all …]
/external/deqp/framework/common/
DtcuTestHierarchyIterator.hpp161 void setState (State newState) in setState()
163 switch (newState) in setState()
173 m_state = newState; in setState()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
DNGramParser.java47 private int newState; field in NGramParser.StateEntry
52 newState = theState; in StateEntry()
58 return newState; in getNewState()
/external/angle/src/libANGLE/renderer/gl/
DSamplerGL.cpp51 const gl::SamplerState &newState, in SyncSamplerStateMember() argument
57 if ((curState.*getter)() != (newState.*getter)()) in SyncSamplerStateMember()
59 (curState.*setter)((newState.*getter)()); in SyncSamplerStateMember()
60 SetSamplerParameter(functions, sampler, name, (newState.*getter)()); in SyncSamplerStateMember()
/external/harfbuzz_ng/src/
Dhb-aat-layout-common.hh453 HBUINT16 newState; /* Byte offset from beginning of state table member
472 HBUINT16 newState; /* Byte offset from beginning of state table to the new state. */ member
498 int new_state (unsigned int newState) const in new_state()
499 { return Types::extended ? newState : ((int) newState - (int) stateArrayTable) / (int) nClasses; } in new_state()
613 int newState = new_state (p->newState); in sanitize() local
614 min_state = hb_min (min_state, newState); in sanitize()
615 max_state = hb_max (max_state, newState); in sanitize()
763 !(entry.newState == StateTable<Types, EntryData>::STATE_START_OF_TEXT && in drive()
778 state = machine.new_state (entry.newState); in drive()
/external/clang/lib/StaticAnalyzer/Core/
DProgramState.cpp116 ProgramStateRef newState = makeWithStore(Mgr.StoreMgr->Bind(getStore(), in bindLoc() local
120 return Mgr.getOwningEngine()->processRegionChange(newState, MR); in bindLoc()
122 return newState; in bindLoc()
195 ProgramStateRef newState = makeWithStore(newStore); in invalidateRegionsImpl() local
198 newState = Eng->notifyCheckersOfPointerEscape(newState, IS, in invalidateRegionsImpl()
204 return Eng->processRegionChanges(newState, IS, TopLevelInvalidated, in invalidateRegionsImpl()
390 ProgramState *newState = nullptr; in getPersistentState() local
392 newState = freeStates.back(); in getPersistentState()
396 newState = (ProgramState*) Alloc.Allocate<ProgramState>(); in getPersistentState()
398 new (newState) ProgramState(State); in getPersistentState()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPTransaction.java525 public void setState(TransactionState newState) { in setState() argument
528 if (newState != TransactionState.TERMINATED in setState()
529 && newState != TransactionState.CONFIRMED) in setState()
530 newState = TransactionState.COMPLETED; in setState()
533 if (newState != TransactionState.TERMINATED) in setState()
534 newState = TransactionState.CONFIRMED; in setState()
537 currentState = newState; in setState()
539 newState = currentState; in setState()
542 sipStack.getStackLogger().logDebug("Transaction:setState " + newState in setState()
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/flow/
DNumbersBenchmark.kt45 val newState = state + 1 in <lambda>() constant
46 emitter.onNext(newState) in <lambda>()
47 newState in <lambda>()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DPollingWatchService.java211 boolean postChanges(Snapshot newState, Key key) { in postChanges() argument
216 Sets.difference(newState.modifiedTimes.keySet(), modifiedTimes.keySet()); in postChanges()
226 Sets.difference(modifiedTimes.keySet(), newState.modifiedTimes.keySet()); in postChanges()
239 Long newModifiedTime = newState.modifiedTimes.get(name); in postChanges()

12345