/third_party/flutter/skia/third_party/externals/spirv-tools/test/ |
D | parse_number_test.cpp | 25 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/ |
D | parse_number_test.cpp | 34 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/ |
D | parse_number_test.cpp | 34 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/ |
D | parse_number_test.cpp | 34 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/ |
D | parse_number.cpp | 94 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()
|
D | parse_number.h | 168 bool ParseNumber(const char* text, T* value_pointer) { in ParseNumber() function
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/ |
D | parse_number.cpp | 92 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()
|
D | parse_number.h | 167 bool ParseNumber(const char* text, T* value_pointer) { in ParseNumber() function
|
/third_party/skia/third_party/externals/spirv-tools/source/util/ |
D | parse_number.cpp | 94 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()
|
D | parse_number.h | 168 bool ParseNumber(const char* text, T* value_pointer) { in ParseNumber() function
|
/third_party/spirv-tools/source/util/ |
D | parse_number.cpp | 94 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()
|
D | parse_number.h | 168 bool ParseNumber(const char* text, T* value_pointer) { in ParseNumber() function
|
/third_party/abseil-cpp/absl/debugging/internal/ |
D | demangle.cc | 538 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/ |
D | demangle.cc | 542 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/ |
D | set_spec_constant_default_value_pass.cpp | 38 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/ |
D | set_spec_constant_default_value_pass.cpp | 38 using utils::ParseNumber; 360 if (!ParseNumber(spec_id_str.c_str(), &spec_id)) { in ParseDefaultValuesString()
|
D | convert_to_sampled_image_pass.cpp | 35 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/ |
D | set_spec_constant_default_value_pass.cpp | 36 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/ |
D | set_spec_constant_default_value_pass.cpp | 38 using utils::ParseNumber; 360 if (!ParseNumber(spec_id_str.c_str(), &spec_id)) { in ParseDefaultValuesString()
|
D | convert_to_sampled_image_pass.cpp | 35 using utils::ParseNumber; 51 if (!utils::ParseNumber(number_in_str.c_str(), number)) { in ParseNumberUntilSeparator()
|
/third_party/skia/third_party/externals/spirv-tools/source/ |
D | text_handler.cpp | 161 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/ |
D | text_handler.cpp | 160 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/ |
D | text_handler.cpp | 161 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/ |
D | text_handler.cpp | 160 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/ |
D | json_stream_parser.h | 158 util::Status ParseNumber();
|