Lines Matching refs:var
88 * @var: variable to be incremented
91 * Increments @var by @offset with wrap-around. Returns the resulting
92 * value of @var. Will not trip any wrap-around sanitizers.
94 * Returns the new value of @var.
96 #define wrapping_assign_add(var, offset) \
98 typeof(var) *__ptr = &(var); \
99 *__ptr = wrapping_add(typeof(var), *__ptr, offset); \
134 * @var: variable to be decremented
137 * Decrements @var by @offset with wrap-around. Returns the resulting
138 * value of @var. Will not trip any wrap-around sanitizers.
140 * Returns the new value of @var.
142 #define wrapping_assign_sub(var, offset) \
144 typeof(var) *__ptr = &(var); \
145 *__ptr = wrapping_sub(typeof(var), *__ptr, offset); \