1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248
|
# Copyright (C) 2022 Apple Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR
# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
webkit_platform_headers: "StreamConnectionEncoder.h"
[WebKitPlatform, AdditionalEncoder=StreamConnectionEncoder] class WTF::URL {
String string()
}
header: <wtf/text/CString.h>
[CustomHeader, WebKitPlatform, AdditionalEncoder=StreamConnectionEncoder] class WTF::CString {
std::span<const char> span()
}
[AdditionalEncoder=StreamConnectionEncoder] class WTF::MediaTime {
int64_t timeValue()
uint32_t timeScale()
uint8_t timeFlags()
}
[AdditionalEncoder=StreamConnectionEncoder] class WTF::Seconds {
double value()
}
[CreateUsing=fromRawSeconds] class WTF::MonotonicTime {
double secondsSinceEpoch().seconds()
}
[CreateUsing=fromRawSeconds] class WTF::WallTime {
double secondsSinceEpoch().seconds()
}
header: <wtf/text/AtomString.h>
[CustomHeader, AdditionalEncoder=StreamConnectionEncoder] class WTF::AtomString {
String string()
}
[WebKitPlatform] class WTF::UUID {
uint64_t high();
[Validator='WTF::UUID::isValid(*high, *low)'] uint64_t low();
}
header: <wtf/ObjectIdentifier.h>
template: class WebKit::WebURLSchemeHandler
template: enum class WebCore::AXIDType
template: enum class WebCore::BackgroundFetchRecordIdentifierType
template: enum class WebCore::ElementIdentifierType
template: enum class WebCore::FetchIdentifierType
template: enum class WebCore::ImageDecoderIdentifierType
template: enum class WebCore::ImageOverlayDataDetectionResultIdentifierType
template: enum class WebCore::InbandGenericCueIdentifierType
template: enum class WebCore::LayerHostingContextIdentifierType
template: enum class WebCore::MediaSessionGroupIdentifierType
template: enum class WebCore::MediaUniqueIdentifierType
template: enum class WebCore::ProcessIdentifierType
template: enum class WebCore::PushSubscriptionIdentifierType
template: enum class WebCore::RealtimeMediaSourceIdentifierType
template: enum class WebCore::SWServerToContextConnectionIdentifierType
template: enum class WebCore::SharedWorkerIdentifierType
template: enum class WebCore::SpeechRecognitionConnectionClientIdentifierType
template: enum class WebCore::TextCheckingRequestIdentifierType
template: enum class WebCore::TextManipulationItemIdentifierType
template: enum class WebCore::TextManipulationTokenIdentifierType
template: enum class WebCore::WindowIdentifierType
template: enum class WebCore::WorkletGlobalScopeIdentifierType
template: enum class WebKit::AudioMediaStreamTrackRendererInternalUnitIdentifierType
template: enum class WebKit::ContentWorldIdentifierType
template: enum class WebKit::DownloadIdentifierType
template: enum class WebKit::ImageAnalysisRequestIdentifierType
template: enum class WebKit::MediaDevicePermissionRequestIdentifierType
template: enum class WebKit::RemoteAudioHardwareListenerIdentifierType
template: enum class WebKit::RemoteAudioSessionIdentifierType
template: enum class WebKit::RemoteCDMIdentifierType
template: enum class WebKit::RemoteCDMInstanceIdentifierType
template: enum class WebKit::RemoteCDMInstanceSessionIdentifierType
template: enum class WebKit::RemoteLegacyCDMIdentifierType
template: enum class WebKit::RemoteLegacyCDMSessionIdentifierType
template: enum class WebKit::RemoteMediaRecorderPrivateWriterIdentifierType
template: enum class WebKit::RemoteMediaResourceIdentifierType
template: enum class WebKit::RemoteMediaSourceIdentifierType
template: enum class WebKit::RemoteRemoteCommandListenerIdentifierType
template: enum class WebKit::RemoteSourceBufferIdentifierType
template: enum class WebKit::RetrieveRecordResponseBodyCallbackIdentifierType
template: enum class WebKit::SampleBufferDisplayLayerIdentifierType
template: enum class WebKit::ScriptMessageHandlerIdentifierType
template: enum class WebKit::ShapeDetectionIdentifierType
template: enum class WebKit::StorageAreaImplIdentifierType
template: enum class WebKit::StorageAreaMapIdentifierType
template: enum class WebKit::StorageNamespaceIdentifierType
template: enum class WebKit::UserScriptIdentifierType
template: enum class WebKit::UserStyleSheetIdentifierType
template: enum class WebKit::VisitedLinkTableIdentifierType
template: enum class WebKit::WCLayerTreeHostIdentifierType
template: enum class WebKit::WebExtensionControllerIdentifierType
template: enum class WebKit::XRDeviceIdentifierType
template: struct WebCore::AttributedStringTextListIDType
#if PLATFORM(COCOA)
template: struct WebCore::AttributedStringTextTableBlockIDType
template: struct WebCore::AttributedStringTextTableIDType
#endif
template: struct WebCore::BackForwardFrameItemIdentifierType
template: struct WebCore::BackForwardItemIdentifierType
template: struct WebCore::DictationContextType
template: struct WebCore::FrameIdentifierType
template: struct WebCore::MediaKeySystemRequestIdentifierType
template: struct WebCore::MediaPlayerIdentifierType
template: struct WebCore::MediaPlayerClientIdentifierType
template: struct WebCore::MediaSessionIdentifierType
template: struct WebCore::ModelPlayerIdentifierType
template: struct WebCore::NavigationIdentifierType
template: struct WebCore::PageIdentifierType
template: struct WebCore::PlatformLayerIdentifierType
template: struct WebCore::PlaybackTargetClientContextIdentifierType
template: struct WebCore::ScrollingNodeIDType
template: struct WebCore::SharedWorkerObjectIdentifierType
template: struct WebCore::SleepDisablerIdentifierType
template: struct WebCore::UserGestureTokenIdentifierType
template: struct WebCore::UserMediaRequestIdentifierType
template: struct WebCore::WebTransportStreamIdentifierType
template: struct WebKit::AuthenticationChallengeIdentifierType
template: struct WebKit::DataTaskIdentifierType
template: struct WebKit::DisplayLinkObserverIDType
template: struct WebKit::DrawingAreaIdentifierType
template: struct WebKit::GeolocationIdentifierType
template: struct WebKit::IPCConnectionTesterIdentifierType
template: struct WebKit::IPCStreamTesterIdentifierType
template: struct WebKit::MarkSurfacesAsVolatileRequestIdentifierType
template: struct WebKit::MessageBatchIdentifierType
template: struct WebKit::NetworkResourceLoadIdentifierType
template: struct WebKit::PDFPluginIdentifierType
template: struct WebKit::PageGroupIdentifierType
template: struct WebKit::RemoteAudioDestinationIdentifierType
template: struct WebKit::RemoteImageBufferSetIdentifierType
template: struct WebKit::TapIdentifierType
template: struct WebKit::TextCheckerRequestType
template: struct WebKit::TransactionIDType
template: struct WebKit::UserContentControllerIdentifierType
template: struct WebKit::WebExtensionContextIdentifierType
template: struct WebKit::WebExtensionFrameIdentifierType
template: struct WebKit::WebExtensionPortChannelIdentifierType
template: struct WebKit::WebExtensionTabIdentifierType
template: struct WebKit::WebExtensionWindowIdentifierType
template: struct WebKit::WebPageProxyIdentifierType
template: struct WebKit::WebTransportSessionIdentifierType
[WebKitPlatform, AdditionalEncoder=StreamConnectionEncoder] class WTF::ObjectIdentifier {
[Validator='WTF::ObjectIdentifierGenericBase<uint64_t>::isValidIdentifier(*toUInt64)'] uint64_t toUInt64()
}
header: <wtf/ObjectIdentifier.h>
template: class WebCore::ResourceLoader
template: class WebCore::WebSocketChannel
template: enum class IPC::SyncRequestIDType
template: enum class JSC::MicrotaskIdentifierType
template: enum class TestWebKitAPI::TestedObjectIdentifierType
template: enum class WebCore::DOMCacheIdentifierType
template: enum class WebCore::BroadcastChannelIdentifierType
template: enum class WebCore::FileSystemHandleIdentifierType
template: enum class WebCore::FileSystemSyncAccessHandleIdentifierType
template: enum class WebCore::FileSystemWritableFileStreamIdentifierType
template: enum class WebCore::IDBDatabaseConnectionIdentifierType
template: enum class WebCore::IDBIndexIdentifierType
template: enum class WebCore::IDBObjectStoreIdentifierType
template: enum class WebCore::LibWebRTCSocketIdentifierType
template: enum class WebCore::MainThreadPermissionObserverIdentifierType
template: enum class WebCore::OpaqueOriginIdentifierType
template: enum class WebCore::PortIdentifierType
template: enum class WebCore::RTCDataChannelLocalIdentifierType
template: enum class WebCore::RTCRtpScriptTransformerIdentifierType
template: enum class WebCore::RenderingResourceIdentifierType
template: enum class WebCore::ServiceWorkerIdentifierType
template: enum class WebCore::ServiceWorkerJobIdentifierType
template: enum class WebCore::ServiceWorkerRegistrationIdentifierType
template: enum class WebCore::SnapshotIdentifierType
template: enum class WebCore::WebLockIdentifierType
template: enum class WebCore::WebSocketIdentifierType
template: enum class WebCore::WorkerFileSystemStorageConnectionCallbackIdentifierType
template: enum class WebKit::GPUProcessConnectionIdentifierType
template: enum class WebKit::GraphicsContextGLIdentifierType
template: enum class WebKit::LegacyCustomProtocolIDType
template: enum class WebKit::LibWebRTCResolverIdentifierType
template: enum class WebKit::LogStreamIdentifierType
template: enum class WebKit::QuotaIncreaseRequestIdentifierType
template: enum class WebKit::RemoteVideoFrameIdentifierType
template: enum class WebKit::RenderingBackendIdentifierType
template: enum class WebKit::VideoDecoderIdentifierType
template: enum class WebKit::VideoEncoderIdentifierType
template: enum class WebKit::WCContentBufferIdentifierType
template: enum class WebKit::WebGPUIdentifierType
template: struct IPC::AsyncReplyIDType
template: struct WebKit::StorageAreaIdentifierType
[WebKitPlatform, CustomHeader, AdditionalEncoder=StreamConnectionEncoder] class WTF::AtomicObjectIdentifier {
[Validator='WTF::ObjectIdentifierGenericBase<uint64_t>::isValidIdentifier(*toUInt64)'] uint64_t toUInt64()
}
#if OS(WINDOWS)
using WTF::ProcessID = int;
#else
using WTF::ProcessID = pid_t;
#endif
header: <wtf/MemoryPressureHandler.h>
[CustomHeader] struct WTF::MemoryPressureHandlerConfiguration {
size_t baseThreshold;
double conservativeThresholdFraction;
double strictThresholdFraction;
std::optional<double> killThresholdFraction;
Seconds pollInterval;
}
header: <wtf/MemoryPressureHandler.h>
[CustomHeader] enum class WTF::SystemMemoryPressureStatus : uint8_t {
Normal,
Warning,
Critical,
}
header: <variant>
[AdditionalEncoder=StreamConnectionEncoder, Nested] struct std::monostate {
}
enum class WTFLogLevel : uint8_t {
Always,
Error,
Warning,
Info,
Debug
};
using FileSystem::Salt = std::array<uint8_t, 8>;
|