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()
29 char* GetAlignedMemory(char* orig_ptr, size_t alignment, size_t or_mask) { in GetAlignedMemory() argument33 if (or_mask > alignment) { in GetAlignedMemory()42 ptr |= alignment | or_mask; in GetAlignedMemory()
55 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()