Lines Matching refs:state_
42 state_ = NORMAL;
48 state_ = DESTROYED;
58 if (state_ != DESTROYED) Destroy();
68 if (state_ == WEAK || IsNearDeath()) {
74 state_ = DESTROYED;
84 ASSERT(state_ == DESTROYED);
88 ASSERT(state_ == DESTROYED);
104 ASSERT(state_ != DESTROYED);
105 if (state_ != WEAK && !IsNearDeath()) {
111 state_ = WEAK;
118 ASSERT(state_ != DESTROYED);
119 if (state_ == WEAK || IsNearDeath()) {
125 state_ = NORMAL;
131 return state_ == PENDING || state_ == NEAR_DEATH;
135 return state_ == WEAK;
140 ASSERT(state_ != DESTROYED);
144 ASSERT(state_ != DESTROYED);
152 if (state_ != Node::PENDING) return false;
155 state_ = NEAR_DEATH;
196 State state_;
332 if (current->state_ == Node::WEAK
333 || current->state_ == Node::PENDING
334 || current->state_ == Node::NEAR_DEATH) {
353 if (current->state_ == Node::WEAK) {
355 current->state_ = Node::PENDING;
383 if ((*p)->state_ == Node::DESTROYED) {
406 if (current->state_ == Node::NORMAL) {
415 if (current->state_ != Node::DESTROYED) {
446 if (current->state_ == Node::WEAK) {
448 } else if (current->state_ == Node::PENDING) {
450 } else if (current->state_ == Node::NEAR_DEATH) {
452 } else if (current->state_ == Node::DESTROYED) {
469 if (current->state_ == Node::WEAK) weak++;
470 if (current->state_ == Node::PENDING) pending++;
471 if (current->state_ == Node::NEAR_DEATH) near_death++;
472 if (current->state_ == Node::DESTROYED) destroyed++;
488 *current->handle(), current->state_ == Node::WEAK);