Lines Matching refs:V8StartupState
44 enum class V8StartupState { enum
56 std::atomic<V8StartupState> v8_startup_state_(V8StartupState::kIdle);
58 void AdvanceStartupState(V8StartupState expected_next_state) { in AdvanceStartupState()
59 V8StartupState current_state = v8_startup_state_; in AdvanceStartupState()
60 CHECK_NE(current_state, V8StartupState::kPlatformDisposed); in AdvanceStartupState()
61 V8StartupState next_state = in AdvanceStartupState()
62 static_cast<V8StartupState>(static_cast<int>(current_state) + 1); in AdvanceStartupState()
91 AdvanceStartupState(V8StartupState::kPlatformInitializing); in InitializePlatform()
103 AdvanceStartupState(V8StartupState::kPlatformInitialized); in InitializePlatform()
123 AdvanceStartupState(V8StartupState::kV8Initializing); in Initialize()
256 AdvanceStartupState(V8StartupState::kV8Initialized); in Initialize()
262 AdvanceStartupState(V8StartupState::kV8Disposing); in Dispose()
275 AdvanceStartupState(V8StartupState::kV8Disposed); in Dispose()
279 AdvanceStartupState(V8StartupState::kPlatformDisposing); in DisposePlatform()
296 AdvanceStartupState(V8StartupState::kPlatformDisposed); in DisposePlatform()