Lines Matching refs:copy
6 * You may obtain a copy of the License at
166 // owned copy of the VarArgs. This is because getting the next argument from a va_list is a
1375 GuardedCopy* copy = new (new_buf) GuardedCopy(original_buf, len, adler);
1380 const_cast<char*>(copy->StartRedZone())[i] = kCanary[j];
1389 memcpy(const_cast<uint8_t*>(copy->BufferWithinRedZones()), original_buf, len);
1393 const_cast<char*>(copy->EndRedZone())[i] = kCanary[j];
1401 return const_cast<uint8_t*>(copy->BufferWithinRedZones());
1405 * Create a guarded copy of a primitive array. Modifications to the copied
1423 * Perform the array "release" operation, which may or may not copy data
1433 GuardedCopy* const copy = FromEmbedded(embedded_buf);
1434 void* original_ptr = copy->original_ptr_;
1436 memcpy(original_ptr, embedded_buf, copy->original_length_);
1449 GuardedCopy* copy = FromEmbedded(embedded_buf);
1450 void* original_ptr = const_cast<void*>(copy->original_ptr_);
1451 size_t len = LengthIncludingRedZones(copy->original_length_);
1452 DebugFree(copy, len);
1463 const GuardedCopy* copy = FromEmbedded(embedded_buf);
1464 return copy->CheckHeader(function_name, mod_okay) && copy->CheckRedZones(function_name);
1525 // told the client that we made a copy, there's no reason they can't alter the buffer.