Coverage Report

Created: 2018-09-25 14:53

/work/obj-fuzz/ipc/ipdl/ChannelInfo.cpp
Line
Count
Source (jump to first uncovered line)
1
//
2
// Automatically generated by ipdlc.
3
// Edit at your own risk
4
//
5
6
7
#include "mozilla/ipc/ChannelInfo.h"
8
9
10
//-----------------------------------------------------------------------------
11
// Method definitions for the IPDL type |struct IPCChannelInfo|
12
//
13
namespace mozilla {
14
namespace ipc {
15
auto IPCChannelInfo::operator==(const IPCChannelInfo& _o) const -> bool
16
0
{
17
0
    if ((!((securityInfo()) == ((_o).securityInfo())))) {
18
0
        return false;
19
0
    }
20
0
    return true;
21
0
}
22
23
auto IPCChannelInfo::operator!=(const IPCChannelInfo& _o) const -> bool
24
0
{
25
0
    return (!(operator==(_o)));
26
0
}
27
28
} // namespace ipc
29
} // namespace mozilla
30
31
namespace mozilla {
32
namespace ipc {
33
auto IPDLParamTraits<mozilla::ipc::IPCChannelInfo>::Write(
34
        IPC::Message* aMsg,
35
        mozilla::ipc::IProtocol* aActor,
36
        const paramType& aVar) -> void
37
0
{
38
0
    WriteIPDLParam(aMsg, aActor, (aVar).securityInfo());
39
0
    // Sentinel = 'securityInfo'
40
0
    (aMsg)->WriteSentinel(158838750);
41
0
}
42
43
auto IPDLParamTraits<mozilla::ipc::IPCChannelInfo>::Read(
44
        const IPC::Message* aMsg,
45
        PickleIterator* aIter,
46
        mozilla::ipc::IProtocol* aActor,
47
        paramType* aVar) -> bool
48
0
{
49
0
    if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->securityInfo())))))) {
50
0
        (aActor)->FatalError("Error deserializing 'securityInfo' (nsCString) member of 'IPCChannelInfo'");
51
0
        return false;
52
0
    }
53
0
    // Sentinel = 'securityInfo'
54
0
    if ((!((aMsg)->ReadSentinel(aIter, 158838750)))) {
55
0
        mozilla::ipc::SentinelReadError("Error deserializing 'securityInfo' (nsCString) member of 'IPCChannelInfo'");
56
0
        return false;
57
0
    }
58
0
    return true;
59
0
}
60
61
} // namespace ipc
62
} // namespace mozilla