Lines Matching defs:old_state
81 State old_state;
84 old_state = thread_watcher_state_;
85 if (old_state != DEACTIVATED)
95 return old_state;
99 WaitState old_state;
102 old_state = wait_state_;
106 return old_state;
110 State old_state = UpdateState(ACTIVATED);
111 EXPECT_EQ(old_state, INITIALIZED);
116 State old_state = UpdateState(DEACTIVATED);
117 EXPECT_TRUE(old_state == ACTIVATED || old_state == SENT_PING ||
118 old_state == RECEIVED_PONG);
123 State old_state = UpdateState(SENT_PING);
124 EXPECT_TRUE(old_state == ACTIVATED || old_state == RECEIVED_PONG);
129 State old_state = UpdateState(RECEIVED_PONG);
130 EXPECT_TRUE(old_state == SENT_PING || old_state == DEACTIVATED);