Lines Matching refs:violation
568 log << TestLog::Message << "VIOLATION " << (violationNdx+1)
695 std::ostream& operator<< (std::ostream& str, const AllocationCallbackViolation& violation)
697 switch (violation.reason)
701 DE_ASSERT(violation.record.type == AllocationCallbackRecord::TYPE_FREE);
702 str << "Double free of " << tcu::toHex(violation.record.data.free.mem);
708 DE_ASSERT(violation.record.type == AllocationCallbackRecord::TYPE_FREE);
709 str << "Attempt to free " << tcu::toHex(violation.record.data.free.mem) << " which has not been allocated";
715 DE_ASSERT(violation.record.type == AllocationCallbackRecord::TYPE_REALLOCATION);
716 str << "Attempt to reallocate " << tcu::toHex(violation.record.data.reallocation.original) << " which has not been allocated";
722 DE_ASSERT(violation.record.type == AllocationCallbackRecord::TYPE_REALLOCATION);
723 str << "Attempt to reallocate " << tcu::toHex(violation.record.data.reallocation.original) << " which has been freed";
729 DE_ASSERT(violation.record.type == AllocationCallbackRecord::TYPE_INTERNAL_FREE);
730 str << "Internal allocation total for (" << violation.record.data.internalAllocation.type << ", " << violation.record.data.internalAllocation.scope << ") is negative";
736 DE_ASSERT(violation.record.type == AllocationCallbackRecord::TYPE_INTERNAL_ALLOCATION ||
737 violation.record.type == AllocationCallbackRecord::TYPE_INTERNAL_FREE);
738 str << "Invalid internal allocation type " << tcu::toHex(violation.record.data.internalAllocation.type);