PageRenderTime 54ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/pypy/translator/jvm/src/pypy/Constants.java

https://bitbucket.org/dac_io/pypy
Java | 132 lines | 129 code | 3 blank | 0 comment | 0 complexity | 1c725f4bbb6379e2229cd27e929dc694 MD5 | raw file
  1. package pypy;
  2. public interface Constants {
  3. public static final int EPERM = 1; // Operation not permitted
  4. public static final int ENOENT = 2; // No such file or directory
  5. public static final int ESRCH = 3; // No such process
  6. public static final int EINTR = 4; // Interrupted system call
  7. public static final int EIO = 5; // I/O error
  8. public static final int ENXIO = 6; // No such device or address
  9. public static final int E2BIG = 7; // Arg list too long
  10. public static final int ENOEXEC = 8; // Exec format error
  11. public static final int EBADF = 9; // Bad file number
  12. public static final int ECHILD = 10; // No child processes
  13. public static final int EAGAIN = 11; // Try again
  14. public static final int ENOMEM = 12; // Out of memory
  15. public static final int EACCES = 13; // Permission denied
  16. public static final int EFAULT = 14; // Bad address
  17. public static final int ENOTBLK = 15; // Block device required
  18. public static final int EBUSY = 16; // Device or resource busy
  19. public static final int EEXIST = 17; // File exists
  20. public static final int EXDEV = 18; // Cross-device link
  21. public static final int ENODEV = 19; // No such device
  22. public static final int ENOTDIR = 20; // Not a directory
  23. public static final int EISDIR = 21; // Is a directory
  24. public static final int EINVAL = 22; // Invalid argument
  25. public static final int ENFILE = 23; // File table overflow
  26. public static final int EMFILE = 24; // Too many open files
  27. public static final int ENOTTY = 25; // Not a typewriter
  28. public static final int ETXTBSY = 26; // Text file busy
  29. public static final int EFBIG = 27; // File too large
  30. public static final int ENOSPC = 28; // No space left on device
  31. public static final int ESPIPE = 29; // Illegal seek
  32. public static final int EROFS = 30; // Read-only file system
  33. public static final int EMLINK = 31; // Too many links
  34. public static final int EPIPE = 32; // Broken pipe
  35. public static final int EDOM = 33; // Math argument out of domain of func
  36. public static final int ERANGE = 34; // Math result not representable
  37. public static final int EDEADLK = 35; // Resource deadlock would occur
  38. public static final int ENAMETOOLONG = 36; // File name too long
  39. public static final int ENOLCK = 37; // No record locks available
  40. public static final int ENOSYS = 38; // Function not implemented
  41. public static final int ENOTEMPTY = 39; // Directory not empty
  42. public static final int ELOOP = 40; // Too many symbolic links encountered
  43. public static final int EWOULDBLOCK = EAGAIN; // Operation would block
  44. public static final int ENOMSG = 42; // No message of desired type
  45. public static final int EIDRM = 43; // Identifier removed
  46. public static final int ECHRNG = 44; // Channel number out of range
  47. public static final int EL2NSYNC = 45; // Level 2 not synchronized
  48. public static final int EL3HLT = 46; // Level 3 halted
  49. public static final int EL3RST = 47; // Level 3 reset
  50. public static final int ELNRNG = 48; // Link number out of range
  51. public static final int EUNATCH = 49; // Protocol driver not attached
  52. public static final int ENOCSI = 50; // No CSI structure available
  53. public static final int EL2HLT = 51; // Level 2 halted
  54. public static final int EBADE = 52; // Invalid exchange
  55. public static final int EBADR = 53; // Invalid request descriptor
  56. public static final int EXFULL = 54; // Exchange full
  57. public static final int ENOANO = 55; // No anode
  58. public static final int EBADRQC = 56; // Invalid request code
  59. public static final int EBADSLT = 57; // Invalid slot
  60. public static final int EDEADLOCK = EDEADLK;
  61. public static final int EBFONT = 59; // Bad font file format
  62. public static final int ENOSTR = 60; // Device not a stream
  63. public static final int ENODATA = 61; // No data available
  64. public static final int ETIME = 62; // Timer expired
  65. public static final int ENOSR = 63; // Out of streams resources
  66. public static final int ENONET = 64; // Machine is not on the network
  67. public static final int ENOPKG = 65; // Package not installed
  68. public static final int EREMOTE = 66; // Object is remote
  69. public static final int ENOLINK = 67; // Link has been severed
  70. public static final int EADV = 68; // Advertise error
  71. public static final int ESRMNT = 69; // Srmount error
  72. public static final int ECOMM = 70; // Communication error on send
  73. public static final int EPROTO = 71; // Protocol error
  74. public static final int EMULTIHOP = 72; // Multihop attempted
  75. public static final int EDOTDOT = 73; // RFS specific error
  76. public static final int EBADMSG = 74; // Not a data message
  77. public static final int EOVERFLOW = 75; // Value too large for defined data type
  78. public static final int ENOTUNIQ = 76; // Name not unique on network
  79. public static final int EBADFD = 77; // File descriptor in bad state
  80. public static final int EREMCHG = 78; // Remote address changed
  81. public static final int ELIBACC = 79; // Can not access a needed shared library
  82. public static final int ELIBBAD = 80; // Accessing a corrupted shared library
  83. public static final int ELIBSCN = 81; // .lib section in a.out corrupted
  84. public static final int ELIBMAX = 82; // Attempting to link in too many shared libraries
  85. public static final int ELIBEXEC = 83; // Cannot exec a shared library directly
  86. public static final int EILSEQ = 84; // Illegal byte sequence
  87. public static final int ERESTART = 85; // Interrupted system call should be restarted
  88. public static final int ESTRPIPE = 86; // Streams pipe error
  89. public static final int EUSERS = 87; // Too many users
  90. public static final int ENOTSOCK = 88; // Socket operation on non-socket
  91. public static final int EDESTADDRREQ = 89; // Destination address required
  92. public static final int EMSGSIZE = 90; // Message too long
  93. public static final int EPROTOTYPE = 91; // Protocol wrong type for socket
  94. public static final int ENOPROTOOPT = 92; // Protocol not available
  95. public static final int EPROTONOSUPPORT = 93; // Protocol not supported
  96. public static final int ESOCKTNOSUPPORT = 94; // Socket type not supported
  97. public static final int EOPNOTSUPP = 95; // Operation not supported on transport endpoint
  98. public static final int EPFNOSUPPORT = 96; // Protocol family not supported
  99. public static final int EAFNOSUPPORT = 97; // Address family not supported by protocol
  100. public static final int EADDRINUSE = 98; // Address already in use
  101. public static final int EADDRNOTAVAIL = 99; // Cannot assign requested address
  102. public static final int ENETDOWN = 100; // Network is down
  103. public static final int ENETUNREACH = 101; // Network is unreachable
  104. public static final int ENETRESET = 102; // Network dropped connection because of reset
  105. public static final int ECONNABORTED = 103; // Software caused connection abort
  106. public static final int ECONNRESET = 104; // Connection reset by peer
  107. public static final int ENOBUFS = 105; // No buffer space available
  108. public static final int EISCONN = 106; // Transport endpoint is already connected
  109. public static final int ENOTCONN = 107; // Transport endpoint is not connected
  110. public static final int ESHUTDOWN = 108; // Cannot send after transport endpoint shutdown
  111. public static final int ETOOMANYREFS = 109; // Too many references: cannot splice
  112. public static final int ETIMEDOUT = 110; // Connection timed out
  113. public static final int ECONNREFUSED = 111; // Connection refused
  114. public static final int EHOSTDOWN = 112; // Host is down
  115. public static final int EHOSTUNREACH = 113; // No route to host
  116. public static final int EALREADY = 114; // Operation already in progress
  117. public static final int EINPROGRESS = 115; // Operation now in progress
  118. public static final int ESTALE = 116; // Stale NFS file handle
  119. public static final int EUCLEAN = 117; // Structure needs cleaning
  120. public static final int ENOTNAM = 118; // Not a XENIX named type file
  121. public static final int ENAVAIL = 119; // No XENIX semaphores available
  122. public static final int EISNAM = 120; // Is a named type file
  123. public static final int EREMOTEIO = 121; // Remote I/O error
  124. public static final int EDQUOT = 122; // Quota exceeded
  125. public static final int ENOMEDIUM = 123; // No medium found
  126. public static final int EMEDIUMTYPE = 124; // Wrong medium type
  127. public static final int S_IFDIR = 16384;
  128. public static final int S_IFREG = 32768;
  129. }