Package org.freedesktop.wayland.raw
Class siginfo_t._sifields._sigfault
java.lang.Object
org.freedesktop.wayland.raw.siginfo_t._sifields._sigfault
- Enclosing class:
siginfo_t._sifields
struct {
void *si_addr;
short si_addr_lsb;
union {
struct {
void *_lower;
void *_upper;
} _addr_bnd;
__uint32_t _pkey;
} _bounds;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
union { struct { void *_lower; void *_upper; } _addr_bnd; __uint32_t _pkey; }
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegment
_bounds
(MemorySegment struct) Getter for field:union { struct { void *_lower; void *_upper; } _addr_bnd; __uint32_t _pkey; } _bounds
static void
_bounds
(MemorySegment struct, MemorySegment fieldValue) Setter for field:union { struct { void *_lower; void *_upper; } _addr_bnd; __uint32_t _pkey; } _bounds
static final GroupLayout
Layout for field:union { struct { void *_lower; void *_upper; } _addr_bnd; __uint32_t _pkey; } _bounds
static final long
Offset for field:union { struct { void *_lower; void *_upper; } _addr_bnd; __uint32_t _pkey; } _bounds
static MemorySegment
allocate
(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()
usingallocator
static MemorySegment
allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCount
usingallocator
.static MemorySegment
asSlice
(MemorySegment array, long index) Obtains a slice ofarrayParam
which selects the array element atindex
.static final GroupLayout
layout()
The layout of this structstatic MemorySegment
reinterpret
(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static MemorySegment
reinterpret
(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static MemorySegment
si_addr
(MemorySegment struct) Getter for field:void *si_addr
static void
si_addr
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void *si_addr
static short
si_addr_lsb
(MemorySegment struct) Getter for field:short si_addr_lsb
static void
si_addr_lsb
(MemorySegment struct, short fieldValue) Setter for field:short si_addr_lsb
static final ValueLayout.OfShort
Layout for field:short si_addr_lsb
static final long
Offset for field:short si_addr_lsb
static final AddressLayout
Layout for field:void *si_addr
static final long
Offset for field:void *si_addr
static long
sizeof()
The size (in bytes) of this struct
-
Method Details
-
layout
The layout of this struct -
si_addr$layout
Layout for field:void *si_addr
-
si_addr$offset
public static final long si_addr$offset()Offset for field:void *si_addr
-
si_addr
Getter for field:void *si_addr
-
si_addr
Setter for field:void *si_addr
-
si_addr_lsb$layout
Layout for field:short si_addr_lsb
-
si_addr_lsb$offset
public static final long si_addr_lsb$offset()Offset for field:short si_addr_lsb
-
si_addr_lsb
Getter for field:short si_addr_lsb
-
si_addr_lsb
Setter for field:short si_addr_lsb
-
_bounds$layout
Layout for field:union { struct { void *_lower; void *_upper; } _addr_bnd; __uint32_t _pkey; } _bounds
-
_bounds$offset
public static final long _bounds$offset()Offset for field:union { struct { void *_lower; void *_upper; } _addr_bnd; __uint32_t _pkey; } _bounds
-
_bounds
Getter for field:union { struct { void *_lower; void *_upper; } _addr_bnd; __uint32_t _pkey; } _bounds
-
_bounds
Setter for field:union { struct { void *_lower; void *_upper; } _addr_bnd; __uint32_t _pkey; } _bounds
-
asSlice
Obtains a slice ofarrayParam
which selects the array element atindex
. The returned segment has addressarrayParam.address() + index * layout().byteSize()
-
sizeof
public static long sizeof()The size (in bytes) of this struct -
allocate
Allocate a segment of sizelayout().byteSize()
usingallocator
-
allocateArray
Allocate an array of sizeelementCount
usingallocator
. The returned segment has sizeelementCount * layout().byteSize()
. -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizelayout().byteSize()
-
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizeelementCount * layout().byteSize()
-