Home
last modified time | relevance | path

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

/external/skia/tests/
DFontMgrAndroidParserTest.cpp160 bool b = parse_fixed<N>(buffer, &fix); in test_parse_fixed_r()
185 REPORTER_ASSERT(reporter, !parse_fixed<27>("-17.1", &fix)); in test_parse_fixed()
186 REPORTER_ASSERT(reporter, !parse_fixed<16>("32768", &fix)); in test_parse_fixed()
187 REPORTER_ASSERT(reporter, !parse_fixed<16>("", &fix)); in test_parse_fixed()
188 REPORTER_ASSERT(reporter, !parse_fixed<16>(".", &fix)); in test_parse_fixed()
189 REPORTER_ASSERT(reporter, !parse_fixed<16>("123.", &fix)); in test_parse_fixed()
190 REPORTER_ASSERT(reporter, !parse_fixed<16>("a", &fix)); in test_parse_fixed()
191 REPORTER_ASSERT(reporter, !parse_fixed<16>(".123a", &fix)); in test_parse_fixed()
/external/skia/src/ports/
DSkFontMgr_android_parser.h163 template <int N, typename T> bool parse_fixed(const char* s, T* value) { in parse_fixed() function
DSkFontMgr_android_parser.cpp202 if (parse_fixed<16>(value, &axisStyleValue)) { in __anone9364e830102()