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

/system/core/libcutils/tests/
H A DMemsetTest.cpp89 static void *GetAlignedPtr(void *orig_ptr, int alignment, int or_mask) { argument
96 ptr |= alignment | or_mask;
/system/extras/micro_bench/
H A Dmicro_bench.cpp97 uint8_t *getAlignedMemory(uint8_t *orig_ptr, int alignment, int or_mask) { argument
104 ptr |= alignment | or_mask;
113 uint8_t *allocateAlignedMemory(size_t size, int alignment, int or_mask) { argument
117 return getAlignedMemory((uint8_t*)ptr, alignment, or_mask);
165 uint8_t *getColdBuffer(int num_buffers, size_t incr, int alignment, int or_mask) { argument
170 return getAlignedMemory(buffers, alignment, or_mask);

Completed in 194 milliseconds