Home
last modified time | relevance | path

Searched refs:positive_value (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/libchrome_tools/patches/
DFix-TimeDelta.patch64 int64_t positive_value) {
65 - DCHECK(positive_value > 0);
66 + DCHECK(positive_value > 0); // NOLINT, DCHECK_GT isn't constexpr.
67 return value > std::numeric_limits<int64_t>::max() / positive_value
69 : value < std::numeric_limits<int64_t>::min() / positive_value
/external/libchrome/base/time/
Dtime.h303 static constexpr TimeDelta FromProduct(int64_t value, int64_t positive_value);
794 int64_t positive_value) { in FromProduct() argument
795 DCHECK(positive_value > 0); in FromProduct()
796 return value > std::numeric_limits<int64_t>::max() / positive_value in FromProduct()
798 : value < std::numeric_limits<int64_t>::min() / positive_value in FromProduct()
800 : TimeDelta(value * positive_value); in FromProduct()
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderImageLoadStoreTests.cpp9697 static bool verifyFloat(GLint original_value, GLint positive_value, GLint negated_value) in verifyFloat() argument
9699 if (original_value != positive_value) in verifyFloat()
9709 const T* positive_elements = (T*)&positive_value; in verifyFloat()
9750 static bool verifyFloatSignedNorm(GLint original_value, GLint positive_value, GLint negated_value) in verifyFloatSignedNorm() argument
9752 if (original_value != positive_value) in verifyFloatSignedNorm()
9759 const T* positive_elements = (T*)&positive_value; in verifyFloatSignedNorm()
9791 static bool verifyInteger(GLint original_value, GLint positive_value, GLint negated_value) in verifyInteger() argument
9793 if (original_value != positive_value) in verifyInteger()
9798 Integer<T, R, 0> positive_red(positive_value); in verifyInteger()
9801 Integer<T, G, R> positive_green(positive_value); in verifyInteger()
[all …]
/external/swiftshader/tests/GLESUnitTests/
Dunittests.cpp1238 GLint positive_value = glGetUniformLocation(ph.program, "positive_value"); in TEST_F() local
1239 ASSERT_NE(-1, positive_value); in TEST_F()
1244 glUniform1fv(positive_value, 1, &value); in TEST_F()