Searched refs:or_mask (Results 1 – 2 of 2) sorted by relevance
/system/core/libcutils/tests/ |
D | MemsetTest.cpp | 91 static void *GetAlignedPtr(void *orig_ptr, int alignment, int or_mask) { in GetAlignedPtr() argument 98 ptr |= alignment | or_mask; in GetAlignedPtr()
|
/system/extras/micro_bench/ |
D | micro_bench.cpp | 104 uint8_t *getAlignedMemory(uint8_t *orig_ptr, int alignment, int or_mask) { in getAlignedMemory() argument 112 ptr |= alignment | or_mask; in getAlignedMemory() 121 uint8_t *allocateAlignedMemory(size_t size, int alignment, int or_mask) { in allocateAlignedMemory() argument 125 return getAlignedMemory((uint8_t*)ptr, alignment, or_mask); in allocateAlignedMemory() 173 uint8_t *getColdBuffer(int num_buffers, size_t incr, int alignment, int or_mask) { in getColdBuffer() argument 178 return getAlignedMemory(buffers, alignment, or_mask); in getColdBuffer()
|