Home
last modified time | relevance | path

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

/external/deqp-deps/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 …]
/external/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 …]
/external/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
/external/deqp-deps/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
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_procmaps_common.cc38 static uptr ParseNumber(const char **p, int base) { in ParseNumber() function
55 return ParseNumber(p, 10); in ParseDecimal()
64 return ParseNumber(p, 16); in ParseHex()
/external/libtextclassifier/annotator/number/
Dnumber.cc34 if (ParseNumber(UnicodeText::Substring(context, selection_indices.first, in ClassifyText()
64 if (ParseNumber(token_text, &parsed_value, &num_prefix_codepoints, in FindAll()
136 bool NumberAnnotator::ParseNumber(const UnicodeText& text, int64* result, in ParseNumber() function in libtextclassifier3::NumberAnnotator
Dnumber.h66 bool ParseNumber(const UnicodeText& text, int64* result,
/external/deqp-deps/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()
/external/swiftshader/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()
/external/libchrome/build/
Dgn_helpers.py229 return self.ParseNumber()
257 def ParseNumber(self): member in GNValueParser
/external/deqp-deps/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()
Dtext.cpp166 if (!spvtools::utils::ParseNumber(text + 1, &parse_result)) { in encodeImmediate()
/external/swiftshader/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()
Dtext.cpp166 if (!spvtools::utils::ParseNumber(text + 1, &parse_result)) { in encodeImmediate()
/external/protobuf/src/google/protobuf/util/internal/
Djson_stream_parser.h149 util::Status ParseNumber();
Djson_stream_parser.cc270 return ParseNumber(); in ParseValue()
467 util::Status JsonStreamParser::ParseNumber() { in ParseNumber() function in google::protobuf::util::converter::JsonStreamParser
/external/pdfium/core/fxcrt/css/
Dcfx_cssdeclaration.h77 RetainPtr<CFX_CSSValue> ParseNumber(const wchar_t* pszValue,
Dcfx_cssdeclaration.cpp341 pCSSValue = ParseNumber(pszValue, iValueLen); in AddProperty()
431 RetainPtr<CFX_CSSValue> CFX_CSSDeclaration::ParseNumber(const wchar_t* pszValue, in ParseNumber() function in CFX_CSSDeclaration
/external/google-breakpad/src/processor/testdata/symbols/kernel32.pdb/BCE8785C57B44245A669896B6A19B9542/
Dkernel32.sym1377 PUBLIC 3465d 20 ParseNumber