Searched refs:fileDescriptor (Results 1 – 8 of 8) sorted by relevance
/external/webkit/Source/WebKit2/Platform/unix/ |
D | SharedMemoryUnix.cpp | 98 void SharedMemory::Handle::adoptFromAttachment(int fileDescriptor, size_t size) in adoptFromAttachment() argument 103 m_fileDescriptor = fileDescriptor; in adoptFromAttachment() 118 int fileDescriptor; in create() local 119 while ((fileDescriptor = mkstemp(tempNameC)) == -1) { in create() 123 while (fcntl(fileDescriptor, F_SETFD, FD_CLOEXEC) == -1) { in create() 125 while (close(fileDescriptor) == -1 && errno == EINTR) { } in create() 131 while (ftruncate(fileDescriptor, size) == -1) { in create() 133 while (close(fileDescriptor) == -1 && errno == EINTR) { } in create() 139 void* data = mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileDescriptor, 0); in create() 141 while (close(fileDescriptor) == -1 && errno == EINTR) { } in create() [all …]
|
/external/webkit/Source/WebKit2/Platform/gtk/ |
D | WorkQueueGtk.cpp | 141 void WorkQueue::registerEventSourceHandler(int fileDescriptor, int condition, PassOwnPtr<WorkItem> … in registerEventSourceHandler() argument 143 GRefPtr<GSocket> socket = adoptGRef(g_socket_new_from_fd(fileDescriptor, 0)); in registerEventSourceHandler() 158 EventSourceIterator it = m_eventSources.find(fileDescriptor); in registerEventSourceHandler() 163 m_eventSources.set(fileDescriptor, sources); in registerEventSourceHandler() 169 void WorkQueue::unregisterEventSourceHandler(int fileDescriptor) in unregisterEventSourceHandler() argument 171 ASSERT(fileDescriptor); in unregisterEventSourceHandler() 175 EventSourceIterator it = m_eventSources.find(fileDescriptor); in unregisterEventSourceHandler() 177 ASSERT(m_eventSources.contains(fileDescriptor)); in unregisterEventSourceHandler()
|
/external/webkit/Source/WebKit2/Platform/CoreIPC/unix/ |
D | AttachmentUnix.cpp | 35 Attachment::Attachment(int fileDescriptor, size_t size) in Attachment() argument 37 , m_fileDescriptor(fileDescriptor) in Attachment()
|
D | ConnectionUnix.cpp | 368 fdptr[i] = attachments[i].fileDescriptor(); in sendOutgoingMessage()
|
/external/webkit/Source/WebKit2/Platform/CoreIPC/ |
D | Attachment.h | 52 Attachment(int fileDescriptor, size_t); 73 int fileDescriptor() const { return m_fileDescriptor; } in fileDescriptor() function
|
/external/webkit/Source/WebCore/platform/win/ |
D | ClipboardWin.cpp | 297 static HRESULT writeFileToDataObject(IDataObject* dataObject, HGLOBAL fileDescriptor, HGLOBAL fileC… in writeFileToDataObject() argument 304 if (!fileDescriptor || !fileContent) in writeFileToDataObject() 310 medium.hGlobal = fileDescriptor; in writeFileToDataObject() 331 if (fileDescriptor) in writeFileToDataObject() 332 GlobalFree(fileDescriptor); in writeFileToDataObject()
|
/external/webkit/Source/WebKit2/Platform/ |
D | SharedMemory.h | 65 void adoptFromAttachment(int fileDescriptor, size_t);
|
/external/webkit/Source/WebKit2/ |
D | ChangeLog-2011-02-16 | 5912 (CoreIPC::Attachment::fileDescriptor):
|