Home
last modified time | relevance | path

Searched refs:ParseNumber (Results 1 – 25 of 31) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dparse_number_test.cpp25 using spvutils::ParseNumber;
36 EXPECT_FALSE(ParseNumber(nullptr, &i16)); in TEST()
37 EXPECT_FALSE(ParseNumber("", &i16)); in TEST()
38 EXPECT_FALSE(ParseNumber("0=", &i16)); in TEST()
40 EXPECT_TRUE(ParseNumber("0", &i16)); in TEST()
42 EXPECT_TRUE(ParseNumber("32767", &i16)); in TEST()
44 EXPECT_TRUE(ParseNumber("-32768", &i16)); in TEST()
46 EXPECT_TRUE(ParseNumber("-0", &i16)); in TEST()
51 EXPECT_FALSE(ParseNumber("32768", &i16)); in TEST()
52 EXPECT_FALSE(ParseNumber("65535", &i16)); in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/
Dparse_number_test.cpp34 EXPECT_FALSE(ParseNumber(nullptr, &i16)); in TEST()
35 EXPECT_FALSE(ParseNumber("", &i16)); in TEST()
36 EXPECT_FALSE(ParseNumber("0=", &i16)); in TEST()
38 EXPECT_TRUE(ParseNumber("0", &i16)); in TEST()
40 EXPECT_TRUE(ParseNumber("32767", &i16)); in TEST()
42 EXPECT_TRUE(ParseNumber("-32768", &i16)); in TEST()
44 EXPECT_TRUE(ParseNumber("-0", &i16)); in TEST()
49 EXPECT_FALSE(ParseNumber("32768", &i16)); in TEST()
50 EXPECT_FALSE(ParseNumber("65535", &i16)); in TEST()
53 EXPECT_TRUE(ParseNumber("0x7fff", &i16)); in TEST()
[all …]
/third_party/spirv-tools/test/
Dparse_number_test.cpp34 EXPECT_FALSE(ParseNumber(nullptr, &i16)); in TEST()
35 EXPECT_FALSE(ParseNumber("", &i16)); in TEST()
36 EXPECT_FALSE(ParseNumber("0=", &i16)); in TEST()
38 EXPECT_TRUE(ParseNumber("0", &i16)); in TEST()
40 EXPECT_TRUE(ParseNumber("32767", &i16)); in TEST()
42 EXPECT_TRUE(ParseNumber("-32768", &i16)); in TEST()
44 EXPECT_TRUE(ParseNumber("-0", &i16)); in TEST()
49 EXPECT_FALSE(ParseNumber("32768", &i16)); in TEST()
50 EXPECT_FALSE(ParseNumber("65535", &i16)); in TEST()
53 EXPECT_TRUE(ParseNumber("0x7fff", &i16)); in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dparse_number_test.cpp34 EXPECT_FALSE(ParseNumber(nullptr, &i16)); in TEST()
35 EXPECT_FALSE(ParseNumber("", &i16)); in TEST()
36 EXPECT_FALSE(ParseNumber("0=", &i16)); in TEST()
38 EXPECT_TRUE(ParseNumber("0", &i16)); in TEST()
40 EXPECT_TRUE(ParseNumber("32767", &i16)); in TEST()
42 EXPECT_TRUE(ParseNumber("-32768", &i16)); in TEST()
44 EXPECT_TRUE(ParseNumber("-0", &i16)); in TEST()
49 EXPECT_FALSE(ParseNumber("32768", &i16)); in TEST()
50 EXPECT_FALSE(ParseNumber("65535", &i16)); in TEST()
53 EXPECT_TRUE(ParseNumber("0x7fff", &i16)); in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dparse_number.cpp94 if (!ParseNumber(text, &decoded_signed)) { in ParseAndEncodeIntegerNumber()
110 if (!ParseNumber(text, &decoded_bits)) { in ParseAndEncodeIntegerNumber()
151 if (!ParseNumber(text, &hVal)) { in ParseAndEncodeFloatingPointNumber()
164 if (!ParseNumber(text, &fVal)) { in ParseAndEncodeFloatingPointNumber()
173 if (!ParseNumber(text, &dVal)) { in ParseAndEncodeFloatingPointNumber()
Dparse_number.h168 bool ParseNumber(const char* text, T* value_pointer) { in ParseNumber() function
/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/
Dparse_number.cpp92 if (!ParseNumber(text, &decoded_signed)) { in ParseAndEncodeIntegerNumber()
108 if (!ParseNumber(text, &decoded_bits)) { in ParseAndEncodeIntegerNumber()
149 if (!ParseNumber(text, &hVal)) { in ParseAndEncodeFloatingPointNumber()
162 if (!ParseNumber(text, &fVal)) { in ParseAndEncodeFloatingPointNumber()
171 if (!ParseNumber(text, &dVal)) { in ParseAndEncodeFloatingPointNumber()
Dparse_number.h167 bool ParseNumber(const char* text, T* value_pointer) { in ParseNumber() function
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dparse_number.cpp94 if (!ParseNumber(text, &decoded_signed)) { in ParseAndEncodeIntegerNumber()
110 if (!ParseNumber(text, &decoded_bits)) { in ParseAndEncodeIntegerNumber()
151 if (!ParseNumber(text, &hVal)) { in ParseAndEncodeFloatingPointNumber()
164 if (!ParseNumber(text, &fVal)) { in ParseAndEncodeFloatingPointNumber()
173 if (!ParseNumber(text, &dVal)) { in ParseAndEncodeFloatingPointNumber()
Dparse_number.h168 bool ParseNumber(const char* text, T* value_pointer) { in ParseNumber() function
/third_party/spirv-tools/source/util/
Dparse_number.cpp94 if (!ParseNumber(text, &decoded_signed)) { in ParseAndEncodeIntegerNumber()
110 if (!ParseNumber(text, &decoded_bits)) { in ParseAndEncodeIntegerNumber()
151 if (!ParseNumber(text, &hVal)) { in ParseAndEncodeFloatingPointNumber()
164 if (!ParseNumber(text, &fVal)) { in ParseAndEncodeFloatingPointNumber()
173 if (!ParseNumber(text, &dVal)) { in ParseAndEncodeFloatingPointNumber()
Dparse_number.h168 bool ParseNumber(const char* text, T* value_pointer) { in ParseNumber() function
/third_party/abseil-cpp/absl/debugging/internal/
Ddemangle.cc538 static bool ParseNumber(State *state, int *number_out);
759 if (ParseNumber(state, &length) && ParseIdentifier(state, length)) { in ParseSourceName()
796 if (ParseTwoCharToken(state, "Ut") && Optional(ParseNumber(state, &which)) && in ParseUnnamedTypeName()
810 ParseOneCharToken(state, 'E') && Optional(ParseNumber(state, &which)) && in ParseUnnamedTypeName()
826 static bool ParseNumber(State *state, int *number_out) { in ParseNumber() function
1013 ParseNumber(state, nullptr) && ParseOneCharToken(state, '_') && in ParseSpecialName()
1069 return ParseNumber(state, nullptr); in ParseNVOffset()
1077 if (ParseNumber(state, nullptr) && ParseOneCharToken(state, '_') && in ParseVOffset()
1078 ParseNumber(state, nullptr)) { in ParseVOffset()
1222 if (ParseTwoCharToken(state, "Dv") && ParseNumber(state, nullptr) && in ParseType()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Ddemangle.cc542 static bool ParseNumber(State *state, int *number_out);
763 if (ParseNumber(state, &length) && ParseIdentifier(state, length)) { in ParseSourceName()
800 if (ParseTwoCharToken(state, "Ut") && Optional(ParseNumber(state, &which)) && in ParseUnnamedTypeName()
814 ParseOneCharToken(state, 'E') && Optional(ParseNumber(state, &which)) && in ParseUnnamedTypeName()
830 static bool ParseNumber(State *state, int *number_out) { in ParseNumber() function
1017 ParseNumber(state, nullptr) && ParseOneCharToken(state, '_') && in ParseSpecialName()
1073 return ParseNumber(state, nullptr); in ParseNVOffset()
1081 if (ParseNumber(state, nullptr) && ParseOneCharToken(state, '_') && in ParseVOffset()
1082 ParseNumber(state, nullptr)) { in ParseVOffset()
1226 if (ParseTwoCharToken(state, "Dv") && ParseNumber(state, nullptr) && in ParseType()
[all …]
/third_party/spirv-tools/source/opt/
Dset_spec_constant_default_value_pass.cpp38 using utils::ParseNumber;
335 if (!ParseNumber(spec_id_str.c_str(), &spec_id)) { in ParseDefaultValuesString()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dset_spec_constant_default_value_pass.cpp38 using utils::ParseNumber;
360 if (!ParseNumber(spec_id_str.c_str(), &spec_id)) { in ParseDefaultValuesString()
Dconvert_to_sampled_image_pass.cpp35 using utils::ParseNumber;
51 if (!utils::ParseNumber(number_in_str.c_str(), number)) { in ParseNumberUntilSeparator()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dset_spec_constant_default_value_pass.cpp36 using spvutils::ParseNumber;
332 if (!ParseNumber(spec_id_str.c_str(), &spec_id)) { in ParseDefaultValuesString()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dset_spec_constant_default_value_pass.cpp38 using utils::ParseNumber;
360 if (!ParseNumber(spec_id_str.c_str(), &spec_id)) { in ParseDefaultValuesString()
Dconvert_to_sampled_image_pass.cpp35 using utils::ParseNumber;
51 if (!utils::ParseNumber(number_in_str.c_str(), number)) { in ParseNumberUntilSeparator()
/third_party/skia/third_party/externals/spirv-tools/source/
Dtext_handler.cpp161 if (spvtools::utils::ParseNumber(textValue, &id)) { in spvNamedIdAssignOrGet()
393 if (spvtools::utils::ParseNumber(kv.first.c_str(), &id)) ids.insert(id); in GetNumericIds()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dtext_handler.cpp160 if (spvutils::ParseNumber(textValue, &id)) { in spvNamedIdAssignOrGet()
392 if (spvutils::ParseNumber(kv.first.c_str(), &id)) in GetNumericIds()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dtext_handler.cpp161 if (spvtools::utils::ParseNumber(textValue, &id)) { in spvNamedIdAssignOrGet()
393 if (spvtools::utils::ParseNumber(kv.first.c_str(), &id)) ids.insert(id); in GetNumericIds()
/third_party/spirv-tools/source/
Dtext_handler.cpp160 if (spvtools::utils::ParseNumber(textValue, &id)) { in spvNamedIdAssignOrGet()
392 if (spvtools::utils::ParseNumber(kv.first.c_str(), &id)) ids.insert(id); in GetNumericIds()
/third_party/protobuf/src/google/protobuf/util/internal/
Djson_stream_parser.h158 util::Status ParseNumber();

12