Lines Matching defs:operator

25   Subclass& operator++() {  // Prefix increment.
29 Subclass operator++(int) { // Postfix increment.
34 Subclass& operator--() { // Prefix decrement.
38 Subclass operator--(int) { // Postfix decrement.
44 bool operator<(const SlotBase& other) const { return ptr_ < other.ptr_; }
45 bool operator<=(const SlotBase& other) const { return ptr_ <= other.ptr_; }
46 bool operator>(const SlotBase& other) const { return ptr_ > other.ptr_; }
47 bool operator>=(const SlotBase& other) const { return ptr_ >= other.ptr_; }
48 bool operator==(const SlotBase& other) const { return ptr_ == other.ptr_; }
49 bool operator!=(const SlotBase& other) const { return ptr_ != other.ptr_; }
50 size_t operator-(const SlotBase& other) const {
54 Subclass operator-(int i) const { return Subclass(ptr_ - i * kSlotDataSize); }
55 Subclass operator+(int i) const { return Subclass(ptr_ + i * kSlotDataSize); }
56 friend Subclass operator+(int i, const Subclass& slot) {
59 Subclass& operator+=(int i) {
63 Subclass operator-(int i) { return Subclass(ptr_ - i * kSlotDataSize); }
64 Subclass& operator-=(int i) {
90 // The slot's contents can be read and written using operator* and store().
113 inline Object operator*() const;
133 // The slot's contents can be read and written using operator* and store().
153 inline MaybeObject operator*() const;
167 // The slot's contents can be read and written using operator* and store().
180 inline HeapObjectReference operator*() const;
205 Reference& operator=(const Reference& other) V8_NOEXCEPT {
209 Reference& operator=(T value) {
216 operator T() const { return value(); }
224 bool operator<(const Reference& other) const {
228 bool operator==(const Reference& other) const {
252 Reference operator*() const {
255 Reference operator[](difference_type i) const {
262 friend difference_type operator-(UnalignedSlot a, UnalignedSlot b) {
275 inline Object operator*() const = delete;