Home
last modified time | relevance | path

Searched refs:negate_value (Results 1 – 10 of 10) sorted by relevance

/third_party/glslang/SPIRV/
Dhex_float.h743 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 …]
/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/
Dhex_float.h741 inline bool RejectParseDueToLeadingSign(std::istream& is, bool negate_value,
743 if (negate_value) {
767 inline std::istream& ParseNormalFloat(std::istream& is, bool negate_value,
769 if (RejectParseDueToLeadingSign(is, negate_value, value)) {
774 if (negate_value) {
785 value.set_value((value.isNegative() | negate_value) ? T::lowest()
807 std::istream& is, bool negate_value,
811 ParseNormalFloat(is, negate_value, float_val);
861 bool negate_value = false;
864 return ParseNormalFloat(is, negate_value, value);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dhex_float.h813 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 …]
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dhex_float.h813 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 …]
/third_party/spirv-tools/source/util/
Dhex_float.h814 inline bool RejectParseDueToLeadingSign(std::istream& is, bool negate_value,
816 if (negate_value) {
840 inline std::istream& ParseNormalFloat(std::istream& is, bool negate_value,
842 if (RejectParseDueToLeadingSign(is, negate_value, value)) {
847 if (negate_value) {
858 value.set_value((value.isNegative() | negate_value) ? T::lowest()
880 std::istream& is, bool negate_value,
884 ParseNormalFloat(is, negate_value, float_val);
934 bool negate_value = false;
937 return ParseNormalFloat(is, negate_value, value);
[all …]
/third_party/glslang/gtests/
DHexFloat.cpp1005 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 …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dhex_float_test.cpp1008 bool negate_value; member
1018 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P()
1021 << " negate: " << GetParam().negate_value; in TEST_P()
1025 << " negate: " << GetParam().negate_value; in TEST_P()
1031 FloatParseCase<T> BadFloatParseCase(std::string literal, bool negate_value, in BadFloatParseCase() argument
1034 return FloatParseCase<T>{literal, negate_value, false, proxy_expected_value}; in BadFloatParseCase()
1039 FloatParseCase<T> GoodFloatParseCase(std::string literal, bool negate_value, in GoodFloatParseCase() argument
1042 return FloatParseCase<T>{literal, negate_value, true, proxy_expected_value}; in GoodFloatParseCase()
1085 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P()
1088 << " negate: " << GetParam().negate_value; in TEST_P()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dhex_float_test.cpp1103 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 …]
/third_party/spirv-tools/test/
Dhex_float_test.cpp1103 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 …]
/third_party/skia/third_party/externals/spirv-tools/test/
Dhex_float_test.cpp1103 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 …]