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

/system/core/libcutils/tests/
H A DMemsetTest.cpp91 static void *GetAlignedPtr(void *orig_ptr, int alignment, int or_mask) { argument
98 ptr |= alignment | or_mask;
/system/extras/micro_bench/
H A Dmicro_bench.cpp104 uint8_t *getAlignedMemory(uint8_t *orig_ptr, int alignment, int or_mask) { argument
112 ptr |= alignment | or_mask;
121 uint8_t *allocateAlignedMemory(size_t size, int alignment, int or_mask) { argument
125 return getAlignedMemory((uint8_t*)ptr, alignment, or_mask);
173 uint8_t *getColdBuffer(int num_buffers, size_t incr, int alignment, int or_mask) { argument
178 return getAlignedMemory(buffers, alignment, or_mask);

Completed in 89 milliseconds