Package org.freedesktop.wayland.raw
Class ucontext_t
java.lang.Object
org.freedesktop.wayland.raw.ucontext_t
struct ucontext_t {
unsigned long uc_flags;
struct ucontext_t *uc_link;
stack_t uc_stack;
mcontext_t uc_mcontext;
sigset_t uc_sigmask;
struct _libc_fpstate __fpregs_mem;
unsigned long long __ssp[4];
}
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegment
__fpregs_mem
(MemorySegment struct) Getter for field:struct _libc_fpstate __fpregs_mem
static void
__fpregs_mem
(MemorySegment struct, MemorySegment fieldValue) Setter for field:struct _libc_fpstate __fpregs_mem
static final GroupLayout
Layout for field:struct _libc_fpstate __fpregs_mem
static final long
Offset for field:struct _libc_fpstate __fpregs_mem
static MemorySegment
__ssp
(MemorySegment struct) Getter for field:unsigned long long __ssp[4]
static long
__ssp
(MemorySegment struct, long index0) Indexed getter for field:unsigned long long __ssp[4]
static void
__ssp
(MemorySegment struct, long index0, long fieldValue) Indexed setter for field:unsigned long long __ssp[4]
static void
__ssp
(MemorySegment struct, MemorySegment fieldValue) Setter for field:unsigned long long __ssp[4]
static long[]
Dimensions for array field:unsigned long long __ssp[4]
static final SequenceLayout
Layout for field:unsigned long long __ssp[4]
static final long
Offset for field:unsigned long long __ssp[4]
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 long
sizeof()
The size (in bytes) of this structstatic long
uc_flags
(MemorySegment struct) Getter for field:unsigned long uc_flags
static void
uc_flags
(MemorySegment struct, long fieldValue) Setter for field:unsigned long uc_flags
static final ValueLayout.OfLong
Layout for field:unsigned long uc_flags
static final long
Offset for field:unsigned long uc_flags
static MemorySegment
uc_link
(MemorySegment struct) Getter for field:struct ucontext_t *uc_link
static void
uc_link
(MemorySegment struct, MemorySegment fieldValue) Setter for field:struct ucontext_t *uc_link
static final AddressLayout
Layout for field:struct ucontext_t *uc_link
static final long
Offset for field:struct ucontext_t *uc_link
static MemorySegment
uc_mcontext
(MemorySegment struct) Getter for field:mcontext_t uc_mcontext
static void
uc_mcontext
(MemorySegment struct, MemorySegment fieldValue) Setter for field:mcontext_t uc_mcontext
static final GroupLayout
Layout for field:mcontext_t uc_mcontext
static final long
Offset for field:mcontext_t uc_mcontext
static MemorySegment
uc_sigmask
(MemorySegment struct) Getter for field:sigset_t uc_sigmask
static void
uc_sigmask
(MemorySegment struct, MemorySegment fieldValue) Setter for field:sigset_t uc_sigmask
static final GroupLayout
Layout for field:sigset_t uc_sigmask
static final long
Offset for field:sigset_t uc_sigmask
static MemorySegment
uc_stack
(MemorySegment struct) Getter for field:stack_t uc_stack
static void
uc_stack
(MemorySegment struct, MemorySegment fieldValue) Setter for field:stack_t uc_stack
static final GroupLayout
Layout for field:stack_t uc_stack
static final long
Offset for field:stack_t uc_stack
-
Method Details
-
layout
The layout of this struct -
uc_flags$layout
Layout for field:unsigned long uc_flags
-
uc_flags$offset
public static final long uc_flags$offset()Offset for field:unsigned long uc_flags
-
uc_flags
Getter for field:unsigned long uc_flags
-
uc_flags
Setter for field:unsigned long uc_flags
-
uc_link$layout
Layout for field:struct ucontext_t *uc_link
-
uc_link$offset
public static final long uc_link$offset()Offset for field:struct ucontext_t *uc_link
-
uc_link
Getter for field:struct ucontext_t *uc_link
-
uc_link
Setter for field:struct ucontext_t *uc_link
-
uc_stack$layout
Layout for field:stack_t uc_stack
-
uc_stack$offset
public static final long uc_stack$offset()Offset for field:stack_t uc_stack
-
uc_stack
Getter for field:stack_t uc_stack
-
uc_stack
Setter for field:stack_t uc_stack
-
uc_mcontext$layout
Layout for field:mcontext_t uc_mcontext
-
uc_mcontext$offset
public static final long uc_mcontext$offset()Offset for field:mcontext_t uc_mcontext
-
uc_mcontext
Getter for field:mcontext_t uc_mcontext
-
uc_mcontext
Setter for field:mcontext_t uc_mcontext
-
uc_sigmask$layout
Layout for field:sigset_t uc_sigmask
-
uc_sigmask$offset
public static final long uc_sigmask$offset()Offset for field:sigset_t uc_sigmask
-
uc_sigmask
Getter for field:sigset_t uc_sigmask
-
uc_sigmask
Setter for field:sigset_t uc_sigmask
-
__fpregs_mem$layout
Layout for field:struct _libc_fpstate __fpregs_mem
-
__fpregs_mem$offset
public static final long __fpregs_mem$offset()Offset for field:struct _libc_fpstate __fpregs_mem
-
__fpregs_mem
Getter for field:struct _libc_fpstate __fpregs_mem
-
__fpregs_mem
Setter for field:struct _libc_fpstate __fpregs_mem
-
__ssp$layout
Layout for field:unsigned long long __ssp[4]
-
__ssp$offset
public static final long __ssp$offset()Offset for field:unsigned long long __ssp[4]
-
__ssp
Getter for field:unsigned long long __ssp[4]
-
__ssp
Setter for field:unsigned long long __ssp[4]
-
__ssp$dimensions
public static long[] __ssp$dimensions()Dimensions for array field:unsigned long long __ssp[4]
-
__ssp
Indexed getter for field:unsigned long long __ssp[4]
-
__ssp
Indexed setter for field:unsigned long long __ssp[4]
-
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()
-