Lines Matching defs:str
674 std::ostream& operator<< (std::ostream& str, const AllocationCallbackRecord& record)
679 str << "ALLOCATION: size=" << record.data.allocation.size
686 str << "REALLOCATION: original=" << tcu::toHex(record.data.reallocation.original)
694 str << "FREE: mem=" << tcu::toHex(record.data.free.mem);
699 str << "INTERNAL_" << (record.type == AllocationCallbackRecord::TYPE_INTERNAL_ALLOCATION ? "ALLOCATION" : "FREE")
709 return str;
712 std::ostream& operator<< (std::ostream& str, const AllocationCallbackViolation& violation)
719 str << "Double free of " << tcu::toHex(violation.record.data.free.mem);
726 str << "Attempt to free " << tcu::toHex(violation.record.data.free.mem) << " which has not been allocated";
733 str << "Attempt to reallocate " << tcu::toHex(violation.record.data.reallocation.original) << " which has not been allocated";
740 str << "Attempt to reallocate " << tcu::toHex(violation.record.data.reallocation.original) << " which has been freed";
747 str << "Internal allocation total for (" << violation.record.data.internalAllocation.type << ", " << violation.record.data.internalAllocation.scope << ") is negative";
755 str << "Invalid internal allocation type " << tcu::toHex(violation.record.data.internalAllocation.type);
761 str << "Invalid allocation scope";
767 str << "Invalid alignment";
773 str << "Reallocation with different alignment";
781 return str;