Home | History | Annotate | Download | only in vm

Lines Matching refs:GuardedCopy

1077 struct GuardedCopy {
1083 /* find the GuardedCopy given the pointer into the "live" data */
1084 static inline const GuardedCopy* fromData(const void* dataBuf) {
1085 return reinterpret_cast<const GuardedCopy*>(actualBuffer(dataBuf));
1115 GuardedCopy* pExtra = reinterpret_cast<GuardedCopy*>(newBuf);
1128 const GuardedCopy* pExtra = GuardedCopy::fromData(dataBuf);
1144 const GuardedCopy* pExtra = GuardedCopy::fromData(dataBuf);
1164 for (size_t i = sizeof(GuardedCopy) / 2; i < (kGuardLen / 2 - sizeof(GuardedCopy)) / 2; i++) {
1214 ALOGE("GuardedCopy::create mmap(%d) failed: %s", len, strerror(errno));
1279 void* result = GuardedCopy::create(arrObj->contents, len, true);
1294 if (!GuardedCopy::check(dataBuf, true)) {
1301 size_t len = GuardedCopy::fromData(dataBuf)->originalLen;
1307 result = (u1*) GuardedCopy::destroy(dataBuf);
1309 result = (u1*) (void*) GuardedCopy::fromData(dataBuf)->originalPtr;
1711 result = (const jchar*) GuardedCopy::create(result, byteCount, false);
1723 if (!GuardedCopy::check(chars, false)) {
1728 chars = (const jchar*) GuardedCopy::destroy((jchar*)chars);
1748 result = (const char*) GuardedCopy::create(result, strlen(result) + 1, false);
1759 if (!GuardedCopy::check(utf, false)) {
1764 utf = (const char*) GuardedCopy::destroy((char*)utf);
1954 result = (const jchar*) GuardedCopy::create(result, byteCount, false);
1966 if (!GuardedCopy::check(carray, false)) {
1971 carray = (const jchar*) GuardedCopy::destroy((jchar*)carray);