Branch data Line data Source code
1 : : // Generated by Cap'n Proto compiler, DO NOT EDIT
2 : : // source: ipc_fuzz.capnp
3 : :
4 : : #pragma once
5 : :
6 : : #include <capnp/generated-header-support.h>
7 : : #include <kj/windows-sanity.h>
8 : : #if !CAPNP_LITE
9 : : #include <capnp/capability.h>
10 : : #endif // !CAPNP_LITE
11 : :
12 : : #ifndef CAPNP_VERSION
13 : : #error "CAPNP_VERSION is not defined, is capnp/generated-header-support.h missing?"
14 : : #elif CAPNP_VERSION != 1004000
15 : : #error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
16 : : #endif
17 : :
18 : :
19 : : CAPNP_BEGIN_HEADER
20 : :
21 : : namespace capnp {
22 : : namespace schemas {
23 : :
24 : : CAPNP_DECLARE_SCHEMA(9afe1b6e52728ab8);
25 : : CAPNP_DECLARE_SCHEMA(f639e5fa36aea634);
26 : : CAPNP_DECLARE_SCHEMA(d0c053b6e9ce0aa1);
27 : : CAPNP_DECLARE_SCHEMA(8a8be533c7770c31);
28 : : CAPNP_DECLARE_SCHEMA(f130ca42651dcc03);
29 : : CAPNP_DECLARE_SCHEMA(cd30511dc6cc948a);
30 : : CAPNP_DECLARE_SCHEMA(c0aa6b3ee4f73bb3);
31 : : CAPNP_DECLARE_SCHEMA(9d9214516c72ab01);
32 : : CAPNP_DECLARE_SCHEMA(b4b33f80f6026d5f);
33 : : CAPNP_DECLARE_SCHEMA(e0f2e56651c80a96);
34 : : CAPNP_DECLARE_SCHEMA(d2adf51198a4da20);
35 : : CAPNP_DECLARE_SCHEMA(f590bcb5c8b8597e);
36 : : CAPNP_DECLARE_SCHEMA(c6f158ce8cb78ed7);
37 : :
38 : : } // namespace schemas
39 : : } // namespace capnp
40 : :
41 : : namespace test {
42 : : namespace fuzz {
43 : : namespace messages {
44 : :
45 : : struct IpcFuzzInterface {
46 : : IpcFuzzInterface() = delete;
47 : :
48 : : #if !CAPNP_LITE
49 : : class Client;
50 : : class Server;
51 : : #endif // !CAPNP_LITE
52 : :
53 : : struct AddParams;
54 : : struct AddResults;
55 : : struct PassOutPointParams;
56 : : struct PassOutPointResults;
57 : : struct PassVectorUint8Params;
58 : : struct PassVectorUint8Results;
59 : : struct PassScriptParams;
60 : : struct PassScriptResults;
61 : : struct PassUniValueParams;
62 : : struct PassUniValueResults;
63 : : struct PassTransactionParams;
64 : : struct PassTransactionResults;
65 : :
66 : : #if !CAPNP_LITE
67 : : struct _capnpPrivate {
68 : : CAPNP_DECLARE_INTERFACE_HEADER(9afe1b6e52728ab8)
69 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
70 : : };
71 : : #endif // !CAPNP_LITE
72 : : };
73 : :
74 : : struct IpcFuzzInterface::AddParams {
75 : : AddParams() = delete;
76 : :
77 : : class Reader;
78 : : class Builder;
79 : : class Pipeline;
80 : :
81 : : struct _capnpPrivate {
82 : : CAPNP_DECLARE_STRUCT_HEADER(f639e5fa36aea634, 1, 0)
83 : : #if !CAPNP_LITE
84 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
85 : : #endif // !CAPNP_LITE
86 : : };
87 : : };
88 : :
89 : : struct IpcFuzzInterface::AddResults {
90 : : AddResults() = delete;
91 : :
92 : : class Reader;
93 : : class Builder;
94 : : class Pipeline;
95 : :
96 : : struct _capnpPrivate {
97 : : CAPNP_DECLARE_STRUCT_HEADER(d0c053b6e9ce0aa1, 1, 0)
98 : : #if !CAPNP_LITE
99 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
100 : : #endif // !CAPNP_LITE
101 : : };
102 : : };
103 : :
104 : : struct IpcFuzzInterface::PassOutPointParams {
105 : : PassOutPointParams() = delete;
106 : :
107 : : class Reader;
108 : : class Builder;
109 : : class Pipeline;
110 : :
111 : : struct _capnpPrivate {
112 : : CAPNP_DECLARE_STRUCT_HEADER(8a8be533c7770c31, 0, 1)
113 : : #if !CAPNP_LITE
114 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
115 : : #endif // !CAPNP_LITE
116 : : };
117 : : };
118 : :
119 : : struct IpcFuzzInterface::PassOutPointResults {
120 : : PassOutPointResults() = delete;
121 : :
122 : : class Reader;
123 : : class Builder;
124 : : class Pipeline;
125 : :
126 : : struct _capnpPrivate {
127 : : CAPNP_DECLARE_STRUCT_HEADER(f130ca42651dcc03, 0, 1)
128 : : #if !CAPNP_LITE
129 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
130 : : #endif // !CAPNP_LITE
131 : : };
132 : : };
133 : :
134 : : struct IpcFuzzInterface::PassVectorUint8Params {
135 : : PassVectorUint8Params() = delete;
136 : :
137 : : class Reader;
138 : : class Builder;
139 : : class Pipeline;
140 : :
141 : : struct _capnpPrivate {
142 : : CAPNP_DECLARE_STRUCT_HEADER(cd30511dc6cc948a, 0, 1)
143 : : #if !CAPNP_LITE
144 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
145 : : #endif // !CAPNP_LITE
146 : : };
147 : : };
148 : :
149 : : struct IpcFuzzInterface::PassVectorUint8Results {
150 : : PassVectorUint8Results() = delete;
151 : :
152 : : class Reader;
153 : : class Builder;
154 : : class Pipeline;
155 : :
156 : : struct _capnpPrivate {
157 : : CAPNP_DECLARE_STRUCT_HEADER(c0aa6b3ee4f73bb3, 0, 1)
158 : : #if !CAPNP_LITE
159 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
160 : : #endif // !CAPNP_LITE
161 : : };
162 : : };
163 : :
164 : : struct IpcFuzzInterface::PassScriptParams {
165 : : PassScriptParams() = delete;
166 : :
167 : : class Reader;
168 : : class Builder;
169 : : class Pipeline;
170 : :
171 : : struct _capnpPrivate {
172 : : CAPNP_DECLARE_STRUCT_HEADER(9d9214516c72ab01, 0, 1)
173 : : #if !CAPNP_LITE
174 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
175 : : #endif // !CAPNP_LITE
176 : : };
177 : : };
178 : :
179 : : struct IpcFuzzInterface::PassScriptResults {
180 : : PassScriptResults() = delete;
181 : :
182 : : class Reader;
183 : : class Builder;
184 : : class Pipeline;
185 : :
186 : : struct _capnpPrivate {
187 : : CAPNP_DECLARE_STRUCT_HEADER(b4b33f80f6026d5f, 0, 1)
188 : : #if !CAPNP_LITE
189 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
190 : : #endif // !CAPNP_LITE
191 : : };
192 : : };
193 : :
194 : : struct IpcFuzzInterface::PassUniValueParams {
195 : : PassUniValueParams() = delete;
196 : :
197 : : class Reader;
198 : : class Builder;
199 : : class Pipeline;
200 : :
201 : : struct _capnpPrivate {
202 : : CAPNP_DECLARE_STRUCT_HEADER(e0f2e56651c80a96, 0, 1)
203 : : #if !CAPNP_LITE
204 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
205 : : #endif // !CAPNP_LITE
206 : : };
207 : : };
208 : :
209 : : struct IpcFuzzInterface::PassUniValueResults {
210 : : PassUniValueResults() = delete;
211 : :
212 : : class Reader;
213 : : class Builder;
214 : : class Pipeline;
215 : :
216 : : struct _capnpPrivate {
217 : : CAPNP_DECLARE_STRUCT_HEADER(d2adf51198a4da20, 0, 1)
218 : : #if !CAPNP_LITE
219 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
220 : : #endif // !CAPNP_LITE
221 : : };
222 : : };
223 : :
224 : : struct IpcFuzzInterface::PassTransactionParams {
225 : : PassTransactionParams() = delete;
226 : :
227 : : class Reader;
228 : : class Builder;
229 : : class Pipeline;
230 : :
231 : : struct _capnpPrivate {
232 : : CAPNP_DECLARE_STRUCT_HEADER(f590bcb5c8b8597e, 0, 1)
233 : : #if !CAPNP_LITE
234 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
235 : : #endif // !CAPNP_LITE
236 : : };
237 : : };
238 : :
239 : : struct IpcFuzzInterface::PassTransactionResults {
240 : : PassTransactionResults() = delete;
241 : :
242 : : class Reader;
243 : : class Builder;
244 : : class Pipeline;
245 : :
246 : : struct _capnpPrivate {
247 : : CAPNP_DECLARE_STRUCT_HEADER(c6f158ce8cb78ed7, 0, 1)
248 : : #if !CAPNP_LITE
249 : : static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
250 : : #endif // !CAPNP_LITE
251 : : };
252 : : };
253 : :
254 : : // =======================================================================================
255 : :
256 : : #if !CAPNP_LITE
257 [ + - + - : 4 : class IpcFuzzInterface::Client
+ - + - ]
258 : : : public virtual ::capnp::Capability::Client {
259 : : public:
260 : : typedef IpcFuzzInterface Calls;
261 : : typedef IpcFuzzInterface Reads;
262 : :
263 : : Client(decltype(nullptr));
264 : : explicit Client(::kj::Own< ::capnp::ClientHook>&& hook);
265 : : template <typename _t, typename = ::kj::EnableIf< ::kj::canConvert<_t*, Server*>()>>
266 : : Client(::kj::Own<_t>&& server);
267 : : template <typename _t, typename = ::kj::EnableIf< ::kj::canConvert<_t*, Client*>()>>
268 : : Client(::kj::Promise<_t>&& promise);
269 : : Client(::kj::Exception&& exception);
270 : : Client(Client&) = default;
271 [ + - + - ]: 3 : Client(Client&&) = default;
272 : : Client& operator=(Client& other);
273 : : Client& operator=(Client&& other);
274 : :
275 : : ::capnp::Request< ::test::fuzz::messages::IpcFuzzInterface::AddParams, ::test::fuzz::messages::IpcFuzzInterface::AddResults> addRequest(
276 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
277 : : ::capnp::Request< ::test::fuzz::messages::IpcFuzzInterface::PassOutPointParams, ::test::fuzz::messages::IpcFuzzInterface::PassOutPointResults> passOutPointRequest(
278 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
279 : : ::capnp::Request< ::test::fuzz::messages::IpcFuzzInterface::PassVectorUint8Params, ::test::fuzz::messages::IpcFuzzInterface::PassVectorUint8Results> passVectorUint8Request(
280 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
281 : : ::capnp::Request< ::test::fuzz::messages::IpcFuzzInterface::PassScriptParams, ::test::fuzz::messages::IpcFuzzInterface::PassScriptResults> passScriptRequest(
282 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
283 : : ::capnp::Request< ::test::fuzz::messages::IpcFuzzInterface::PassUniValueParams, ::test::fuzz::messages::IpcFuzzInterface::PassUniValueResults> passUniValueRequest(
284 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
285 : : ::capnp::Request< ::test::fuzz::messages::IpcFuzzInterface::PassTransactionParams, ::test::fuzz::messages::IpcFuzzInterface::PassTransactionResults> passTransactionRequest(
286 : : ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
287 : :
288 : : protected:
289 : : Client() = default;
290 : : };
291 : :
292 : : class IpcFuzzInterface::Server
293 : : : public virtual ::capnp::Capability::Server {
294 : : public:
295 : : typedef IpcFuzzInterface Serves;
296 : :
297 : : ::capnp::Capability::Server::DispatchCallResult dispatchCall(
298 : : uint64_t interfaceId, uint16_t methodId,
299 : : ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context)
300 : : override;
301 : :
302 : : protected:
303 : : typedef ::test::fuzz::messages::IpcFuzzInterface::AddParams AddParams;
304 : : typedef ::test::fuzz::messages::IpcFuzzInterface::AddResults AddResults;
305 : : typedef ::capnp::CallContext<AddParams, AddResults> AddContext;
306 : : virtual ::kj::Promise<void> add(AddContext context);
307 : : typedef ::test::fuzz::messages::IpcFuzzInterface::PassOutPointParams PassOutPointParams;
308 : : typedef ::test::fuzz::messages::IpcFuzzInterface::PassOutPointResults PassOutPointResults;
309 : : typedef ::capnp::CallContext<PassOutPointParams, PassOutPointResults> PassOutPointContext;
310 : : virtual ::kj::Promise<void> passOutPoint(PassOutPointContext context);
311 : : typedef ::test::fuzz::messages::IpcFuzzInterface::PassVectorUint8Params PassVectorUint8Params;
312 : : typedef ::test::fuzz::messages::IpcFuzzInterface::PassVectorUint8Results PassVectorUint8Results;
313 : : typedef ::capnp::CallContext<PassVectorUint8Params, PassVectorUint8Results> PassVectorUint8Context;
314 : : virtual ::kj::Promise<void> passVectorUint8(PassVectorUint8Context context);
315 : : typedef ::test::fuzz::messages::IpcFuzzInterface::PassScriptParams PassScriptParams;
316 : : typedef ::test::fuzz::messages::IpcFuzzInterface::PassScriptResults PassScriptResults;
317 : : typedef ::capnp::CallContext<PassScriptParams, PassScriptResults> PassScriptContext;
318 : : virtual ::kj::Promise<void> passScript(PassScriptContext context);
319 : : typedef ::test::fuzz::messages::IpcFuzzInterface::PassUniValueParams PassUniValueParams;
320 : : typedef ::test::fuzz::messages::IpcFuzzInterface::PassUniValueResults PassUniValueResults;
321 : : typedef ::capnp::CallContext<PassUniValueParams, PassUniValueResults> PassUniValueContext;
322 : : virtual ::kj::Promise<void> passUniValue(PassUniValueContext context);
323 : : typedef ::test::fuzz::messages::IpcFuzzInterface::PassTransactionParams PassTransactionParams;
324 : : typedef ::test::fuzz::messages::IpcFuzzInterface::PassTransactionResults PassTransactionResults;
325 : : typedef ::capnp::CallContext<PassTransactionParams, PassTransactionResults> PassTransactionContext;
326 : : virtual ::kj::Promise<void> passTransaction(PassTransactionContext context);
327 : :
328 : : inline ::test::fuzz::messages::IpcFuzzInterface::Client thisCap() {
329 : : return ::capnp::Capability::Server::thisCap()
330 : : .template castAs< ::test::fuzz::messages::IpcFuzzInterface>();
331 : : }
332 : :
333 : : ::capnp::Capability::Server::DispatchCallResult dispatchCallInternal(
334 : : uint16_t methodId,
335 : : ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context);
336 : : };
337 : : #endif // !CAPNP_LITE
338 : :
339 : : class IpcFuzzInterface::AddParams::Reader {
340 : : public:
341 : : typedef AddParams Reads;
342 : :
343 : : Reader() = default;
344 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
345 : :
346 : : inline ::capnp::MessageSize totalSize() const {
347 : : return _reader.totalSize().asPublic();
348 : : }
349 : :
350 : : #if !CAPNP_LITE
351 : 0 : inline ::kj::StringTree toString() const {
352 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
353 : : }
354 : : #endif // !CAPNP_LITE
355 : :
356 : : inline ::int32_t getA() const;
357 : :
358 : : inline ::int32_t getB() const;
359 : :
360 : : private:
361 : : ::capnp::_::StructReader _reader;
362 : : template <typename, ::capnp::Kind>
363 : : friend struct ::capnp::ToDynamic_;
364 : : template <typename, ::capnp::Kind>
365 : : friend struct ::capnp::_::PointerHelpers;
366 : : template <typename, ::capnp::Kind>
367 : : friend struct ::capnp::List;
368 : : friend class ::capnp::MessageBuilder;
369 : : friend class ::capnp::Orphanage;
370 : : };
371 : :
372 : : class IpcFuzzInterface::AddParams::Builder {
373 : : public:
374 : : typedef AddParams Builds;
375 : :
376 : : Builder() = delete; // Deleted to discourage incorrect usage.
377 : : // You can explicitly initialize to nullptr instead.
378 : : inline Builder(decltype(nullptr)) {}
379 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
380 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
381 : 0 : inline Reader asReader() const { return *this; }
382 : :
383 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
384 : : #if !CAPNP_LITE
385 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
386 : : #endif // !CAPNP_LITE
387 : :
388 : : inline ::int32_t getA();
389 : : inline void setA( ::int32_t value);
390 : :
391 : : inline ::int32_t getB();
392 : : inline void setB( ::int32_t value);
393 : :
394 : : private:
395 : : ::capnp::_::StructBuilder _builder;
396 : : template <typename, ::capnp::Kind>
397 : : friend struct ::capnp::ToDynamic_;
398 : : friend class ::capnp::Orphanage;
399 : : template <typename, ::capnp::Kind>
400 : : friend struct ::capnp::_::PointerHelpers;
401 : : };
402 : :
403 : : #if !CAPNP_LITE
404 : : class IpcFuzzInterface::AddParams::Pipeline {
405 : : public:
406 : : typedef AddParams Pipelines;
407 : :
408 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
409 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
410 : : : _typeless(kj::mv(typeless)) {}
411 : :
412 : : private:
413 : : ::capnp::AnyPointer::Pipeline _typeless;
414 : : friend class ::capnp::PipelineHook;
415 : : template <typename, ::capnp::Kind>
416 : : friend struct ::capnp::ToDynamic_;
417 : : };
418 : : #endif // !CAPNP_LITE
419 : :
420 : : class IpcFuzzInterface::AddResults::Reader {
421 : : public:
422 : : typedef AddResults Reads;
423 : :
424 : : Reader() = default;
425 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
426 : :
427 : : inline ::capnp::MessageSize totalSize() const {
428 : : return _reader.totalSize().asPublic();
429 : : }
430 : :
431 : : #if !CAPNP_LITE
432 : 0 : inline ::kj::StringTree toString() const {
433 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
434 : : }
435 : : #endif // !CAPNP_LITE
436 : :
437 : : inline ::int32_t getResult() const;
438 : :
439 : : private:
440 : : ::capnp::_::StructReader _reader;
441 : : template <typename, ::capnp::Kind>
442 : : friend struct ::capnp::ToDynamic_;
443 : : template <typename, ::capnp::Kind>
444 : : friend struct ::capnp::_::PointerHelpers;
445 : : template <typename, ::capnp::Kind>
446 : : friend struct ::capnp::List;
447 : : friend class ::capnp::MessageBuilder;
448 : : friend class ::capnp::Orphanage;
449 : : };
450 : :
451 : : class IpcFuzzInterface::AddResults::Builder {
452 : : public:
453 : : typedef AddResults Builds;
454 : :
455 : : Builder() = delete; // Deleted to discourage incorrect usage.
456 : : // You can explicitly initialize to nullptr instead.
457 : : inline Builder(decltype(nullptr)) {}
458 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
459 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
460 : 0 : inline Reader asReader() const { return *this; }
461 : :
462 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
463 : : #if !CAPNP_LITE
464 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
465 : : #endif // !CAPNP_LITE
466 : :
467 : : inline ::int32_t getResult();
468 : : inline void setResult( ::int32_t value);
469 : :
470 : : private:
471 : : ::capnp::_::StructBuilder _builder;
472 : : template <typename, ::capnp::Kind>
473 : : friend struct ::capnp::ToDynamic_;
474 : : friend class ::capnp::Orphanage;
475 : : template <typename, ::capnp::Kind>
476 : : friend struct ::capnp::_::PointerHelpers;
477 : : };
478 : :
479 : : #if !CAPNP_LITE
480 [ # # ]: 0 : class IpcFuzzInterface::AddResults::Pipeline {
481 : : public:
482 : : typedef AddResults Pipelines;
483 : :
484 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
485 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
486 : 0 : : _typeless(kj::mv(typeless)) {}
487 : :
488 : : private:
489 : : ::capnp::AnyPointer::Pipeline _typeless;
490 : : friend class ::capnp::PipelineHook;
491 : : template <typename, ::capnp::Kind>
492 : : friend struct ::capnp::ToDynamic_;
493 : : };
494 : : #endif // !CAPNP_LITE
495 : :
496 : : class IpcFuzzInterface::PassOutPointParams::Reader {
497 : : public:
498 : : typedef PassOutPointParams Reads;
499 : :
500 : : Reader() = default;
501 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
502 : :
503 : : inline ::capnp::MessageSize totalSize() const {
504 : : return _reader.totalSize().asPublic();
505 : : }
506 : :
507 : : #if !CAPNP_LITE
508 : 0 : inline ::kj::StringTree toString() const {
509 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
510 : : }
511 : : #endif // !CAPNP_LITE
512 : :
513 : : inline bool hasArg() const;
514 : : inline ::capnp::Data::Reader getArg() const;
515 : :
516 : : private:
517 : : ::capnp::_::StructReader _reader;
518 : : template <typename, ::capnp::Kind>
519 : : friend struct ::capnp::ToDynamic_;
520 : : template <typename, ::capnp::Kind>
521 : : friend struct ::capnp::_::PointerHelpers;
522 : : template <typename, ::capnp::Kind>
523 : : friend struct ::capnp::List;
524 : : friend class ::capnp::MessageBuilder;
525 : : friend class ::capnp::Orphanage;
526 : : };
527 : :
528 : : class IpcFuzzInterface::PassOutPointParams::Builder {
529 : : public:
530 : : typedef PassOutPointParams Builds;
531 : :
532 : : Builder() = delete; // Deleted to discourage incorrect usage.
533 : : // You can explicitly initialize to nullptr instead.
534 : : inline Builder(decltype(nullptr)) {}
535 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
536 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
537 : 0 : inline Reader asReader() const { return *this; }
538 : :
539 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
540 : : #if !CAPNP_LITE
541 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
542 : : #endif // !CAPNP_LITE
543 : :
544 : : inline bool hasArg();
545 : : inline ::capnp::Data::Builder getArg();
546 : : inline void setArg( ::capnp::Data::Reader value);
547 : : inline ::capnp::Data::Builder initArg(unsigned int size);
548 : : inline void adoptArg(::capnp::Orphan< ::capnp::Data>&& value);
549 : : inline ::capnp::Orphan< ::capnp::Data> disownArg();
550 : :
551 : : private:
552 : : ::capnp::_::StructBuilder _builder;
553 : : template <typename, ::capnp::Kind>
554 : : friend struct ::capnp::ToDynamic_;
555 : : friend class ::capnp::Orphanage;
556 : : template <typename, ::capnp::Kind>
557 : : friend struct ::capnp::_::PointerHelpers;
558 : : };
559 : :
560 : : #if !CAPNP_LITE
561 : : class IpcFuzzInterface::PassOutPointParams::Pipeline {
562 : : public:
563 : : typedef PassOutPointParams Pipelines;
564 : :
565 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
566 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
567 : : : _typeless(kj::mv(typeless)) {}
568 : :
569 : : private:
570 : : ::capnp::AnyPointer::Pipeline _typeless;
571 : : friend class ::capnp::PipelineHook;
572 : : template <typename, ::capnp::Kind>
573 : : friend struct ::capnp::ToDynamic_;
574 : : };
575 : : #endif // !CAPNP_LITE
576 : :
577 : : class IpcFuzzInterface::PassOutPointResults::Reader {
578 : : public:
579 : : typedef PassOutPointResults Reads;
580 : :
581 : : Reader() = default;
582 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
583 : :
584 : : inline ::capnp::MessageSize totalSize() const {
585 : : return _reader.totalSize().asPublic();
586 : : }
587 : :
588 : : #if !CAPNP_LITE
589 : 0 : inline ::kj::StringTree toString() const {
590 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
591 : : }
592 : : #endif // !CAPNP_LITE
593 : :
594 : : inline bool hasResult() const;
595 : : inline ::capnp::Data::Reader getResult() const;
596 : :
597 : : private:
598 : : ::capnp::_::StructReader _reader;
599 : : template <typename, ::capnp::Kind>
600 : : friend struct ::capnp::ToDynamic_;
601 : : template <typename, ::capnp::Kind>
602 : : friend struct ::capnp::_::PointerHelpers;
603 : : template <typename, ::capnp::Kind>
604 : : friend struct ::capnp::List;
605 : : friend class ::capnp::MessageBuilder;
606 : : friend class ::capnp::Orphanage;
607 : : };
608 : :
609 : : class IpcFuzzInterface::PassOutPointResults::Builder {
610 : : public:
611 : : typedef PassOutPointResults Builds;
612 : :
613 : : Builder() = delete; // Deleted to discourage incorrect usage.
614 : : // You can explicitly initialize to nullptr instead.
615 : : inline Builder(decltype(nullptr)) {}
616 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
617 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
618 : 0 : inline Reader asReader() const { return *this; }
619 : :
620 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
621 : : #if !CAPNP_LITE
622 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
623 : : #endif // !CAPNP_LITE
624 : :
625 : : inline bool hasResult();
626 : : inline ::capnp::Data::Builder getResult();
627 : : inline void setResult( ::capnp::Data::Reader value);
628 : : inline ::capnp::Data::Builder initResult(unsigned int size);
629 : : inline void adoptResult(::capnp::Orphan< ::capnp::Data>&& value);
630 : : inline ::capnp::Orphan< ::capnp::Data> disownResult();
631 : :
632 : : private:
633 : : ::capnp::_::StructBuilder _builder;
634 : : template <typename, ::capnp::Kind>
635 : : friend struct ::capnp::ToDynamic_;
636 : : friend class ::capnp::Orphanage;
637 : : template <typename, ::capnp::Kind>
638 : : friend struct ::capnp::_::PointerHelpers;
639 : : };
640 : :
641 : : #if !CAPNP_LITE
642 [ # # ]: 0 : class IpcFuzzInterface::PassOutPointResults::Pipeline {
643 : : public:
644 : : typedef PassOutPointResults Pipelines;
645 : :
646 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
647 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
648 : 0 : : _typeless(kj::mv(typeless)) {}
649 : :
650 : : private:
651 : : ::capnp::AnyPointer::Pipeline _typeless;
652 : : friend class ::capnp::PipelineHook;
653 : : template <typename, ::capnp::Kind>
654 : : friend struct ::capnp::ToDynamic_;
655 : : };
656 : : #endif // !CAPNP_LITE
657 : :
658 : : class IpcFuzzInterface::PassVectorUint8Params::Reader {
659 : : public:
660 : : typedef PassVectorUint8Params Reads;
661 : :
662 : : Reader() = default;
663 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
664 : :
665 : : inline ::capnp::MessageSize totalSize() const {
666 : : return _reader.totalSize().asPublic();
667 : : }
668 : :
669 : : #if !CAPNP_LITE
670 : 0 : inline ::kj::StringTree toString() const {
671 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
672 : : }
673 : : #endif // !CAPNP_LITE
674 : :
675 : : inline bool hasArg() const;
676 : : inline ::capnp::Data::Reader getArg() const;
677 : :
678 : : private:
679 : : ::capnp::_::StructReader _reader;
680 : : template <typename, ::capnp::Kind>
681 : : friend struct ::capnp::ToDynamic_;
682 : : template <typename, ::capnp::Kind>
683 : : friend struct ::capnp::_::PointerHelpers;
684 : : template <typename, ::capnp::Kind>
685 : : friend struct ::capnp::List;
686 : : friend class ::capnp::MessageBuilder;
687 : : friend class ::capnp::Orphanage;
688 : : };
689 : :
690 : : class IpcFuzzInterface::PassVectorUint8Params::Builder {
691 : : public:
692 : : typedef PassVectorUint8Params Builds;
693 : :
694 : : Builder() = delete; // Deleted to discourage incorrect usage.
695 : : // You can explicitly initialize to nullptr instead.
696 : : inline Builder(decltype(nullptr)) {}
697 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
698 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
699 : 0 : inline Reader asReader() const { return *this; }
700 : :
701 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
702 : : #if !CAPNP_LITE
703 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
704 : : #endif // !CAPNP_LITE
705 : :
706 : : inline bool hasArg();
707 : : inline ::capnp::Data::Builder getArg();
708 : : inline void setArg( ::capnp::Data::Reader value);
709 : : inline ::capnp::Data::Builder initArg(unsigned int size);
710 : : inline void adoptArg(::capnp::Orphan< ::capnp::Data>&& value);
711 : : inline ::capnp::Orphan< ::capnp::Data> disownArg();
712 : :
713 : : private:
714 : : ::capnp::_::StructBuilder _builder;
715 : : template <typename, ::capnp::Kind>
716 : : friend struct ::capnp::ToDynamic_;
717 : : friend class ::capnp::Orphanage;
718 : : template <typename, ::capnp::Kind>
719 : : friend struct ::capnp::_::PointerHelpers;
720 : : };
721 : :
722 : : #if !CAPNP_LITE
723 : : class IpcFuzzInterface::PassVectorUint8Params::Pipeline {
724 : : public:
725 : : typedef PassVectorUint8Params Pipelines;
726 : :
727 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
728 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
729 : : : _typeless(kj::mv(typeless)) {}
730 : :
731 : : private:
732 : : ::capnp::AnyPointer::Pipeline _typeless;
733 : : friend class ::capnp::PipelineHook;
734 : : template <typename, ::capnp::Kind>
735 : : friend struct ::capnp::ToDynamic_;
736 : : };
737 : : #endif // !CAPNP_LITE
738 : :
739 : : class IpcFuzzInterface::PassVectorUint8Results::Reader {
740 : : public:
741 : : typedef PassVectorUint8Results Reads;
742 : :
743 : : Reader() = default;
744 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
745 : :
746 : : inline ::capnp::MessageSize totalSize() const {
747 : : return _reader.totalSize().asPublic();
748 : : }
749 : :
750 : : #if !CAPNP_LITE
751 : 0 : inline ::kj::StringTree toString() const {
752 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
753 : : }
754 : : #endif // !CAPNP_LITE
755 : :
756 : : inline bool hasResult() const;
757 : : inline ::capnp::Data::Reader getResult() const;
758 : :
759 : : private:
760 : : ::capnp::_::StructReader _reader;
761 : : template <typename, ::capnp::Kind>
762 : : friend struct ::capnp::ToDynamic_;
763 : : template <typename, ::capnp::Kind>
764 : : friend struct ::capnp::_::PointerHelpers;
765 : : template <typename, ::capnp::Kind>
766 : : friend struct ::capnp::List;
767 : : friend class ::capnp::MessageBuilder;
768 : : friend class ::capnp::Orphanage;
769 : : };
770 : :
771 : : class IpcFuzzInterface::PassVectorUint8Results::Builder {
772 : : public:
773 : : typedef PassVectorUint8Results Builds;
774 : :
775 : : Builder() = delete; // Deleted to discourage incorrect usage.
776 : : // You can explicitly initialize to nullptr instead.
777 : : inline Builder(decltype(nullptr)) {}
778 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
779 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
780 : 0 : inline Reader asReader() const { return *this; }
781 : :
782 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
783 : : #if !CAPNP_LITE
784 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
785 : : #endif // !CAPNP_LITE
786 : :
787 : : inline bool hasResult();
788 : : inline ::capnp::Data::Builder getResult();
789 : : inline void setResult( ::capnp::Data::Reader value);
790 : : inline ::capnp::Data::Builder initResult(unsigned int size);
791 : : inline void adoptResult(::capnp::Orphan< ::capnp::Data>&& value);
792 : : inline ::capnp::Orphan< ::capnp::Data> disownResult();
793 : :
794 : : private:
795 : : ::capnp::_::StructBuilder _builder;
796 : : template <typename, ::capnp::Kind>
797 : : friend struct ::capnp::ToDynamic_;
798 : : friend class ::capnp::Orphanage;
799 : : template <typename, ::capnp::Kind>
800 : : friend struct ::capnp::_::PointerHelpers;
801 : : };
802 : :
803 : : #if !CAPNP_LITE
804 [ # # ]: 0 : class IpcFuzzInterface::PassVectorUint8Results::Pipeline {
805 : : public:
806 : : typedef PassVectorUint8Results Pipelines;
807 : :
808 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
809 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
810 : 0 : : _typeless(kj::mv(typeless)) {}
811 : :
812 : : private:
813 : : ::capnp::AnyPointer::Pipeline _typeless;
814 : : friend class ::capnp::PipelineHook;
815 : : template <typename, ::capnp::Kind>
816 : : friend struct ::capnp::ToDynamic_;
817 : : };
818 : : #endif // !CAPNP_LITE
819 : :
820 : : class IpcFuzzInterface::PassScriptParams::Reader {
821 : : public:
822 : : typedef PassScriptParams Reads;
823 : :
824 : : Reader() = default;
825 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
826 : :
827 : : inline ::capnp::MessageSize totalSize() const {
828 : : return _reader.totalSize().asPublic();
829 : : }
830 : :
831 : : #if !CAPNP_LITE
832 : 0 : inline ::kj::StringTree toString() const {
833 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
834 : : }
835 : : #endif // !CAPNP_LITE
836 : :
837 : : inline bool hasArg() const;
838 : : inline ::capnp::Data::Reader getArg() const;
839 : :
840 : : private:
841 : : ::capnp::_::StructReader _reader;
842 : : template <typename, ::capnp::Kind>
843 : : friend struct ::capnp::ToDynamic_;
844 : : template <typename, ::capnp::Kind>
845 : : friend struct ::capnp::_::PointerHelpers;
846 : : template <typename, ::capnp::Kind>
847 : : friend struct ::capnp::List;
848 : : friend class ::capnp::MessageBuilder;
849 : : friend class ::capnp::Orphanage;
850 : : };
851 : :
852 : : class IpcFuzzInterface::PassScriptParams::Builder {
853 : : public:
854 : : typedef PassScriptParams Builds;
855 : :
856 : : Builder() = delete; // Deleted to discourage incorrect usage.
857 : : // You can explicitly initialize to nullptr instead.
858 : : inline Builder(decltype(nullptr)) {}
859 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
860 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
861 : 0 : inline Reader asReader() const { return *this; }
862 : :
863 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
864 : : #if !CAPNP_LITE
865 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
866 : : #endif // !CAPNP_LITE
867 : :
868 : : inline bool hasArg();
869 : : inline ::capnp::Data::Builder getArg();
870 : : inline void setArg( ::capnp::Data::Reader value);
871 : : inline ::capnp::Data::Builder initArg(unsigned int size);
872 : : inline void adoptArg(::capnp::Orphan< ::capnp::Data>&& value);
873 : : inline ::capnp::Orphan< ::capnp::Data> disownArg();
874 : :
875 : : private:
876 : : ::capnp::_::StructBuilder _builder;
877 : : template <typename, ::capnp::Kind>
878 : : friend struct ::capnp::ToDynamic_;
879 : : friend class ::capnp::Orphanage;
880 : : template <typename, ::capnp::Kind>
881 : : friend struct ::capnp::_::PointerHelpers;
882 : : };
883 : :
884 : : #if !CAPNP_LITE
885 : : class IpcFuzzInterface::PassScriptParams::Pipeline {
886 : : public:
887 : : typedef PassScriptParams Pipelines;
888 : :
889 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
890 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
891 : : : _typeless(kj::mv(typeless)) {}
892 : :
893 : : private:
894 : : ::capnp::AnyPointer::Pipeline _typeless;
895 : : friend class ::capnp::PipelineHook;
896 : : template <typename, ::capnp::Kind>
897 : : friend struct ::capnp::ToDynamic_;
898 : : };
899 : : #endif // !CAPNP_LITE
900 : :
901 : : class IpcFuzzInterface::PassScriptResults::Reader {
902 : : public:
903 : : typedef PassScriptResults Reads;
904 : :
905 : : Reader() = default;
906 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
907 : :
908 : : inline ::capnp::MessageSize totalSize() const {
909 : : return _reader.totalSize().asPublic();
910 : : }
911 : :
912 : : #if !CAPNP_LITE
913 : 0 : inline ::kj::StringTree toString() const {
914 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
915 : : }
916 : : #endif // !CAPNP_LITE
917 : :
918 : : inline bool hasResult() const;
919 : : inline ::capnp::Data::Reader getResult() const;
920 : :
921 : : private:
922 : : ::capnp::_::StructReader _reader;
923 : : template <typename, ::capnp::Kind>
924 : : friend struct ::capnp::ToDynamic_;
925 : : template <typename, ::capnp::Kind>
926 : : friend struct ::capnp::_::PointerHelpers;
927 : : template <typename, ::capnp::Kind>
928 : : friend struct ::capnp::List;
929 : : friend class ::capnp::MessageBuilder;
930 : : friend class ::capnp::Orphanage;
931 : : };
932 : :
933 : : class IpcFuzzInterface::PassScriptResults::Builder {
934 : : public:
935 : : typedef PassScriptResults Builds;
936 : :
937 : : Builder() = delete; // Deleted to discourage incorrect usage.
938 : : // You can explicitly initialize to nullptr instead.
939 : : inline Builder(decltype(nullptr)) {}
940 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
941 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
942 : 0 : inline Reader asReader() const { return *this; }
943 : :
944 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
945 : : #if !CAPNP_LITE
946 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
947 : : #endif // !CAPNP_LITE
948 : :
949 : : inline bool hasResult();
950 : : inline ::capnp::Data::Builder getResult();
951 : : inline void setResult( ::capnp::Data::Reader value);
952 : : inline ::capnp::Data::Builder initResult(unsigned int size);
953 : : inline void adoptResult(::capnp::Orphan< ::capnp::Data>&& value);
954 : : inline ::capnp::Orphan< ::capnp::Data> disownResult();
955 : :
956 : : private:
957 : : ::capnp::_::StructBuilder _builder;
958 : : template <typename, ::capnp::Kind>
959 : : friend struct ::capnp::ToDynamic_;
960 : : friend class ::capnp::Orphanage;
961 : : template <typename, ::capnp::Kind>
962 : : friend struct ::capnp::_::PointerHelpers;
963 : : };
964 : :
965 : : #if !CAPNP_LITE
966 [ # # ]: 0 : class IpcFuzzInterface::PassScriptResults::Pipeline {
967 : : public:
968 : : typedef PassScriptResults Pipelines;
969 : :
970 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
971 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
972 : 0 : : _typeless(kj::mv(typeless)) {}
973 : :
974 : : private:
975 : : ::capnp::AnyPointer::Pipeline _typeless;
976 : : friend class ::capnp::PipelineHook;
977 : : template <typename, ::capnp::Kind>
978 : : friend struct ::capnp::ToDynamic_;
979 : : };
980 : : #endif // !CAPNP_LITE
981 : :
982 : : class IpcFuzzInterface::PassUniValueParams::Reader {
983 : : public:
984 : : typedef PassUniValueParams Reads;
985 : :
986 : : Reader() = default;
987 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
988 : :
989 : : inline ::capnp::MessageSize totalSize() const {
990 : : return _reader.totalSize().asPublic();
991 : : }
992 : :
993 : : #if !CAPNP_LITE
994 : 0 : inline ::kj::StringTree toString() const {
995 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
996 : : }
997 : : #endif // !CAPNP_LITE
998 : :
999 : : inline bool hasArg() const;
1000 : : inline ::capnp::Text::Reader getArg() const;
1001 : :
1002 : : private:
1003 : : ::capnp::_::StructReader _reader;
1004 : : template <typename, ::capnp::Kind>
1005 : : friend struct ::capnp::ToDynamic_;
1006 : : template <typename, ::capnp::Kind>
1007 : : friend struct ::capnp::_::PointerHelpers;
1008 : : template <typename, ::capnp::Kind>
1009 : : friend struct ::capnp::List;
1010 : : friend class ::capnp::MessageBuilder;
1011 : : friend class ::capnp::Orphanage;
1012 : : };
1013 : :
1014 : : class IpcFuzzInterface::PassUniValueParams::Builder {
1015 : : public:
1016 : : typedef PassUniValueParams Builds;
1017 : :
1018 : : Builder() = delete; // Deleted to discourage incorrect usage.
1019 : : // You can explicitly initialize to nullptr instead.
1020 : : inline Builder(decltype(nullptr)) {}
1021 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1022 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
1023 : 0 : inline Reader asReader() const { return *this; }
1024 : :
1025 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1026 : : #if !CAPNP_LITE
1027 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
1028 : : #endif // !CAPNP_LITE
1029 : :
1030 : : inline bool hasArg();
1031 : : inline ::capnp::Text::Builder getArg();
1032 : : inline void setArg( ::capnp::Text::Reader value);
1033 : : inline ::capnp::Text::Builder initArg(unsigned int size);
1034 : : inline void adoptArg(::capnp::Orphan< ::capnp::Text>&& value);
1035 : : inline ::capnp::Orphan< ::capnp::Text> disownArg();
1036 : :
1037 : : private:
1038 : : ::capnp::_::StructBuilder _builder;
1039 : : template <typename, ::capnp::Kind>
1040 : : friend struct ::capnp::ToDynamic_;
1041 : : friend class ::capnp::Orphanage;
1042 : : template <typename, ::capnp::Kind>
1043 : : friend struct ::capnp::_::PointerHelpers;
1044 : : };
1045 : :
1046 : : #if !CAPNP_LITE
1047 : : class IpcFuzzInterface::PassUniValueParams::Pipeline {
1048 : : public:
1049 : : typedef PassUniValueParams Pipelines;
1050 : :
1051 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1052 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1053 : : : _typeless(kj::mv(typeless)) {}
1054 : :
1055 : : private:
1056 : : ::capnp::AnyPointer::Pipeline _typeless;
1057 : : friend class ::capnp::PipelineHook;
1058 : : template <typename, ::capnp::Kind>
1059 : : friend struct ::capnp::ToDynamic_;
1060 : : };
1061 : : #endif // !CAPNP_LITE
1062 : :
1063 : : class IpcFuzzInterface::PassUniValueResults::Reader {
1064 : : public:
1065 : : typedef PassUniValueResults Reads;
1066 : :
1067 : : Reader() = default;
1068 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1069 : :
1070 : : inline ::capnp::MessageSize totalSize() const {
1071 : : return _reader.totalSize().asPublic();
1072 : : }
1073 : :
1074 : : #if !CAPNP_LITE
1075 : 0 : inline ::kj::StringTree toString() const {
1076 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1077 : : }
1078 : : #endif // !CAPNP_LITE
1079 : :
1080 : : inline bool hasResult() const;
1081 : : inline ::capnp::Text::Reader getResult() const;
1082 : :
1083 : : private:
1084 : : ::capnp::_::StructReader _reader;
1085 : : template <typename, ::capnp::Kind>
1086 : : friend struct ::capnp::ToDynamic_;
1087 : : template <typename, ::capnp::Kind>
1088 : : friend struct ::capnp::_::PointerHelpers;
1089 : : template <typename, ::capnp::Kind>
1090 : : friend struct ::capnp::List;
1091 : : friend class ::capnp::MessageBuilder;
1092 : : friend class ::capnp::Orphanage;
1093 : : };
1094 : :
1095 : : class IpcFuzzInterface::PassUniValueResults::Builder {
1096 : : public:
1097 : : typedef PassUniValueResults Builds;
1098 : :
1099 : : Builder() = delete; // Deleted to discourage incorrect usage.
1100 : : // You can explicitly initialize to nullptr instead.
1101 : : inline Builder(decltype(nullptr)) {}
1102 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1103 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
1104 : 0 : inline Reader asReader() const { return *this; }
1105 : :
1106 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1107 : : #if !CAPNP_LITE
1108 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
1109 : : #endif // !CAPNP_LITE
1110 : :
1111 : : inline bool hasResult();
1112 : : inline ::capnp::Text::Builder getResult();
1113 : : inline void setResult( ::capnp::Text::Reader value);
1114 : : inline ::capnp::Text::Builder initResult(unsigned int size);
1115 : : inline void adoptResult(::capnp::Orphan< ::capnp::Text>&& value);
1116 : : inline ::capnp::Orphan< ::capnp::Text> disownResult();
1117 : :
1118 : : private:
1119 : : ::capnp::_::StructBuilder _builder;
1120 : : template <typename, ::capnp::Kind>
1121 : : friend struct ::capnp::ToDynamic_;
1122 : : friend class ::capnp::Orphanage;
1123 : : template <typename, ::capnp::Kind>
1124 : : friend struct ::capnp::_::PointerHelpers;
1125 : : };
1126 : :
1127 : : #if !CAPNP_LITE
1128 [ # # ]: 0 : class IpcFuzzInterface::PassUniValueResults::Pipeline {
1129 : : public:
1130 : : typedef PassUniValueResults Pipelines;
1131 : :
1132 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1133 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1134 : 0 : : _typeless(kj::mv(typeless)) {}
1135 : :
1136 : : private:
1137 : : ::capnp::AnyPointer::Pipeline _typeless;
1138 : : friend class ::capnp::PipelineHook;
1139 : : template <typename, ::capnp::Kind>
1140 : : friend struct ::capnp::ToDynamic_;
1141 : : };
1142 : : #endif // !CAPNP_LITE
1143 : :
1144 : : class IpcFuzzInterface::PassTransactionParams::Reader {
1145 : : public:
1146 : : typedef PassTransactionParams Reads;
1147 : :
1148 : : Reader() = default;
1149 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1150 : :
1151 : : inline ::capnp::MessageSize totalSize() const {
1152 : : return _reader.totalSize().asPublic();
1153 : : }
1154 : :
1155 : : #if !CAPNP_LITE
1156 : 0 : inline ::kj::StringTree toString() const {
1157 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1158 : : }
1159 : : #endif // !CAPNP_LITE
1160 : :
1161 : : inline bool hasArg() const;
1162 : : inline ::capnp::Data::Reader getArg() const;
1163 : :
1164 : : private:
1165 : : ::capnp::_::StructReader _reader;
1166 : : template <typename, ::capnp::Kind>
1167 : : friend struct ::capnp::ToDynamic_;
1168 : : template <typename, ::capnp::Kind>
1169 : : friend struct ::capnp::_::PointerHelpers;
1170 : : template <typename, ::capnp::Kind>
1171 : : friend struct ::capnp::List;
1172 : : friend class ::capnp::MessageBuilder;
1173 : : friend class ::capnp::Orphanage;
1174 : : };
1175 : :
1176 : : class IpcFuzzInterface::PassTransactionParams::Builder {
1177 : : public:
1178 : : typedef PassTransactionParams Builds;
1179 : :
1180 : : Builder() = delete; // Deleted to discourage incorrect usage.
1181 : : // You can explicitly initialize to nullptr instead.
1182 : : inline Builder(decltype(nullptr)) {}
1183 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1184 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
1185 : 0 : inline Reader asReader() const { return *this; }
1186 : :
1187 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1188 : : #if !CAPNP_LITE
1189 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
1190 : : #endif // !CAPNP_LITE
1191 : :
1192 : : inline bool hasArg();
1193 : : inline ::capnp::Data::Builder getArg();
1194 : : inline void setArg( ::capnp::Data::Reader value);
1195 : : inline ::capnp::Data::Builder initArg(unsigned int size);
1196 : : inline void adoptArg(::capnp::Orphan< ::capnp::Data>&& value);
1197 : : inline ::capnp::Orphan< ::capnp::Data> disownArg();
1198 : :
1199 : : private:
1200 : : ::capnp::_::StructBuilder _builder;
1201 : : template <typename, ::capnp::Kind>
1202 : : friend struct ::capnp::ToDynamic_;
1203 : : friend class ::capnp::Orphanage;
1204 : : template <typename, ::capnp::Kind>
1205 : : friend struct ::capnp::_::PointerHelpers;
1206 : : };
1207 : :
1208 : : #if !CAPNP_LITE
1209 : : class IpcFuzzInterface::PassTransactionParams::Pipeline {
1210 : : public:
1211 : : typedef PassTransactionParams Pipelines;
1212 : :
1213 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1214 : : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1215 : : : _typeless(kj::mv(typeless)) {}
1216 : :
1217 : : private:
1218 : : ::capnp::AnyPointer::Pipeline _typeless;
1219 : : friend class ::capnp::PipelineHook;
1220 : : template <typename, ::capnp::Kind>
1221 : : friend struct ::capnp::ToDynamic_;
1222 : : };
1223 : : #endif // !CAPNP_LITE
1224 : :
1225 : : class IpcFuzzInterface::PassTransactionResults::Reader {
1226 : : public:
1227 : : typedef PassTransactionResults Reads;
1228 : :
1229 : : Reader() = default;
1230 : 0 : inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1231 : :
1232 : : inline ::capnp::MessageSize totalSize() const {
1233 : : return _reader.totalSize().asPublic();
1234 : : }
1235 : :
1236 : : #if !CAPNP_LITE
1237 : 0 : inline ::kj::StringTree toString() const {
1238 [ # # ]: 0 : return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1239 : : }
1240 : : #endif // !CAPNP_LITE
1241 : :
1242 : : inline bool hasResult() const;
1243 : : inline ::capnp::Data::Reader getResult() const;
1244 : :
1245 : : private:
1246 : : ::capnp::_::StructReader _reader;
1247 : : template <typename, ::capnp::Kind>
1248 : : friend struct ::capnp::ToDynamic_;
1249 : : template <typename, ::capnp::Kind>
1250 : : friend struct ::capnp::_::PointerHelpers;
1251 : : template <typename, ::capnp::Kind>
1252 : : friend struct ::capnp::List;
1253 : : friend class ::capnp::MessageBuilder;
1254 : : friend class ::capnp::Orphanage;
1255 : : };
1256 : :
1257 : : class IpcFuzzInterface::PassTransactionResults::Builder {
1258 : : public:
1259 : : typedef PassTransactionResults Builds;
1260 : :
1261 : : Builder() = delete; // Deleted to discourage incorrect usage.
1262 : : // You can explicitly initialize to nullptr instead.
1263 : : inline Builder(decltype(nullptr)) {}
1264 : 0 : inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1265 : 0 : inline operator Reader() const { return Reader(_builder.asReader()); }
1266 : 0 : inline Reader asReader() const { return *this; }
1267 : :
1268 : : inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1269 : : #if !CAPNP_LITE
1270 : 0 : inline ::kj::StringTree toString() const { return asReader().toString(); }
1271 : : #endif // !CAPNP_LITE
1272 : :
1273 : : inline bool hasResult();
1274 : : inline ::capnp::Data::Builder getResult();
1275 : : inline void setResult( ::capnp::Data::Reader value);
1276 : : inline ::capnp::Data::Builder initResult(unsigned int size);
1277 : : inline void adoptResult(::capnp::Orphan< ::capnp::Data>&& value);
1278 : : inline ::capnp::Orphan< ::capnp::Data> disownResult();
1279 : :
1280 : : private:
1281 : : ::capnp::_::StructBuilder _builder;
1282 : : template <typename, ::capnp::Kind>
1283 : : friend struct ::capnp::ToDynamic_;
1284 : : friend class ::capnp::Orphanage;
1285 : : template <typename, ::capnp::Kind>
1286 : : friend struct ::capnp::_::PointerHelpers;
1287 : : };
1288 : :
1289 : : #if !CAPNP_LITE
1290 [ # # ]: 0 : class IpcFuzzInterface::PassTransactionResults::Pipeline {
1291 : : public:
1292 : : typedef PassTransactionResults Pipelines;
1293 : :
1294 : : inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1295 : 0 : inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1296 : 0 : : _typeless(kj::mv(typeless)) {}
1297 : :
1298 : : private:
1299 : : ::capnp::AnyPointer::Pipeline _typeless;
1300 : : friend class ::capnp::PipelineHook;
1301 : : template <typename, ::capnp::Kind>
1302 : : friend struct ::capnp::ToDynamic_;
1303 : : };
1304 : : #endif // !CAPNP_LITE
1305 : :
1306 : : // =======================================================================================
1307 : :
1308 : : #if !CAPNP_LITE
1309 : : inline IpcFuzzInterface::Client::Client(decltype(nullptr))
1310 : : : ::capnp::Capability::Client(nullptr) {}
1311 : 1 : inline IpcFuzzInterface::Client::Client(
1312 : : ::kj::Own< ::capnp::ClientHook>&& hook)
1313 [ + - ]: 1 : : ::capnp::Capability::Client(::kj::mv(hook)) {}
1314 : : template <typename _t, typename>
1315 : : inline IpcFuzzInterface::Client::Client(::kj::Own<_t>&& server)
1316 : : : ::capnp::Capability::Client(::kj::mv(server)) {}
1317 : : template <typename _t, typename>
1318 : : inline IpcFuzzInterface::Client::Client(::kj::Promise<_t>&& promise)
1319 : : : ::capnp::Capability::Client(::kj::mv(promise)) {}
1320 : : inline IpcFuzzInterface::Client::Client(::kj::Exception&& exception)
1321 : : : ::capnp::Capability::Client(::kj::mv(exception)) {}
1322 : : inline ::test::fuzz::messages::IpcFuzzInterface::Client& IpcFuzzInterface::Client::operator=(Client& other) {
1323 : : ::capnp::Capability::Client::operator=(other);
1324 : : return *this;
1325 : : }
1326 : : inline ::test::fuzz::messages::IpcFuzzInterface::Client& IpcFuzzInterface::Client::operator=(Client&& other) {
1327 : : ::capnp::Capability::Client::operator=(kj::mv(other));
1328 : : return *this;
1329 : : }
1330 : :
1331 : : #endif // !CAPNP_LITE
1332 : 0 : inline ::int32_t IpcFuzzInterface::AddParams::Reader::getA() const {
1333 [ # # # # ]: 0 : return _reader.getDataField< ::int32_t>(
1334 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
1335 : : }
1336 : :
1337 : : inline ::int32_t IpcFuzzInterface::AddParams::Builder::getA() {
1338 : : return _builder.getDataField< ::int32_t>(
1339 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
1340 : : }
1341 : 0 : inline void IpcFuzzInterface::AddParams::Builder::setA( ::int32_t value) {
1342 : 0 : _builder.setDataField< ::int32_t>(
1343 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
1344 : : }
1345 : :
1346 : 0 : inline ::int32_t IpcFuzzInterface::AddParams::Reader::getB() const {
1347 [ # # # # ]: 0 : return _reader.getDataField< ::int32_t>(
1348 : : ::capnp::bounded<1>() * ::capnp::ELEMENTS);
1349 : : }
1350 : :
1351 : : inline ::int32_t IpcFuzzInterface::AddParams::Builder::getB() {
1352 : : return _builder.getDataField< ::int32_t>(
1353 : : ::capnp::bounded<1>() * ::capnp::ELEMENTS);
1354 : : }
1355 : 0 : inline void IpcFuzzInterface::AddParams::Builder::setB( ::int32_t value) {
1356 : 0 : _builder.setDataField< ::int32_t>(
1357 : : ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
1358 : : }
1359 : :
1360 : 0 : inline ::int32_t IpcFuzzInterface::AddResults::Reader::getResult() const {
1361 [ # # ]: 0 : return _reader.getDataField< ::int32_t>(
1362 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
1363 : : }
1364 : :
1365 : : inline ::int32_t IpcFuzzInterface::AddResults::Builder::getResult() {
1366 : : return _builder.getDataField< ::int32_t>(
1367 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS);
1368 : : }
1369 : 0 : inline void IpcFuzzInterface::AddResults::Builder::setResult( ::int32_t value) {
1370 : 0 : _builder.setDataField< ::int32_t>(
1371 : : ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
1372 : : }
1373 : :
1374 : 0 : inline bool IpcFuzzInterface::PassOutPointParams::Reader::hasArg() const {
1375 [ # # ]: 0 : return !_reader.getPointerField(
1376 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1377 : : }
1378 : : inline bool IpcFuzzInterface::PassOutPointParams::Builder::hasArg() {
1379 : : return !_builder.getPointerField(
1380 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1381 : : }
1382 : 0 : inline ::capnp::Data::Reader IpcFuzzInterface::PassOutPointParams::Reader::getArg() const {
1383 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
1384 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
1385 : : }
1386 : : inline ::capnp::Data::Builder IpcFuzzInterface::PassOutPointParams::Builder::getArg() {
1387 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
1388 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1389 : : }
1390 : : inline void IpcFuzzInterface::PassOutPointParams::Builder::setArg( ::capnp::Data::Reader value) {
1391 : : ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
1392 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
1393 : : }
1394 : 0 : inline ::capnp::Data::Builder IpcFuzzInterface::PassOutPointParams::Builder::initArg(unsigned int size) {
1395 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
1396 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
1397 : : }
1398 : : inline void IpcFuzzInterface::PassOutPointParams::Builder::adoptArg(
1399 : : ::capnp::Orphan< ::capnp::Data>&& value) {
1400 : : ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
1401 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
1402 : : }
1403 : : inline ::capnp::Orphan< ::capnp::Data> IpcFuzzInterface::PassOutPointParams::Builder::disownArg() {
1404 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
1405 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1406 : : }
1407 : :
1408 : 0 : inline bool IpcFuzzInterface::PassOutPointResults::Reader::hasResult() const {
1409 [ # # ]: 0 : return !_reader.getPointerField(
1410 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1411 : : }
1412 : : inline bool IpcFuzzInterface::PassOutPointResults::Builder::hasResult() {
1413 : : return !_builder.getPointerField(
1414 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1415 : : }
1416 : 0 : inline ::capnp::Data::Reader IpcFuzzInterface::PassOutPointResults::Reader::getResult() const {
1417 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
1418 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
1419 : : }
1420 : : inline ::capnp::Data::Builder IpcFuzzInterface::PassOutPointResults::Builder::getResult() {
1421 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
1422 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1423 : : }
1424 : : inline void IpcFuzzInterface::PassOutPointResults::Builder::setResult( ::capnp::Data::Reader value) {
1425 : : ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
1426 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
1427 : : }
1428 : 0 : inline ::capnp::Data::Builder IpcFuzzInterface::PassOutPointResults::Builder::initResult(unsigned int size) {
1429 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
1430 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
1431 : : }
1432 : : inline void IpcFuzzInterface::PassOutPointResults::Builder::adoptResult(
1433 : : ::capnp::Orphan< ::capnp::Data>&& value) {
1434 : : ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
1435 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
1436 : : }
1437 : : inline ::capnp::Orphan< ::capnp::Data> IpcFuzzInterface::PassOutPointResults::Builder::disownResult() {
1438 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
1439 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1440 : : }
1441 : :
1442 : : inline bool IpcFuzzInterface::PassVectorUint8Params::Reader::hasArg() const {
1443 : : return !_reader.getPointerField(
1444 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1445 : : }
1446 : : inline bool IpcFuzzInterface::PassVectorUint8Params::Builder::hasArg() {
1447 : : return !_builder.getPointerField(
1448 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1449 : : }
1450 : 0 : inline ::capnp::Data::Reader IpcFuzzInterface::PassVectorUint8Params::Reader::getArg() const {
1451 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
1452 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
1453 : : }
1454 : : inline ::capnp::Data::Builder IpcFuzzInterface::PassVectorUint8Params::Builder::getArg() {
1455 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
1456 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1457 : : }
1458 : : inline void IpcFuzzInterface::PassVectorUint8Params::Builder::setArg( ::capnp::Data::Reader value) {
1459 : : ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
1460 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
1461 : : }
1462 : 0 : inline ::capnp::Data::Builder IpcFuzzInterface::PassVectorUint8Params::Builder::initArg(unsigned int size) {
1463 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
1464 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
1465 : : }
1466 : : inline void IpcFuzzInterface::PassVectorUint8Params::Builder::adoptArg(
1467 : : ::capnp::Orphan< ::capnp::Data>&& value) {
1468 : : ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
1469 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
1470 : : }
1471 : : inline ::capnp::Orphan< ::capnp::Data> IpcFuzzInterface::PassVectorUint8Params::Builder::disownArg() {
1472 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
1473 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1474 : : }
1475 : :
1476 : : inline bool IpcFuzzInterface::PassVectorUint8Results::Reader::hasResult() const {
1477 : : return !_reader.getPointerField(
1478 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1479 : : }
1480 : : inline bool IpcFuzzInterface::PassVectorUint8Results::Builder::hasResult() {
1481 : : return !_builder.getPointerField(
1482 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1483 : : }
1484 : 0 : inline ::capnp::Data::Reader IpcFuzzInterface::PassVectorUint8Results::Reader::getResult() const {
1485 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
1486 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
1487 : : }
1488 : : inline ::capnp::Data::Builder IpcFuzzInterface::PassVectorUint8Results::Builder::getResult() {
1489 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
1490 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1491 : : }
1492 : : inline void IpcFuzzInterface::PassVectorUint8Results::Builder::setResult( ::capnp::Data::Reader value) {
1493 : : ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
1494 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
1495 : : }
1496 : 0 : inline ::capnp::Data::Builder IpcFuzzInterface::PassVectorUint8Results::Builder::initResult(unsigned int size) {
1497 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
1498 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
1499 : : }
1500 : : inline void IpcFuzzInterface::PassVectorUint8Results::Builder::adoptResult(
1501 : : ::capnp::Orphan< ::capnp::Data>&& value) {
1502 : : ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
1503 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
1504 : : }
1505 : : inline ::capnp::Orphan< ::capnp::Data> IpcFuzzInterface::PassVectorUint8Results::Builder::disownResult() {
1506 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
1507 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1508 : : }
1509 : :
1510 : : inline bool IpcFuzzInterface::PassScriptParams::Reader::hasArg() const {
1511 : : return !_reader.getPointerField(
1512 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1513 : : }
1514 : : inline bool IpcFuzzInterface::PassScriptParams::Builder::hasArg() {
1515 : : return !_builder.getPointerField(
1516 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1517 : : }
1518 : 0 : inline ::capnp::Data::Reader IpcFuzzInterface::PassScriptParams::Reader::getArg() const {
1519 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
1520 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
1521 : : }
1522 : : inline ::capnp::Data::Builder IpcFuzzInterface::PassScriptParams::Builder::getArg() {
1523 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
1524 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1525 : : }
1526 : : inline void IpcFuzzInterface::PassScriptParams::Builder::setArg( ::capnp::Data::Reader value) {
1527 : : ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
1528 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
1529 : : }
1530 : 0 : inline ::capnp::Data::Builder IpcFuzzInterface::PassScriptParams::Builder::initArg(unsigned int size) {
1531 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
1532 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
1533 : : }
1534 : : inline void IpcFuzzInterface::PassScriptParams::Builder::adoptArg(
1535 : : ::capnp::Orphan< ::capnp::Data>&& value) {
1536 : : ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
1537 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
1538 : : }
1539 : : inline ::capnp::Orphan< ::capnp::Data> IpcFuzzInterface::PassScriptParams::Builder::disownArg() {
1540 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
1541 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1542 : : }
1543 : :
1544 : : inline bool IpcFuzzInterface::PassScriptResults::Reader::hasResult() const {
1545 : : return !_reader.getPointerField(
1546 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1547 : : }
1548 : : inline bool IpcFuzzInterface::PassScriptResults::Builder::hasResult() {
1549 : : return !_builder.getPointerField(
1550 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1551 : : }
1552 : 0 : inline ::capnp::Data::Reader IpcFuzzInterface::PassScriptResults::Reader::getResult() const {
1553 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
1554 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
1555 : : }
1556 : : inline ::capnp::Data::Builder IpcFuzzInterface::PassScriptResults::Builder::getResult() {
1557 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
1558 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1559 : : }
1560 : : inline void IpcFuzzInterface::PassScriptResults::Builder::setResult( ::capnp::Data::Reader value) {
1561 : : ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
1562 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
1563 : : }
1564 : 0 : inline ::capnp::Data::Builder IpcFuzzInterface::PassScriptResults::Builder::initResult(unsigned int size) {
1565 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
1566 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
1567 : : }
1568 : : inline void IpcFuzzInterface::PassScriptResults::Builder::adoptResult(
1569 : : ::capnp::Orphan< ::capnp::Data>&& value) {
1570 : : ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
1571 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
1572 : : }
1573 : : inline ::capnp::Orphan< ::capnp::Data> IpcFuzzInterface::PassScriptResults::Builder::disownResult() {
1574 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
1575 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1576 : : }
1577 : :
1578 : : inline bool IpcFuzzInterface::PassUniValueParams::Reader::hasArg() const {
1579 : : return !_reader.getPointerField(
1580 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1581 : : }
1582 : : inline bool IpcFuzzInterface::PassUniValueParams::Builder::hasArg() {
1583 : : return !_builder.getPointerField(
1584 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1585 : : }
1586 : 0 : inline ::capnp::Text::Reader IpcFuzzInterface::PassUniValueParams::Reader::getArg() const {
1587 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
1588 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
1589 : : }
1590 : : inline ::capnp::Text::Builder IpcFuzzInterface::PassUniValueParams::Builder::getArg() {
1591 : : return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
1592 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1593 : : }
1594 : : inline void IpcFuzzInterface::PassUniValueParams::Builder::setArg( ::capnp::Text::Reader value) {
1595 : : ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
1596 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
1597 : : }
1598 : 0 : inline ::capnp::Text::Builder IpcFuzzInterface::PassUniValueParams::Builder::initArg(unsigned int size) {
1599 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
1600 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
1601 : : }
1602 : : inline void IpcFuzzInterface::PassUniValueParams::Builder::adoptArg(
1603 : : ::capnp::Orphan< ::capnp::Text>&& value) {
1604 : : ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
1605 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
1606 : : }
1607 : : inline ::capnp::Orphan< ::capnp::Text> IpcFuzzInterface::PassUniValueParams::Builder::disownArg() {
1608 : : return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
1609 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1610 : : }
1611 : :
1612 : : inline bool IpcFuzzInterface::PassUniValueResults::Reader::hasResult() const {
1613 : : return !_reader.getPointerField(
1614 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1615 : : }
1616 : : inline bool IpcFuzzInterface::PassUniValueResults::Builder::hasResult() {
1617 : : return !_builder.getPointerField(
1618 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1619 : : }
1620 : 0 : inline ::capnp::Text::Reader IpcFuzzInterface::PassUniValueResults::Reader::getResult() const {
1621 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
1622 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
1623 : : }
1624 : : inline ::capnp::Text::Builder IpcFuzzInterface::PassUniValueResults::Builder::getResult() {
1625 : : return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
1626 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1627 : : }
1628 : : inline void IpcFuzzInterface::PassUniValueResults::Builder::setResult( ::capnp::Text::Reader value) {
1629 : : ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
1630 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
1631 : : }
1632 : 0 : inline ::capnp::Text::Builder IpcFuzzInterface::PassUniValueResults::Builder::initResult(unsigned int size) {
1633 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
1634 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
1635 : : }
1636 : : inline void IpcFuzzInterface::PassUniValueResults::Builder::adoptResult(
1637 : : ::capnp::Orphan< ::capnp::Text>&& value) {
1638 : : ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
1639 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
1640 : : }
1641 : : inline ::capnp::Orphan< ::capnp::Text> IpcFuzzInterface::PassUniValueResults::Builder::disownResult() {
1642 : : return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
1643 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1644 : : }
1645 : :
1646 : 0 : inline bool IpcFuzzInterface::PassTransactionParams::Reader::hasArg() const {
1647 [ # # ]: 0 : return !_reader.getPointerField(
1648 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1649 : : }
1650 : : inline bool IpcFuzzInterface::PassTransactionParams::Builder::hasArg() {
1651 : : return !_builder.getPointerField(
1652 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1653 : : }
1654 : 0 : inline ::capnp::Data::Reader IpcFuzzInterface::PassTransactionParams::Reader::getArg() const {
1655 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
1656 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
1657 : : }
1658 : : inline ::capnp::Data::Builder IpcFuzzInterface::PassTransactionParams::Builder::getArg() {
1659 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
1660 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1661 : : }
1662 : : inline void IpcFuzzInterface::PassTransactionParams::Builder::setArg( ::capnp::Data::Reader value) {
1663 : : ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
1664 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
1665 : : }
1666 : 0 : inline ::capnp::Data::Builder IpcFuzzInterface::PassTransactionParams::Builder::initArg(unsigned int size) {
1667 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
1668 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
1669 : : }
1670 : : inline void IpcFuzzInterface::PassTransactionParams::Builder::adoptArg(
1671 : : ::capnp::Orphan< ::capnp::Data>&& value) {
1672 : : ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
1673 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
1674 : : }
1675 : : inline ::capnp::Orphan< ::capnp::Data> IpcFuzzInterface::PassTransactionParams::Builder::disownArg() {
1676 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
1677 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1678 : : }
1679 : :
1680 : 0 : inline bool IpcFuzzInterface::PassTransactionResults::Reader::hasResult() const {
1681 [ # # ]: 0 : return !_reader.getPointerField(
1682 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1683 : : }
1684 : : inline bool IpcFuzzInterface::PassTransactionResults::Builder::hasResult() {
1685 : : return !_builder.getPointerField(
1686 : : ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
1687 : : }
1688 : 0 : inline ::capnp::Data::Reader IpcFuzzInterface::PassTransactionResults::Reader::getResult() const {
1689 [ # # ]: 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
1690 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS));
1691 : : }
1692 : : inline ::capnp::Data::Builder IpcFuzzInterface::PassTransactionResults::Builder::getResult() {
1693 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
1694 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1695 : : }
1696 : : inline void IpcFuzzInterface::PassTransactionResults::Builder::setResult( ::capnp::Data::Reader value) {
1697 : : ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
1698 : : ::capnp::bounded<0>() * ::capnp::POINTERS), value);
1699 : : }
1700 : 0 : inline ::capnp::Data::Builder IpcFuzzInterface::PassTransactionResults::Builder::initResult(unsigned int size) {
1701 : 0 : return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
1702 : 0 : ::capnp::bounded<0>() * ::capnp::POINTERS), size);
1703 : : }
1704 : : inline void IpcFuzzInterface::PassTransactionResults::Builder::adoptResult(
1705 : : ::capnp::Orphan< ::capnp::Data>&& value) {
1706 : : ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
1707 : : ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
1708 : : }
1709 : : inline ::capnp::Orphan< ::capnp::Data> IpcFuzzInterface::PassTransactionResults::Builder::disownResult() {
1710 : : return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
1711 : : ::capnp::bounded<0>() * ::capnp::POINTERS));
1712 : : }
1713 : :
1714 : : } // namespace
1715 : : } // namespace
1716 : : } // namespace
1717 : :
1718 : : CAPNP_END_HEADER
1719 : :
|