Searched refs:wrapping_add (Results 1 – 3 of 3) sorted by relevance
185 self.ptr = self.ptr.wrapping_add(num_skip); in skip()240 self.ptr = self.ptr.wrapping_add(len); in read_raw()284 self.ptr = self.ptr.wrapping_add(len); in read()350 self.ptr = self.ptr.wrapping_add(len); in write_slice()384 self.ptr = self.ptr.wrapping_add(len); in write()
584 bytes[i as usize] = i.wrapping_add(1); in test_cstr_display_all_bytes()
79 #define wrapping_add(type, a, b) \ macro99 *__ptr = wrapping_add(typeof(var), *__ptr, offset); \