Searched refs:GuardedCopy (Results 1 – 1 of 1) sorted by relevance
916 struct GuardedCopy { struct923 static inline const GuardedCopy* FromData(const void* dataBuf) { in FromData() argument924 return reinterpret_cast<const GuardedCopy*>(ActualBuffer(dataBuf)); in FromData()954 GuardedCopy* pExtra = reinterpret_cast<GuardedCopy*>(newBuf); in Create()967 const GuardedCopy* pExtra = GuardedCopy::FromData(dataBuf); in Destroy()983 const GuardedCopy* pExtra = GuardedCopy::FromData(dataBuf); in Check()1001 for (size_t i = sizeof(GuardedCopy) / 2; i < (kGuardLen / 2 - sizeof(GuardedCopy)) / 2; i++) { in Check()1086 void* result = GuardedCopy::Create(a->GetRawData(component_size, 0), byte_count, true); in CreateGuardedPACopy()1101 GuardedCopy::Check(__FUNCTION__, dataBuf, true); in ReleaseGuardedPACopy()1104 size_t len = GuardedCopy::FromData(dataBuf)->original_length; in ReleaseGuardedPACopy()[all …]