Lines Matching refs:value

169 //   GTEST_HAS_COMBINE      - the Combine() function (for value-parameterized
172 // GTEST_HAS_PARAM_TEST - value-parameterized tests
254 // GetEnv() - gets the value of an environment variable.
324 // value for __cplusplus, and recent versions of clang, gcc, and
799 // value-parameterized tests.
813 // value-parameterized tests are enabled. The implementation doesn't
1088 enum { value = true };
1689 // we assume that 0 is an invalid value for thread IDs.
1727 // Base class for ValueHolder<T>. Allows a caller to hold and delete a value
1738 // Creates a new ValueHolder<T> object holding a default value passed to
1741 // has a value on the current thread.
1757 // Registers thread_local_instance as having value on the current thread.
1758 // Returns a value that can be used to identify the thread from other threads.
1821 // ThreadLocal<int> tl(100); // 100 is the default value for each thread.
1824 // tl.set(150); // Changes the value for thread 2 only.
1828 // EXPECT_EQ(100, tl.get()); // In thread 1, tl has the original value.
1849 explicit ThreadLocal(const T& value)
1850 : default_factory_(new InstanceValueHolderFactory(value)) {}
1857 void set(const T& value) { *pointer() = value; }
1860 // Holds a value of T. Can be deleted via its base class without the caller
1865 explicit ValueHolder(const T& value) : value_(value) {}
1905 explicit InstanceValueHolderFactory(const T& value) : value_(value) {}
1911 const T value_; // The value for each thread.
2034 explicit ThreadLocal(const T& value)
2036 default_factory_(new InstanceValueHolderFactory(value)) {}
2050 void set(const T& value) { *pointer() = value; }
2053 // Holds a value of type T.
2057 explicit ValueHolder(const T& value) : value_(value) {}
2109 explicit InstanceValueHolderFactory(const T& value) : value_(value) {}
2115 const T value_; // The value for each thread.
2165 explicit ThreadLocal(const T& value) : value_(value) {}
2169 void set(const T& value) { value_ = value; }
2205 static const bool value = bool_value;
2207 template <bool bool_value> const bool bool_constant<bool_value>::value;
2538 // to *value and returns true; otherwise leaves *value unchanged and returns
2543 bool ParseInt32(const Message& src_text, const char* str, Int32* value);