LCOV - code coverage report
Current view: top level - src - err-sources.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 3 33.3 %
Date: 2016-09-12 12:19:50 Functions: 0 0 -

          Line data    Source code
       1             : /* Output of mkstrtable.awk.  DO NOT EDIT.  */
       2             : 
       3             : /* err-sources.h - List of error sources and their description.
       4             :    Copyright (C) 2003, 2004 g10 Code GmbH
       5             : 
       6             :    This file is part of libgpg-error.
       7             : 
       8             :    libgpg-error is free software; you can redistribute it and/or
       9             :    modify it under the terms of the GNU Lesser General Public License
      10             :    as published by the Free Software Foundation; either version 2.1 of
      11             :    the License, or (at your option) any later version.
      12             : 
      13             :    libgpg-error is distributed in the hope that it will be useful, but
      14             :    WITHOUT ANY WARRANTY; without even the implied warranty of
      15             :    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      16             :    Lesser General Public License for more details.
      17             : 
      18             :    You should have received a copy of the GNU Lesser General Public
      19             :    License along with libgpg-error; if not, write to the Free
      20             :    Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
      21             :    02111-1307, USA.  */
      22             : 
      23             : 
      24             : /* The purpose of this complex string table is to produce
      25             :    optimal code with a minimum of relocations.  */
      26             : 
      27             : static const char msgstr[] = 
      28             :   gettext_noop ("Unspecified source") "\0"
      29             :   gettext_noop ("gcrypt") "\0"
      30             :   gettext_noop ("GnuPG") "\0"
      31             :   gettext_noop ("GpgSM") "\0"
      32             :   gettext_noop ("GPG Agent") "\0"
      33             :   gettext_noop ("Pinentry") "\0"
      34             :   gettext_noop ("SCD") "\0"
      35             :   gettext_noop ("GPGME") "\0"
      36             :   gettext_noop ("Keybox") "\0"
      37             :   gettext_noop ("KSBA") "\0"
      38             :   gettext_noop ("Dirmngr") "\0"
      39             :   gettext_noop ("GSTI") "\0"
      40             :   gettext_noop ("GPA") "\0"
      41             :   gettext_noop ("Kleopatra") "\0"
      42             :   gettext_noop ("G13") "\0"
      43             :   gettext_noop ("Assuan") "\0"
      44             :   gettext_noop ("TLS") "\0"
      45             :   gettext_noop ("Any source") "\0"
      46             :   gettext_noop ("User defined source 1") "\0"
      47             :   gettext_noop ("User defined source 2") "\0"
      48             :   gettext_noop ("User defined source 3") "\0"
      49             :   gettext_noop ("User defined source 4") "\0"
      50             :   gettext_noop ("Unknown source");
      51             : 
      52             : static const int msgidx[] =
      53             :   {
      54             :     0,
      55             :     19,
      56             :     26,
      57             :     32,
      58             :     38,
      59             :     48,
      60             :     57,
      61             :     61,
      62             :     67,
      63             :     74,
      64             :     79,
      65             :     87,
      66             :     92,
      67             :     96,
      68             :     106,
      69             :     110,
      70             :     117,
      71             :     121,
      72             :     132,
      73             :     154,
      74             :     176,
      75             :     198,
      76             :     220
      77             :   };
      78             : 
      79             : static GPG_ERR_INLINE int
      80             : msgidxof (int code)
      81             : {
      82             :   return (0 ? 0
      83           9 :   : ((code >= 0) && (code <= 15)) ? (code - 0)
      84             :   : ((code >= 17) && (code <= 17)) ? (code - 1)
      85           0 :   : ((code >= 31) && (code <= 35)) ? (code - 14)
      86           0 :   : 36 - 14);
      87             : }

Generated by: LCOV version 1.11