Home
last modified time | relevance | path

Searched refs:PassOwnPtr (Results 1 – 25 of 559) sorted by relevance

12345678910>>...23

/external/webkit/Source/JavaScriptCore/wtf/
DPassOwnPtr.h42 template<typename T> class PassOwnPtr; variable
43 template<typename T> PassOwnPtr<T> adoptPtr(T*);
45 template<typename T> class PassOwnPtr {
50 PassOwnPtr() : m_ptr(0) { } in PassOwnPtr() function
55 PassOwnPtr(const PassOwnPtr& o) : m_ptr(o.leakPtr()) { } in PassOwnPtr() function
56 template<typename U> PassOwnPtr(const PassOwnPtr<U>& o) : m_ptr(o.leakPtr()) { } in PassOwnPtr() function
58 ~PassOwnPtr() { deleteOwnedPtr(m_ptr); } in ~PassOwnPtr()
71 typedef PtrType PassOwnPtr::*UnspecifiedBoolType;
72 operator UnspecifiedBoolType() const { return m_ptr ? &PassOwnPtr::m_ptr : 0; } in UnspecifiedBoolType()
74 PassOwnPtr& operator=(const PassOwnPtr<T>&);
[all …]
DMessageQueue.h57 void append(PassOwnPtr<DataType>);
58 bool appendAndCheckEmpty(PassOwnPtr<DataType>);
59 void prepend(PassOwnPtr<DataType>);
61 PassOwnPtr<DataType> waitForMessage();
62 PassOwnPtr<DataType> tryGetMessage();
64PassOwnPtr<DataType> waitForMessageFilteredWithTimeout(MessageQueueWaitResult&, Predicate&, double…
93 inline void MessageQueue<DataType>::append(PassOwnPtr<DataType> message) in append()
102 inline bool MessageQueue<DataType>::appendAndCheckEmpty(PassOwnPtr<DataType> message) in appendAndCheckEmpty()
112 inline void MessageQueue<DataType>::prepend(PassOwnPtr<DataType> message) in prepend()
120 inline PassOwnPtr<DataType> MessageQueue<DataType>::waitForMessage() in waitForMessage()
[all …]
DOwnPtr.h38 template<typename T> class PassOwnPtr; variable
39 template<typename T> PassOwnPtr<T> adoptPtr(T*);
49 template<typename U> OwnPtr(const PassOwnPtr<U>& o);
62 PassOwnPtr<T> release();
74 OwnPtr& operator=(const PassOwnPtr<T>&);
76 template<typename U> OwnPtr& operator=(const PassOwnPtr<U>&);
89 template<typename T> template<typename U> inline OwnPtr<T>::OwnPtr(const PassOwnPtr<U>& o) in OwnPtr()
101 template<typename T> inline PassOwnPtr<T> OwnPtr<T>::release() in release()
125 template<typename T> inline OwnPtr<T>& OwnPtr<T>::operator=(const PassOwnPtr<T>& o)
134 …ate<typename T> template<typename U> inline OwnPtr<T>& OwnPtr<T>::operator=(const PassOwnPtr<U>& o)
/external/webkit/Source/WebKit/chromium/src/
DAsyncFileSystemChromium.h49 static PassOwnPtr<AsyncFileSystem> create(AsyncFileSystem::Type type, const String& rootPath) in create()
56 …virtual void move(const String& sourcePath, const String& destinationPath, PassOwnPtr<AsyncFileSys…
57 …virtual void copy(const String& sourcePath, const String& destinationPath, PassOwnPtr<AsyncFileSys…
58 virtual void remove(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>);
59 virtual void removeRecursively(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>);
60 virtual void readMetadata(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>);
61 … virtual void createFile(const String& path, bool exclusive, PassOwnPtr<AsyncFileSystemCallbacks>);
62 …virtual void createDirectory(const String& path, bool exclusive, PassOwnPtr<AsyncFileSystemCallbac…
63 virtual void fileExists(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>);
64 virtual void directoryExists(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>);
[all …]
DWorkerAsyncFileSystemChromium.h55 …static PassOwnPtr<AsyncFileSystem> create(ScriptExecutionContext* context, AsyncFileSystem::Type t… in create()
65 …virtual void move(const String& sourcePath, const String& destinationPath, PassOwnPtr<AsyncFileSys…
66 …virtual void copy(const String& sourcePath, const String& destinationPath, PassOwnPtr<AsyncFileSys…
67 virtual void remove(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>);
68 virtual void removeRecursively(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>);
69 virtual void readMetadata(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>);
70 … virtual void createFile(const String& path, bool exclusive, PassOwnPtr<AsyncFileSystemCallbacks>);
71 …virtual void createDirectory(const String& path, bool exclusive, PassOwnPtr<AsyncFileSystemCallbac…
72 virtual void fileExists(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>);
73 virtual void directoryExists(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>);
[all …]
DWorkerAsyncFileSystemChromium.cpp90 …hromium::move(const String& sourcePath, const String& destinationPath, PassOwnPtr<AsyncFileSystemC… in move()
95 …hromium::copy(const String& sourcePath, const String& destinationPath, PassOwnPtr<AsyncFileSystemC… in copy()
100 void WorkerAsyncFileSystemChromium::remove(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>… in remove()
105 void WorkerAsyncFileSystemChromium::removeRecursively(const String& path, PassOwnPtr<AsyncFileSyste… in removeRecursively()
110 void WorkerAsyncFileSystemChromium::readMetadata(const String& path, PassOwnPtr<AsyncFileSystemCall… in readMetadata()
115 void WorkerAsyncFileSystemChromium::createFile(const String& path, bool exclusive, PassOwnPtr<Async… in createFile()
120 void WorkerAsyncFileSystemChromium::createDirectory(const String& path, bool exclusive, PassOwnPtr<… in createDirectory()
125 void WorkerAsyncFileSystemChromium::fileExists(const String& path, PassOwnPtr<AsyncFileSystemCallba… in fileExists()
130 void WorkerAsyncFileSystemChromium::directoryExists(const String& path, PassOwnPtr<AsyncFileSystemC… in directoryExists()
135 void WorkerAsyncFileSystemChromium::readDirectory(const String& path, PassOwnPtr<AsyncFileSystemCal… in readDirectory()
[all …]
DAsyncFileSystemChromium.cpp64 …hromium::move(const String& sourcePath, const String& destinationPath, PassOwnPtr<AsyncFileSystemC… in move()
69 …hromium::copy(const String& sourcePath, const String& destinationPath, PassOwnPtr<AsyncFileSystemC… in copy()
74 void AsyncFileSystemChromium::remove(const String& path, PassOwnPtr<AsyncFileSystemCallbacks> callb… in remove()
79 void AsyncFileSystemChromium::removeRecursively(const String& path, PassOwnPtr<AsyncFileSystemCallb… in removeRecursively()
84 void AsyncFileSystemChromium::readMetadata(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>… in readMetadata()
89 void AsyncFileSystemChromium::createFile(const String& path, bool exclusive, PassOwnPtr<AsyncFileSy… in createFile()
94 void AsyncFileSystemChromium::createDirectory(const String& path, bool exclusive, PassOwnPtr<AsyncF… in createDirectory()
99 void AsyncFileSystemChromium::fileExists(const String& path, PassOwnPtr<AsyncFileSystemCallbacks> c… in fileExists()
104 void AsyncFileSystemChromium::directoryExists(const String& path, PassOwnPtr<AsyncFileSystemCallbac… in directoryExists()
109 void AsyncFileSystemChromium::readDirectory(const String& path, PassOwnPtr<AsyncFileSystemCallbacks… in readDirectory()
[all …]
DIDBTransactionBackendProxy.h41 static PassRefPtr<IDBTransactionBackendInterface> create(PassOwnPtr<WebIDBTransaction>);
47 …virtual bool scheduleTask(PassOwnPtr<WebCore::ScriptExecutionContext::Task>, PassOwnPtr<WebCore::S…
54 IDBTransactionBackendProxy(PassOwnPtr<WebIDBTransaction>);
DIDBTransactionBackendProxy.cpp42 PassRefPtr<IDBTransactionBackendInterface> IDBTransactionBackendProxy::create(PassOwnPtr<WebIDBTran… in create()
47 IDBTransactionBackendProxy::IDBTransactionBackendProxy(PassOwnPtr<WebIDBTransaction> transaction) in IDBTransactionBackendProxy()
75 bool IDBTransactionBackendProxy::scheduleTask(PassOwnPtr<ScriptExecutionContext::Task>, PassOwnPtr<… in scheduleTask()
/external/webkit/Source/WebCore/platform/
DAsyncFileSystem.h69 static PassOwnPtr<AsyncFileSystem> create(Type, const String& rootPath);
72 … String& basePath, const String& storageIdentifier, Type, bool create, PassOwnPtr<AsyncFileSystemC…
77 …virtual void move(const String& srcPath, const String& destPath, PassOwnPtr<AsyncFileSystemCallbac…
82 …virtual void copy(const String& srcPath, const String& destPath, PassOwnPtr<AsyncFileSystemCallbac…
88 virtual void remove(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>) = 0;
93 virtual void removeRecursively(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>) = 0;
98 virtual void readMetadata(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>) = 0;
103 …virtual void createFile(const String& path, bool exclusive, PassOwnPtr<AsyncFileSystemCallbacks>) …
108 …virtual void createDirectory(const String& path, bool exclusive, PassOwnPtr<AsyncFileSystemCallbac…
113 virtual void fileExists(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>) = 0;
[all …]
/external/webkit/Source/WebKit2/Platform/
DWorkQueue.h63 void scheduleWork(PassOwnPtr<WorkItem>);
66 void scheduleWorkAfterDelay(PassOwnPtr<WorkItem>, double delay);
81 void registerMachPortEventHandler(mach_port_t, MachPortEventType, PassOwnPtr<WorkItem>);
84 void registerHandle(HANDLE, PassOwnPtr<WorkItem>);
87 QSocketNotifier* registerSocketEventHandler(int, QSocketNotifier::Type, PassOwnPtr<WorkItem>);
88 void scheduleWorkOnTermination(WebKit::PlatformProcessIdentifier, PassOwnPtr<WorkItem>);
90 void registerEventSourceHandler(int, int, PassOwnPtr<WorkItem>);
92 void scheduleWorkOnTermination(WebKit::PlatformProcessIdentifier, PassOwnPtr<WorkItem>);
114 static PassRefPtr<WorkItemWin> create(PassOwnPtr<WorkItem>, WorkQueue*);
121 WorkItemWin(PassOwnPtr<WorkItem>, WorkQueue*);
[all …]
DWorkItem.h34 static PassOwnPtr<WorkItem> create(C*, void (C::*)());
37 static PassOwnPtr<WorkItem> create(C*, void (C::*)(T0), T0);
40 static PassOwnPtr<WorkItem> create(C*, void (C::*)(T0, T1), T0, T1);
42 static PassOwnPtr<WorkItem> create(void (*)());
146 PassOwnPtr<WorkItem> WorkItem::create(C* ptr, void (C::*function)()) in create()
152 PassOwnPtr<WorkItem> WorkItem::create(C* ptr, void (C::*function)(T0), T0 t0) in create()
158 PassOwnPtr<WorkItem> WorkItem::create(C* ptr, void (C::*function)(T0, T1), T0 t0, T1 t1) in create()
182 inline PassOwnPtr<WorkItem> WorkItem::create(void (*function)()) in create()
/external/webkit/Source/WebCore/fileapi/
DFileSystemCallbacks.h66 virtual void didOpenFileSystem(const String& name, PassOwnPtr<AsyncFileSystem>);
76 virtual void didCreateFileWriter(PassOwnPtr<AsyncFileWriter>, long long length);
90 …static PassOwnPtr<EntryCallbacks> create(PassRefPtr<EntryCallback>, PassRefPtr<ErrorCallback>, Pas…
103 …static PassOwnPtr<EntriesCallbacks> create(PassRefPtr<EntriesCallback>, PassRefPtr<ErrorCallback>,…
117 …static PassOwnPtr<FileSystemCallbacks> create(PassRefPtr<FileSystemCallback>, PassRefPtr<ErrorCall…
118 virtual void didOpenFileSystem(const String& name, PassOwnPtr<AsyncFileSystem>);
128 …static PassOwnPtr<ResolveURICallbacks> create(PassRefPtr<EntryCallback>, PassRefPtr<ErrorCallback>…
129 virtual void didOpenFileSystem(const String& name, PassOwnPtr<AsyncFileSystem>);
140 …static PassOwnPtr<MetadataCallbacks> create(PassRefPtr<MetadataCallback>, PassRefPtr<ErrorCallback…
150 …static PassOwnPtr<FileWriterBaseCallbacks> create(PassRefPtr<FileWriterBase>, PassRefPtr<FileWrite…
[all …]
DFileSystemCallbacks.cpp74 void FileSystemCallbacksBase::didOpenFileSystem(const String&, PassOwnPtr<AsyncFileSystem>) in didOpenFileSystem()
98 void FileSystemCallbacksBase::didCreateFileWriter(PassOwnPtr<AsyncFileWriter>, long long) in didCreateFileWriter()
114 PassOwnPtr<EntryCallbacks> EntryCallbacks::create(PassRefPtr<EntryCallback> successCallback, PassRe… in create()
141 PassOwnPtr<EntriesCallbacks> EntriesCallbacks::create(PassRefPtr<EntriesCallback> successCallback, … in create()
173 PassOwnPtr<FileSystemCallbacks> FileSystemCallbacks::create(PassRefPtr<FileSystemCallback> successC… in create()
185 void FileSystemCallbacks::didOpenFileSystem(const String& name, PassOwnPtr<AsyncFileSystem> asyncFi… in didOpenFileSystem()
234 PassOwnPtr<ResolveURICallbacks> ResolveURICallbacks::create(PassRefPtr<EntryCallback> successCallba… in create()
247 void ResolveURICallbacks::didOpenFileSystem(const String& name, PassOwnPtr<AsyncFileSystem> asyncFi… in didOpenFileSystem()
256 PassOwnPtr<MetadataCallbacks> MetadataCallbacks::create(PassRefPtr<MetadataCallback> successCallbac… in create()
276 PassOwnPtr<FileWriterBaseCallbacks> FileWriterBaseCallbacks::create(PassRefPtr<FileWriterBase> file… in create()
[all …]
DFileThreadTask.h48 static PassOwnPtr<FileThreadTaskImpl> create(T* instance, Method method) in create()
76 static PassOwnPtr<FileThreadTaskImpl> create(T* instance, Method method, Param1 parameter1) in create()
107 …static PassOwnPtr<FileThreadTaskImpl> create(T* instance, Method method, Param1 parameter1, Param2… in create()
141 …static PassOwnPtr<FileThreadTaskImpl> create(T* instance, Method method, Param1 parameter1, Param2… in create()
169 PassOwnPtr<FileThread::Task> createFileThreadTask(
174 PassOwnPtr<FileThread::Task> createFileThreadTask( in createFileThreadTask()
184 PassOwnPtr<FileThread::Task> createFileThreadTask( in createFileThreadTask()
196 PassOwnPtr<FileThread::Task> createFileThreadTask( in createFileThreadTask()
210 PassOwnPtr<FileThread::Task> createFileThreadTask( in createFileThreadTask()
/external/webkit/Source/WebCore/storage/
DLocalStorageTask.h48 …static PassOwnPtr<LocalStorageTask> createImport(StorageAreaSync* area) { return adoptPtr(new Loca… in createImport()
49 …static PassOwnPtr<LocalStorageTask> createSync(StorageAreaSync* area) { return adoptPtr(new LocalS… in createSync()
50 …static PassOwnPtr<LocalStorageTask> createDeleteEmptyDatabase(StorageAreaSync* area) { return adop… in createDeleteEmptyDatabase()
51 …static PassOwnPtr<LocalStorageTask> createOriginIdentifiersImport() { return adoptPtr(new LocalSto… in createOriginIdentifiersImport()
52 …static PassOwnPtr<LocalStorageTask> createSetOriginDetails(const String& originIdentifier, const S… in createSetOriginDetails()
53 …static PassOwnPtr<LocalStorageTask> createDeleteOrigin(const String& originIdentifier) { return ad… in createDeleteOrigin()
54 …static PassOwnPtr<LocalStorageTask> createDeleteAllOrigins() { return adoptPtr(new LocalStorageTas… in createDeleteAllOrigins()
55 …static PassOwnPtr<LocalStorageTask> createTerminate(LocalStorageThread* thread) { return adoptPtr(… in createTerminate()
/external/webkit/Source/WebCore/dom/
DMessagePortChannel.h64 static PassOwnPtr<MessagePortChannel> create(PassRefPtr<PlatformMessagePortChannel>);
85 …static PassOwnPtr<EventData> create(PassRefPtr<SerializedScriptValue>, PassOwnPtr<MessagePortChann…
88 PassOwnPtr<MessagePortChannelArray> channels() { return m_channels.release(); } in channels()
91 … EventData(PassRefPtr<SerializedScriptValue> message, PassOwnPtr<MessagePortChannelArray>);
97 void postMessageToRemote(PassOwnPtr<EventData>);
DMessagePort.h64 void entangle(PassOwnPtr<MessagePortChannel>);
65 PassOwnPtr<MessagePortChannel> disentangle(ExceptionCode&);
70 …static PassOwnPtr<MessagePortChannelArray> disentanglePorts(const MessagePortArray*, ExceptionCode…
74 …static PassOwnPtr<MessagePortArray> entanglePorts(ScriptExecutionContext&, PassOwnPtr<MessagePortC…
/external/webkit/Source/WebCore/workers/
DWorkerMessagingProxy.cpp50 …static PassOwnPtr<MessageWorkerContextTask> create(PassRefPtr<SerializedScriptValue> message, Pass… in create()
56 …MessageWorkerContextTask(PassRefPtr<SerializedScriptValue> message, PassOwnPtr<MessagePortChannelA… in MessageWorkerContextTask()
78 …static PassOwnPtr<MessageWorkerTask> create(PassRefPtr<SerializedScriptValue> message, PassOwnPtr<… in create()
84 …MessageWorkerTask(PassRefPtr<SerializedScriptValue> message, PassOwnPtr<MessagePortChannelArray> c… in MessageWorkerTask()
109 …static PassOwnPtr<WorkerExceptionTask> create(const String& errorMessage, int lineNumber, const St… in create()
145 static PassOwnPtr<WorkerContextDestroyedTask> create(WorkerMessagingProxy* messagingProxy) in create()
166 static PassOwnPtr<WorkerTerminateTask> create(WorkerMessagingProxy* messagingProxy) in create()
187 …static PassOwnPtr<WorkerThreadActivityReportTask> create(WorkerMessagingProxy* messagingProxy, boo… in create()
244 …::postMessageToWorkerObject(PassRefPtr<SerializedScriptValue> message, PassOwnPtr<MessagePortChann… in postMessageToWorkerObject()
249 …:postMessageToWorkerContext(PassRefPtr<SerializedScriptValue> message, PassOwnPtr<MessagePortChann… in postMessageToWorkerContext()
[all …]
DWorkerRunLoop.h61 void postTask(PassOwnPtr<ScriptExecutionContext::Task>);
62 void postTaskForMode(PassOwnPtr<ScriptExecutionContext::Task>, const String& mode);
71 … static PassOwnPtr<Task> create(PassOwnPtr<ScriptExecutionContext::Task> task, const String& mode);
77 Task(PassOwnPtr<ScriptExecutionContext::Task> task, const String& mode);
/external/webkit/Source/WebKit2/Platform/CoreIPC/
DConnection.h146PassOwnPtr<ArgumentEncoder> createSyncMessageArgumentEncoder(uint64_t destinationID, uint64_t& syn…
147 bool sendMessage(MessageID, PassOwnPtr<ArgumentEncoder>, unsigned messageSendFlags = 0);
148 bool sendSyncReply(PassOwnPtr<ArgumentEncoder>);
154 …template<typename E> PassOwnPtr<ArgumentDecoder> deprecatedWaitFor(E messageID, uint64_t destinati…
164 Message(MessageID messageID, PassOwnPtr<T> arguments) in Message()
175 PassOwnPtr<T> releaseArguments() in releaseArguments()
198 PassOwnPtr<ArgumentDecoder> waitForMessage(MessageID, uint64_t destinationID, double timeout);
200PassOwnPtr<ArgumentDecoder> sendSyncMessage(MessageID, uint64_t syncRequestID, PassOwnPtr<Argument…
201 PassOwnPtr<ArgumentDecoder> waitForSyncReply(uint64_t syncRequestID, double timeout);
204 void processIncomingMessage(MessageID, PassOwnPtr<ArgumentDecoder>);
[all …]
/external/webkit/Source/WebKit/chromium/public/
DWebBlobData.h40 namespace WTF { template <typename T> class PassOwnPtr; } variable
80 WebBlobData(const WTF::PassOwnPtr<WebCore::BlobData>&);
81 WebBlobData& operator=(const WTF::PassOwnPtr<WebCore::BlobData>&);
82 operator WTF::PassOwnPtr<WebCore::BlobData>();
87 void assign(const WTF::PassOwnPtr<WebCore::BlobData>&);
/external/webkit/Source/WebCore/bindings/generic/
DActiveDOMCallback.cpp41 static void destroyOnContextThread(PassOwnPtr<ActiveDOMObjectCallbackImpl>);
45 … static PassOwnPtr<DestroyOnContextThreadTask> create(PassOwnPtr<ActiveDOMObjectCallbackImpl> impl) in create()
56 DestroyOnContextThreadTask(PassOwnPtr<ActiveDOMObjectCallbackImpl> impl) in DestroyOnContextThreadTask()
112 static void destroyOnContextThread(PassOwnPtr<ActiveDOMObjectCallbackImpl> impl) in destroyOnContextThread()
/external/webkit/Source/WebKit/android/WebCoreSupport/
DWebUrlLoaderClient.h85 void didReceiveResponse(PassOwnPtr<WebResponse>);
87 void didReceiveDataUrl(PassOwnPtr<std::string>);
88 void didReceiveAndroidFileData(PassOwnPtr<std::vector<char> >);
90 void didFail(PassOwnPtr<WebResponse>);
91 void willSendRequest(PassOwnPtr<WebResponse>);
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/
DCCMainThreadTask.h41 static PassOwnPtr<MainThreadTaskImpl> create(T* instance, Method method) in create()
69 static PassOwnPtr<MainThreadTaskImpl> create(T* instance, Method method, Param1 parameter1) in create()
100 …static PassOwnPtr<MainThreadTaskImpl> create(T* instance, Method method, Param1 parameter1, Param2… in create()
134 …static PassOwnPtr<MainThreadTaskImpl> create(T* instance, Method method, Param1 parameter1, Param2… in create()
162 PassOwnPtr<CCMainThread::Task> createMainThreadTask(
167 PassOwnPtr<CCMainThread::Task> createMainThreadTask( in createMainThreadTask()
177 PassOwnPtr<CCMainThread::Task> createMainThreadTask( in createMainThreadTask()
189 PassOwnPtr<CCMainThread::Task> createMainThreadTask( in createMainThreadTask()
203 PassOwnPtr<CCMainThread::Task> createMainThreadTask( in createMainThreadTask()

12345678910>>...23