Home
last modified time | relevance | path

Searched refs:or_mask (Results 1 – 4 of 4) sorted by relevance

/bionic/benchmarks/tests/
Dbenchmark_test.cpp23 for (size_t or_mask = 0; or_mask < alignment; ++or_mask) { in TEST() local
25 or_mask)); in TEST()
26 ASSERT_EQ(aligned_ptr % alignment, or_mask); in TEST()
/bionic/benchmarks/
Dutil.cpp26 char *GetAlignedMemory(char *orig_ptr, size_t alignment, size_t or_mask) { in GetAlignedMemory() argument
31 if (or_mask > alignment) { in GetAlignedMemory()
41 ptr |= alignment | or_mask; in GetAlignedMemory()
Dutil.h23 char *GetAlignedMemory(char *orig_ptr, size_t alignment, size_t or_mask);
/bionic/tests/
Dbuffer_tests.cpp195 static void *GetAlignedPtr(void *orig_ptr, int alignment, int or_mask) { in GetAlignedPtr() argument
202 ptr |= alignment | or_mask; in GetAlignedPtr()