Lines Matching refs:holder

56 #define INT_ACCESSORS(holder, name, offset)                         \  argument
57 int holder::name() const { return READ_INT_FIELD(this, offset); } \
58 void holder::set_##name(int value) { WRITE_INT_FIELD(this, offset, value); }
60 #define INT32_ACCESSORS(holder, name, offset) \ argument
61 int32_t holder::name() const { return READ_INT32_FIELD(this, offset); } \
62 void holder::set_##name(int32_t value) { \
66 #define UINT16_ACCESSORS(holder, name, offset) \ argument
67 uint16_t holder::name() const { return READ_UINT16_FIELD(this, offset); } \
68 void holder::set_##name(int value) { \
74 #define UINT8_ACCESSORS(holder, name, offset) \ argument
75 uint8_t holder::name() const { return READ_UINT8_FIELD(this, offset); } \
76 void holder::set_##name(int value) { \
82 #define ACCESSORS_CHECKED2(holder, name, type, offset, get_condition, \ argument
84 type* holder::name() const { \
89 void holder::set_##name(type* value, WriteBarrierMode mode) { \
94 #define ACCESSORS_CHECKED(holder, name, type, offset, condition) \ argument
95 ACCESSORS_CHECKED2(holder, name, type, offset, condition, condition)
97 #define ACCESSORS(holder, name, type, offset) \ argument
98 ACCESSORS_CHECKED(holder, name, type, offset, true)
100 #define WEAK_ACCESSORS_CHECKED2(holder, name, offset, get_condition, \ argument
102 MaybeObject* holder::name() const { \
107 void holder::set_##name(MaybeObject* value, WriteBarrierMode mode) { \
113 #define WEAK_ACCESSORS_CHECKED(holder, name, offset, condition) \ argument
114 WEAK_ACCESSORS_CHECKED2(holder, name, offset, condition, condition)
116 #define WEAK_ACCESSORS(holder, name, offset) \ argument
117 WEAK_ACCESSORS_CHECKED(holder, name, offset, true)
120 #define SMI_ACCESSORS_CHECKED(holder, name, offset, condition) \ argument
121 int holder::name() const { \
126 void holder::set_##name(int value) { \
131 #define SMI_ACCESSORS(holder, name, offset) \ argument
132 SMI_ACCESSORS_CHECKED(holder, name, offset, true)
134 #define SYNCHRONIZED_SMI_ACCESSORS(holder, name, offset) \ argument
135 int holder::synchronized_##name() const { \
139 void holder::synchronized_set_##name(int value) { \
143 #define RELAXED_SMI_ACCESSORS(holder, name, offset) \ argument
144 int holder::relaxed_read_##name() const { \
148 void holder::relaxed_write_##name(int value) { \
152 #define BOOL_GETTER(holder, field, name, offset) \ argument
153 bool holder::name() const { return BooleanBit::get(field(), offset); }
155 #define BOOL_ACCESSORS(holder, field, name, offset) \ argument
156 bool holder::name() const { return BooleanBit::get(field(), offset); } \
157 void holder::set_##name(bool value) { \
161 #define BIT_FIELD_ACCESSORS(holder, field, name, BitField) \ argument
162 typename BitField::FieldType holder::name() const { \
165 void holder::set_##name(typename BitField::FieldType value) { \