Class __locale_struct

java.lang.Object
com.github.elebras1.flecs.__locale_struct

public class __locale_struct extends Object
struct __locale_struct {
    struct __locale_data *__locales[13];
    const unsigned short *__ctype_b;
    const int *__ctype_tolower;
    const int *__ctype_toupper;
    const char *__names[13];
}
  • Method Details

    • layout

      public static final GroupLayout layout()
      The layout of this struct
    • __locales$layout

      public static final SequenceLayout __locales$layout()
      Layout for field:
      struct __locale_data *__locales[13]
      
    • __locales$offset

      public static final long __locales$offset()
      Offset for field:
      struct __locale_data *__locales[13]
      
    • __locales

      public static MemorySegment __locales(MemorySegment struct)
      Getter for field:
      struct __locale_data *__locales[13]
      
    • __locales

      public static void __locales(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      struct __locale_data *__locales[13]
      
    • __locales$dimensions

      public static long[] __locales$dimensions()
      Dimensions for array field:
      struct __locale_data *__locales[13]
      
    • __locales

      public static MemorySegment __locales(MemorySegment struct, long index0)
      Indexed getter for field:
      struct __locale_data *__locales[13]
      
    • __locales

      public static void __locales(MemorySegment struct, long index0, MemorySegment fieldValue)
      Indexed setter for field:
      struct __locale_data *__locales[13]
      
    • __ctype_b$layout

      public static final AddressLayout __ctype_b$layout()
      Layout for field:
      const unsigned short *__ctype_b
      
    • __ctype_b$offset

      public static final long __ctype_b$offset()
      Offset for field:
      const unsigned short *__ctype_b
      
    • __ctype_b

      public static MemorySegment __ctype_b(MemorySegment struct)
      Getter for field:
      const unsigned short *__ctype_b
      
    • __ctype_b

      public static void __ctype_b(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      const unsigned short *__ctype_b
      
    • __ctype_tolower$layout

      public static final AddressLayout __ctype_tolower$layout()
      Layout for field:
      const int *__ctype_tolower
      
    • __ctype_tolower$offset

      public static final long __ctype_tolower$offset()
      Offset for field:
      const int *__ctype_tolower
      
    • __ctype_tolower

      public static MemorySegment __ctype_tolower(MemorySegment struct)
      Getter for field:
      const int *__ctype_tolower
      
    • __ctype_tolower

      public static void __ctype_tolower(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      const int *__ctype_tolower
      
    • __ctype_toupper$layout

      public static final AddressLayout __ctype_toupper$layout()
      Layout for field:
      const int *__ctype_toupper
      
    • __ctype_toupper$offset

      public static final long __ctype_toupper$offset()
      Offset for field:
      const int *__ctype_toupper
      
    • __ctype_toupper

      public static MemorySegment __ctype_toupper(MemorySegment struct)
      Getter for field:
      const int *__ctype_toupper
      
    • __ctype_toupper

      public static void __ctype_toupper(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      const int *__ctype_toupper
      
    • __names$layout

      public static final SequenceLayout __names$layout()
      Layout for field:
      const char *__names[13]
      
    • __names$offset

      public static final long __names$offset()
      Offset for field:
      const char *__names[13]
      
    • __names

      public static MemorySegment __names(MemorySegment struct)
      Getter for field:
      const char *__names[13]
      
    • __names

      public static void __names(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      const char *__names[13]
      
    • __names$dimensions

      public static long[] __names$dimensions()
      Dimensions for array field:
      const char *__names[13]
      
    • __names

      public static MemorySegment __names(MemorySegment struct, long index0)
      Indexed getter for field:
      const char *__names[13]
      
    • __names

      public static void __names(MemorySegment struct, long index0, MemorySegment fieldValue)
      Indexed setter for field:
      const char *__names[13]
      
    • asSlice

      public static MemorySegment asSlice(MemorySegment array, long index)
      Obtains a slice of arrayParam which selects the array element at index. The returned segment has address arrayParam.address() + index * layout().byteSize()
    • sizeof

      public static long sizeof()
      The size (in bytes) of this struct
    • allocate

      public static MemorySegment allocate(SegmentAllocator allocator)
      Allocate a segment of size layout().byteSize() using allocator
    • allocateArray

      public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator)
      Allocate an array of size elementCount using allocator. The returned segment has size elementCount * layout().byteSize().
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size layout().byteSize()
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size elementCount * layout().byteSize()