Home
last modified time | relevance | path

Searched refs:SharedMessagePortMessage (Results 1 – 16 of 16) sorted by relevance

/dports/lang/spidermonkey60/firefox-60.9.0/dom/messagechannel/
H A DSharedMessagePortMessage.cpp22 /* static */ void SharedMessagePortMessage::FromSharedToMessagesChild( in FromSharedToMessagesChild()
24 const nsTArray<RefPtr<SharedMessagePortMessage>>& aData, in FromSharedToMessagesChild()
39 /* static */ bool SharedMessagePortMessage::FromMessagesToSharedChild( in FromMessagesToSharedChild()
41 FallibleTArray<RefPtr<SharedMessagePortMessage>>& aData) { in FromMessagesToSharedChild()
49 RefPtr<SharedMessagePortMessage> data = new SharedMessagePortMessage(); in FromMessagesToSharedChild()
60 /* static */ bool SharedMessagePortMessage::FromSharedToMessagesParent( in FromSharedToMessagesParent()
62 const nsTArray<RefPtr<SharedMessagePortMessage>>& aData, in FromSharedToMessagesParent()
82 /* static */ bool SharedMessagePortMessage::FromMessagesToSharedParent( in FromMessagesToSharedParent()
84 FallibleTArray<RefPtr<SharedMessagePortMessage>>& aData) { in FromMessagesToSharedParent()
92 RefPtr<SharedMessagePortMessage> data = new SharedMessagePortMessage(); in FromMessagesToSharedParent()
H A DSharedMessagePortMessage.h19 class SharedMessagePortMessage final : public ipc::StructuredCloneData {
21 NS_INLINE_DECL_REFCOUNTING(SharedMessagePortMessage) in NS_INLINE_DECL_REFCOUNTING() argument
23 SharedMessagePortMessage() : ipc::StructuredCloneData() {} in NS_INLINE_DECL_REFCOUNTING()
31 const nsTArray<RefPtr<SharedMessagePortMessage>>& aData,
36 FallibleTArray<RefPtr<SharedMessagePortMessage>>& aData);
44 const nsTArray<RefPtr<SharedMessagePortMessage>>& aData,
49 FallibleTArray<RefPtr<SharedMessagePortMessage>>& aData);
52 ~SharedMessagePortMessage() {} in ~SharedMessagePortMessage()
H A DMessagePort.cpp52 PostMessageRunnable(MessagePort* aPort, SharedMessagePortMessage* aData) in PostMessageRunnable()
163 RefPtr<SharedMessagePortMessage> mData;
357 RefPtr<SharedMessagePortMessage> data = new SharedMessagePortMessage(); in PostMessage()
414 AutoTArray<RefPtr<SharedMessagePortMessage>, 1> array; in PostMessage()
421 SharedMessagePortMessage::FromSharedToMessagesChild(mActor, array, messages); in PostMessage()
484 RefPtr<SharedMessagePortMessage> data = mMessages.ElementAt(0); in Dispatch()
594 SharedMessagePortMessage::FromSharedToMessagesChild( in Entangled()
604 FallibleTArray<RefPtr<SharedMessagePortMessage>> data; in Entangled()
605 if (NS_WARN_IF(!SharedMessagePortMessage::FromMessagesToSharedChild(aMessages, in Entangled()
653 FallibleTArray<RefPtr<SharedMessagePortMessage>> data; in MessagesReceived()
[all …]
H A DMessagePortService.cpp60 FallibleTArray<RefPtr<SharedMessagePortMessage>> mMessages;
135 FallibleTArray<RefPtr<SharedMessagePortMessage>> messages( in RequestEntangling()
138 if (!SharedMessagePortMessage::FromSharedToMessagesParent(aParent, messages, in RequestEntangling()
176 FallibleTArray<RefPtr<SharedMessagePortMessage>>& aMessages) { in DisentanglePort()
222 if (!SharedMessagePortMessage::FromSharedToMessagesParent(data->mParent, in DisentanglePort()
315 FallibleTArray<RefPtr<SharedMessagePortMessage>>& aMessages) { in PostMessages()
338 if (!SharedMessagePortMessage::FromSharedToMessagesParent( in PostMessages()
H A DMessagePortService.h18 class SharedMessagePortMessage; variable
33 FallibleTArray<RefPtr<SharedMessagePortMessage>>& aMessages);
39 FallibleTArray<RefPtr<SharedMessagePortMessage>>& aMessages);
H A DMessagePortParent.cpp43 FallibleTArray<RefPtr<SharedMessagePortMessage>> messages; in RecvPostMessages()
44 if (NS_WARN_IF(!SharedMessagePortMessage::FromMessagesToSharedParent( in RecvPostMessages()
71 FallibleTArray<RefPtr<SharedMessagePortMessage>> messages; in RecvDisentangle()
72 if (NS_WARN_IF(!SharedMessagePortMessage::FromMessagesToSharedParent( in RecvDisentangle()
H A DMessagePort.h28 class SharedMessagePortMessage; variable
164 nsTArray<RefPtr<SharedMessagePortMessage>> mMessages;
165 nsTArray<RefPtr<SharedMessagePortMessage>> mMessagesForTheOtherPort;
H A Dmoz.build25 'SharedMessagePortMessage.cpp',
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/messagechannel/
H A DSharedMessagePortMessage.h18 class SharedMessagePortMessage final : public StructuredCloneHolder
21 NS_INLINE_DECL_REFCOUNTING(SharedMessagePortMessage) in NS_INLINE_DECL_REFCOUNTING() argument
23 SharedMessagePortMessage() in NS_INLINE_DECL_REFCOUNTING()
31 const nsTArray<RefPtr<SharedMessagePortMessage>>& aData,
37 FallibleTArray<RefPtr<SharedMessagePortMessage>>& aData);
42 const nsTArray<RefPtr<SharedMessagePortMessage>>& aData,
48 FallibleTArray<RefPtr<SharedMessagePortMessage>>& aData);
51 ~SharedMessagePortMessage() {} in ~SharedMessagePortMessage()
H A DSharedMessagePortMessage.cpp24 SharedMessagePortMessage::FromSharedToMessagesChild( in FromSharedToMessagesChild()
26 const nsTArray<RefPtr<SharedMessagePortMessage>>& aData, in FromSharedToMessagesChild()
58 SharedMessagePortMessage::FromMessagesToSharedChild( in FromMessagesToSharedChild()
60 FallibleTArray<RefPtr<SharedMessagePortMessage>>& aData) in FromMessagesToSharedChild()
69 RefPtr<SharedMessagePortMessage> data = new SharedMessagePortMessage(); in FromMessagesToSharedChild()
98 SharedMessagePortMessage::FromSharedToMessagesParent( in FromSharedToMessagesParent()
100 const nsTArray<RefPtr<SharedMessagePortMessage>>& aData, in FromSharedToMessagesParent()
136 SharedMessagePortMessage::FromMessagesToSharedParent( in FromMessagesToSharedParent()
138 FallibleTArray<RefPtr<SharedMessagePortMessage>>& aData) in FromMessagesToSharedParent()
147 RefPtr<SharedMessagePortMessage> data = new SharedMessagePortMessage(); in FromMessagesToSharedParent()
H A DMessagePortParent.cpp47 FallibleTArray<RefPtr<SharedMessagePortMessage>> messages; in RecvPostMessages()
49 !SharedMessagePortMessage::FromMessagesToSharedParent(aMessages, in RecvPostMessages()
74 FallibleTArray<RefPtr<SharedMessagePortMessage>> messages; in RecvDisentangle()
76 !SharedMessagePortMessage::FromMessagesToSharedParent(aMessages, in RecvDisentangle()
H A DMessagePort.cpp55 PostMessageRunnable(MessagePort* aPort, SharedMessagePortMessage* aData) in PostMessageRunnable()
173 RefPtr<SharedMessagePortMessage> mData;
446 RefPtr<SharedMessagePortMessage> data = new SharedMessagePortMessage(); in PostMessage()
504 AutoTArray<RefPtr<SharedMessagePortMessage>, 1> array; in PostMessage()
508 SharedMessagePortMessage::FromSharedToMessagesChild(mActor, array, messages); in PostMessage()
575 RefPtr<SharedMessagePortMessage> data = mMessages.ElementAt(0); in Dispatch()
693 SharedMessagePortMessage::FromSharedToMessagesChild(mActor, in Entangled()
701 FallibleTArray<RefPtr<SharedMessagePortMessage>> data; in Entangled()
702 if (NS_WARN_IF(!SharedMessagePortMessage::FromMessagesToSharedChild(aMessages, in Entangled()
755 FallibleTArray<RefPtr<SharedMessagePortMessage>> data; in MessagesReceived()
[all …]
H A DMessagePortService.h16 class SharedMessagePortMessage; variable
32 FallibleTArray<RefPtr<SharedMessagePortMessage>>& aMessages);
38 FallibleTArray<RefPtr<SharedMessagePortMessage>>& aMessages);
H A DMessagePortService.cpp67 FallibleTArray<RefPtr<SharedMessagePortMessage>> mMessages;
143 if (!SharedMessagePortMessage::FromSharedToMessagesParent(aParent, in RequestEntangling()
185 FallibleTArray<RefPtr<SharedMessagePortMessage>>& aMessages) in DisentanglePort()
230 if (!SharedMessagePortMessage::FromSharedToMessagesParent(data->mParent, in DisentanglePort()
330 FallibleTArray<RefPtr<SharedMessagePortMessage>>& aMessages) in PostMessages()
352 if (!SharedMessagePortMessage::FromSharedToMessagesParent(data->mParent, in PostMessages()
H A DMessagePort.h29 class SharedMessagePortMessage; variable
175 nsTArray<RefPtr<SharedMessagePortMessage>> mMessages;
176 nsTArray<RefPtr<SharedMessagePortMessage>> mMessagesForTheOtherPort;
H A Dmoz.build22 'SharedMessagePortMessage.cpp',