Lines Matching defs:off
30 NOINLINE void oob_test(int size, int off) {
33 // sizeof(T), p, p + size, off);
34 asan_write((T*)(p + off));
38 static std::string GetLeftOOBMessage(int off) {
40 sprintf(str, "is located.*%d byte.*before", off);
44 static std::string GetRightOOBMessage(int off) {
48 sprintf(str, "is located.*%d byte.*after|SEGV", off);
53 sprintf(str, "is located.*%d byte.*after", off);
70 int off = i >= size ? (i - size) : 0;
71 EXPECT_DEATH(oob_test<T>(size, i), GetRightOOBMessage(off));