Lines Matching refs:thiz
74 const iter_t* thiz () const { return static_cast<const iter_t *> (this); } in thiz() function
75 iter_t* thiz () { return static_cast< iter_t *> (this); } in thiz() function
83 iter_t iter () const { return *thiz(); } in iter()
84 iter_t operator + () const { return *thiz(); } in operator +()
85 iter_t begin () const { return *thiz(); } in begin()
86 iter_t end () const { return thiz()->__end__ (); } in end()
87 explicit operator bool () const { return thiz()->__more__ (); } in operator bool()
88 unsigned len () const { return thiz()->__len__ (); } in len()
94 hb_remove_reference<item_t>* operator -> () const { return hb_addressof (**thiz()); } in operator ->()
95 item_t operator * () const { return thiz()->__item__ (); } in operator *()
96 item_t operator * () { return thiz()->__item__ (); } in operator *()
97 item_t operator [] (unsigned i) const { return thiz()->__item_at__ (i); } in operator []()
98 item_t operator [] (unsigned i) { return thiz()->__item_at__ (i); } in operator []()
99 iter_t& operator += (unsigned count) & { thiz()->__forward__ (count); return *thiz(); } in operator +=()
100 iter_t operator += (unsigned count) && { thiz()->__forward__ (count); return *thiz(); } in operator +=()
101 iter_t& operator ++ () & { thiz()->__next__ (); return *thiz(); } in operator ++()
102 iter_t operator ++ () && { thiz()->__next__ (); return *thiz(); } in operator ++()
103 iter_t& operator -= (unsigned count) & { thiz()->__rewind__ (count); return *thiz(); } in operator -=()
104 iter_t operator -= (unsigned count) && { thiz()->__rewind__ (count); return *thiz(); } in operator -=()
105 iter_t& operator -- () & { thiz()->__prev__ (); return *thiz(); } in operator --()
106 iter_t operator -- () && { thiz()->__prev__ (); return *thiz(); } in operator --()
107 iter_t operator + (unsigned count) const { auto c = thiz()->iter (); c += count; return c; } in operator +()
109 iter_t operator ++ (int) { iter_t c (*thiz()); ++*thiz(); return c; } in operator ++()
110 iter_t operator - (unsigned count) const { auto c = thiz()->iter (); c -= count; return c; } in operator -()
111 iter_t operator -- (int) { iter_t c (*thiz()); --*thiz(); return c; } in operator --()
113 iter_t& operator >> (T &v) & { v = **thiz(); ++*thiz(); return *thiz(); } in operator >>()
115 iter_t operator >> (T &v) && { v = **thiz(); ++*thiz(); return *thiz(); } in operator >>()
117 iter_t& operator << (const T v) & { **thiz() = v; ++*thiz(); return *thiz(); } in operator <<()
119 iter_t operator << (const T v) && { **thiz() = v; ++*thiz(); return *thiz(); } in operator <<()
194 const iter_t* thiz () const { return static_cast<const iter_t *> (this); } in thiz() function
195 iter_t* thiz () { return static_cast< iter_t *> (this); } in thiz() function
199 item_t __item__ () const { return (*thiz())[0]; } in __item__()
200 item_t __item_at__ (unsigned i) const { return *(*thiz() + i); } in __item_at__()
203 bool __more__ () const { return bool (thiz()->len ()); } in __more__()
205 { iter_t c (*thiz()); unsigned l = 0; while (c) { c++; l++; } return l; } in __len__()
208 void __next__ () { *thiz() += 1; } in __next__()
209 void __forward__ (unsigned n) { while (*thiz() && n--) ++*thiz(); } in __forward__()
212 void __prev__ () { *thiz() -= 1; } in __prev__()
213 void __rewind__ (unsigned n) { while (*thiz() && n--) --*thiz(); } in __rewind__()
219 if (thiz()->is_random_access_iterator) in __end__()
220 return *thiz() + thiz()->len (); in __end__()
222 auto it = *thiz(); in __end__()