Skip to content

Commit

Permalink
Update builds for systems API presets
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed May 3, 2024
1 parent 9bea8c2 commit c008c88
Show file tree
Hide file tree
Showing 596 changed files with 2,475 additions and 2,440 deletions.
3,164 changes: 1,538 additions & 1,626 deletions systems/src/gen/java/org/bytedeco/systems/global/linux.java

Large diffs are not rendered by default.

64 changes: 50 additions & 14 deletions systems/src/gen/java/org/bytedeco/systems/global/macosx.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE

package org.bytedeco.systems.global;

Expand Down Expand Up @@ -212,6 +212,7 @@ public class macosx extends org.bytedeco.systems.presets.macosx {
public static final int bit_PCONFIG = 0x00040000;
public static final int bit_IBT = 0x00100000;
public static final int bit_AMXBF16 = 0x00400000;
public static final int bit_AVX512FP16 = 0x00800000;
public static final int bit_AMXTILE = 0x01000000;
public static final int bit_AMXINT8 = 0x02000000;

Expand Down Expand Up @@ -993,7 +994,7 @@ public static native int __get_cpuid_count(@Cast("unsigned int") int __leaf,
// Parsed from sys/socket.h

/*
* Copyright (c) 2000-2019 Apple Inc. All rights reserved.
* Copyright (c) 2000-2022 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
Expand Down Expand Up @@ -1068,10 +1069,12 @@ public static native int __get_cpuid_count(@Cast("unsigned int") int __leaf,

// #include <sys/types.h>
// #include <sys/cdefs.h>
// #include <sys/constrained_ctypes.h>
// #include <machine/_param.h>
// #include <net/net_kev.h>



// #include <Availability.h>

/*
Expand Down Expand Up @@ -1122,6 +1125,7 @@ public static native int __get_cpuid_count(@Cast("unsigned int") int __leaf,
// #if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
public static final int SO_USELOOPBACK = 0x0040; /* bypass hardware when possible */
public static final int SO_LINGER = 0x0080; /* linger on close if data present (in ticks) */
public static final int SO_LINGER_SEC = 0x1080; /* linger on close if data present (in seconds) */
// #else
// #endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */
public static final int SO_OOBINLINE = 0x0100; /* leave received OOB data in line */
Expand Down Expand Up @@ -1165,7 +1169,6 @@ public static native int __get_cpuid_count(@Cast("unsigned int") int __leaf,
public static final int SO_NOTIFYCONFLICT = 0x1026; /* APPLE: send notification if there is a bind on a port which is already in use */
public static final int SO_UPCALLCLOSEWAIT = 0x1027; /* APPLE: block on close until an upcall returns */
// #endif
public static final int SO_LINGER_SEC = 0x1080; /* linger on close if data present (in seconds) */
public static final int SO_RANDOMPORT = 0x1082; /* APPLE: request local port randomization */
public static final int SO_NP_EXTENSIONS = 0x1083; /* To turn off some POSIX behavior */
// #endif
Expand All @@ -1176,6 +1179,12 @@ public static native int __get_cpuid_count(@Cast("unsigned int") int __leaf,

public static final int SO_NETSVC_MARKING_LEVEL = 0x1119; /* Get QoS marking in effect for socket */


public static final int SO_RESOLVER_SIGNATURE = 0x1131; /* A signed data blob from the system resolver */


/* When adding new socket-options, you need to make sure MPTCP supports these as well! */

/*
* Network Service Type for option SO_NET_SERVICE_TYPE
*
Expand Down Expand Up @@ -1368,6 +1377,10 @@ public static native int __get_cpuid_count(@Cast("unsigned int") int __leaf,



// Targeting ../macosx/__sockaddr_header.java



// #if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
public static final int SOCK_MAXADDRLEN = 255;
// Targeting ../macosx/sockproto.java
Expand All @@ -1389,6 +1402,7 @@ public static native int __get_cpuid_count(@Cast("unsigned int") int __leaf,




/*
* Protocol families, same as address families for now.
*/
Expand Down Expand Up @@ -2379,15 +2393,8 @@ public static native void qsort(Pointer __base, @Cast("size_t") long __nel, @Cas
public static native @Cast("unsigned long long") long strtoull(String __str, @Cast("char**") @ByPtrPtr byte[] __endptr, int __base);
// #endif /* !__DARWIN_NO_LONG_LONG */

// #if TARGET_OS_IPHONE
// #define __swift_unavailable_on(osx_msg, ios_msg) __swift_unavailable(ios_msg)
// #else
// #define __swift_unavailable_on(osx_msg, ios_msg) __swift_unavailable(osx_msg)
// #endif



// #undef __swift_unavailable_on

public static native @Cast("size_t") long wcstombs(@Cast("char*") BytePointer arg0, @Cast("const wchar_t*") CharPointer arg1, @Cast("size_t") long arg2);
public static native @Cast("size_t") long wcstombs(@Cast("char*") ByteBuffer arg0, @Cast("const wchar_t*") IntPointer arg1, @Cast("size_t") long arg2);
Expand Down Expand Up @@ -2438,6 +2445,8 @@ public static native void qsort(Pointer __base, @Cast("size_t") long __nel, @Cas
public static native void lcong48(@Cast("unsigned short*") ShortBuffer arg0);
public static native void lcong48(@Cast("unsigned short*") short[] arg0);
public static native long lrand48();
// #if !defined(_POSIX_C_SOURCE)
// #endif
public static native @Cast("char*") BytePointer mktemp(@Cast("char*") BytePointer arg0);
public static native @Cast("char*") ByteBuffer mktemp(@Cast("char*") ByteBuffer arg0);
public static native @Cast("char*") byte[] mktemp(@Cast("char*") byte[] arg0);
Expand Down Expand Up @@ -2808,6 +2817,7 @@ public static native int sradixsort(@Cast("const unsigned char**") @ByPtrPtr byt
// #include <sys/_types.h>
// #include <Availability.h>


/*
* [XSI] The fd_set type shall be defined as described in <sys/select.h>.
* The timespec structure shall be defined as described in <time.h>
Expand Down Expand Up @@ -3652,6 +3662,10 @@ public static native int setitimer(int arg0, @Const itimerval arg1,
public static native int fstatat(int arg0, String arg1, stat arg2, int arg3);
public static native int mkdirat(int arg0, @Cast("const char*") BytePointer arg1, @Cast("mode_t") short arg2);
public static native int mkdirat(int arg0, String arg1, @Cast("mode_t") short arg2);
public static native int mkfifoat(int arg0, @Cast("const char*") BytePointer arg1, @Cast("mode_t") short arg2);
public static native int mkfifoat(int arg0, String arg1, @Cast("mode_t") short arg2);
public static native int mknodat(int arg0, @Cast("const char*") BytePointer arg1, @Cast("mode_t") short arg2, @Cast("dev_t") int arg3);
public static native int mknodat(int arg0, String arg1, @Cast("mode_t") short arg2, @Cast("dev_t") int arg3);

public static final int UTIME_NOW = -1;
public static final int UTIME_OMIT = -2;
Expand Down Expand Up @@ -4738,6 +4752,7 @@ public static native int sigaction(int arg0, @Const sigaction arg1,
/* skip ((cpu_type_t) 20 */
/* skip ((cpu_type_t) 21 */
/* skip ((cpu_type_t) 22 */
/* skip ((cpu_type_t) 23 */

/*
* Machine subtypes (these are defined here, instead of in a machine
Expand Down Expand Up @@ -5031,7 +5046,10 @@ public static native int sigaction(int arg0, @Const sigaction arg1,
public static final int CPUFAMILY_ARM_VORTEX_TEMPEST = 0x07d34b9f;
public static final int CPUFAMILY_ARM_LIGHTNING_THUNDER = 0x462504d2;
public static final int CPUFAMILY_ARM_FIRESTORM_ICESTORM = 0x1b588bb3;
public static final int CPUFAMILY_ARM_BLIZZARD_AVALANCHE = 0xda33d83d;
public static final int CPUFAMILY_ARM_EVEREST_SAWTOOTH = 0x8765edea;

/* Described in rdar://64125549 */
public static final int CPUSUBFAMILY_UNKNOWN = 0;
public static final int CPUSUBFAMILY_ARM_HP = 1;
public static final int CPUSUBFAMILY_ARM_HG = 2;
Expand Down Expand Up @@ -5370,8 +5388,6 @@ public static native int posix_spawnattr_setspecialport_np(@Cast("posix_spawnatt
public static native int posix_spawnattr_setspecialport_np(@Cast("posix_spawnattr_t*") PointerPointer arg0,
@Cast("mach_port_t") int arg1, int arg2);



public static native int posix_spawnattr_setnosmt_np(@Cast("const posix_spawnattr_t*") @ByPtrPtr posix_spawnattr_t attr);
public static native int posix_spawnattr_setnosmt_np(@Cast("const posix_spawnattr_t*") PointerPointer attr);

Expand Down Expand Up @@ -5637,6 +5653,7 @@ public static native int posix_spawn_file_actions_addfchdir_np(@Cast("posix_spaw

// #include <machine/_types.h>
// #include <sys/_types/_size_t.h>
// #include <sys/_types/_ssize_t.h>
// #include <_types/_uint64_t.h>
// #include <_types/_uint32_t.h>
// #include <Availability.h>
Expand All @@ -5646,6 +5663,9 @@ public static native int posix_spawn_file_actions_addfchdir_np(@Cast("posix_spaw
public static native int getattrlistat(int arg0, String arg1, Pointer arg2, Pointer arg3, @Cast("size_t") long arg4, @Cast("unsigned long") long arg5);
public static native int setattrlistat(int arg0, @Cast("const char*") BytePointer arg1, Pointer arg2, Pointer arg3, @Cast("size_t") long arg4, @Cast("uint32_t") int arg5);
public static native int setattrlistat(int arg0, String arg1, Pointer arg2, Pointer arg3, @Cast("size_t") long arg4, @Cast("uint32_t") int arg5);
public static native @Cast("ssize_t") long freadlink(int arg0, @Cast("char*") BytePointer arg1, @Cast("size_t") long arg2);
public static native @Cast("ssize_t") long freadlink(int arg0, @Cast("char*") ByteBuffer arg1, @Cast("size_t") long arg2);
public static native @Cast("ssize_t") long freadlink(int arg0, @Cast("char*") byte[] arg1, @Cast("size_t") long arg2);

// #endif /* __DARWIN_C_LEVEL >= __DARWIN_C_FULL */

Expand Down Expand Up @@ -6319,6 +6339,9 @@ public static native int posix_spawn_file_actions_addfchdir_np(@Cast("posix_spaw
public static native int truncate(String arg0, @Cast("off_t") long arg1);
public static native @Cast("useconds_t") int ualarm(@Cast("useconds_t") int arg0, @Cast("useconds_t") int arg1);
public static native int usleep(@Cast("useconds_t") int arg0);

// #if !defined(_POSIX_C_SOURCE)
// #endif
public static native @Cast("pid_t") int vfork();
/* End XSI */

Expand Down Expand Up @@ -6771,6 +6794,7 @@ public static native int posix_spawn_file_actions_addfchdir_np(@Cast("posix_spaw
public static final int RB_QUICK = 0x400; /* quick and ungraceful reboot with file system caches flushed*/
public static final int RB_PANIC = 0x800; /* panic the kernel */
public static final int RB_PANIC_ZPRINT = 0x1000; /* add zprint info to panic string */
public static final int RB_PANIC_FORCERESET = 0x2000; /* do force-reset panic */

/* userspace reboot control */
public static native int usrctl(@Cast("uint32_t") int flags);
Expand Down Expand Up @@ -6980,7 +7004,8 @@ public static native int posix_spawn_file_actions_addfchdir_np(@Cast("posix_spaw
public static final int RUSAGE_INFO_V3 = 3;
public static final int RUSAGE_INFO_V4 = 4;
public static final int RUSAGE_INFO_V5 = 5;
public static final int RUSAGE_INFO_CURRENT = RUSAGE_INFO_V5;
public static final int RUSAGE_INFO_V6 = 6;
public static final int RUSAGE_INFO_CURRENT = RUSAGE_INFO_V6;

/*
* Flags for RUSAGE_INFO_V5
Expand All @@ -7007,6 +7032,9 @@ public static native int posix_spawn_file_actions_addfchdir_np(@Cast("posix_spaw
// Targeting ../macosx/rusage_info_v5.java


// Targeting ../macosx/rusage_info_v6.java


// Targeting ../macosx/rusage_info_current.java


Expand Down Expand Up @@ -7099,6 +7127,8 @@ public static native int posix_spawn_file_actions_addfchdir_np(@Cast("posix_spaw
public static final int IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION = 6;
public static final int IOPOL_TYPE_VFS_IGNORE_PERMISSIONS = 7;
public static final int IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE = 8;
public static final int IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES = 9;
public static final int IOPOL_TYPE_VFS_DISALLOW_RW_FOR_O_EVTONLY = 10;

/* scope */
public static final int IOPOL_SCOPE_PROCESS = 0;
Expand Down Expand Up @@ -7140,6 +7170,12 @@ public static native int posix_spawn_file_actions_addfchdir_np(@Cast("posix_spaw
public static final int IOPOL_VFS_SKIP_MTIME_UPDATE_OFF = 0;
public static final int IOPOL_VFS_SKIP_MTIME_UPDATE_ON = 1;

public static final int IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF = 0;
public static final int IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON = 1;

public static final int IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_DEFAULT = 0;
public static final int IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_ON = 1;

// #endif /* __DARWIN_C_LEVEL >= __DARWIN_C_FULL */


Expand All @@ -7160,7 +7196,7 @@ public static native int posix_spawn_file_actions_addfchdir_np(@Cast("posix_spaw
// Parsed from sys/sysctl.h

/*
* Copyright (c) 2000-2019 Apple Inc. All rights reserved.
* Copyright (c) 2000-2021 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
Expand Down
14 changes: 12 additions & 2 deletions systems/src/gen/java/org/bytedeco/systems/global/windows.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE

package org.bytedeco.systems.global;

Expand Down Expand Up @@ -2120,9 +2120,19 @@ public class windows extends org.bytedeco.systems.presets.windows {
//

// #define DEFAULT_UNREACHABLE
// Targeting ..\windows\_ENUM_FLAG_INTEGER_FOR_SIZE.java

// #endif

// #ifdef __cplusplus

// Define operator overloads to enable bit operations on enum values that are
// used to define flags. Use DEFINE_ENUM_FLAG_OPERATORS(YOUR_TYPE) to enable these
// operators on YOUR_TYPE.

// Moved here from objbase.w.

// Templates are defined here in order to avoid a dependency on C++ <type_traits> header file,
// or on compiler-specific contructs.

// used as an approximation of std::underlying_type<T>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE

package org.bytedeco.systems.linux;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE

package org.bytedeco.systems.linux;

Expand Down Expand Up @@ -33,6 +33,9 @@ public class Dl_serinfo extends Pointer {

public native @Cast("size_t") long dls_size(); public native Dl_serinfo dls_size(long setter); /* Size in bytes of the whole buffer. */
public native @Cast("unsigned int") int dls_cnt(); public native Dl_serinfo dls_cnt(int setter); /* Number of elements in `dls_serpath'. */
// # if __GNUC_PREREQ (3, 0)
// # else
public native @ByRef Dl_serpath dls_serpath(int i); public native Dl_serinfo dls_serpath(int i, Dl_serpath setter);
@MemberGetter public native Dl_serpath dls_serpath(); /* Actually longer, dls_cnt elements. */
// # endif
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE

package org.bytedeco.systems.linux;

Expand Down
21 changes: 21 additions & 0 deletions systems/src/gen/java/org/bytedeco/systems/linux/__child.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE

package org.bytedeco.systems.linux;

import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;

import static org.bytedeco.javacpp.presets.javacpp.*;

import static org.bytedeco.systems.global.linux.*;

@Properties(inherit = org.bytedeco.systems.presets.linux.class)
public class __child extends FunctionPointer {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public __child(Pointer p) { super(p); }
protected __child() { allocate(); }
private native void allocate();
public native void call();
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE

package org.bytedeco.systems.linux;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE

package org.bytedeco.systems.linux;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE

package org.bytedeco.systems.linux;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE

package org.bytedeco.systems.linux;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE

package org.bytedeco.systems.linux;

Expand All @@ -13,6 +13,7 @@

// #if defined __USE_ISOC11 || defined __USE_ISOCXX11
// #endif

// #ifdef __USE_MISC
/* Register a function to be called with the status
given to `exit' and the given argument. */
Expand Down
21 changes: 21 additions & 0 deletions systems/src/gen/java/org/bytedeco/systems/linux/__parent.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE

package org.bytedeco.systems.linux;

import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;

import static org.bytedeco.javacpp.presets.javacpp.*;

import static org.bytedeco.systems.global.linux.*;

@Properties(inherit = org.bytedeco.systems.presets.linux.class)
public class __parent extends FunctionPointer {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public __parent(Pointer p) { super(p); }
protected __parent() { allocate(); }
private native void allocate();
public native void call();
}

0 comments on commit c008c88

Please sign in to comment.