Searched refs:orig_ptr (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
92 uint64_t ptr = reinterpret_cast<uint64_t>(orig_ptr);
/system/extras/micro_bench/
H A Dmicro_bench.cpp94 // Static analyzer warns about potential memory leak of orig_ptr
96 // do not free orig_ptr. But, we don't care about that in this
104 uint8_t *getAlignedMemory(uint8_t *orig_ptr, int alignment, int or_mask) { argument
105 uint64_t ptr = reinterpret_cast<uint64_t>(orig_ptr);
106 saved_orig_ptr = orig_ptr;

Completed in 84 milliseconds