Lines Matching refs:copy
1510 GuardedCopy* copy = new (new_buf) GuardedCopy(original_buf, len, adler); in Create() local
1515 const_cast<char*>(copy->StartRedZone())[i] = kCanary[j]; in Create()
1524 memcpy(const_cast<uint8_t*>(copy->BufferWithinRedZones()), original_buf, len); in Create()
1528 const_cast<char*>(copy->EndRedZone())[i] = kCanary[j]; in Create()
1536 return const_cast<uint8_t*>(copy->BufferWithinRedZones()); in Create()
1568 GuardedCopy* const copy = FromEmbedded(embedded_buf); in ReleaseGuardedPACopy() local
1569 void* original_ptr = copy->original_ptr_; in ReleaseGuardedPACopy()
1571 memcpy(original_ptr, embedded_buf, copy->original_length_); in ReleaseGuardedPACopy()
1584 GuardedCopy* copy = FromEmbedded(embedded_buf); in Destroy() local
1585 void* original_ptr = const_cast<void*>(copy->original_ptr_); in Destroy()
1586 size_t len = LengthIncludingRedZones(copy->original_length_); in Destroy()
1587 DebugFree(copy, len); in Destroy()
1598 const GuardedCopy* copy = FromEmbedded(embedded_buf); in Check() local
1599 return copy->CheckHeader(function_name, mod_okay) && copy->CheckRedZones(function_name); in Check()