Lines Matching refs:value_
36 value_(value),
48 int* value_;
77 *message_data->data() = *value_;
110 *value_ = message_data->data();
122 SharedExclusiveLockTest() : value_(0) {
131 int value_;
138 ReadTask reader0(shared_exclusive_lock_.get(), &value_, &done0);
139 ReadTask reader1(shared_exclusive_lock_.get(), &value_, &done1);
144 value_ = 1;
162 WriteTask writer(shared_exclusive_lock_.get(), &value_, &done);
167 value_ = 1;
171 EXPECT_EQ(1, value_);
175 EXPECT_EQ(2, value_);
182 ReadTask reader(shared_exclusive_lock_.get(), &value_, &done);
187 value_ = 1;
191 value_ = 2;
201 WriteTask writer(shared_exclusive_lock_.get(), &value_, &done);
206 value_ = 1;
210 EXPECT_EQ(1, value_);
214 EXPECT_EQ(2, value_);