Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DResourceTypes.cpp2975 struct LocaleParserState { struct
2994 LocaleParserState(): parserState(BASE), unicodeState(NO_KEY) {} in LocaleParserState() argument
2997 /* static */ inline LocaleParserState assignLocaleComponent(ResTable_config* config, in assignLocaleComponent()
2998 const char* start, size_t size, LocaleParserState state) { in assignLocaleComponent()
3004 if (state.parserState == LocaleParserState::UNICODE_EXTENSION) { in assignLocaleComponent()
3008 state.parserState = LocaleParserState::IGNORE_THE_REST; in assignLocaleComponent()
3011 if (state.unicodeState == LocaleParserState::NO_KEY || in assignLocaleComponent()
3012 state.unicodeState == LocaleParserState::EXPECT_KEY) { in assignLocaleComponent()
3017 state.unicodeState = LocaleParserState::NUMBERING_SYSTEM; in assignLocaleComponent()
3019 state.unicodeState = LocaleParserState::IGNORE_KEY; in assignLocaleComponent()
[all …]