Home
last modified time | relevance | path

Searched refs:aPort (Results 1 – 25 of 1011) sorted by relevance

12345678910>>...41

/dports/www/firefox/firefox-99.0/dom/midi/
H A DMIDIPlatformService.cpp57 void MIDIPlatformService::AddPort(MIDIPortParent* aPort) { in AddPort() argument
58 MOZ_ASSERT(aPort); in AddPort()
60 mPorts.AppendElement(aPort); in AddPort()
63 void MIDIPlatformService::RemovePort(MIDIPortParent* aPort) { in RemovePort() argument
67 MOZ_ASSERT(aPort); in RemovePort()
68 mPorts.RemoveElement(aPort); in RemovePort()
107 void MIDIPlatformService::Clear(MIDIPortParent* aPort) { in Clear() argument
109 MOZ_ASSERT(aPort); in Clear()
113 mMessageQueues.Get(aPort->MIDIPortInterface::Id()); in Clear()
175 ScheduleSend(aPort->MIDIPortInterface::Id()); in Close()
[all …]
H A DmidirMIDIPlatformService.cpp120 void midirMIDIPlatformService::Open(MIDIPortParent* aPort) { in Open() argument
121 MOZ_ASSERT(aPort); in Open()
122 nsString id = aPort->MIDIPortInterface::Id(); in Open()
130 aPort, aPort->DeviceState(), MIDIPortConnectionState::Open)); in Open()
162 void midirMIDIPlatformService::ScheduleClose(MIDIPortParent* aPort) { in ScheduleClose() argument
163 MOZ_ASSERT(aPort); in ScheduleClose()
164 nsString id = aPort->MIDIPortInterface::Id(); in ScheduleClose()
166 if (aPort->ConnectionState() == MIDIPortConnectionState::Open) { in ScheduleClose()
169 aPort, aPort->DeviceState(), MIDIPortConnectionState::Closed)); in ScheduleClose()
H A DMIDIPlatformService.h49 void AddPort(MIDIPortParent* aPort);
52 void RemovePort(MIDIPortParent* aPort);
58 virtual void Open(MIDIPortParent* aPort) = 0;
61 void Clear(MIDIPortParent* aPort);
86 void UpdateStatus(MIDIPortParent* aPort,
95 void Close(MIDIPortParent* aPort);
111 virtual void ScheduleClose(MIDIPortParent* aPort) = 0;
H A DMIDIAccess.cpp84 void MIDIAccess::FireConnectionEvent(MIDIPort* aPort) { in FireConnectionEvent() argument
85 MOZ_ASSERT(aPort); in FireConnectionEvent()
87 init.mPort = aPort; in FireConnectionEvent()
89 aPort->GetId(id); in FireConnectionEvent()
91 if (aPort->State() == MIDIPortDeviceState::Disconnected) { in FireConnectionEvent()
92 if (aPort->Type() == MIDIPortType::Input && in FireConnectionEvent()
95 } else if (aPort->Type() == MIDIPortType::Output && in FireConnectionEvent()
109 if (aPort->Type() == MIDIPortType::Input && in FireConnectionEvent()
116 mInputMap, id, *(static_cast<MIDIInput*>(aPort)), rv); in FireConnectionEvent()
121 } else if (aPort->Type() == MIDIPortType::Output && in FireConnectionEvent()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/dom/midi/
H A DMIDIPlatformService.cpp47 void MIDIPlatformService::AddPort(MIDIPortParent* aPort) { in AddPort() argument
48 MOZ_ASSERT(aPort); in AddPort()
50 mPorts.AppendElement(aPort); in AddPort()
53 void MIDIPlatformService::RemovePort(MIDIPortParent* aPort) { in RemovePort() argument
57 MOZ_ASSERT(aPort); in RemovePort()
58 mPorts.RemoveElement(aPort); in RemovePort()
96 void MIDIPlatformService::Clear(MIDIPortParent* aPort) { in Clear() argument
98 MOZ_ASSERT(aPort); in Clear()
102 mMessageQueues.Get(aPort->MIDIPortInterface::Id()); in Clear()
164 ScheduleSend(aPort->MIDIPortInterface::Id()); in Close()
[all …]
H A DMIDIAccess.cpp82 void MIDIAccess::FireConnectionEvent(MIDIPort* aPort) { in FireConnectionEvent() argument
83 MOZ_ASSERT(aPort); in FireConnectionEvent()
85 init.mPort = aPort; in FireConnectionEvent()
87 aPort->GetId(id); in FireConnectionEvent()
89 if (aPort->State() == MIDIPortDeviceState::Disconnected) { in FireConnectionEvent()
90 if (aPort->Type() == MIDIPortType::Input && in FireConnectionEvent()
93 } else if (aPort->Type() == MIDIPortType::Output && in FireConnectionEvent()
106 if (aPort->Type() == MIDIPortType::Input && in FireConnectionEvent()
112 mInputMap, id, *(static_cast<MIDIInput*>(aPort)), rv); in FireConnectionEvent()
116 } else if (aPort->Type() == MIDIPortType::Output && in FireConnectionEvent()
[all …]
H A DMIDIPlatformService.h45 void AddPort(MIDIPortParent* aPort);
48 void RemovePort(MIDIPortParent* aPort);
54 virtual void Open(MIDIPortParent* aPort) = 0;
57 void Clear(MIDIPortParent* aPort);
82 void UpdateStatus(MIDIPortParent* aPort,
94 void Close(MIDIPortParent* aPort);
110 virtual void ScheduleClose(MIDIPortParent* aPort) = 0;
H A DTestMIDIPlatformService.cpp120 void TestMIDIPlatformService::Open(MIDIPortParent* aPort) { in Open() argument
121 MOZ_ASSERT(aPort); in Open()
123 if (aPort->MIDIPortInterface::Id() == mAlwaysClosedTestOutputPort.id()) { in Open()
130 nsCOMPtr<nsIRunnable> r(new SetStatusRunnable(aPort->MIDIPortInterface::Id(), in Open()
131 aPort->DeviceState(), s)); in Open()
135 void TestMIDIPlatformService::ScheduleClose(MIDIPortParent* aPort) { in ScheduleClose() argument
136 MOZ_ASSERT(aPort); in ScheduleClose()
137 if (aPort->ConnectionState() == MIDIPortConnectionState::Open) { in ScheduleClose()
141 aPort->MIDIPortInterface::Id(), aPort->DeviceState(), in ScheduleClose()
/dports/lang/spidermonkey60/firefox-60.9.0/dom/midi/
H A DMIDIPlatformService.cpp47 void MIDIPlatformService::AddPort(MIDIPortParent* aPort) { in AddPort() argument
48 MOZ_ASSERT(aPort); in AddPort()
50 mPorts.AppendElement(aPort); in AddPort()
53 void MIDIPlatformService::RemovePort(MIDIPortParent* aPort) { in RemovePort() argument
57 MOZ_ASSERT(aPort); in RemovePort()
58 mPorts.RemoveElement(aPort); in RemovePort()
96 void MIDIPlatformService::Clear(MIDIPortParent* aPort) { in Clear() argument
98 MOZ_ASSERT(aPort); in Clear()
102 mMessageQueues.Get(aPort->MIDIPortInterface::Id()); in Clear()
164 ScheduleSend(aPort->MIDIPortInterface::Id()); in Close()
[all …]
H A DMIDIAccess.cpp83 void MIDIAccess::FireConnectionEvent(MIDIPort* aPort) { in FireConnectionEvent() argument
84 MOZ_ASSERT(aPort); in FireConnectionEvent()
86 init.mPort = aPort; in FireConnectionEvent()
88 aPort->GetId(id); in FireConnectionEvent()
90 if (aPort->State() == MIDIPortDeviceState::Disconnected) { in FireConnectionEvent()
91 if (aPort->Type() == MIDIPortType::Input && in FireConnectionEvent()
94 } else if (aPort->Type() == MIDIPortType::Output && in FireConnectionEvent()
107 if (aPort->Type() == MIDIPortType::Input && in FireConnectionEvent()
113 mInputMap, id, *(static_cast<MIDIInput*>(aPort)), rv); in FireConnectionEvent()
117 } else if (aPort->Type() == MIDIPortType::Output && in FireConnectionEvent()
[all …]
H A DMIDIPlatformService.h45 void AddPort(MIDIPortParent* aPort);
48 void RemovePort(MIDIPortParent* aPort);
54 virtual void Open(MIDIPortParent* aPort) = 0;
57 void Clear(MIDIPortParent* aPort);
82 void UpdateStatus(MIDIPortParent* aPort,
94 void Close(MIDIPortParent* aPort);
110 virtual void ScheduleClose(MIDIPortParent* aPort) = 0;
H A DTestMIDIPlatformService.cpp120 void TestMIDIPlatformService::Open(MIDIPortParent* aPort) { in Open() argument
121 MOZ_ASSERT(aPort); in Open()
123 if (aPort->MIDIPortInterface::Id() == mAlwaysClosedTestOutputPort.id()) { in Open()
130 nsCOMPtr<nsIRunnable> r(new SetStatusRunnable(aPort->MIDIPortInterface::Id(), in Open()
131 aPort->DeviceState(), s)); in Open()
135 void TestMIDIPlatformService::ScheduleClose(MIDIPortParent* aPort) { in ScheduleClose() argument
136 MOZ_ASSERT(aPort); in ScheduleClose()
137 if (aPort->ConnectionState() == MIDIPortConnectionState::Open) { in ScheduleClose()
141 aPort->MIDIPortInterface::Id(), aPort->DeviceState(), in ScheduleClose()
/dports/lang/spidermonkey78/firefox-78.9.0/dom/media/
H A DForwardedInputTrack.cpp52 void ForwardedInputTrack::AddInput(MediaInputPort* aPort) { in AddInput() argument
53 SetInput(aPort); in AddInput()
54 ProcessedMediaTrack::AddInput(aPort); in AddInput()
60 MOZ_ASSERT(aPort == mInputPort); in RemoveInput()
67 this, listener.get(), aPort->GetSource())); in RemoveInput()
71 ProcessedMediaTrack::RemoveInput(aPort); in RemoveInput()
74 void ForwardedInputTrack::SetInput(MediaInputPort* aPort) { in SetInput() argument
75 MOZ_ASSERT(aPort); in SetInput()
76 MOZ_ASSERT(aPort->GetSource()); in SetInput()
77 MOZ_ASSERT(aPort->GetSource()->GetData()); in SetInput()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/midi/
H A DMIDIPlatformService.cpp53 void MIDIPlatformService::AddPort(MIDIPortParent* aPort) { in AddPort() argument
54 MOZ_ASSERT(aPort); in AddPort()
56 mPorts.AppendElement(aPort); in AddPort()
59 void MIDIPlatformService::RemovePort(MIDIPortParent* aPort) { in RemovePort() argument
63 MOZ_ASSERT(aPort); in RemovePort()
64 mPorts.RemoveElement(aPort); in RemovePort()
102 void MIDIPlatformService::Clear(MIDIPortParent* aPort) { in Clear() argument
104 MOZ_ASSERT(aPort); in Clear()
108 mMessageQueues.Get(aPort->MIDIPortInterface::Id()); in Clear()
170 ScheduleSend(aPort->MIDIPortInterface::Id()); in Close()
[all …]
H A DMIDIAccess.cpp81 void MIDIAccess::FireConnectionEvent(MIDIPort* aPort) { in FireConnectionEvent() argument
82 MOZ_ASSERT(aPort); in FireConnectionEvent()
84 init.mPort = aPort; in FireConnectionEvent()
86 aPort->GetId(id); in FireConnectionEvent()
88 if (aPort->State() == MIDIPortDeviceState::Disconnected) { in FireConnectionEvent()
89 if (aPort->Type() == MIDIPortType::Input && in FireConnectionEvent()
92 } else if (aPort->Type() == MIDIPortType::Output && in FireConnectionEvent()
105 if (aPort->Type() == MIDIPortType::Input && in FireConnectionEvent()
111 mInputMap, id, *(static_cast<MIDIInput*>(aPort)), rv); in FireConnectionEvent()
115 } else if (aPort->Type() == MIDIPortType::Output && in FireConnectionEvent()
[all …]
H A DMIDIPlatformService.h50 void AddPort(MIDIPortParent* aPort);
53 void RemovePort(MIDIPortParent* aPort);
59 virtual void Open(MIDIPortParent* aPort) = 0;
62 void Clear(MIDIPortParent* aPort);
87 void UpdateStatus(MIDIPortParent* aPort,
99 void Close(MIDIPortParent* aPort);
115 virtual void ScheduleClose(MIDIPortParent* aPort) = 0;
/dports/mail/thunderbird/thunderbird-91.8.0/dom/midi/
H A DMIDIPlatformService.cpp53 void MIDIPlatformService::AddPort(MIDIPortParent* aPort) { in AddPort() argument
54 MOZ_ASSERT(aPort); in AddPort()
56 mPorts.AppendElement(aPort); in AddPort()
59 void MIDIPlatformService::RemovePort(MIDIPortParent* aPort) { in RemovePort() argument
63 MOZ_ASSERT(aPort); in RemovePort()
64 mPorts.RemoveElement(aPort); in RemovePort()
102 void MIDIPlatformService::Clear(MIDIPortParent* aPort) { in Clear() argument
104 MOZ_ASSERT(aPort); in Clear()
108 mMessageQueues.Get(aPort->MIDIPortInterface::Id()); in Clear()
170 ScheduleSend(aPort->MIDIPortInterface::Id()); in Close()
[all …]
H A DMIDIAccess.cpp81 void MIDIAccess::FireConnectionEvent(MIDIPort* aPort) { in FireConnectionEvent() argument
82 MOZ_ASSERT(aPort); in FireConnectionEvent()
84 init.mPort = aPort; in FireConnectionEvent()
86 aPort->GetId(id); in FireConnectionEvent()
88 if (aPort->State() == MIDIPortDeviceState::Disconnected) { in FireConnectionEvent()
89 if (aPort->Type() == MIDIPortType::Input && in FireConnectionEvent()
92 } else if (aPort->Type() == MIDIPortType::Output && in FireConnectionEvent()
105 if (aPort->Type() == MIDIPortType::Input && in FireConnectionEvent()
111 mInputMap, id, *(static_cast<MIDIInput*>(aPort)), rv); in FireConnectionEvent()
115 } else if (aPort->Type() == MIDIPortType::Output && in FireConnectionEvent()
[all …]
H A DMIDIPlatformService.h50 void AddPort(MIDIPortParent* aPort);
53 void RemovePort(MIDIPortParent* aPort);
59 virtual void Open(MIDIPortParent* aPort) = 0;
62 void Clear(MIDIPortParent* aPort);
87 void UpdateStatus(MIDIPortParent* aPort,
99 void Close(MIDIPortParent* aPort);
115 virtual void ScheduleClose(MIDIPortParent* aPort) = 0;
/dports/www/firefox-esr/firefox-91.8.0/security/manager/ssl/
H A DnsCertOverrideService.cpp114 nsCertOverride::GetPort(/*out*/ int32_t* aPort) { in GetPort() argument
115 *aPort = mPort; in GetPort()
446 const nsACString& aHostName, int32_t aPort, in RememberValidityOverride() argument
453 if (aPort < -1) { in RememberValidityOverride()
511 const nsACString& aHostName, int32_t aPort, in RememberValidityOverrideScriptable() argument
525 const nsACString& aHostName, int32_t aPort, in RememberTemporaryValidityOverrideUsingFingerprint() argument
583 if (aPort < -1) return NS_ERROR_INVALID_ARG; in HasMatchingOverride()
654 settings->mPort = aPort; in AddEntryToList()
857 if (aPort == -1) { in GetHostWithPort()
858 aPort = 443; in GetHostWithPort()
[all …]
/dports/www/firefox/firefox-99.0/security/manager/ssl/
H A DnsCertOverrideService.cpp114 nsCertOverride::GetPort(/*out*/ int32_t* aPort) { in GetPort() argument
115 *aPort = mPort; in GetPort()
451 const nsACString& aHostName, int32_t aPort, in RememberValidityOverride() argument
458 if (aPort < -1) { in RememberValidityOverride()
516 const nsACString& aHostName, int32_t aPort, in RememberValidityOverrideScriptable() argument
530 const nsACString& aHostName, int32_t aPort, in RememberTemporaryValidityOverrideUsingFingerprint() argument
588 if (aPort < -1) return NS_ERROR_INVALID_ARG; in HasMatchingOverride()
659 settings->mPort = aPort; in AddEntryToList()
829 if (aPort == -1) { in GetHostWithPort()
830 aPort = 443; in GetHostWithPort()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/security/manager/ssl/
H A DnsCertOverrideService.cpp114 nsCertOverride::GetPort(/*out*/ int32_t* aPort) { in GetPort() argument
115 *aPort = mPort; in GetPort()
446 const nsACString& aHostName, int32_t aPort, in RememberValidityOverride() argument
453 if (aPort < -1) { in RememberValidityOverride()
511 const nsACString& aHostName, int32_t aPort, in RememberValidityOverrideScriptable() argument
525 const nsACString& aHostName, int32_t aPort, in RememberTemporaryValidityOverrideUsingFingerprint() argument
583 if (aPort < -1) return NS_ERROR_INVALID_ARG; in HasMatchingOverride()
654 settings->mPort = aPort; in AddEntryToList()
857 if (aPort == -1) { in GetHostWithPort()
858 aPort = 443; in GetHostWithPort()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/media/
H A DForwardedInputTrack.cpp51 void ForwardedInputTrack::AddInput(MediaInputPort* aPort) { in AddInput() argument
52 SetInput(aPort); in AddInput()
53 ProcessedMediaTrack::AddInput(aPort); in AddInput()
59 MOZ_ASSERT(aPort == mInputPort); in RemoveInput()
66 this, listener.get(), aPort->GetSource())); in RemoveInput()
75 ProcessedMediaTrack::RemoveInput(aPort); in RemoveInput()
78 void ForwardedInputTrack::SetInput(MediaInputPort* aPort) { in SetInput() argument
79 MOZ_ASSERT(aPort); in SetInput()
80 MOZ_ASSERT(aPort->GetSource()); in SetInput()
81 MOZ_ASSERT(aPort->GetSource()->GetData()); in SetInput()
[all …]
/dports/www/firefox/firefox-99.0/dom/media/
H A DForwardedInputTrack.cpp51 void ForwardedInputTrack::AddInput(MediaInputPort* aPort) { in AddInput() argument
52 SetInput(aPort); in AddInput()
53 ProcessedMediaTrack::AddInput(aPort); in AddInput()
59 MOZ_ASSERT(aPort == mInputPort); in RemoveInput()
66 this, listener.get(), aPort->GetSource())); in RemoveInput()
75 ProcessedMediaTrack::RemoveInput(aPort); in RemoveInput()
78 void ForwardedInputTrack::SetInput(MediaInputPort* aPort) { in SetInput() argument
79 MOZ_ASSERT(aPort); in SetInput()
80 MOZ_ASSERT(aPort->GetSource()); in SetInput()
81 MOZ_ASSERT(aPort->GetSource()->GetData()); in SetInput()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/dom/media/
H A DForwardedInputTrack.cpp51 void ForwardedInputTrack::AddInput(MediaInputPort* aPort) { in AddInput() argument
52 SetInput(aPort); in AddInput()
53 ProcessedMediaTrack::AddInput(aPort); in AddInput()
59 MOZ_ASSERT(aPort == mInputPort); in RemoveInput()
66 this, listener.get(), aPort->GetSource())); in RemoveInput()
75 ProcessedMediaTrack::RemoveInput(aPort); in RemoveInput()
78 void ForwardedInputTrack::SetInput(MediaInputPort* aPort) { in SetInput() argument
79 MOZ_ASSERT(aPort); in SetInput()
80 MOZ_ASSERT(aPort->GetSource()); in SetInput()
81 MOZ_ASSERT(aPort->GetSource()->GetData()); in SetInput()
[all …]

12345678910>>...41