Home
last modified time | relevance | path

Searched refs:oldState (Results 1 – 17 of 17) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DThreadContext.kt83 internal fun restoreThreadContext(context: CoroutineContext, oldState: Any?) { in restoreThreadContext()
85 oldState === ZERO -> return // very fast path when there are no ThreadContextElements in restoreThreadContext()
86 oldState is ThreadState -> { in restoreThreadContext()
88 oldState.start() in restoreThreadContext()
89 context.fold(oldState, restoreState) in restoreThreadContext()
95 element.restoreThreadContext(context, oldState) in restoreThreadContext()
111 val oldState = threadLocal.get() in updateThreadContext() constant
113 return oldState in updateThreadContext()
116 override fun restoreThreadContext(context: CoroutineContext, oldState: T) { in restoreThreadContext()
117 threadLocal.set(oldState) in restoreThreadContext()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-slf4j/src/
DMDCContext.kt55 val oldState = MDC.getCopyOfContextMap() in updateThreadContext() constant
57 return oldState in updateThreadContext()
61 override fun restoreThreadContext(context: CoroutineContext, oldState: MDCContextMap) { in restoreThreadContext()
62 setCurrent(oldState) in restoreThreadContext()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DThreadContextElementTest.kt107 val oldState = myThreadLocal.get() in updateThreadContext() constant
109 return oldState in updateThreadContext()
113 override fun restoreThreadContext(context: CoroutineContext, oldState: MyData?) { in restoreThreadContext()
114 myThreadLocal.set(oldState) in restoreThreadContext()
DFailingCoroutinesMachineryTest.kt31 override fun restoreThreadContext(context: CoroutineContext, oldState: Unit) { in <lambda>()
46 override fun restoreThreadContext(context: CoroutineContext, oldState: Unit) { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DCoroutineContext.kt82 override fun restoreThreadContext(context: CoroutineContext, oldState: String) { in restoreThreadContext()
83 Thread.currentThread().name = oldState in restoreThreadContext()
DThreadContextElement.kt77 public fun restoreThreadContext(context: CoroutineContext, oldState: S) in updateThreadContext()
/external/deqp/framework/delibs/debase/
DdeMath.c71 unsigned int oldState; in deSetRoundingMode() local
84 ret = _controlfp_s(&oldState, flag, _MCW_RC); in deSetRoundingMode()
/external/libbackup/src/com/google/android/libraries/backup/
DPersistentBackupAgentHelper.java55 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup() argument
58 super.onBackup(oldState, data, newState); in onBackup()
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptFileDescriptorSocket.java988 int oldState = state;
991 if (oldState == STATE_NEW) {
1002 if (oldState != STATE_READY && oldState != STATE_READY_HANDSHAKE_CUT_THROUGH) {
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscryptFileDescriptorSocket.java995 int oldState = state;
998 if (oldState == STATE_NEW) {
1009 if (oldState != STATE_READY && oldState != STATE_READY_HANDSHAKE_CUT_THROUGH) {
/external/perfetto/ui/src/frontend/
Dindex.ts61 const oldState = globals.state; constant
72 oldState[key] !== globals.state[key]) {
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DPlaybackStatsListener.java1067 @PlaybackState int oldState, @PlaybackState int newState) { in isInvalidJoinTransition()
1068 if (oldState != PlaybackStats.PLAYBACK_STATE_JOINING_BACKGROUND in isInvalidJoinTransition()
1069 && oldState != PlaybackStats.PLAYBACK_STATE_JOINING_FOREGROUND in isInvalidJoinTransition()
1070 && oldState != PlaybackStats.PLAYBACK_STATE_INTERRUPTED_BY_AD) { in isInvalidJoinTransition()
/external/libbackup/src/com/google/android/libraries/backup/shadow/
DBackupAgentHelperShadow.java152 ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) in onBackup() argument
/external/boringssl/src/util/fipstools/acvp/acvptool/
Dinteractive.go541 oldState, err := terminal.MakeRaw(0)
545 defer terminal.Restore(0, oldState)
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWSD.java134 State oldState = this.state; in close() local
136 if (oldState == State.OPEN) { in close()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPServerTransaction.java1370 DialogState oldState = dialog.getState(); in sendResponse() local
1372 if (oldState == null && dialog.getState() == DialogState.TERMINATED) { in sendResponse()
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/
DLexer.java107 int oldState = (dfa_state < -1) ? (-2 -dfa_state) : dfa_state; in getToken() local
111 int[][] tmp1 = gotoTable[oldState]; in getToken()