Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DAaptAssets.h61 struct AaptLocaleValue { struct
67 AaptLocaleValue() { in AaptLocaleValue() argument
68 memset(this, 0, sizeof(AaptLocaleValue)); in AaptLocaleValue()
81 int compare(const AaptLocaleValue& other) const { in compare() argument
82 return memcmp(this, &other, sizeof(AaptLocaleValue)); in compare()
85 inline bool operator<(const AaptLocaleValue& o) const { return compare(o) < 0; }
86 inline bool operator<=(const AaptLocaleValue& o) const { return compare(o) <= 0; }
87 inline bool operator==(const AaptLocaleValue& o) const { return compare(o) == 0; }
88 inline bool operator!=(const AaptLocaleValue& o) const { return compare(o) != 0; }
89 inline bool operator>=(const AaptLocaleValue& o) const { return compare(o) >= 0; }
[all …]
DAaptAssets.cpp176 void AaptLocaleValue::setLanguage(const char* languageChars) { in setLanguage()
184 void AaptLocaleValue::setRegion(const char* regionChars) { in setRegion()
192 void AaptLocaleValue::setScript(const char* scriptChars) { in setScript()
204 void AaptLocaleValue::setVariant(const char* variantChars) { in setVariant()
212 bool AaptLocaleValue::initFromFilterString(const String8& str) { in initFromFilterString()
277 int AaptLocaleValue::initFromDirName(const Vector<String8>& parts, const int startIndex) { in initFromDirName()
373 void AaptLocaleValue::initFromResTable(const ResTable_config& config) { in initFromResTable()
385 void AaptLocaleValue::writeTo(ResTable_config* out) const { in writeTo()
DResourceFilter.cpp29 AaptLocaleValue val; in parse()
DAaptConfig.cpp38 AaptLocaleValue locale; in parse()
DResourceTable.cpp2811 AaptLocaleValue locale; in validateLocalizations()
/frameworks/base/tools/aapt/tests/
DResourceFilter_test.cpp159 AaptLocaleValue val; in TEST()