/external/deqp-deps/glslang/SPIRV/ |
D | hex_float.h | 743 inline bool RejectParseDueToLeadingSign(std::istream& is, bool negate_value, 745 if (negate_value) { 769 inline std::istream& ParseNormalFloat(std::istream& is, bool negate_value, 771 if (RejectParseDueToLeadingSign(is, negate_value, value)) { 776 if (negate_value) { 787 value.set_value((value.isNegative() | negate_value) ? T::lowest() 809 std::istream& is, bool negate_value, 813 ParseNormalFloat(is, negate_value, float_val); 863 bool negate_value = false; 866 return ParseNormalFloat(is, negate_value, value); [all …]
|
/external/deqp-deps/SPIRV-Tools/source/util/ |
D | hex_float.h | 813 inline bool RejectParseDueToLeadingSign(std::istream& is, bool negate_value, 815 if (negate_value) { 839 inline std::istream& ParseNormalFloat(std::istream& is, bool negate_value, 841 if (RejectParseDueToLeadingSign(is, negate_value, value)) { 846 if (negate_value) { 857 value.set_value((value.isNegative() | negate_value) ? T::lowest() 879 std::istream& is, bool negate_value, 883 ParseNormalFloat(is, negate_value, float_val); 933 bool negate_value = false; 936 return ParseNormalFloat(is, negate_value, value); [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | hex_float.h | 813 inline bool RejectParseDueToLeadingSign(std::istream& is, bool negate_value, 815 if (negate_value) { 839 inline std::istream& ParseNormalFloat(std::istream& is, bool negate_value, 841 if (RejectParseDueToLeadingSign(is, negate_value, value)) { 846 if (negate_value) { 857 value.set_value((value.isNegative() | negate_value) ? T::lowest() 879 std::istream& is, bool negate_value, 883 ParseNormalFloat(is, negate_value, float_val); 933 bool negate_value = false; 936 return ParseNormalFloat(is, negate_value, value); [all …]
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | hex_float_test.cpp | 1103 bool negate_value; member 1113 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P() 1116 << " negate: " << GetParam().negate_value; in TEST_P() 1120 << " negate: " << GetParam().negate_value; in TEST_P() 1126 FloatParseCase<T> BadFloatParseCase(std::string literal, bool negate_value, in BadFloatParseCase() argument 1129 return FloatParseCase<T>{literal, negate_value, false, proxy_expected_value}; in BadFloatParseCase() 1134 FloatParseCase<T> GoodFloatParseCase(std::string literal, bool negate_value, in GoodFloatParseCase() argument 1137 return FloatParseCase<T>{literal, negate_value, true, proxy_expected_value}; in GoodFloatParseCase() 1180 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P() 1183 << " negate: " << GetParam().negate_value; in TEST_P() [all …]
|
/external/deqp-deps/glslang/gtests/ |
D | HexFloat.cpp | 1005 bool negate_value; member 1015 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P() 1018 << " negate: " << GetParam().negate_value; in TEST_P() 1022 << " negate: " << GetParam().negate_value; in TEST_P() 1028 FloatParseCase<T> BadFloatParseCase(std::string literal, bool negate_value, in BadFloatParseCase() argument 1031 return FloatParseCase<T>{literal, negate_value, false, proxy_expected_value}; in BadFloatParseCase() 1036 FloatParseCase<T> GoodFloatParseCase(std::string literal, bool negate_value, in GoodFloatParseCase() argument 1039 return FloatParseCase<T>{literal, negate_value, true, proxy_expected_value}; in GoodFloatParseCase() 1082 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P() 1085 << " negate: " << GetParam().negate_value; in TEST_P() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | hex_float_test.cpp | 1103 bool negate_value; member 1113 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P() 1116 << " negate: " << GetParam().negate_value; in TEST_P() 1120 << " negate: " << GetParam().negate_value; in TEST_P() 1126 FloatParseCase<T> BadFloatParseCase(std::string literal, bool negate_value, in BadFloatParseCase() argument 1129 return FloatParseCase<T>{literal, negate_value, false, proxy_expected_value}; in BadFloatParseCase() 1134 FloatParseCase<T> GoodFloatParseCase(std::string literal, bool negate_value, in GoodFloatParseCase() argument 1137 return FloatParseCase<T>{literal, negate_value, true, proxy_expected_value}; in GoodFloatParseCase() 1180 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P() 1183 << " negate: " << GetParam().negate_value; in TEST_P() [all …]
|