| 1 |
// WARNING: This file is autogenerated. DO NOT EDIT! |
| 2 |
// Generated 2021-10-08 17:37:33 +0200 |
| 3 |
package jnr.constants.platform.freebsd.aarch64; |
| 4 |
public enum Fcntl implements jnr.constants.Constant { |
| 5 |
FAPPEND(8L), |
| 6 |
FREAD(1L), |
| 7 |
FWRITE(2L), |
| 8 |
FASYNC(64L), |
| 9 |
FFSYNC(128L), |
| 10 |
FNONBLOCK(4L), |
| 11 |
FNDELAY(4L), |
| 12 |
F_DUPFD(0L), |
| 13 |
F_GETFD(1L), |
| 14 |
F_SETFD(2L), |
| 15 |
F_GETFL(3L), |
| 16 |
F_SETFL(4L), |
| 17 |
F_GETOWN(5L), |
| 18 |
F_SETOWN(6L), |
| 19 |
F_GETLK(11L), |
| 20 |
F_SETLK(12L), |
| 21 |
F_SETLKW(13L), |
| 22 |
// F_CHKCLEAN not defined |
| 23 |
// F_PREALLOCATE not defined |
| 24 |
// F_SETSIZE not defined |
| 25 |
// F_RDADVISE not defined |
| 26 |
F_RDAHEAD(16L), |
| 27 |
// F_READBOOTSTRAP not defined |
| 28 |
// F_WRITEBOOTSTRAP not defined |
| 29 |
// F_NOCACHE not defined |
| 30 |
// F_LOG2PHYS not defined |
| 31 |
// F_GETPATH not defined |
| 32 |
// F_FULLFSYNC not defined |
| 33 |
// F_PATHPKG_CHECK not defined |
| 34 |
// F_FREEZE_FS not defined |
| 35 |
// F_THAW_FS not defined |
| 36 |
// F_GLOBAL_NOCACHE not defined |
| 37 |
// F_ADDSIGS not defined |
| 38 |
// F_MARKDEPENDENCY not defined |
| 39 |
F_RDLCK(1L), |
| 40 |
F_UNLCK(2L), |
| 41 |
F_WRLCK(3L); |
| 42 |
// F_ALLOCATECONTIG not defined |
| 43 |
// F_ALLOCATEALL not defined |
| 44 |
// F_GETPIPE_SZ not defined |
| 45 |
// F_SETPIPE_SZ not defined |
| 46 |
private final long value; |
| 47 |
private Fcntl(long value) { this.value = value; } |
| 48 |
public static final long MIN_VALUE = 0L; |
| 49 |
public static final long MAX_VALUE = 128L; |
| 50 |
|
| 51 |
static final class StringTable { |
| 52 |
public static final java.util.Map<Fcntl, String> descriptions = generateTable(); |
| 53 |
public static final java.util.Map<Fcntl, String> generateTable() { |
| 54 |
java.util.Map<Fcntl, String> map = new java.util.EnumMap<Fcntl, String>(Fcntl.class); |
| 55 |
map.put(FAPPEND, "FAPPEND"); |
| 56 |
map.put(FREAD, "FREAD"); |
| 57 |
map.put(FWRITE, "FWRITE"); |
| 58 |
map.put(FASYNC, "FASYNC"); |
| 59 |
map.put(FFSYNC, "FFSYNC"); |
| 60 |
map.put(FNONBLOCK, "FNONBLOCK"); |
| 61 |
map.put(FNDELAY, "FNDELAY"); |
| 62 |
map.put(F_DUPFD, "F_DUPFD"); |
| 63 |
map.put(F_GETFD, "F_GETFD"); |
| 64 |
map.put(F_SETFD, "F_SETFD"); |
| 65 |
map.put(F_GETFL, "F_GETFL"); |
| 66 |
map.put(F_SETFL, "F_SETFL"); |
| 67 |
map.put(F_GETOWN, "F_GETOWN"); |
| 68 |
map.put(F_SETOWN, "F_SETOWN"); |
| 69 |
map.put(F_GETLK, "F_GETLK"); |
| 70 |
map.put(F_SETLK, "F_SETLK"); |
| 71 |
map.put(F_SETLKW, "F_SETLKW"); |
| 72 |
map.put(F_RDAHEAD, "F_RDAHEAD"); |
| 73 |
map.put(F_RDLCK, "F_RDLCK"); |
| 74 |
map.put(F_UNLCK, "F_UNLCK"); |
| 75 |
map.put(F_WRLCK, "F_WRLCK"); |
| 76 |
return map; |
| 77 |
} |
| 78 |
} |
| 79 |
public final String toString() { return StringTable.descriptions.get(this); } |
| 80 |
public final int value() { return (int) value; } |
| 81 |
public final int intValue() { return (int) value; } |
| 82 |
public final long longValue() { return value; } |
| 83 |
public final boolean defined() { return true; } |
| 84 |
} |