Lines Matching refs:GuardedCopy

1185 class GuardedCopy {  class
1201 GuardedCopy* copy = new (new_buf) GuardedCopy(original_buf, len, adler); in Create()
1204 const size_t kStartCanaryLength = (GuardedCopy::kRedZoneSize / 2) - sizeof(GuardedCopy); in Create()
1252 if (!GuardedCopy::Check(function_name, embedded_buf, true)) { in ReleaseGuardedPACopy()
1255 GuardedCopy* const copy = FromEmbedded(embedded_buf); in ReleaseGuardedPACopy()
1271 GuardedCopy* copy = FromEmbedded(embedded_buf); in Destroy()
1285 const GuardedCopy* copy = FromEmbedded(embedded_buf); in Check()
1290 GuardedCopy(void* original_buf, size_t len, uLong adler) : in GuardedCopy() function in art::GuardedCopy
1313 static GuardedCopy* FromEmbedded(void* embedded_buf) { in FromEmbedded()
1314 return reinterpret_cast<GuardedCopy*>( in FromEmbedded()
1318 static const GuardedCopy* FromEmbedded(const void* embedded_buf) { in FromEmbedded()
1319 return reinterpret_cast<const GuardedCopy*>( in FromEmbedded()
1362 const size_t kStartCanaryLength = (GuardedCopy::kRedZoneSize / 2) - sizeof(GuardedCopy); in CheckRedZones()
1392 return reinterpret_cast<const char*>(buf + sizeof(GuardedCopy)); in StartRedZone()
1421 const char* const GuardedCopy::kCanary = "JNI BUFFER RED ZONE";
2313 ptr = GuardedCopy::CreateGuardedPACopy(env, array, is_copy, ptr); in GetPrimitiveArrayCritical()
2330 carray = GuardedCopy::ReleaseGuardedPACopy(__FUNCTION__, env, array, carray, mode); in ReleasePrimitiveArrayCritical()
3082 reinterpret_cast<const char*>(GuardedCopy::Create(ptr, length_in_bytes, false)); in GetStringCharsInternal()
3086 reinterpret_cast<const jchar*>(GuardedCopy::Create(ptr, length_in_bytes, false)); in GetStringCharsInternal()
3108 bool force_copy_ok = !soa.ForceCopy() || GuardedCopy::Check(function_name, chars, false); in ReleaseStringCharsInternal()
3110 chars = reinterpret_cast<const jchar*>(GuardedCopy::Destroy(const_cast<void*>(chars))); in ReleaseStringCharsInternal()
3211 ptr = GuardedCopy::CreateGuardedPACopy(env, array, is_copy, ptr); in GetPrimitiveArrayElements()
3230 elems = GuardedCopy::ReleaseGuardedPACopy(function_name, env, array, elems, mode); in ReleasePrimitiveArrayElements()