Home
last modified time | relevance | path

Searched refs:adoptArrayPtr (Results 1 – 25 of 53) sorted by relevance

123

/external/webkit/Source/JavaScriptCore/wtf/
DPassOwnArrayPtr.h37 template<typename T> PassOwnArrayPtr<T> adoptArrayPtr(T*);
82 template<typename U> friend PassOwnArrayPtr<U> adoptArrayPtr(U*);
193 template<typename T> inline PassOwnArrayPtr<T> adoptArrayPtr(T* ptr) in adoptArrayPtr() function
207 return adoptArrayPtr(static_cast<T*>(p.leakPtr())); in static_pointer_cast()
212 return adoptArrayPtr(const_cast<T*>(p.leakPtr())); in const_pointer_cast()
223 using WTF::adoptArrayPtr;
DDateMath.h97 using WTF::adoptArrayPtr;
161 timeZone = adoptArrayPtr(new char[inZoneSize]); in GregorianDateTime()
207 timeZone = adoptArrayPtr(new char[inZoneSize]); in copyFrom()
DOwnArrayPtr.h33 template<typename T> PassOwnArrayPtr<T> adoptArrayPtr(T*);
104 return adoptArrayPtr(ptr); in release()
/external/webkit/Source/WebCore/platform/graphics/
DANGLEWebKitBridge.cpp96 OwnArrayPtr<char> logBuffer = adoptArrayPtr(new char[logSize]); in validateShaderSource()
108 OwnArrayPtr<char> translationBuffer = adoptArrayPtr(new char[translationLength]); in validateShaderSource()
/external/webkit/Source/WebKit2/Platform/CoreIPC/unix/
DConnectionUnix.cpp169 …OwnArrayPtr<char> attachmentDescriptorBuffer = adoptArrayPtr(new char[CMSG_SPACE(sizeof(int) * (at… in readyReadHandler()
206 … OwnArrayPtr<size_t> attachmentSizes = adoptArrayPtr(new size_t[messageInfo.attachmentCount()]); in readyReadHandler()
211 … OwnArrayPtr<int> fileDescriptors = adoptArrayPtr(new int[messageInfo.attachmentCount()]); in readyReadHandler()
353 …OwnArrayPtr<char> attachmentFDBuffer = adoptArrayPtr(new char[CMSG_SPACE(sizeof(int) * attachments… in sendOutgoingMessage()
354 OwnArrayPtr<size_t> attachmentSizes = adoptArrayPtr(new size_t[attachments.size()]); in sendOutgoingMessage()
/external/webkit/Source/WebCore/bindings/v8/
DScriptFunctionCall.cpp129 …OwnArrayPtr<v8::Handle<v8::Value> > args = adoptArrayPtr(new v8::Handle<v8::Value>[m_arguments.siz… in call()
162 …OwnArrayPtr<v8::Handle<v8::Value> > args = adoptArrayPtr(new v8::Handle<v8::Value>[m_arguments.siz… in construct()
196 …OwnArrayPtr<v8::Handle<v8::Value> > args = adoptArrayPtr(new v8::Handle<v8::Value>[m_arguments.siz… in call()
DV8NodeFilterCondition.cpp83 OwnArrayPtr<v8::Handle<v8::Value> > args = adoptArrayPtr(new v8::Handle<v8::Value>[1]); in acceptNode()
/external/webkit/Source/WebCore/platform/
DLength.cpp104 OwnArrayPtr<Length> r = adoptArrayPtr(new Length[len]); in newCoordsArray()
130 OwnArrayPtr<Length> r = adoptArrayPtr(new Length[len]); in newLengthArray()
/external/webkit/Tools/WebKitTestRunner/
DTestInvocation.cpp75 buffer = adoptArrayPtr(new char[prefixLength + length + 1]); in createWKURL()
79 … buffer = adoptArrayPtr(new char[prefixLength + PATH_MAX + length + 2]); // 1 for the separator in createWKURL()
DStringFunctions.h70 OwnArrayPtr<char> buffer = adoptArrayPtr(new char[bufferSize]); in toSTD()
/external/webkit/Source/JavaScriptCore/API/
DJSStringRefCF.cpp45 OwnArrayPtr<UniChar> buffer = adoptArrayPtr(new UniChar[length]); in JSStringCreateWithCFString()
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
DHarfbuzzSkia.cpp84 OwnArrayPtr<uint16_t> glyphs16 = adoptArrayPtr(new uint16_t[numGlyphs]); in glyphsToAdvances()
110 OwnArrayPtr<uint16_t> glyphs16 = adoptArrayPtr(new uint16_t[length]); in canRender()
/external/webkit/Source/JavaScriptCore/runtime/
DStructureChain.cpp44 m_vector = adoptArrayPtr(new WriteBarrier<Structure>[size + 1]); in StructureChain()
DJSPropertyNameIterator.cpp44 , m_jsStrings(adoptArrayPtr(new WriteBarrier<Unknown>[m_jsStringsSize])) in JSPropertyNameIterator()
DJSVariableObject.h142 …OwnArrayPtr<WriteBarrier<Unknown> > registerArray = adoptArrayPtr(new WriteBarrier<Unknown>[count]… in copyRegisterArray()
DArguments.cpp307 d->deletedArguments = adoptArrayPtr(new bool[d->numArguments]); in deleteProperty()
325 d->deletedArguments = adoptArrayPtr(new bool[d->numArguments]); in deleteProperty()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DHarfbuzzSkia.cpp97 OwnArrayPtr<uint16_t> glyphs16 = adoptArrayPtr(new uint16_t[numGlyphs]); in glyphsToAdvances()
123 OwnArrayPtr<uint16_t> glyphs16 = adoptArrayPtr(new uint16_t[length]); in canRender()
DPlatformImage.cpp66 m_pixelData = adoptArrayPtr(new uint8_t[bufferSize]); in updateFromImage()
DPlatformCanvas.cpp58 m_pixelData = adoptArrayPtr(new uint8_t[bufferSize]); in resize()
/external/webkit/Tools/TestWebKitAPI/
DPlatformUtilities.cpp56 OwnArrayPtr<char> buffer = adoptArrayPtr(new char[bufferSize]); in toSTD()
/external/webkit/Source/WebCore/platform/win/
DLoggingWin.cpp40 OwnArrayPtr<char> buffer = adoptArrayPtr(new char[length]); in initializeWithUserDefault()
DContextMenuWin.cpp75 OwnArrayPtr<WCHAR> menuString = adoptArrayPtr(new WCHAR[menuStringLength]); in getContextMenuItems()
/external/webkit/Source/WebCore/bridge/jni/v8/
DJavaInstanceJobjectV8.cpp87 OwnArrayPtr<jvalue> jvalueArgs = adoptArrayPtr(new jvalue[numParams]); in invokeMethod()
/external/webkit/Source/WebKit2/Shared/Plugins/Netscape/win/
DNetscapePluginModuleWin.cpp63 OwnArrayPtr<char> versionInfoData = adoptArrayPtr(new char[versionInfoSize]); in getPluginInfo()
/external/webkit/Source/WebCore/platform/graphics/ca/win/
DCACFLayerTreeHost.cpp257 OwnArrayPtr<unsigned char> regionDataBuffer = adoptArrayPtr(new unsigned char[dataSize]); in getDirtyRects()

123