LCOV - code coverage report
Current view: top level - nsprpub/pr/include - prerr.h (source / functions) Hit Total Coverage
Test: output.info Lines: 1 1 100.0 %
Date: 2017-07-14 16:53:18 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* This Source Code Form is subject to the terms of the Mozilla Public
       3             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       4             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       5             : 
       6             : #ifndef prerr_h___
       7             : #define prerr_h___
       8             : 
       9             : /*
      10             :  *
      11             :  * prerr.h
      12             :  * This file is automatically generated; please do not edit it.
      13             :  */
      14             : 
      15             : /* Memory allocation attempt failed */
      16             : #define PR_OUT_OF_MEMORY_ERROR                   (-6000L)
      17             : 
      18             : /* Invalid file descriptor */
      19             : #define PR_BAD_DESCRIPTOR_ERROR                  (-5999L)
      20             : 
      21             : /* The operation would have blocked */
      22             : #define PR_WOULD_BLOCK_ERROR                     (-5998L)
      23             : 
      24             : /* Invalid memory address argument */
      25             : #define PR_ACCESS_FAULT_ERROR                    (-5997L)
      26             : 
      27             : /* Invalid function for file type */
      28             : #define PR_INVALID_METHOD_ERROR                  (-5996L)
      29             : 
      30             : /* Invalid memory address argument */
      31             : #define PR_ILLEGAL_ACCESS_ERROR                  (-5995L)
      32             : 
      33             : /* Some unknown error has occurred */
      34             : #define PR_UNKNOWN_ERROR                         (-5994L)
      35             : 
      36             : /* Operation interrupted by another thread */
      37             : #define PR_PENDING_INTERRUPT_ERROR               (-5993L)
      38             : 
      39             : /* function not implemented */
      40             : #define PR_NOT_IMPLEMENTED_ERROR                 (-5992L)
      41             : 
      42             : /* I/O function error */
      43             : #define PR_IO_ERROR                              (-5991L)
      44             : 
      45             : /* I/O operation timed out */
      46             : #define PR_IO_TIMEOUT_ERROR                      (-5990L)
      47             : 
      48             : /* I/O operation on busy file descriptor */
      49             : #define PR_IO_PENDING_ERROR                      (-5989L)
      50             : 
      51             : /* The directory could not be opened */
      52             : #define PR_DIRECTORY_OPEN_ERROR                  (-5988L)
      53             : 
      54             : /* Invalid function argument */
      55             : #define PR_INVALID_ARGUMENT_ERROR                (-5987L)
      56             : 
      57             : /* Network address not available (in use?) */
      58             : #define PR_ADDRESS_NOT_AVAILABLE_ERROR           (-5986L)
      59             : 
      60             : /* Network address type not supported */
      61             : #define PR_ADDRESS_NOT_SUPPORTED_ERROR           (-5985L)
      62             : 
      63             : /* Already connected */
      64             : #define PR_IS_CONNECTED_ERROR                    (-5984L)
      65             : 
      66             : /* Network address is invalid */
      67             : #define PR_BAD_ADDRESS_ERROR                     (-5983L)
      68             : 
      69             : /* Local Network address is in use */
      70             : #define PR_ADDRESS_IN_USE_ERROR                  (-5982L)
      71             : 
      72             : /* Connection refused by peer */
      73             : #define PR_CONNECT_REFUSED_ERROR                 (-5981L)
      74             : 
      75             : /* Network address is presently unreachable */
      76             : #define PR_NETWORK_UNREACHABLE_ERROR             (-5980L)
      77             : 
      78             : /* Connection attempt timed out */
      79             : #define PR_CONNECT_TIMEOUT_ERROR                 (-5979L)
      80             : 
      81             : /* Network file descriptor is not connected */
      82             : #define PR_NOT_CONNECTED_ERROR                   (-5978L)
      83             : 
      84             : /* Failure to load dynamic library */
      85             : #define PR_LOAD_LIBRARY_ERROR                    (-5977L)
      86             : 
      87             : /* Failure to unload dynamic library */
      88             : #define PR_UNLOAD_LIBRARY_ERROR                  (-5976L)
      89             : 
      90             : /* Symbol not found in any of the loaded dynamic libraries */
      91             : #define PR_FIND_SYMBOL_ERROR                     (-5975L)
      92             : 
      93             : /* Insufficient system resources */
      94             : #define PR_INSUFFICIENT_RESOURCES_ERROR          (-5974L)
      95             : 
      96             : /* A directory lookup on a network address has failed */
      97             : #define PR_DIRECTORY_LOOKUP_ERROR                (-5973L)
      98             : 
      99             : /* Attempt to access a TPD key that is out of range */
     100             : #define PR_TPD_RANGE_ERROR                       (-5972L)
     101             : 
     102             : /* Process open FD table is full */
     103             : #define PR_PROC_DESC_TABLE_FULL_ERROR            (-5971L)
     104             : 
     105             : /* System open FD table is full */
     106             : #define PR_SYS_DESC_TABLE_FULL_ERROR             (-5970L)
     107             : 
     108             : /* Network operation attempted on non-network file descriptor */
     109             : #define PR_NOT_SOCKET_ERROR                      (-5969L)
     110             : 
     111             : /* TCP-specific function attempted on a non-TCP file descriptor */
     112             : #define PR_NOT_TCP_SOCKET_ERROR                  (-5968L)
     113             : 
     114             : /* TCP file descriptor is already bound */
     115             : #define PR_SOCKET_ADDRESS_IS_BOUND_ERROR         (-5967L)
     116             : 
     117             : /* Access Denied */
     118             : #define PR_NO_ACCESS_RIGHTS_ERROR                (-5966L)
     119             : 
     120             : /* The requested operation is not supported by the platform */
     121             : #define PR_OPERATION_NOT_SUPPORTED_ERROR         (-5965L)
     122             : 
     123             : /* The host operating system does not support the protocol requested */
     124             : #define PR_PROTOCOL_NOT_SUPPORTED_ERROR          (-5964L)
     125             : 
     126             : /* Access to the remote file has been severed */
     127             : #define PR_REMOTE_FILE_ERROR                     (-5963L)
     128             : 
     129             : /* The value requested is too large to be stored in the data buffer provided */
     130             : #define PR_BUFFER_OVERFLOW_ERROR                 (-5962L)
     131             : 
     132             : /* TCP connection reset by peer */
     133             : #define PR_CONNECT_RESET_ERROR                   (-5961L)
     134             : 
     135             : /* Unused */
     136             : #define PR_RANGE_ERROR                           (-5960L)
     137             : 
     138             : /* The operation would have deadlocked */
     139             : #define PR_DEADLOCK_ERROR                        (-5959L)
     140             : 
     141             : /* The file is already locked */
     142             : #define PR_FILE_IS_LOCKED_ERROR                  (-5958L)
     143             : 
     144             : /* Write would result in file larger than the system allows */
     145             : #define PR_FILE_TOO_BIG_ERROR                    (-5957L)
     146             : 
     147             : /* The device for storing the file is full */
     148             : #define PR_NO_DEVICE_SPACE_ERROR                 (-5956L)
     149             : 
     150             : /* Unused */
     151             : #define PR_PIPE_ERROR                            (-5955L)
     152             : 
     153             : /* Unused */
     154             : #define PR_NO_SEEK_DEVICE_ERROR                  (-5954L)
     155             : 
     156             : /* Cannot perform a normal file operation on a directory */
     157             : #define PR_IS_DIRECTORY_ERROR                    (-5953L)
     158             : 
     159             : /* Symbolic link loop */
     160             : #define PR_LOOP_ERROR                            (-5952L)
     161             : 
     162             : /* File name is too long */
     163             : #define PR_NAME_TOO_LONG_ERROR                   (-5951L)
     164             : 
     165             : /* File not found */
     166             : #define PR_FILE_NOT_FOUND_ERROR                  (-5950L)
     167             : 
     168             : /* Cannot perform directory operation on a normal file */
     169             : #define PR_NOT_DIRECTORY_ERROR                   (-5949L)
     170             : 
     171             : /* Cannot write to a read-only file system */
     172             : #define PR_READ_ONLY_FILESYSTEM_ERROR            (-5948L)
     173             : 
     174             : /* Cannot delete a directory that is not empty */
     175             : #define PR_DIRECTORY_NOT_EMPTY_ERROR             (-5947L)
     176             : 
     177             : /* Cannot delete or rename a file object while the file system is busy */
     178             : #define PR_FILESYSTEM_MOUNTED_ERROR              (-5946L)
     179             : 
     180             : /* Cannot rename a file to a file system on another device */
     181             : #define PR_NOT_SAME_DEVICE_ERROR                 (-5945L)
     182             : 
     183             : /* The directory object in the file system is corrupted */
     184             : #define PR_DIRECTORY_CORRUPTED_ERROR             (-5944L)
     185             : 
     186             : /* Cannot create or rename a filename that already exists */
     187             : #define PR_FILE_EXISTS_ERROR                     (-5943L)
     188             : 
     189             : /* Directory is full.  No additional filenames may be added */
     190             : #define PR_MAX_DIRECTORY_ENTRIES_ERROR           (-5942L)
     191             : 
     192             : /* The required device was in an invalid state */
     193             : #define PR_INVALID_DEVICE_STATE_ERROR            (-5941L)
     194             : 
     195             : /* The device is locked */
     196             : #define PR_DEVICE_IS_LOCKED_ERROR                (-5940L)
     197             : 
     198             : /* No more entries in the directory */
     199             : #define PR_NO_MORE_FILES_ERROR                   (-5939L)
     200             : 
     201             : /* Encountered end of file */
     202             : #define PR_END_OF_FILE_ERROR                     (-5938L)
     203             : 
     204             : /* Seek error */
     205             : #define PR_FILE_SEEK_ERROR                       (-5937L)
     206             : 
     207             : /* The file is busy */
     208             : #define PR_FILE_IS_BUSY_ERROR                    (-5936L)
     209             : 
     210             : /* The I/O operation was aborted */
     211             : #define PR_OPERATION_ABORTED_ERROR               (-5935L)
     212             : 
     213             : /* Operation is still in progress (probably a non-blocking connect) */
     214             : #define PR_IN_PROGRESS_ERROR                     (-5934L)
     215             : 
     216             : /* Operation has already been initiated (probably a non-blocking connect) */
     217             : #define PR_ALREADY_INITIATED_ERROR               (-5933L)
     218             : 
     219             : /* The wait group is empty */
     220             : #define PR_GROUP_EMPTY_ERROR                     (-5932L)
     221             : 
     222             : /* Object state improper for request */
     223             : #define PR_INVALID_STATE_ERROR                   (-5931L)
     224             : 
     225             : /* Network is down */
     226             : #define PR_NETWORK_DOWN_ERROR                    (-5930L)
     227             : 
     228             : /* Socket shutdown */
     229             : #define PR_SOCKET_SHUTDOWN_ERROR                 (-5929L)
     230             : 
     231             : /* Connection aborted */
     232             : #define PR_CONNECT_ABORTED_ERROR                 (-5928L)
     233             : 
     234             : /* Host is unreachable */
     235             : #define PR_HOST_UNREACHABLE_ERROR                (-5927L)
     236             : 
     237             : /* The library is not loaded */
     238             : #define PR_LIBRARY_NOT_LOADED_ERROR              (-5926L)
     239             : 
     240             : /* The one-time function was previously called and failed. Its error code is no longer available */
     241             : #define PR_CALL_ONCE_ERROR                       (-5925L)
     242             : 
     243             : /* Placeholder for the end of the list */
     244             : #define PR_MAX_ERROR                             (-5924L)
     245             : 
     246           3 : extern void nspr_InitializePRErrorTable(void);
     247             : #define ERROR_TABLE_BASE_nspr (-6000L)
     248             : 
     249             : #endif /* prerr_h___ */

Generated by: LCOV version 1.13