LCOV - code coverage report
Current view: directory - objdir/ipc/ipdl - PCrashReporter.cpp (source / functions) Found Hit Coverage
Test: app.info Lines: 36 0 0.0 %
Date: 2012-06-02 Functions: 6 0 0.0 %

       1                 : //
       2                 : // Automatically generated by ipdlc.
       3                 : // Edit at your own risk
       4                 : //
       5                 : 
       6                 : 
       7                 : #include "mozilla/dom/PCrashReporter.h"
       8                 : 
       9                 : namespace mozilla {
      10                 : namespace dom {
      11                 : namespace PCrashReporter {
      12                 : 
      13                 : bool
      14               0 : Transition(
      15                 :         State from,
      16                 :         mozilla::ipc::Trigger trigger,
      17                 :         State* next)
      18                 : {
      19               0 :     switch (from) {
      20                 :     case __Null:
      21                 :     case __Error:
      22               0 :         if ((Msg___delete____ID) == ((trigger).mMsg)) {
      23               0 :             (*(next)) = __Dead;
      24               0 :             return true;
      25                 :         }
      26               0 :         return (__Null) == (from);
      27                 :     case __Dead:
      28               0 :         NS_RUNTIMEABORT("__delete__()d actor");
      29               0 :         return false;
      30                 :     default:
      31               0 :         NS_RUNTIMEABORT("corrupted actor state");
      32               0 :         return false;
      33                 :     }
      34                 :     (*(next)) = __Error;
      35                 :     return false;
      36                 : }
      37                 : 
      38                 : } // namespace PCrashReporter
      39                 : } // namespace dom
      40                 : } // namespace mozilla
      41                 : 
      42                 : //-----------------------------------------------------------------------------
      43                 : // Method definitions for the IPDL type |struct Mapping|
      44                 : //
      45                 : namespace mozilla {
      46                 : namespace dom {
      47               0 : Mapping::Mapping()
      48                 : {
      49               0 :     Init();
      50               0 : }
      51                 : 
      52               0 : Mapping::~Mapping()
      53                 : {
      54               0 : }
      55                 : 
      56                 : bool
      57               0 : Mapping::operator==(const Mapping& _o) const
      58                 : {
      59               0 :     if ((!((library_name()) == ((_o).library_name())))) {
      60               0 :         return false;
      61                 :     }
      62               0 :     if ((!((file_id()) == ((_o).file_id())))) {
      63               0 :         return false;
      64                 :     }
      65               0 :     if ((!((start_address()) == ((_o).start_address())))) {
      66               0 :         return false;
      67                 :     }
      68               0 :     if ((!((mapping_length()) == ((_o).mapping_length())))) {
      69               0 :         return false;
      70                 :     }
      71               0 :     if ((!((file_offset()) == ((_o).file_offset())))) {
      72               0 :         return false;
      73                 :     }
      74               0 :     return true;
      75                 : }
      76                 : 
      77                 : void
      78               0 : Mapping::Init()
      79                 : {
      80               0 : }
      81                 : 
      82                 : void
      83               0 : Mapping::Assign(
      84                 :         const nsCString& _library_name,
      85                 :         const nsCString& _file_id,
      86                 :         const uintptr_t& _start_address,
      87                 :         const size_t& _mapping_length,
      88                 :         const size_t& _file_offset)
      89                 : {
      90               0 :     library_name_ = _library_name;
      91               0 :     file_id_ = _file_id;
      92               0 :     start_address_ = _start_address;
      93               0 :     mapping_length_ = _mapping_length;
      94               0 :     file_offset_ = _file_offset;
      95               0 : }
      96                 : 
      97                 : } // namespace dom
      98                 : } // namespace mozilla

Generated by: LCOV version 1.7