Searched refs:newPtr (Results 1 – 2 of 2) sorted by relevance
76 T* newPtr = nullptr; in mallocIfCountThrowOnFail() local78 newPtr = (T*)std::malloc(count * sizeof(T)); in mallocIfCountThrowOnFail()79 LOG_ALWAYS_FATAL_IF(!newPtr, "failed to malloc %zu bytes", count * sizeof(T)); in mallocIfCountThrowOnFail()81 return newPtr; in mallocIfCountThrowOnFail()84 T* newPtr = nullptr; in reallocIfCountThrowOnFail() local86 newPtr = (T*)std::realloc(fPtr.release(), count * sizeof(T)); in reallocIfCountThrowOnFail()87 LOG_ALWAYS_FATAL_IF(!newPtr, "failed to realloc %zu bytes", count * sizeof(T)); in reallocIfCountThrowOnFail()89 return newPtr; in reallocIfCountThrowOnFail()
707 final long newPtr; in transferFrom() local709 newPtr = other.mNativeObject; in transferFrom()717 setNativeObjectLocked(newPtr); in transferFrom()