Lines Matching refs:alignment
76 void NORETURN ReportInvalidAllocationAlignment(uptr alignment,
79 ScopedAllocatorErrorReport report("invalid-allocation-alignment", stack);
80 Report("ERROR: %s: invalid allocation alignment: %zd, alignment must be a "
81 "power of two\n", SanitizerToolName, alignment);
86 void NORETURN ReportInvalidAlignedAllocAlignment(uptr size, uptr alignment,
89 ScopedAllocatorErrorReport report("invalid-aligned-alloc-alignment", stack);
91 Report("ERROR: %s: invalid alignment requested in "
92 "aligned_alloc: %zd, alignment must be a power of two and the "
93 "requested size 0x%zx must be a multiple of alignment\n",
94 SanitizerToolName, alignment, size);
96 Report("ERROR: %s: invalid alignment requested in aligned_alloc: %zd, "
97 "the requested size 0x%zx must be a multiple of alignment\n",
98 SanitizerToolName, alignment, size);
104 void NORETURN ReportInvalidPosixMemalignAlignment(uptr alignment,
107 ScopedAllocatorErrorReport report("invalid-posix-memalign-alignment",
110 "ERROR: %s: invalid alignment requested in "
111 "posix_memalign: %zd, alignment must be a power of two and a "
113 SanitizerToolName, alignment, sizeof(void *));