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_memstatic void__fpregs_mem(MemorySegment struct, MemorySegment fieldValue) Setter for field:struct _libc_fpstate __fpregs_memstatic final GroupLayoutLayout for field:struct _libc_fpstate __fpregs_memstatic final longOffset for field:struct _libc_fpstate __fpregs_memstatic 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 SequenceLayoutLayout for field:unsigned long long __ssp[4]static final longOffset for field:unsigned long long __ssp[4]static MemorySegmentallocate(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()usingallocatorstatic MemorySegmentallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCountusingallocator.static MemorySegmentasSlice(MemorySegment array, long index) Obtains a slice ofarrayParamwhich selects the array element atindex.static final GroupLayoutlayout()The layout of this structstatic MemorySegmentreinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentreinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static longsizeof()The size (in bytes) of this structstatic longuc_flags(MemorySegment struct) Getter for field:unsigned long uc_flagsstatic voiduc_flags(MemorySegment struct, long fieldValue) Setter for field:unsigned long uc_flagsstatic final ValueLayout.OfLongLayout for field:unsigned long uc_flagsstatic final longOffset for field:unsigned long uc_flagsstatic MemorySegmentuc_link(MemorySegment struct) Getter for field:struct ucontext_t *uc_linkstatic voiduc_link(MemorySegment struct, MemorySegment fieldValue) Setter for field:struct ucontext_t *uc_linkstatic final AddressLayoutLayout for field:struct ucontext_t *uc_linkstatic final longOffset for field:struct ucontext_t *uc_linkstatic MemorySegmentuc_mcontext(MemorySegment struct) Getter for field:mcontext_t uc_mcontextstatic voiduc_mcontext(MemorySegment struct, MemorySegment fieldValue) Setter for field:mcontext_t uc_mcontextstatic final GroupLayoutLayout for field:mcontext_t uc_mcontextstatic final longOffset for field:mcontext_t uc_mcontextstatic MemorySegmentuc_sigmask(MemorySegment struct) Getter for field:sigset_t uc_sigmaskstatic voiduc_sigmask(MemorySegment struct, MemorySegment fieldValue) Setter for field:sigset_t uc_sigmaskstatic final GroupLayoutLayout for field:sigset_t uc_sigmaskstatic final longOffset for field:sigset_t uc_sigmaskstatic MemorySegmentuc_stack(MemorySegment struct) Getter for field:stack_t uc_stackstatic voiduc_stack(MemorySegment struct, MemorySegment fieldValue) Setter for field:stack_t uc_stackstatic final GroupLayoutLayout for field:stack_t uc_stackstatic final longOffset 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 ofarrayParamwhich 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 sizeelementCountusingallocator. The returned segment has sizeelementCount * layout().byteSize(). -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizelayout().byteSize() -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizeelementCount * layout().byteSize()
-