Home
last modified time | relevance | path

Searched refs:offset_from_aligned (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util_posix.cc120 static void* allocate_addr(int size, int offset_from_aligned = 0) { in allocate_addr() argument
124 CHECK(offset_from_aligned < kAlign); in allocate_addr()
127 return (void*)(addr + offset_from_aligned); in allocate_addr()
130 MemLoc::MemLoc(int offset_from_aligned) in MemLoc() argument
131 : loc_(allocate_addr(16, offset_from_aligned)) { in MemLoc()
Dtsan_test_util.h22 explicit MemLoc(int offset_from_aligned = 0);