Lines Matching defs:AaptLocaleValue
61 struct AaptLocaleValue {
67 AaptLocaleValue() {
68 memset(this, 0, sizeof(AaptLocaleValue));
71 // Initialize this AaptLocaleValue from a config string.
76 // Initialize this AaptLocaleValue from a ResTable_config.
81 int compare(const AaptLocaleValue& other) const {
82 return memcmp(this, &other, sizeof(AaptLocaleValue));
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; }
90 inline bool operator>(const AaptLocaleValue& o) const { return compare(o) > 0; }