LCOV - code coverage report
Current view: top level - build/src - errnos-sym.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 1 0.0 %
Date: 2016-11-29 14:52:46 Functions: 0 0 -

          Line data    Source code
       1             : /* Output of mkstrtable.awk.  DO NOT EDIT.  */
       2             : 
       3             : /* errnos.in - List of system error values.
       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             : 
      25             : /* The purpose of this complex string table is to produce
      26             :    optimal code with a minimum of relocations.  */
      27             : 
      28             : static const char errnos_msgstr[] = 
      29             :   "GPG_ERR_E2BIG" "\0"
      30             :   "GPG_ERR_EACCES" "\0"
      31             :   "GPG_ERR_EADDRINUSE" "\0"
      32             :   "GPG_ERR_EADDRNOTAVAIL" "\0"
      33             :   "GPG_ERR_EADV" "\0"
      34             :   "GPG_ERR_EAFNOSUPPORT" "\0"
      35             :   "GPG_ERR_EAGAIN" "\0"
      36             :   "GPG_ERR_EALREADY" "\0"
      37             :   "GPG_ERR_EAUTH" "\0"
      38             :   "GPG_ERR_EBACKGROUND" "\0"
      39             :   "GPG_ERR_EBADE" "\0"
      40             :   "GPG_ERR_EBADF" "\0"
      41             :   "GPG_ERR_EBADFD" "\0"
      42             :   "GPG_ERR_EBADMSG" "\0"
      43             :   "GPG_ERR_EBADR" "\0"
      44             :   "GPG_ERR_EBADRPC" "\0"
      45             :   "GPG_ERR_EBADRQC" "\0"
      46             :   "GPG_ERR_EBADSLT" "\0"
      47             :   "GPG_ERR_EBFONT" "\0"
      48             :   "GPG_ERR_EBUSY" "\0"
      49             :   "GPG_ERR_ECANCELED" "\0"
      50             :   "GPG_ERR_ECHILD" "\0"
      51             :   "GPG_ERR_ECHRNG" "\0"
      52             :   "GPG_ERR_ECOMM" "\0"
      53             :   "GPG_ERR_ECONNABORTED" "\0"
      54             :   "GPG_ERR_ECONNREFUSED" "\0"
      55             :   "GPG_ERR_ECONNRESET" "\0"
      56             :   "GPG_ERR_ED" "\0"
      57             :   "GPG_ERR_EDEADLK" "\0"
      58             :   "GPG_ERR_EDEADLOCK" "\0"
      59             :   "GPG_ERR_EDESTADDRREQ" "\0"
      60             :   "GPG_ERR_EDIED" "\0"
      61             :   "GPG_ERR_EDOM" "\0"
      62             :   "GPG_ERR_EDOTDOT" "\0"
      63             :   "GPG_ERR_EDQUOT" "\0"
      64             :   "GPG_ERR_EEXIST" "\0"
      65             :   "GPG_ERR_EFAULT" "\0"
      66             :   "GPG_ERR_EFBIG" "\0"
      67             :   "GPG_ERR_EFTYPE" "\0"
      68             :   "GPG_ERR_EGRATUITOUS" "\0"
      69             :   "GPG_ERR_EGREGIOUS" "\0"
      70             :   "GPG_ERR_EHOSTDOWN" "\0"
      71             :   "GPG_ERR_EHOSTUNREACH" "\0"
      72             :   "GPG_ERR_EIDRM" "\0"
      73             :   "GPG_ERR_EIEIO" "\0"
      74             :   "GPG_ERR_EILSEQ" "\0"
      75             :   "GPG_ERR_EINPROGRESS" "\0"
      76             :   "GPG_ERR_EINTR" "\0"
      77             :   "GPG_ERR_EINVAL" "\0"
      78             :   "GPG_ERR_EIO" "\0"
      79             :   "GPG_ERR_EISCONN" "\0"
      80             :   "GPG_ERR_EISDIR" "\0"
      81             :   "GPG_ERR_EISNAM" "\0"
      82             :   "GPG_ERR_EL2HLT" "\0"
      83             :   "GPG_ERR_EL2NSYNC" "\0"
      84             :   "GPG_ERR_EL3HLT" "\0"
      85             :   "GPG_ERR_EL3RST" "\0"
      86             :   "GPG_ERR_ELIBACC" "\0"
      87             :   "GPG_ERR_ELIBBAD" "\0"
      88             :   "GPG_ERR_ELIBEXEC" "\0"
      89             :   "GPG_ERR_ELIBMAX" "\0"
      90             :   "GPG_ERR_ELIBSCN" "\0"
      91             :   "GPG_ERR_ELNRNG" "\0"
      92             :   "GPG_ERR_ELOOP" "\0"
      93             :   "GPG_ERR_EMEDIUMTYPE" "\0"
      94             :   "GPG_ERR_EMFILE" "\0"
      95             :   "GPG_ERR_EMLINK" "\0"
      96             :   "GPG_ERR_EMSGSIZE" "\0"
      97             :   "GPG_ERR_EMULTIHOP" "\0"
      98             :   "GPG_ERR_ENAMETOOLONG" "\0"
      99             :   "GPG_ERR_ENAVAIL" "\0"
     100             :   "GPG_ERR_ENEEDAUTH" "\0"
     101             :   "GPG_ERR_ENETDOWN" "\0"
     102             :   "GPG_ERR_ENETRESET" "\0"
     103             :   "GPG_ERR_ENETUNREACH" "\0"
     104             :   "GPG_ERR_ENFILE" "\0"
     105             :   "GPG_ERR_ENOANO" "\0"
     106             :   "GPG_ERR_ENOBUFS" "\0"
     107             :   "GPG_ERR_ENOCSI" "\0"
     108             :   "GPG_ERR_ENODATA" "\0"
     109             :   "GPG_ERR_ENODEV" "\0"
     110             :   "GPG_ERR_ENOENT" "\0"
     111             :   "GPG_ERR_ENOEXEC" "\0"
     112             :   "GPG_ERR_ENOLCK" "\0"
     113             :   "GPG_ERR_ENOLINK" "\0"
     114             :   "GPG_ERR_ENOMEDIUM" "\0"
     115             :   "GPG_ERR_ENOMEM" "\0"
     116             :   "GPG_ERR_ENOMSG" "\0"
     117             :   "GPG_ERR_ENONET" "\0"
     118             :   "GPG_ERR_ENOPKG" "\0"
     119             :   "GPG_ERR_ENOPROTOOPT" "\0"
     120             :   "GPG_ERR_ENOSPC" "\0"
     121             :   "GPG_ERR_ENOSR" "\0"
     122             :   "GPG_ERR_ENOSTR" "\0"
     123             :   "GPG_ERR_ENOSYS" "\0"
     124             :   "GPG_ERR_ENOTBLK" "\0"
     125             :   "GPG_ERR_ENOTCONN" "\0"
     126             :   "GPG_ERR_ENOTDIR" "\0"
     127             :   "GPG_ERR_ENOTEMPTY" "\0"
     128             :   "GPG_ERR_ENOTNAM" "\0"
     129             :   "GPG_ERR_ENOTSOCK" "\0"
     130             :   "GPG_ERR_ENOTSUP" "\0"
     131             :   "GPG_ERR_ENOTTY" "\0"
     132             :   "GPG_ERR_ENOTUNIQ" "\0"
     133             :   "GPG_ERR_ENXIO" "\0"
     134             :   "GPG_ERR_EOPNOTSUPP" "\0"
     135             :   "GPG_ERR_EOVERFLOW" "\0"
     136             :   "GPG_ERR_EPERM" "\0"
     137             :   "GPG_ERR_EPFNOSUPPORT" "\0"
     138             :   "GPG_ERR_EPIPE" "\0"
     139             :   "GPG_ERR_EPROCLIM" "\0"
     140             :   "GPG_ERR_EPROCUNAVAIL" "\0"
     141             :   "GPG_ERR_EPROGMISMATCH" "\0"
     142             :   "GPG_ERR_EPROGUNAVAIL" "\0"
     143             :   "GPG_ERR_EPROTO" "\0"
     144             :   "GPG_ERR_EPROTONOSUPPORT" "\0"
     145             :   "GPG_ERR_EPROTOTYPE" "\0"
     146             :   "GPG_ERR_ERANGE" "\0"
     147             :   "GPG_ERR_EREMCHG" "\0"
     148             :   "GPG_ERR_EREMOTE" "\0"
     149             :   "GPG_ERR_EREMOTEIO" "\0"
     150             :   "GPG_ERR_ERESTART" "\0"
     151             :   "GPG_ERR_EROFS" "\0"
     152             :   "GPG_ERR_ERPCMISMATCH" "\0"
     153             :   "GPG_ERR_ESHUTDOWN" "\0"
     154             :   "GPG_ERR_ESOCKTNOSUPPORT" "\0"
     155             :   "GPG_ERR_ESPIPE" "\0"
     156             :   "GPG_ERR_ESRCH" "\0"
     157             :   "GPG_ERR_ESRMNT" "\0"
     158             :   "GPG_ERR_ESTALE" "\0"
     159             :   "GPG_ERR_ESTRPIPE" "\0"
     160             :   "GPG_ERR_ETIME" "\0"
     161             :   "GPG_ERR_ETIMEDOUT" "\0"
     162             :   "GPG_ERR_ETOOMANYREFS" "\0"
     163             :   "GPG_ERR_ETXTBSY" "\0"
     164             :   "GPG_ERR_EUCLEAN" "\0"
     165             :   "GPG_ERR_EUNATCH" "\0"
     166             :   "GPG_ERR_EUSERS" "\0"
     167             :   "GPG_ERR_EWOULDBLOCK" "\0"
     168             :   "GPG_ERR_EXDEV" "\0"
     169             :   "GPG_ERR_EXFULL";
     170             : 
     171             : static const int errnos_msgidx[] =
     172             :   {
     173             :     0,
     174             :     14,
     175             :     29,
     176             :     48,
     177             :     70,
     178             :     83,
     179             :     104,
     180             :     119,
     181             :     136,
     182             :     150,
     183             :     170,
     184             :     184,
     185             :     198,
     186             :     213,
     187             :     229,
     188             :     243,
     189             :     259,
     190             :     275,
     191             :     291,
     192             :     306,
     193             :     320,
     194             :     338,
     195             :     353,
     196             :     368,
     197             :     382,
     198             :     403,
     199             :     424,
     200             :     443,
     201             :     454,
     202             :     470,
     203             :     488,
     204             :     509,
     205             :     523,
     206             :     536,
     207             :     552,
     208             :     567,
     209             :     582,
     210             :     597,
     211             :     611,
     212             :     626,
     213             :     646,
     214             :     664,
     215             :     682,
     216             :     703,
     217             :     717,
     218             :     731,
     219             :     746,
     220             :     766,
     221             :     780,
     222             :     795,
     223             :     807,
     224             :     823,
     225             :     838,
     226             :     853,
     227             :     868,
     228             :     885,
     229             :     900,
     230             :     915,
     231             :     931,
     232             :     947,
     233             :     964,
     234             :     980,
     235             :     996,
     236             :     1011,
     237             :     1025,
     238             :     1045,
     239             :     1060,
     240             :     1075,
     241             :     1092,
     242             :     1110,
     243             :     1131,
     244             :     1147,
     245             :     1165,
     246             :     1182,
     247             :     1200,
     248             :     1220,
     249             :     1235,
     250             :     1250,
     251             :     1266,
     252             :     1281,
     253             :     1297,
     254             :     1312,
     255             :     1327,
     256             :     1343,
     257             :     1358,
     258             :     1374,
     259             :     1392,
     260             :     1407,
     261             :     1422,
     262             :     1437,
     263             :     1452,
     264             :     1472,
     265             :     1487,
     266             :     1501,
     267             :     1516,
     268             :     1531,
     269             :     1547,
     270             :     1564,
     271             :     1580,
     272             :     1598,
     273             :     1614,
     274             :     1631,
     275             :     1647,
     276             :     1662,
     277             :     1679,
     278             :     1693,
     279             :     1712,
     280             :     1730,
     281             :     1744,
     282             :     1765,
     283             :     1779,
     284             :     1796,
     285             :     1817,
     286             :     1839,
     287             :     1860,
     288             :     1875,
     289             :     1899,
     290             :     1918,
     291             :     1933,
     292             :     1949,
     293             :     1965,
     294             :     1983,
     295             :     2000,
     296             :     2014,
     297             :     2035,
     298             :     2053,
     299             :     2077,
     300             :     2092,
     301             :     2106,
     302             :     2121,
     303             :     2136,
     304             :     2153,
     305             :     2167,
     306             :     2185,
     307             :     2206,
     308             :     2222,
     309             :     2238,
     310             :     2254,
     311             :     2269,
     312             :     2289,
     313             :     2303,
     314             :     
     315             :   };
     316             : 
     317             : static GPG_ERR_INLINE int
     318             : errnos_msgidxof (int code)
     319             : {
     320             :   return (0 ? 0
     321           0 :   : ((code >= 0) && (code <= 140)) ? (code - 0)
     322             :   : -1);
     323             : }

Generated by: LCOV version 1.11