Searched refs:or_mask (Results 1 – 4 of 4) sorted by relevance
23 for (size_t or_mask = 0; or_mask < alignment; ++or_mask) { in TEST() local25 or_mask)); in TEST()26 ASSERT_EQ(aligned_ptr % alignment, or_mask); in TEST()
26 char *GetAlignedMemory(char *orig_ptr, size_t alignment, size_t or_mask) { in GetAlignedMemory() argument31 if (or_mask > alignment) { in GetAlignedMemory()41 ptr |= alignment | or_mask; in GetAlignedMemory()
23 char *GetAlignedMemory(char *orig_ptr, size_t alignment, size_t or_mask);
195 static void *GetAlignedPtr(void *orig_ptr, int alignment, int or_mask) { in GetAlignedPtr() argument202 ptr |= alignment | or_mask; in GetAlignedPtr()