Lines Matching refs:violation
712 std::ostream& operator<< (std::ostream& str, const AllocationCallbackViolation& violation)
714 switch (violation.reason)
718 DE_ASSERT(violation.record.type == AllocationCallbackRecord::TYPE_FREE);
719 str << "Double free of " << tcu::toHex(violation.record.data.free.mem);
725 DE_ASSERT(violation.record.type == AllocationCallbackRecord::TYPE_FREE);
726 str << "Attempt to free " << tcu::toHex(violation.record.data.free.mem) << " which has not been allocated";
732 DE_ASSERT(violation.record.type == AllocationCallbackRecord::TYPE_REALLOCATION);
733 str << "Attempt to reallocate " << tcu::toHex(violation.record.data.reallocation.original) << " which has not been allocated";
739 DE_ASSERT(violation.record.type == AllocationCallbackRecord::TYPE_REALLOCATION);
740 str << "Attempt to reallocate " << tcu::toHex(violation.record.data.reallocation.original) << " which has been freed";
746 DE_ASSERT(violation.record.type == AllocationCallbackRecord::TYPE_INTERNAL_FREE);
747 str << "Internal allocation total for (" << violation.record.data.internalAllocation.type << ", " << violation.record.data.internalAllocation.scope << ") is negative";
753 DE_ASSERT(violation.record.type == AllocationCallbackRecord::TYPE_INTERNAL_ALLOCATION ||
754 violation.record.type == AllocationCallbackRecord::TYPE_INTERNAL_FREE);
755 str << "Invalid internal allocation type " << tcu::toHex(violation.record.data.internalAllocation.type);