Home | History | Annotate | Download | only in runtime

Lines Matching refs:StringIndex

26 class StringIndex {
30 constexpr StringIndex() : index_(std::numeric_limits<decltype(index_)>::max()) {}
31 explicit constexpr StringIndex(uint32_t idx) : index_(idx) {}
36 static StringIndex Invalid() {
37 return StringIndex(std::numeric_limits<decltype(index_)>::max());
40 bool operator==(const StringIndex& other) const {
43 bool operator!=(const StringIndex& other) const {
46 bool operator<(const StringIndex& other) const {
49 bool operator<=(const StringIndex& other) const {
52 bool operator>(const StringIndex& other) const {
55 bool operator>=(const StringIndex& other) const {
59 std::ostream& operator<<(std::ostream& os, const StringIndex& index);
101 template<> struct hash<art::dex::StringIndex> {
102 size_t operator()(const art::dex::StringIndex& index) const {