Searched defs:or_mask (Results 1 - 2 of 2) sorted by relevance

/bionic/benchmarks/
H A Dutil.cpp28 // This function returns a pointer less than 2 * alignment + or_mask bytes into the array.
29 char* GetAlignedMemory(char* orig_ptr, size_t alignment, size_t or_mask) { argument
33 if (or_mask > alignment) {
34 errx(1, "warning: or_mask passed into GetAlignedMemory is too high.");
42 ptr |= alignment | or_mask;
/bionic/tests/
H A Dbuffer_tests.cpp195 static void *GetAlignedPtr(void *orig_ptr, int alignment, int or_mask) { argument
202 ptr |= alignment | or_mask;

Completed in 56 milliseconds