Package org.freedesktop.wayland.raw
Class sigevent._sigev_un
java.lang.Object
org.freedesktop.wayland.raw.sigevent._sigev_un
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
struct { void (*_function)(__sigval_t); pthread_attr_t *_attribute; }
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegment
_pad
(MemorySegment union) Getter for field:int _pad[12]
static int
_pad
(MemorySegment union, long index0) Indexed getter for field:int _pad[12]
static void
_pad
(MemorySegment union, long index0, int fieldValue) Indexed setter for field:int _pad[12]
static void
_pad
(MemorySegment union, MemorySegment fieldValue) Setter for field:int _pad[12]
static long[]
Dimensions for array field:int _pad[12]
static final SequenceLayout
Layout for field:int _pad[12]
static final long
Offset for field:int _pad[12]
static MemorySegment
_sigev_thread
(MemorySegment union) Getter for field:struct { void (*_function)(__sigval_t); pthread_attr_t *_attribute; } _sigev_thread
static void
_sigev_thread
(MemorySegment union, MemorySegment fieldValue) Setter for field:struct { void (*_function)(__sigval_t); pthread_attr_t *_attribute; } _sigev_thread
static final GroupLayout
Layout for field:struct { void (*_function)(__sigval_t); pthread_attr_t *_attribute; } _sigev_thread
static final long
Offset for field:struct { void (*_function)(__sigval_t); pthread_attr_t *_attribute; } _sigev_thread
static int
_tid
(MemorySegment union) Getter for field:__pid_t _tid
static void
_tid
(MemorySegment union, int fieldValue) Setter for field:__pid_t _tid
static final ValueLayout.OfInt
Layout for field:__pid_t _tid
static final long
Offset for field:__pid_t _tid
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 unionstatic 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 union
-
Method Details
-
layout
The layout of this union -
_pad$layout
Layout for field:int _pad[12]
-
_pad$offset
public static final long _pad$offset()Offset for field:int _pad[12]
-
_pad
Getter for field:int _pad[12]
-
_pad
Setter for field:int _pad[12]
-
_pad$dimensions
public static long[] _pad$dimensions()Dimensions for array field:int _pad[12]
-
_pad
Indexed getter for field:int _pad[12]
-
_pad
Indexed setter for field:int _pad[12]
-
_tid$layout
Layout for field:__pid_t _tid
-
_tid$offset
public static final long _tid$offset()Offset for field:__pid_t _tid
-
_tid
Getter for field:__pid_t _tid
-
_tid
Setter for field:__pid_t _tid
-
_sigev_thread$layout
Layout for field:struct { void (*_function)(__sigval_t); pthread_attr_t *_attribute; } _sigev_thread
-
_sigev_thread$offset
public static final long _sigev_thread$offset()Offset for field:struct { void (*_function)(__sigval_t); pthread_attr_t *_attribute; } _sigev_thread
-
_sigev_thread
Getter for field:struct { void (*_function)(__sigval_t); pthread_attr_t *_attribute; } _sigev_thread
-
_sigev_thread
Setter for field:struct { void (*_function)(__sigval_t); pthread_attr_t *_attribute; } _sigev_thread
-
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 union -
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()
-