Home
last modified time | relevance | path

Searched refs:parse_fixed (Results 1 – 3 of 3) sorted by relevance

/external/skia/tests/
DFontMgrAndroidParserTest.cpp119 bool b = parse_fixed<N>(buffer, &fix); in test_parse_fixed_r()
144 REPORTER_ASSERT(reporter, !parse_fixed<27>("-17.1", &fix)); in test_parse_fixed()
145 REPORTER_ASSERT(reporter, !parse_fixed<16>("32768", &fix)); in test_parse_fixed()
146 REPORTER_ASSERT(reporter, !parse_fixed<16>("", &fix)); in test_parse_fixed()
147 REPORTER_ASSERT(reporter, !parse_fixed<16>(".", &fix)); in test_parse_fixed()
148 REPORTER_ASSERT(reporter, !parse_fixed<16>("123.", &fix)); in test_parse_fixed()
149 REPORTER_ASSERT(reporter, !parse_fixed<16>("a", &fix)); in test_parse_fixed()
150 REPORTER_ASSERT(reporter, !parse_fixed<16>(".123a", &fix)); in test_parse_fixed()
/external/skia/src/ports/
DSkFontMgr_android_parser.h160 template <int N, typename T> static bool parse_fixed(const char* s, T* value) { in parse_fixed() function
DSkFontMgr_android_parser.cpp183 if (parse_fixed<16>(value, &axisStyleValue)) { in __anonbbaf037e0102()